/* ============ 星河影视 · 白色科技风 ============ */
:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --line: rgba(15, 23, 42, 0.08);
  --line-2: rgba(37, 99, 235, 0.18);
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --primary: #2563eb;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 55%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08) 55%, rgba(124, 58, 237, 0.08));
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.16);
  --glow: 0 0 0 1px rgba(37, 99, 235, 0.25), 0 10px 30px rgba(37, 99, 235, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', Consolas, 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(37, 99, 235, 0.18); }

/* 科技感背景：网格 + 光晕 */
.bg-tech {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(124, 58, 237, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(6, 182, 212, 0.10), transparent 60%),
    var(--bg);
}
.bg-tech::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}
.bg-tech::after {
  content: ''; position: absolute; left: -20%; right: -20%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.7), transparent);
  animation: scan 7s linear infinite; opacity: 0.6;
}
@keyframes scan { from { transform: translateY(-10px); } to { transform: translateY(100vh); } }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hidden { display: none !important; }

/* ============ 顶栏 ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.topbar.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.5px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.35)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.logo:hover .logo-mark { transform: rotate(360deg); }
.searchbox { position: relative; flex: 1; max-width: 520px; margin-left: auto; }
.searchbox input {
  width: 100%; height: 42px; padding: 0 84px 0 42px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.9); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.searchbox input:focus { border-color: rgba(37, 99, 235, 0.5); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.searchbox .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.searchbox kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; background: #fff;
}
.searchbox .clear { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; width: 26px; height: 26px; border-radius: 50%; }
.searchbox .clear:hover { background: var(--panel-2); color: var(--text); }
.nav-link { color: var(--text-2); font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: 0.2s; white-space: nowrap; }
.nav-link:hover { background: var(--grad-soft); color: var(--primary); }

/* ============ 首页 Hero ============ */
.hero { padding: 44px 0 20px; }
.hero h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.2; font-weight: 800; letter-spacing: 1px; }
.hero p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.stats { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.stat {
  position: relative; min-width: 150px; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.stat b { display: block; font-size: 26px; font-family: var(--mono); font-weight: 700; }
.stat span { font-size: 13px; color: var(--muted); }
.stat .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); animation: pulse 1.8s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.notice {
  display: flex; align-items: center; gap: 10px; margin: 18px 0 0;
  padding: 10px 16px; border-radius: 12px; font-size: 14px; color: var(--text-2);
  background: var(--grad-soft); border: 1px solid var(--line-2);
}
.notice .tag { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); padding: 2px 8px; border-radius: 6px; }

/* ============ 筛选栏 ============ */
.filters {
  position: sticky; top: 64px; z-index: 40; margin-top: 18px; padding: 10px 0;
  background: linear-gradient(var(--bg) 70%, rgba(245, 247, 251, 0));
}
.filters-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--text-2); white-space: nowrap; transition: color 0.25s; }
.tab:hover { color: var(--primary); }
.tab.active { color: #fff; }
.tab .num { font-size: 11px; opacity: 0.7; margin-left: 4px; font-family: var(--mono); }
.tab-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--grad); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35); transition: left 0.35s cubic-bezier(.2,.8,.2,1), width 0.35s cubic-bezier(.2,.8,.2,1); }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.seg button { padding: 5px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); transition: 0.2s; }
.seg button.active { background: var(--grad-soft); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ============ 区块标题 ============ */
.section { margin-top: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }
.section-title::before { content: ''; width: 4px; height: 18px; border-radius: 4px; background: var(--grad); }
.section-title small { font-size: 13px; color: var(--muted); font-weight: 400; }
.scroll-btns { display: flex; gap: 6px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--text-2); transition: 0.2s;
}
.icon-btn:hover { border-color: var(--line-2); color: var(--primary); box-shadow: var(--glow); }

/* ============ 卡片 ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 18px; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 18px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; }
.card { position: relative; display: block; opacity: 0; transform: translateY(14px); animation: rise 0.5s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff, #cffafe);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
  transform-style: preserve-3d;
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, opacity 0.4s; opacity: 0; }
.poster img.loaded { opacity: 1; }
.poster .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font-weight: 700; color: var(--primary); font-size: 15px; }
.poster::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.8s;
}
.card:hover .poster { transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.35); }
.card:hover .poster::after { transform: translateX(120%); }
.card:hover .poster img { transform: scale(1.05); }
.badge-ep {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  font-size: 12px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.78));
}
.badge-ep.end { color: #e2e8f0; }
.badge-rate {
  position: absolute; right: 8px; top: 8px; padding: 1px 8px; border-radius: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge-rate.hot { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.badge-new {
  position: absolute; left: 8px; top: 8px; padding: 1px 8px; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: #fff; background: var(--grad);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.45);
}
.badge-pin { position: absolute; left: 8px; top: 8px; padding: 1px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f97316, #ef4444); }
.card-name { margin-top: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.card:hover .card-name { color: var(--primary); }
.card-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 骨架屏 */
.skeleton .poster, .skeleton .sk-line { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 37%, #eef2f7 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border: 0; }
.skeleton .sk-line { height: 14px; border-radius: 6px; margin-top: 10px; }
.skeleton .sk-line.short { width: 60%; height: 11px; margin-top: 6px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.empty { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty .big { font-size: 46px; margin-bottom: 10px; opacity: 0.6; }
.loadmore { height: 1px; }
.result-tip { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

/* ============ 页脚 ============ */
.footer { margin-top: 60px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
.footer p + p { margin-top: 6px; }
.footer a { color: var(--primary); }

/* ============ 返回顶部 ============ */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 60; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; transition: 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ============ Toast ============ */
.toast-wrap { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  padding: 10px 18px; border-radius: 12px; font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s cubic-bezier(.2,.8,.2,1);
}
.toast.ok::before { content: '✓ '; color: var(--green); font-weight: 700; }
.toast.err::before { content: '✕ '; color: var(--red); font-weight: 700; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(0.96); } }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--text-2); transition: 0.2s; white-space: nowrap;
}
.btn:hover { border-color: var(--line-2); color: var(--primary); box-shadow: var(--glow); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn-primary { color: #fff; border: 0; background: var(--grad); background-size: 160% 160%; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { color: #fff; background-position: 100% 0; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.42); transform: translateY(-1px); }
.btn-danger { color: var(--red); }
.btn-danger:hover { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; border-radius: 16px; }

/* ============ 详情页 ============ */
.detail-hero { position: relative; padding: 36px 0 30px; overflow: hidden; }
.detail-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(50px) saturate(1.3); opacity: 0.35; transform: scale(1.1); }
.detail-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(245, 247, 251, 0.3), var(--bg)); }
.breadcrumb { position: relative; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--primary); }
.detail-main { position: relative; display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.detail-poster { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 2 / 3; background: linear-gradient(135deg, #e0e7ff, #cffafe); box-shadow: 0 24px 60px rgba(37, 99, 235, 0.25); border: 1px solid rgba(255, 255, 255, 0.8); }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-poster .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--primary); padding: 20px; text-align: center; }
.detail-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.25; }
.detail-orig { color: var(--muted); margin-top: 4px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 3px 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); }
.chip.hl { color: var(--primary); background: var(--grad-soft); border-color: var(--line-2); font-weight: 600; }
.info-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.rating-ring { --p: 0; position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) calc(var(--p) * 1%), #e2e8f0 0); flex-shrink: 0; }
.rating-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.rating-ring b { position: relative; font-family: var(--mono); font-size: 20px; font-weight: 800; }
.rating-meta { font-size: 13px; color: var(--muted); }
.ep-box { flex: 1; min-width: 240px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); }
.ep-box .now { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.ep-box .now .live { font-size: 11px; color: #fff; background: var(--green); padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.ep-box .now .done { font-size: 11px; color: #fff; background: var(--muted); padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.progress { height: 8px; border-radius: 99px; background: #e2e8f0; margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: var(--grad); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); position: relative; }
.progress i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); animation: flow 1.8s infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.ep-box .next { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ep-box .next b { color: var(--primary); font-family: var(--mono); }

/* 资源领取 */
.get-panel {
  position: relative; margin-top: 22px; padding: 22px; border-radius: 20px; background: #fff;
  border: 1px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: var(--shadow-lg);
}
.get-panel h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.get-panel h3 .tag { font-size: 11px; color: #fff; background: var(--grad); padding: 1px 8px; border-radius: 6px; }
.link-item { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.get-btn { position: relative; overflow: hidden; min-width: 220px; }
.get-btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.55), transparent); animation: shine 2.6s infinite; }
@keyframes shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.code-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--panel-2); border: 1px dashed var(--line-2); font-size: 14px; }
.code-chip b { font-family: var(--mono); font-size: 17px; letter-spacing: 2px; color: var(--primary); }
.code-chip button { font-size: 12px; color: var(--primary); padding: 2px 8px; border-radius: 6px; background: var(--grad-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.step { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); font-size: 13px; color: var(--text-2); }
.step i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); }
.note-box { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 14px; border: 1px solid #fed7aa; white-space: pre-wrap; }
.no-link { margin-top: 14px; color: var(--muted); font-size: 14px; }

.panel { margin-top: 26px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.panel h2::before { content: ''; width: 4px; height: 16px; border-radius: 4px; background: var(--grad); }
.overview { color: var(--text-2); font-size: 15px; line-height: 1.9; white-space: pre-wrap; }
.overview.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { margin-top: 8px; color: var(--primary); font-size: 14px; }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.people span { padding: 5px 12px; border-radius: 10px; font-size: 13px; background: var(--panel-2); border: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: 80px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.share-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* 微信内打开提示 */
.wx-mask { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 23, 42, 0.82); color: #fff; padding: 30px 26px; text-align: right; }
.wx-mask .arrow { font-size: 46px; line-height: 1; margin-right: 6px; }
.wx-mask p { margin-top: 18px; font-size: 18px; line-height: 1.8; text-align: left; }
.wx-mask b { color: #67e8f9; }
.wx-mask button { margin-top: 26px; padding: 8px 22px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; float: left; }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
  .detail-main { grid-template-columns: 1fr; gap: 22px; }
  .detail-poster { width: 200px; margin: 0 auto; }
  .detail-head { text-align: center; }
  .detail-head .chips, .detail-head .info-row { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .topbar-inner { gap: 10px; height: 58px; }
  .logo span { display: none; }
  .searchbox kbd, .nav-link.hide-sm { display: none; }
  .searchbox input { padding-right: 40px; }
  .searchbox .clear { right: 8px; }
  .filters { top: 58px; }
  .hero { padding: 26px 0 8px; }
  .stat { min-width: 0; flex: 1; padding: 10px 12px; }
  .stat b { font-size: 20px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .hscroll { grid-auto-columns: 118px; gap: 10px; }
  .card-name { font-size: 13px; margin-top: 7px; }
  .badge-ep { font-size: 11px; padding: 18px 6px 5px; }
  .get-btn { width: 100%; }
  .link-item { gap: 10px; }
  .code-chip { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card { opacity: 1; transform: none; }
}
