/* ============================================================
   全站社交图标（site-social）—— 按 UEMO「社交图标」素材 465 复刻
   参考：https://www.uemo.net/tools/resources/units/preview/id/465
   规格（素材页原始 CSS 变量）：圆角 100px、内边距 10px、
     边框 1px rgba(0,0,0,.06)、底色 rgba(0,0,0,.05)、图标 20px、
     transition .26s；移入 → 底色/边框换平台品牌色、图标转白
   单枚按钮实测 42×42px（10 内边距 + 20 图标 + 1 边框 ×2）
   ⚠️ 图标图形为本站重绘（素材源文件在 static-shop.jsmo.xin 有防盗链，
      取不到原始 SVG）；微信气泡 / 抖音音符 / 小红书字标来自品牌矢量，
      视频号与邮箱为通用几何图形。改图形只改 js/site-social.js 的 ICON。
   ============================================================ */

.nt-soc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nt-soc {
  --nt-hover: #000;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 100px;
  background: rgba(0, 0, 0, .05);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  transition: background .26s, border-color .26s, color .26s;
}
.nt-soc:hover,
.nt-soc:focus-visible {
  background: var(--nt-hover);
  border-color: var(--nt-hover);
  color: #fff;
}
.nt-soc:focus-visible { outline: 2px solid var(--nt-hover); outline-offset: 2px; }
.nt-soc svg { width: 20px; height: 20px; display: block; }

/* ---------- 微信 / 视频号 二维码弹层：只展示二维码本身（面板宽 300px） ---------- */
.nt-qr-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.nt-qr-layer.is-open { display: flex; }
.nt-qr-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 11, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.nt-qr-panel {
  position: relative;
  width: 300px;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  text-align: center;
  font-family: "Plus Jakarta Sans", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
.nt-qr-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: rgba(20, 21, 26, .45);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nt-qr-close:hover { background: rgba(0, 0, 0, .06); color: #14151a; }
.nt-qr-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nt-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
.nt-qr-box:not(.is-ready) { border: 1px dashed rgba(20, 21, 26, .22); background: #fafafa; }
.nt-qr-box.is-ready .nt-qr-img { display: block; }
.nt-qr-box.is-ready .nt-qr-pending { display: none; }
.nt-qr-pending {
  font-size: 13px;
  color: rgba(20, 21, 26, .4);
  letter-spacing: .06em;
}
