:root {
  --bg: #f4f5fb;
  --panel: #ffffff;
  --panel-2: #f3f4fa;
  --line: #e5e7f0;
  --text: #141833;
  --muted: #6b7190;
  --brand: #6350cc;
  --brand-2: #8a69d3;
  --grad: linear-gradient(135deg, #6350cc 0%, #8a69d3 100%);
  --accent: #ff5a1f;
  --accent-grad: linear-gradient(135deg, #ff7a2f 0%, #ff4d4d 100%);
  --gp: #0b8a5c;
  --ap: #1d1d1f;
  --ok: #12b76a;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20,24,51,.04), 0 4px 16px rgba(20,24,51,.06);
  --shadow-lg: 0 12px 36px rgba(79,67,138,.16);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.wrap { max-width: 1520px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
code { background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 13px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer; font-size: 14px; font-weight: 500;
  transition: .18s; white-space: nowrap;
}
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn.primary {
  background: linear-gradient(180deg, #fbfaff 0%, #efeafc 100%);
  border-color: rgba(108, 92, 196, .2);
  color: #4c418f;
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(99, 80, 204, .1);
}
.btn.primary:hover {
  color: #3c3278;
  background: linear-gradient(180deg, #f6f3ff, #e6dff8);
  border-color: rgba(108, 92, 196, .34);
  filter: none;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #fff, 0 12px 24px rgba(99, 80, 204, .14);
}
.btn.buy { background: var(--accent-grad); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(255,90,31,.28); }
.btn.buy:hover { color: #fff; filter: brightness(1.06); }
.btn.sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn.danger { color: var(--danger); }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn.verify { gap: 5px; background: #fff7e6; border-color: #fcd9a0; color: #b45309; font-weight: 600; }
.btn.verify .i { width: 15px; height: 15px; }
.btn.verify:hover { background: #ffedd0; border-color: #f59e0b; color: #92400e; }
.btn.verify.disabled { opacity: .8; }

/* topbar + nav */
.topbar {
  position: relative; padding: 8px 0; color: #b9bccc; font-size: 12px; font-weight: 500; letter-spacing: .14em;
  font-family: "SF Pro Text", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(600px 40px at 50% 0%, rgba(217,183,121,.14), transparent 70%), linear-gradient(90deg, #0b0c16, #151726 50%, #0b0c16);
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,183,121,.55) 30%, rgba(240,215,160,.8) 50%, rgba(217,183,121,.55) 70%, transparent); }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; white-space: nowrap; }
.tb-item { display: inline-flex; align-items: center; gap: 6px; }
.tb-item b { font-weight: 700; letter-spacing: .06em; background: linear-gradient(180deg, #f5e2b8, #c9a45c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topbar-inner em { width: 3px; height: 3px; border-radius: 50%; background: #c9a45c; opacity: .7; transform: rotate(45deg); border-radius: 0; }
.tb-live { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #e9cf95; border: 1px solid rgba(217,183,121,.45); background: rgba(217,183,121,.08); }
.tb-live i { width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 1.8s infinite; }
@media (max-width: 640px) {
  .topbar { font-size: 11px; letter-spacing: .06em; padding: 7px 0; }
  .topbar-inner { gap: 9px; }
  .tb-hide { display: none; }
  .tb-live { display: none; }
}
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; font-size: 21px; font-weight: 700; letter-spacing: .2px; }
.logo i { font-style: normal; width: 32px; height: 32px; margin-right: 9px; border-radius: 9px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 17px; box-shadow: 0 4px 12px rgba(99,80,204,.35); }
.logo .logo-mark { width: 34px; height: 34px; margin-right: 9px; border-radius: 10px; box-shadow: 0 4px 12px rgba(99,80,204,.3); flex: none; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo span { color: var(--muted); font-size: 14px; font-weight: 500; margin-left: 1px; }
.logo .logo-txt { display: flex; flex-direction: column; color: inherit; font-size: inherit; margin: 0; line-height: 1.15; }
.logo .logo-txt strong { font-weight: 700; }
.logo .logo-txt small { margin-top: 3px; font-size: 11px; font-weight: 500; letter-spacing: 1px; color: var(--muted); white-space: nowrap; }
.site-foot .logo .logo-txt { color: #fff; }
.site-foot .logo .logo-txt small { color: #8d90b3; }
@media (max-width: 380px) { .logo .logo-txt small { font-size: 10px; letter-spacing: .3px; } }
.nav nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--brand); }
.nav { box-shadow: 0 4px 20px rgba(20,24,51,.04); }
.nav .nav-inner { height: 68px; }
.nav .logo .logo-mark { width: 38px; height: 38px; margin-right: 10px; border-radius: 11px; transition: transform .3s; }
.nav .logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo .logo-txt small { display: inline-flex; align-items: center; gap: 6px; }
.logo .logo-txt small i { width: 4px; height: 4px; margin: 0; border-radius: 50%; box-shadow: none; background: var(--brand-2); opacity: .8; }
.logo .logo-txt small em { font-style: normal; margin-left: 2px; }
.nav .nav-inner { position: relative; display: flex; align-items: center; gap: 12px; height: 68px; }
.nav-main { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 2px; margin: 0; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.86); border: 1px solid rgba(99,80,204,.16); box-shadow: 0 10px 28px rgba(99,80,204,.12), inset 0 1px 0 #fff; backdrop-filter: blur(12px); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav .nav-link { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 18px; border-radius: 999px; color: #454a66; font-size: 14px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.nav .nav-link .i { width: 16px; height: 16px; color: #8b90ad; transition: color .18s; }
.nav-main .nav-link:hover,
.nav-main .nav-link.on { background: linear-gradient(180deg, #fbfaff, #efeafc); color: #4c418f; box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(99,80,204,.12); }
.nav-main .nav-link:hover .i,
.nav-main .nav-link.on .i { color: #6a5bb8; }
.nav-main .nav-link:focus-visible { outline: 2px solid rgba(99,80,204,.35); outline-offset: 1px; }
.nav-account { border: 1px solid var(--line); background: #fff; height: 38px; }
.nav-account:hover { border-color: #d8d2ff; background: #f7f5ff; color: var(--brand); }
.nav-account:hover .i { color: var(--brand); }
.nav .nav-cta { position: relative; margin-left: 2px; height: 38px; padding: 0 16px; border-radius: 11px; box-shadow: 0 6px 16px rgba(99,80,204,.28); white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.nav .nav-cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 12px 24px rgba(99,80,204,.16); color: #3c3278; }
.nav .logo { flex: none; }
.nav .logo-txt small { max-width: 210px; overflow: hidden; }
.nav .logo-txt small em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang { margin-left: 0; }

/* 语言切换 */
.lang { position: relative; margin-left: 0; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px 0 11px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: #3d4260; cursor: pointer; transition: .15s; }
.lang-btn:hover, .lang.open .lang-btn { border-color: #d8d2ff; color: var(--brand); background: #f7f5ff; }
.lang-flag { width: 20px; height: 15px; flex: none; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(20,24,51,.08); }
.lang-caret { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.lang.open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(20,24,51,.16); animation: fade .15s ease; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer; }
.lang-menu button:hover { background: #f3f1ff; }
.lang-menu button span { flex: 1; }
.lang-ok { width: 15px; height: 15px; color: var(--brand); opacity: 0; }
.lang-menu button.on { font-weight: 700; color: var(--brand); background: #f6f4ff; }
.lang-menu button.on .lang-ok { opacity: 1; }
.lang-toast { position: fixed; z-index: 100; top: 84px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(20,24,51,.88); box-shadow: 0 10px 30px rgba(20,24,51,.25); backdrop-filter: blur(8px); animation: fade .25s ease; transition: opacity .4s, transform .4s; }
.lang-toast.out { opacity: 0; transform: translate(-50%, -8px); }
@media (max-width: 640px) {
  .nav .lang-btn { padding: 0 8px; gap: 4px; }
  .nav .lang-btn span { display: none; }
}

/* 英文模式：苹果设备用系统 SF Pro，其它设备用 Inter */
html[data-lang="en"] { --font-en: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif; }
html[data-lang="en"] body, html[data-lang="en"] button, html[data-lang="en"] input, html[data-lang="en"] select, html[data-lang="en"] textarea,
html[data-lang="en"] .hero h1, html[data-lang="en"] .hero .lead, html[data-lang="en"] .hero h1 .h1-en { font-family: var(--font-en); -webkit-font-smoothing: antialiased; }
html[data-lang="en"] .hero h1 .h1-en { font-weight: 700; letter-spacing: -.8px; }
html[data-lang="en"] .hero h1 .grad { font-family: var(--font-en); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; }
html[data-lang="en"] .eyebrow, html[data-lang="en"] .topbar { letter-spacing: .2px; }

html.gt-wait body { opacity: 0; }
body { transition: opacity .2s; }

/* 隐藏 Google 翻译自带的 UI */
#gt-el { position: absolute; left: -9999px; top: 0; }
body { top: 0 !important; }
.skiptranslate > iframe, .goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-l4eHX-hSRGPd, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }

.on-dot { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.on-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: #22c55e; animation: live-ping 1.6s ease-out infinite; }

/* hero：星芒灯阵 + 灯带扫光 */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 72px; isolation: isolate;
  background:
    radial-gradient(60% 80% at 78% 40%, rgba(99,80,204,.38), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(60,120,220,.18), transparent 70%),
    linear-gradient(180deg, #0c0b1d 0%, #151232 55%, #1c1740 100%);
}
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(200,210,255,.35) 15%, rgba(235,240,255,.7) 50%, rgba(200,210,255,.35) 85%, transparent);
  box-shadow: 0 0 12px rgba(170,185,255,.55), 0 0 36px rgba(140,120,255,.35);
}
.hero::after {
  content: ""; position: absolute; bottom: -9px; left: 0; width: 38%; height: 20px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.95), rgba(190,200,255,.45) 35%, transparent 70%);
  filter: blur(2px); animation: hero-beam 5.5s cubic-bezier(.55,.1,.45,.9) infinite;
}
@keyframes hero-beam { 0% { transform: translateX(-40%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(265%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; opacity: 0; } }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 600; letter-spacing: 1.5px; font-size: 12.5px; margin: 0 0 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.hero h1 { display: flex; flex-direction: column; gap: 6px; line-height: 1.12; }
.hero h1, .hero .lead { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif; }
.hero h1 .h1-en {
  font-family: "Poppins", -apple-system, "Helvetica Neue", sans-serif;
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.3px; color: #fff;
  text-shadow: 0 2px 18px rgba(64,200,255,.45);
}
.h1-en i {
  font-style: italic; font-weight: 600; padding: 0 .12em;
  background: linear-gradient(135deg, #ffe08a, #ff9f43); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 10px rgba(255,190,80,.55));
}
.hero h1 .grad {
  align-self: flex-start; font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(36px, 5.2vw, 60px); font-weight: 900; letter-spacing: 3px;
  background: linear-gradient(110deg, #fff 42%, #ffe39a 50%, #fff 58%);
  background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(28,24,62,.35)) drop-shadow(0 6px 18px rgba(64,200,255,.3));
  animation: h1-shine 5s ease-in-out infinite;
}
@keyframes h1-shine { 0%, 30% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .grad { animation: none; } }
.lead { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 32px; color: rgba(255,255,255,.82); }
.lead-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.lead-tags li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
}
.lead-tags li.live { color: #b6ffd6; background: rgba(34,224,122,.12); border-color: rgba(34,224,122,.35); }
.lead-tags li.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22e07a; }
.lead-tags li.live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22e07a; animation: live-ping 1.6s ease-out infinite; }
.lead-sub { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.6; }
.lead-sub b { color: #ffe08a; font-weight: 700; }
.lead-ico { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #3cc3ff, #1a8ae0); box-shadow: 0 4px 12px rgba(26,138,224,.4); }
.lead-ico .i { width: 12px; height: 12px; }
@media (max-width: 480px) {
  .lead-tags { gap: 6px; }
  .lead-tags li { gap: 4px; font-size: 12px; padding: 4px 9px; letter-spacing: 0; }
  .lead-sub { font-size: 14px; align-items: flex-start; }
  .lead-ico { width: 24px; height: 24px; margin-top: 1px; }
}
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn.primary { background: #fff; color: #504195; box-shadow: 0 6px 16px rgba(0,0,0,.16); }
.hero .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.16); }
.cta .btn { position: relative; gap: 7px; height: 38px; padding: 0 15px 0 5px; border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: .3px; transition: transform .2s, background .2s, border-color .2s; }
.cta-ico { position: relative; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.cta-ico .i { width: 14px; height: 14px; }
.hero .cta-main { color: #42377f; background: #fff; box-shadow: 0 6px 16px rgba(18,14,52,.22); }
.cta-main .cta-ico { color: #5b4db5; background: linear-gradient(180deg, #f6f3ff, #e7e1f8); box-shadow: inset 0 0 0 1px rgba(99,80,204,.16); }
.cta-main .cta-arrow { font-size: 14px; transition: transform .2s; }
.hero .cta-main:hover { color: #42377f; background: #fff; filter: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(18,14,52,.2); }
.cta-main:hover .cta-arrow { transform: translateX(3px); }
.hero .cta-sub { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); }
.hero .cta-sub:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.16); transform: translateY(-1px); }
.cta-sub .cta-ico { color: #fff; background: linear-gradient(135deg, #3cc3ff, #1a7fd8); }
.cta-sub .cta-ico i { position: absolute; top: 0; right: 0; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; border: 2px solid #58499e; }
@media (max-width: 480px) { .cta .btn { flex: 1; height: 38px; font-size: 13px; padding-right: 12px; } .cta-main .cta-arrow { display: none; } }
.stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.stats div b { display: block; font-size: 30px; font-weight: 800; }
.stats div span { color: rgba(255,255,255,.7); font-size: 13px; }

.platforms { display: grid; gap: 14px; }
.platform {
  --glow: rgba(52,211,153,.4); --glow2: rgba(66,133,244,.38); --accent: #34d399;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px 16px;
  padding: 20px 18px 20px 20px; border-radius: 20px; cursor: pointer; color: #fff; text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05) 45%, rgba(255,255,255,.08)),
    rgba(18, 14, 52, .18);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 16px 36px rgba(10,8,36,.28);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s, background .28s;
}
.platform.google_play { --glow: rgba(52,211,153,.42); --glow2: rgba(66,133,244,.4); --accent: #4ade80; }
.platform.apple { --glow: rgba(248,250,252,.42); --glow2: rgba(167,139,250,.38); --accent: #c4b5fd; }
.platform::before {
  content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; left: -70px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%); opacity: .5; transition: .45s;
}
.platform::after {
  content: ""; position: absolute; z-index: -1; width: 210px; height: 210px; right: -80px; bottom: -130px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow2), transparent 68%); opacity: .45; transition: .45s;
}
.platform:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.42);
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.07) 45%, rgba(255,255,255,.12)),
    rgba(18, 14, 52, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 24px 48px rgba(10,8,36,.38);
}
.platform:hover::before, .platform:hover::after { opacity: .85; transform: scale(1.12); }
.platform .pico {
  position: relative; width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(160deg, #fff 0%, #f3f4f8 100%);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.55) inset;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.platform:hover .pico { transform: translateY(-1px) scale(1.05) rotate(-3deg); }
.platform .pico img { width: 30px; height: 30px; }
.platform .ptxt { min-width: 0; }
.platform h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: .15px; line-height: 1.2; }
.platform p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 12.5px; line-height: 1.35; }
.platform .count {
  margin-left: 0; min-width: 72px; padding: 8px 12px 9px; border-radius: 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: rgba(8,10,28,.28); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.platform .count b {
  font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -.6px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.82));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.platform .count span {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
  padding: 0; border: 0; background: none; color: rgba(255,255,255,.82); letter-spacing: .2px;
}
.platform .count i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.platform .go {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; line-height: 1; color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.platform:hover .go {
  color: #fff; background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.28);
  transform: translateX(2px);
}
.platform .count span { white-space: nowrap; }
@media (max-width: 640px) {
  .platform { gap: 10px 12px; padding: 15px 14px 15px 15px; border-radius: 18px; }
  .platform .pico { width: 48px; height: 48px; border-radius: 14px; }
  .platform .pico img { width: 24px; height: 24px; }
  .platform h3 { font-size: 16px; }
  .platform p { font-size: 12px; margin-top: 3px; }
  .platform .count { min-width: 56px; padding: 6px 8px 7px; border-radius: 12px; }
  .platform .count b { font-size: 22px; }
  .platform .go { width: 24px; height: 24px; font-size: 16px; }
}

/* trust bar */
.trust { margin-top: -30px; position: relative; z-index: 2; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-inner > div {
  --c1: #7e69d3; --c2: #9b78d8; --glow: rgba(126,105,211,.22);
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.96);
  border: 1px solid rgba(20,24,51,.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(20,24,51,.04), 0 8px 20px rgba(58,50,100,.08);
  transition: transform .25s, box-shadow .25s;
}
.trust-inner > div::before {
  content: ""; position: absolute; width: 90px; height: 90px; right: -32px; top: -42px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%); pointer-events: none; transition: transform .35s;
}
.trust-inner > div::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%) no-repeat -150% 0 / 60% 100%;
  transition: background-position .7s;
}
.trust-inner > div:nth-child(2) { --c1: #ff8a2f; --c2: #ff3d6e; --glow: rgba(255,122,47,.24); }
.trust-inner > div:nth-child(3) { --c1: #2f8bff; --c2: #22d3ee; --glow: rgba(47,155,255,.24); }
.trust-inner > div:nth-child(4) { --c1: #10b265; --c2: #4fdc9a; --glow: rgba(18,183,106,.24); }
.trust-inner > div:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c1) 25%, transparent); box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(58,50,100,.13); }
.trust-inner > div:hover::before { transform: scale(1.4); }
.trust-inner > div:hover::after { background-position: 250% 0; }
.trust .t-ico {
  position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 4px 10px var(--glow), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 6px rgba(0,0,0,.08);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3);
}
.trust .t-ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 55%); }
.trust svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.trust svg .fill { fill: rgba(255,255,255,.3); }
.trust-inner > div:hover .t-ico { transform: scale(1.08) rotate(-6deg); }
.trust p { position: relative; margin: 0; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.trust b { display: flex; align-items: baseline; gap: 4px; font-size: 13.5px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.trust b em { font-style: normal; font-size: 14.5px; font-weight: 800; letter-spacing: 0; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sections */
section[id] { padding: 56px 0 8px; scroll-margin-top: 70px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 26px; font-weight: 800; position: relative; padding-left: 14px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 5px; border-radius: 3px; background: var(--grad); }
.section-head .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
input[type=search], input[type=text], input[type=password], select, textarea {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 10px 14px; font: inherit; outline: none; width: 100%; transition: .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,80,204,.12); }
#search { max-width: 300px; border-radius: 999px; padding-left: 16px; box-shadow: var(--shadow); }

.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px; box-shadow: var(--shadow); }
.tabs button { display: inline-flex; align-items: center; background: none; border: 0; color: var(--muted); padding: 8px 18px; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 500; transition: .15s; }
.tabs button:hover { color: var(--text); }
.tabs button.active { background: linear-gradient(180deg, #fbfaff, #efeafc); color: #4c418f; box-shadow: inset 0 0 0 1px rgba(99,80,204,.16); }
.tabs button.active .ico { filter: none; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips label { display: flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; user-select: none; transition: .15s; }
.chips label:hover { border-color: var(--brand); }
.chips label:has(input:checked) { background: #f1effc; border-color: var(--brand); color: var(--brand); }
.chips input { accent-color: var(--brand); margin: 0; }
.selects { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.selects label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; min-width: 130px; }
.selects label span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.selects label span .i { width: 13px; height: 13px; color: var(--brand); }
.selects select {
  appearance: none; -webkit-appearance: none; padding: 9px 34px 9px 12px; font-size: 14px; cursor: pointer; border-radius: 10px; background-color: var(--panel-2); border-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7190' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 15px;
}
.selects select:hover { border-color: #ddd8f9; background-color: #fff; }
.selects select.on { border-color: var(--brand); background-color: #f1effc; color: var(--brand); font-weight: 600; }
.dd { position: relative; }
.dd-btn { width: 100%; height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 10px 0 12px; border-radius: 10px; border: 1px solid transparent; background: var(--panel-2); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; text-align: left; transition: .15s; }
.dd-btn:hover { background: #fff; border-color: #ddd8f9; }
.dd.open .dd-btn { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,80,204,.12); }
.dd.on .dd-btn { background: #f1effc; border-color: var(--brand); color: var(--brand); font-weight: 600; }
.dd-val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.dd-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.dd-l.ph { color: var(--muted); }
.dd-val em, .dd-opt em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(20,24,51,.07); color: var(--muted); margin-left: auto; }
.dd.on .dd-val em { background: rgba(99,80,204,.14); color: var(--brand); }
.dd-arrow { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform .2s; }
.dd.open .dd-arrow { transform: rotate(180deg); color: var(--brand); }
.dd .flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: 280px; max-height: 300px; overflow-y: auto; z-index: 30;
  display: flex; flex-direction: column; gap: 2px; padding: 6px; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(20,24,51,.16);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background .12s; }
.dd-opt:hover { background: var(--panel-2); }
.dd-opt.sel { background: #f1effc; color: var(--brand); font-weight: 600; }
.dd-opt.sel em { background: rgba(99,80,204,.14); color: var(--brand); }
.dd-opt > .i, .dd-val > .i { width: 15px; height: 15px; flex: none; color: var(--brand); }
.dd-opt[data-v=""] { color: var(--muted); border-bottom: 1px dashed var(--line); border-radius: 9px 9px 0 0; margin-bottom: 2px; }
.dd-grid .dd-menu { display: grid; grid-template-columns: repeat(5, 1fr); width: 260px; }
.dd-grid .dd-opt { justify-content: center; padding: 9px 4px; background: var(--panel-2); }
.dd-grid .dd-opt:hover { background: #eae7fb; }
.dd-grid .dd-opt.sel, .dd-grid .dd-opt.sel .dd-l { background: #efeafc; color: #4c418f; box-shadow: inset 0 0 0 1px rgba(99,80,204,.18); }
.dd-grid .dd-opt.sel .dd-l { background: none; box-shadow: none; }
.dd-grid .dd-opt[data-v=""] { grid-column: 1 / -1; background: none; }
.dd-menu::-webkit-scrollbar { width: 6px; }
.dd-menu::-webkit-scrollbar-thumb { background: #d6d8e6; border-radius: 3px; }
.selects .btn { flex: 0 0 auto; height: 40px; border-radius: 10px; color: var(--muted); }
.selects .btn:hover { color: var(--brand); }

.filter-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px 18px; margin-bottom: 20px; }
.filter-panel .filters { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.filter-panel .tabs { background: var(--panel-2); border-color: transparent; box-shadow: none; }
.tabs button .i { width: 15px; height: 15px; margin-right: 6px; }
.tabs button em { font-style: normal; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 22px; padding: 1px 7px; margin-left: 8px; border-radius: 999px; background: #fff; color: #4e5574; text-align: center; }
.tabs button em:empty { display: none; }
#catTabs { gap: 4px; padding: 5px; border-radius: 14px; background: #e8ebf4; }
#catTabs button { gap: 7px; height: 40px; padding: 0 14px 0 12px; border-radius: 10px; color: #2f3552; font-size: 14.5px; font-weight: 600; letter-spacing: .01em; }
#catTabs button .i,
#catTabs button .ico { width: 16px; height: 16px; margin: 0; }
#catTabs button:hover:not(.active) { color: #161a2e; background: rgba(255,255,255,.62); }
#catTabs button.active { background: #fff; color: #2a2460; box-shadow: 0 1px 2px rgba(20,24,51,.05), 0 8px 18px rgba(79,67,138,.1); }
#catTabs button.active em { background: #efeafc; color: #433a86; }
#catTabs button[data-cat="google_play"].active { color: #0b6a44; }
#catTabs button[data-cat="google_play"].active em { background: #e4f6ee; color: #0b6a44; }
#catTabs button[data-cat="apple"].active { color: #1c1c1f; }
#catTabs button[data-cat="apple"].active em { background: #ececf2; color: #1c1c1f; }
.filter-panel .chips { gap: 8px; }
.filter-panel .chips label { position: relative; gap: 7px; padding: 8px 14px 8px 10px; background: var(--panel-2); border-color: transparent; font-weight: 500; color: #3d4260; }
.filter-panel .chips label:hover { border-color: #ddd8f9; background: #fff; }
.filter-panel .chips label:has(input:checked) { background: #f1effc; border-color: var(--brand); color: var(--brand); box-shadow: 0 3px 10px rgba(99,80,204,.14); }
.filter-panel .chips input { position: absolute; opacity: 0; pointer-events: none; }
.filter-panel .chips label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.chips .ck { width: 16px; height: 16px; flex: none; border-radius: 5px; border: 1.5px solid #c5c8dc; background: #fff; display: grid; place-items: center; transition: .15s; }
.chips .ck::after { content: ''; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.chips label:has(input:checked) .ck { background: var(--grad); border-color: transparent; }
.chips label:has(input:checked) .ck::after { opacity: 1; }
.chips label .i { width: 14px; height: 14px; color: var(--muted); }
.chips label:has(input:checked) .i { color: var(--brand); }
@media (max-width: 640px) {
  .filter-panel { padding: 14px; }
  .filter-panel .tabs { width: 100%; overflow-x: auto; }
  .tabs button { padding: 8px 12px; white-space: nowrap; }
  .selects label { flex-basis: calc(50% - 5px); min-width: 0; }
}

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: .2s; box-shadow: var(--shadow); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #ddd8f9; }
.card.sold { opacity: .55; }
.card .cover { height: 140px; display: flex; align-items: center; justify-content: center; position: relative; background-size: cover; background-position: center; }
.card .cover.google_play { background: linear-gradient(135deg, #e3f8ef, #e8efff); }
.card .cover.apple { background: linear-gradient(135deg, #f0f1f5, #eeebfc); }
.card .cover.has-img { background: #f7f7fb; height: auto; aspect-ratio: 10 / 7; overflow: hidden; border-bottom: 1px solid var(--line); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .35s; }
.card:hover .cover img { transform: scale(1.04); }
.card .cover-ico { width: 56px !important; height: 56px !important; object-fit: contain !important; }
.card .no { position: absolute; top: 10px; left: 10px; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: rgba(20,24,51,.78); color: #fff; font-family: ui-monospace, Menlo, monospace; backdrop-filter: blur(4px); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0; }
.kv-item { --tone: var(--text); display: flex; align-items: center; gap: 6px; min-width: 0; }
.kv-item.ok { --tone: #0f9f5c; }
.kv-item.bad { --tone: #e8590c; }
.kv dt { flex: none; display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.kv dt .i { width: 13px; height: 13px; color: #9aa0bd; }
.kv dd { margin: 0; min-width: 0; font-size: 13px; font-weight: 600; color: var(--tone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -6px 0 16px; }
.result-count { margin: 0; font-size: 13px; }
.more { text-align: center; margin-top: 28px; }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card h3 { font-size: 15.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3.ctitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.ct-main { font-size: 16.5px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ct-region { flex: none; display: inline-flex; align-items: center; gap: 5px; max-width: 55%; padding: 3px 9px 3px 5px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #3d4260; background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-region .flag { width: 18px; height: 13px; margin: 0; flex: none; border-radius: 3px; }
.card .meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; }
.card .foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 800; color: var(--accent); font-size: 17px; }

.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; font-size: 12px; padding: 2px 9px; border-radius: 6px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.tag.google_play { color: var(--gp); background: #e8f7f0; border-color: #c4ebd9; }
.tag.apple { color: var(--ap); background: #f1f1f4; border-color: #dcdce3; }
.tag.hot { color: #e5484d; background: #fff0ef; border-color: #ffd3cf; }
.ico { width: 1em; height: 1em; vertical-align: -0.125em; margin-right: .35em; flex: none; }
.tag .ico { margin-right: .3em; }
.card .tags { flex-wrap: nowrap; gap: 4px; overflow: hidden; }
.card .tag { font-size: 10.5px; line-height: 1.5; padding: 0 5px; border-radius: 5px; white-space: nowrap; flex: none; }
.card .tag .ico { margin-right: .25em; }
.status { position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.status.available { color: var(--ok); }
.status.available::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 5px; vertical-align: 2px; }
.status.reserved { color: var(--warn); }
.status.pending { color: #2f6fed; }
.status.pending::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid #2f6fed; margin-right: 5px; vertical-align: 1px; box-sizing: border-box; }
.status.sold { color: var(--danger); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--panel); }

/* topics */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.topic {
  --ink: #3c3278;
  --ink-soft: #6d6794;
  --wash: #f7f5fd;
  --chip: #efeafc;
  --line-c: #e4def6;
  position: relative; overflow: hidden; min-width: 0;
  background: var(--wash); border: 1px solid var(--line-c); border-radius: 18px;
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 6%, transparent);
  transition: transform .22s, box-shadow .22s;
}
.topic:hover { transform: translateY(-3px); box-shadow: 0 14px 28px color-mix(in srgb, var(--ink) 12%, transparent); }
.topic-head { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.topic-ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-c); color: var(--ink);
}
.topic-ico img { width: 22px; height: 22px; }
.topic-head > div { min-width: 0; }
.topic h3 { font-size: 15.5px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.topic p { margin: 3px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.topic .actions { display: flex; gap: 8px; margin-top: auto; }
.topic .actions .btn { flex: 1 1 0; min-width: 0; height: 36px; padding: 0 10px; font-size: 13px; font-weight: 600; border-radius: 10px; }
.topic .actions .btn.primary,
.topic .actions .btn.primary:hover {
  background: #fff; border-color: color-mix(in srgb, var(--ink) 16%, white); color: var(--ink);
  box-shadow: inset 0 1px 0 #fff;
  filter: none; transform: none;
}
.topic .actions .btn.primary:hover { background: var(--chip); }
.topic .actions .btn:not(.primary) {
  background: #fff;
  border-color: color-mix(in srgb, var(--ink) 32%, white);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff;
}
.topic .actions .btn:not(.primary) .i { color: var(--ink); }
.topic .actions .btn:not(.primary):hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic .actions .btn:not(.primary):hover .i { color: #fff; }
.topic.aged::after, .topic.app::after {
  content: "老号"; position: absolute; top: 14px; right: 14px; z-index: 1;
  font-size: 11px; font-weight: 800; letter-spacing: .4px; padding: 2px 8px; border-radius: 999px;
  color: var(--ink); background: #fff; border: 1px solid var(--line-c);
}
.topic.app::after { content: "白包"; }
.topic.aged .topic-head, .topic.app .topic-head { padding-right: 42px; }

.topic.gp { --ink: #0b6a44; --ink-soft: #3d8668; --wash: #f3faf6; --chip: #e5f6ee; --line-c: #d3eee2; }
.topic.apple { --ink: #1c1c1f; --ink-soft: #5e5e68; --wash: #f6f6f8; --chip: #ececf1; --line-c: #e3e3e8; }

.topic.all {
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 20px 22px;
}
.topic.all .topic-ico { width: 52px; height: 52px; border-radius: 14px; }
.topic.all .topic-ico .i { width: 26px; height: 26px; }
.topic.all h3 { font-size: 18px; }
.topic.all .actions { margin-top: 0; flex: 0 0 auto; }
.topic.all .actions .btn { flex: none; padding: 0 18px; height: 40px; }

@media (max-width: 1000px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .topics { grid-template-columns: 1fr; }
  .topic.all .actions { width: 100%; }
  .topic.all .actions .btn { flex: 1 1 0; }
}
.notice { background: #fff8e6; border: 1px solid #fde3a7; color: #a16207; padding: 12px 16px; border-radius: 10px; margin-top: 14px; }
.howto { margin-top: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: visible; transition: box-shadow .2s; }
.howto:hover, .howto[open] { box-shadow: var(--shadow-lg); }
.howto summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 20px; user-select: none; }
.howto summary::-webkit-details-marker { display: none; }
.howto .h-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2aabee, #229ed9); box-shadow: 0 6px 16px rgba(34,158,217,.3); }
.howto .h-ico .i { width: 22px; height: 22px; }
.howto .h-title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.howto .h-title b { font-size: 16px; }
.howto .h-title small { font-size: 13px; color: var(--muted); }
.howto .h-arrow { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); color: var(--muted); font-size: 20px; transition: .25s; }
.howto summary:hover .h-arrow { color: var(--brand); background: #f1effc; }
.howto[open] .h-arrow { transform: rotate(90deg); color: var(--brand); background: #f1effc; }
.howto-steps { list-style: none; margin: 0; padding: 4px 20px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: hs; }
.howto[open] .howto-steps { animation: fade .3s ease; }
.howto-steps li { counter-increment: hs; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid transparent; transition: .2s; }
.howto-steps li:hover { background: #fff; border-color: #e1dcf9; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79,67,138,.1); }
.howto-steps li::after { content: "0" counter(hs); position: absolute; top: 12px; right: 16px; font-size: 26px; font-weight: 800; color: rgba(99,80,204,.12); }
.howto-steps .s-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #fff; margin-bottom: 4px; box-shadow: 0 6px 14px rgba(99,80,204,.25); }
.howto-steps .s-ico .i { width: 20px; height: 20px; }
.howto-steps b { font-size: 15px; }
.howto-steps p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.howto-steps em { font-style: normal; align-self: flex-start; margin-top: auto; font-size: 12px; color: #b45309; background: #fff7e6; border: 1px solid #fde3a7; padding: 1px 8px; border-radius: 6px; }
.howto-steps .bot-name { position: relative; color: var(--brand); font-weight: 600; }
.howto-steps a.bot-name { text-decoration: underline dashed; text-underline-offset: 3px; cursor: pointer; }
.bot-qr {
  position: absolute; z-index: 20; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(20,24,51,.18);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s;
}
.bot-qr::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top-color: #fff; }
.bot-qr img { display: block; width: 140px; height: 140px; }
.bot-qr small { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.bot-name:hover .bot-qr, .bot-name:focus-visible .bot-qr { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: none) { .bot-qr { display: none; } }
.howto-steps .cmds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.howto-steps .cmds span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px 3px 4px; }
.howto-steps .cmds code { font-size: 12px; border: 0; background: #f1effc; color: var(--brand); padding: 1px 6px; }
@media (max-width: 820px) { .howto-steps { grid-template-columns: 1fr; } }

.site-foot { position: relative; margin-top: 80px; background: radial-gradient(900px 300px at 10% 0%, rgba(99,80,204,.28), transparent 60%), radial-gradient(700px 260px at 95% 10%, rgba(138,105,211,.2), transparent 60%), #10132b; color: #b9bcdb; font-size: 14px; }
.site-foot::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #6350cc, #8a69d3, #ff7a2f); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 36px; padding: 52px 20px 40px; }
.site-foot .logo { color: #fff; font-size: 20px; }
.site-foot .logo span { color: #8d90b3; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; max-width: 380px; }
.foot-brand .logo,
.foot-brand p { flex: 1 0 100%; }
.foot-brand p { margin: 2px 0 4px; line-height: 1.7; color: #9a9dc0; max-width: none; }
.foot-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.foot-badges span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #dddcec; font-size: 12.5px; box-sizing: border-box; }
.foot-badges .i { color: #b5abe7; width: 14px; height: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { margin: 4px 0 6px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.foot-col > a:not(.foot-ch) { display: inline-flex; align-items: center; gap: 8px; color: #b9bcdb; text-decoration: none; transition: .15s; width: fit-content; }
.foot-col > a:not(.foot-ch):hover { color: #fff; transform: translateX(3px); }
.foot-col > a .i { color: #988bdd; }
.foot-ch {
  --lang: linear-gradient(135deg, #2aabee, #1e88e5);
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; color: inherit; text-decoration: none; transition: .25s;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.foot-ch:nth-of-type(1) { --lang: linear-gradient(135deg, #1c57d6, #d52b1e); }
.foot-ch::before {
  content: ""; position: absolute; width: 120px; height: 120px; left: -40px; top: -50px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,171,238,.28), transparent 70%); opacity: .6; transition: .3s; pointer-events: none;
}
.foot-ch::after { content: "›"; font-size: 20px; line-height: 1; color: rgba(255,255,255,.35); margin-left: 2px; transition: .25s; }
.foot-ch:hover {
  transform: translateY(-2px); border-color: rgba(42,171,238,.55);
  background: linear-gradient(135deg, rgba(42,171,238,.16), rgba(42,171,238,.04));
  box-shadow: 0 10px 24px rgba(42,171,238,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.foot-ch:hover::before { opacity: 1; transform: scale(1.3); }
.foot-ch:hover::after { color: #fff; transform: translateX(3px); }
.foot-ch .tg {
  position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%;
  filter: drop-shadow(0 4px 10px rgba(42,171,238,.45)); transition: transform .3s cubic-bezier(.2,.9,.3,1.3);
}
.foot-ch:hover .tg { transform: rotate(-10deg) scale(1.06); }
.foot-ch span { position: relative; display: flex; flex-direction: column; gap: 1px; line-height: 1.3; flex: 1; min-width: 0; }
.foot-ch b { color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: .3px; }
.foot-ch small { color: #7fc8ee; font-size: 12.5px; font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; }
.foot-ch em {
  position: relative; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .8px;
  padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--lang);
  box-shadow: 0 2px 8px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.foot-pay { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(38,161,123,.1); border: 1px solid rgba(38,161,123,.35); }
.foot-pay .i { width: 28px; height: 28px; flex: none; }
.foot-pay span { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.foot-pay b { color: #fff; }
.foot-pay small { color: #7fd8b8; font-size: 12.5px; }
.foot-note { margin: 4px 0 0; font-size: 12.5px; color: #8d90b3; line-height: 1.6; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 16px; font-size: 13px; color: #7c80a6; }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-lang { position: relative; margin: 0; width: fit-content; }
.foot-lang .lang { display: block; }
.foot-lang .lang-btn { height: 36px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #e8e9f6; box-shadow: none; }
.foot-lang .lang-btn:hover, .foot-lang .lang.open .lang-btn { background: rgba(99,80,204,.28); border-color: rgba(181,171,231,.55); color: #fff; }
.foot-lang .lang-flag { box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.foot-lang .lang-caret { color: #c4c8e2; }
.foot-lang .lang-menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; } }

/* modal */
dialog { background: rgba(255,255,255,.72); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); color: var(--text); border: 1px solid rgba(255,255,255,.6); border-radius: 22px; padding: 0; width: min(640px, calc(100vw - 32px)); max-height: 88vh; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.8); }
dialog:has(.detail.has-img) { width: min(980px, calc(100vw - 32px)); }
dialog[open] { animation: pop .28s cubic-bezier(.2,.9,.3,1.2); }
dialog::backdrop { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open]::backdrop { animation: fade .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
dialog .close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; z-index: 3; box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: .18s; }
dialog .close:hover { transform: rotate(90deg); color: var(--brand); }
#modalBody { max-height: 88vh; overflow: auto; }

.detail .inner { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.detail .inner code { word-break: break-all; }
.detail h2 { font-size: 22px; font-weight: 800; padding-right: 36px; letter-spacing: .2px; }
.detail .desc { white-space: pre-wrap; background: var(--panel-2); border-radius: 12px; padding: 14px; font-size: 14px; color: #3d4260; }
.detail .actions { display: flex; gap: 10px; flex-wrap: wrap; }

dialog:has(.sub-modal) { width: min(500px, calc(100vw - 32px)); background: #fff; }
.detail.sub-modal .inner { --sub-pad: 24px; padding: 0 var(--sub-pad) 22px; gap: 14px; }
@media (max-width: 480px) { .detail.sub-modal .inner { --sub-pad: 16px; padding-bottom: 16px; } }
.sub-head { display: flex; align-items: center; gap: 14px; margin: 0 calc(var(--sub-pad) * -1); padding: 24px 60px 20px var(--sub-pad); background: linear-gradient(180deg, #f5f3fd 0%, #fff 100%); border-bottom: 1px solid #f1eff9; }
.sub-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--grad); box-shadow: 0 8px 18px rgba(99,80,204,.3); }
.sub-ico .i { width: 22px; height: 22px; }
.sub-head h2 { font-size: 19px; font-weight: 800; letter-spacing: .2px; padding: 0; line-height: 1.3; }
.sub-head p { margin: 3px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sub-cond { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fbfafe; border: 1px dashed #ded8f9; }
.sub-cond span { font-size: 11.5px; font-weight: 600; color: var(--brand); padding: 3px 9px; border-radius: 999px; background: #f1eefc; flex: none; }
.sub-cond b { font-size: 14.5px; font-weight: 700; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.sub-opts { display: flex; flex-direction: column; gap: 10px; }
.sub-opt { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; column-gap: 13px; padding: 13px 14px; border-radius: 14px; background: #fff; border: 1px solid #ebedf5; color: var(--text); text-decoration: none; transition: .18s; }
a.sub-opt:hover { border-color: #ddd8f9; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20,24,51,.07); }
.sub-opt .o-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; }
.sub-opt .o-ico .i { width: 21px; height: 21px; }
.sub-opt:nth-child(2) .o-ico { color: #0f9d6b; background: #e7f8f0; }
.sub-opt.channel .o-ico { color: #f07a1a; background: #fff1e4; }
.sub-opt .o-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sub-opt .o-txt b { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.sub-opt .o-txt small { font-size: 12px; color: var(--muted); line-height: 1.55; }
.sub-opt .o-go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--muted); background: #f4f5fa; transition: .18s; }
a.sub-opt:hover .o-go { color: #fff; background: var(--brand); transform: translateX(2px); }
.sub-opt.main { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(99,80,204,.3); }
.sub-opt.main:hover { border-color: transparent; filter: brightness(1.06); box-shadow: 0 12px 28px rgba(99,80,204,.38); }
.sub-opt.main .o-ico { color: #fff; background: rgba(255,255,255,.2); }
.sub-opt.main small { color: rgba(255,255,255,.85); }
.sub-opt.main .o-go, .sub-opt.main:hover .o-go { color: #fff; background: rgba(255,255,255,.22); }
.sub-opt.channel { align-items: start; }
.sub-opt.channel .o-cmd { grid-column: 2 / -1; display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 5px 5px 12px; border-radius: 10px; background: #1b1f3b; }
.sub-opt.channel code { flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: #a6f0c6; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.sub-opt.channel code::before { content: "$ "; color: #6c7196; }
.sub-opt.channel .o-cmd .btn { flex: none; height: 30px; padding: 0 14px; border: 0; border-radius: 8px; color: #fff; background: var(--grad); font-size: 12.5px; }
.sub-tips { list-style: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: #f7f8fc; font-size: 12.5px; line-height: 1.6; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.sub-tips li { position: relative; padding-left: 16px; }
.sub-tips li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #d1cbf0; }
.sub-tips code { font-size: 11.5px; padding: 1px 6px; border-radius: 5px; background: #fff; border: 1px solid #e6e8f2; color: var(--brand); white-space: nowrap; word-break: normal; }

.detail.has-img { display: grid; grid-template-columns: 1fr 1fr; }
.d-shot { position: relative; display: flex; align-items: flex-start; padding: 22px; background: rgba(255,255,255,.25); border-right: 1px solid rgba(255,255,255,.5); }
.d-shot img { position: sticky; top: 22px; width: 100%; display: block; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.05); transition: transform .3s; }
.d-shot:hover img { transform: scale(1.015); }
.d-shot .zoom { position: absolute; left: 34px; top: 34px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(20,24,51,.7); color: #fff; backdrop-filter: blur(6px); opacity: 0; transition: .2s; }
.d-shot:hover .zoom { opacity: 1; }

.d-top { display: flex; align-items: center; gap: 8px; padding-right: 40px; }
.d-top .status { position: static; box-shadow: none; border: 1px solid var(--line); }
.d-no { font: 12px ui-monospace, Menlo, monospace; padding: 3px 9px; border-radius: 6px; background: #141833; color: #fff; }
.d-sub { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); transition: .15s; min-width: 0; }
.d-item:hover { background: rgba(255,255,255,.85); }
.d-item.wide { grid-column: 1 / -1; }
.d-item .k { font-size: 12px; color: var(--muted); }
.d-item .v { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.d-item code { background: #fff; font-weight: 500; }
.d-hash { gap: 6px 10px; }
.d-hash span { font-size: 12.5px; color: var(--brand); }
.detail .inner:has(.d-foot) { padding-bottom: 0; }
.d-foot { position: sticky; bottom: 0; margin: 4px -26px 0; padding: 14px 26px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: rgba(255,255,255,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.7); }
.d-price { display: flex; flex-direction: column; line-height: 1.2; }
.d-price span { font-size: 12px; color: var(--muted); }
.d-price b { font-size: 22px; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-foot .actions { flex-wrap: nowrap; gap: 8px; }
.d-foot .btn { padding: 10px 14px; }
.d-foot .btn.buy { padding: 10px 20px; font-weight: 700; }
dialog .close:focus { outline: none; }

@media (min-width: 821px) {
  dialog:has(.detail.has-img) #modalBody { overflow: hidden; }
  .detail.has-img { max-height: 88vh; }
  .detail.has-img .inner { overflow: auto; }
}
@media (max-width: 820px) {
  .detail.has-img { grid-template-columns: 1fr; }
  .d-shot { padding: 14px 14px 0; }
  .d-shot img { position: static; }
}
@media (max-width: 480px) {
  .detail .inner { padding: 20px 18px; }
  .d-foot { margin: 4px -18px 0; padding-left: 18px; padding-right: 18px; }
  .d-foot { gap: 8px; padding-top: 10px; }
  .d-price { flex-direction: row; align-items: baseline; gap: 8px; }
  .d-price b { font-size: 18px; }
  .d-foot .actions { width: 100%; }
  .d-foot .btn { padding: 9px 12px; }
  .d-foot .btn.buy { flex: 1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 1080px) {
  .nav .logo-txt small { display: none; }
}
@media (max-width: 760px) {
  .nav .nav-main { display: none; }
  .nav .nav-inner { height: 60px; gap: 10px; }
  .nav-account span, .nav-admin span { display: none; }
  .nav-account, .nav-admin { width: 38px; padding: 0; justify-content: center; }
  .nav .logo { font-size: 18px; min-width: 0; }
  .nav .logo-txt { min-width: 0; }
  .nav .logo-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav .logo-txt strong > span { display: none; }
  .nav .logo .logo-mark { width: 34px; height: 34px; }
  .nav .nav-cta { margin-left: 0; padding: 0 13px; }
  .hero { padding: 44px 0 60px; }
  .stats { gap: 26px; }
  #search { max-width: none; }
  .trust-inner > div { padding: 9px 11px; gap: 8px; border-radius: 12px; }
  .trust .t-ico { width: 30px; height: 30px; border-radius: 8px; }
  .trust svg { width: 15px; height: 15px; }
  .trust b { font-size: 13px; gap: 3px; }
  .trust b em { font-size: 14px; }
  .trust span { font-size: 11px; }
}

/* admin */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 22px 20px 0; }
.admin-tabs button { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.admin-tabs button.on { color: #4c418f; border-color: rgba(108,92,196,.22); background: linear-gradient(180deg, #fbfaff, #efeafc); box-shadow: inset 0 1px 0 #fff; }
.admin { display: grid; grid-template-columns: 380px 1fr; gap: 24px; padding: 18px 20px 28px; max-width: 1280px; margin: 0 auto; }
.admin > #tab-orders,
.admin > #tab-users,
.admin > #tab-subs,
.admin > #tab-chats { grid-column: 1 / -1; }
.presence { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #8b90a8; }
.presence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c5c8d8; }
.presence.on { color: #15803d; }
.presence.on::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.16); }
.dlg { display: grid; grid-template-columns: 300px minmax(0, 1fr); padding: 0; overflow: hidden; min-height: 640px; }
.dlg-list { border-right: 1px solid var(--line); overflow: auto; max-height: calc(100vh - 150px); background: #fbfbfe; }
.dlg-item { width: 100%; display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; font: inherit; }
.dlg-item:hover { background: #f6f4fd; }
.dlg-item.on { background: #f3f0fc; }
.dlg-item .presence { margin-top: 6px; }
.dlg-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dlg-item-main b { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlg-item-main small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlg-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.dlg-item-side em { font-style: normal; font-size: 11px; color: #6a5bb8; background: #efeafc; border-radius: 999px; padding: 1px 7px; }
.dlg-item-side time { font-size: 11px; color: var(--muted); }
.dlg-main { display: flex; flex-direction: column; min-width: 0; min-height: 640px; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dlg-head b { display: block; font-size: 16px; }
.dlg-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.dlg-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; color: var(--muted); font-size: 12.5px; }
.dlg-msgs { flex: 1; overflow: auto; max-height: calc(100vh - 230px); padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f6fb; }
.dlg-empty { margin: auto; color: var(--muted); font-size: 13.5px; text-align: center; padding: 24px; }
.bubble { max-width: min(78%, 560px); padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.55; }
.bubble.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: #efeafc; color: #3c3278; border-bottom-right-radius: 5px; }
.bubble time { display: block; margin-top: 4px; font-size: 11px; color: #8b90a8; }
.sync-plan { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #fbfaff, #f6f4fd); border: 1px solid rgba(108,92,196,.16); }
.sync-plan.bad { background: #fff7f7; border-color: #f3c7c7; }
.sync-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sync-plan b { font-size: 15px; }
.sync-plan p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; word-break: break-all; }
@media (max-width: 820px) {
  .dlg { grid-template-columns: 1fr; }
  .dlg-list { max-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
}
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel h2 { font-size: 18px; margin-bottom: 14px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.form textarea { min-height: 110px; resize: vertical; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td .btn { margin: 0 4px 4px 0; }
.login { max-width: 380px; margin: 12vh auto; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #141833; color: #fff; padding: 10px 18px; border-radius: 10px; z-index: 100; box-shadow: var(--shadow-lg); }
@media (max-width: 960px) { .admin { grid-template-columns: 1fr; } }

/* detail + pay pages */
.page { padding-top: 22px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs b { color: var(--text); font-weight: 600; }
.small { font-size: 12.5px; }
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.pd-media { padding: 12px; }
.pd-media img { width: 100%; display: block; border-radius: 10px; border: 1px solid var(--line); background: #f7f7fb; }
.pd-media .hint { margin: 8px 2px 0; font-size: 12.5px; }
.pd-placeholder { aspect-ratio: 10 / 7; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #e3f8ef, #eeebfc); }
.pd-placeholder img { width: 88px; border: 0; background: none; }
.pd-info { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.pd-top { display: flex; justify-content: space-between; align-items: center; }
.pd-no { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: #141833; color: #fff; padding: 3px 10px; border-radius: 6px; }
.pd-info h1 { font-size: 24px; font-weight: 800; }
.pd-head { margin: -6px 0 0; font-size: 14px; }
.price-box { background: linear-gradient(135deg, #fff6f0, #fff0f6); border: 1px solid #ffd9c7; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.price-box .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.price-box .deposit { font-size: 20px; color: var(--accent); font-weight: 800; }
.price-box .deposit em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--gp); background: #e8f7f0; border: 1px solid #c4ebd9; padding: 1px 6px; border-radius: 5px; margin-left: 4px; vertical-align: 3px; }
.price-box p { margin: 4px 0 0; font-size: 12.5px; color: #a3542b; }
.pd-info .actions, .detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.grow { flex: 1; }
.pd-info .actions.small { flex-wrap: nowrap; }
.pd-info .actions.small .btn { flex: 1 1 0; min-width: 0; height: 40px; padding: 0 12px; gap: 7px; justify-content: center; white-space: nowrap; font-size: 13px; font-weight: 600; border-radius: 11px; transition: .18s; }
.pd-info .actions.small .btn:hover { transform: translateY(-1px); }
.app-link { color: #0b7a52; background: #edf9f3; border-color: #cdeedd; }
.app-link:hover { color: #0b7a52; background: #e0f5ea; border-color: #9fdcbe; box-shadow: 0 6px 16px rgba(15,157,107,.14); }
.app-link.apple { color: #1d1d1f; background: #f3f4f7; border-color: #e2e4ea; }
.app-link.apple:hover { color: #1d1d1f; background: #eaecf1; border-color: #cfd2da; box-shadow: 0 6px 16px rgba(20,24,51,.1); }
.app-link img { width: 16px; height: 16px; }
.app-link .i { width: 13px; height: 13px; opacity: .55; }
.sub-link { color: #1a7fc9; background: #eef7fd; border-color: #cfe8f8; }
.sub-link:hover { color: #1a7fc9; background: #e2f2fc; border-color: #a6d6f3; box-shadow: 0 6px 16px rgba(42,171,238,.16); }
.sub-link .sl-ico { position: relative; display: grid; place-items: center; }
.sub-link .sl-ico .i { width: 15px; height: 15px; }
.sub-link .sl-ico::after { content: ""; position: absolute; top: -1px; right: -2px; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px #eef7fd; }
.pd-info .actions:not(.small) .btn { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 14px; gap: 6px; font-size: 14px; font-weight: 700; border-radius: 11px; justify-content: center; white-space: nowrap; }
.pd-info .actions:not(.small) .btn .i { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .pd-info .actions:not(.small) { flex-direction: column; }
  .pd-info .actions:not(.small) .btn { flex: none; width: 100%; }
}
.pd-grid2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 22px; }
.pd-grid2 h2, .pay-grid h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.spec { display: grid; grid-template-columns: 120px 1fr; margin: 0; font-size: 14px; }
.spec dt, .spec dd { padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.spec dt { color: var(--muted); }
.spec code { word-break: break-all; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.flow li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.flow b { font-size: 15px; }
.flow span { font-size: 13px; color: var(--muted); }
.related { padding-top: 40px; }
.slide-nav { display: flex; align-items: center; gap: 8px; }
.slide-nav.static .slide-btn { display: none; }
.slide-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(20,24,51,.08); transition: .18s; }
.slide-btn:hover:not(:disabled) { background: #fff; color: var(--brand); }
.slide-btn:disabled { opacity: .35; cursor: default; }
.slider { --gap: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 8px 24px; margin: -6px -8px -24px; scroll-padding: 0 8px; }
.slider::-webkit-scrollbar { display: none; }
.slider > .card { scroll-snap-align: start; }
@media (max-width: 960px) { .slider { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 720px) { .slider { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 480px) { .slider { --gap: 14px; grid-auto-columns: 78%; } }

.pd-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pd-side { position: sticky; top: 84px; }
.pd-col h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.pd-media .hint { text-align: center; }

.pd-bg {
  --shot: none;
  position: fixed; inset: -120px; z-index: -1; pointer-events: none;
  background: var(--shot) center / cover no-repeat;
  filter: blur(80px) saturate(.6); opacity: .18; transform: scale(1.1) translateZ(0);
  will-change: transform; backface-visibility: hidden;
}
body:has(.pd-bg) { background: #f5f6fa; }
body:has(.pd-bg) .page .panel,
body:has(.pd-bg) .related .card {
  background: rgba(255,255,255,.9);
  border-color: rgba(20,24,51,.06);
  box-shadow: 0 1px 2px rgba(20,24,51,.04), 0 8px 24px rgba(20,24,51,.05);
}
body:has(.pd-bg) .spec dt, body:has(.pd-bg) .spec dd { border-bottom-color: rgba(20,24,51,.08); }
body:has(.pd-bg) .related .card h3 { min-height: 2.5em; }

.steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); counter-reset: st; }
.steps li { flex: 1; text-align: center; padding: 12px 8px; font-size: 14px; color: var(--muted); counter-increment: st; position: relative; }
.steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); margin-right: 8px; font-size: 12px; font-weight: 700; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li.active { color: var(--brand); font-weight: 700; background: #f6f5fd; }
.steps li.active::before { background: var(--grad); color: #fff; border-color: transparent; }
.steps li.done { color: var(--ok); }
.steps li.done::before { content: "✓"; background: var(--ok); color: #fff; border-color: transparent; }
.pay-grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.pay-grid .panel { padding: 24px; }
#summary { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
#summary h2 { margin-bottom: 0; }
.sum-item { display: flex; gap: 12px; align-items: center; }
.sum-item > img { width: 96px; aspect-ratio: 10 / 7; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.sum-item b { font-size: 14px; line-height: 1.4; }
.sum-ico { width: 64px; height: 64px; border-radius: 12px; background: var(--panel-2); display: grid; place-items: center; flex: none; }
.sum-ico img { width: 32px; border: 0; aspect-ratio: auto; }
.sum-rows { display: grid; grid-template-columns: 80px 1fr; gap: 8px; margin: 0; font-size: 14px; background: var(--panel-2); border-radius: 12px; padding: 12px 14px; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { margin: 0; text-align: right; }
.sum-rows .price { font-size: 15px; }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pay-head h2 { margin: 0; }
.pay-box { display: flex; gap: 24px; align-items: center; background: var(--panel-2); border-radius: 14px; padding: 20px; flex-wrap: wrap; }
.qr { background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--line); line-height: 0; }
.qr img { width: 200px; height: 200px; }
.pay-detail { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 14px; align-self: stretch; justify-content: center; }
.amount { font-size: 16px; font-weight: 700; color: var(--muted); display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.amount span { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.net { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-field { display: flex; flex-direction: column; gap: 6px; }
.pf-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pf-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 10px 14px; min-height: 56px; }
.pf-box .amount { flex: 1; }
.pf-box code { flex: 1; min-width: 0; background: none; border: 0; border-radius: 0; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.5; word-break: break-all; color: var(--text); }
.pf-box .btn { flex: none; width: 84px; justify-content: center; }
@media (max-width: 600px) { .pay-box .qr { margin: 0 auto; } }
.addr { display: flex; gap: 8px; align-items: center; width: 100%; flex-wrap: wrap; }
.addr code { font-size: 14.5px; padding: 8px 10px; background: #fff; word-break: break-all; flex: 1; min-width: 0; font-weight: 600; }
.warn { margin: 18px 0; padding: 14px 16px 14px 34px; background: #fff8e6; border: 1px solid #fde3a7; border-radius: 12px; color: #92400e; font-size: 13.5px; }
.warn li { margin: 3px 0; }
.txid-form { flex-direction: row; align-items: flex-end; gap: 10px; }
.txid-form label { flex: 1; }
.txid-form input { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.pay-status { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: var(--panel-2); }
.pay-status.wait { background: #eef2ff; color: #4d4682; }
.pay-status.ok { background: #e8f7f0; color: #067647; font-weight: 600; margin-top: 0; }
.pay-status.err { background: #fff0ef; color: #b42318; }
.contact-box { margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1px dashed #ddd8f9; background: #fbfafe; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-box p { margin: 4px 0 0; }
.contact-box .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card .foot { gap: 8px; }
.card .foot .btn { height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 600; border-radius: 999px; gap: 4px; letter-spacing: .2px; }
.card .foot .btn:not(.buy):not(.disabled) { background: #f4f2fd; border-color: transparent; color: var(--brand); }
.card .foot .btn:not(.buy):not(.disabled)::after { content: "›"; font-size: 16px; line-height: 1; margin-top: -2px; transition: transform .18s; }
.card .foot .btn:not(.buy):not(.disabled):hover { background: #e7e1f8; color: #43368a; }
.card .foot .btn:not(.buy):not(.disabled):hover::after { transform: translateX(2px); }
.card .foot .buy { padding: 0 14px 0 11px; box-shadow: 0 3px 10px rgba(255,90,31,.25); }
.card .foot .buy::before {
  content: ""; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM5.2 4H2V2h4.6l.9 2H21l-3.6 8.4a2 2 0 0 1-1.8 1.2H8.1l-1 1.8V16h12v2H7a2 2 0 0 1-1.7-3l1.4-2.5L5.2 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM5.2 4H2V2h4.6l.9 2H21l-3.6 8.4a2 2 0 0 1-1.8 1.2H8.1l-1 1.8V16h12v2H7a2 2 0 0 1-1.7-3l1.4-2.5L5.2 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.card .foot .buy:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(255,90,31,.32); }
@media (max-width: 900px) {
  .pd, .pd-grid2, .pay-grid { grid-template-columns: 1fr; }
  .pd-info, .pd-side, #summary { position: static; }
  .pd-col { display: contents; }
  .pd-media { order: 1; } .pd-info { order: 2; } .pd-spec { order: 3; } .pd-flow { order: 4; }
  .txid-form { flex-direction: column; align-items: stretch; }
}

/* svg icons */
.i { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .i { width: 1.2em; height: 1.2em; }
.flag { width: 1.3em; height: .98em; border-radius: 3px; object-fit: cover; vertical-align: -0.14em; box-shadow: 0 0 0 1px rgba(20,24,51,.1); margin: 0 .1em; }
.spec dt .i, .sum-rows dt .i { color: var(--brand); margin-right: 6px; }
.topbar .i { width: 1.1em; height: 1.1em; color: #d9b779; stroke-width: 1.8; }
.pd-no .i { width: 1em; height: 1em; margin-right: 4px; }
.pay-status .i { margin-right: 6px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.net .tag .i, .tag .i { width: 1.1em; height: 1.1em; margin-right: .3em; }
#search { background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7190' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 15px center / 16px; padding-left: 40px; }

/* 快速查价 */
.quick-price {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  padding: 14px 16px; border-radius: 14px; color: #fff;
  background: #141833;
  box-shadow: 0 10px 28px rgba(20,24,51,.22), inset 0 0 0 1px rgba(255,255,255,.06);
}
.quick-price::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,47,.35), transparent 70%); pointer-events: none;
}
.qp-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.qp-head b { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; letter-spacing: .5px; }
.qp-head b .i { color: #ff8a3d; }
.qp-head span { font-size: 12.5px; color: #ffd2b0; background: rgba(255,138,61,.14); border: 1px solid rgba(255,138,61,.3); padding: 2px 10px; border-radius: 999px; }
.qp-row { position: relative; display: flex; gap: 8px; align-items: stretch; }
.qp-id {
  flex: 1; min-width: 0; display: flex; align-items: center; cursor: pointer;
  padding: 10px 12px !important; border-radius: 10px !important;
  font: 700 16px/1.3 ui-monospace, Menlo, monospace !important; letter-spacing: .3px; word-break: break-all;
  color: #ffe08a !important; background: rgba(255,255,255,.06) !important; border: 1.5px dashed rgba(255,224,138,.45) !important;
  transition: .18s;
}
.qp-id:hover { background: rgba(255,255,255,.1) !important; border-color: #ffe08a !important; }
.qp-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--accent-grad);
  box-shadow: 0 6px 16px rgba(255,90,31,.35); transition: .18s;
}
.qp-copy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.quick-price.copied .qp-copy { background: linear-gradient(135deg, #12b76a, #34d399); box-shadow: 0 6px 16px rgba(18,183,106,.35); }
.quick-price.copied .qp-id { border-color: #34d399 !important; }
.qp-send { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #c9c9ef; }
.qp-send:hover { color: #fff; }
.qp-send .i { color: #5ab4ff; }
#summary .qp-row { flex-direction: column; }
#summary .qp-copy { justify-content: center; height: 40px; }
#summary .qp-id { font-size: 15px !important; }
@media (max-width: 480px) {
  .qp-row { flex-direction: column; }
  .qp-copy { justify-content: center; height: 40px; }
}

/* 相似账号卡片 */
.rel-facts { display: flex; gap: 6px; flex-wrap: wrap; }
.rel-facts span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; color: var(--brand); background: #f4f2fd; }
.related .card .foot .consult { margin-left: auto; }
.related .card .foot .consult .i { width: 13px; height: 13px; }
.card .foot .consult::before { display: none; }

/* 多币种支付 */
.coin { width: 1.25em; height: 1.25em; vertical-align: -0.28em; margin-right: .35em; flex: none; }
.coin.lg { width: 30px; height: 30px; margin: 0; vertical-align: middle; }
.coin-label { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.coin-opt {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  background: var(--panel); border: 1.5px solid var(--line); color: var(--text) !important; transition: .15s; min-width: 0;
}
.form .coin-opt { flex-direction: row; gap: 10px; font-size: inherit; color: var(--text); }
.coin-opt input { position: absolute; opacity: 0; pointer-events: none; }
.coin-opt:hover { border-color: #d4cdf1; transform: translateY(-1px); }
.coin-opt:has(input:checked) { border-color: var(--brand); background: #f7f6fd; box-shadow: 0 0 0 3px rgba(99,80,204,.12); }
.coin-opt:has(input:checked)::after {
  content: "✓"; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad);
}
.coin-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.coin-txt b { font-size: 14px; font-weight: 800; }
.coin-txt small { font-size: 11.5px; color: var(--muted); }
.coin-opt em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.coin-opt:has(input:checked) em { color: var(--brand); }
.coin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.coin-grid .coin-opt {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "ico txt" "amt amt";
  align-items: center; column-gap: 10px; row-gap: 9px; padding: 11px 12px 10px;
}
.coin-grid .coin-opt .coin.lg { grid-area: ico; }
.coin-grid .coin-txt { grid-area: txt; }
.coin-grid .coin-txt b, .coin-grid .coin-txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-grid .coin-opt em {
  grid-area: amt; margin: 0; padding: 5px 9px; border-radius: 8px; background: var(--panel-2);
  font-size: 12px; font-variant-numeric: tabular-nums; text-align: left; overflow: hidden; text-overflow: ellipsis;
}
.coin-grid .coin-opt:has(input:checked) em { background: rgba(99,80,204,.1); }
@media (max-width: 640px) { .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coin-opt.off { opacity: .6; }
.coin-opt.off em { color: var(--accent); }
.qr { position: relative; }
.qr .qr-badge { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: 0; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.net-tag { color: var(--brand); background: #f4f2fd; border-color: #e7e2fa; }
.pay-coins { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.pay-coins span { font-size: 12px; color: var(--muted); margin-right: 4px; }
.pay-coins img { width: 20px; height: 20px; transition: transform .15s; }
.pay-coins img:hover { transform: translateY(-2px) scale(1.1); }
.sum-rows .price .coin { width: 16px; height: 16px; vertical-align: -3px; }

.foot-coins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.foot-coins > * {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 64px; border-radius: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .3px; color: #c9cbe6; text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: .18s;
}
.foot-coins > *:hover { background: rgba(255,255,255,.1); border-color: rgba(152,139,221,.45); color: #fff; transform: translateY(-2px); }
.foot-coins img { width: 26px; height: 26px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.foot-coins .more { margin: 0; border-style: dashed; color: #b6ade7; }
.foot-coins .more b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; color: #fff; background: linear-gradient(135deg, #988bdd, #5b8cff); }

/* 右侧悬浮：首发订阅 */
.side-sub {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 5px 5px 9px;
  border-radius: 999px; color: #fff; text-decoration: none; isolation: isolate;
  background: linear-gradient(165deg, #3cc3ff 0%, #2aabee 40%, #1a6fd8 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 24px rgba(26,111,216,.38), 0 0 0 4px rgba(42,171,238,.12), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2), box-shadow .3s;
  animation: side-float 3.2s ease-in-out infinite;
  will-change: translate; backface-visibility: hidden;
}
.side-sub::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background: linear-gradient(180deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%) no-repeat 0 -120px / 100% 80px;
  animation: side-shine 3.6s ease-in-out infinite;
}
@keyframes side-float { 50% { translate: 0 -5px; } }
@keyframes side-shine { 0%, 55% { background-position: 0 -120px; } 100% { background-position: 0 260px; } }
.side-sub:hover { animation-play-state: paused; transform: translateY(-50%) translateX(-3px) scale(1.04); box-shadow: 0 18px 42px rgba(26,111,216,.55), 0 0 0 7px rgba(42,171,238,.18), inset 0 1px 0 rgba(255,255,255,.45); }
.side-sub-ico { position: relative; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #1a8ae0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); transition: transform .35s; }
.side-sub:hover .side-sub-ico { transform: rotate(-12deg); }
.side-sub-ico .i { width: 17px; height: 17px; }
.live-dot { position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: #22e07a; border: 2px solid #fff; }
.live-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: #22e07a; animation: live-ping 1.6s ease-out infinite; }
@keyframes live-ping { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.side-sub b { writing-mode: vertical-rl; letter-spacing: 3px; font-size: 12px; font-weight: 800; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.side-sub em { font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: .3px; padding: 1px 4px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff7a2f, #ff4d6d); box-shadow: 0 3px 8px rgba(255,77,109,.4); }
.side-sub-tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%); width: 200px;
  display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px;
  font-size: 12.5px; line-height: 1.5; color: #ddddf1; background: rgba(20,24,51,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 34px rgba(20,24,51,.3);
  opacity: 0; pointer-events: none; transition: .25s;
}
.side-sub-tip::before { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: rgba(20,24,51,.92); }
.side-sub-tip strong { color: #fff; font-size: 13.5px; font-family: ui-monospace, Menlo, monospace; }
.side-sub:hover .side-sub-tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 1480px) { .side-sub { right: 10px; } }
@media (max-width: 640px) {
  .side-sub { top: auto; bottom: 16px; right: 12px; transform: none; flex-direction: row; gap: 6px; padding: 5px 12px 5px 5px; }
  .side-sub:hover { transform: none; }
  .side-sub-ico { width: 30px; height: 30px; }
  .side-sub-ico .i { width: 18px; height: 18px; }
  .side-sub b { writing-mode: horizontal-tb; letter-spacing: 1px; font-size: 13px; }
  .side-sub-tip { display: none; }
}

/* SEO 购买指南 */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  --tone: #0f9d6b; --tint: #e9f8f1;
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: 18px;
  background: linear-gradient(180deg, var(--tint) 0, #fff 120px); border: 1px solid #eceef6; box-shadow: 0 1px 2px rgba(20,24,51,.04), 0 10px 28px rgba(20,24,51,.05);
  transition: transform .2s, box-shadow .2s;
}
.guide-card.ap { --tone: #1d1d1f; --tint: #f1f2f5; }
.guide-card.all { --tone: var(--brand); --tint: #f3f0fd; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,24,51,.09); }
.guide-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--text); }
.guide-card h3 img, .guide-card h3 .i {
  flex: none; width: 44px; height: 44px; padding: 11px; box-sizing: border-box; border-radius: 13px;
  background: #fff; color: var(--tone); box-shadow: 0 4px 12px rgba(20,24,51,.08), inset 0 0 0 1px rgba(20,24,51,.04);
}
.guide-card p { margin: 0; font-size: 13px; line-height: 1.85; color: #5b6180; }
.guide-card strong { color: var(--tone); font-weight: 700; }
.guide-card.ap strong { color: #111; }

.faq { columns: 2; column-gap: 12px; margin-top: 30px; }
.faq h3 { column-span: all; }
.faq details { break-inside: avoid; margin-bottom: 12px; }
.faq h3, .hot-tags h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.faq h3::before, .hot-tags h3::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--grad); }
.faq details { background: #fff; border: 1px solid #eceef6; border-radius: 14px; padding: 14px 16px; transition: border-color .18s, box-shadow .18s; }
.faq details:hover { border-color: #ded8f9; }
.faq details[open] { border-color: #ded8f9; box-shadow: 0 8px 22px rgba(99,80,204,.07); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 24px 1fr 22px; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 15px; font-weight: 700; color: var(--brand); background: #f3f0fd; transition: .18s; }
.faq details[open] summary::after { content: "−"; color: #fff; background: var(--brand); }
.faq details p { margin: 10px 0 0 34px; padding-top: 10px; border-top: 1px dashed #eceef6; font-size: 13px; line-height: 1.8; color: var(--muted); }

.hot-tags { margin-top: 30px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #eceef6; }
.hot-tags div { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-tags a { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: #f6f7fb; border: 1px solid transparent; color: #4a5070; text-decoration: none; transition: .15s; }
.hot-tags a::before { content: "#"; color: #c1baeb; font-weight: 700; }
.hot-tags a:hover { color: var(--brand); border-color: #ded8f9; background: #f5f3fd; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } .faq { columns: 1; } }

/* 我的账号：登录 / 注册 / 绑定 */
.nav .nav-account.in { color: var(--brand); background: #f4f2fd; }
.nav .nav-account.in .i { color: var(--brand); }
.nav .nav-account span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .nav nav a.nav-account { display: inline-flex; padding: 8px 10px; }
  .nav nav a.nav-account span { display: none; }
}
.acct-page { padding-top: 32px; padding-bottom: 48px; min-height: 60vh; }
.acct-page > .empty { max-width: 1120px; margin: 0 auto; }
.acct-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; max-width: 1100px; margin: 0 auto; }
.acct-wrap > .auth-card { margin-top: 56px; justify-self: center; }
.acct-intro { padding: 10px 6px; }
.acct-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #e8590c; background: #fff1e8; border: 1px solid #ffd8bf; }
.acct-intro h1 { margin: 16px 0 22px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; line-height: 1.25; letter-spacing: .5px; }
.acct-intro h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acct-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.acct-perks li { display: flex; gap: 14px; align-items: flex-start; }
.acct-perks .p-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(99,80,204,.28), inset 0 1px 0 rgba(255,255,255,.3); }
.acct-perks li:nth-child(2) .p-ico { background: linear-gradient(135deg, #3cc3ff, #1a7fd8); box-shadow: 0 6px 16px rgba(26,127,216,.28); }
.acct-perks li:nth-child(3) .p-ico { background: linear-gradient(135deg, #10b265, #4fdc9a); box-shadow: 0 6px 16px rgba(18,183,106,.28); }
.acct-perks .p-ico .i { width: 19px; height: 19px; }
.acct-perks b { display: block; font-size: 15px; }
.acct-perks span { font-size: 13px; color: var(--muted); }
.acct-trust { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 7px 12px; border-radius: 10px; font-size: 12px; color: #3d6b52; background: #ecfaf3; border: 1px solid #cdeedd; }
.acct-trust .i { color: var(--ok); }
.acct-card { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }

/* 登录 / 注册卡片 */
.auth-card { position: relative; overflow: hidden; padding: 28px 28px 24px; background: rgba(255,255,255,.96); }
.auth-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(126,105,211,.14), transparent 70%); pointer-events: none; }
.auth-head { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.auth-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.auth-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.auth-logo { width: 44px; height: 44px; flex: none; border-radius: 13px; box-shadow: 0 6px 16px rgba(99,80,204,.25); }
.auth-logo.key { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff8a2f, #ff3d6e); box-shadow: 0 6px 16px rgba(255,90,60,.28); }
.auth-logo.key .i { width: 22px; height: 22px; }
.auth-back { position: relative; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .15s, transform .15s; }
.auth-back:hover { color: var(--brand); transform: translateX(-2px); }

.acct-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: var(--panel-2); }
.acct-tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(20,24,51,.08); transition: transform .25s cubic-bezier(.3,.9,.3,1); }
.acct-tabs[data-on="1"]::before { transform: translateX(100%); }
.acct-tabs button { position: relative; border: 0; background: none; padding: 9px; border-radius: 9px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .15s; }
.acct-tabs button.on { color: var(--brand); }
.login-methods { display: flex; gap: 8px; margin-bottom: 16px; }
.login-methods button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .15s; }
.login-methods button:hover { color: var(--text); border-color: #ddd8f9; }
.login-methods button.on { color: var(--brand); border-color: rgba(99,80,204,.45); background: #f7f6fd; box-shadow: 0 0 0 3px rgba(99,80,204,.08); }

.acct-form { position: relative; display: flex; flex-direction: column; gap: 14px; }
.af { display: flex; flex-direction: column; gap: 6px; }
.af-label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #3d4260; }
.af-box { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.af-box > .i { position: absolute; left: 13px; width: 17px; height: 17px; color: #a3a8c3; pointer-events: none; transition: color .15s; }
.af-box:focus-within > .i { color: var(--brand); }
.acct-form input { background: #fcfbfe; border: 1px solid var(--line); color: var(--text); border-radius: 11px; padding: 12px 14px 12px 40px; font: inherit; font-size: 14.5px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.acct-form input:hover { border-color: #d6d9e8; }
.acct-form input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99,80,204,.12); }
.acct-form input[type=password], .acct-form input[name^=password] { padding-right: 44px; }
.acct-form input[type=password] { letter-spacing: 2px; }
.acct-form input[type=password]::placeholder { letter-spacing: 0; }
.af-eye { position: absolute; right: 6px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: #a3a8c3; cursor: pointer; transition: .15s; }
.af-eye:hover { color: var(--brand); background: #f5f3fd; }
.af-eye .i { width: 17px; height: 17px; }
.af-gen { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 0; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 3px 10px rgba(99,80,204,.28); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.af-gen:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(99,80,204,.38); }
.af-gen .i { width: 13px; height: 13px; }
.af-box.flash input { animation: pw-flash .9s ease; }
@keyframes pw-flash { 0% { background: #f0edfc; border-color: var(--brand); } 100% { background: #fff; } }
.af-hint { margin: 0; font-size: 12.5px; color: #b45309; }
.af-hint a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.af-note { display: flex; align-items: center; gap: 6px; margin: -4px 0 0; padding: 8px 11px; border-radius: 10px; font-size: 12.5px; color: #5f53a3; background: #f7f6fd; border: 1px solid #e7e3fb; }
.af-note .i { flex: none; color: var(--brand); }

.email-sug { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 5px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(20,24,51,.14); animation: fade .15s ease; }
.email-sug li { display: flex; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.email-sug li span { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email-sug li b { font-weight: 600; color: var(--brand); }
.email-sug li.on, .email-sug li:hover { background: #f5f3fd; }

.pw-meter { display: flex; align-items: center; gap: 4px; }
.pw-meter i { flex: 1; height: 4px; border-radius: 4px; background: #eceef5; transition: background .25s; }
.pw-meter span { min-width: 30px; margin-left: 4px; font-size: 11.5px; font-weight: 700; text-align: right; color: var(--muted); }
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: #f04444; }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: #3b82f6; }
.pw-meter[data-level="4"] i:nth-child(-n+4) { background: #12b76a; }
.pw-meter[data-level="1"] span { color: #f04444; }
.pw-meter[data-level="2"] span { color: #d97706; }
.pw-meter[data-level="3"] span { color: #2563eb; }
.pw-meter[data-level="4"] span { color: #0e9f5b; }

.acct-submit { width: 100%; margin-top: 2px; border-radius: 12px; gap: 8px; box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(99,80,204,.1); transition: transform .15s, box-shadow .15s; }
.acct-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 12px 22px rgba(99,80,204,.14); }
.acct-submit:disabled { filter: grayscale(.4); opacity: .6; cursor: not-allowed; box-shadow: none; }
.acct-err { display: flex; align-items: flex-start; gap: 7px; margin: 0; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; color: #c2410c; background: #fff4ec; border: 1px solid #ffd8bf; animation: fade .2s ease; }
.acct-err .i { flex: none; margin-top: 2px; }
.acct-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.acct-links a { color: var(--brand); font-weight: 600; }

.forgot-steps { position: relative; display: flex; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; }
.forgot-steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel-2); }
.forgot-steps li i { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 11px; color: #fff; background: #c3c7da; }
.forgot-steps li.on { color: #c2410c; background: #fff4ec; }
.forgot-steps li.on i { background: linear-gradient(135deg, #ff8a2f, #ff3d6e); }

.acct-welcome { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.acct-welcome .w-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #10b265, #4fdc9a); box-shadow: 0 0 0 8px #e7f8ef, 0 12px 26px rgba(18,183,106,.35); animation: pop .45s cubic-bezier(.2,.9,.3,1.4); }
.acct-welcome .w-ico .i { width: 30px; height: 30px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.acct-welcome h2 { margin: 6px 0 0; font-size: 21px; font-weight: 800; }
.acct-welcome > p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.acct-welcome > p b { color: var(--text); }
.pw-reveal { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #f7f6fd, #eef8ff); border: 1px dashed #cbc4ee; }
.pw-reveal .pw-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--grad); }
.pw-reveal code { flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; font: 800 19px/1.3 ui-monospace, Menlo, monospace; letter-spacing: 1.5px; color: #504195; overflow-wrap: anywhere; }
.pw-reveal .btn { flex: none; gap: 5px; }
.w-tips { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.w-tips li { display: flex; gap: 7px; align-items: flex-start; padding: 8px 11px; border-radius: 10px; font-size: 12.5px; line-height: 1.55; color: #7a4a00; background: #fff8e6; border: 1px solid #fde7b0; }
.w-tips li:last-child { color: #3d4260; background: var(--panel-2); border-color: var(--line); }
.w-tips .i { flex: none; margin-top: 2px; }
.w-check { align-self: flex-start; display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.w-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.acct-title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16.5px; font-weight: 800; letter-spacing: -.2px; line-height: 1.3; }
.acct-title .i { width: 18px; height: 18px; color: var(--brand); flex: none; }
.acct-title em { font-style: normal; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: #f1effc; color: var(--brand); font-weight: 700; }
.acct-sub { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.acct-ok { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: #ecfaf3; border: 1px solid #bfead3; }
.acct-ok > .i { width: 26px; height: 26px; color: var(--ok); flex: none; }
.acct-ok b { display: block; }
.acct-ok span { font-size: 13px; color: #3d6b52; }
.acct-dash { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.acct-me { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.acct-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); gap: 14px; align-items: stretch; }
.acct-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; height: 100%; }
.acct-cols > .acct-card,
.acct-side > .acct-card { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.acct-cols .bind-opts { grid-template-columns: 1fr; }
.pw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.pw-grid .pw-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.pw-grid .acct-submit { width: auto; min-width: 160px; }
.acct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.acct-stats > div {
  padding: 14px 12px; border-radius: 14px; background: rgba(255,255,255,.94);
  border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 78px;
}
.acct-stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--text); line-height: 1.1; }
.acct-stats span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); font-weight: 600; }
.acct-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.acct-quick .q-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  min-height: 78px; padding: 12px 10px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.94); box-shadow: var(--shadow); color: var(--text);
  font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; transition: .18s;
}
.acct-quick .q-item .i { width: 20px; height: 20px; color: var(--brand); }
.acct-quick .q-item:hover { transform: translateY(-1px); border-color: #ddd8f9; box-shadow: 0 8px 18px rgba(20,24,51,.08); color: var(--brand); }
.order-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.order-tabs[hidden] { display: none; }
.order-tabs button { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.order-tabs button.on { color: #4c418f; border-color: rgba(108,92,196,.22); background: linear-gradient(180deg, #fbfaff, #efeafc); }
.acct-orders { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.acct-order { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #f7f8fc; color: inherit; text-decoration: none; transition: .18s; }
.acct-order:hover { background: #fff; border-color: #ddd8f9; box-shadow: 0 8px 20px rgba(20,24,51,.07); }
.acct-order .o-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.acct-order .o-main b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-order .o-main small { font-size: 12px; color: var(--muted); }
.acct-order .o-side { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.acct-order .o-side span { font-size: 13px; font-weight: 700; }
.acct-order .o-actions { display: flex; gap: 6px; margin-top: 2px; }
.acct-order .o-actions .btn { padding: 4px 8px; font-size: 12px; }
.acct-order .o-st { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-style: normal; font-weight: 700; background: #eef0f6; color: #5b6080; }
.acct-order.wait .o-st { background: #fff4e5; color: #a35b00; }
.acct-order.ok .o-st { background: #e8f8ef; color: #1f7a45; }

.order-empty { display: flex; flex-direction: column; gap: 12px; }
.oe-head { display: flex; flex-direction: column; gap: 4px; padding: 2px 2px 0; }
.oe-head b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.oe-head span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.order-picks { display: flex; flex-direction: column; gap: 8px; }
.order-pick {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #fcfbff, #f6f5fb);
  transition: .18s;
}
.order-pick:hover { border-color: #ddd8f9; background: #fff; box-shadow: 0 8px 20px rgba(20,24,51,.07); transform: translateY(-1px); }
.op-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.op-cover {
  width: 52px; height: 52px; flex: none; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: #eef0f6;
}
.op-cover.google_play { background: linear-gradient(135deg, #e3f8ef, #e8efff); }
.op-cover.apple { background: linear-gradient(135deg, #f0f1f5, #eeebfc); }
.op-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.op-cover .op-ico { width: 26px !important; height: 26px !important; object-fit: contain !important; }
.op-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.op-txt b { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-txt small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-cta {
  flex: none; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none;
  color: #fff; background: var(--accent-grad, linear-gradient(135deg, #ff7a3d, #ff4d1a));
  box-shadow: 0 4px 12px rgba(255,90,31,.22);
}
.op-cta:hover { filter: brightness(1.06); }
.op-loading, .op-none { padding: 16px; text-align: center; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.op-loading { display: flex; align-items: center; justify-content: center; gap: 8px; }
.op-none a { color: var(--brand); font-weight: 700; }
.oe-more {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--brand); text-decoration: none; background: rgba(99,80,204,.06); border: 1px solid rgba(99,80,204,.14);
}
.oe-more:hover { background: rgba(99,80,204,.1); }
.acct-empty a { color: var(--brand); font-weight: 700; }
@media (max-width: 960px) {
  .acct-cols { grid-template-columns: 1fr; }
  .pw-grid { grid-template-columns: 1fr; }
  .pw-grid .pw-actions { max-width: none; }
}
.me-ava { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; font-size: 20px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(99,80,204,.28); }
.me-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me-txt b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-txt small { font-size: 12px; color: var(--muted); }
.me-vip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #8a5a00; background: linear-gradient(135deg, #ffe7a8, #f5c95c); box-shadow: 0 4px 12px rgba(245,201,92,.3); white-space: nowrap; }
.me-admin { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 4px 12px rgba(99,80,204,.28); white-space: nowrap; }
.acct-admin { background: linear-gradient(135deg, #f7f5ff, #fff); border-color: #ddd8f9; }
.nav-admin { border: 1px solid #ddd8f9; background: #f7f5ff; color: var(--brand) !important; }
.nav-admin .i { color: var(--brand) !important; }
.nav-admin:hover { background: #efeaff !important; }
.bind-cmd { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f7f6fd; border: 1px dashed #d8d3f2; font-size: 13px; }
.bind-cmd p { margin: 0 0 8px; line-height: 1.65; }
.bind-cmd p:last-child { margin: 0; }
.bind-cmd a { color: var(--brand); font-weight: 600; }
.cmd-row { display: flex; gap: 8px; align-items: center; }
.cmd-row code { flex: 1; min-width: 0; padding: 8px 10px; background: #fff; overflow-wrap: anywhere; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 32px; }
.acct-head .acct-title { margin: 0; }
.acct-head .btn.sm { flex: none; height: 30px; padding: 0 10px; font-size: 12.5px; }
.acct-chats { display: flex; flex-direction: column; gap: 8px; }
.acct-chat { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: #f7f8fc; border: 1px solid var(--line); }
.acct-chat .c-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #3cc3ff, #1a7fd8); }
.acct-chat .c-ico .i { width: 16px; height: 16px; }
.acct-chat .c-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-chat .c-txt b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-chat .c-txt small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-chat .btn.sm { flex: none; height: 28px; padding: 0 9px; font-size: 12px; }
.acct-empty { padding: 18px 16px; text-align: center; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; line-height: 1.55; }
.acct-tip { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.bind-opts { display: grid; grid-template-columns: 1fr; gap: 8px; }
.bind-opt { display: flex; align-items: center; gap: 10px; text-align: left; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: #f7f8fc; font: inherit; color: var(--text); cursor: pointer; transition: .18s; }
.bind-opt:hover { background: #fff; border-color: #ddd8f9; box-shadow: 0 6px 16px rgba(20,24,51,.06); }
.bind-opt .o-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(20,24,51,.05); }
.bind-opt .o-ico .i { width: 17px; height: 17px; }
.bind-opt .o-txt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.bind-opt .o-txt b { font-size: 13.5px; }
.bind-opt .o-txt small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.bind-opt.main { background: linear-gradient(180deg, #fbfaff, #f3f0fc); border-color: rgba(108,92,196,.2); color: #4c418f; box-shadow: inset 0 1px 0 #fff; }
.bind-opt.main .o-ico { background: rgba(99,80,204,.1); color: #5b4db5; }
.bind-opt.main small { color: #6d6794; }
.admin-entry { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-entry .acct-title { margin-bottom: 2px; }
.admin-entry .acct-sub { margin: 0; }
.sub-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sub-tags .tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: #f1effc; color: var(--brand); font-size: 12.5px; font-weight: 700; border: 1px solid #e4dff8; }
.me-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.me-actions .btn.sm { height: 32px; }
@media (max-width: 820px) {
  .acct-wrap { grid-template-columns: 1fr; }
  .acct-wrap > .auth-card { margin-top: 12px; }
  .acct-intro h1 { margin: 12px 0 16px; }
  .bind-opts { grid-template-columns: 1fr; }
  .acct-me { flex-wrap: wrap; }
  .acct-me .me-actions { margin-left: 0; width: 100%; }
  .acct-stats { grid-template-columns: repeat(2, 1fr); }
  .acct-quick { grid-template-columns: repeat(2, 1fr); }
  .acct-head { flex-wrap: wrap; gap: 8px; }
  .acct-order { flex-direction: column; align-items: stretch; }
  .acct-order .o-side { align-items: flex-start; text-align: left; }
  .acct-card { padding: 16px; }
  .admin-entry { flex-direction: column; align-items: stretch; }
}
.sub-upsell { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: .2s; }
.sub-upsell:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); border-color: #ddd8f9; }
.sub-upsell .u-free { color: var(--muted); }
.sub-upsell .u-arrow { color: var(--muted); }
.sub-upsell .u-pro { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; color: #fff; background: var(--accent-grad); box-shadow: 0 4px 12px rgba(255,90,31,.28); }
.sub-tips a { color: var(--brand); font-weight: 600; }

/* 邮箱验证码 */
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; letter-spacing: 3px; font-variant-numeric: tabular-nums; }
.code-btn { flex: none; min-width: 112px; padding: 0 14px; border-radius: 11px; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; color: var(--brand); background: rgba(99,80,204,.08); border: 1px solid rgba(99,80,204,.22); }
.code-btn:hover:not(:disabled) { background: rgba(99,80,204,.14); }
.code-btn:disabled { color: var(--muted); background: var(--panel); border-color: var(--line); cursor: default; }
.acct-err.ok { color: #1f7a4d; background: #ecfaf3; border-color: #bfead3; }
.code-row input::placeholder { letter-spacing: 0; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pg-btn { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: #3d4260; font-family: inherit; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: .15s; }
.pg-btn:hover:not(:disabled):not(.on) { border-color: var(--brand); color: var(--brand); }
.pg-btn.on { color: #4c418f; border-color: rgba(108,92,196,.22); background: linear-gradient(180deg, #fbfaff, #efeafc); box-shadow: inset 0 1px 0 #fff; cursor: default; }
.pg-btn:disabled { opacity: .45; cursor: default; }
.pg-gap { padding: 0 4px; color: var(--muted); }
.pg-info { margin-left: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .pg-nav { padding: 0 10px; } .pg-info { width: 100%; margin: 4px 0 0; text-align: center; } }

/* 登录入口精简 */
.auth-or { display: flex; align-items: center; gap: 12px; margin: 2px 0 -2px; font-size: 12px; color: #a3a8c3; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #3d4260; cursor: pointer; transition: .15s; }
.auth-alt .i { width: 16px; height: 16px; color: var(--brand); }
.auth-alt:hover { border-color: rgba(99,80,204,.4); color: var(--brand); background: #fbfafe; }
.auth-fine { margin: -4px 0 0; text-align: center; font-size: 12px; color: #a3a8c3; line-height: 1.6; }
.auth-card .auth-head { margin-bottom: 22px; }
.af-link { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.af-link:hover { text-decoration: underline; }

/* 登录卡片紧凑版 */
.auth-card { width: 100%; max-width: 400px; justify-self: center; padding: 22px 22px 20px; border-radius: 18px; }
.auth-card .auth-head { gap: 10px; margin-bottom: 16px; }
.auth-card .auth-head h2 { font-size: 18px; }
.auth-card .auth-head p { font-size: 12px; }
.auth-card .auth-logo { width: 38px; height: 38px; border-radius: 11px; }
.auth-card .auth-logo.key .i { width: 19px; height: 19px; }
.auth-card .acct-form { gap: 12px; }
.auth-card .af { gap: 5px; }
.auth-card .af-label { font-size: 12.5px; }
.auth-card .af-link { font-size: 12px; }
.auth-card .acct-form input { padding: 10px 12px 10px 36px; font-size: 14px; border-radius: 10px; }
.auth-card .acct-form input[type=password], .auth-card .acct-form input[name^=password] { padding-right: 40px; }
.auth-card .af-box > .i { left: 12px; width: 16px; height: 16px; }
.auth-card .af-eye { width: 30px; height: 30px; right: 5px; }
.auth-card .code-btn { min-width: 100px; font-size: 12.5px; border-radius: 10px; }
.auth-card .acct-submit { height: 42px; font-size: 14.5px; border-radius: 10px; box-shadow: 0 8px 18px rgba(99,80,204,.26); }
.auth-card .auth-alt { height: 40px; font-size: 13.5px; border-radius: 10px; }
.auth-card .auth-or { margin: 0; font-size: 11.5px; }
.auth-card .acct-tabs { margin-bottom: 12px; }
.auth-card .acct-tabs button { padding: 7px; font-size: 14px; }
.auth-card .login-methods { margin-bottom: 12px; }
.auth-card .acct-err { padding: 8px 10px; font-size: 12.5px; }
