/* ==========================================================================
   SMMCollection Design System v5 — 全局升级
   ──────────────────────────────────────────────────────────────
   核心升级:
   ·  深空底色 #07090F(更黑更高级)
   ·  电光青绿 #00E5C7 取代 azure 作为新的强调色
   ·  极光渐变(青绿→蓝紫→粉紫) 取代 azure→violet
   ·  暖琥珀 #FFB547 仅作少量点缀(评级/警告)
   ·  玻璃面 + 1px 渐变描边 + 内高光
   ·  圆角放大: 8/12/16/20/28 全套
   ·  字体: Inter Display + Inter + JetBrains Mono
   ·  spring 动效曲线(iOS 风格)
   ·  WCAG AA 通过(对比度 ≥ 4.5:1)
   ========================================================================== */
:root {
  /* ===== surfaces: 深空(从黑到亮 5 级) ===== */
  --s0: #07090f;            /* page bg */
  --s1: #0d1119;            /* card */
  --s2: #141925;            /* elevated */
  --s3: #1c2233;            /* highest */
  --s4: #252c42;            /* highest hover */
  --line: rgba(255, 255, 255, .06);
  --line-strong: rgba(255, 255, 255, .11);
  --hi: rgba(255, 255, 255, .04);     /* inner top highlight */

  /* ===== brand: 电光青绿 + 极光紫 ===== */
  --primary: #00e5c7;                 /* 电光青绿(主操作) */
  --primary-deep: #00b89a;
  --primary-glow: rgba(0, 229, 199, .35);
  --azure: #4ca9ff;                   /* 次强调: 信息蓝 */
  --azure-deep: #2a7fd4;
  --violet: #b794ff;                  /* 极光紫(品牌点缀) */
  --violet-deep: #8b5cf6;
  --magenta: #f472d6;                 /* 极光粉(hero gradient) */

  /* 极光主渐变: 青绿→蓝紫→粉(全站 signature) */
  --grad: linear-gradient(135deg, #00e5c7 0%, #4ca9ff 50%, #b794ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,229,199,.12) 0%, rgba(139,92,246,.12) 100%);
  --grad-warm: linear-gradient(135deg, #ffb547 0%, #f472d6 100%);  /* 营销位用 */

  /* ===== semantic ===== */
  --success: #4ade80;
  --success-deep: #16a34a;
  --warn: #ffb547;
  --warn-deep: #d97706;
  --danger: #ff6b7a;
  --danger-deep: #ef4444;
  --info: #4ca9ff;

  /* ===== text: 4 级灰阶 ===== */
  --white: #f4f6fb;
  --text: #b8c0d1;
  --text-dim: #6b7488;
  --bright: #e1e6f1;

  /* ===== legacy aliases (兼容老规则) ===== */
  --bg: var(--s0);
  --surface: var(--s1);
  --surface-2: var(--s2);
  --border: var(--line);
  --primary-dark: var(--primary-deep);
  --purple: var(--violet);

  /* ===== geometry: 圆角 5 级 ===== */
  --r-xs: 6px;
  --r-sm: 10px;
  --radius: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* ===== motion: spring 曲线 ===== */
  --ease: cubic-bezier(.22, 1, .36, 1);            /* out-expo, 主用 */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);  /* iOS-style spring, 弹性入场 */
  --ease-in: cubic-bezier(.4, 0, .2, 1);
  --dur: 200ms;
  --dur-fast: 150ms;
  --dur-slow: 400ms;

  /* ===== shadows: 分层 ===== */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-1: 0 2px 8px -2px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .2);
  --shadow-2: 0 8px 24px -8px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-3: 0 20px 48px -12px rgba(0, 0, 0, .65), 0 4px 12px rgba(0, 0, 0, .4);
  --shadow-glow: 0 0 0 1px rgba(0, 229, 199, .25), 0 8px 24px -8px rgba(0, 229, 199, .35);
  --shadow-glow-violet: 0 0 0 1px rgba(139, 92, 246, .3), 0 8px 24px -8px rgba(139, 92, 246, .4);

  /* ===== typography ===== */
  --font-display: 'Inter Display', -apple-system, 'Inter', 'SF Pro Display',
                  'Segoe UI', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto,
               'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    /* aurora top — 极光从顶部倾泻 */
    radial-gradient(1400px 720px at 75% -8%, rgba(0, 229, 199, .14), transparent 58%),
    /* 左下极光紫 */
    radial-gradient(1200px 640px at -10% 18%, rgba(139, 92, 246, .13), transparent 60%),
    /* 右下电光蓝 */
    radial-gradient(900px 520px at 105% 88%, rgba(76, 169, 255, .10), transparent 60%),
    /* 底部琥珀微光(暖色锚点) */
    radial-gradient(700px 360px at 50% 110%, rgba(255, 181, 71, .04), transparent 60%),
    var(--s0);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(0, 229, 199, .32); color: #07090f; }
* { scrollbar-width: thin; scrollbar-color: #1f2536 var(--s0); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--s0); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #2a3247, #1c2233); border-radius: 8px; border: 2px solid var(--s0); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #3a4566, #2a3247); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

a { color: var(--primary); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: #5cecd6; }

h1, h2, h3, h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem); margin-bottom: .7rem; }
h2 { font-size: 1.5rem; letter-spacing: -.018em; }
h3 { font-size: 1.12rem; letter-spacing: -.012em; }
h4 { font-size: 1rem; letter-spacing: -.008em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.4rem; }
.container.narrow { max-width: 860px; }
.container.tiny { max-width: 460px; }
.center { text-align: center; }
.muted { color: var(--text-dim); }
.small { font-size: .8rem; }
.accent { color: var(--primary); }
.bright { color: var(--bright); }
.ok-text { color: var(--success); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
img { max-width: 100%; }

/* 三层背景: 网格 + 噪点 + 浮动光斑(已固定的 body 渐变是基础) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1400px 900px at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(1400px 900px at 50% 0%, #000 30%, transparent 85%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(0, 229, 199, .4), transparent),
    radial-gradient(1.5px 1.5px at 80% 15%, rgba(139, 92, 246, .35), transparent),
    radial-gradient(1.5px 1.5px at 50% 70%, rgba(76, 169, 255, .3), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(244, 114, 214, .25), transparent),
    radial-gradient(1px 1px at 10% 85%, rgba(0, 229, 199, .3), transparent);
  background-size: 100% 100%;
  animation: stars-twinkle 12s ease-in-out infinite alternate;
  opacity: .65;
}
@keyframes stars-twinkle {
  from { opacity: .35; transform: translateY(0); }
  to   { opacity: .75; transform: translateY(-2vh); }
}
body > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ header */
.site-header { background: transparent; position: sticky; top: 12px; z-index: 50; padding: 0 1rem; }
.header-inner {
  display: flex; align-items: center; gap: 1.2rem; height: 64px;
  max-width: 1200px; margin: 12px auto 0; padding: 0 .8rem 0 1.2rem;
  background: rgba(13, 17, 25, .65);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--line-strong); border-radius: 20px;
  /* 渐变描边(用 mask 实现) */
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .3),
    0 16px 48px -16px rgba(0, 0, 0, .55);
}
.header-inner::before {
  content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 199, .4), rgba(139, 92, 246, .25) 50%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.logo { display: flex; align-items: center; position: relative; z-index: 1; }
.logo-img { display: block; height: 36px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 229, 199, .25)); }
.logo .bracket { color: var(--primary); }
.main-nav { display: flex; gap: .25rem; flex: 1; position: relative; z-index: 1; }
.main-nav a {
  color: var(--text); font-weight: 500; font-size: .92rem;
  padding: .45rem .85rem; border-radius: 10px; transition: all .18s var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
  background: var(--grad); border-radius: 2px; transition: all .25s var(--ease);
  transform: translateX(-50%);
}
.main-nav a:hover::after { width: 24px; }
.main-nav .nav-cta { color: var(--warn); font-weight: 700; }
.main-nav .nav-cta:hover { background: rgba(255, 181, 71, .1); color: var(--warn); }
.auth-nav { display: flex; gap: .5rem; align-items: center; position: relative; z-index: 1; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.25rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: .875rem;
  letter-spacing: -.005em;
  cursor: pointer; text-align: center; background: none; font-family: inherit;
  transition: all .2s var(--ease); user-select: none; line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary {
  background: var(--grad); color: #07090f; border: 0;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -1px 0 rgba(0, 0, 0, .15),
    0 4px 16px -4px rgba(0, 229, 199, .55),
    0 0 0 1px rgba(0, 229, 199, .15);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.4) 0%, transparent 50%);
  opacity: .35; pointer-events: none;
}
.btn-primary:hover {
  color: #07090f; transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(0, 0, 0, .2),
    0 12px 32px -8px rgba(0, 229, 199, .7),
    0 0 0 1px rgba(0, 229, 199, .4);
}
.btn-outline {
  border-color: rgba(0, 229, 199, .5); color: var(--primary);
  background: rgba(0, 229, 199, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.btn-outline:hover {
  background: rgba(0, 229, 199, .14); color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 24px -8px rgba(0, 229, 199, .4);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text); border-color: var(--line-strong);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover {
  color: var(--white); border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .05); transform: translateY(-1px);
}
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #fff; color: #1f1f1f; font-weight: 600; }
.btn-google:hover { background: #ebedf2; color: #000; transform: translateY(-1px); }
.or-divider { display: flex; align-items: center; gap: .8rem; color: var(--text-dim);
  font-size: .78rem; margin: .2rem 0; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ------------------------------------------------------------------ hero */
.hero { padding: 5rem 0 3.5rem; border-bottom: 1px solid var(--line); position: relative; }
.hero h1 { max-width: 820px; }
.hero-sub { max-width: 680px; margin: 1rem 0 1.6rem; font-size: 1.1rem; color: var(--text); line-height: 1.6; }
.hero-home { padding: 6rem 0 4.5rem; border-bottom: 0; position: relative; }
.hero-home::before {
  content: ""; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 800px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 229, 199, .15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(139, 92, 246, .12), transparent 50%);
  filter: blur(40px);
}
.hero-home h1, .hero-home .hero-sub { margin-left: auto; margin-right: auto; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 1.8rem + 4.8vw, 5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.04;
  background: linear-gradient(180deg, #ffffff 0%, #b8c5db 60%, #6b7488 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-brand .bracket {
  background: linear-gradient(120deg, #00e5c7, #4ca9ff, #b794ff, #f472d6, #00e5c7);
  background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: brand-shift 8s ease-in-out infinite;
  display: inline-block;
}
@keyframes brand-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.center-sub { margin: .8rem auto 2rem; }
.hero-search { max-width: 660px; margin: 0 auto; text-align: left; }
.hero-search label { letter-spacing: 1.6px; }
.hero-search-row {
  display: flex; gap: .5rem; margin-top: .4rem; padding: .4rem .4rem .4rem 1.3rem;
  background: rgba(13, 17, 25, .8);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .3),
    0 16px 48px -8px rgba(0, 0, 0, .55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: all .25s var(--ease);
  position: relative;
}
.hero-search-row::before {
  content: ""; position: absolute; inset: -1px; border-radius: 999px; padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 199, .4), transparent 50%, rgba(139, 92, 246, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s var(--ease);
  pointer-events: none;
}
.hero-search-row:focus-within::before { opacity: 1; }
.hero-search-row:focus-within {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 0 0 5px rgba(0, 229, 199, .12),
    0 16px 48px -8px rgba(0, 0, 0, .55);
}
.hero-search-row input { flex: 1; background: none; border: 0; color: var(--white);
  padding: .82rem 0; font-size: 1.05rem; font-family: inherit; letter-spacing: -.01em; }
.hero-search-row input:focus { outline: none; }
.hero-tags { margin-top: 1.2rem; }
.hero-tags .chip { background: rgba(255, 255, 255, .04); }
.hero-stats { display: flex; gap: 3rem; margin: 1.6rem 0 2rem; flex-wrap: wrap; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.025em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-elite {
  background:
    radial-gradient(700px 340px at 22% -10%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(560px 300px at 85% 0%, rgba(0, 229, 199, .12), transparent 60%);
}
.plat-hero {
  background:
    radial-gradient(700px 320px at 75% -10%, rgba(0, 229, 199, .13), transparent 60%);
}
.welcome-inline { font-size: 1rem; margin-top: .4rem; }

.welcome-strip { border-bottom: 1px solid var(--line); padding: .85rem 0;
  background: rgba(255, 255, 255, .014); font-size: .92rem; }
.welcome-strip b { color: var(--bright); }

.trust-strip { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .014); }
.trust-items { display: flex; gap: 2.4rem; flex-wrap: wrap; padding: .85rem 1.4rem; justify-content: center; }
.trust-item { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item b { color: var(--bright); font-size: .85rem; font-weight: 700; }
.trust-item .muted { font-size: .74rem; }

/* ------------------------------------------------------------------ layout & cards */
.section { padding: 3.4rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.4rem; gap: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.6rem; margin-top: 1.6rem; }
.prose-cols { align-items: start; }

.card {
  background: linear-gradient(180deg, rgba(28, 34, 51, .55), rgba(13, 17, 25, .7));
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem; margin-bottom: 1.4rem;
  box-shadow:
    inset 0 1px 0 var(--hi),
    inset 0 -1px 0 rgba(0, 0, 0, .25),
    var(--shadow-1);
  position: relative;
}
.card h2, .card h3 { margin-bottom: .9rem; }

.band-head {
  display: flex; align-items: center; gap: .8rem; color: var(--white);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em;
  font-family: var(--font-display);
}
.band-head::before { content: ""; width: 5px; height: 26px; border-radius: 3px;
  background: var(--grad); display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 229, 199, .6), 0 0 4px rgba(0, 229, 199, .8); }
.see-all { font-size: .8rem; font-weight: 700; letter-spacing: 1px; color: var(--text-dim);
  text-transform: uppercase; }
.see-all:hover { color: var(--primary); }

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--s1); box-shadow: inset 0 1px 0 var(--hi), var(--shadow-1); }
.panel-table { width: 100%; border-collapse: collapse; }
.panel-table th {
  text-align: left; padding: .78rem 1rem; font-size: .72rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  border-bottom: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02);
  white-space: nowrap;
}
.panel-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.panel-table tbody tr { transition: background .14s var(--ease); }
.panel-table tbody tr:hover { background: var(--s2); }
.panel-table tbody tr:last-child td { border-bottom: 0; }
.row-featured { background: rgba(0, 229, 199, .04); }
.row-featured:hover { background: rgba(0, 229, 199, .08) !important; }
.col-rank { width: 46px; text-align: center; font-weight: 700; color: var(--text-dim); }
.col-votes { white-space: nowrap; }
.panel-name { font-weight: 700; color: var(--white); font-size: .98rem;
  transition: color .15s var(--ease); }
.panel-name:hover { color: var(--primary); }
.panel-sub { font-size: .78rem; margin-top: .15rem; }
.price { color: var(--success); font-weight: 700; font-variant-numeric: tabular-nums; }
.price-lg { font-size: 1.05rem; }
.stars { color: var(--warn); letter-spacing: 1px; }
.stars.big { font-size: 1.25rem; }
.name-bright { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .18); }
.name-dim { color: #c3cad4; }
.tier-icon { font-size: .95em; }

.vote-btn, .fav-btn {
  background: var(--s2); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 999px; padding: .36rem .8rem; cursor: pointer;
  font-size: .82rem; font-weight: 500;
  transition: all .18s var(--ease); font-family: inherit;
}
.vote-btn:hover, .vote-btn.voted { border-color: rgba(74, 222, 128, .6); color: var(--success);
  background: rgba(74, 222, 128, .08); }
.fav-btn:hover, .fav-btn.faved { border-color: rgba(255, 107, 122, .55); color: var(--danger);
  background: rgba(255, 107, 122, .07); }

/* ------------------------------------------------------------------ badges & chips */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1.2;
}
.badge-featured { background: rgba(255, 181, 71, .14); color: #ffc97a; border-color: rgba(255, 181, 71, .4); }
.badge-verified { background: rgba(0, 229, 199, .12); color: #5cecd6; border-color: rgba(0, 229, 199, .4); }
.badge-ok { background: rgba(74, 222, 128, .12); color: #6ee7a0; border-color: rgba(74, 222, 128, .4); }
.badge-warn { background: rgba(255, 181, 71, .12); color: #ffc97a; border-color: rgba(255, 181, 71, .4); }
.badge-err { background: rgba(255, 107, 122, .12); color: #ff96a0; border-color: rgba(255, 107, 122, .4); }
.badge-ad { background: rgba(139, 92, 246, .15); color: #c3a7ff; border-color: rgba(139, 92, 246, .45); }
.badge-elite {
  background: var(--grad-warm); color: #2a1500; border: 0;
  font-weight: 800; box-shadow: 0 2px 12px rgba(255, 181, 71, .35);
}
.badge-tier-1 { background: rgba(176, 141, 87, .16); color: #d8b98a; border-color: rgba(176, 141, 87, .4); }
.badge-tier-2 { background: rgba(192, 197, 206, .14); color: #d7dce4; border-color: rgba(192, 197, 206, .35); }
.badge-tier-3 {
  background: linear-gradient(135deg, #ffd700, #ffab00);
  color: #201500; border: 0;
  font-weight: 800;
  box-shadow: 0 2px 12px rgba(255, 190, 0, .35);
}

.chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--text); padding: .22rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 500;
  margin: 0 .25rem .28rem 0; transition: all .18s var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
a.chip:hover { border-color: rgba(0, 229, 199, .55); color: var(--primary);
  background: rgba(0, 229, 199, .08); transform: translateY(-1px); }
.chip-active { background: var(--grad); border-color: transparent; color: #07090f; font-weight: 700;
  box-shadow: 0 4px 14px -4px rgba(0, 229, 199, .5); }
.chip-more { border-style: dashed; }
.chip-plat { display: inline-flex; align-items: center; gap: .3rem; }
.chip-refill { border-color: rgba(74, 222, 128, .5); color: var(--success); font-size: .68rem; }
.chips-line { margin: .8rem 0; }

/* ------------------------------------------------------------------ covers, favicons, panel cells */
.panel-cell { display: flex; gap: .8rem; align-items: center; }
.thumb img { width: 88px; height: 55px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line-strong); display: block; background: var(--s0); }
tr:hover .thumb img { border-color: rgba(76, 169, 255, .5); }
.favicon { width: 16px; height: 16px; vertical-align: -2px; margin-right: .25rem; border-radius: 4px; }
h1 .favicon { width: 24px; height: 24px; vertical-align: -3px; }
.mini-cover { width: 72px; height: 45px; object-fit: cover; border-radius: 7px;
  border: 1px solid var(--line-strong); flex-shrink: 0; background: var(--s0); }

.panel-cover { flex: 0 0 320px; max-width: 320px; display: block; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line-strong); background: var(--s0);
  box-shadow: var(--shadow-2); }
.panel-cover img { width: 100%; height: auto; display: block; transition: transform .35s var(--ease); }
.panel-cover:hover img { transform: scale(1.035); }
.panel-hero { display: flex; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.panel-hero-main { flex: 1; min-width: 280px; }
.panel-hero h1 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.panel-hero-actions { display: flex; flex-direction: row; gap: .6rem; flex-wrap: wrap; margin-top: .95rem; min-width: 0; }
.owner-tools { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .75rem; }
.owner-tools form { display: inline; }
.rating-line { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.breadcrumb { font-size: .82rem; margin-bottom: 1rem; }

.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem;
  margin: 1.25rem 0 .6rem; }
.fact { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem .95rem; display: flex; flex-direction: column; gap: .12rem;
  box-shadow: inset 0 1px 0 var(--hi); }
.fact b { color: var(--white); font-size: 1.04rem; }
.fact .muted { font-size: .7rem; text-transform: uppercase; letter-spacing: .7px; }

/* ------------------------------------------------------------------ panel card grid */
.list-count { margin-bottom: .6rem; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.25rem 0; }
.panel-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  display: flex; flex-direction: column;
  background:
    linear-gradient(180deg, rgba(28, 34, 51, .6) 0%, rgba(13, 17, 25, .75) 100%);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--text);
  transition: all .25s var(--ease);
  position: relative;
  box-shadow:
    inset 0 1px 0 var(--hi),
    inset 0 -1px 0 rgba(0, 0, 0, .25),
    var(--shadow-1);
  isolation: isolate;
}
.pcard::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-lg); padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 199, 0) 0%, rgba(0, 229, 199, .5) 50%, rgba(139, 92, 246, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s var(--ease);
  pointer-events: none; z-index: 2;
}
.pcard:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 var(--hi),
    var(--shadow-3),
    0 0 0 1px rgba(0, 229, 199, .15);
}
.pcard:hover::before { opacity: 1; }
.pcard-cover { position: relative; display: block; background: var(--s0);
  aspect-ratio: 16/9; overflow: hidden; }
.pcard-cover img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease); }
.pcard:hover .pcard-cover img { transform: scale(1.06); }
.pcard-cover::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 15, .7) 0%, rgba(7, 9, 15, 0) 50%); pointer-events: none; }
.pcard-badges { position: absolute; top: .6rem; right: .6rem; display: flex; gap: .35rem; z-index: 1; }
.pcard-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; }
.pcard-name { font-weight: 700; font-size: 1.06rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  letter-spacing: -.01em; }
.pcard:hover .pcard-name { color: var(--primary); }
.pcard-meta { font-size: .8rem; }
.pcard-sm .pcard-name { font-size: .92rem; }
.pcard-sm .pcard-body { padding: .7rem .9rem .9rem; }
.pcard-elite { border-color: rgba(139, 92, 246, .5); }
.pcard-elite:hover { box-shadow: inset 0 1px 0 var(--hi), var(--shadow-3), 0 0 0 1px rgba(139, 92, 246, .4); }
.pcard-elite::before {
  background: linear-gradient(135deg, rgba(255, 181, 71, 0) 0%, rgba(255, 181, 71, .5) 50%, rgba(244, 114, 214, 0) 100%);
}

.featured-band {
  background:
    linear-gradient(135deg, rgba(0, 229, 199, .05) 0%, rgba(139, 92, 246, .05) 100%),
    rgba(13, 17, 25, .6);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.2rem 1.3rem;
  margin: 1.6rem 0;
  position: relative;
  overflow: hidden;
}
.featured-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  opacity: .7;
}
.featured-band-head { color: var(--primary); font-weight: 800; font-size: .8rem;
  letter-spacing: 1.6px; margin-bottom: .25rem; text-transform: uppercase; }
.featured-band .panel-grid { margin: .95rem 0 0; }

/* ------------------------------------------------------------------ rank lists (home) */
.rank-list { display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--s1);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-1); }
.rank-row { display: flex; align-items: center; gap: .75rem; padding: .58rem .9rem;
  border-bottom: 1px solid var(--line); color: var(--text); transition: background .14s var(--ease); }
.rank-row:last-of-type { border-bottom: 0; }
.rank-row:hover { background: var(--s2); }
.rank-thumb { width: 44px; height: 28px; object-fit: cover; border-radius: 5px;
  border: 1px solid var(--line-strong); flex-shrink: 0; }
.rank-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.rank-votes { color: var(--success); font-size: .82rem; white-space: nowrap; }
.rank-meta { font-size: .8rem; white-space: nowrap; }
.add-panel-row { margin: .7rem; }

/* ------------------------------------------------------------------ platform grid */
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.1rem; }
.plat-grid-rich { margin-bottom: 1.8rem; }
.plat-card {
  display: flex; flex-direction: column; gap: .4rem;
  background:
    linear-gradient(180deg, var(--s2) 0%, var(--s1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  color: var(--text);
  transition: all .22s var(--ease);
  box-shadow: inset 0 1px 0 var(--hi);
  position: relative;
  overflow: hidden;
}
.plat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.plat-card:hover { border-color: rgba(0, 229, 199, .4); transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-2);
  color: var(--text); }
.plat-card:hover::before { transform: scaleX(1); }
.plat-name { display: flex; align-items: center; gap: .5rem; color: var(--white);
  font-size: 1.04rem; font-weight: 700; letter-spacing: -.01em; }
.plat-chips { line-height: 2; }
.plat-logo { width: 22px; height: 22px; vertical-align: -5px; object-fit: contain; }
.plat-logo-lg { width: 34px; height: 34px; vertical-align: -6px; }
.plat-logo-sm { width: 14px; height: 14px; vertical-align: -2px; }
.plat-card .plat-logo { transition: transform .25s var(--ease); }
.plat-card:hover .plat-logo { transform: scale(1.2) rotate(-4deg); }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.platform-card {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; text-align: center; color: var(--white); font-weight: 500;
  transition: all .18s var(--ease);
  box-shadow: inset 0 1px 0 var(--hi);
}
.platform-card:hover { border-color: var(--primary); color: var(--primary);
  transform: translateY(-3px); box-shadow: var(--shadow-2); }

.stat-strip { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.stat-pill {
  display: flex; flex-direction: column; gap: .08rem;
  background:
    linear-gradient(180deg, rgba(28, 34, 51, .6) 0%, rgba(13, 17, 25, .75) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem 1.05rem;
  color: var(--text);
  transition: all .2s var(--ease);
  box-shadow: inset 0 1px 0 var(--hi);
  position: relative;
  overflow: hidden;
}
.stat-pill b { color: var(--white); font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
.stat-pill:hover { border-color: rgba(0, 229, 199, .4); transform: translateY(-2px);
  box-shadow: var(--shadow-2); }

.cat-tabs { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.3rem; }
.cat-tab {
  display: flex; flex-direction: column; align-items: center; gap: .08rem;
  background:
    linear-gradient(180deg, rgba(28, 34, 51, .55) 0%, rgba(13, 17, 25, .7) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem 1.25rem;
  color: var(--text);
  min-width: 130px; text-align: center;
  transition: all .2s var(--ease);
  box-shadow: inset 0 1px 0 var(--hi);
}
.cat-tab b { color: var(--white); letter-spacing: .5px; font-weight: 700; }
.cat-tab:hover { border-color: rgba(0, 229, 199, .55); transform: translateY(-3px);
  box-shadow: var(--shadow-2); }

.svc-box h3 { letter-spacing: .6px; font-size: .85rem; color: var(--bright); }
.svc-line { display: flex; align-items: baseline; gap: .7rem; padding: .5rem 0;
  border-bottom: 1px solid var(--line); color: var(--text); }
.svc-line:last-of-type { border-bottom: 0; }
.svc-line:hover .svc-line-name { color: var(--primary); }
.svc-line-name { color: var(--bright); flex: 1; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.search-strip { background: rgba(255, 255, 255, .014); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------ ad zones */
.ad-zone-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.ad-zone-label { font-size: .7rem; font-weight: 800; letter-spacing: 1.8px; color: var(--violet); }
.ad-zone-sub { font-weight: 500; letter-spacing: .2px; color: var(--text-dim); text-transform: none; }
.ad-zone-cta { font-size: .75rem; color: var(--text-dim); }
.ad-zone-cta:hover { color: var(--violet); }

.ad-carousel {
  position: relative;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, .08) 0%, rgba(0, 229, 199, .05) 100%),
    var(--s1);
  overflow: hidden;
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-2);
}
.ad-slide { display: none; position: relative; color: var(--text); }
.ad-slide.active { display: flex; }
.ad-cover { flex: 0 0 320px; max-width: 320px; }
.ad-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-body { flex: 1; padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ad-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ad-head b { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.ad-line { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-body .btn { align-self: flex-start; margin-top: .55rem; }
.ad-tag { position: absolute; top: .65rem; right: .65rem; }
.ad-dots { position: absolute; bottom: .6rem; right: .85rem; display: flex; gap: .35rem; }
.ad-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0;
  background: rgba(255, 255, 255, .22); cursor: pointer;
  transition: all .2s var(--ease);
}
.ad-dot.active { background: var(--violet); transform: scale(1.3); }
.ad-empty { display: flex; flex-direction: column; gap: .35rem; align-items: center;
  justify-content: center; padding: 1.8rem; text-align: center; color: var(--text);
  border: 1px dashed rgba(139, 92, 246, .4); border-radius: var(--r-xl); }
.ad-empty b { color: var(--bright); }
.ad-slide-creative { padding: 0; display: none; }
.ad-slide-creative.active { display: block; }
.ad-creative { width: 100%; max-height: 200px; object-fit: cover; display: block; }
.ad-slide-strip { display: none; align-items: center; gap: 1.1rem; padding: .7rem 1rem; min-height: 120px; }
.ad-slide-strip.active { display: flex; }
.strip-cover { flex: 0 0 200px; max-width: 200px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--line-strong); }
.strip-cover img { width: 100%; height: auto; display: block; }
.strip-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.strip-name { display: flex; align-items: center; gap: .45rem; color: #fff; font-size: 1.12rem; font-weight: 700; }
.strip-cta { flex-shrink: 0; margin-right: 3rem; }

.sponsored-sep td { background: rgba(139, 92, 246, .08); padding: .38rem .95rem !important;
  border-bottom: 1px solid rgba(139, 92, 246, .3); }
.sponsored-sep .ad-zone-cta { float: right; }
.organic-sep td { background: rgba(255, 255, 255, .02); border-bottom: 1px solid var(--line); }
.row-ad { background: rgba(139, 92, 246, .055); }
.row-ad:hover { background: rgba(139, 92, 246, .11) !important; }
.row-ad td { padding-top: 1rem; padding-bottom: 1rem; }
.row-ad td:first-child { border-left: 3px solid var(--violet); }
.ad-svc-name { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ad-svc-name b { color: #fff; font-size: .98rem; }
.row-ad .btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), var(--glow-violet); }

/* ------------------------------------------------------------------ banner cards (legacy) */
.banner-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.banner-card { display: flex; flex-direction: column; gap: .3rem;
  background: linear-gradient(135deg, rgba(255, 178, 36, .07), var(--s1));
  border: 1px solid rgba(255, 178, 36, .4); border-radius: var(--radius);
  padding: 1rem 1.2rem; color: var(--text); }
.banner-card b { color: var(--white); font-size: 1.1rem; }
.banner-card .badge { align-self: flex-start; }
.banner-cover { display: block; margin: -1rem -1.2rem .6rem; overflow: hidden; }
.banner-cover img { width: 100%; height: 130px; object-fit: cover; display: block; opacity: .92; }
.banner-upload { display: inline-flex; gap: .3rem; align-items: center; }
.banner-file-label { cursor: pointer; }

/* ------------------------------------------------------------------ providers (showcase) */
.elite-criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem; margin-top: 1.25rem; }
.crit { background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem 1rem; display: flex; flex-direction: column; gap: .16rem; }
.crit b { color: var(--white); }
.crit .muted { font-size: .8rem; }

.provider-list, .supplier-list { display: flex; flex-direction: column; gap: 1.05rem; margin-top: 1rem; }
.provider-row, .supplier-row { display: flex; gap: 1.25rem;
  background: linear-gradient(180deg, var(--s2), var(--s1));
  border: 1px solid rgba(139, 92, 246, .35); border-radius: var(--r-lg);
  padding: 1.15rem; transition: all .2s var(--ease);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-1); }
.provider-row:hover, .supplier-row:hover { border-color: var(--violet); transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--hi), var(--glow-violet); }
.provider-cover, .supplier-cover { flex: 0 0 280px; max-width: 280px; border-radius: 10px;
  overflow: hidden; border: 1px solid var(--line-strong); align-self: flex-start; }
.provider-cover img, .supplier-cover img { width: 100%; height: auto; display: block; }
.provider-main, .supplier-main { flex: 1; min-width: 0; }
.provider-name, .supplier-head { font-size: 1.28rem; display: flex; align-items: center;
  gap: .5rem; flex-wrap: wrap; margin-bottom: .2rem; }
.provider-name a { color: #fff; }
.provider-name a:hover { color: var(--primary); }
.provider-meta { margin-bottom: .1rem; }
.provider-statement, .supplier-source { margin: .55rem 0; font-size: .9rem; color: var(--text);
  border-left: 3px solid rgba(139, 92, 246, .55); padding-left: .85rem; }
.provider-side, .supplier-actions { display: flex; flex-direction: column; gap: .5rem;
  justify-content: center; min-width: 122px; }
.supplier-facts { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------------------------------------------ blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.05rem; margin-top: 1rem; }
.post-card { background: linear-gradient(180deg, var(--s2), var(--s1));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.25rem; color: var(--text); display: flex; flex-direction: column; gap: .5rem;
  transition: all .2s var(--ease); box-shadow: inset 0 1px 0 var(--hi); }
.post-card:hover { border-color: rgba(76, 169, 255, .5); transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-2); }
.post-card h3 { font-size: 1.04rem; }
.cover-emoji { font-size: 1.9rem; line-height: 1; }
.cover-emoji.xl { font-size: 3rem; }
.featured-post { display: flex; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, rgba(76, 169, 255, .08), var(--s1));
  border: 1px solid rgba(76, 169, 255, .4); border-radius: var(--r-lg);
  padding: 1.5rem; margin: 1rem 0; color: var(--text); }
.featured-post:hover { border-color: var(--primary); }
.featured-post h2 { margin: .4rem 0; }
.post-header { margin-bottom: 1.5rem; }
.post-header h1 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.2rem); margin: .6rem 0 .4rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.post-meta { margin-top: auto; }

.prose { color: var(--text); }
.prose h2 { margin: 1.7rem 0 .7rem; padding-bottom: .35rem; border-bottom: 1px solid var(--line); }
.prose h3 { margin: 1.2rem 0 .5rem; }
.prose p { margin-bottom: .95rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose code { background: var(--s3); padding: .12rem .4rem; border-radius: 5px; font-size: .85em; }
.prose pre { background: #0d0f15; border: 1px solid var(--line); padding: 1rem;
  border-radius: var(--radius); overflow-x: auto; margin-bottom: 1rem; }
.prose blockquote { border-left: 3px solid var(--primary); padding: .3rem 1rem; margin: 1rem 0; color: var(--text-dim); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: .5rem .7rem; }
.prose th { background: var(--s2); color: var(--white); }
.prose strong { color: var(--white); }

/* ------------------------------------------------------------------ pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.05rem; margin: 1.5rem 0; }
.price-card { background: linear-gradient(180deg, var(--s2), var(--s1));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  transition: all .2s var(--ease); box-shadow: inset 0 1px 0 var(--hi); }
.price-card:hover { transform: translateY(-3px); border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-2); }
.price-card-hot { border-color: rgba(76, 169, 255, .55);
  box-shadow: inset 0 1px 0 var(--hi), var(--glow-primary); position: relative; }
.price-card.tier-3 { border-color: rgba(255, 200, 0, .45); }
.price-tag { font-size: 1.9rem; font-weight: 900; color: var(--success);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price-tag .muted { font-size: .9rem; font-weight: 400; }
.price-card .btn { margin-top: auto; }
.benefits { list-style: none; margin: 0; padding: 0; }
.benefits li { padding: .27rem 0; font-size: .875rem; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.benefits li:last-child { border-bottom: 0; }
.placement-list { background: rgba(76, 169, 255, .05); border: 1px dashed rgba(76, 169, 255, .3);
  border-radius: 10px; padding: .55rem .85rem !important; }
.placement-list li { border-bottom: 0 !important; padding: .18rem 0 !important; font-size: .82rem !important; }
.steps { margin-left: 1.3rem; }
.steps li { margin-bottom: .6rem; }
.steps-banner { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.step-chip { background: var(--s1); border: 1px solid var(--line); border-radius: 99px;
  padding: .38rem .95rem; font-size: .82rem; color: var(--text); }
.step-chip b { color: var(--primary); margin-right: .3rem; }
.order-summary { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--s1); box-shadow: inset 0 1px 0 var(--hi), var(--shadow-1); }
.matrix-table { width: 100%; border-collapse: collapse; }
.matrix-table th, .matrix-table td { padding: .78rem 1rem; border-bottom: 1px solid var(--line);
  text-align: center; }
.matrix-table td:first-child, .matrix-table th:first-child { text-align: left; color: var(--bright); }
.matrix-table thead th { background: rgba(255, 255, 255, .02); }
.matrix-icon { font-size: 1.7rem; display: block; }
.matrix-table thead b { letter-spacing: 1.2px; color: var(--white); }
.matrix-price { font-size: 1.5rem; font-weight: 900; color: var(--white);
  font-variant-numeric: tabular-nums; }
.matrix-table tbody tr:hover { background: var(--s2); }
.save-banner { border: 1.5px dashed rgba(143, 209, 79, .55); border-radius: var(--radius);
  padding: .8rem 1.2rem; margin: 1.1rem 0; color: var(--bright);
  background: rgba(143, 209, 79, .05); }
.duration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; }
.duration-opt { position: relative; cursor: pointer; }
.duration-opt input { position: absolute; opacity: 0; }
.duration-box { display: flex; flex-direction: column; align-items: center; gap: .1rem;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: .6rem;
  transition: all .15s var(--ease); }
.duration-opt input:checked + .duration-box { border-color: var(--primary);
  background: rgba(76, 169, 255, .1); box-shadow: 0 0 0 3px rgba(76, 169, 255, .12); }
.duration-box b { color: var(--white); }

.wallet-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  background: #0d0f15; border: 1px solid var(--line); border-radius: 10px;
  padding: .62rem .85rem; margin-bottom: .5rem; }
.wallet-row code { word-break: break-all; flex: 1; color: var(--success); }

/* ------------------------------------------------------------------ forms */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .4rem; color: var(--bright);
  font-weight: 600; font-size: .85rem; letter-spacing: -.005em; }
.form input, .form textarea, .form select, .filter-bar input, .filter-bar select {
  background: rgba(7, 9, 15, .6);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--white);
  padding: .65rem .9rem;
  font-size: .92rem;
  font-family: inherit;
  transition: all .2s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.form input:hover, .form textarea:hover, .form select:hover,
.filter-bar input:hover, .filter-bar select:hover {
  border-color: rgba(255, 255, 255, .18);
}
.form input:focus, .form textarea:focus, .form select:focus,
.filter-bar input:focus, .filter-bar select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 229, 199, .14);
  background: rgba(7, 9, 15, .85);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.form legend { color: var(--bright); font-weight: 600; padding: 0 .4rem; font-size: .875rem; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .4rem; }
.check { display: flex !important; flex-direction: row !important; align-items: center;
  gap: .5rem !important; font-weight: 400 !important; color: var(--text) !important; }
.check input { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-bar { display: flex; gap: .6rem; margin: 1rem 0; flex-wrap: wrap; }
.filter-bar input[type="search"] { flex: 1; min-width: 200px; }
.subscribe-form { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.subscribe-form input { background: rgba(7, 9, 15, .6); border: 1px solid var(--line-strong);
  border-radius: 12px; color: var(--white); padding: .7rem 1.05rem; min-width: 260px; }
.subscribe-form input:focus { outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 229, 199, .14); }

.pick-list { display: flex; flex-direction: column; max-height: 480px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--radius); }
.pick-row { display: flex; gap: .7rem; align-items: center; padding: .52rem .85rem;
  border-bottom: 1px solid var(--line); cursor: pointer; font-size: .88rem;
  transition: background .13s var(--ease); }
.pick-row:hover { background: var(--s2); }
.pick-row:last-child { border-bottom: 0; }
.pick-name { flex: 1; color: var(--bright); }
.pick-row input { accent-color: var(--primary); }

/* ------------------------------------------------------------------ misc ui */
.flash { padding: .75rem 1.05rem; border-radius: var(--radius); margin: .85rem 0;
  font-weight: 500; animation: flash-in .28s var(--ease); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; } }
.flash-success { background: rgba(143, 209, 79, .1); border: 1px solid rgba(143, 209, 79, .4); color: #b5e388; }
.flash-error { background: rgba(255, 92, 92, .09); border: 1px solid rgba(255, 92, 92, .4); color: #ff9c9c; }

.cta-band { background:
    radial-gradient(600px 260px at 50% 0%, rgba(76, 169, 255, .09), transparent 65%),
    rgba(255, 255, 255, .015);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2.6rem 0; margin-top: 1rem; }

.pagination { display: flex; gap: .35rem; margin: 1.5rem 0; justify-content: center; flex-wrap: wrap; }
.page { padding: .35rem .8rem; border: 1px solid var(--line-strong); border-radius: 9px;
  color: var(--text); transition: all .14s var(--ease); }
.page.current { background: var(--grad); border-color: transparent; color: #fff; }
a.page:hover { border-color: var(--primary); color: var(--primary); }

.faq-item { border-bottom: 1px solid var(--line); padding: .65rem 0; }
.faq-item summary { color: var(--bright); font-weight: 600; cursor: pointer; }
.faq-item summary:hover { color: var(--primary); }
.faq-item p { padding: .55rem 0 .2rem; }

.review { border-top: 1px solid var(--line); padding: .95rem 0; }
.review-head { display: flex; gap: .7rem; align-items: baseline; margin-bottom: .3rem; }
.review-head b { color: var(--white); }
.review-form { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.6rem; color: #3a4150; cursor: pointer; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--warn); }

.geo-card { border-color: rgba(139, 92, 246, .45); }
.card-list { display: flex; flex-direction: column; gap: .6rem; }
.mini-card { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem .9rem; transition: all .16s var(--ease); color: var(--text);
  box-shadow: inset 0 1px 0 var(--hi); }
.mini-card:hover { border-color: rgba(76, 169, 255, .5); }
.mini-card b { color: var(--white); }
.mini-card-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }

.actions { white-space: nowrap; }
.actions form { display: inline-flex; gap: .3rem; }

/* ------------------------------------------------------------------ dashboard modules */
.promo-module { padding: 1.05rem 1.25rem; }
.promo-module-head { display: flex; gap: .6rem; align-items: center; margin-bottom: .75rem; }
.promo-module-head b { color: var(--white); font-size: 1.05rem; }
.promo-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: .7rem; }
.promo-slot { background: rgba(255, 255, 255, .02); border: 1px solid var(--line);
  border-radius: 10px; padding: .72rem .85rem; display: flex; flex-direction: column;
  gap: .35rem; align-items: flex-start; }
.promo-slot .muted.small { letter-spacing: .9px; font-size: .68rem; }
.blog-perk { padding: .72rem 0; border-bottom: 1px solid var(--line); }
.blog-perk:last-child { border-bottom: 0; }
.blog-perk b { color: var(--white); }

/* ------------------------------------------------------------------ admin shell */
body.admin-shell { display: flex; min-height: 100vh; background: var(--s0); }
.admin-side { width: 234px; flex-shrink: 0; background: #0d0f15;
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-brand { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line); color: var(--white); font-weight: 800; line-height: 1.15; }
.admin-menu { display: flex; flex-direction: column; padding: .8rem 0; flex: 1; }
.admin-menu-label { font-size: .66rem; letter-spacing: 1.3px; color: var(--text-dim);
  padding: .85rem 1.15rem .3rem; text-transform: uppercase; font-weight: 700; }
.admin-menu a { padding: .5rem 1.15rem; color: var(--text); font-size: .9rem;
  display: flex; gap: .45rem; align-items: center; border-left: 3px solid transparent;
  transition: all .14s var(--ease); }
.admin-menu a:hover { background: rgba(255, 255, 255, .04); color: var(--white); }
.admin-menu a.on { background: rgba(76, 169, 255, .08); color: var(--white);
  border-left-color: var(--primary); }
.admin-menu a .badge { margin-left: auto; }
.admin-side-foot { padding: 1rem 1.15rem; border-top: 1px solid var(--line); display: flex; gap: .5rem; }
.admin-main { flex: 1; min-width: 0; padding: 0 1rem; }
.admin-main .container { max-width: 1280px; }
.admin-stats { margin: 1.4rem 0; }
.admin-nav { margin: .6rem 0 1.2rem; }
.todo-band { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 1.7rem; }
.todo-pill { background: rgba(255, 178, 36, .1); border: 1px solid rgba(255, 178, 36, .45);
  color: #ffc554; border-radius: 99px; padding: .38rem .95rem; font-size: .85rem; font-weight: 600;
  transition: all .14s var(--ease); }
.todo-pill:hover { background: rgba(255, 178, 36, .18); color: #ffc554; transform: translateY(-1px); }
.todo-pill.ok-text { border-color: rgba(143, 209, 79, .5); background: rgba(143, 209, 79, .08);
  color: var(--success); }
.report-body h1 { font-size: 1.4rem; }
.elite-review .elite-review-head { display: flex; align-items: center; gap: .6rem;
  flex-wrap: wrap; margin-bottom: .4rem; }
.elite-review .actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }

.chat-box { display: flex; flex-direction: column; gap: .9rem; max-height: 520px; overflow-y: auto; }
.chat-msg { display: flex; flex-direction: column; gap: .2rem; }
.chat-who { font-size: .7rem; letter-spacing: .8px; color: var(--text-dim); font-weight: 700; }
.chat-user .chat-body { background: rgba(76, 169, 255, .09); border: 1px solid rgba(76, 169, 255, .35); }
.chat-assistant .chat-body { background: var(--s2); border: 1px solid var(--line); }
.chat-body { border-radius: var(--radius); padding: .65rem .95rem; font-size: .9rem; }
.chat-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  border-top: 0; background: rgba(7, 9, 15, .7); margin-top: 4rem;
  position: relative; backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 199, .5), rgba(139, 92, 246, .5), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 1.4rem; }
.footer-grid h4 { margin-bottom: .85rem; font-size: .75rem; text-transform: uppercase;
  letter-spacing: 1.4px; color: var(--bright); font-weight: 700; }
.footer-grid a { display: block; color: var(--text-dim); padding: .2rem 0; font-size: .875rem; }
.footer-grid a:hover { color: var(--primary); }
.footer-logo { margin-bottom: .8rem; }
.footer-plats a { display: flex; align-items: center; gap: .35rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1rem 1.4rem; font-size: .8rem;
  color: var(--text-dim); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .two-col, .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none; }
  .panel-grid, .panel-grid.grid-4, .plat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body.admin-shell { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; }
  .admin-menu { flex-direction: row; flex-wrap: wrap; }
  .admin-menu-label { display: none; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .main-nav { display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--s1); flex-direction: column; padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--line); gap: .3rem; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .post-nav, .panel-grid, .panel-grid.grid-4, .plat-grid, .footer-grid { grid-template-columns: 1fr; }
  .panel-cover { flex-basis: 100%; max-width: 100%; }
  .ad-cover, .strip-cover { display: none; }
  .ad-slide-strip { min-height: 90px; }
  .provider-cover, .supplier-cover { max-width: 100%; flex-basis: auto; }
  .provider-row, .supplier-row { flex-direction: column; }
}

/* ===================================================================
   v5 全局微动效: 入场、悬浮、聚焦统一
   =================================================================== */

/* 页面进入 fade-up */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section,
.card,
.pcard,
.plat-card,
.platform-card,
.stat-pill,
.cat-tab,
.ad-carousel,
.featured-band,
.panel-table-wrap {
  animation: fade-up .5s var(--ease) backwards;
}
.section:nth-child(1)  { animation-delay: 0s; }
.section:nth-child(2)  { animation-delay: .04s; }
.section:nth-child(3)  { animation-delay: .08s; }
.section:nth-child(4)  { animation-delay: .12s; }
.section:nth-child(5)  { animation-delay: .16s; }
.section:nth-child(6)  { animation-delay: .20s; }

/* 卡片网格的级联入场 */
.panel-grid > *,
.plat-grid > *,
.platform-grid > * {
  animation: fade-up .45s var(--ease) backwards;
}
.panel-grid > *:nth-child(1)  { animation-delay: 0s; }
.panel-grid > *:nth-child(2)  { animation-delay: .03s; }
.panel-grid > *:nth-child(3)  { animation-delay: .06s; }
.panel-grid > *:nth-child(4)  { animation-delay: .09s; }
.panel-grid > *:nth-child(5)  { animation-delay: .12s; }
.panel-grid > *:nth-child(6)  { animation-delay: .15s; }
.panel-grid > *:nth-child(7)  { animation-delay: .18s; }
.panel-grid > *:nth-child(8)  { animation-delay: .21s; }
.panel-grid > *:nth-child(9)  { animation-delay: .24s; }

/* 文字渐入(标题层级) */
h1, h2, .band-head {
  animation: fade-up .6s var(--ease) backwards;
  animation-delay: .05s;
}

/* 主按钮加载光斑扫过 */
@keyframes btn-shine {
  0%   { left: -100%; }
  100% { left: 200%; }
}
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -100%;
  width: 60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* 链接优雅下划线 */
a:not(.btn):not(.chip):not(.panel-name):not(.pcard-name):not(.nav-cta):not(.see-all) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s var(--ease), color .18s var(--ease);
}
a:not(.btn):not(.chip):not(.panel-name):not(.pcard-name):not(.nav-cta):not(.see-all):hover {
  background-size: 100% 1px;
}

/* 全局图片加载过渡 */
img { transition: opacity .3s var(--ease); }

/* 优化: 大数据列表表头 sticky */
.panel-table th { position: sticky; top: 0; z-index: 1; backdrop-filter: blur(8px); }

/* 暗色滚动条在 webkit 系统下更精致 */
::-webkit-scrollbar-thumb { transition: background .2s var(--ease); }

/* 尊重用户减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body::after { display: none; }
  .pcard:hover, .plat-card:hover, .platform-card:hover,
  .cat-tab:hover, .stat-pill:hover { transform: none; }
}
