/* ============================================================
   牛散云集 · 视觉系统 v4「深海图鉴 / Atlas」
   ------------------------------------------------------------
   设计语言：深色海图（顶栏 / 主视觉 / 页脚）框住瓷白内容区
            编辑式信息层级 · 分类色标 · 真实数据可视化
            保留「静海」淡雅海洋基因、涨红跌绿、流体响应式
   ============================================================ */

:root {
  /* 深色海图 */
  --deep-950: #081c28;
  --deep-900: #0c2635;
  --deep-800: #103347;
  --deep-700: #16435a;
  --deep-line: rgba(150, 205, 220, .16);
  --deep-text: #eaf4f7;
  --deep-mute: #9fbfcc;
  --deep-faint: #6f95a5;

  /* 海色阶（内容区） */
  --sea-950: #0c2534;
  --sea-900: #123246;
  --sea-800: #1a4762;
  --sea-600: #2c7291;
  --sea-400: #6cadc4;
  --aqua: #86d2cb;
  --aqua-soft: #e6f6f4;
  --gold: #c8a45c;

  /* 中性 */
  --mist: #f4f8fa;
  --mist-2: #eef5fa;
  --paper: #ffffff;
  --ink: #14252f;
  --ink-2: #4f6472;
  --ink-3: #8b9fad;
  --line: #e2edf3;
  --line-2: #eef5f9;

  /* 语义 */
  --up: #c8453e;          /* 涨 = 红（A 股习惯） */
  --down: #2e9e6b;        /* 跌 = 绿 */
  --accent: #1a4762;

  /* 分类色标 */
  --c-stock: #2c7291;     /* 股票资源 · 深海蓝 */
  --c-bond: #3f9e8c;      /* 转债资源 · 青绿 */
  --c-plan: #c8a45c;      /* 盘前计划 · 金铜 */
  --c-other: #7f95a3;

  /* 形体 */
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-xs: 0 1px 2px rgba(18, 50, 70, .04);
  --shadow: 0 2px 8px rgba(18, 50, 70, .045), 0 12px 28px -18px rgba(18, 50, 70, .22);
  --shadow-lg: 0 10px 28px rgba(18, 50, 70, .11), 0 34px 66px -28px rgba(18, 50, 70, .32);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ---------- 流体尺度：随视口连续插值 ---------- */
  --gutter:   clamp(14px, 2.6vw, 44px);
  --wrap-max: clamp(1400px, 92vw, 2200px);
  --gap:      clamp(12px, 1.3vw, 20px);
  --col-gap:  clamp(20px, 2.2vw, 34px);
  --side-w:   clamp(268px, 21vw, 344px);
  --card-min: clamp(232px, 17vw, 284px);
  --ava:      clamp(56px, 4.6vw, 68px);
  --pad-card: clamp(16px, 1.5vw, 22px);
  --fs-name:  clamp(15.5px, 1.1vw, 17.5px);
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  overflow-x: hidden; scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--mist);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(134, 210, 203, .32); color: var(--sea-950); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.muted { color: var(--ink-3); font-size: 13px; }

/* ---------------- 背景洋流（内容区） ---------------- */
.ocean {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden; background:
    radial-gradient(1200px 620px at 82% 2%, #e6f3f7 0%, rgba(230, 243, 247, 0) 60%),
    radial-gradient(900px 560px at 2% 24%, #eaf6f4 0%, rgba(234, 246, 244, 0) 58%),
    linear-gradient(180deg, #f6fafc 0%, #f4f8fa 46%, #f2f7fa 100%);
}
.ocean .current {
  position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5;
  mix-blend-mode: multiply;
}
.ocean .c1 {
  width: 62vw; height: 46vw; left: -14vw; top: 6vw;
  background: radial-gradient(circle at 40% 40%, #cfe9f0 0%, rgba(207, 233, 240, 0) 68%);
  animation: drift-a 34s ease-in-out infinite alternate;
}
.ocean .c2 {
  width: 54vw; height: 44vw; right: -12vw; top: 34vh;
  background: radial-gradient(circle at 50% 50%, #d6efec 0%, rgba(214, 239, 236, 0) 66%);
  animation: drift-b 42s ease-in-out infinite alternate;
}
.ocean .c3 {
  width: 70vw; height: 38vw; left: 18vw; bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, #dfeaf6 0%, rgba(223, 234, 246, 0) 70%);
  animation: drift-a 50s ease-in-out infinite alternate-reverse;
}
.ocean .grain {
  position: absolute; inset: 0; opacity: .45;
  background-image: radial-gradient(rgba(18, 50, 70, .04) 1px, transparent 1px);
  background-size: 4px 4px;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vh, 0) scale(1.1); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to   { transform: translate3d(-4vw, -4vh, 0) scale(.96); }
}

/* ============================================================
   深色顶栏：与主视觉带连成一体，滚动时转为玻璃深底
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--deep-900) 0%, var(--deep-950) 100%);
  border-bottom: 1px solid var(--deep-line);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 210, 203, .42) 22%, rgba(200, 164, 92, .34) 62%, transparent);
  pointer-events: none;
}
.site-header.stuck {
  background: rgba(9, 30, 43, .94);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 34px -26px rgba(0, 0, 0, .9);
}

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 18px; flex-wrap: wrap;
  min-height: var(--header-h); padding-top: 9px; padding-bottom: 9px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: #d8f2f1;
  background: linear-gradient(150deg, #2b6d86 0%, #123246 100%);
  border: 1px solid rgba(150, 205, 220, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 16px -10px rgba(0, 0, 0, .8);
  transition: transform .3s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-1px) rotate(-4deg); }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: 3px; line-height: 1.2;
  color: #f2fafb; white-space: nowrap; margin: 0;
}
.brand-div { width: 1px; height: 14px; margin: 0 1px; background: rgba(160, 200, 215, .3); flex-shrink: 0; }
.brand-sub { font-size: 10.5px; letter-spacing: 1.6px; color: var(--deep-mute); white-space: nowrap; }
/* 版式版本标识：让用户一眼确认看到的是最新版本，避免缓存误判 */
.ver-chip {
  font-size: 9px; line-height: 1; font-weight: 700; letter-spacing: .4px;
  color: #9fe3d6; border: 1px solid rgba(159, 227, 214, .35);
  background: rgba(159, 227, 214, .09); border-radius: 5px;
  padding: 3px 5px; white-space: nowrap; flex-shrink: 0;
}
.ver-note { opacity: .7; font-size: .92em; }

.header-tools { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }

.search-box { position: relative; display: flex; align-items: center; min-width: 0; }
.search-box .s-icon {
  position: absolute; left: 12px; width: 15px; height: 15px; color: var(--deep-faint);
  pointer-events: none; transition: color .2s;
}
.search-box input {
  width: clamp(158px, 17vw, 250px); padding: 8px 44px 8px 34px;
  border: 1px solid rgba(150, 205, 220, .2); border-radius: 9px;
  font-size: 12.5px; font-family: inherit; color: var(--deep-text);
  background: rgba(255, 255, 255, .07); outline: none;
  transition: width .28s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.search-box input::placeholder { color: var(--deep-faint); }
.search-box input:focus {
  width: clamp(186px, 21vw, 296px); background: rgba(255, 255, 255, .12);
  border-color: rgba(134, 210, 203, .6);
  box-shadow: 0 0 0 3px rgba(134, 210, 203, .13);
}
.search-box:focus-within .s-icon { color: var(--aqua); }
.key-hint {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  font-family: inherit; font-size: 10px; line-height: 1; color: var(--deep-faint);
  border: 1px solid rgba(150, 205, 220, .24); border-radius: 4px;
  padding: 2px 5px; pointer-events: none;
}
.search-box:focus-within .key-hint { opacity: 0; }
#searchClear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 2;
  border: none; background: rgba(255, 255, 255, .18); color: var(--deep-text);
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer;
  line-height: 1; font-size: 13px; padding: 0;
}
#searchClear:hover { background: rgba(255, 255, 255, .32); }

#sortSelect {
  padding: 8px 11px; border-radius: 9px; font-size: 12.5px; font-family: inherit;
  border: 1px solid rgba(150, 205, 220, .2); cursor: pointer; outline: none;
  background: rgba(255, 255, 255, .07); color: var(--deep-text);
  transition: border-color .2s, background .2s;
}
#sortSelect option { color: var(--ink); background: #fff; }
#sortSelect:hover { border-color: rgba(134, 210, 203, .5); background: rgba(255, 255, 255, .12); }

.admin-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--deep-text); font-size: 12px; letter-spacing: .4px; text-decoration: none;
  border: 1px solid rgba(150, 205, 220, .24); border-radius: 9px; padding: 7px 12px;
  background: rgba(255, 255, 255, .06);
  transition: all .2s var(--ease);
}
.admin-link svg { width: 14px; height: 14px; }
.admin-link:hover {
  color: var(--deep-950); background: var(--aqua); border-color: var(--aqua);
  box-shadow: 0 8px 20px -12px rgba(134, 210, 203, .9);
}

/* ============================================================
   品牌主视觉带：深海底 + 洋流线条 + 真实数据
   ============================================================ */
.hero {
  position: relative; z-index: 2; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -30%, rgba(63, 158, 140, .34) 0%, transparent 62%),
    radial-gradient(760px 400px at 8% 130%, rgba(44, 114, 145, .34) 0%, transparent 60%),
    linear-gradient(115deg, #0b2636 0%, #0e3044 46%, #123a4c 100%);
  border-bottom: 1px solid rgba(150, 205, 220, .14);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .5;
}
.hero-lines path {
  fill: none; stroke: rgba(134, 210, 203, .3); stroke-width: 1.1;
  stroke-dasharray: 6 10;
  animation: line-flow 26s linear infinite;
}
.hero-lines path:nth-child(2) { stroke: rgba(160, 210, 225, .2); animation-duration: 34s; animation-direction: reverse; }
.hero-lines path:nth-child(3) { stroke: rgba(200, 164, 92, .18); animation-duration: 42s; }
.hero-lines path:nth-child(4) { stroke: rgba(134, 210, 203, .14); animation-duration: 50s; animation-direction: reverse; }
@keyframes line-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -320; } }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4;
}
.hero-glow.g1 { width: 420px; height: 300px; right: 12%; top: -120px; background: rgba(134, 210, 203, .3); }
.hero-glow.g2 { width: 360px; height: 260px; left: 26%; bottom: -170px; background: rgba(44, 114, 145, .4); }
.hero-grid {
  position: absolute; inset: 0; opacity: .3;
  background-image:
    linear-gradient(rgba(150, 205, 220, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 205, 220, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 64px); flex-wrap: wrap;
  padding-top: clamp(30px, 3.4vw, 48px);
  padding-bottom: clamp(40px, 4.4vw, 62px);
}
.hero-copy { flex: 1 1 380px; min-width: 0; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: 2.4px; font-weight: 600;
  color: var(--aqua); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(134, 210, 203, .16); flex-shrink: 0;
}
.hero-eyebrow i { font-style: normal; color: var(--deep-faint); letter-spacing: 1px; }
.hero-title {
  font-size: clamp(30px, 3.5vw, 48px); font-weight: 800; letter-spacing: 1px;
  line-height: 1.2; color: #f4fbfc; margin-bottom: 12px;
}
.hero-title span {
  background: linear-gradient(100deg, #8fded2 0%, #cfe9d8 48%, #e3c488 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc {
  font-size: clamp(12.5px, 1.05vw, 14px); color: var(--deep-mute);
  line-height: 1.85; max-width: 520px; letter-spacing: .2px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 9px; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .4px;
  color: var(--deep-950); background: linear-gradient(120deg, #9fe0d5, #86d2cb);
  box-shadow: 0 10px 26px -14px rgba(134, 210, 203, .9);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(134, 210, 203, 1); }
.hero-btn span { font-size: 15px; }
.hero-note { font-size: 11px; color: var(--deep-faint); letter-spacing: .4px; }

/* 数据胶囊：真实统计，玻璃态 */
.hero-caps {
  flex: 0 1 auto; display: grid; grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 1px; padding: 1px; border-radius: 14px;
  background: rgba(150, 205, 220, .16);
  border: 1px solid rgba(150, 205, 220, .18);
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-cap {
  background: rgba(9, 32, 45, .72);
  padding: clamp(13px, 1.3vw, 18px) clamp(16px, 1.7vw, 24px);
  min-width: 0;
  transition: background .25s var(--ease);
}
.hero-cap:hover { background: rgba(20, 62, 80, .86); }
.hero-cap b {
  display: block; font-size: clamp(23px, 2.2vw, 31px); font-weight: 700;
  line-height: 1.1; letter-spacing: -.5px; color: #f2fafb;
  font-variant-numeric: tabular-nums;
}
.hero-cap b em {
  font-style: normal; font-size: .48em; font-weight: 500;
  color: var(--deep-mute); margin-left: 3px; letter-spacing: 0;
}
.hero-cap span {
  display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: 1.4px;
  color: var(--deep-mute);
}
.hero-cap i {
  display: inline-block; width: 14px; height: 2px; border-radius: 2px;
  background: var(--aqua); margin-bottom: 8px; opacity: .8;
}
.hero-cap:nth-child(2) i { background: #8bb8d8; }
.hero-cap:nth-child(3) i { background: var(--gold); }
.hero-cap:nth-child(4) i { background: #7fc9a8; }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 30px;
  display: block; z-index: 3;
}
.hero-wave path { fill: var(--mist); }

/* ============================================================
   内容布局
   ============================================================ */
.layout {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side-w);
  gap: var(--col-gap);
  padding-top: clamp(24px, 2.6vw, 38px);
  padding-bottom: clamp(48px, 5vw, 80px);
  align-items: start;
}
.main-col { min-width: 0; }

/* ---------------- 工具条 / 筛选 ---------------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}
.toolbar-left { display: flex; align-items: center; gap: 12px; }
.section-title {
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; letter-spacing: 1.2px;
  color: var(--sea-950); padding-left: 13px; position: relative;
}
.section-title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--sea-600), var(--aqua));
}
.result-count {
  font-size: 11.5px; color: var(--sea-600); letter-spacing: .3px;
  background: rgba(134, 210, 203, .16); border: 1px solid rgba(134, 210, 203, .3);
  border-radius: 20px; padding: 2px 10px; font-variant-numeric: tabular-nums;
}
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.view-switch {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.view-btn {
  width: 30px; height: 27px; border: none; border-radius: 6px; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--ink-3);
  transition: background .18s, color .18s;
}
.view-btn svg { width: 15px; height: 15px; fill: currentColor; }
.view-btn:hover { color: var(--sea-800); background: var(--mist-2); }
.view-btn.on { color: #fff; background: var(--sea-800); }

.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; padding: 7px 15px; border-radius: 9px; cursor: pointer;
  background: var(--paper); color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: all .18s var(--ease); user-select: none;
  font-variant-numeric: tabular-nums;
}
.cat-chip i {
  font-style: normal; font-size: 10.5px; color: var(--ink-3);
  background: var(--mist-2); border-radius: 7px; padding: 1px 6px;
}
.cat-chip:hover { border-color: rgba(44, 114, 145, .45); color: var(--sea-800); transform: translateY(-1px); }
.cat-chip.on {
  color: #fff; background: linear-gradient(120deg, #1a4762, #2c7291);
  border-color: #1a4762; box-shadow: 0 8px 18px -10px rgba(26, 71, 98, .95);
  font-weight: 600;
}
.cat-chip.on i { color: #fff; background: rgba(255, 255, 255, .2); }

.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-label {
  font-size: 10.5px; letter-spacing: 1.4px; color: var(--ink-3);
  flex-shrink: 0; font-weight: 600;
}
.tag-more {
  border: 1px solid var(--line); background: var(--paper); color: var(--sea-600);
  font-size: 11.5px; font-family: inherit; cursor: pointer; padding: 4px 10px;
  border-radius: 8px; flex-shrink: 0; transition: border-color .18s, color .18s;
}
.tag-more:hover { border-color: rgba(44, 114, 145, .45); color: var(--sea-800); }
.tag-bar { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-bar .chip {
  font-size: 11.5px; padding: 5px 13px; border-radius: 8px; cursor: pointer;
  background: var(--paper); color: var(--ink-2); border: 1px solid var(--line);
  transition: all .18s var(--ease);
}
.tag-bar .chip:hover { border-color: rgba(44, 114, 145, .45); color: var(--sea-800); transform: translateY(-1px); }
.tag-bar .chip.on {
  background: var(--sea-800); border-color: var(--sea-800); color: #fff;
  box-shadow: 0 6px 14px -8px rgba(26, 71, 98, .9); font-weight: 600;
}

/* ============================================================
   投顾卡片 · 编辑式（分类色条 + 序号 + 讲究字阶）
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr));
  gap: var(--gap);
}
.card {
  --c-cat: var(--c-other);
  position: relative; overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(18, 50, 70, .06);
  border-radius: var(--radius);
  padding: var(--pad-card) var(--pad-card) calc(var(--pad-card) * .7);
  display: flex; flex-direction: column; gap: 11px;
  cursor: pointer; container-type: inline-size;
  box-shadow: var(--shadow);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.card.cat-stock { --c-cat: var(--c-stock); }
.card.cat-bond  { --c-cat: var(--c-bond); }
.card.cat-plan  { --c-cat: var(--c-plan); }
/* 顶部常驻分类色条 */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-cat), transparent 82%);
  opacity: .78; transition: opacity .26s var(--ease), height .26s var(--ease);
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 150px;
  pointer-events: none; opacity: 0;
  background: radial-gradient(340px 140px at 50% 0%, rgba(134, 210, 203, .16), transparent 72%);
  transition: opacity .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(44, 114, 145, .2);
}
.card:hover::before { opacity: 1; height: 4px; }
.card:hover::after { opacity: 1; }
.card:active { transform: translateY(-1px) scale(.995); }

/* 右上角序号水印 */
.card-idx {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: #cbd9e2; font-variant-numeric: tabular-nums;
  transition: color .26s var(--ease);
}
.card:hover .card-idx { color: var(--c-cat); }

.card-head { display: flex; align-items: center; gap: 13px; min-width: 0; padding-top: 3px; }
.ava-ring {
  flex-shrink: 0; width: var(--ava); height: var(--ava); border-radius: 50%; padding: 2px;
  background: linear-gradient(145deg, #d8ecf3, #eef8f6 45%, #cfe8e5);
  transition: background .3s var(--ease);
}
.card:hover .ava-ring { background: linear-gradient(145deg, var(--c-cat), #a8dcd7 70%, var(--c-cat)); }
.ava-ring .avatar {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  display: block; background: var(--mist-2); border: 2px solid #fff;
}
.card .head-info { flex: 1; min-width: 0; }
.card .name-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.card .name {
  min-width: 0; font-size: var(--fs-name); font-weight: 700; letter-spacing: .2px;
  color: var(--sea-950); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card .badge-verify {
  flex-shrink: 0; font-size: 9.5px; font-weight: 600; letter-spacing: .3px;
  color: var(--sea-600); background: var(--aqua-soft);
  border-radius: 5px; padding: 1.5px 6px;
}
.badge-cat {
  font-size: 9.5px; letter-spacing: .3px; font-weight: 600;
  color: var(--c-cat); background: var(--mist-2);
  border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px; white-space: nowrap; flex-shrink: 0;
}
/* 支持 color-mix 的浏览器用分类色染出淡底，形成色标一致性；不支持时回退上面的中性底 */
@supports (background: color-mix(in srgb, red 10%, white)) {
  .badge-cat {
    background: color-mix(in srgb, var(--c-cat) 10%, #fff);
    border-color: color-mix(in srgb, var(--c-cat) 26%, #fff);
  }
}

/* 来源行 */
.card-source { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11.5px; min-width: 0; }
.card-source .src-plat, .m-source .src-plat {
  flex-shrink: 0; font-size: 9.5px; letter-spacing: .3px; font-weight: 700;
  color: #2c8f6b; background: rgba(46, 158, 107, .1);
  border: 1px solid rgba(46, 158, 107, .2); border-radius: 5px; padding: 1px 6px;
}
.card-source .src-name {
  color: var(--sea-800); min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.card-catline { display: flex; margin-top: 6px; }
.card .tags { display: flex; gap: 5px; flex-wrap: wrap; }
.card .tags span {
  font-size: 10.5px; letter-spacing: .2px; color: #6f6250;
  background: #faf7f0; border: 1px solid #f0e9da;
  padding: 2px 8px; border-radius: 7px; white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.card:hover .tags span { background: #fbf8f1; border-color: #ecdfc6; }

.card .bio {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: clamp(56px, 5vw, 68px);
}
.bio-empty { min-height: clamp(56px, 5vw, 68px); }

.card .stats {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border-top: 1px dashed var(--line); padding-top: 11px; margin-top: auto;
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
}
.card .stats .s-heat { color: #b0802c; }
.card .stats .sep { font-style: normal; color: var(--line); font-weight: 400; }
.card .stats .v-up { color: var(--up); }
.card .stats .v-down { color: var(--down); }
.card .stats-slim { justify-content: flex-end; }
.card-go {
  margin-left: auto; flex-shrink: 0;
  font-size: 11px; letter-spacing: .4px; color: var(--sea-600); font-weight: 600;
  opacity: .5; transform: translateX(-3px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.card:hover .card-go { opacity: 1; transform: translateX(0); color: var(--c-cat); }

/* 紧凑列表视图 */
.card-grid.list-view { grid-template-columns: minmax(0, 1fr); gap: 9px; }
.card-grid.list-view .card {
  flex-direction: row; align-items: center; gap: 16px;
  padding: 12px var(--pad-card); border-radius: 12px;
}
.card-grid.list-view .card::before { top: 0; bottom: 0; left: 0; right: auto; width: 3px; height: auto;
  background: linear-gradient(180deg, var(--c-cat), transparent 88%); }
.card-grid.list-view .card-head { flex: 0 0 auto; padding-top: 0; }
.card-grid.list-view .ava-ring { width: 46px; height: 46px; }
.card-grid.list-view .head-info { flex: 0 1 clamp(190px, 24vw, 300px); }
.card-grid.list-view .bio { flex: 1 1 auto; min-width: 0; -webkit-line-clamp: 2; min-height: 0; }
.card-grid.list-view .tags { flex: 0 0 auto; max-width: 210px; }
.card-grid.list-view .stats { border-top: none; padding-top: 0; margin-top: 0; flex: 0 0 auto; }
.card-grid.list-view .card-idx { display: none; }
.card-grid.list-view .card:hover { transform: translateX(3px); }

.loading, .empty {
  grid-column: 1 / -1; text-align: center; color: var(--ink-3);
  padding: 64px 20px; font-size: 13.5px;
}
.empty-ico { margin-bottom: 12px; color: var(--sea-400); }
.empty-ico svg { width: 56px; height: 56px; }
.empty p { margin-bottom: 16px; }

.more-box { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.more-hint { font-size: 11.5px; color: var(--ink-3); }

/* ============================================================
   右侧 · 真实数据洞察 + 榜单
   ============================================================ */
.side-col {
  display: flex; flex-direction: column; gap: var(--gap);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.insight-card, .rank-card {
  position: relative; overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(18, 50, 70, .06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 1.4vw, 20px);
  transition: box-shadow .26s var(--ease), transform .26s var(--ease);
}
.insight-card::before, .rank-card::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent); opacity: .6;
}
.insight-card:hover, .rank-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.insight-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; margin-bottom: 16px;
}
.insight-title { font-size: 14.5px; font-weight: 700; letter-spacing: .6px; color: var(--sea-950); }
.insight-sub { font-size: 10.5px; color: var(--ink-3); letter-spacing: .3px; margin-top: 2px; }
.insight-badge {
  flex-shrink: 0; font-size: 9.5px; letter-spacing: 1px; font-weight: 700;
  color: var(--sea-600); border: 1px solid rgba(108, 173, 196, .35);
  background: rgba(108, 173, 196, .08); border-radius: 6px; padding: 2px 8px;
}

/* 风格图谱 · 条形图 */
.insight-bars { display: flex; flex-direction: column; gap: 11px; }
.insight-bar {
  display: grid; grid-template-columns: 62px 1fr 30px;
  align-items: center; gap: 9px; cursor: pointer;
  border: none; background: none; padding: 0; font-family: inherit; text-align: left;
  border-radius: 5px;
}
.insight-bar:hover .ib-label { color: var(--sea-600); }
.insight-bar:hover .ib-fill { filter: brightness(1.08); }
.ib-label {
  font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; transition: color .18s;
}
.ib-track { height: 7px; border-radius: 6px; background: var(--mist-2); overflow: hidden; }
.ib-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #2c7291, #6cadc4 60%, #86d2cb);
  transition: width .7s var(--ease), filter .18s;
}
.ib-num {
  font-size: 11px; font-weight: 700; color: var(--sea-800); text-align: right;
  font-variant-numeric: tabular-nums;
}
.insight-bar:nth-child(1) .ib-fill { background: linear-gradient(90deg, #1a4762, #4f9fb5); }
.insight-bar:nth-child(2) .ib-fill { background: linear-gradient(90deg, #235a78, #6cadc4); }
.insight-bar:nth-child(3) .ib-fill { background: linear-gradient(90deg, #2c7291, #86d2cb); }

/* 来源构成 · 环形 + 图例 */
.insight-donut-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.insight-donut {
  position: relative; flex-shrink: 0;
  width: 106px; height: 106px; border-radius: 50%;
  background: conic-gradient(var(--sea-600) 0 70%, #6cadc4 70% 84%, #86d2cb 84% 90%, #c8a45c 90% 95%, #d6e5ec 95% 100%);
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%);
  mask: radial-gradient(circle, transparent 55%, #000 56%);
}
.insight-donut-hole {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; pointer-events: none;
}
.insight-donut-hole b { display: block; font-size: 20px; color: var(--sea-950); line-height: 1.1; font-variant-numeric: tabular-nums; }
.insight-donut-hole span { font-size: 9.5px; color: var(--ink-3); letter-spacing: .6px; }
.insight-legend { flex: 1 1 110px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.il-item { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink-2); }
.il-dot { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.il-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.il-num { font-weight: 700; color: var(--sea-800); font-variant-numeric: tabular-nums; }

/* 榜单 */
.rank-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px;
}
.rank-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .6px; color: var(--sea-950); }
.rk-ico {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.rk-ico.heat { background: #fdf1e4; color: #b0802c; }
.rk-ico.ret { background: #e9f6f0; color: #2e9e6b; }
.rank-top { font-size: 9.5px; letter-spacing: 1.2px; font-weight: 700; color: var(--sea-400);
  border: 1px solid rgba(108, 173, 196, .35); border-radius: 20px; padding: 2px 8px; }

.rank-list { list-style: none; }
.rank-list li {
  display: flex; align-items: center; gap: 9px; padding: 7px 5px;
  border-radius: 9px; cursor: pointer;
  transition: background .16s var(--ease), transform .16s var(--ease);
}
.rank-list li:hover { background: var(--mist-2); transform: translateX(2px); }
.rank-list .no {
  width: 19px; height: 19px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--ink-3); font-style: normal;
  border-radius: 6px; font-variant-numeric: tabular-nums;
}
.rank-list li.medal-1 .no { background: linear-gradient(140deg, #e8c273, #c69a4b); color: #fff; }
.rank-list li.medal-2 .no { background: linear-gradient(140deg, #cfd8de, #a9b6bf); color: #fff; }
.rank-list li.medal-3 .no { background: linear-gradient(140deg, #d8ab84, #be8b5e); color: #fff; }
.rank-list img {
  width: 29px; height: 29px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1.5px solid #fff; box-shadow: 0 2px 6px rgba(18, 50, 70, .12);
}
.rank-list .rname { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-list .val { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sea-800); }
.rank-list .val.v-up { color: var(--up); }
.rank-list .val.v-down { color: var(--down); }
.rank-list .empty-rank {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 20px 8px 12px; text-align: center; cursor: default;
  font-size: 12px; color: var(--ink-3); line-height: 1.8;
}
.rank-list .empty-rank:hover { background: none; transform: none; }
.empty-rank .er-ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--mist-2); color: var(--sea-400); font-size: 16px; margin-bottom: 4px;
}
.rank-list .empty-rank small { font-size: 10.5px; color: #b3c2cd; }
.rank-note { font-size: 10.5px; color: var(--ink-3); line-height: 1.8; padding: 2px 8px; letter-spacing: .2px; }

/* ============================================================
   详情弹窗
   ============================================================ */
.modal-mask {
  position: fixed; inset: 0; z-index: 90;
  padding: clamp(12px, 2vw, 26px);
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 22, 32, .62);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  backdrop-filter: blur(7px) saturate(120%);
  animation: mask-in .2s ease;
}
@keyframes mask-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative; width: 100%;
  max-width: clamp(320px, 40vw, 560px);
  max-height: min(88vh, 880px);
  overflow-y: auto; overflow-x: hidden;
  background: var(--paper); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: pop .28s var(--ease);
  overscroll-behavior: contain;
}
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-thumb { background: #d7e5ee; border-radius: 6px; }

.modal-close {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .82); color: var(--sea-900);
  font-size: 19px; line-height: 1; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .18s, transform .18s;
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }

/* 封面式身份卡：深蓝封面承载名称与分类，头像在左下压边，正文留白区 */
.m-hero { position: relative; }
.m-cover {
  height: clamp(174px, 14vw, 216px); position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0c2738 0%, #123a4e 36%, #2c7291 76%, #4fa39e 100%);
  background-size: 200% 100%;
  animation: cover-flow 20s ease-in-out infinite alternate;
}
@keyframes cover-flow { from { background-position: 0% 0%; } to { background-position: 100% 0%; } }
.m-cover::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px) 0 0 / 6px 6px,
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .1) 48%, transparent 64%);
  opacity: .62;
}
.m-cover::after {
  content: ''; position: absolute; left: -12%; right: -12%; bottom: -76px; height: 136px;
  background: radial-gradient(58% 100% at 50% 100%, rgba(159, 227, 214, .42), transparent 72%);
  border-radius: 50%;
}
.m-cover-inner {
  position: absolute; z-index: 2;
  left: clamp(20px, 2.6vw, 34px);
  right: clamp(56px, 6vw, 76px);
  top: clamp(18px, 1.8vw, 26px);
}
.m-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: 2.2px;
  color: rgba(159, 227, 214, .78);
}
.m-eyebrow i { display: block; width: 18px; height: 1px; background: rgba(159, 227, 214, .5); }
.m-name {
  margin: 0; font-size: clamp(21px, 1.9vw, 25px); font-weight: 700;
  line-height: 1.2; letter-spacing: .8px; color: #fff;
  text-shadow: 0 3px 16px rgba(3, 20, 30, .4);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 名称单独落在深蓝封面底缘，紧贴蓝白交界线上方，头像在左下压边；无标签无框体 */
.m-nameplate {
  position: absolute; z-index: 2;
  left: clamp(126px, 11vw, 154px);
  right: clamp(16px, 2.2vw, 28px);
  bottom: clamp(4px, .6vw, 8px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.m-avatar { position: absolute; z-index: 3; left: clamp(20px, 2.6vw, 34px); bottom: -50px; }
.m-avatar img {
  display: block;
  width: clamp(86px, 7.2vw, 100px); height: clamp(86px, 7.2vw, 100px);
  border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; background: var(--mist-2);
  box-shadow: 0 12px 26px -10px rgba(6, 26, 38, .6);
}
.m-body { padding: 72px clamp(20px, 2.6vw, 34px) clamp(22px, 2.4vw, 30px); }

.m-bio { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-bottom: 16px; white-space: pre-wrap; }
.m-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.m-tags span {
  font-size: 11.5px; color: #6f6250; background: #faf7f0;
  border: 1px solid #f0e9da; padding: 3px 11px; border-radius: 8px;
}
.m-section-title { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--ink-3); margin: 4px 0 10px; }

.m-source {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: linear-gradient(120deg, #eaf7f2 0%, #eef8f7 100%);
  border: 1px solid rgba(46, 158, 107, .22);
  border-radius: 11px; padding: 11px 15px; margin-bottom: 18px;
}
.m-source .src-plat { font-size: 11px; padding: 2px 9px; }
.m-source .src-name { font-size: 14.5px; font-weight: 700; color: #1d6b51; min-width: 0; overflow-wrap: anywhere; }
.m-source .m-source-go {
  margin-left: auto; flex-shrink: 0; font-size: 14px; color: #2c8f6b;
  text-decoration: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(46, 158, 107, .25);
  transition: background .18s, transform .18s;
}
.m-source .m-source-go:hover { background: #fff; transform: translate(1px, -1px); }

.m-stats {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--mist); border-radius: 11px; padding: 10px 14px; margin-bottom: 18px;
}
.m-stats .s-heat { color: #b0802c; }
.m-stats .sep { font-style: normal; color: #cfdde7; font-weight: 400; }
.m-stats .v-up { color: var(--up); }
.m-stats .v-down { color: var(--down); }

.m-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.m-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 11px; padding: 11px 15px;
  font-size: 13px; color: var(--ink); text-decoration: none; background: #fff;
  transition: border-color .18s, background .18s, transform .18s;
}
a.m-link:hover { border-color: rgba(44, 114, 145, .45); background: #f7fbfd; transform: translateX(2px); }
.m-link .go { color: var(--sea-600); font-size: 14px; flex-shrink: 0; }
.m-link-plain { color: var(--ink-2); background: var(--mist); border-style: dashed; cursor: default; }

/* 官网订阅 · 金色价格卡 */
.m-link-price {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fdf8ea 0%, #faf0d8 55%, #fdf9ef 100%);
  border: 1px solid #ecd9ae; border-radius: 13px;
  padding: 15px 18px 13px; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.m-link-price::after {
  content: ''; position: absolute; top: -60%; left: -30%; width: 40%; height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  opacity: 0; transition: opacity .3s;
}
a.m-link-price:hover::after { opacity: 1; animation: shine 1s ease; }
@keyframes shine { from { left: -30%; } to { left: 110%; } }
.m-link-price .pl-label { font-size: 11.5px; letter-spacing: 1.4px; color: #9c7f3d; border-right: 1px solid #e6d3a8; padding-right: 11px; }
.m-link-price b { font-size: 24px; color: #8a5c14; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.m-link-price .pl-unit { font-size: 12.5px; color: #9c7f3d; }
.m-link-price .go { font-size: 15px; color: #b5872f; margin-left: 2px; }
a.m-link-price { text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.m-link-price:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(198, 154, 75, .8); }

.m-actions { text-align: center; margin-top: 4px; }
.m-actions a {
  display: inline-block; padding: 11px 34px; border-radius: 26px;
  font-size: 13.5px; letter-spacing: .6px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #1c4a63, #2c7291);
  box-shadow: 0 10px 22px -14px rgba(26, 71, 98, .95);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.m-actions a:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(26, 71, 98, 1); }

/* ============================================================
   深色页脚：与顶栏 / 主视觉呼应
   ============================================================ */
.site-footer {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #0c2635 0%, #081c28 100%);
  color: var(--deep-mute);
  border-top: 1px solid var(--deep-line);
  padding: clamp(28px, 3vw, 42px) 0 22px;
}
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-size: 16px; font-weight: 700; letter-spacing: 2px; color: #eef8fa; margin-bottom: 6px; }
.footer-brand span { font-size: 9.5px; letter-spacing: 2px; font-weight: 500; color: var(--deep-faint); margin-left: 6px; }
.footer-meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; line-height: 1.9; color: var(--deep-mute); font-size: 12px; }
.footer-meta .fsep { color: var(--deep-faint); }
.site-footer .footer-tip { max-width: 480px; text-align: right; line-height: 1.8; color: var(--deep-faint); }

.hero-meta { display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap; font-size: 11.5px; color: var(--deep-mute); letter-spacing: .3px; }
.hero-meta b { font-size: 12.5px; font-weight: 700; color: #e6f4f6; font-variant-numeric: tabular-nums; }
.hero-meta b.v-up { color: #ef8b83; }
.hero-meta b.v-down { color: #76cfa3; }
.hero-meta i { font-style: normal; color: var(--deep-faint); }

.shop-card {
  position: relative; overflow: hidden;
  margin-top: 22px; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px);
  border: 1px solid rgba(216, 189, 130, .32); border-radius: 16px;
  background: linear-gradient(115deg, #12384a 0%, #0e2b3a 58%, #123246 100%);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 32px; flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -26px rgba(4, 20, 30, .9);
}
.shop-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--aqua), var(--gold));
}
.shop-glow {
  position: absolute; right: -8%; top: -70%; width: 46%; height: 260%;
  background: radial-gradient(closest-side, rgba(134, 210, 203, .18), transparent 74%);
  pointer-events: none;
}
.shop-lead { position: relative; z-index: 1; flex: 1 1 340px; min-width: 0; }
.shop-kicker {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: #d9bd82; margin-bottom: 8px;
}
.shop-headline {
  margin: 0 0 6px; font-size: clamp(18px, 1.8vw, 23px); font-weight: 700;
  letter-spacing: 1px; line-height: 1.35; color: #f2fafb;
}
.shop-subline { margin: 0 0 8px; font-size: 13px; color: #9fe3d6; letter-spacing: .4px; }
.shop-desc { margin: 0; font-size: 12px; color: rgba(226, 240, 242, .7); line-height: 1.85; max-width: 620px; }
.shop-action {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(159, 227, 214, .2);
}
.shop-action-label { font-size: 11px; letter-spacing: 2px; color: var(--deep-faint); }
.shop-qq {
  display: inline-flex; align-items: center; gap: 12px;
  border: none; cursor: pointer; font-family: inherit;
  padding: 10px 18px; border-radius: 11px;
  background: linear-gradient(120deg, #e8f6f3 0%, #d6eee9 100%);
  box-shadow: 0 10px 24px -12px rgba(159, 227, 214, .6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.shop-qq:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(159, 227, 214, .8); }
.shop-qq-num {
  font-size: clamp(19px, 2vw, 25px); font-weight: 800; letter-spacing: 1.2px;
  color: #123246; font-variant-numeric: tabular-nums;
}
.shop-qq-copy {
  font-size: 11px; font-weight: 600; color: #2c7291; white-space: nowrap;
  border-left: 1px solid rgba(44, 114, 145, .3); padding-left: 12px;
}
.shop-action-tip { font-size: 10.5px; color: var(--deep-faint); letter-spacing: .5px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 16px;
  border-top: 1px solid var(--deep-line);
  font-size: 10.5px; letter-spacing: .6px; color: var(--deep-faint);
}

/* ============================================================
   按钮 / 骨架屏 / 回到顶部 / 动效
   ============================================================ */
.btn { border: none; border-radius: 10px; padding: 10px 22px; font-size: 13px; font-family: inherit; cursor: pointer; transition: all .2s var(--ease); }
.btn-ghost { background: #fff; color: var(--sea-800); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: rgba(44, 114, 145, .5); color: var(--sea-800); box-shadow: 0 8px 18px -12px rgba(26, 71, 98, .9); transform: translateY(-1px); }

/* 注意：不用 fill-mode，避免最终帧 transform 覆盖 :hover 上浮 */
.card { animation: rise .45s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.sk-card {
  background: var(--paper); border: 1px solid rgba(18, 50, 70, .05);
  border-radius: var(--radius); padding: var(--pad-card);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 13px;
}
.sk-row { display: flex; align-items: center; gap: 13px; }
.sk-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sk-circle, .sk-line {
  background: linear-gradient(90deg, #eef5f9 25%, #e0edf4 45%, #eef5f9 65%);
  background-size: 300% 100%; animation: sk-shimmer 1.5s linear infinite;
}
.sk-circle { width: var(--ava); height: var(--ava); border-radius: 50%; flex-shrink: 0; }
.sk-line { height: 11px; border-radius: 6px; }
.sk-line.w70 { width: 70%; } .sk-line.w45 { width: 45%; }
.sk-line.w90 { width: 90%; } .sk-line.w60 { width: 60%; }
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.to-top {
  position: fixed; z-index: 70;
  right: clamp(16px, 2.4vw, 34px); bottom: clamp(18px, 2.6vw, 36px);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .8); color: var(--sea-800);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -12px rgba(18, 50, 70, .6);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s, background .2s, color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--sea-800); border-color: var(--sea-800); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 全局可用性 ---------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--sea-600); outline-offset: 2px; border-radius: 6px;
}
.card, .cat-chip, .tag-bar .chip, .rank-list li, .insight-bar, .view-btn { -webkit-tap-highlight-color: transparent; }
* { scrollbar-width: thin; scrollbar-color: #cfdee8 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cfdee8; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #a9c6d5; background-clip: padding-box; }

/* ---------- 容器查询：卡片按自身宽度微调 ---------- */
@container (max-width: 250px) {
  .card .ava-ring { width: 50px; height: 50px; }
  .card .bio { -webkit-line-clamp: 2; min-height: 44px; }
  .card .badge-verify { display: none; }
  .card .tags span:nth-child(n+4) { display: none; }
  .card-source { font-size: 11px; }
}
@container (min-width: 340px) { .card .bio { -webkit-line-clamp: 4; } }

/* ---------- 断点体系 ---------- */
@media (min-width: 1800px) {
  .brand-name { font-size: 18px; }
  .hero-title { letter-spacing: 1.5px; }
}
@media (max-width: 1240px) {
  :root { --side-w: clamp(250px, 23vw, 300px); }
  .layout { gap: clamp(16px, 1.8vw, 24px); }
}
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
  .side-col .rank-note { grid-column: 1 / -1; }
  .hero-caps { flex: 1 1 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-h: 58px; --card-min: clamp(210px, 30vw, 268px); }
  .header-bar { min-height: var(--header-h); padding-top: 8px; padding-bottom: 8px; }
  .brand-sub, .brand-div, .key-hint { display: none; }
  .header-tools { width: 100%; }
  .search-box { flex: 1 1 auto; }
  .search-box input, .search-box input:focus { width: 100%; }
  #sortSelect, .admin-link { flex-shrink: 0; }
  .hero-inner { gap: 24px; }
  .hero-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-bar, .tag-bar {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  }
  .cat-bar::-webkit-scrollbar, .tag-bar::-webkit-scrollbar { display: none; }
  .filter-row { flex-wrap: nowrap; }
  .tag-bar { flex: 1 1 auto; min-width: 0; }
  .cat-chip, .tag-bar .chip, .tag-more { flex-shrink: 0; }
  .filter-label { display: none; }
  .site-footer .footer-tip { max-width: none; text-align: left; }
}
@media (max-width: 560px) {
  .header-bar { gap: 8px; }
  .brand-name { font-size: 15px; letter-spacing: 2.2px; }
  .hero-title { font-size: 30px; }
  .hero-cta { gap: 10px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card-grid.list-view .card { flex-wrap: wrap; }
  .card-grid.list-view .head-info { flex: 1 1 60%; }
  .card-grid.list-view .bio { flex: 1 1 100%; }
  .card-grid.list-view .tags { display: none; }
  .side-col { grid-template-columns: minmax(0, 1fr); }
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal { max-width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; animation: sheet-up .3s var(--ease); }
  .m-cover { height: 156px; }
  .m-cover-inner { top: 16px; right: 48px; }
  .m-eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .m-name { font-size: 19px; }
  .m-nameplate { left: 100px; right: 14px; bottom: 4px; }
  .m-avatar { bottom: -38px; }
  .m-avatar img { width: 76px; height: 76px; }
  .m-body { padding-top: 58px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shop-card { flex-direction: column; align-items: stretch; }
  .shop-action { align-self: flex-start; }
  .more-box { flex-direction: column; gap: 6px; }
  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}
@keyframes sheet-up { from { transform: translateY(30px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 380px) {
  .brand-name { letter-spacing: 1.5px; }
  .admin-link { padding: 6px 10px; }
  #sortSelect { padding: 7px 8px; }
  .card { gap: 10px; }
  .m-body { padding: 0 18px 22px; }
  .m-link-price b { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
