/* =========================================================================
   AI 脉搏 · PULSE
   暗色「极光 + 信号」视觉系统，移动优先。
   ========================================================================= */

/* ── 字体 ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700.woff2') format('woff2');
}

/* ── 设计令牌 ─────────────────────────────────────────────────────────── */
:root {
  --bg: #05060b;
  --bg-soft: #090b13;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f0f2fa;
  --text-2: #a9b1c6;
  --text-3: #6f7891;
  --accent: #8b7cff;
  --accent-rgb: 139, 124, 255;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --aurora: linear-gradient(112deg, #22d3ee 0%, #8b7cff 48%, #f472b6 100%);
  --cat-model: #8b7cff;
  --cat-product: #22d3ee;
  --cat-business: #fbbf24;
  --cat-policy: #f472b6;
  --cat-research: #34d399;
  --cat-chip: #fb923c;
  --cat-opensource: #a3e635;
  --cat-society: #94a3b8;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-latin: 'Space Grotesk', ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, sans-serif;
  --font-zh: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans SC', 'Segoe UI', sans-serif;
  --shadow-card: 0 18px 44px -28px rgba(0, 0, 0, 0.9);
  --ease-out: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* 主题色（设置里可切换） */
html[data-accent='cyan'] { --accent: #22d3ee; --accent-rgb: 34, 211, 238; }
html[data-accent='lime'] { --accent: #a3e635; --accent-rgb: 163, 230, 53; }
html[data-accent='pink'] { --accent: #f472b6; --accent-rgb: 244, 114, 182; }

/* ── 基础 ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-zh);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--accent-rgb), 0.35); color: #fff; }

::-webkit-scrollbar { width: 0; height: 0; }

:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.8);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mono { font-family: var(--font-latin); }

/* ── 背景氛围 ─────────────────────────────────────────────────────────── */
.app { position: relative; min-height: 100dvh; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.bg-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
  will-change: transform;
}
.bg-aurora--violet {
  width: 68vw; height: 68vw;
  max-width: 560px; max-height: 560px;
  top: -22vw; left: -18vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 68%);
  animation: auroraA 22s ease-in-out infinite alternate;
}
.bg-aurora--cyan {
  width: 58vw; height: 58vw;
  max-width: 480px; max-height: 480px;
  top: 6vh; right: -20vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 68%);
  animation: auroraB 26s ease-in-out infinite alternate;
}
.bg-aurora--pink {
  width: 62vw; height: 62vw;
  max-width: 520px; max-height: 520px;
  bottom: -22vw; left: 8vw;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.32), transparent 68%);
  animation: auroraC 30s ease-in-out infinite alternate;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 78%);
}
.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, transparent 40%, rgba(5, 6, 11, 0.6) 100%),
    linear-gradient(180deg, transparent 0%, rgba(5, 6, 11, 0.35) 60%, var(--bg) 100%);
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes auroraA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}
@keyframes auroraB {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(-5vw, 6vh, 0) scale(0.94); }
}
@keyframes auroraC {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to { transform: translate3d(5vw, -4vh, 0) scale(1.1); }
}

/* ── 顶栏 ─────────────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + var(--safe-top)) 18px 12px;
  transition: padding 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  padding-top: calc(8px + var(--safe-top));
  padding-bottom: 8px;
  background: rgba(5, 6, 11, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(139, 124, 255, 0.22), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 22px -14px rgba(139, 124, 255, 0.8);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.brand-text em {
  font-family: var(--font-latin);
  font-style: normal;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--text-3);
  margin-top: 3px;
  white-space: nowrap;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.icon-btn:active { transform: scale(0.94); background: rgba(255, 255, 255, 0.1); }
.icon-btn--live { padding: 0 12px; }
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
  flex: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.live-text {
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-2);
  white-space: nowrap;
}
body[data-conn='offline'] .live-dot { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.8); animation: none; }
body[data-conn='connecting'] .live-dot { background: #60a5fa; animation: pulseDot 1.2s infinite; }
body[data-conn='online'] .live-dot { animation: pulseDot 2.4s infinite; }

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* ── 视图容器 ─────────────────────────────────────────────────────────── */
.view-root {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: calc(76px + var(--safe-top)) 16px calc(116px + var(--safe-bottom));
  outline: none;
}
@media (min-width: 900px) {
  .view-root { max-width: 800px; padding-left: 24px; padding-right: 24px; }
}

.view { animation: viewIn 0.4s var(--ease-out) both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 2px 4px 16px; }
.view-title { font-size: 24px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.2; }
.view-title small {
  font-family: var(--font-latin);
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text-3);
  margin-bottom: 5px;
}
.view-sub { font-size: 12px; color: var(--text-3); }

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-latin);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  width: 16px; height: 1px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
}
.section-label__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 2s infinite;
}

/* ── 脉搏标头（masthead） ─────────────────────────────────────────────── */
.masthead {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 18px 20px 16px;
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(139, 124, 255, 0.2), transparent 55%),
    radial-gradient(110% 130% at 100% 10%, rgba(34, 211, 238, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -40px rgba(0, 0, 0, 1);
  overflow: hidden;
}
.masthead::after {
  content: '';
  position: absolute;
  width: 190px; height: 190px;
  right: -70px; top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.32), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}
.masthead__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.masthead__label {
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #6ee7b7;
}
.live-pill__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 1.8s infinite;
}

.masthead__date { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.masthead__day {
  font-family: var(--font-latin);
  font-size: 46px;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 30%, #c9c3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.masthead__cn { font-size: 13px; color: var(--text-2); letter-spacing: 0.06em; }
.masthead__cn b { font-weight: 600; color: var(--text); }
.masthead__clock {
  margin-left: auto;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.masthead__pulse {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin-top: 16px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.eq-bar {
  flex: 1;
  min-width: 0;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  opacity: 0.75;
  transform-origin: bottom;
  height: calc(var(--h, 0.3) * 100%);
  animation: eqPulse var(--dur, 2.4s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  transition: height 0.6s var(--ease-out);
}
@keyframes eqPulse {
  from { transform: scaleY(0.72); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 0.95; }
}
.masthead__pulse-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10px;
  color: var(--text-3);
}
.masthead__pulse-meta b { color: var(--text-2); font-weight: 600; }

.masthead__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b {
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.stat b em { font-style: normal; font-size: 11px; color: var(--text-3); font-weight: 500; margin-left: 2px; }
.stat span { font-size: 10px; color: var(--text-3); letter-spacing: 0.04em; }

/* ── 今日头条 ─────────────────────────────────────────────────────────── */
.top-story {
  position: relative;
  display: block;
  margin-top: 14px;
  border-radius: var(--radius-xl);
  padding: 18px 18px 16px;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(244, 114, 182, 0.16), transparent 52%),
    radial-gradient(110% 130% at 0% 100%, rgba(34, 211, 238, 0.14), transparent 58%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -40px rgba(139, 124, 255, 0.9);
  overflow: hidden;
  text-align: left;
}
.top-story::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.6;
}
.top-story__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.top-story__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}
.top-story__tag::before {
  content: '';
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--aurora);
}
.top-story__hot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-latin);
  font-size: 10px;
  color: #ffd479;
}
.top-story__title {
  margin-top: 11px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.005em;
}
.top-story__orig {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top-story__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 13px;
  font-size: 11px;
  color: var(--text-3);
}
.meta-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.meta-item svg { opacity: 0.7; flex: none; }
.top-story__meta .cov {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-2);
  border: 1px solid var(--line);
}
.top-story__cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0a0b12;
  background: var(--aurora);
  box-shadow: 0 10px 26px -12px rgba(139, 124, 255, 0.9);
}

/* ── 早报卡片 ─────────────────────────────────────────────────────────── */
.digest {
  margin-top: 14px;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: linear-gradient(170deg, rgba(139, 124, 255, 0.1), rgba(255, 255, 255, 0.025) 45%);
  border: 1px solid rgba(139, 124, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.digest::before {
  content: '';
  position: absolute;
  left: 18px; right: 18px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 124, 255, 0.8), transparent);
}
.digest__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.digest__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.digest__badge::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--aurora);
  opacity: 0.9;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 30%, transparent 32%) center/100% 100% no-repeat;
  display: none;
}
.digest__date { font-family: var(--font-latin); font-size: 10px; letter-spacing: 0.14em; color: var(--text-3); }
.digest__one {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.digest__one b { color: var(--text); font-weight: 500; }
.digest__list { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.digest__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 4px;
  border-radius: 12px;
  text-align: left;
  transition: background 0.2s;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.digest__item:last-child { border-bottom: 0; }
.digest__item:active { background: rgba(255, 255, 255, 0.05); }
.digest__rank {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  min-width: 20px;
  background: linear-gradient(180deg, #fff, #8b7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex: none;
}
.digest__text {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.digest__tag {
  flex: none;
  font-size: 10px;
  color: var(--cat, var(--text-3));
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat, #888) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat, #888) 26%, transparent);
  white-space: nowrap;
  margin-top: 1px;
}
.digest__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.digest__keywords { display: flex; flex-wrap: wrap; gap: 6px; overflow: hidden; max-height: 26px; }
.kw-chip {
  font-size: 10.5px;
  color: var(--text-2);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.digest__more {
  flex: none;
  font-size: 11px;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ── 日期条 + 筛选 ────────────────────────────────────────────────────── */
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 4px 10px;
}
.feed-head__right { display: flex; align-items: center; gap: 10px; }
.feed-count { font-family: var(--font-latin); font-size: 10px; color: var(--text-3); letter-spacing: 0.08em; }
.feed-count b { color: var(--text-2); font-weight: 600; }

.date-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 4px 4px;
  margin: 0 -4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.date-chip {
  flex: none;
  min-width: 54px;
  padding: 8px 10px 7px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  scroll-snap-align: start;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.date-chip b {
  font-family: var(--font-latin);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.date-chip span { font-size: 9px; color: var(--text-3); letter-spacing: 0.04em; }
.date-chip.is-active {
  background: linear-gradient(160deg, rgba(139, 124, 255, 0.9), rgba(34, 211, 238, 0.75));
  border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(139, 124, 255, 0.9);
}
.date-chip.is-active b, .date-chip.is-active span { color: #08090f; }
.date-chip.is-active span { opacity: 0.7; }

.filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 4px 2px;
  margin: 0 -4px;
  scrollbar-width: none;
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.chip:active { transform: scale(0.96); }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cat, var(--text-3)); box-shadow: 0 0 8px var(--cat, transparent); }
.chip.is-active {
  background: var(--cat, var(--accent));
  border-color: transparent;
  color: #06070c;
  font-weight: 600;
  box-shadow: 0 8px 22px -12px var(--cat, var(--accent));
}
.chip.is-active .chip__dot { background: #06070c; box-shadow: none; }

/* ── 信息流卡片 ───────────────────────────────────────────────────────── */
.feed { display: flex; flex-direction: column; }
.time-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 4px 8px;
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
}
.time-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.card {
  position: relative;
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 12px 17px;
  margin-top: 10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-card);
  text-align: left;
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), border-color 0.25s, background 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--cat, var(--accent)), transparent);
  opacity: 0.9;
}
.card:active { transform: scale(0.986); background: rgba(255, 255, 255, 0.06); }
.card.is-new { animation: cardIn 0.6s var(--ease-out) both; }
.card.is-flash { animation: cardFlash 1.6s var(--ease-out) both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.985); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes cardFlash {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5), var(--shadow-card); }
  40% { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.22), 0 0 30px -6px rgba(var(--accent-rgb), 0.5); }
  100% { box-shadow: var(--shadow-card); }
}

.card__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card__top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--text-3);
  line-height: 1.2;
}
.card__source {
  font-weight: 600;
  color: var(--text-2);
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__dot { width: 2px; height: 2px; border-radius: 50%; background: var(--text-3); opacity: 0.7; }
.card__time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__new {
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 5px;
  border-radius: 4px;
  color: #06070c;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.55);
  animation: pulseDot 1.6s infinite;
}
.card__title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.46;
  letter-spacing: 0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.card__orig {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__orig--pending { color: rgba(111, 120, 145, 0.65); font-style: italic; }
.card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  font-size: 10.5px;
  color: var(--text-3);
}
.card__cat {
  font-size: 10px;
  color: var(--cat, var(--text-3));
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat, #888) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat, #888) 24%, transparent);
  white-space: nowrap;
  margin-left: auto;
}
.hot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-latin);
  font-size: 10px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.hot svg { color: var(--cat, var(--accent)); opacity: 0.9; }
.hot-bar {
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex: none;
}
.hot-bar i {
  display: block;
  height: 100%;
  width: var(--hot, 0%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cat, var(--accent)), var(--accent-2));
  transition: width 0.6s var(--ease-out);
}
.cov {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-latin);
  font-size: 10px;
  color: var(--text-3);
}
.cov--strong { color: var(--accent-2); }

.card__thumb-wrap { flex: none; width: 82px; height: 82px; border-radius: var(--radius-md); overflow: hidden; position: relative; background: linear-gradient(150deg, rgba(139, 124, 255, 0.2), rgba(34, 211, 238, 0.12)); }
.card__thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.card__thumb-wrap.is-broken { display: none; }
.card__thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.save-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, transform 0.15s;
  z-index: 2;
}
.save-btn:active { transform: scale(0.9); }
.save-btn.is-saved { color: var(--accent-2); background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.3); }
.card__body-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* 加载 / 骨架屏 */
.skeleton-card {
  height: 108px;
  margin-top: 10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.035) 30%, rgba(255, 255, 255, 0.075) 50%, rgba(255, 255, 255, 0.035) 70%);
  background-size: 220% 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -80% 0; }
}

.load-more {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  color: var(--text-2);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.load-more:active { background: rgba(255, 255, 255, 0.05); }
.feed-end {
  margin: 26px 0 4px;
  text-align: center;
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.feed-end::before, .feed-end::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ── 空状态 / 错误 ───────────────────────────────────────────────────── */
.empty-state {
  margin-top: 40px;
  padding: 40px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--line-strong);
}
.empty-art {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 35%, rgba(139, 124, 255, 0.3), rgba(34, 211, 238, 0.08) 60%, transparent 72%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
  box-shadow: 0 0 50px -10px rgba(139, 124, 255, 0.5);
}
.empty-title { font-size: 16px; font-weight: 600; }
.empty-desc { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--text-3); }
.empty-actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── 按钮 ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: transform 0.15s, background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--aurora);
  color: #06070c;
  border-color: transparent;
  box-shadow: 0 12px 30px -16px rgba(var(--accent-rgb), 0.9);
}
.btn--ghost { background: rgba(255, 255, 255, 0.04); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn--sm { padding: 8px 12px; font-size: 12px; border-radius: 11px; }

/* ── 热榜 ─────────────────────────────────────────────────────────────── */
.segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.seg-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-3);
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-latin);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.seg-btn.is-active { background: var(--text); color: #08090f; font-weight: 700; }

.rank-panel {
  margin-top: 14px;
  border-radius: var(--radius-xl);
  padding: 4px 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
}
.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.rank-item:last-child { border-bottom: 0; }
.rank-item:active { opacity: 0.75; }
.rank-num {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  width: 32px;
  flex: none;
  text-align: right;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
  font-size: 26px;
  background: linear-gradient(180deg, #fff 10%, var(--cat, var(--accent)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.35));
}
.rank-main { flex: 1; min-width: 0; }
.rank-top { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--text-3); }
.rank-label {
  font-family: var(--font-latin);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--cat, var(--accent));
  text-transform: uppercase;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-new {
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.5px 5px;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.rank-title {
  margin-top: 5px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-srcs { margin-top: 6px; font-size: 10.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.rank-meter {
  flex: none;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-top: 2px;
}
.rank-score {
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  color: var(--cat, var(--accent));
  font-variant-numeric: tabular-nums;
}
.rank-meter__bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.rank-meter__bar i { display: block; height: 100%; width: var(--v, 0%); border-radius: 3px; background: linear-gradient(90deg, var(--cat, var(--accent)), var(--accent-2)); }

/* ── 雷达 ─────────────────────────────────────────────────────────────── */
.radar-panel {
  position: relative;
  margin-top: 14px;
  border-radius: var(--radius-xl);
  padding: 14px 14px 16px;
  background:
    radial-gradient(circle at 50% 44%, rgba(34, 211, 238, 0.09), transparent 55%),
    radial-gradient(circle at 50% 44%, rgba(139, 124, 255, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  overflow: hidden;
}
.radar-stage {
  position: relative;
  width: min(100%, 430px);
  margin: 4px auto 0;
  aspect-ratio: 1 / 1;
}
.radar-stage canvas { width: 100%; height: 100%; display: block; }
.radar-blips { position: absolute; inset: 0; }
.radar-quad {
  position: absolute;
  font-family: var(--font-latin);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  text-transform: uppercase;
  pointer-events: none;
}
.radar-quad--tl { left: 10%; top: 8%; color: #8b7cff; }
.radar-quad--tr { right: 10%; top: 8%; color: #22d3ee; }
.radar-quad--br { right: 10%; bottom: 8%; color: #fbbf24; }
.radar-quad--bl { left: 10%; bottom: 8%; color: #f472b6; }
.blip {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  padding: 4px;
  border-radius: 12px;
  transition: transform 0.2s;
}
.blip:active { transform: translate(-50%, -50%) scale(0.9); }
.blip__dot {
  width: var(--sz, 12px);
  height: var(--sz, 12px);
  border-radius: 50%;
  background: var(--cat, var(--accent));
  box-shadow: 0 0 16px var(--cat, var(--accent)), 0 0 4px #fff inset;
  position: relative;
}
.blip__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--cat, var(--accent));
  opacity: 0.5;
  animation: blipPing 2.8s ease-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes blipPing {
  0% { transform: scale(0.6); opacity: 0.55; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
.blip__label {
  font-size: 9.5px;
  line-height: 1.2;
  color: var(--text-2);
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(5, 6, 11, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.blip--lg .blip__label { color: var(--text); font-weight: 600; font-size: 10.5px; }
.blip--dot .blip__label { display: none; }
.blip--lg .blip__dot { box-shadow: 0 0 22px var(--cat, var(--accent)), 0 0 5px #fff inset; }

.radar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--text-3); }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cat); box-shadow: 0 0 8px var(--cat); }

.panel {
  margin-top: 14px;
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel__title { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.panel__hint { font-family: var(--font-latin); font-size: 9.5px; letter-spacing: 0.14em; color: var(--text-3); }

.spark { margin-top: 12px; height: 92px; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-latin); font-size: 9px; color: var(--text-3); letter-spacing: 0.08em; }

.topic-list { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.topic-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.topic-row:last-child { border-bottom: 0; }
.topic-row:active { opacity: 0.75; }
.topic-rank { font-family: var(--font-latin); font-size: 12px; font-weight: 700; color: var(--text-3); width: 18px; flex: none; }
.topic-main { flex: 1; min-width: 0; }
.topic-name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.topic-cat { font-size: 9.5px; color: var(--cat, var(--text-3)); padding: 1.5px 6px; border-radius: 999px; background: color-mix(in srgb, var(--cat, #888) 13%, transparent); border: 1px solid color-mix(in srgb, var(--cat, #888) 24%, transparent); }
.topic-bar { margin-top: 7px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.topic-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--cat, var(--accent)), var(--accent-2)); width: var(--v, 0%); }
.topic-meta { flex: none; text-align: right; font-family: var(--font-latin); font-size: 10px; color: var(--text-3); }
.topic-meta b { display: block; font-size: 13px; color: var(--text-2); font-weight: 700; font-variant-numeric: tabular-nums; }

.cloud { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.cloud-word {
  font-size: calc(10px + var(--w, 0) * 8px);
  color: color-mix(in srgb, var(--accent-2) calc(30% + var(--w, 0) * 50%), var(--text-2));
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  opacity: calc(0.62 + var(--w, 0) * 0.38);
}

/* ── 收藏 ─────────────────────────────────────────────────────────────── */
.saved-toolbar { display: flex; justify-content: flex-end; margin-top: 4px; }

/* ── 设置 ─────────────────────────────────────────────────────────────── */
.settings-group {
  margin-top: 14px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  overflow: hidden;
}
.settings-group__title {
  padding: 15px 18px 4px;
  font-family: var(--font-latin);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}
.setting-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
}
.setting-row:last-child { border-bottom: 0; }
.setting-icon {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.11);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  color: var(--accent);
}
.setting-main { flex: 1; min-width: 0; }
.setting-title { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.setting-desc { margin-top: 3px; font-size: 11px; line-height: 1.5; color: var(--text-3); }
.setting-value {
  font-family: var(--font-latin);
  font-size: 11px;
  color: var(--text-3);
  text-align: right;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.setting-value b { color: var(--text-2); font-weight: 600; }
.pill {
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.pill--on { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.26); }
.pill--off { background: rgba(255, 255, 255, 0.05); color: var(--text-3); border: 1px solid var(--line); }
.pill--warn { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.26); }

.switch {
  position: relative;
  width: 44px; height: 26px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  transition: background 0.25s, border-color 0.25s;
  padding: 0;
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #cdd3e4;
  transition: transform 0.25s var(--ease-out), background 0.25s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.switch.is-on { background: linear-gradient(120deg, rgba(34, 211, 238, 0.85), rgba(139, 124, 255, 0.9)); border-color: transparent; }
.switch.is-on::after { transform: translateX(18px); background: #fff; }

.accent-row { display: flex; gap: 10px; padding: 4px 0; }
.accent-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  transition: transform 0.15s, border-color 0.2s;
  position: relative;
}
.accent-dot::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: rgba(0, 0, 0, 0.35); opacity: 0; }
.accent-dot.is-active { border-color: #fff; transform: scale(1.08); }
.accent-dot.is-active::after { opacity: 0; }
.accent-dot:active { transform: scale(0.92); }

.qr-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.qr-box {
  width: 108px; height: 108px;
  flex: none;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 8px;
  display: grid;
  place-items: center;
}
.qr-box canvas, .qr-box img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-info { flex: 1; min-width: 0; }
.qr-url {
  font-family: var(--font-latin);
  font-size: 11px;
  color: var(--accent-2);
  word-break: break-all;
  line-height: 1.5;
  margin-top: 6px;
}

.source-row { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.source-row:last-child { border-bottom: 0; }
.source-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.source-dot--ok { background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.7); }
.source-dot--err { background: #f87171; box-shadow: 0 0 8px rgba(248, 113, 113, 0.7); }
.source-name { font-size: 12px; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-meta { font-family: var(--font-latin); font-size: 10px; color: var(--text-3); white-space: nowrap; }

.about-card { padding: 20px 18px; text-align: center; }
.about-logo { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 36px -18px rgba(139, 124, 255, 0.9); }
.about-name { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.about-ver { margin-top: 4px; font-family: var(--font-latin); font-size: 10px; letter-spacing: 0.16em; color: var(--text-3); }
.about-desc { margin-top: 12px; font-size: 11.5px; line-height: 1.75; color: var(--text-3); }
.about-links { margin-top: 14px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* ── 浮动提示 / 安装条 / 顶部新消息 ───────────────────────────────────── */
.new-pill {
  position: fixed;
  top: calc(70px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--aurora);
  color: #06070c;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), 0.9);
  animation: pillIn 0.35s var(--ease-out) both;
}
.new-pill[hidden] { display: none; }
.new-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: #06070c; }
.new-pill__arrow { font-family: var(--font-latin); font-size: 13px; }
@keyframes pillIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.install-pill {
  position: fixed;
  bottom: calc(96px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: rgba(16, 18, 30, 0.9);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  animation: pillIn 0.4s var(--ease-out) both;
  max-width: calc(100vw - 28px);
}
.install-pill[hidden] { display: none; }
.install-pill__icon {
  width: 26px; height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--aurora);
  color: #06070c;
  flex: none;
}
.install-pill__close { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--text-2); font-size: 15px; line-height: 1; display: grid; place-items: center; flex: none; }
.install-pill__close:active { background: rgba(255, 255, 255, 0.16); }

/* toast */
.toast-root {
  position: fixed;
  left: 50%;
  bottom: calc(100px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: min(440px, calc(100vw - 32px));
}
.toast {
  pointer-events: auto;
  max-width: 100%;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(18, 20, 32, 0.94);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.95);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: toastIn 0.3s var(--ease-out) both;
}
.toast.is-out { animation: toastOut 0.25s ease both; }
.toast__icon { flex: none; width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; background: rgba(var(--accent-rgb), 0.2); color: var(--accent-2); }
.toast__action { color: var(--accent-2); font-weight: 700; font-size: 12px; margin-left: 4px; flex: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut {
  from { opacity: 1; }
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}

/* ── 底部导航 ─────────────────────────────────────────────────────────── */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(10px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 48;
  width: min(440px, calc(100vw - 24px));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 7px 8px 8px;
  border-radius: 24px;
  background: rgba(12, 14, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 0 3px;
  border-radius: 16px;
  color: var(--text-3);
  transition: color 0.2s;
  position: relative;
}
.dock-item.is-active { color: var(--text); }
.dock-icon { display: grid; place-items: center; height: 24px; transition: color 0.2s, filter 0.2s; }
.dock-item.is-active .dock-icon { color: var(--accent-2); filter: drop-shadow(0 0 9px rgba(34, 211, 238, 0.6)); }
.dock-label { font-size: 9.5px; letter-spacing: 0.04em; }
.dock-item--radar { flex: 0 0 68px; }
.dock-orb {
  position: relative;
  width: 50px; height: 50px;
  margin-top: -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: radial-gradient(circle at 32% 28%, #232b4d, #0a0d18 70%);
  border: 1px solid rgba(139, 124, 255, 0.45);
  box-shadow: 0 0 26px rgba(139, 124, 255, 0.35), inset 0 0 22px rgba(139, 124, 255, 0.22);
  transition: box-shadow 0.3s, color 0.3s;
}
.dock-orb__ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 124, 255, 0.32);
  animation: spin 16s linear infinite;
  pointer-events: none;
}
.dock-item--radar.is-active .dock-orb {
  color: #fff;
  box-shadow: 0 0 36px rgba(139, 124, 255, 0.75), inset 0 0 26px rgba(139, 124, 255, 0.4);
  border-color: rgba(167, 139, 250, 0.8);
}
.dock-item--radar.is-active .dock-orb__ring { border-color: rgba(34, 211, 238, 0.5); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 底部弹层 / 详情 / 搜索 ──────────────────────────────────────────── */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(2, 3, 8, 0.62);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  animation: fadeIn 0.28s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 61;
  width: min(760px, 100%);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #10131f, #07080e 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, 0.9);
  animation: sheetIn 0.34s var(--ease-out) both;
  touch-action: pan-y;
}
.sheet.is-closing { animation: sheetOut 0.24s ease both; }
@keyframes sheetIn {
  from { transform: translate(-50%, 6%); opacity: 0.4; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes sheetOut {
  from { transform: translate(-50%, 0); opacity: 1; }
  to { transform: translate(-50%, 8%); opacity: 0; }
}
.sheet__grabber { width: 40px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); margin: 9px auto 0; flex: none; }
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px 4px;
  flex: none;
}
.sheet__title { font-family: var(--font-latin); font-size: 10px; letter-spacing: 0.24em; color: var(--text-3); text-transform: uppercase; }
.sheet__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text-2);
  flex: none;
}
.sheet__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 20px calc(28px + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
}

.detail__tag-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.detail__cat {
  font-size: 10.5px;
  color: var(--cat, var(--accent));
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat, #888) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat, #888) 28%, transparent);
}
.detail__hot { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-latin); font-size: 11px; color: #ffd479; }
.detail__title { margin-top: 14px; font-size: 21px; font-weight: 700; line-height: 1.42; }
.detail__orig { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.detail__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 11px; color: var(--text-3); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail__summary {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-2);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.detail__actions { display: flex; gap: 9px; margin-top: 18px; }
.detail__actions .btn { flex: 1; }
.detail__related { margin-top: 24px; }
.related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.related-item:last-child { border-bottom: 0; }
.related-item__src { font-family: var(--font-latin); font-size: 9.5px; color: var(--accent-2); min-width: 72px; flex: none; }
.related-item__title { flex: 1; font-size: 12.5px; line-height: 1.45; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-item__time { font-family: var(--font-latin); font-size: 9.5px; color: var(--text-3); flex: none; }

.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-strong);
}
.search-input-row svg { color: var(--text-3); flex: none; }
.search-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  padding: 0;
}
.search-input::placeholder { color: var(--text-3); font-size: 14px; }
.search-hint { margin: 10px 2px 4px; font-size: 11px; color: var(--text-3); }
.search-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.search-empty { padding: 40px 0; text-align: center; color: var(--text-3); font-size: 12.5px; }

/* ── 离线条 ───────────────────────────────────────────────────────────── */
.offline-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 95;
  padding: calc(6px + var(--safe-top)) 16px 6px;
  background: rgba(245, 158, 11, 0.14);
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 11px;
  color: #fcd34d;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.offline-bar[hidden] { display: none; }

/* ── 工具类 ───────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; }
.row { display: flex; align-items: center; gap: 10px; }
.spacer { flex: 1; }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.center { text-align: center; }

/* ── 响应式 ───────────────────────────────────────────────────────────── */
@media (min-width: 760px) {
  .view-root { padding-top: calc(88px + var(--safe-top)); }
  .masthead__day { font-size: 54px; }
  .top-story__title { font-size: 24px; }
  .card__thumb-wrap { width: 96px; height: 96px; }
  .dock { width: 460px; }
}
@media (min-width: 1100px) {
  .brand-mark { width: 42px; height: 42px; }
  .view-root { max-width: 860px; }
}

/* ── 翻译 ─────────────────────────────────────────────────────────────── */
.trans-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-latin);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  color: var(--accent-2);
  text-transform: uppercase;
  white-space: nowrap;
}
.trans-pill--sm { font-size: 8.5px; letter-spacing: 0.04em; text-transform: none; }
.detail__trans { margin-top: 16px; }
.detail__trans-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.detail__trans-hint { font-size: 10.5px; color: var(--text-3); }
.detail__summary--trans {
  margin-top: 0;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.07), rgba(139, 124, 255, 0.05));
  border-color: rgba(34, 211, 238, 0.18);
}
.orig-toggle { margin-top: 10px; font-size: 11.5px; color: var(--text-3); }
.orig-toggle summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  padding: 4px 0;
  color: var(--text-3);
  font-size: 11px;
}
.orig-toggle summary::-webkit-details-marker { display: none; }
.orig-toggle summary::before { content: '▸'; font-size: 10px; color: var(--text-3); transition: transform 0.2s; }
.orig-toggle[open] summary::before { transform: rotate(90deg); }
.orig-toggle p {
  margin-top: 6px;
  line-height: 1.75;
  font-size: 12px;
  color: var(--text-3);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--line);
}
.translate-state { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--text-3); }
.translate-state__spinner {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent-2);
  animation: spin 0.9s linear infinite;
  flex: none;
}
.card__trans {
  font-size: 8px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  font-family: var(--font-zh);
  flex: none;
}

/* ── 下拉刷新指示器 ───────────────────────────────────────────────────── */
.pull-indicator {
  position: fixed;
  top: calc(74px + var(--safe-top));
  left: 50%;
  transform: translate(-50%, -60px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(16, 18, 30, 0.94);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 12px;
  color: var(--text-2);
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
  pointer-events: none;
}
.pull-indicator[hidden] { display: none; }
.pull-indicator__ring { display: grid; place-items: center; color: var(--text-3); }
.pull-indicator__ring svg { transition: transform 0.3s; }
.pull-indicator.is-ready .pull-indicator__ring svg { transform: rotate(180deg); color: var(--accent-2); }
.pull-indicator.is-loading .pull-indicator__ring svg { animation: spin 1s linear infinite; color: var(--accent-2); }

/* ── 表单 / 选择器 ────────────────────────────────────────────────────── */
.select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 28px 8px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236f7891' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  outline: none;
}
.select:focus { border-color: rgba(var(--accent-rgb), 0.6); }

/* 设置里的数字图标 */
.setting-icon { font-family: var(--font-latin); font-size: 13px; font-weight: 700; }
.about-logo img { width: 100%; height: 100%; object-fit: cover; }
.setting-title .pill { transform: translateY(-1px); }

/* topic 列表内的块级布局修正 */
.topic-main { display: flex; flex-direction: column; gap: 7px; }
.topic-bar { margin-top: 0; }
.topic-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

/* 搜索里的卡片按钮 */
button.card { font-family: inherit; }

/* ── 减少动态效果 ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .bg-aurora { animation: none !important; }
  .eq-bar { animation: none !important; height: var(--h, 0.3); }
  .dock-orb__ring { animation: none; }
}
html[data-motion='reduced'] *,
html[data-motion='reduced'] *::before,
html[data-motion='reduced'] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
html[data-motion='reduced'] .bg-aurora { animation: none !important; }
html[data-motion='reduced'] .eq-bar { animation: none !important; }

/* ── 阅读模式（App 内看原文） ─────────────────────────────────────────── */
body[data-route="read"] .topbar,
body[data-route="read"] .dock { display: none; }
body[data-route="read"] .view-root {
  padding: 0;
  max-width: none;
}
.view--reader { max-width: 760px; margin: 0 auto; padding: 0 18px; animation: none; }
.reader-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -18px;
  padding: calc(8px + var(--safe-top)) 12px 8px;
  background: linear-gradient(180deg, rgba(5,6,11,.95), rgba(5,6,11,.72) 72%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.reader-bar__title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  font-family: var(--font-latin);
}
.reader-progress {
  position: sticky;
  top: calc(50px + var(--safe-top));
  z-index: 21;
  height: 2px;
  margin: 0 -18px;
  background: rgba(255,255,255,.05);
}
.reader-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  box-shadow: 0 0 12px rgba(34,211,238,.55);
  transition: width .1s linear;
}
.reader { padding: 26px 0 34px; }
.reader__kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--text-3); }
.reader__site { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-2); font-weight: 600; }
.reader__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.reader__tag {
  font-size: 9.5px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-3);
  font-family: var(--font-latin); letter-spacing: .06em;
}
.reader__tag--on { color: var(--accent-2); border-color: rgba(34,211,238,.3); background: rgba(34,211,238,.08); }
.reader__title { font-size: 27px; line-height: 1.35; font-weight: 700; margin: 16px 0 10px; letter-spacing: .01em; }
.reader__orig-title { font-size: 12.5px; color: var(--text-3); line-height: 1.6; margin: 0 0 14px; }
.reader__meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 11px; color: var(--text-3);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.reader__notice {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 16px; padding: 11px 13px; border-radius: 12px;
  font-size: 12px; line-height: 1.6; color: #fbbf24;
  background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.22);
}
.reader__body { font-size: 17px; line-height: 1.9; color: var(--text-2); }
.reader__p { margin: 18px 0; }
.reader__body > :first-child { margin-top: 22px; }
.reader__h { font-size: 20px; line-height: 1.45; color: var(--text); margin: 30px 0 10px; font-weight: 700; }
.reader__quote {
  margin: 22px 0; padding: 12px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(139,124,255,.07);
  color: var(--text); font-style: italic;
}
.reader__list { margin: 16px 0; padding-left: 22px; }
.reader__list li { margin: 8px 0; color: var(--text-2); }
.reader__figure { margin: 24px 0; }
.reader__img { width: 100%; border-radius: 16px; border: 1px solid var(--line); display: block; background: rgba(255,255,255,.03); }
.reader__figure.is-broken { display: none; }
.reader__cap { margin-top: 8px; font-size: 11.5px; color: var(--text-3); text-align: center; }
.reader__cap--solo { text-align: left; }
.reader__end {
  margin-top: 36px; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.reader__end-line { font-size: 11px; letter-spacing: .3em; color: var(--text-3); }
.reader__end-actions { display: flex; gap: 10px; }
.reader__source { font-size: 10.5px; color: var(--text-3); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.reader__source:hover { color: var(--accent-2); }
.reader__note { font-size: 10.5px; color: var(--text-3); text-align: center; line-height: 1.7; margin: 4px 0 0; }
.reader-empty { padding: 64px 6px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.reader-empty .empty-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.reader--loading { padding-top: 34px; }
.reader--loading .skeleton-line { background: var(--surface); border-radius: 6px; }
@media (min-width: 720px) {
  .reader__title { font-size: 32px; }
  .reader__body { font-size: 18px; }
}

/* 阅读模式下隐藏全局悬浮提示（新情报 / 安装提示） */
body[data-route="read"] .new-pill,
body[data-route="read"] .install-pill { display: none !important; }

/* ── 阅读模式：整篇翻译 ─────────────────────────────────────────────── */
.reader-bar__tr {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s;
  flex: 0 0 auto;
}
.reader-bar__tr.is-active {
  color: var(--accent-2);
  border-color: rgba(34,211,238,.45);
  background: rgba(34,211,238,.12);
  box-shadow: 0 0 16px -6px rgba(34,211,238,.6);
}
.reader-bar__tr.is-busy { opacity: .6; animation: pulseDot 1s infinite; }
.reader-bar__tr.is-hidden { display: none; }
.reader__tr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-2);
  background: rgba(139,124,255,.08);
  border: 1px solid rgba(139,124,255,.22);
}
.reader__tr b { color: var(--accent-2); }
.reader__tr .btn { margin-left: auto; }
.reader__tr--done {
  color: var(--accent-2);
  background: rgba(34,211,238,.08);
  border-color: rgba(34,211,238,.25);
}
.reader__tr--busy .translate-state__spinner { width: 12px; height: 12px; }
.reader__body .is-zh, .reader__p.is-zh { color: var(--text); }
.reader__p.is-untranslated {
  color: var(--text-3);
  border-left: 2px dashed rgba(255,255,255,.12);
  padding-left: 12px;
}
.reader__p.is-untranslated::after {
  content: '待翻译';
  display: inline-block;
  margin-left: 8px;
  font-size: 9px;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 6px;
  vertical-align: middle;
  letter-spacing: .04em;
}

/* ══════════════════════════════════════════════════════════════════════
   v2 视觉升级：暗色液态玻璃 · 更低饱和 · 更克制的动效
   —— 目标：去掉"AI 生成感"的高饱和渐变，换成更接近 iOS 材质的玻璃层。
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #07080c;
  --bg-soft: #0b0d14;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #f2f3f8;
  --text-2: #b4bac9;
  --text-3: #7c8496;
  --glass-bg: rgba(17, 19, 28, 0.62);
  --glass-bg-strong: rgba(13, 15, 22, 0.82);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.2);
  --grain: rgba(255, 255, 255, 0.02);
  --spring: cubic-bezier(0.22, 1.16, 0.32, 1);
  --spring-soft: cubic-bezier(0.32, 0.92, 0.28, 1);
  --shadow-card: 0 16px 44px -32px rgba(0, 0, 0, 0.95);
}

/* ── 背景：降低极光饱和与速度，增加一层极轻的顶部微光 ── */
.bg-aurora { opacity: 0.26; filter: blur(92px); }
.bg-aurora--violet { opacity: 0.3; animation-duration: 42s; }
.bg-aurora--cyan { opacity: 0.18; animation-duration: 50s; }
.bg-aurora--pink { opacity: 0.13; animation-duration: 56s; }
.bg-grid {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-vignette {
  background:
    radial-gradient(ellipse 120% 70% at 50% -12%, transparent 42%, rgba(7, 8, 12, 0.55) 100%),
    linear-gradient(180deg, transparent 0%, rgba(7, 8, 12, 0.3) 62%, var(--bg) 100%);
}
.bg-noise { opacity: 0.35; }
.app::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 100% at 50% -55%, rgba(255, 255, 255, 0.06), transparent 70%);
}

/* ── 顶栏：滚动后变成玻璃条，带顶部高光 ── */
.topbar {
  transition: padding 0.4s var(--spring-soft), background 0.4s var(--spring-soft), border-color 0.4s;
}
.topbar.is-scrolled {
  background: rgba(10, 12, 18, 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.topbar::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.topbar.is-scrolled::after { opacity: 1; }
.brand-text strong { letter-spacing: 0.06em; font-weight: 700; }
.brand-text em { letter-spacing: 0.34em; font-size: 7.5px; color: rgba(124, 132, 150, 0.85); }
.icon-btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: transform 0.35s var(--spring), background 0.3s, border-color 0.3s;
}
.icon-btn:active { transform: scale(0.92); background: rgba(255, 255, 255, 0.09); }

/* ── 视图转场：轻微模糊 + 弹簧上浮 ── */
.view { animation: viewInV2 0.55s var(--spring-soft) both; }
@keyframes viewInV2 {
  from { opacity: 0; transform: translateY(12px) scale(0.994); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ── 卡片：玻璃材质 + 顶部高光，去掉大面积渐变发光 ── */
.card {
  border-radius: 22px;
  padding: 15px 15px 13px 18px;
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.016) 62%),
    rgba(13, 15, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  transition: transform 0.4s var(--spring-soft), border-color 0.35s, background 0.35s, box-shadow 0.4s;
}
.card::before {
  width: 2px;
  top: 16px;
  bottom: 16px;
  opacity: 0.75;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px -2px var(--cat, var(--accent));
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 32%, rgba(255, 255, 255, 0.045) 47%, transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
}
.card:active { transform: scale(0.994); background: rgba(255, 255, 255, 0.07); }
@media (hover: hover) {
  .card:hover { transform: translateY(-1.5px); border-color: rgba(255, 255, 255, 0.11); }
  .card:hover::after { opacity: 1; }
}
.card__title { font-weight: 600; letter-spacing: -0.002em; line-height: 1.5; }
.card__top { color: rgba(124, 132, 150, 0.9); }

/* 卡片入场交错（首屏 8 条） */
.feed > .card:nth-child(-n + 8) {
  animation: cardInV2 0.6s var(--spring-soft) both;
}
.feed > .card:nth-child(1) { animation-delay: 0ms; }
.feed > .card:nth-child(2) { animation-delay: 40ms; }
.feed > .card:nth-child(3) { animation-delay: 80ms; }
.feed > .card:nth-child(4) { animation-delay: 120ms; }
.feed > .card:nth-child(5) { animation-delay: 160ms; }
.feed > .card:nth-child(6) { animation-delay: 200ms; }
.feed > .card:nth-child(7) { animation-delay: 240ms; }
.feed > .card:nth-child(8) { animation-delay: 280ms; }
@keyframes cardInV2 {
  from { opacity: 0; transform: translateY(10px) scale(0.996); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ── 按钮：白色玻璃主按钮 + 玻璃次级按钮（取代彩虹渐变） ── */
.btn {
  border-radius: 15px;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.38s var(--spring), background 0.3s, border-color 0.3s, box-shadow 0.35s;
}
.btn:active { transform: scale(0.965); }
.btn--primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 240, 248, 0.82));
  color: #0a0b10;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 14px 34px -18px rgba(0, 0, 0, 0.9);
}
.btn--primary:active { background: linear-gradient(180deg, #fff, #e6e9f2); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--text-2);
}
.btn--sm { border-radius: 12px; padding: 8px 13px; }

/* ── 底部导航：液态玻璃浮岛，激活项是玻璃胶囊 ── */
.dock {
  padding: 8px 9px 9px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 32, 46, 0.55), rgba(10, 12, 19, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  backdrop-filter: blur(36px) saturate(180%);
  box-shadow:
    0 28px 60px -28px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}
.dock-item {
  padding: 6px 0 4px;
  border-radius: 18px;
  transition: color 0.35s, background 0.4s var(--spring-soft), transform 0.4s var(--spring);
}
.dock-item.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.dock-item.is-active .dock-icon { color: #fff; filter: none; }
.dock-label { font-size: 9.5px; letter-spacing: 0.06em; }
.dock-orb {
  width: 52px; height: 52px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 26px -14px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
}
.dock-orb__ring { border-color: rgba(255, 255, 255, 0.14); animation-duration: 26s; }
.dock-item--radar.is-active .dock-orb {
  box-shadow:
    0 14px 30px -12px rgba(0, 0, 0, 0.95),
    0 0 0 4px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
}
.dock-item--radar.is-active .dock-orb__ring { border-color: rgba(255, 255, 255, 0.22); }

/* ── 底部弹层：更厚的玻璃、更长的弹簧入场 ── */
.sheet-backdrop {
  background: rgba(3, 4, 8, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  animation: fadeIn 0.4s var(--spring-soft) both;
}
.sheet {
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(180deg, rgba(30, 34, 47, 0.72), rgba(11, 13, 20, 0.9) 58%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  -webkit-backdrop-filter: blur(48px) saturate(185%);
  backdrop-filter: blur(48px) saturate(185%);
  box-shadow:
    0 -32px 90px -30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: sheetInV2 0.52s var(--spring) both;
}
.sheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}
.sheet.is-closing { animation: sheetOutV2 0.26s var(--spring-soft) both; }
@keyframes sheetInV2 {
  from { transform: translate(-50%, 22px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes sheetOutV2 {
  from { transform: translate(-50%, 0); opacity: 1; }
  to { transform: translate(-50%, 26px); opacity: 0; }
}
.sheet__grabber { background: rgba(255, 255, 255, 0.22); }
.sheet__close {
  width: 34px; height: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--spring), background 0.3s;
}
.sheet__close:active { transform: scale(0.9); }
.sheet__title { letter-spacing: 0.3em; color: rgba(124, 132, 150, 0.9); }

/* ── 搜索页：玻璃输入框 + 实时热榜 ── */
.search-hero { position: sticky; top: -6px; z-index: 3; padding: 6px 0 4px; background: linear-gradient(180deg, rgba(20, 23, 33, 0.94), rgba(20, 23, 33, 0.72) 78%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s, box-shadow 0.35s, background 0.3s;
}
.search-input-row:focus-within {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 3px rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.075);
}
.search-input { font-size: 15px; letter-spacing: -0.01em; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kw-chip {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.35s var(--spring), background 0.25s, color 0.25s;
}
.kw-chip:active { transform: scale(0.94); background: rgba(255, 255, 255, 0.1); }

.hot-rank { margin-top: 22px; }
.hot-rank__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px; }
.hot-rank__title { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.hot-rank__flame { color: #ff8a5c; display: inline-grid; place-items: center; }
.hot-rank__badge {
  font-family: var(--font-latin);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--text-2);
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.hot-rank__sub { font-size: 10px; color: var(--text-3); letter-spacing: 0.02em; }
.hot-rank__list { margin-top: 8px; border-radius: 22px; background: rgba(255, 255, 255, 0.022); border: 1px solid rgba(255, 255, 255, 0.055); overflow: hidden; }
.hot-rank__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: transparent;
  transition: background 0.3s, transform 0.35s var(--spring);
  animation: hotRowIn 0.55s var(--spring-soft) both;
  animation-delay: calc(var(--i) * 26ms);
}
.hot-rank__row:last-child { border-bottom: 0; }
.hot-rank__row:active { background: rgba(255, 255, 255, 0.05); transform: scale(0.993); }
@keyframes hotRowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hot-rank__num {
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(124, 132, 150, 0.7);
  width: 26px;
  flex: 0 0 26px;
  text-align: center;
  letter-spacing: -0.02em;
}
.hot-rank__row.is-top .hot-rank__num {
  background: linear-gradient(180deg, #ffe6ae, #e6a949);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 16px;
}
.hot-rank__row.is-top:nth-child(2) .hot-rank__num {
  background: linear-gradient(180deg, #eef1f6, #a9b2c4);
  -webkit-background-clip: text;
  background-clip: text;
}
.hot-rank__row.is-top:nth-child(3) .hot-rank__num {
  background: linear-gradient(180deg, #f3c8a3, #c98d5f);
  -webkit-background-clip: text;
  background-clip: text;
}
.hot-rank__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hot-rank__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-rank__meta { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--text-3); }
.hot-rank__meta em { font-style: normal; color: var(--text-2); font-weight: 500; }
.hot-rank__meta i { width: 2px; height: 2px; border-radius: 50%; background: var(--text-3); opacity: 0.7; }
.hot-rank__chip {
  font-size: 8.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  color: #ffb27a;
  background: rgba(255, 138, 92, 0.14);
  border: 1px solid rgba(255, 138, 92, 0.25);
}
.hot-rank__score { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.hot-rank__score b { font-family: var(--font-latin); font-size: 13px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hot-rank__score small { font-size: 8px; letter-spacing: 0.08em; color: var(--text-3); }
.hot-rank__skeleton {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hot-rank__skeleton span { width: 22px; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.hot-rank__skeleton div { flex: 1; height: 12px; border-radius: 5px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.hot-rank.is-hidden { display: none; }
.search-results { display: none; }
.search-results.is-active { display: block; }
.search-results__label { display: flex; align-items: center; gap: 8px; margin: 20px 2px 2px; font-size: 11px; color: var(--text-3); }
.search-results__label b { font-family: var(--font-latin); font-size: 11px; color: var(--text-2); font-weight: 600; }
.search-results__label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.09), transparent); }

/* ── 筛选 chips / 分段控件：玻璃化 ── */
.chip {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.075);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--spring);
}
.chip:active { transform: scale(0.95); }
.chip.is-active {
  background: rgba(255, 255, 255, 0.94);
  color: #0a0b10;
  border-color: rgba(255, 255, 255, 0.7);
}
.segmented { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.08); }
.seg-btn.is-active { background: rgba(255, 255, 255, 0.94); color: #0a0b10; }

/* ── 浮层胶囊 / 提示：玻璃 ── */
.new-pill, .install-pill {
  background: rgba(20, 23, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.toast {
  background: rgba(22, 25, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* ── 详情 / 榜单等细节收敛 ── */
.detail__title { letter-spacing: -0.01em; }
.detail__actions .btn { flex: 1; }
.rank-panel { border-radius: 24px; background: rgba(255, 255, 255, 0.022); border-color: rgba(255, 255, 255, 0.06); }
.rank-item { transition: background 0.3s; }
.rank-item:active { background: rgba(255, 255, 255, 0.04); }

/* ── 减弱动效偏好 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── v2 续：收敛高饱和细节（等化器 / 头条 / 早报 / 日期条） ── */
.brand-mark svg { filter: saturate(0.42) brightness(1.12); }

.masthead {
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 55%),
    rgba(12, 14, 21, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.masthead__label { color: rgba(255, 255, 255, 0.42); }
.masthead__day { letter-spacing: -0.03em; }
.eq-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18));
  opacity: 0.42;
  border-radius: 2px;
  animation-name: eqPulseV2;
}
.eq-bar:nth-last-child(-n + 3) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.28));
  opacity: 0.62;
}
@keyframes eqPulseV2 {
  from { transform: scaleY(0.8); opacity: 0.3; }
  to { transform: scaleY(1); opacity: 0.6; }
}

.top-story {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--accent-rgb), 0.1), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 58%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.45s var(--spring-soft);
}
.top-story:active { transform: scale(0.994); }
.top-story__tag { color: rgba(255, 255, 255, 0.5); }
.top-story__tag::before {
  width: 16px; height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), transparent);
}
.top-story__hot { color: #e9c989; }
.top-story__cta {
  color: #0a0b10;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 238, 246, 0.8));
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px -14px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--spring);
}
.top-story:active .top-story__cta { transform: scale(0.9) translateX(1px); }

.digest {
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(var(--accent-rgb), 0.1), transparent 60%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.digest::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.digest__rank {
  background: linear-gradient(180deg, #fff, #9aa3b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.digest__item { border-bottom: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; }
.digest__item:active { background: rgba(255, 255, 255, 0.045); }

.date-chip {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.35s, border-color 0.3s, transform 0.35s var(--spring), box-shadow 0.35s;
}
.date-chip:active { transform: scale(0.95); }
.date-chip.is-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 239, 247, 0.82));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(0, 0, 0, 0.95);
}
.date-chip.is-active b { color: #0a0b10; }
.date-chip.is-active span { color: rgba(10, 11, 16, 0.55); opacity: 1; }

.view-root { padding-bottom: calc(128px + var(--safe-bottom)); }

/* 早报 / 雷达 / 收藏 里的小标题统一气质 */
.section-label { color: rgba(255, 255, 255, 0.38); letter-spacing: 0.16em; }

/* ── v2 续：详情 / 标签统一玻璃质感，压低彩色块 ── */
.detail__trans {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.detail__trans-head .trans-pill,
.trans-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
}
.detail__summary--trans { color: var(--text-2); line-height: 1.85; }
.detail__tag-row { filter: saturate(0.72); }
.detail__orig { color: rgba(255, 255, 255, 0.32); }
.orig-toggle summary { color: rgba(255, 255, 255, 0.34); }

.card__cat { filter: saturate(0.72); opacity: 0.9; }
.digest__tag { filter: saturate(0.72); }
.rank-item__cat, .cov { filter: saturate(0.8); }

/* 液态玻璃高光扫过（主按钮按下时有一道柔光） */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.65) 48%, transparent 62%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}
.btn--primary:active::after {
  animation: glassSweep 0.62s var(--spring-soft);
}
@keyframes glassSweep {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 0.9; }
  100% { transform: translateX(120%); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════════════
   任务栏（Dock）液态玻璃过渡动画
   - 一个会滑动的玻璃指示器（spring 位移 + 宽度变化）
   - 图标/文字/雷达球随切换做轻重不同的形变
   ══════════════════════════════════════════════════════════════════════ */
.dock {
  overflow: visible;
  isolation: isolate;
}
.dock::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 42%),
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.1), transparent 62%);
  opacity: 0.85;
  z-index: 0;
}
.dock::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
  z-index: 0;
}
.dock-item { z-index: 1; }

.dock__indicator {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height;
  transition: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.055) 55%, rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -8px 16px -12px rgba(255, 255, 255, 0.14),
    0 12px 26px -18px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(175%);
  backdrop-filter: blur(16px) saturate(175%);
}
.dock__indicator::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.11) 47%, transparent 62%);
  opacity: 0.9;
}
.dock.indicator-ready .dock__indicator {
  transition:
    transform 0.58s var(--spring),
    width 0.58s var(--spring),
    height 0.58s var(--spring),
    opacity 0.35s ease;
}
.dock-item {
  position: relative;
  transition: color 0.3s, background 0.4s, transform 0.42s var(--spring);
}
.dock-item.is-active {
  background: transparent;
  box-shadow: none;
}
.dock-item:active { transform: scale(0.93); }
.dock-icon {
  transition: transform 0.5s var(--spring), color 0.35s;
}
.dock-item.is-active .dock-icon { transform: translateY(-1px) scale(1.05); }
.dock-label { transition: color 0.35s, letter-spacing 0.4s var(--spring); }
.dock-item.is-active .dock-label { letter-spacing: 0.08em; }

.dock-item--radar .dock-orb {
  transition:
    transform 0.55s var(--spring),
    box-shadow 0.5s,
    border-color 0.5s,
    background 0.5s;
}
.dock-item--radar.is-active .dock-orb {
  transform: translateY(-3px) scale(1.07);
  animation: orbPop 0.65s var(--spring);
}
.dock-item--radar.is-active .dock-orb__ring {
  animation-duration: 9s;
  opacity: 1;
}
@keyframes orbPop {
  0% { transform: translateY(-3px) scale(0.86); }
  55% { transform: translateY(-4px) scale(1.12); }
  100% { transform: translateY(-3px) scale(1.07); }
}

/* Dock 玻璃加一点厚度，保证文字可读性（真机 backdrop blur 生效后更接近 iOS 液态玻璃） */
.dock {
  background:
    linear-gradient(180deg, rgba(26, 30, 42, 0.72), rgba(10, 12, 19, 0.9)),
    rgba(10, 12, 19, 0.5);
}

/* Dock 再加一点不透明度：真机有 backdrop blur，截图/降级环境下也能保证可读 */
.dock {
  background:
    linear-gradient(180deg, rgba(28, 32, 45, 0.86), rgba(10, 12, 19, 0.95)),
    rgba(10, 12, 19, 0.6);
}

/* ── 雷达激活态：玻璃指示器变成与雷达球同心的圆形光晕（不再出现「框叠框」） ── */
.dock__indicator.is-radar {
  border-radius: 999px;
  opacity: 0.92;
  background:
    radial-gradient(78% 78% at 38% 26%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045) 58%, rgba(255, 255, 255, 0.008)),
    rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -10px 18px -14px rgba(255, 255, 255, 0.12),
    0 0 30px -6px rgba(255, 255, 255, 0.1),
    0 16px 32px -20px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.dock-item--radar { z-index: 2; }
.dock-item--radar.is-active .dock-label { color: var(--text); }

/* ── 任务栏滑动切换：跟手拖动（UI 外观不变，只增加手势能力） ── */
.dock {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.dock.is-dragging { cursor: grabbing; }
.dock.is-dragging .dock__indicator {
  transition: none !important;
}
.dock.is-dragging .dock-item {
  transition: color 0.2s, transform 0.2s;
}
.dock.is-dragging .dock-item.is-active .dock-icon {
  transform: translateY(-1px) scale(1.02);
}

/* ══════════════════════════════════════════════════════════════════════
   v3 全软件液态玻璃：把同一套玻璃材质 / 动效语言铺到所有页面与组件
   ══════════════════════════════════════════════════════════════════════ */

/* ── 页面切换：按 Tab 顺序做方向感滑动（配合任务栏滑动切换） ── */
.view-root[data-view-dir='next'] .view { animation: viewSlideNext 0.52s var(--spring-soft) both; }
.view-root[data-view-dir='prev'] .view { animation: viewSlidePrev 0.52s var(--spring-soft) both; }
.view-root[data-view-dir='fade'] .view { animation: viewInV2 0.45s var(--spring-soft) both; }
@keyframes viewSlideNext {
  from { opacity: 0; transform: translateX(22px) scale(0.996); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes viewSlidePrev {
  from { opacity: 0; transform: translateX(-22px) scale(0.996); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* 弹层内容：逐项浮现 */
.detail > *, .sheet__body > .settings-group {
  animation: sheetItemIn 0.5s var(--spring-soft) both;
}
.detail > *:nth-child(1) { animation-delay: 20ms; }
.detail > *:nth-child(2) { animation-delay: 50ms; }
.detail > *:nth-child(3) { animation-delay: 80ms; }
.detail > *:nth-child(4) { animation-delay: 110ms; }
.detail > *:nth-child(5) { animation-delay: 140ms; }
.detail > *:nth-child(6) { animation-delay: 170ms; }
.detail > *:nth-child(n + 7) { animation-delay: 190ms; }
@keyframes sheetItemIn {
  from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ── 玻璃面板：热榜 / 雷达 / 图表 / 设置分组 / 二维码 / 关于 ── */
.panel,
.radar-panel,
.rank-panel,
.settings-group,
.qr-card,
.about-card {
  position: relative;
  border-radius: 24px;
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018) 62%),
    rgba(12, 14, 21, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow:
    0 18px 44px -34px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  overflow: hidden;
}
.panel::before,
.radar-panel::before,
.rank-panel::before,
.settings-group::before,
.qr-card::before,
.about-card::before {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
  z-index: 1;
}
.rank-panel { padding: 6px 14px; }
.radar-panel {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.05), transparent 58%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
}
.settings-group { margin-top: 16px; }
.panel { padding: 17px 18px; }

/* ── 热榜行：玻璃卡片 + 单色能量条 ── */
.rank-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 8px;
  border-radius: 16px;
  transition: background 0.35s, transform 0.4s var(--spring-soft);
}
.rank-item:active { background: rgba(255, 255, 255, 0.045); transform: scale(0.995); }
.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
  background: linear-gradient(180deg, #ffe6ae 8%, #e0a84c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}
.rank-item:nth-child(2) .rank-num { background: linear-gradient(180deg, #f4f6fb 8%, #a8b1c2 100%); -webkit-background-clip: text; background-clip: text; }
.rank-item:nth-child(3) .rank-num { background: linear-gradient(180deg, #f3c8a3 8%, #bd8253 100%); -webkit-background-clip: text; background-clip: text; }
.rank-meter { width: 54px; }
.rank-meter__bar { height: 3px; background: rgba(255, 255, 255, 0.07); }
.rank-meter__bar i { background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.28)); }
.rank-score { color: var(--text-2); }
.rank-new {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-2);
  letter-spacing: 0.08em;
}
.rank-label { color: rgba(255, 255, 255, 0.5); }

/* ── 雷达：面板 + 图例 + 话题条 ── */
.radar-legend { border-top-color: rgba(255, 255, 255, 0.06); }
.legend-dot { box-shadow: 0 0 10px -1px var(--cat); }
.radar-quad { color: rgba(255, 255, 255, 0.35); }
.topic-row { border-bottom-color: rgba(255, 255, 255, 0.05); border-radius: 14px; transition: background 0.3s, transform 0.35s var(--spring-soft); }
.topic-row:active { background: rgba(255, 255, 255, 0.045); transform: scale(0.996); }
.topic-bar { height: 3px; background: rgba(255, 255, 255, 0.06); }
.topic-bar i { background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.24)); }
.topic-cat { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.08); }
.cloud-word { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.075); color: var(--text-2); }

/* ── 设置：分组 / 行 / 图标 / 开关 ── */
.setting-row {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
}
.setting-row:hover { background: rgba(255, 255, 255, 0.028); }
.setting-row:active { background: rgba(255, 255, 255, 0.05); }
.setting-icon {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.setting-title { font-weight: 600; letter-spacing: -0.002em; }
.setting-desc { color: rgba(255, 255, 255, 0.34); }
.switch {
  width: 46px; height: 27px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.switch::after {
  width: 21px; height: 21px;
  top: 2px; left: 2px;
  background: linear-gradient(180deg, #fff, #dfe3ee);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--spring), background 0.3s;
}
.switch.is-on {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 18px -8px rgba(255, 255, 255, 0.4);
}
.switch.is-on::after { transform: translateX(19px); background: #fff; }
.source-row { border-bottom-color: rgba(255, 255, 255, 0.05); }
.source-row:hover { background: rgba(255, 255, 255, 0.025); }
.accent-dot { transition: transform 0.4s var(--spring), box-shadow 0.35s; }
.accent-dot:active { transform: scale(0.9); }
.qr-box { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }

/* ── 空态 / 骨架屏 ── */
.empty-art {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  color: var(--text-2);
}
.empty-title { letter-spacing: -0.01em; }
.empty-desc { color: rgba(255, 255, 255, 0.34); }
.skeleton-card {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.skeleton-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.06) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: skeletonSweep 1.8s ease-in-out infinite;
}
@keyframes skeletonSweep {
  to { transform: translateX(120%); }
}

/* ── 收藏 / 保存按钮 / 列表尾部 ── */
.save-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--spring), background 0.3s, color 0.3s;
}
.save-btn.is-saved {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}
.feed-end { color: rgba(255, 255, 255, 0.28); }

/* ── 通用小标题 / 页头 ── */
.view-head { margin-bottom: 18px; }
.view-title { letter-spacing: -0.018em; font-weight: 700; }
.view-sub { color: rgba(255, 255, 255, 0.32); }
.section-label { color: rgba(255, 255, 255, 0.36); }
.section-label::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent); }

/* ── 阅读模式：玻璃顶栏 / 翻译条 / 文末 ── */
.reader-bar {
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.82), rgba(14, 16, 23, 0.45) 68%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.reader__tr {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.reader__tr--done {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-2);
}
.reader__end { border-top-color: rgba(255, 255, 255, 0.06); }

/* ── 指针跟随高光（液态玻璃的「折射」）：卡片 / 面板 / 行 / 按钮 ── */
.card,
.panel,
.rank-item,
.setting-row,
.hot-rank__row,
.top-story,
.digest,
.settings-group,
.source-row,
.about-card,
.btn {
  position: relative;
}
.card::after,
.panel::after,
.rank-item::after,
.setting-row::after,
.hot-rank__row::after,
.top-story::after,
.digest::after,
.settings-group::after,
.source-row::after,
.about-card::after,
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    220px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, 0.075),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}
.card[style*='--gx']::after,
.panel[style*='--gx']::after,
.rank-item[style*='--gx']::after,
.setting-row[style*='--gx']::after,
.hot-rank__row[style*='--gx']::after,
.top-story[style*='--gx']::after,
.digest[style*='--gx']::after,
.settings-group[style*='--gx']::after,
.source-row[style*='--gx']::after,
.about-card[style*='--gx']::after,
.btn[style*='--gx']::before {
  opacity: 0.85;
}
.btn { overflow: hidden; }

/* ── 顶栏 / 弹层 / 任务栏的玻璃层再加深一点层次 ── */
.topbar.is-scrolled { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px -28px rgba(0, 0, 0, 0.9); }
.sheet__head { padding-top: 14px; }
.sheet__body { padding-top: 8px; }

/* ── 滚动条与选中 ── */
::selection { background: rgba(255, 255, 255, 0.22); color: #fff; }


/* 新情报浮标移到底部任务栏上方，避免遮挡页面标题；玻璃质感统一 */
.new-pill {
  top: auto !important;
  bottom: calc(104px + var(--safe-bottom)) !important;
  background: rgba(20, 23, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
