/* 子时攻略 · 移动前台（视觉规范沿用「积分赛克制查询」）
   间距 4pt 网格：4 / 8 / 12 / 16 / 20 / 24 / 32；页面左右留白 12，卡片内边距 16
   字号 12 / 13 / 15 / 17 / 20 / 24 / 28；圆角 10 / 14 / 18；曲线 spring + out */
:root {
  --bg: #070d14; --page: #03070b; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --ink: #f4f6f9; --ink-2: rgba(244,246,249,.72); --ink-3: rgba(244,246,249,.5); --ink-4: rgba(244,246,249,.32);
  --accent: #f2662b; --accent-2: #ff9a5c; --accent-ink: #ffb58a; --accent-bg: rgba(242,102,43,.14);
  --surface: #0e1823; --sheet: #0d1621; --fill: rgba(255,255,255,.06); --fill-2: rgba(255,255,255,.035); --card-2: rgba(255,255,255,.07);
  --bar: rgba(9,16,24,.78); --bar-solid: rgba(9,16,24,.98); --toast: rgba(22,32,44,.94); --shadow: rgba(0,0,0,.6);
  --glass: rgba(255,255,255,.06); --glass-line: rgba(255,255,255,.1); --sheet-glow: rgba(242,102,43,.2); --fig-shadow: rgba(0,0,0,.5);
  --hero-bg: radial-gradient(120% 90% at 100% 0%, rgba(242,102,43,.42), transparent 60%), radial-gradient(80% 80% at 0% 100%, rgba(90,209,230,.18), transparent 60%), linear-gradient(160deg, #142233, #0c1520);
  --liq-1: rgba(242,102,43,.55); --liq-2: rgba(90,120,255,.38); --liq-3: rgba(90,209,230,.32); --liq-4: rgba(255,90,140,.28); --liq-o: .5;
  --r-s: 4px; --r-m: 6px; --r-l: 8px;
  --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.16, 1, .3, 1);
  --font: 'MiSans', -apple-system, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --vh: 100vh; --bar-h: calc(57px + var(--safe-t)); --gut: 12px;
  color-scheme: dark;
}
@supports (height: 100dvh) { :root { --vh: 100dvh; } }
:root[data-theme="light"] {
  --bg: #f3f4f7; --page: #e4e6ea; --line: rgba(15,23,32,.08); --line-2: rgba(15,23,32,.15);
  --ink: #0f1720; --ink-2: rgba(15,23,32,.74); --ink-3: rgba(15,23,32,.54); --ink-4: rgba(15,23,32,.38);
  --accent-ink: #d24f17; --accent-bg: rgba(242,102,43,.1);
  --surface: #fff; --sheet: #fff; --fill: rgba(15,23,32,.045); --fill-2: rgba(15,23,32,.03); --card-2: rgba(15,23,32,.06);
  --bar: rgba(243,244,247,.82); --bar-solid: rgba(243,244,247,.98); --toast: rgba(255,255,255,.97); --shadow: rgba(15,23,32,.14);
  --glass: rgba(255,255,255,.75); --glass-line: rgba(15,23,32,.08); --sheet-glow: rgba(242,102,43,.12); --fig-shadow: rgba(15,23,32,.18);
  --hero-bg: radial-gradient(120% 90% at 100% 0%, rgba(242,102,43,.24), transparent 60%), radial-gradient(80% 80% at 0% 100%, rgba(90,209,230,.14), transparent 60%), linear-gradient(160deg, #fff, #f7f8fb);
  --liq-1: rgba(255,138,76,.42); --liq-2: rgba(120,150,255,.28); --liq-3: rgba(90,209,230,.28); --liq-4: rgba(255,120,160,.22); --liq-o: .6;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: var(--vh); font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
button, input, textarea { font: inherit; color: inherit; }
button { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button:focus:not(:focus-visible) { outline: none; }
.theming, .theming *, .theming *::before, .theming *::after { transition: background-color .35s, border-color .35s, color .35s, fill .35s !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ===== 外框 ===== */
.app { position: relative; width: 100%; max-width: 480px; min-height: var(--vh); margin: 0 auto; display: flex; flex-direction: column; isolation: isolate; background: var(--bg); }
@media (min-width: 481px) {
  html { background: var(--page); }
  .app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px var(--shadow); }
}
@supports (overflow: clip) { .app { overflow-x: clip; } }
.content { position: relative; flex: 1 0 auto; padding: 12px 0 32px; }
.wrap { width: 100%; padding: 0 var(--gut); }
.post-main { width: 100%; padding: 4px var(--gut) 24px; }
.gi { display: block; width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
:root[data-theme="light"] .gi { filter: drop-shadow(0 2px 3px rgba(15,23,32,.18)); }

/* 液体渐变背景 */
.aura { position: fixed; inset: 0; left: 50%; width: 100%; max-width: 480px; transform: translateX(-50%); z-index: -1; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; left: 0; top: 0; width: 90vmax; height: 90vmax; border-radius: 4px; opacity: var(--liq-o); will-change: transform; animation: liq 26s ease-in-out infinite alternate; }
.aura i:nth-child(1) { background: radial-gradient(closest-side, var(--liq-1), transparent); left: -45vmax; top: -40vmax; }
.aura i:nth-child(2) { background: radial-gradient(closest-side, var(--liq-2), transparent); left: 20vmax; top: -30vmax; width: 80vmax; height: 80vmax; animation-duration: 32s; animation-delay: -10s; }
.aura i:nth-child(3) { background: radial-gradient(closest-side, var(--liq-3), transparent); left: -30vmax; top: 35vh; width: 75vmax; height: 75vmax; animation-duration: 29s; animation-delay: -18s; }
.aura i:nth-child(4) { background: radial-gradient(closest-side, var(--liq-4), transparent); left: 30vmax; top: 55vh; width: 70vmax; height: 70vmax; animation-duration: 35s; animation-delay: -5s; }
@keyframes liq {
  0% { transform: translate3d(0,0,0) scale(1,1) rotate(0deg); }
  33% { transform: translate3d(12vmax,8vmax,0) scale(1.15,.9) rotate(40deg); }
  66% { transform: translate3d(-6vmax,14vmax,0) scale(.9,1.12) rotate(-20deg); }
  100% { transform: translate3d(8vmax,-6vmax,0) scale(1.08,1.02) rotate(25deg); }
}
.aura .grain { position: absolute; inset: -50%; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="light"] .aura .grain { opacity: .035; }
.no-blur .aura i:nth-child(n+3), .no-blur .aura .grain { display: none; }
.no-blur .aura i { animation-duration: 60s; }

/* ===== 顶栏：常驻毛玻璃 ===== */
.topbar { position: sticky; top: 0; z-index: 60; padding-top: var(--safe-t); isolation: isolate;
  background: var(--bar); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid var(--line); transition: box-shadow .35s, background .35s; animation: bar-in .7s var(--out) both; }
@keyframes bar-in { from { transform: translateY(-100%); } to { transform: none; } }
.topbar.is-stuck { box-shadow: 0 12px 32px -18px var(--shadow); }
.no-blur .topbar { background: var(--bar-solid); }
.tb-in { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; transition: transform .4s var(--spring); }
.brand:active { transform: scale(.95); }
.brand img { width: 36px; height: 36px; border-radius: 4px; box-shadow: 0 0 0 2px rgba(242,102,43,.35), 0 6px 14px -6px rgba(242,102,43,.8); }
.b-txt { display: flex; flex-direction: column; line-height: 1.15; }
.b-txt b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.b-txt em { font-style: normal; color: var(--accent-ink); }
.b-txt small { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; white-space: nowrap; }
.tb-nav { display: none; align-items: center; gap: 4px; margin-left: 16px; min-width: 0; }
.tb-nav a { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 4px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.tb-nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 3px; border-radius: 3px; transform: translateX(-50%); background: linear-gradient(90deg, #f2662b, #ff5e7a); transition: width .4s var(--spring); }
.tb-nav a:hover { color: var(--ink); background: var(--fill); }
.tb-nav a.on { color: var(--ink); font-weight: 600; }
.tb-nav a.on::after { width: 18px; }
.tb-nav a svg { width: 13px; height: 13px; opacity: .6; }
.tb-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tb-search { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); background: var(--fill); border: 1px solid var(--line); transition: transform .4s var(--spring), border-color .2s, color .2s; }
.tb-search svg { width: 17px; height: 17px; }
.tb-search span { display: none; }
.tb-search:active { transform: scale(.92); }
.icon-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); overflow: hidden;
  background: var(--fill); border: 1px solid var(--line); transition: transform .4s var(--spring), color .2s, border-color .2s; }
.icon-btn::after { content: ""; position: absolute; inset: -4px; }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 17px; height: 17px; }
@media (hover: hover) { .icon-btn:hover, .tb-search:hover { color: var(--ink); border-color: var(--line-2); } }
.theme-btn svg { position: absolute; transition: transform .55s var(--spring), opacity .3s; }
.theme-btn .t-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-theme="light"] .theme-btn .t-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-theme="light"] .theme-btn .t-moon { opacity: 1; transform: none; }
.menu-btn { color: #fff; border: 0; background: linear-gradient(110deg, #f2662b, #ff8a4c, #ff5e7a, #ff8a4c, #f2662b) 0 0 / 250% 100%; animation: flow 6s linear infinite; box-shadow: 0 8px 18px -8px rgba(242,102,43,.9); }
.burger { position: relative; width: 16px; height: 12px; }
.burger b { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--spring), opacity .2s, width .3s var(--out); }
.burger b:nth-child(1) { top: 0; } .burger b:nth-child(2) { top: 5px; width: 70%; } .burger b:nth-child(3) { top: 10px; }
.menu-btn.on .burger b:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn.on .burger b:nth-child(2) { opacity: 0; width: 0; }
.menu-btn.on .burger b:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 359px) { .b-txt small { display: none; } .tb-act { gap: 6px; } }

/* 流动渐变按钮 */
.cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap;
  background: linear-gradient(110deg, #f2662b 0%, #ff8a4c 30%, #ff5e7a 55%, #ff8a4c 75%, #f2662b 100%) 0 0 / 250% 100%; animation: flow 6s linear infinite;
  box-shadow: 0 10px 24px -10px rgba(242,102,43,.85), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .4s var(--spring); }
.cta:active { transform: scale(.95); }
.cta svg { width: 17px; height: 17px; }
@keyframes flow { to { background-position: 250% 0; } }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 8px; font-size: 15px; font-weight: 600;
  color: var(--ink); background: var(--fill); border: 1px solid var(--line); transition: transform .4s var(--spring), background .2s; white-space: nowrap; }
.ghost:active { transform: scale(.95); }
.ghost svg { width: 17px; height: 17px; }

/* ===== 卡片通用 ===== */
.block { position: relative; margin-top: 12px; padding: 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px var(--shadow); }
:root[data-theme="light"] .block { box-shadow: 0 1px 2px rgba(15,23,32,.04), 0 12px 32px -20px rgba(15,23,32,.18); }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; margin-bottom: 12px; }
.block-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.2; }
.block-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--ink-3); }
.block-more svg { width: 14px; height: 14px; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); animation: pulse 2.2s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,102,43,.6); } 70% { box-shadow: 0 0 0 7px rgba(242,102,43,0); } 100% { box-shadow: 0 0 0 0 rgba(242,102,43,0); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--accent-ink); }
.live { width: 6px; height: 6px; border-radius: 4px; background: var(--accent); animation: pulse 2.2s infinite; }
.title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }

/* ===== 门户首屏：轮播 + 快捷入口 + 热门 ===== */
.portal { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "sw" "quick" "hot"; }
.swiper { grid-area: sw; }
.quick { grid-area: quick; }
.hot { grid-area: hot; }
.card { position: relative; padding: 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -26px var(--shadow); animation: rise .8s var(--out) both; }
:root[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(15,23,32,.04), 0 12px 32px -22px rgba(15,23,32,.2); }
.sec-h { display: flex; align-items: center; gap: 8px; min-height: 28px; margin-bottom: 12px; }
.sec-h h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

.sec-sub { margin-left: auto; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.sec-h.big { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; position: relative; }
.sec-h.big::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--line); }
.sec-h.big h2 { font-size: 16px; }
.sec-h.big + .tabs-wrap { margin-top: 0; padding-top: 0; }
.sec-h.big + .tabs-wrap .tabs { border-radius: 0 0 var(--r-l) var(--r-l); border-top: 0; padding: 8px; }
.sec-h.big + .tabs-wrap.is-stuck { padding-top: 8px; }
.sec-h.big + .tabs-wrap.is-stuck .tabs { border-radius: var(--r-l); border-top: 1px solid var(--line); padding: 4px; }


/* 轮播 */
.swiper { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; background: #0b1119; -webkit-mask-image: -webkit-radial-gradient(white, black);
  box-shadow: 0 24px 48px -26px var(--shadow); animation: rise .9s .05s var(--out) both; touch-action: pan-y; isolation: isolate; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --ang: 360deg; } }
.sw-track { display: flex; height: 100%; transition: transform .7s var(--out); will-change: transform; }
.sw-track.drag { transition: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; color: #fff; }
.slide > img, .slide > .ph { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.on > img, .slide.on > .ph { transform: scale(1); }
.slide .ph { display: grid; place-items: center; background: var(--hero-bg); }
.slide .ph .gi, .slide .ph svg { width: 72px; height: 72px; opacity: .8; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,16,0) 35%, rgba(6,10,16,.6) 68%, rgba(6,10,16,.92)); }
.slide::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; z-index: 1; width: 40%; pointer-events: none; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,220,180,.18), transparent); }
.slide.on::before { animation: sweep 1.6s .5s var(--out) both; }
.sl-txt { position: absolute; left: 16px; right: 16px; bottom: 32px; z-index: 2; }
.sl-txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.sl-txt p, .sl-meta { display: none; }
.sl-tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px 0 4px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(110deg, #f2662b, #ff5e7a); box-shadow: 0 4px 14px -4px rgba(242,102,43,.9); }
.sl-tag .gi { width: 20px; height: 20px; }
.sw-ui { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 4; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.sw-dots { display: flex; gap: 6px; pointer-events: auto; }
.sw-dots i { position: relative; width: 6px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; cursor: pointer; transition: width .5s var(--out); }
.sw-dots i.on { width: 28px; }
.sw-dots i b { position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.sw-dots i.on b { animation: dotfill 5s linear forwards; }
.swiper.paused .sw-dots i.on b { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.sw-arrows { display: none; gap: 8px; pointer-events: auto; }
.sw-arr { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: rgba(8,14,22,.45); border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .35s var(--spring), background .2s; }
.sw-arr:hover { background: rgba(242,102,43,.85); }
.sw-arr:active { transform: scale(.9); }
.swiper.single .sw-ui { display: none; }
.slide.on .sl-txt { animation: slTxt .8s var(--out) both; }
@keyframes slTxt { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sweep { 0% { left: -60%; } 100% { left: 130%; } }

/* 毛玻璃图标底座：底层色斑 + 玻璃片 + 图标 */
.gt { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; isolation: isolate; }
.gt-b { position: absolute; z-index: -1; left: 8%; top: 18%; width: 84%; height: 84%; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 72%); opacity: .95; filter: blur(4px); transition: opacity .3s, transform .5s var(--spring); }
.gt-g { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px;
  background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,255,255,.03) 50%, rgba(255,255,255,.08)) , color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.18), 0 6px 14px -8px var(--shadow); overflow: hidden; }
.gt-g::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent); }
:root[data-theme="light"] .gt-g { background: linear-gradient(150deg, rgba(255,255,255,.75), rgba(255,255,255,.2) 55%, rgba(255,255,255,.5)); border-color: rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(15,23,32,.25); }
:root[data-theme="light"] .gt-b { opacity: .7; }
.no-blur .gt-g { background: var(--card-2); }
.gt .gi { position: relative; z-index: 1; width: 78%; height: 78%; }
.gt.sm { width: 28px; height: 28px; } .gt.sm .gt-b { filter: blur(3px); }
.gt.lg { width: 52px; height: 52px; } .gt.lg .gt-b { filter: blur(6px); }
.sec-h .gt .gi { width: 82%; height: 82%; }

/* 快捷入口 */
.quick { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px; padding: 12px 4px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -26px var(--shadow); animation: rise .9s .12s var(--out) both; }
:root[data-theme="light"] .quick { box-shadow: 0 1px 2px rgba(15,23,32,.04), 0 12px 32px -22px rgba(15,23,32,.2); }
.qk { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 92px; padding: 8px 4px; border-radius: 6px; text-align: center;
  animation: qk-in .7s var(--spring) both; animation-delay: calc(.2s + var(--k) * 60ms); transition: background .25s, transform .4s var(--spring); -webkit-tap-highlight-color: transparent; }
@keyframes qk-in { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
.qk .gt { margin-bottom: 6px; }
.qk .gt .gi { transition: transform .5s var(--spring); }
.qk b { font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.qk small { font-size: 11px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; }
.qk:active { transform: scale(.94); background: var(--fill); }
.qk:active .gt-b { opacity: .85; transform: scale(1.2); }
@media (hover: hover) { .qk:hover { background: var(--fill); } .qk:hover .gt .gi { transform: translateY(-3px) rotate(-6deg) scale(1.06); } }
.quick[style*="--cols: 4"] .gt.lg { width: 48px; height: 48px; }

/* 热门攻略 */
.hot { animation-delay: .1s; }
.card > .sec-h { margin: -2px -16px 4px; padding: 0 16px 14px; border-bottom: 1px solid var(--line); }
.card > .sec-h h2 { font-size: 16px; }
.hot { padding-bottom: 8px; }
.hot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hot-list li + li a { border-top: 1px dashed color-mix(in srgb, var(--line) 70%, transparent); }
.hot-list li { animation: rise .6s var(--out) both; animation-delay: calc(.2s + var(--k, 0) * 60ms); }
.hl-sk { height: 64px; border-radius: var(--r-m); margin-bottom: 4px; }
.hot-list a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; margin: 0 -8px; border-radius: var(--r-m); transition: background .2s; }
@media (hover: hover) { .hot-list a:hover { background: var(--fill); } .hot-list a:hover b { color: var(--accent-ink); } }
.rk { flex: 0 0 20px; font-style: italic; font-size: 20px; font-weight: 800; line-height: 1; text-align: center; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.rk.r1, .rk.r2, .rk.r3 { background: linear-gradient(180deg, #ffb35c, #f2662b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rk.r1 { font-size: 24px; background-image: linear-gradient(180deg, #ffd36b, #ff5e3a); }
.hl-th { position: relative; flex: 0 0 92px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--fill); }
.hl-th img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--out); }
.hot-list a:hover .hl-th img { transform: scale(1.08); }
.hl-th .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.hl-th .ph .gi { width: 30px; height: 30px; }
.hl-tx { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 56px; gap: 6px; }
.hl-tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink); transition: color .2s; }
.hl-tx small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1; color: var(--ink-4); }
.hl-tx small svg { width: 12px; height: 12px; }
.hl-tx small em { font-style: normal; font-weight: 500; }
.hl-tx small .sep { width: 1px; height: 9px; margin: 0 4px; background: var(--line-2); }

/* 主栏 + 侧栏 */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.side-tags .chips { gap: 8px; }
.promo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, rgba(242,102,43,.28), transparent 60%), var(--surface); transition: transform .4s var(--spring), border-color .25s; }
.promo.alt { background: radial-gradient(120% 120% at 100% 0%, rgba(90,140,255,.24), transparent 60%), var(--surface); }
.promo:hover { transform: translateY(-3px); border-color: var(--line-2); }
.promo-ic { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 12px var(--fig-shadow)); animation: bob 4s ease-in-out infinite; }
.promo .kicker { margin: 0 0 2px; }
.promo b { display: block; font-size: 17px; font-weight: 700; }
.promo div > span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.promo .cta, .promo .ghost { grid-column: 1 / -1; height: 38px; margin-top: 12px; font-size: 14px; }
.promo .ghost svg, .promo .cta svg { transition: transform .3s var(--spring); }
.promo:hover .cta svg, .promo:hover .ghost svg { transform: translateX(3px); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }

/* ===== 分类标签（吸顶）===== */
.tabs-wrap { position: sticky; top: var(--bar-h); z-index: 30; margin: 4px calc(var(--gut) * -1) 0; padding: 8px var(--gut); transition: background .3s; }
.tabs-wrap.is-stuck { background: var(--bar); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.no-blur .tabs-wrap.is-stuck { background: var(--bar-solid); }
.tabs { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: var(--r-l); overflow-x: auto; scrollbar-width: none; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px var(--shadow); -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 1 0 auto; height: 36px; padding: 0 8px; border-radius: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.tab svg { width: 15px; height: 15px; }
.tab .gi { width: 20px; height: 20px; margin-left: -2px; transition: transform .45s var(--spring); }
.tab.on .gi { transform: scale(1.12) rotate(-8deg); }
.tab.on { color: #fff; font-weight: 600; }
.tab-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 6px; pointer-events: none;
  background: linear-gradient(110deg, #f2662b, #ff8a4c, #ff5e7a, #ff8a4c, #f2662b) 0 0 / 250% 100%; animation: flow 6s linear infinite;
  box-shadow: 0 6px 16px -6px rgba(242,102,43,.8); transition: transform .5s var(--spring), width .5s var(--spring); }

/* ===== 文章流 ===== */
.feed-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 4px 0; }
.feed-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 700; }
.feed-head span { font-size: 12px; color: var(--ink-3); }
.feed { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; touch-action: pan-y; }
.feed.swipe-l { animation: swL .45s var(--out); } .feed.swipe-r { animation: swR .45s var(--out); }
@keyframes swL { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes swR { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.pc { position: relative; display: flex; gap: 12px; padding: 12px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 16px 32px -24px var(--shadow); opacity: 0; transform: translateY(14px);
  animation: card-in .6s var(--out) forwards; animation-delay: calc(min(var(--i, 0), 10) * 50ms); transition: transform .4s var(--spring); }
:root[data-theme="light"] .pc { box-shadow: 0 1px 2px rgba(15,23,32,.04), 0 10px 24px -18px rgba(15,23,32,.16); }
@keyframes card-in { to { opacity: 1; transform: none; } }
.pc:active { transform: scale(.98); }
.pc-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 2px 4px 0 0; }
.pc-title { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; font-weight: 600; line-height: 1.45; letter-spacing: -.005em; transition: color .2s; }
.pc-sum { margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--ink-3); }
.pc-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ink-3); white-space: nowrap; min-width: 0; overflow: hidden; }
.pc-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.pc-meta svg { width: 13px; height: 13px; }
.cat-dot { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 4px; font-size: 11.5px; font-weight: 600;
  color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, #f2662b) 14%, transparent); }
.pc-thumb { position: relative; flex: 0 0 128px; height: 80px; border-radius: var(--r-m); overflow: hidden; background: var(--fill); }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--out); }
.pc-thumb .ph, .pc-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c, var(--accent)); background: radial-gradient(120% 100% at 50% 50%, color-mix(in srgb, var(--c, #f2662b) 26%, transparent), transparent 70%), var(--fill); }
.pc-thumb .ph svg, .pc-thumb .ph .gi { width: 40px; height: 40px; opacity: .95; }
@media (hover: hover) { .pc:hover .pc-title { color: var(--accent-ink); } .pc:hover { transform: translateY(-2px); } }
.badge { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.badge.new { background: linear-gradient(135deg, #f2662b, #ff5e7a); box-shadow: 0 4px 10px -4px rgba(242,102,43,.9); }
.badge.upd { background: #2f9fd8; }
.pc.big { flex-direction: column; gap: 0; padding: 0; }
.pc-cover { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--fill); }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.pc-cover .ph svg, .pc-cover .ph .gi { width: 72px; height: 72px; opacity: .9; }
.pc.big .pc-txt { padding: 12px 16px 16px; }
.pc.big .pc-title { font-size: 18px; }
.pc.big .pc-sum { -webkit-line-clamp: 2; }
.pc.big .badge { top: 12px; left: 12px; }
.feat-mark { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600; color: #fff; background: rgba(8,14,22,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
.feat-mark .gi { width: 18px; height: 18px; margin-left: -4px; }
.pc.big::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,200,160,.16), transparent); animation: sweep 4.2s 1s ease-in-out infinite; }
@keyframes sweep { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@media (hover: hover) { .pc:hover .pc-thumb img, .pc:hover .pc-cover img { transform: scale(1.05); } .pc:hover { border-color: var(--line-2); } }
mark.hl { color: var(--accent-ink); background: none; font-weight: 700; }

/* 骨架 / 空态 / 加载 */
.sk { border-radius: 6px; background: linear-gradient(100deg, var(--fill-2) 30%, var(--card-2) 50%, var(--fill-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.pc.skel { opacity: 1; transform: none; animation: none; }
.pc.skel .sk.t { height: 18px; margin: 4px 0 8px; } .pc.skel .sk.t2 { height: 18px; width: 70%; } .pc.skel .sk.m { height: 12px; width: 50%; margin-top: auto; }
.empty { display: flex; flex-direction: column; align-items: center; padding: 24px 16px 32px; text-align: center; animation: rise .6s var(--out) both; }
.empty img { width: 112px; height: auto; filter: drop-shadow(0 18px 24px var(--fig-shadow)); animation: bob 4s ease-in-out infinite; }
.empty b { margin-top: 12px; font-size: 17px; font-weight: 700; }
.empty p { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.empty .ghost { margin-top: 16px; height: 40px; font-size: 14px; }
.more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; font-size: 13px; color: var(--ink-4); }
.more::before, .more::after { content: ""; width: 32px; height: 1px; background: var(--line-2); }
.more.loading::before, .more.loading::after { display: none; }
.spin { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* 列表页头（标签 / 搜索结果）*/
.list-head { position: relative; margin-top: 4px; padding: 20px 16px; border-radius: var(--r-l); overflow: hidden; background: var(--hero-bg); border: 1px solid var(--line); animation: rise .8s var(--out) both; }
.list-head .kicker { margin-bottom: 4px; }
.list-head h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; word-break: break-all; }
.list-head p { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }

/* ===== 页脚 ===== */
.appfoot { position: relative; margin-top: 8px; padding: 28px var(--gut) calc(24px + var(--safe-b)); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.foot-donate { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--accent-ink); background: var(--accent-bg); border: 1px solid rgba(242,102,43,.35); transition: transform .4s var(--spring), background .2s; }
.foot-donate svg { width: 17px; height: 17px; }
.foot-donate .arr { width: 14px; height: 14px; opacity: .7; }
.foot-donate:active { transform: scale(.95); background: rgba(242,102,43,.22); }
@media (hover: hover) { .foot-donate:hover { background: rgba(242,102,43,.18); } }
.foot-brand { display: flex; align-items: center; gap: 10px; text-align: left; }
.foot-brand img { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(242,102,43,.3), 0 6px 14px -6px rgba(242,102,43,.7); }
.foot-brand .b-txt b { font-size: 16px; }
.foot-slogan { margin: -4px 0 0; max-width: 280px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.foot-links { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.foot-links a { color: var(--ink-3); transition: color .2s; }
.foot-links a:hover { color: var(--accent-ink); }
.foot-links i { width: 1px; height: 10px; background: var(--line-2); }
.copyright { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-4); }

/* 打赏弹窗 */
.dn-panel { overflow: hidden; }
.dn-panel::before { content: ""; position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255,160,110,.7), transparent); }
.dn-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--fill); border: 1px solid var(--line); }
.dn-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 56px 20px; }
.dn-badge { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px; color: #fff;
  background: linear-gradient(145deg, #ff8a4c, #f2662b 55%, #c94415); box-shadow: 0 12px 28px -8px rgba(242,102,43,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.sheet.open .dn-badge { animation: dnPop .6s .1s var(--out) both; }
.dn-badge svg { width: 26px; height: 26px; }
.dn-badge::after { content: ""; position: absolute; inset: -6px; border-radius: 12px; border: 1px solid rgba(242,102,43,.45); animation: dnRing 2.4s .7s ease-out infinite; }
.dn-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .08em;
  color: var(--accent-ink); background: rgba(242,102,43,.12); border: 1px solid rgba(242,102,43,.28); }
.dn-chip i { width: 6px; height: 6px; border-radius: 50%; background: #f2662b; box-shadow: 0 0 0 3px rgba(242,102,43,.2); }
.dn-title { margin: 8px 0 0; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.dn-sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.sheet.open .dn-chip, .sheet.open .dn-title, .sheet.open .dn-sub, .sheet.open .dn-seg, .sheet.open .qr { animation: rise .6s var(--out) both; }
.sheet.open .dn-chip { animation-delay: .18s; } .sheet.open .dn-title { animation-delay: .24s; } .sheet.open .dn-sub { animation-delay: .3s; } .sheet.open .dn-seg { animation-delay: .36s; } .sheet.open .qr { animation-delay: .42s; }
.donate { padding: 0 16px calc(24px + var(--safe-b)); }
.dn-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 8px; background: var(--fill); border: 1px solid var(--line); }
.dn-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink-3); transition: color .25s; }
.dn-seg button.on { color: var(--ink); font-weight: 600; }
.dn-seg img { width: 26px; height: 26px; border-radius: 50%; }
.dn-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 6px; background: var(--card-2); box-shadow: 0 4px 12px -6px var(--shadow), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .45s var(--spring), width .45s var(--spring); }
:root[data-theme="light"] .dn-ind { background: #fff; }
.qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; perspective: 800px; }
.qr-frame { position: relative; padding: 10px; }
.qr-frame i { position: absolute; width: 22px; height: 22px; border: 2px solid #f2662b; opacity: .85; }
.qr-frame .c1 { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.qr-frame .c2 { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.qr-frame .c3 { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.qr-frame .c4 { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.qr-flip { position: relative; overflow: hidden; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transition: transform .6s var(--out); transform-style: preserve-3d; }
.qr-flip.flip { transform: rotateY(180deg) scale(.9); }
.qr-flip::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18%; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(180deg, rgba(242,102,43,0), rgba(242,102,43,.08) 80%, rgba(242,102,43,.35)); transform: translateY(-110%); animation: dnScan 2.8s 1s ease-in-out infinite; }
.qr img { display: block; width: 200px; height: 200px; border-radius: 4px; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.qr figcaption { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.qr figcaption svg { width: 15px; height: 15px; }
.donate-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; text-align: center; color: var(--ink-2); }
@keyframes dnPop { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes dnRing { 0% { opacity: .8; transform: scale(.92); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes dnScan { 0% { transform: translateY(-110%); } 55%, 100% { transform: translateY(600%); } }
@media (prefers-reduced-motion: reduce) { .dn-badge::after, .qr-flip::after { animation: none; display: none; } }
.sp-donate { width: 100%; margin-top: 16px; text-align: left; border: 1px solid rgba(255,94,122,.25); background: rgba(255,94,122,.06); }
.gt-g .dn-ic { width: 20px; height: 20px; color: #ff7a90; position: relative; z-index: 1; }

/* 品牌：主副标题左右等宽 */
.b-txt { display: inline-flex; flex-direction: column; align-items: stretch; line-height: 1.15; }
.b-txt small { display: block; width: 0; min-width: 100%; text-align: justify; text-align-last: justify; text-justify: inter-character; letter-spacing: 0; white-space: nowrap; }

/* ===== 汉堡菜单：右侧抽屉 ===== */
.sheet.side .side-panel { position: absolute; top: 0; right: 0; bottom: 0; left: auto; margin: 0; max-width: none; max-height: none; height: auto; border-radius: 8px 0 0 8px; border: 1px solid var(--line); border-right: 0; width: min(86vw, 360px); display: flex; flex-direction: column; padding-top: var(--safe-t);
  background: radial-gradient(120% 40% at 100% 0%, var(--sheet-glow), transparent 60%), var(--sheet); border-left: 1px solid var(--line); box-shadow: -24px 0 60px -12px var(--shadow);
  transform: translateX(100%); transition: transform .5s var(--out); }
.sheet.side.open .side-panel { transform: none; }
.sp-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.sp-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px calc(24px + var(--safe-b)); }
.sp-search { display: flex; align-items: center; gap: 8px; width: 100%; height: 44px; padding: 0 14px; border-radius: 6px; font-size: 14px; color: var(--ink-3); background: var(--fill); border: 1px solid var(--line); }
.sp-search svg { width: 17px; height: 17px; }
.sp-k { margin: 20px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.sp-nav { display: flex; flex-direction: column; gap: 4px; }
.sp-item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: var(--r-m); transition: background .2s, transform .35s var(--spring); }
.sheet.side.open .sp-item { animation: sp-in .55s var(--out) both; animation-delay: calc(.08s + var(--k, 0) * 45ms); }
@keyframes sp-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.sp-item .gt { width: 40px; height: 40px; }
.sp-item > svg:first-child { width: 22px; height: 22px; margin: 0 8px; color: var(--accent-ink); }
.sp-item > span:not(.gt) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sp-item b { font-size: 15px; font-weight: 600; }
.sp-item small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-item > svg:last-child { width: 16px; height: 16px; color: var(--ink-4); }
.sp-item:active { transform: scale(.97); background: var(--fill); }
.sp-item.on { background: var(--accent-bg); }
.sp-item.on b { color: var(--accent-ink); }
@media (hover: hover) { .sp-item:hover { background: var(--fill); } }

/* ===== 抽屉 / 全屏页 ===== */
.sheet { position: fixed; top: 0; bottom: 0; left: 50%; width: 100%; max-width: 480px; transform: translateX(-50%); z-index: 80; visibility: hidden; pointer-events: none; }
.sheet.open { visibility: visible; pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: rgba(3,6,10,.55); opacity: 0; transition: opacity .35s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
:root[data-theme="light"] .scrim { background: rgba(15,23,32,.35); }
.sheet.open .scrim { opacity: 1; }
.panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; max-height: calc(var(--vh) - 40px); display: flex; flex-direction: column;
  border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: 0; overflow: hidden;
  background: radial-gradient(120% 50% at 50% -12%, var(--sheet-glow), transparent 60%), var(--sheet); box-shadow: 0 -20px 60px -10px var(--shadow);
  transform: translateY(100%); transition: transform .5s var(--out); }
.sheet.open .panel { transform: none; }
.grab { width: 36px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: var(--line-2); flex: 0 0 auto; }
.sheet-head { position: relative; display: flex; align-items: center; min-height: 56px; padding: 12px 56px 12px 16px; flex: 0 0 auto; }
.sheet-title { margin: 0; font-size: 17px; font-weight: 700; }
.sheet-head .icon-btn { position: absolute; right: 12px; top: 50%; margin-top: -17px; background: var(--fill); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(24px + var(--safe-b)); }
.panel.full { top: 0; max-height: none; height: var(--vh); border-radius: 0; border: 0; padding-top: var(--safe-t); transform: translateY(24px); opacity: 0; transition: transform .45s var(--out), opacity .3s; }
.sheet.open .panel.full { transform: none; opacity: 1; }

/* 搜索页 */
.search-bar { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 var(--gut); flex: 0 0 auto; }
.search-box { position: relative; flex: 1; min-width: 0; }
.search-box svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; color: var(--ink-3); pointer-events: none; }
.search-box input { width: 100%; height: 40px; padding: 0 40px 0 40px; border-radius: 6px; border: 1px solid var(--line); background: var(--fill); font-size: 15px; outline: none;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { border-color: rgba(242,102,43,.55); box-shadow: 0 0 0 4px rgba(242,102,43,.12); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box .clr { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink-3); }
.search-box .clr svg { position: static; margin: 0; width: 16px; height: 16px; }
.search-cancel { height: 40px; padding: 0 4px; font-size: 15px; color: var(--ink-2); flex: 0 0 auto; }
.s-sec { margin-top: 16px; }
.s-sec h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.s-sec h3 button { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.s-sec h3 button svg { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13px; color: var(--ink-2); background: var(--fill); border: 1px solid var(--line);
  transition: transform .35s var(--spring); animation: rise .5s var(--out) both; animation-delay: calc(var(--k, 0) * 30ms); }
.chip:active { transform: scale(.94); }
.chip.hot { color: var(--accent-ink); background: var(--accent-bg); border-color: rgba(242,102,43,.25); }
.chip svg { width: 13px; height: 13px; }
#s-result .feed { margin-top: 0; }

/* 提示 */
.toast { position: fixed; left: 50%; max-width: min(432px, calc(100vw - 48px)); bottom: calc(32px + var(--safe-b)); z-index: 120; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 48px); padding: 10px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; background: var(--toast); border: 1px solid var(--line); box-shadow: 0 16px 40px -12px var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .45s var(--spring), opacity .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 17px; height: 17px; color: #4fd1a1; }

@media (max-width: 359px) { .pc-thumb { flex-basis: 104px; height: 68px; } .pc-title { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* 圆形例外：Logo / 状态点 / 加载圈 */
.brand img, .foot-brand img, .dot, .live, .spin, .gt-b { border-radius: 50% !important; }

/* ===== v6 统一容器：无描边，只用阴影分层 ===== */
:root { --surface: #111c28; --card-sh: 0 1px 2px rgba(0,0,0,.35), 0 12px 28px -16px rgba(0,0,0,.75); --card-sh-2: 0 8px 20px -14px rgba(0,0,0,.7); }
:root[data-theme="light"] { --surface: #fff; --card-sh: 0 1px 2px rgba(15,23,32,.04), 0 10px 26px -16px rgba(15,23,32,.2); --card-sh-2: 0 6px 16px -12px rgba(15,23,32,.22); }
.card, .block, .pc, .quick, .tabs, .sec-h.big, .list-head, .swiper, .side-panel, .sheet .panel, .toast { border: 0 !important; }
.card, .block, .pc, .quick, .tabs, .list-head, .swiper { box-shadow: var(--card-sh) !important; }
:root[data-theme="light"] .pc { box-shadow: var(--card-sh) !important; }
.sec-h.big { box-shadow: var(--card-sh); clip-path: inset(-40px -40px 0 -40px); }
.sec-h.big + .tabs-wrap .tabs { clip-path: inset(0 -40px -40px -40px); }
.sec-h.big + .tabs-wrap.is-stuck .tabs { clip-path: none; }
.tabs-wrap.is-stuck { box-shadow: 0 8px 20px -16px var(--shadow) !important; }
.topbar { border-bottom: 0 !important; }
.list-head { background: var(--surface); }
/* 顶栏按钮、胶囊、输入框：用底色区分，不描边 */
.tb-search, .tb-btn, .icon-btn, .chip, .sp-search, .search-box input, .dn-close, .sw-arr, .foot-donate, .dn-seg { border: 0 !important; }
.chip { height: 28px; padding: 0 10px; border-radius: var(--r-s); font-size: 12.5px; }
.sp-donate { border: 0 !important; }
/* 菜单：一屏放下 */
.sp-item { min-height: 48px; padding: 6px 10px; }
.sp-item .gt { width: 36px; height: 36px; }
.sp-body .sp-k { margin-top: 18px; }
/* 页脚：不画分隔线，用留白 */
.appfoot { border-top: 0 !important; margin-top: 16px; padding-top: 24px; }
.foot-brand img { box-shadow: 0 6px 14px -6px rgba(242,102,43,.7) !important; }
.app { box-shadow: 0 30px 80px -30px var(--shadow) !important; }

/* ===== v7 最新攻略：一整张容器卡 ===== */
.main-col { margin-top: 16px; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--card-sh); }
.main-col > .sec-h.big { margin: 0; background: none; box-shadow: none; clip-path: none; border-radius: var(--r-l) var(--r-l) 0 0; }
.main-col > .sec-h.big + .tabs-wrap, .main-col > .tabs-wrap { margin: 0; padding: 10px 12px; border-radius: 0; }
.main-col > .tabs-wrap.is-stuck { padding: 8px 12px; background: var(--surface); box-shadow: 0 10px 20px -16px var(--shadow) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.main-col .tabs, .main-col > .sec-h.big + .tabs-wrap .tabs, .main-col > .sec-h.big + .tabs-wrap.is-stuck .tabs { padding: 4px; border-radius: var(--r-m); background: var(--fill); box-shadow: none !important; clip-path: none; border: 0; }
.main-col .tab-ink { border-radius: 6px; }
.main-col .feed { gap: 0; margin-top: 0; padding: 0 16px; }
.main-col .pc { padding: 16px 0; border-radius: 0; background: transparent; box-shadow: none !important; overflow: visible; }
.main-col .pc + .pc { box-shadow: inset 0 1px 0 var(--line) !important; }
.main-col .pc.big { padding: 16px 0; }
.main-col .pc.big .pc-cover { border-radius: var(--r-m); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.main-col .pc.big .pc-txt { padding: 12px 0 0; }
.main-col .pc.big::after { display: none; }
.main-col .pc.big .pc-cover::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,200,160,.16), transparent); animation: sweep 4.2s 1s ease-in-out infinite; }
.main-col .pc-txt { padding-right: 0; }
.main-col .more { height: 48px; box-shadow: inset 0 1px 0 var(--line); margin: 0 16px; }
.main-col .more:empty { display: none; }
.main-col .empty { padding-top: 32px; }
@media (hover: hover) { .main-col .pc:hover { transform: none; } }

.main-col .tab { padding: 0 6px; gap: 3px; } .main-col > .tabs-wrap, .main-col > .sec-h.big + .tabs-wrap { padding-left: 10px; padding-right: 10px; }

/* ===== v8 页脚：品牌胶囊 + 版权 + 打赏，跟随主题 ===== */
.appfoot { margin-top: 4px !important; padding: 8px var(--gut) calc(24px + var(--safe-b)) !important; background: none; }
.foot-in { gap: 12px; }
.foot-brand { gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--card-sh); }
.foot-brand img { width: 36px; height: 36px; }
.foot-brand .b-txt b { font-size: 14.5px; }
.foot-brand .b-txt small { font-size: 10.5px; }
.foot-links { display: none !important; }
.appfoot .copyright { font-size: 11.5px; color: var(--ink-4); }
.appfoot .foot-donate { height: 38px; padding: 0 16px; font-size: 13.5px; }

/* ===== v8 快捷入口图标：按分类色做柔和渐变块，无描边 ===== */
.gt-g { border: 0 !important; }
.qk { gap: 0; min-height: 0; padding: 10px 4px; }
.qk .gt, .quick[style*="--cols: 4"] .qk .gt.lg { width: 52px; height: 52px; margin-bottom: 8px; }
.qk .gt-b { display: none; }
.qk .gt-g { border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--c) 46%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, #16222e), color-mix(in srgb, var(--c) 12%, #111c28));
  box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--c) 80%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.qk .gt-g::after { height: 50%; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent); }
:root[data-theme="light"] .qk .gt-g {
  background: radial-gradient(120% 90% at 30% 15%, #fff, transparent 65%), linear-gradient(160deg, color-mix(in srgb, var(--c) 26%, #fff), color-mix(in srgb, var(--c) 12%, #fff));
  box-shadow: 0 10px 18px -12px color-mix(in srgb, var(--c) 75%, transparent); }
:root[data-theme="light"] .qk .gt-g::after { display: none; }
.qk .gt .gi { width: 80%; height: 80%; filter: drop-shadow(0 3px 4px rgba(0,0,0,.28)); }
:root[data-theme="light"] .qk .gt .gi { filter: drop-shadow(0 3px 4px rgba(15,23,32,.2)); }
.qk b { font-size: 13.5px; font-weight: 600; }
.qk small { margin-top: 2px; font-size: 11px; color: var(--ink-4); }
.qk:active { background: none; }
@media (hover: hover) { .qk:hover { background: none; } }

/* ===== v9 页脚色带：跟随主题，和内容区拉开层次 ===== */
:root .main-col .pc { box-shadow: none !important; }
:root .main-col .pc + .pc { box-shadow: inset 0 1px 0 var(--line) !important; }
.appfoot { margin-top: 24px !important; padding: 28px var(--gut) calc(24px + var(--safe-b)) !important; border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #e6e9ef, #dde1e8); box-shadow: 0 -12px 28px -20px rgba(15,23,32,.25); }
:root:not([data-theme="light"]) .appfoot { background: linear-gradient(180deg, #0b131c, #060b11); box-shadow: 0 -14px 30px -18px rgba(0,0,0,.8); }
.appfoot .foot-brand { background: var(--surface); }
:root:not([data-theme="light"]) .appfoot .foot-brand { background: #15212e; }

/* ===== v10 最新攻略：资讯流布局（标题在左、缩略图在右，下划线分类）===== */
.main-col > .sec-h.big { padding: 16px 16px 4px; }
.main-col > .sec-h.big::after { display: none; }
.main-col > .sec-h.big h2 { font-size: 17px; }
.main-col > .sec-h.big + .tabs-wrap, .main-col > .tabs-wrap { padding: 0 6px; box-shadow: inset 0 -1px 0 var(--line) !important; }
.main-col > .tabs-wrap.is-stuck { padding: 0 6px; box-shadow: inset 0 -1px 0 var(--line), 0 10px 20px -16px var(--shadow) !important; }
.main-col .tabs, .main-col > .sec-h.big + .tabs-wrap .tabs, .main-col > .sec-h.big + .tabs-wrap.is-stuck .tabs { gap: 0; padding: 0; background: none; border-radius: 0; }
.main-col .tab-ink { display: none; }
.main-col .tab { flex: 0 0 auto; height: 44px; padding: 0 10px; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.main-col .tab .gi, .main-col .tab svg { display: none; }
.main-col .tab.on { color: var(--ink); font-weight: 700; }
.main-col .tab::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 20px; height: 3px; margin-left: -10px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #f2662b, #ff5e7a); transform: scaleX(0); transition: transform .35s var(--spring); }
.main-col .tab.on::after { transform: scaleX(1); }
/* 普通条目：左文右图 */
.main-col .pc:not(.big) { flex-direction: row-reverse; gap: 14px; padding: 16px 0; }
.main-col .pc:not(.big) .pc-thumb { flex: 0 0 112px; height: 76px; border-radius: var(--r-m); }
.main-col .pc:not(.big) .pc-txt { padding: 0; }
.main-col .pc:not(.big) .pc-title { font-size: 15.5px; line-height: 1.5; font-weight: 600; }
.main-col .pc:not(.big) .pc-sum { display: none; }
.main-col .pc .badge { top: 6px; left: 6px; height: 18px; padding: 0 6px; font-size: 10px; }
.main-col .pc-meta { gap: 12px; padding-top: 10px; font-size: 12px; color: var(--ink-4); }
.main-col .cat-dot { height: auto; padding: 0; background: none; font-size: 12px; font-weight: 600; }
.main-col .feed.in-cat .cat-dot { display: none; }
/* 头条大图 */
.main-col .pc.big { padding: 16px 0 16px; }
.main-col .pc.big .pc-cover { aspect-ratio: 16 / 8; }
.main-col .pc.big .pc-title { font-size: 18px; line-height: 1.45; }
.main-col .pc.big .pc-sum { margin-top: 6px; font-size: 13.5px; line-height: 1.6; }
@media (hover: hover) { .main-col .pc:hover .pc-title { color: inherit; } }
.main-col .more { height: 52px; font-size: 12.5px; }
.main-col .more::before, .main-col .more::after { width: 24px; }

/* ===== v10 页脚：去掉胶囊，微渐变 + 舒展留白 ===== */
.appfoot { padding: 36px var(--gut) calc(32px + var(--safe-b)) !important; background: linear-gradient(180deg, #eceef3 0%, #e3e6ec 100%); }
:root:not([data-theme="light"]) .appfoot { background: linear-gradient(180deg, #0c141d 0%, #080e15 100%); }
.foot-in { gap: 0; }
.appfoot .foot-brand, :root:not([data-theme="light"]) .appfoot .foot-brand { padding: 0; background: none; box-shadow: none; border-radius: 0; gap: 12px; }
.appfoot .foot-brand img { width: 42px; height: 42px; }
.appfoot .foot-brand .b-txt b { font-size: 16px; line-height: 1.35; }
.appfoot .foot-brand .b-txt small { font-size: 11px; line-height: 1.5; }
.appfoot .copyright { margin-top: 18px; font-size: 12px; line-height: 1.8; }
.appfoot .foot-donate { margin-top: 20px; height: 40px; padding: 0 20px; }

/* ===== v11 排版规范：8 栅格 / 固定字号档 / 列表最小高度 ===== */
.main-col > .sec-h.big { padding: 20px 16px 12px !important; margin: 0 !important; align-items: center; }
.main-col > .sec-h.big h2 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.main-col > .sec-h.big .sec-sub { font-size: 12px; }
.main-col > .tabs-wrap, .main-col > .sec-h.big + .tabs-wrap { padding: 0 16px !important; }
.main-col .tabs, .main-col > .sec-h.big + .tabs-wrap .tabs { gap: 24px !important; }
.main-col .tab { height: 44px; padding: 0 !important; font-size: 14px; }
.main-col .tab.on { font-size: 16px; }
.main-col .tab::after { width: 16px; margin-left: -8px; }
.main-col .feed { padding: 8px 16px 0 !important; min-height: calc(100svh - 56px - 44px - 140px); }
.main-col .feed.swap > * { animation: feedIn .32s ease both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.main-col .pc:not(.big) { align-items: stretch; gap: 12px; padding: 16px 0 !important; }
.main-col .pc:not(.big) .pc-thumb { flex: 0 0 112px; width: 112px; height: 84px; }
.main-col .pc:not(.big) .pc-txt { display: flex; flex-direction: column; justify-content: space-between; min-height: 84px; }
.main-col .pc:not(.big) .pc-title { font-size: 16px; line-height: 1.5; font-weight: 600; }
.main-col .pc-meta { padding-top: 8px; gap: 12px; font-size: 12px; line-height: 1.4; }
.main-col .pc.big { padding: 8px 0 16px !important; }
.main-col .pc.big .pc-title { margin-top: 12px; font-size: 18px; line-height: 1.4; }
.main-col .pc.big .pc-sum { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.main-col .more { margin: 0 16px; height: 56px; font-size: 12px; }
.main-col .more.few { display: block; height: auto; padding: 8px 0 20px; }
.main-col .more.few::before, .main-col .more.few::after { display: none; }
.fill-tip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 0; border-top: 1px solid var(--line); text-align: center; }
.fill-tip svg { width: 22px; height: 22px; margin-bottom: 4px; color: #f2662b; }
.fill-tip b { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fill-tip small { font-size: 12px; line-height: 1.5; color: var(--ink-4); }
.fill-rec { padding-top: 8px; border-top: 1px solid var(--line); }
.fill-h { padding: 16px 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); text-align: left; }
.fill-rec .pc { text-align: left; }
/* 页脚节奏 */
.appfoot { padding: 40px var(--gut) calc(32px + var(--safe-b)) !important; }
.appfoot .copyright { margin-top: 20px; }
.appfoot .foot-donate { margin-top: 24px; }
.main-col .feed.few { min-height: 0; }
.main-col .feed.few > .pc:last-child { border-bottom: 0; }
.main-col .feed.few > .pc:last-child::after { display: none; }
.fill-tip { border-top: 0; padding-top: 16px; }
.fill-rec .pc-title { color: var(--ink) !important; }
.fill-rec .pc-meta { color: var(--ink-4); }
.fill-rec .pc:last-child { border-bottom: 0; }
/* v12 页脚：版权放到最底部 */
.appfoot .foot-donate { margin-top: 24px; }
.appfoot .copyright { margin-top: 24px; }
