html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip}body.site-body{overflow-x:clip;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh;min-height:-webkit-fill-available;min-height:100dvh}.topbar{padding-top:env(safe-area-inset-top,0)}.footer{padding-bottom:env(safe-area-inset-bottom,0)}.mobile-nav a.is-active{color:#ea580c;background:#fff7ed}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}.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}.nav-link.active{background:linear-gradient(90deg,#fb923c,#ec4899);color:#fff;box-shadow:0 12px 30px #f9731640}.mobile-nav.is-open{display:block}.menu-toggle{cursor:pointer;border:none}.detail-play-hero{min-height:0}.detail-play-grid{align-items:stretch;padding-top:2.5rem;padding-bottom:2.5rem}.detail-play-player{display:flex;align-items:center;justify-content:center;min-height:100%;padding:.65rem;background:linear-gradient(180deg,#0a0a0a,#111827)}.detail-play-player video{width:100%;height:auto;max-height:min(68vh,640px);aspect-ratio:16 / 9;-o-object-fit:contain;object-fit:contain;border-radius:18px;background:#000;box-shadow:0 20px 60px #00000073}.detail-play-info{display:flex;flex-direction:column;gap:.85rem;padding:1.35rem 1.25rem;height:100%}.detail-play-info__head h1{font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.2;margin:.45rem 0 0}.detail-play-info__desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#ffffffd1;line-height:1.65;font-size:.92rem}.detail-play-tags{margin:0!important}.detail-play-tags span{font-size:.75rem;padding:.35rem .65rem}.detail-play-meta{margin:.25rem 0 0!important;gap:0!important}.detail-play-meta div{padding:.55rem 0!important;font-size:.88rem}.detail-play-meta dt{color:#ffffff8c}.detail-play-meta dd{margin:0;font-weight:800}.detail-play-meta a{color:#fdba74}.detail-play-stats{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:auto;padding-top:.65rem}.detail-play-stats span{display:inline-flex;padding:.45rem .8rem;border-radius:999px;background:#fb923c24;border:1px solid rgba(251,146,60,.32);color:#fed7aa;font-size:.78rem;font-weight:800}@media (max-width: 1024px){.detail-play-grid{grid-template-columns:1fr;gap:1.25rem}.detail-play-player{min-height:auto;padding:.5rem}.detail-play-player video{max-height:min(52vh,420px);border-radius:14px}.detail-play-info{height:auto}.detail-play-stats{margin-top:.35rem}}.pagination-bar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:28px}.pagination-bar a,.pagination-bar span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:10px 16px;border-radius:14px;border:1px solid #fed7aa;background:#fff;color:#374151;font-weight:700}.pagination-bar a:hover{background:#fff7ed;color:#ea580c}.pagination-bar .is-active{background:linear-gradient(90deg,#fb923c,#ec4899);color:#fff;border-color:transparent}.pagination-bar .is-disabled{opacity:.45;pointer-events:none}.auth-page{display:flex;align-items:center;justify-content:center;min-height:calc(100dvh - 180px);padding:6rem 1rem 2rem}.auth-card{width:min(420px,100%);padding:2rem;border-radius:1rem;background:#fff;border:1px solid #fed7aa;box-shadow:0 24px 70px #11182724}.auth-card h1{margin:0 0 .35rem;font-size:1.5rem;font-weight:900;color:#111827}.auth-card>p{margin:0 0 1.5rem;font-size:.875rem;color:#6b7280}.auth-field{margin-bottom:1rem}.auth-field label{display:block;margin-bottom:.35rem;font-size:.8125rem;font-weight:600;color:#374151}.auth-field input{width:100%;padding:.7rem 1rem;border-radius:.5rem;border:1px solid #fed7aa;background:#fff7ed;color:#111827}.auth-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;margin-top:.5rem}.auth-err{margin:0 0 1rem;padding:.65rem .85rem;border-radius:.5rem;font-size:.8125rem;color:#ea580c;background:#fff7ed;border:1px solid #fed7aa}.auth-foot{margin-top:1.25rem;text-align:center;font-size:.8125rem;color:#6b7280}.auth-foot a{color:#ea580c;font-weight:700}.info-back-link{display:inline-flex;align-items:center;gap:.5rem;margin-top:2rem;color:#ea580c;font-weight:700}.profile-page{padding:6rem 1rem 4rem}.profile-card{width:min(420px,100%);margin:0 auto;padding:2rem;border-radius:1rem;background:#fff;border:1px solid #fed7aa}.profile-actions{display:flex;flex-wrap:wrap;gap:.75rem}.profile-link{display:inline-flex;align-items:center;padding:.75rem 1.5rem;border-radius:999px;border:1px solid #fed7aa;color:#374151}.empty-note.is-visible{display:block}.home-main{overflow-x:clip}.home-hero{position:relative;min-height:clamp(580px,82vh,780px);background:#0c111d}.home-hero:after{content:"";position:absolute;inset:auto 0 0;height:120px;z-index:4;pointer-events:none;background:linear-gradient(180deg,transparent,#fff7ed 88%)}.home-hero__ambient{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 55% 45% at 12% 28%,rgba(249,115,22,.28),transparent 68%),radial-gradient(ellipse 42% 38% at 88% 22%,rgba(236,72,153,.22),transparent 70%),radial-gradient(ellipse 60% 50% at 50% 100%,rgba(17,24,39,.85),transparent 72%)}.home-hero__shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:linear-gradient(105deg,#0c111deb,#0c111db8 42%,#0c111d61 68%,#0c111d8c)}.home-hero .hero-slide:after{opacity:.35}.home-hero-inner{position:relative;z-index:3;min-height:clamp(540px,76vh,720px);padding:6rem 20px 5.5rem;align-items:center;gap:clamp(2rem,4vw,3.5rem)}.home-hero-panel{position:relative;padding:1.75rem 1.85rem;border-radius:28px;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 28px 80px #00000047,inset 0 1px #ffffff14}.home-hero-panel:before{content:"";position:absolute;top:0;left:1.85rem;right:1.85rem;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,#fb923c,#ec4899,transparent);opacity:.85}.home-hero-copy{max-width:580px}.home-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.15rem}.home-hero-cat{display:inline-flex;padding:.42rem .9rem;border-radius:999px;background:linear-gradient(90deg,#fb923ce6,#ec4899d9);color:#fff;font-size:.72rem;font-weight:900;letter-spacing:.06em;box-shadow:0 8px 24px #ec489947}.home-hero-year,.home-hero-heat{display:inline-flex;padding:.38rem .72rem;border-radius:999px;background:#ffffff12;border:1px solid rgba(255,255,255,.14);color:#ffffffe6;font-size:.72rem;font-weight:800}.home-hero-heat{color:#fdba74;border-color:#fb923c47}.home-hero-title{font-size:clamp(2.1rem,5.2vw,3.75rem)!important;line-height:1.08!important;margin:0!important;color:#fff!important;letter-spacing:-.03em;text-shadow:0 8px 32px rgba(0,0,0,.35)}.home-hero-accent{display:block;width:64px;height:4px;margin:1rem 0 1.15rem;border-radius:999px;background:linear-gradient(90deg,#fb923c,#ec4899);box-shadow:0 0 18px #ec489973}.home-hero-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:1rem!important;line-height:1.8!important;color:#ffffffc7!important;max-width:520px}.home-hero-tags{margin:1.1rem 0 0!important;gap:.45rem!important}.home-hero-tags span{padding:.32rem .62rem!important;font-size:.72rem!important;background:#ffffff0f!important;border-color:#ffffff1f!important;color:#ffffffd1!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.home-hero-actions{margin-top:1.45rem!important;gap:.75rem!important}.home-hero-play{display:inline-flex!important;align-items:center;gap:.55rem;padding:.9rem 1.65rem!important;border-radius:999px!important;font-size:.95rem!important}.home-hero-play__icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ffffff38;font-size:.58rem}.home-hero-channel{padding:.9rem 1.35rem!important;border-radius:999px!important;background:#ffffff14!important;border:1px solid rgba(255,255,255,.18)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .25s ease,border-color .25s ease,transform .25s ease}.home-hero-channel:hover{background:#ffffff24!important;border-color:#fb923c73!important;transform:translateY(-1px)}.home-hero-poster{position:relative;display:block;justify-self:end;width:min(400px,100%);overflow:visible;padding:0;border:none;border-radius:26px;background:#080c14;isolation:isolate;box-shadow:0 48px 110px #0000008c,0 0 0 1px #ffffff0f,0 0 72px #f9731624;transform:none;transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease}.home-hero-poster:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;padding:1.5px;background:linear-gradient(145deg,#ffedd5bf,#fb923cd9 22%,#ec4899bf 55%,#ffffff59 78%,#fb923ca6);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;z-index:6;pointer-events:none}.home-hero-poster:after{content:"";position:absolute;top:-12%;right:-12%;bottom:-12%;left:-12%;z-index:-1;border-radius:40px;background:radial-gradient(ellipse at 50% 40%,rgba(251,146,60,.22),transparent 68%);pointer-events:none;transition:opacity .45s ease}.home-hero-poster:hover{transform:translateY(-8px) scale(1.01);box-shadow:0 56px 120px #00000094,0 0 0 1px #ffffff1a,0 0 96px #ec489938}.home-hero-poster:hover:after{transform:scale(1.06);opacity:1}.home-hero-poster__media{position:relative;margin:4px;border-radius:22px;overflow:hidden;background:#050505}.home-hero-poster__media:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;background:linear-gradient(180deg,rgba(8,12,20,.15) 0%,transparent 32%,transparent 58%,rgba(8,12,20,.88) 100%);pointer-events:none}.home-hero-poster__media:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;background:linear-gradient(125deg,rgba(255,255,255,.12) 0%,transparent 38%,transparent 100%);opacity:.55;pointer-events:none;transition:opacity .45s ease}.home-hero-poster:hover .home-hero-poster__media:after{opacity:.85}.home-hero-poster img{position:relative;z-index:1;width:100%;aspect-ratio:3 / 4;-o-object-fit:cover;object-fit:cover;display:block;border-radius:0;transform:scale(1.02);transition:transform .65s cubic-bezier(.22,1,.36,1)}.home-hero-poster:hover img{transform:scale(1.08)}.home-hero-poster>span{position:absolute;left:auto;right:auto;bottom:auto;top:auto;margin:0}.home-hero-poster__badge{z-index:4;top:18px;left:18px;padding:.34rem .72rem;border-radius:999px;background:linear-gradient(90deg,#fb923c,#ec4899);color:#fff;font-size:.65rem;font-weight:900;letter-spacing:.16em;box-shadow:0 8px 22px #ec489961;width:auto}.home-hero-poster__year{z-index:4;top:18px;right:18px;padding:.38rem .78rem;border-radius:999px;background:#080c149e;border:1px solid rgba(255,255,255,.2);color:#fff7ed;font-size:.72rem;font-weight:900;letter-spacing:.06em;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 8px 24px #00000047;width:auto}.home-hero-poster__play{z-index:4;top:50%;left:50%;width:64px;height:64px;margin:-32px 0 0 -32px;display:grid;place-items:center;position:absolute;border-radius:50%;background:linear-gradient(145deg,#fffffff5,#ffedd5eb);color:#ea580c;font-size:1.05rem;box-shadow:0 18px 44px #00000061,0 0 0 1px #ffffffa6 inset;opacity:0;transform:scale(.82);transition:opacity .32s ease,transform .32s cubic-bezier(.22,1,.36,1);pointer-events:none}.home-hero-poster__play:before{content:"";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px;border-radius:50%;border:1px solid rgba(255,255,255,.42);opacity:.85}.home-hero-poster:hover .home-hero-poster__play{opacity:1;transform:scale(1)}.home-hero-poster__genre{z-index:4;left:18px!important;right:18px!important;bottom:18px!important;top:auto!important;padding:.8rem 1rem .72rem!important;border-radius:16px!important;background:#080c148c!important;border:1px solid rgba(255,255,255,.1)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fffffff2!important;font-size:.8rem;font-weight:700;letter-spacing:.05em;text-align:center;width:auto;box-shadow:0 10px 28px #00000047}.home-hero-poster__genre:before{content:"";display:block;width:36px;height:2px;margin:0 auto .55rem;border-radius:999px;background:linear-gradient(90deg,#fb923c,#ec4899);box-shadow:0 0 10px #ec489973}.home-hero-controls{left:max(20px,calc(50% - 590px));right:auto;bottom:2.25rem;transform:none;gap:.65rem;padding:.5rem .75rem .5rem .85rem;border-radius:999px;background:#0c111d8c;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 12px 36px #00000047}.home-hero-index{min-width:3.4rem;padding:0 .4rem 0 .15rem;font-size:.88rem;font-weight:900;color:#fff;letter-spacing:.08em}.home-hero-index em{font-style:normal;color:#ffffff61;font-weight:700}.home-hero .hero-prev,.home-hero .hero-next,.home-hero .hero-dot{cursor:pointer;transition:background .2s ease,transform .2s ease}.home-hero .hero-prev,.home-hero .hero-next{width:38px;height:38px;font-size:1.5rem;background:#ffffff14;border:1px solid rgba(255,255,255,.12)}.home-hero .hero-prev:hover,.home-hero .hero-next:hover{background:#ffffff29;transform:scale(1.04)}.home-hero .hero-dot{width:8px;height:8px;opacity:.55}.home-hero .hero-dot.is-active{width:28px;opacity:1;background:linear-gradient(90deg,#fb923c,#ec4899);box-shadow:0 0 12px #ec489980}.home-hero .hero-slide.is-active .home-hero-copy{animation:homeHeroIn .75s cubic-bezier(.22,1,.36,1) both}.home-hero .hero-slide.is-active .home-hero-poster{animation:homePosterIn .85s cubic-bezier(.22,1,.36,1) both}@keyframes homeHeroIn{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes homePosterIn{0%{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.hero-progress{position:absolute;left:0;right:0;bottom:0;height:2px;background:#ffffff0f;z-index:6;pointer-events:none}.hero-progress__bar{display:block;height:100%;background:linear-gradient(90deg,#fb923c,#ec4899,#fb923c);transition:width .65s cubic-bezier(.22,1,.36,1);box-shadow:0 0 16px #ec48998c}.home-section-head{flex-wrap:wrap;gap:12px 18px}.home-section-more{margin-left:auto;align-self:center;padding:.55rem 1rem;border-radius:999px;border:1px solid #fed7aa;background:#fff;color:#ea580c;font-size:.875rem;font-weight:800;white-space:nowrap;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.home-section-more:hover{background:#fff7ed;color:#db2777;box-shadow:0 10px 24px #f973161f}.home-featured-card>div>p{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.home-featured-channel{display:inline-flex;margin-left:.75rem;vertical-align:middle}.home-recommend-grid{margin-top:.25rem}.home-rank-section .rank-item span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-hot-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem;margin-top:2rem;padding-top:.5rem}.home-hot-tag{display:inline-flex;padding:.45rem .95rem;border-radius:999px;background:#fff;border:1px solid #fed7aa;color:#6b7280;font-size:.8125rem;font-weight:700;transition:background .2s ease,color .2s ease,border-color .2s ease}.home-hot-tag:hover{background:#fff7ed;color:#ea580c;border-color:#fb923c}@media (max-width: 1024px){.home-hero-inner{grid-template-columns:1fr;gap:1.75rem;padding:5rem 16px 6.5rem;text-align:center}.home-hero-panel{padding:1.35rem 1.25rem;border-radius:22px}.home-hero-panel:before{left:1.25rem;right:1.25rem}.home-hero-copy{max-width:none}.home-hero-meta,.home-hero-tags,.home-hero-actions{justify-content:center}.home-hero-accent,.home-hero-desc{margin-inline:auto}.home-hero-poster{justify-self:center;width:min(300px,84vw)}.home-hero-poster:hover{transform:translateY(-4px)}.home-hero-poster:hover img{transform:scale(1.04)}.home-hero-controls{left:50%;right:auto;bottom:2.25rem;transform:translate(-50%)}.hero-progress{bottom:0}}@media (max-width: 760px){.home-section-more{margin-left:0;width:100%;justify-content:center;text-align:center}.home-featured-channel{display:flex;margin:.75rem 0 0;width:100%;justify-content:center}.home-featured-card .primary-btn,.home-featured-card .home-featured-channel{width:100%;justify-content:center}}@media (prefers-reduced-motion: reduce){.home-hero .hero-slide.is-active .home-hero-copy,.home-hero .hero-slide.is-active .home-hero-poster{animation:none}.home-hero-poster:hover img,.home-hero-poster:hover{transform:none}.hero-progress__bar{transition:none}.au-abab-badge__icon{animation:none}}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;align-items:center;gap:.85rem;padding:1.35rem 1.25rem 1.5rem}.footer-bottom .copyright{border-top:none;padding:0}.au-abab-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem 1rem .45rem .65rem;border-radius:999px;background:linear-gradient(135deg,#2eabff1f,#1b8ee60f);border:1px solid rgba(83,187,255,.35);box-shadow:0 4px 18px #1b8ee62e,inset 0 1px #ffffff14;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.au-abab-badge__icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(145deg,#7ecfff,#1b8ee6);color:#fff;box-shadow:0 4px 12px #1b8ee673;transform:rotate(-22deg);animation:abab-plane-float 3s ease-in-out infinite}.au-abab-badge__text{font-size:.8125rem;font-weight:800;letter-spacing:.16em;background:linear-gradient(90deg,#a8dcff,#53bbff);-webkit-background-clip:text;background-clip:text;color:transparent}@keyframes abab-plane-float{0%,to{transform:rotate(-22deg) translateY(0)}50%{transform:rotate(-18deg) translateY(-2px)}}

/* harbor skin override */

:root {
  --ink: #0b1c24;
  --ink-2: #122833;
  --ink-3: #1a3542;
  --paper: #e8eef0;
  --paper-2: #f4f7f8;
  --line: #c5d2d6;
  --muted: #5d7178;
  --text: #102028;
  --teal: #2aa89a;
  --teal-deep: #1d7f75;
  --gold: #c9a35a;
  --foam: #d7efe9;
  --shadow: none;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

body.site-body a {
  text-decoration: none;
}

/* ========== Header: solid ink bar, underline nav ========== */
body.site-body .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--ink) !important;
  backdrop-filter: none !important;
  border-bottom: 3px solid var(--teal) !important;
  box-shadow: none !important;
}

body.site-body .topbar-inner {
  max-width: 1200px;
  margin: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

body.site-body .brand,
body.site-body .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  font-size: 20px;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #f3f7f6 !important;
  letter-spacing: 0.04em;
}

body.site-body .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 2px !important;
  background: var(--teal) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink) !important;
  font-size: 11px;
  box-shadow: none !important;
}

body.site-body .desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

body.site-body .nav-link {
  padding: 8px 14px 10px;
  border-radius: 0 !important;
  color: #c5d5d8 !important;
  font-weight: 700;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 2px solid transparent;
}

body.site-body .nav-link:hover,
body.site-body .nav-link.active {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  border-bottom-color: var(--gold);
}

body.site-body .menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: var(--ink-3);
  border: 1px solid #2a4a56;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

body.site-body .menu-toggle span {
  width: 18px;
  height: 2px;
  background: #e8eef0;
  border-radius: 0;
}

body.site-body .mobile-nav {
  display: none;
  background: var(--ink-2);
  border-top: 1px solid #2a4a56;
  padding: 8px 16px 16px;
}

body.site-body .mobile-nav a,
body.site-body .mobile-nav a.is-active {
  display: block;
  padding: 12px 8px;
  border-radius: 0;
  font-weight: 700;
  color: #d7e4e6 !important;
  background: transparent !important;
  border-left: 3px solid transparent;
}

body.site-body .mobile-nav a:hover,
body.site-body .mobile-nav a.is-active {
  color: var(--gold) !important;
  background: var(--ink-3) !important;
  border-left-color: var(--teal);
}

body.site-body .mobile-nav.is-open {
  display: block;
}

body.site-body main,
body.site-body .page-main,
body.site-body .detail-main,
body.site-body .home-main {
  padding-top: 64px;
}

/* ========== Hero: cinematic slab, no glass card, no tilt ========== */
body.site-body .hero,
body.site-body .home-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
}

body.site-body .home-hero__ambient,
body.site-body .home-hero__shade {
  display: none;
}

body.site-body .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

body.site-body .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.site-body .hero-bg,
body.site-body .detail-bg,
body.site-body .category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15) saturate(0.85) brightness(0.55);
  transform: none;
  opacity: 1;
}

body.site-body .hero-slide:after,
body.site-body .detail-hero:after,
body.site-body .category-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 28, 36, 0.94) 0%, rgba(11, 28, 36, 0.62) 52%, rgba(11, 28, 36, 0.78) 100%),
    linear-gradient(180deg, transparent 60%, rgba(11, 28, 36, 0.88) 100%) !important;
}

body.site-body .hero-inner,
body.site-body .home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 40px;
  padding: 88px 20px 72px;
}

body.site-body .home-hero-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.site-body .hero-copy h1,
body.site-body .home-hero-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  color: #f6faf9 !important;
  margin: 12px 0 18px;
  letter-spacing: 0.02em;
}

body.site-body .hero-copy p,
body.site-body .home-hero-desc {
  font-size: 16px;
  line-height: 1.85;
  color: #c9d8db !important;
  max-width: 640px;
}

body.site-body .eyebrow,
body.site-body .home-hero-cat,
body.site-body .home-hero-year,
body.site-body .home-hero-heat {
  display: inline-flex;
  align-items: center;
  color: var(--gold) !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 10px 0 0;
}

body.site-body .home-hero-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 163, 90, 0.35);
}

body.site-body .home-hero-accent {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--teal);
  margin: 0 0 16px;
}

body.site-body .hero-tags,
body.site-body .tag-row,
body.site-body .home-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

body.site-body .hero-tags span,
body.site-body .home-hero-tags span {
  border-radius: 0 !important;
  padding: 4px 8px;
  background: transparent !important;
  color: #d7efe9 !important;
  border: 1px solid #3d6a6a !important;
  font-size: 12px;
  font-weight: 700;
}

body.site-body .tag-row span {
  background: var(--foam) !important;
  color: var(--teal-deep) !important;
  border: 1px solid #b7d8d2 !important;
  border-radius: 0 !important;
}

body.site-body .hero-actions,
body.site-body .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .ghost-btn,
body.site-body .ghost-dark,
body.site-body .home-hero-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px !important;
  padding: 12px 22px;
  font-weight: 800;
  box-shadow: none !important;
  transform: none !important;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .quick-search button,
body.site-body .reset-filter {
  background: var(--teal) !important;
  color: var(--ink) !important;
}

body.site-body .primary-btn:hover,
body.site-body .home-hero-play:hover {
  background: #39c4b4 !important;
  transform: none !important;
}

body.site-body .ghost-btn,
body.site-body .home-hero-channel {
  background: transparent !important;
  color: #e8f4f1 !important;
  border: 1px solid #7aa8a0 !important;
  backdrop-filter: none !important;
}

body.site-body .ghost-dark {
  background: var(--ink) !important;
  color: #e8f4f1 !important;
  border: 1px solid var(--ink) !important;
}

body.site-body .ghost-dark:hover {
  background: var(--ink-2) !important;
  color: var(--gold) !important;
}

body.site-body .hero-poster,
body.site-body .home-hero-poster {
  display: block;
  position: relative;
  justify-self: end;
  width: min(380px, 100%);
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  transform: none !important;
  border: 1px solid rgba(215, 239, 233, 0.28) !important;
  background: #07141a !important;
}

body.site-body .hero-poster img,
body.site-body .home-hero-poster img,
body.site-body .home-hero-poster__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

body.site-body .hero-poster span,
body.site-body .home-hero-poster__badge,
body.site-body .home-hero-poster__year,
body.site-body .home-hero-poster__genre,
body.site-body .home-hero-poster__play {
  position: absolute;
  border-radius: 0 !important;
  background: var(--ink) !important;
  color: #e8f4f1 !important;
  font-weight: 800;
  backdrop-filter: none !important;
  padding: 6px 10px;
  font-size: 12px;
}

body.site-body .home-hero-poster__badge {
  left: 0;
  top: 0;
  background: var(--teal) !important;
  color: var(--ink) !important;
}

body.site-body .home-hero-poster__year {
  right: 0;
  top: 0;
}

body.site-body .home-hero-poster__genre {
  left: 0;
  right: 0;
  bottom: 0;
}

body.site-body .home-hero-poster__play {
  display: none;
}

body.site-body .hero-controls,
body.site-body .home-hero-controls {
  position: absolute;
  z-index: 5;
  left: 20px;
  right: auto;
  bottom: 20px;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.site-body .home-hero-index {
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

body.site-body .hero-prev,
body.site-body .hero-next {
  width: 36px;
  height: 36px;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e8f4f1 !important;
  border: 1px solid #7aa8a0 !important;
  font-size: 22px;
  line-height: 1;
  backdrop-filter: none !important;
}

body.site-body .hero-dots {
  display: flex;
  gap: 6px;
}

body.site-body .hero-dot {
  width: 18px;
  height: 3px;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.28) !important;
}

body.site-body .hero-dot.is-active {
  width: 36px;
  background: var(--teal) !important;
}

body.site-body .hero-progress,
body.site-body .hero-progress__bar {
  height: 3px;
  background: var(--teal);
}

/* ========== Search / filters ========== */
body.site-body .quick-search {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 8;
  background: var(--paper-2);
  border-radius: 0;
  box-shadow: none;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
}

body.site-body .quick-search h2,
body.site-body .section-head h2,
body.site-body .featured-card h2,
body.site-body .channel-row h2,
body.site-body .detail-content h2,
body.site-body .page-hero h1,
body.site-body .category-hero h1,
body.site-body .rank-card h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
}

body.site-body .quick-search input,
body.site-body .filter-panel input,
body.site-body .filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  padding: 12px 14px;
  outline: none;
  color: var(--text);
}

body.site-body .quick-search button,
body.site-body .reset-filter {
  border-radius: 0;
  padding: 0 20px;
  white-space: nowrap;
  font-weight: 800;
}

/* ========== Sections ========== */
body.site-body .content-section,
body.site-body .band-section,
body.site-body .category-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
}

body.site-body .content-section.wide {
  max-width: 1200px;
}

body.site-body .section-head {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

body.site-body .section-head h2 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

body.site-body .section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

body.site-body .section-icon {
  width: 36px;
  height: 36px;
  border-radius: 2px !important;
  background: var(--ink) !important;
  color: var(--gold) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: none !important;
}

body.site-body .home-section-more {
  margin-left: auto;
  color: var(--teal-deep);
  font-weight: 800;
  border-bottom: 1px solid var(--teal);
}

/* ========== Cards: sharp, no float, teal rail ========== */
body.site-body .movie-grid,
body.site-body .home-recommend-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

body.site-body .movie-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-left: 3px solid var(--teal) !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

body.site-body .movie-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--teal) !important;
}

body.site-body .movie-card[data-hidden="true"] {
  display: none;
}

body.site-body .movie-link {
  display: block;
  height: 100%;
}

body.site-body .poster-wrap {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

body.site-body .poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
}

body.site-body .movie-card:hover .poster-wrap img {
  transform: none !important;
  filter: saturate(1.08);
}

body.site-body .poster-wrap:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(11, 28, 36, 0.78), transparent);
}

body.site-body .poster-badge,
body.site-body .poster-time {
  position: absolute;
  z-index: 2;
  border-radius: 0 !important;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  backdrop-filter: none !important;
}

body.site-body .poster-badge {
  top: 0;
  left: 0;
  background: var(--gold) !important;
}

body.site-body .poster-time {
  right: 0;
  bottom: 0;
  background: var(--ink) !important;
  color: #e8f4f1 !important;
}

body.site-body .movie-info {
  padding: 12px 12px 14px;
}

body.site-body .movie-info h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .movie-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .movie-meta,
body.site-body .heat-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

body.site-body .movie-meta span {
  background: var(--paper) !important;
  border-radius: 0 !important;
  padding: 3px 6px;
}

body.site-body .heat-row {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}

body.site-body .featured-card,
body.site-body .home-featured-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-left: 4px solid var(--ink) !important;
  border-radius: 0 !important;
  padding: 20px;
  box-shadow: none !important;
  margin-bottom: 28px;
}

body.site-body .featured-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.site-body .featured-card h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 12px;
}

body.site-body .featured-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #3d5158;
}

/* ========== Rank band: ink slab, not peach gradient ========== */
body.site-body .band-section,
body.site-body .home-rank-section {
  max-width: none;
  background: var(--ink) !important;
  padding-left: max(20px, calc((100vw - 1200px) / 2));
  padding-right: max(20px, calc((100vw - 1200px) / 2));
}

body.site-body .band-section .section-head h2,
body.site-body .home-rank-section .section-head h2,
body.site-body .band-section .section-head p,
body.site-body .home-rank-section .home-section-more {
  color: #e8f4f1 !important;
}

body.site-body .band-section .section-head {
  border-bottom-color: #2a4a56;
}

body.site-body .rank-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.site-body .rank-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2) !important;
  border-radius: 0 !important;
  padding: 0;
  border: 1px solid #2a4a56 !important;
  box-shadow: none !important;
  overflow: hidden;
  color: #e8f4f1;
}

body.site-body .rank-item strong {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 0 !important;
  background: var(--gold) !important;
  color: var(--ink) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif SC", serif;
}

body.site-body .rank-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
}

body.site-body .rank-item span {
  font-weight: 800;
  margin: 10px 10px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.site-body .rank-item em {
  font-style: normal;
  color: var(--teal) !important;
  font-weight: 800;
  margin: 0 10px 12px;
}

body.site-body .center-line {
  text-align: center;
  margin-top: 24px;
}

body.site-body .center-line .ghost-dark {
  background: transparent !important;
  color: #e8f4f1 !important;
  border: 1px solid #7aa8a0 !important;
}

/* ========== Category tiles ========== */
body.site-body .category-section {
  background: transparent;
  border-radius: 0;
}

body.site-body .category-section.solo {
  padding-top: 36px;
}

body.site-body .category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.site-body .category-card {
  position: relative;
  min-height: 200px;
  border-radius: 0 !important;
  overflow: hidden;
  color: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: none !important;
  isolation: isolate;
  border: 1px solid #2a4a56;
}

body.site-body .category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(0.2) brightness(0.7);
  transition: filter 0.3s;
}

body.site-body .category-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 28, 36, 0.88), rgba(11, 28, 36, 0.18));
  z-index: -1;
}

body.site-body .category-card:hover img {
  transform: none !important;
  filter: grayscale(0) brightness(0.85);
}

body.site-body .cat-icon {
  font-size: 22px;
  margin-bottom: auto;
}

body.site-body .category-card h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 6px;
}

body.site-body .category-card p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

body.site-body .home-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

body.site-body .home-hot-tag {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

body.site-body .home-hot-tag:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

/* ========== Inner pages ========== */
body.site-body .page-hero,
body.site-body .category-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 72px max(20px, calc((100vw - 1200px) / 2));
  border-bottom: 3px solid var(--teal) !important;
  color: #e8f4f1;
}

body.site-body .page-hero h1,
body.site-body .category-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  margin: 10px 0;
  color: #f6faf9 !important;
  letter-spacing: 0.02em;
}

body.site-body .page-hero p,
body.site-body .category-hero p {
  max-width: 720px;
  color: #b7c8cc !important;
  font-size: 16px;
  line-height: 1.8;
}

body.site-body .page-hero.rank {
  background: var(--ink) !important;
}

body.site-body .page-hero.slim {
  min-height: 220px;
}

body.site-body .filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.65fr auto;
  gap: 10px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  box-shadow: none;
}

body.site-body .search-box span {
  color: var(--teal-deep) !important;
}

body.site-body .empty-note {
  display: none;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  padding: 28px;
}

body.site-body .empty-note.is-visible {
  display: block;
}

body.site-body .spotlight-list {
  display: grid;
  gap: 16px;
}

body.site-body .channel-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  background: #fff;
  border-radius: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  box-shadow: none;
}

body.site-body .channel-row h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

body.site-body .channel-row p {
  color: var(--muted);
  line-height: 1.7;
}

body.site-body .channel-row a {
  font-weight: 800;
  color: var(--teal-deep) !important;
}

body.site-body .small-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.site-body .small-card {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--paper) !important;
  border-radius: 0 !important;
  padding: 8px;
  border: 1px solid var(--line);
}

body.site-body .small-card img {
  width: 52px;
  height: 70px;
  object-fit: cover;
  border-radius: 0 !important;
  flex: none;
}

body.site-body .small-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .small-card em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

body.site-body .category-hero {
  min-height: 380px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
}

body.site-body .category-hero > *:not(.category-hero-bg) {
  position: relative;
  z-index: 2;
}

body.site-body .category-cover {
  position: relative;
  z-index: 2;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(215, 239, 233, 0.25);
}

body.site-body .category-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .category-cover span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  border-radius: 0;
  padding: 10px 12px;
  color: #fff;
  font-weight: 800;
}

body.site-body .rank-board {
  display: grid;
  gap: 10px;
}

body.site-body .rank-card a {
  display: grid;
  grid-template-columns: 58px 84px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line) !important;
  border-left: 3px solid var(--teal) !important;
  border-radius: 0 !important;
  padding: 12px;
  box-shadow: none !important;
}

body.site-body .rank-card strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink) !important;
  text-align: center;
  font-family: "Noto Serif SC", serif;
}

body.site-body .rank-card img {
  width: 84px;
  height: 112px;
  border-radius: 0 !important;
  object-fit: cover;
}

body.site-body .rank-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

body.site-body .rank-card p {
  margin: 0 0 8px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .rank-card em {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  color: var(--teal-deep) !important;
}

/* ========== Play / detail ========== */
body.site-body .breadcrumb {
  max-width: 1200px;
  margin: 0 auto 12px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

body.site-body .breadcrumb a {
  color: var(--teal-deep) !important;
  font-weight: 800;
}

body.site-body .detail-hero,
body.site-body .detail-play-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 560px;
}

body.site-body .detail-hero > *:not(.detail-bg) {
  position: relative;
  z-index: 2;
}

body.site-body .detail-grid,
body.site-body .detail-play-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 36px 20px;
}

body.site-body .player-shell,
body.site-body .detail-play-player {
  background: #05090b;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  border: 1px solid #2a4a56 !important;
}

body.site-body .player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

body.site-body .detail-info {
  background: var(--ink-2) !important;
  border: 1px solid #2a4a56 !important;
  border-radius: 0 !important;
  padding: 16px;
  color: #e8f4f1;
  backdrop-filter: none !important;
  display: grid;
  gap: 14px;
}

body.site-body .detail-info img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
}

body.site-body .detail-info h1 {
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
  font-weight: 700;
  margin: 8px 0;
}

body.site-body .detail-info p {
  color: #c9d8db;
  line-height: 1.75;
}

body.site-body .detail-info dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

body.site-body .detail-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #2a4a56;
  padding-top: 8px;
}

body.site-body .detail-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  padding: 40px 20px;
}

body.site-body .detail-content article,
body.site-body .detail-content aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 22px;
  box-shadow: none;
}

body.site-body .detail-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

body.site-body .detail-content p {
  color: #3d5158;
  line-height: 1.9;
  margin: 0 0 18px;
}

body.site-body .detail-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

body.site-body .detail-content li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
}

body.site-body .detail-content li strong {
  color: var(--ink);
}

body.site-body .related {
  padding-top: 0;
}

body.site-body .movie-card.compact .movie-info p {
  display: none;
}

/* ========== Footer ========== */
body.site-body .footer {
  background: var(--ink) !important;
  color: #b7c8cc !important;
  margin-top: 0;
  border-top: 3px solid var(--teal);
}

body.site-body .footer-grid {
  max-width: 1200px;
  margin: auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 32px;
}

body.site-body .footer p {
  color: #8ea0a5;
  line-height: 1.8;
}

body.site-body .footer h3 {
  color: #f3f7f6 !important;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  margin: 0 0 12px;
}

body.site-body .footer a {
  display: block;
  color: #b7c8cc !important;
  margin: 7px 0;
}

body.site-body .footer a:hover {
  color: var(--gold) !important;
}

body.site-body .footer-bottom,
body.site-body .copyright {
  border-top: 1px solid #2a4a56;
  text-align: center;
  padding: 14px;
  color: #7d9096;
}

body.site-body .au-abab-badge {
  color: #7d9096;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.site-body .hero-inner,
  body.site-body .home-hero-inner,
  body.site-body .detail-grid,
  body.site-body .detail-play-grid,
  body.site-body .detail-content,
  body.site-body .category-hero,
  body.site-body .featured-card,
  body.site-body .home-featured-card,
  body.site-body .channel-row {
    grid-template-columns: 1fr;
  }

  body.site-body .hero-poster,
  body.site-body .home-hero-poster {
    justify-self: start;
    max-width: 360px;
  }

  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-body .category-grid,
  body.site-body .rank-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-body .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  body.site-body .rank-card a {
    grid-template-columns: 46px 70px 1fr;
  }

  body.site-body .rank-card em {
    display: none;
  }

  body.site-body .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.site-body .desktop-nav {
    display: none;
  }

  body.site-body .menu-toggle {
    display: flex;
  }

  body.site-body .topbar-inner {
    height: 58px;
  }

  body.site-body .brand {
    font-size: 17px;
  }

  body.site-body main,
  body.site-body .page-main,
  body.site-body .detail-main,
  body.site-body .home-main {
    padding-top: 58px;
  }

  body.site-body .hero,
  body.site-body .home-hero,
  body.site-body .hero-inner,
  body.site-body .home-hero-inner {
    min-height: 560px;
  }

  body.site-body .hero-poster,
  body.site-body .home-hero-poster {
    display: none;
  }

  body.site-body .quick-search {
    grid-template-columns: 1fr;
  }

  body.site-body .quick-search form {
    flex-direction: column;
  }

  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.site-body .content-section,
  body.site-body .band-section,
  body.site-body .category-section {
    padding: 36px 14px;
  }

  body.site-body .section-head h2 {
    font-size: 22px;
  }

  body.site-body .featured-card,
  body.site-body .home-featured-card {
    padding: 12px;
  }

  body.site-body .featured-card h2 {
    font-size: 24px;
  }

  body.site-body .rank-strip,
  body.site-body .category-grid,
  body.site-body .small-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-body .filter-panel {
    grid-template-columns: 1fr;
  }

  body.site-body .page-hero,
  body.site-body .category-hero {
    padding: 40px 16px;
  }

  body.site-body .category-cover {
    display: none;
  }

  body.site-body .rank-card a {
    grid-template-columns: 36px 60px 1fr;
    gap: 8px;
    padding: 8px;
  }

  body.site-body .rank-card img {
    width: 60px;
    height: 80px;
  }

  body.site-body .rank-card h2 {
    font-size: 16px;
  }

  body.site-body .rank-card p {
    display: none;
  }

  body.site-body .detail-grid,
  body.site-body .detail-play-grid {
    padding: 16px 12px;
  }

  body.site-body .detail-content {
    padding: 24px 12px;
  }

  body.site-body .footer-grid {
    grid-template-columns: 1fr;
    padding: 28px 16px;
  }
}

@media (max-width: 430px) {
  body.site-body .movie-grid,
  body.site-body .home-recommend-grid,
  body.site-body .rank-strip,
  body.site-body .category-grid {
    grid-template-columns: 1fr;
  }

  body.site-body .hero-actions,
  body.site-body .home-hero-actions {
    flex-direction: column;
  }

  body.site-body .primary-btn,
  body.site-body .ghost-btn {
    width: 100%;
  }
}


/* warm-stone refine */

:root {
  --ink: #1a1714;
  --ink-2: #26211c;
  --ink-3: #3a322b;
  --paper: #f3efe8;
  --paper-2: #faf7f2;
  --line: #e3d9cd;
  --muted: #7a7168;
  --text: #2c2722;
  --accent: #c45a38;
  --accent-deep: #9a4328;
  --soft: #f1e2d4;
  --radius: 10px;
  --wrap: 1120px;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

body.site-body a {
  text-decoration: none;
}

/* ========== Header ========== */
body.site-body .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(26, 23, 20, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(196, 90, 56, 0.45) !important;
  box-shadow: none !important;
}

body.site-body .topbar-inner {
  max-width: var(--wrap);
  margin: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

body.site-body .brand,
body.site-body .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #f7f2eb !important;
  letter-spacing: 0.02em;
}

body.site-body .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px !important;
  background: var(--accent) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 10px;
  box-shadow: none !important;
}

body.site-body .desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

body.site-body .nav-link {
  padding: 8px 14px;
  border-radius: 0 !important;
  color: #d8cfc4 !important;
  font-weight: 600;
  font-size: 14px;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 2px solid transparent;
}

body.site-body .nav-link:hover,
body.site-body .nav-link.active {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  border-bottom-color: var(--accent);
}

body.site-body .menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink-2);
  border: 1px solid #4a4038;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

body.site-body .menu-toggle span {
  width: 16px;
  height: 1.5px;
  background: #f3efe8;
  border-radius: 2px;
}

body.site-body .mobile-nav {
  display: none;
  background: var(--ink-2);
  border-top: 1px solid #3a322b;
  padding: 8px 16px 14px;
}

body.site-body .mobile-nav a,
body.site-body .mobile-nav a.is-active {
  display: block;
  padding: 11px 8px;
  border-radius: 8px;
  font-weight: 600;
  color: #ebe4da !important;
  background: transparent !important;
}

body.site-body .mobile-nav a:hover,
body.site-body .mobile-nav a.is-active {
  color: #fff !important;
  background: var(--ink-3) !important;
}

body.site-body .mobile-nav.is-open {
  display: block;
}

body.site-body main,
body.site-body .page-main,
body.site-body .detail-main,
body.site-body .home-main {
  padding-top: 60px;
}

/* ========== Hero ========== */
body.site-body .hero,
body.site-body .home-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

body.site-body .home-hero__ambient,
body.site-body .home-hero__shade {
  display: none;
}

body.site-body .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

body.site-body .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.site-body .hero-bg,
body.site-body .detail-bg,
body.site-body .category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.58);
  transform: none;
  opacity: 1;
}

body.site-body .hero-slide:after,
body.site-body .detail-hero:after,
body.site-body .category-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 23, 20, 0.92) 0%, rgba(26, 23, 20, 0.55) 48%, rgba(26, 23, 20, 0.72) 100%),
    linear-gradient(180deg, transparent 58%, var(--paper) 100%) !important;
}

body.site-body .hero-inner,
body.site-body .home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr 0.72fr;
  align-items: center;
  gap: 48px;
  padding: 72px 24px 80px;
}

body.site-body .home-hero-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.site-body .hero-copy h1,
body.site-body .home-hero-title {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.18;
  font-weight: 750;
  color: #fffaf4 !important;
  margin: 10px 0 14px;
  letter-spacing: 0.01em;
}

body.site-body .hero-copy p,
body.site-body .home-hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #ddd4c8 !important;
  max-width: 560px;
}

body.site-body .eyebrow,
body.site-body .home-hero-cat,
body.site-body .home-hero-year,
body.site-body .home-hero-heat {
  display: inline-flex;
  align-items: center;
  color: #f0c2ae !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 12px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 12px 0 0;
}

body.site-body .home-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 8px;
}

body.site-body .home-hero-accent {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 14px;
}

body.site-body .hero-tags,
body.site-body .tag-row,
body.site-body .home-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

body.site-body .hero-tags span,
body.site-body .home-hero-tags span {
  border-radius: 6px !important;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #efe6db !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 12px;
  font-weight: 600;
}

body.site-body .tag-row span {
  background: var(--soft) !important;
  color: var(--accent-deep) !important;
  border: 0 !important;
  border-radius: 6px !important;
}

body.site-body .hero-actions,
body.site-body .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .ghost-btn,
body.site-body .ghost-dark,
body.site-body .home-hero-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: none !important;
  transform: none !important;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .quick-search button,
body.site-body .reset-filter {
  background: var(--accent) !important;
  color: #fff !important;
}

body.site-body .primary-btn:hover,
body.site-body .home-hero-play:hover {
  background: #d46844 !important;
}

body.site-body .ghost-btn,
body.site-body .home-hero-channel {
  background: transparent !important;
  color: #f4ece3 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: none !important;
}

body.site-body .ghost-dark {
  background: var(--ink) !important;
  color: #f4ece3 !important;
  border: 1px solid var(--ink) !important;
}

body.site-body .ghost-dark:hover {
  background: var(--ink-2) !important;
}

body.site-body .hero-poster,
body.site-body .home-hero-poster {
  display: block;
  position: relative;
  justify-self: end;
  width: min(280px, 100%);
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
  transform: none !important;
  border: 0 !important;
  background: var(--ink-2) !important;
}

body.site-body .hero-poster img,
body.site-body .home-hero-poster img,
body.site-body .home-hero-poster__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .hero-poster span,
body.site-body .home-hero-poster__badge,
body.site-body .home-hero-poster__year,
body.site-body .home-hero-poster__genre,
body.site-body .home-hero-poster__play {
  position: absolute;
  border-radius: 6px !important;
  background: rgba(26, 23, 20, 0.78) !important;
  color: #f7f2eb !important;
  font-weight: 700;
  backdrop-filter: none !important;
  padding: 4px 8px;
  font-size: 11px;
}

body.site-body .home-hero-poster__badge {
  left: 10px;
  top: 10px;
  background: var(--accent) !important;
  color: #fff !important;
}

body.site-body .home-hero-poster__year {
  right: 10px;
  top: 10px;
}

body.site-body .home-hero-poster__genre {
  left: 10px;
  right: 10px;
  bottom: 10px;
}

body.site-body .home-hero-poster__play {
  display: none;
}

body.site-body .hero-controls,
body.site-body .home-hero-controls {
  position: absolute;
  z-index: 5;
  left: max(24px, calc((100vw - var(--wrap)) / 2));
  right: auto;
  bottom: 28px;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.site-body .home-hero-index {
  color: #f0c2ae;
  font-size: 13px;
  letter-spacing: 0.06em;
}

body.site-body .hero-prev,
body.site-body .hero-next {
  width: 32px;
  height: 32px;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f4ece3 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  font-size: 20px;
  line-height: 1;
  backdrop-filter: none !important;
}

body.site-body .hero-dots {
  display: flex;
  gap: 5px;
}

body.site-body .hero-dot {
  width: 16px;
  height: 3px;
  border-radius: 99px !important;
  background: rgba(255, 255, 255, 0.28) !important;
}

body.site-body .hero-dot.is-active {
  width: 28px;
  background: var(--accent) !important;
}

body.site-body .hero-progress,
body.site-body .hero-progress__bar {
  height: 2px;
  background: var(--accent);
}

/* ========== Search / filters ========== */
body.site-body .quick-search {
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
  z-index: 8;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: center;
  border: 0;
}

body.site-body .quick-search input,
body.site-body .filter-panel input,
body.site-body .filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 11px 13px;
  outline: none;
  color: var(--text);
}

body.site-body .quick-search button,
body.site-body .reset-filter {
  border-radius: 8px;
  padding: 0 18px;
  white-space: nowrap;
  font-weight: 700;
}

/* ========== Sections ========== */
body.site-body .content-section,
body.site-body .band-section,
body.site-body .category-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px;
}

body.site-body .content-section.wide {
  max-width: var(--wrap);
}

body.site-body .section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  border-bottom: 0;
  padding-bottom: 0;
}

body.site-body .section-head h2,
body.site-body .featured-card h2,
body.site-body .channel-row h2,
body.site-body .detail-content h2,
body.site-body .page-hero h1,
body.site-body .category-hero h1,
body.site-body .rank-card h2,
body.site-body .quick-search h2 {
  font-family: inherit;
  font-weight: 750;
}

body.site-body .section-head h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

body.site-body .section-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

body.site-body .section-icon {
  width: 4px !important;
  height: 22px !important;
  border-radius: 99px !important;
  background: var(--accent) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: none !important;
}

body.site-body .home-section-more {
  margin-left: auto;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 0;
}

/* ========== Cards ========== */
body.site-body .movie-grid,
body.site-body .home-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.site-body .movie-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color 0.2s, transform 0.2s;
}

body.site-body .movie-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(42, 38, 34, 0.08) !important;
  border-color: #d2c6b8 !important;
}

body.site-body .movie-card[data-hidden="true"] {
  display: none;
}

body.site-body .movie-link {
  display: block;
  height: 100%;
}

body.site-body .poster-wrap {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

body.site-body .poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .movie-card:hover .poster-wrap img {
  transform: none !important;
}

body.site-body .poster-wrap:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(26, 23, 20, 0.55), transparent);
}

body.site-body .poster-badge,
body.site-body .poster-time {
  position: absolute;
  z-index: 2;
  border-radius: 6px !important;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: none !important;
}

body.site-body .poster-badge {
  top: 8px;
  left: 8px;
  background: var(--accent) !important;
  color: #fff !important;
}

body.site-body .poster-time {
  right: 8px;
  bottom: 8px;
  background: rgba(26, 23, 20, 0.72) !important;
  color: #f7f2eb !important;
}

body.site-body .movie-info {
  padding: 12px 12px 14px;
}

body.site-body .movie-info h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 750;
  margin: 0 0 6px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .movie-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .movie-meta,
body.site-body .heat-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

body.site-body .movie-meta span {
  background: var(--paper) !important;
  border-radius: 6px !important;
  padding: 2px 6px;
}

body.site-body .heat-row {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}

body.site-body .featured-card,
body.site-body .home-featured-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
  border-radius: 14px !important;
  padding: 16px;
  box-shadow: none !important;
  margin-bottom: 22px;
}

body.site-body .featured-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.site-body .featured-card h2 {
  font-size: 26px;
  font-weight: 750;
  margin: 6px 0 10px;
}

body.site-body .featured-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #5c544c;
}

/* ========== Rank band ========== */
body.site-body .band-section,
body.site-body .home-rank-section {
  max-width: none;
  background: var(--ink) !important;
  padding-left: max(24px, calc((100vw - var(--wrap)) / 2));
  padding-right: max(24px, calc((100vw - var(--wrap)) / 2));
}

body.site-body .band-section .section-head h2,
body.site-body .home-rank-section .section-head h2,
body.site-body .band-section .section-head p,
body.site-body .home-rank-section .home-section-more {
  color: #f4ece3 !important;
}

body.site-body .rank-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.site-body .rank-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2) !important;
  border-radius: 10px !important;
  padding: 0;
  border: 1px solid #3a322b !important;
  box-shadow: none !important;
  overflow: hidden;
  color: #f4ece3;
}

body.site-body .rank-item strong {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 6px !important;
  background: var(--accent) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

body.site-body .rank-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
}

body.site-body .rank-item span {
  font-weight: 700;
  margin: 10px 10px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.site-body .rank-item em {
  font-style: normal;
  color: #f0c2ae !important;
  font-weight: 700;
  margin: 0 10px 12px;
}

body.site-body .center-line {
  text-align: center;
  margin-top: 22px;
}

body.site-body .center-line .ghost-dark {
  background: transparent !important;
  color: #f4ece3 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* ========== Category tiles ========== */
body.site-body .category-section {
  background: transparent;
  border-radius: 0;
}

body.site-body .category-section.solo {
  padding-top: 32px;
}

body.site-body .category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.site-body .category-card {
  position: relative;
  min-height: 188px;
  border-radius: 12px !important;
  overflow: hidden;
  color: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: none !important;
  isolation: isolate;
  border: 0;
}

body.site-body .category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.72);
}

body.site-body .category-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 23, 20, 0.86), rgba(26, 23, 20, 0.12));
  z-index: -1;
}

body.site-body .category-card:hover img {
  transform: none !important;
  filter: brightness(0.82);
}

body.site-body .cat-icon {
  font-size: 18px;
  margin-bottom: auto;
}

body.site-body .category-card h3 {
  font-size: 17px;
  font-weight: 750;
  margin: 8px 0 4px;
}

body.site-body .category-card p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

body.site-body .home-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

body.site-body .home-hot-tag {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}

body.site-body .home-hot-tag:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ========== Inner pages ========== */
body.site-body .page-hero,
body.site-body .category-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 64px max(24px, calc((100vw - var(--wrap)) / 2));
  border-bottom: 0 !important;
  color: #f4ece3;
}

body.site-body .page-hero h1,
body.site-body .category-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 750;
  margin: 8px 0;
  color: #fffaf4 !important;
}

body.site-body .page-hero p,
body.site-body .category-hero p {
  max-width: 640px;
  color: #cfc4b6 !important;
  font-size: 15px;
  line-height: 1.75;
}

body.site-body .page-hero.rank,
body.site-body .page-hero.slim {
  background: var(--ink) !important;
  min-height: 220px;
}

body.site-body .filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.65fr auto;
  gap: 10px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: none;
}

body.site-body .search-box span {
  color: var(--accent) !important;
}

body.site-body .empty-note {
  display: none;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 24px;
}

body.site-body .empty-note.is-visible {
  display: block;
}

body.site-body .spotlight-list {
  display: grid;
  gap: 14px;
}

body.site-body .channel-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: none;
}

body.site-body .channel-row h2 {
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 6px;
}

body.site-body .channel-row p {
  color: var(--muted);
  line-height: 1.7;
}

body.site-body .channel-row a {
  font-weight: 700;
  color: var(--accent-deep) !important;
}

body.site-body .small-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.site-body .small-card {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--paper) !important;
  border-radius: 8px !important;
  padding: 8px;
  border: 0;
}

body.site-body .small-card img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px !important;
  flex: none;
}

body.site-body .small-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .small-card em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

body.site-body .category-hero {
  min-height: 340px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
}

body.site-body .category-hero > *:not(.category-hero-bg) {
  position: relative;
  z-index: 2;
}

body.site-body .category-cover {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

body.site-body .category-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .category-cover span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 23, 20, 0.78);
  border-radius: 0;
  padding: 10px 12px;
  color: #fff;
  font-weight: 700;
}

body.site-body .rank-board {
  display: grid;
  gap: 10px;
}

body.site-body .rank-card a {
  display: grid;
  grid-template-columns: 48px 80px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 12px;
  box-shadow: none !important;
}

body.site-body .rank-card strong {
  font-size: 24px;
  font-weight: 750;
  color: var(--accent) !important;
  text-align: center;
}

body.site-body .rank-card img {
  width: 80px;
  height: 106px;
  border-radius: 8px !important;
  object-fit: cover;
}

body.site-body .rank-card h2 {
  font-size: 18px;
  font-weight: 750;
  margin: 0 0 4px;
}

body.site-body .rank-card p {
  margin: 0 0 6px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .rank-card em {
  font-style: normal;
  font-size: 15px;
  font-weight: 750;
  color: var(--accent) !important;
}

/* ========== Play / detail ========== */
body.site-body .breadcrumb {
  max-width: var(--wrap);
  margin: 0 auto 10px;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

body.site-body .breadcrumb a {
  color: var(--accent-deep) !important;
  font-weight: 700;
}

body.site-body .detail-hero,
body.site-body .detail-play-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 520px;
}

body.site-body .detail-hero > *:not(.detail-bg) {
  position: relative;
  z-index: 2;
}

body.site-body .detail-grid,
body.site-body .detail-play-grid {
  max-width: var(--wrap);
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 18px;
  padding: 28px 24px;
}

body.site-body .player-shell,
body.site-body .detail-play-player {
  background: #0c0a09;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: none !important;
  border: 1px solid #3a322b !important;
}

body.site-body .player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

body.site-body .detail-info {
  background: var(--ink-2) !important;
  border: 1px solid #3a322b !important;
  border-radius: 12px !important;
  padding: 16px;
  color: #f4ece3;
  backdrop-filter: none !important;
  display: grid;
  gap: 12px;
}

body.site-body .detail-info img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px !important;
}

body.site-body .detail-info h1 {
  font-size: 26px;
  font-weight: 750;
  margin: 6px 0;
}

body.site-body .detail-info p {
  color: #d8cfc4;
  line-height: 1.7;
}

body.site-body .detail-info dl {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

body.site-body .detail-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #3a322b;
  padding-top: 8px;
}

body.site-body .detail-content {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  padding: 32px 24px;
}

body.site-body .detail-content article,
body.site-body .detail-content aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: none;
}

body.site-body .detail-content h2 {
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 10px;
}

body.site-body .detail-content p {
  color: #5c544c;
  line-height: 1.85;
  margin: 0 0 16px;
}

body.site-body .detail-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

body.site-body .detail-content li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  color: var(--muted);
}

body.site-body .detail-content li strong {
  color: var(--ink);
}

body.site-body .related {
  padding-top: 0;
}

body.site-body .movie-card.compact .movie-info p {
  display: none;
}

/* ========== Footer ========== */
body.site-body .footer {
  background: var(--ink) !important;
  color: #cfc4b6 !important;
  margin-top: 0;
  border-top: 0;
}

body.site-body .footer-grid {
  max-width: var(--wrap);
  margin: auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 28px;
}

body.site-body .footer p {
  color: #9a9086;
  line-height: 1.75;
}

body.site-body .footer h3 {
  color: #f7f2eb !important;
  font-weight: 750;
  margin: 0 0 10px;
}

body.site-body .footer a {
  display: block;
  color: #cfc4b6 !important;
  margin: 6px 0;
}

body.site-body .footer a:hover {
  color: #f0c2ae !important;
}

body.site-body .footer-bottom,
body.site-body .copyright {
  border-top: 1px solid #3a322b;
  text-align: center;
  padding: 14px;
  color: #8a8178;
}

body.site-body .au-abab-badge {
  color: #8a8178;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.site-body .hero-inner,
  body.site-body .home-hero-inner,
  body.site-body .detail-grid,
  body.site-body .detail-play-grid,
  body.site-body .detail-content,
  body.site-body .category-hero,
  body.site-body .featured-card,
  body.site-body .home-featured-card,
  body.site-body .channel-row {
    grid-template-columns: 1fr;
  }

  body.site-body .hero-poster,
  body.site-body .home-hero-poster {
    justify-self: start;
    max-width: 220px;
  }

  body.site-body .category-grid,
  body.site-body .rank-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-body .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  body.site-body .rank-card a {
    grid-template-columns: 40px 68px 1fr;
  }

  body.site-body .rank-card em {
    display: none;
  }

  body.site-body .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.site-body .desktop-nav {
    display: none;
  }

  body.site-body .menu-toggle {
    display: flex;
  }

  body.site-body .topbar-inner {
    height: 56px;
  }

  body.site-body main,
  body.site-body .page-main,
  body.site-body .detail-main,
  body.site-body .home-main {
    padding-top: 56px;
  }

  body.site-body .hero,
  body.site-body .home-hero,
  body.site-body .hero-inner,
  body.site-body .home-hero-inner {
    min-height: 520px;
  }

  body.site-body .hero-poster,
  body.site-body .home-hero-poster {
    display: none;
  }

  body.site-body .quick-search {
    grid-template-columns: 1fr;
  }

  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.site-body .content-section,
  body.site-body .band-section,
  body.site-body .category-section {
    padding: 32px 16px;
  }

  body.site-body .section-head h2 {
    font-size: 20px;
  }

  body.site-body .featured-card,
  body.site-body .home-featured-card {
    padding: 12px;
  }

  body.site-body .rank-strip,
  body.site-body .category-grid,
  body.site-body .small-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-body .filter-panel {
    grid-template-columns: 1fr;
  }

  body.site-body .page-hero,
  body.site-body .category-hero {
    padding: 36px 16px;
  }

  body.site-body .category-cover {
    display: none;
  }

  body.site-body .footer-grid {
    grid-template-columns: 1fr;
    padding: 28px 16px;
  }
}

@media (max-width: 430px) {
  body.site-body .movie-grid,
  body.site-body .home-recommend-grid,
  body.site-body .rank-strip,
  body.site-body .category-grid {
    grid-template-columns: 1fr;
  }

  body.site-body .hero-actions,
  body.site-body .home-hero-actions {
    flex-direction: column;
  }

  body.site-body .primary-btn,
  body.site-body .ghost-btn {
    width: 100%;
  }
}


/* ========== Alignment + clutter cleanup ========== */
body.site-body .topbar-inner,
body.site-body .hero-inner,
body.site-body .home-hero-inner,
body.site-body .content-section,
body.site-body .category-section,
body.site-body .page-hero,
body.site-body .detail-content,
body.site-body .detail-grid,
body.site-body .detail-play-grid,
body.site-body .footer-grid,
body.site-body .breadcrumb {
  max-width: 1120px;
  box-sizing: border-box;
}

body.site-body .topbar-inner,
body.site-body .hero-inner,
body.site-body .home-hero-inner,
body.site-body .content-section,
body.site-body .category-section,
body.site-body .footer-grid {
  padding-left: 24px;
  padding-right: 24px;
}

body.site-body .hero-controls,
body.site-body .home-hero-controls {
  left: max(24px, calc(50% - 560px + 24px)) !important;
  right: auto !important;
  bottom: 22px !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  gap: 10px !important;
}

body.site-body .hero-progress {
  display: none !important;
}

body.site-body .band-section,
body.site-body .home-rank-section {
  padding-left: max(24px, calc(50% - 560px + 24px)) !important;
  padding-right: max(24px, calc(50% - 560px + 24px)) !important;
}

body.site-body .movie-grid,
body.site-body .home-recommend-grid {
  align-items: stretch;
}

body.site-body .movie-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.site-body .movie-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.site-body .movie-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 12px 14px;
  min-height: 0;
}

body.site-body .movie-info h3 {
  -webkit-line-clamp: 1;
  min-height: 1.4em;
  margin-bottom: 6px;
}

body.site-body .movie-info p {
  -webkit-line-clamp: 2;
  min-height: 2.6em;
  margin: 0 0 10px;
}

body.site-body .movie-card .tag-row {
  display: none !important;
}

body.site-body .movie-card .heat-row {
  margin-top: auto;
}

body.site-body .featured-card,
body.site-body .home-featured-card {
  align-items: stretch;
}

body.site-body .featured-card > div:last-child,
body.site-body .home-featured-card > div:last-child {
  min-width: 0;
}

body.site-body .featured-card h2,
body.site-body .home-featured-card h2 {
  margin: 8px 0 10px;
}

body.site-body .featured-card p,
body.site-body .home-featured-card p {
  margin: 0 0 12px;
}

body.site-body .featured-card .tag-row,
body.site-body .home-featured-card .tag-row {
  margin: 0 0 16px;
}

body.site-body .featured-card .primary-btn,
body.site-body .home-featured-card .primary-btn,
body.site-body .featured-card .ghost-dark,
body.site-body .home-featured-channel {
  margin-top: 0;
  width: fit-content;
}

body.site-body .featured-card .ghost-dark,
body.site-body .home-featured-channel {
  margin-left: 10px;
}

body.site-body .section-head {
  align-items: center;
}

body.site-body .section-head > div {
  min-width: 0;
}

@media (max-width: 760px) {
  body.site-body .hero-controls,
  body.site-body .home-hero-controls {
    left: 16px !important;
  }

  body.site-body .featured-card .ghost-dark,
  body.site-body .home-featured-channel {
    margin-left: 0;
    margin-top: 10px;
  }
}



/* === warm-stone polish 2026-08-16 === */
:root {
  --ink: #1a1714;
  --ink-2: #26211c;
  --ink-3: #3a322b;
  --paper: #f3efe8;
  --paper-2: #faf7f2;
  --line: #e3d9cd;
  --muted: #7a7168;
  --text: #2c2722;
  --accent: #c45a38;
  --accent-deep: #9a4328;
  --soft: #f1e2d4;
  --radius: 10px;
  --wrap: 1120px;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

body.site-body a {
  text-decoration: none;
}

/* ========== Header ========== */
body.site-body .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(26, 23, 20, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(196, 90, 56, 0.45) !important;
  box-shadow: none !important;
}

body.site-body .topbar-inner {
  max-width: var(--wrap);
  margin: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

body.site-body .brand,
body.site-body .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #f7f2eb !important;
  letter-spacing: 0.02em;
}

body.site-body .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px !important;
  background: var(--accent) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 10px;
  box-shadow: none !important;
}

body.site-body .desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

body.site-body .nav-link {
  padding: 8px 14px;
  border-radius: 0 !important;
  color: #d8cfc4 !important;
  font-weight: 600;
  font-size: 14px;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 2px solid transparent;
}

body.site-body .nav-link:hover,
body.site-body .nav-link.active {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  border-bottom-color: var(--accent);
}

body.site-body .menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink-2);
  border: 1px solid #4a4038;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

body.site-body .menu-toggle span {
  width: 16px;
  height: 1.5px;
  background: #f3efe8;
  border-radius: 2px;
}

body.site-body .mobile-nav {
  display: none;
  background: var(--ink-2);
  border-top: 1px solid #3a322b;
  padding: 8px 16px 14px;
}

body.site-body .mobile-nav a,
body.site-body .mobile-nav a.is-active {
  display: block;
  padding: 11px 8px;
  border-radius: 8px;
  font-weight: 600;
  color: #ebe4da !important;
  background: transparent !important;
}

body.site-body .mobile-nav a:hover,
body.site-body .mobile-nav a.is-active {
  color: #fff !important;
  background: var(--ink-3) !important;
}

body.site-body .mobile-nav.is-open {
  display: block;
}

body.site-body main,
body.site-body .page-main,
body.site-body .detail-main,
body.site-body .home-main {
  padding-top: 60px;
}

/* ========== Hero ========== */
body.site-body .hero,
body.site-body .home-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

body.site-body .home-hero__ambient,
body.site-body .home-hero__shade {
  display: none;
}

body.site-body .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

body.site-body .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.site-body .hero-bg,
body.site-body .detail-bg,
body.site-body .category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.58);
  transform: none;
  opacity: 1;
}

body.site-body .hero-slide:after,
body.site-body .detail-hero:after,
body.site-body .category-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 23, 20, 0.92) 0%, rgba(26, 23, 20, 0.55) 48%, rgba(26, 23, 20, 0.72) 100%),
    linear-gradient(180deg, transparent 58%, var(--paper) 100%) !important;
}

body.site-body .hero-inner,
body.site-body .home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr 0.72fr;
  align-items: center;
  gap: 48px;
  padding: 72px 24px 80px;
}

body.site-body .home-hero-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.site-body .hero-copy h1,
body.site-body .home-hero-title {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.18;
  font-weight: 750;
  color: #fffaf4 !important;
  margin: 10px 0 14px;
  letter-spacing: 0.01em;
}

body.site-body .hero-copy p,
body.site-body .home-hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #ddd4c8 !important;
  max-width: 560px;
}

body.site-body .eyebrow,
body.site-body .home-hero-cat,
body.site-body .home-hero-year,
body.site-body .home-hero-heat {
  display: inline-flex;
  align-items: center;
  color: #f0c2ae !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 12px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 12px 0 0;
}

body.site-body .home-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 8px;
}

body.site-body .home-hero-accent {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 14px;
}

body.site-body .hero-tags,
body.site-body .tag-row,
body.site-body .home-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

body.site-body .hero-tags span,
body.site-body .home-hero-tags span {
  border-radius: 6px !important;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #efe6db !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 12px;
  font-weight: 600;
}

body.site-body .tag-row span {
  background: var(--soft) !important;
  color: var(--accent-deep) !important;
  border: 0 !important;
  border-radius: 6px !important;
}

body.site-body .hero-actions,
body.site-body .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .ghost-btn,
body.site-body .ghost-dark,
body.site-body .home-hero-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: none !important;
  transform: none !important;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .quick-search button,
body.site-body .reset-filter {
  background: var(--accent) !important;
  color: #fff !important;
}

body.site-body .primary-btn:hover,
body.site-body .home-hero-play:hover {
  background: #d46844 !important;
}

body.site-body .ghost-btn,
body.site-body .home-hero-channel {
  background: transparent !important;
  color: #f4ece3 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: none !important;
}

body.site-body .ghost-dark {
  background: var(--ink) !important;
  color: #f4ece3 !important;
  border: 1px solid var(--ink) !important;
}

body.site-body .ghost-dark:hover {
  background: var(--ink-2) !important;
}

body.site-body .hero-poster,
body.site-body .home-hero-poster {
  display: block;
  position: relative;
  justify-self: end;
  width: min(280px, 100%);
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
  transform: none !important;
  border: 0 !important;
  background: var(--ink-2) !important;
}

body.site-body .hero-poster img,
body.site-body .home-hero-poster img,
body.site-body .home-hero-poster__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .hero-poster span,
body.site-body .home-hero-poster__badge,
body.site-body .home-hero-poster__year,
body.site-body .home-hero-poster__genre,
body.site-body .home-hero-poster__play {
  position: absolute;
  border-radius: 6px !important;
  background: rgba(26, 23, 20, 0.78) !important;
  color: #f7f2eb !important;
  font-weight: 700;
  backdrop-filter: none !important;
  padding: 4px 8px;
  font-size: 11px;
}

body.site-body .home-hero-poster__badge {
  left: 10px;
  top: 10px;
  background: var(--accent) !important;
  color: #fff !important;
}

body.site-body .home-hero-poster__year {
  right: 10px;
  top: 10px;
}

body.site-body .home-hero-poster__genre {
  left: 10px;
  right: 10px;
  bottom: 10px;
}

body.site-body .home-hero-poster__play {
  display: none;
}

body.site-body .hero-controls,
body.site-body .home-hero-controls {
  position: absolute;
  z-index: 5;
  left: max(24px, calc(50% - 560px + 24px));
  right: auto;
  bottom: 22px;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.site-body .home-hero-index {
  color: #f0c2ae;
  font-size: 13px;
  letter-spacing: 0.06em;
}

body.site-body .hero-prev,
body.site-body .hero-next {
  width: 32px;
  height: 32px;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f4ece3 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  font-size: 20px;
  line-height: 1;
  backdrop-filter: none !important;
}

body.site-body .hero-dots {
  display: flex;
  gap: 5px;
}

body.site-body .hero-dot {
  width: 16px;
  height: 3px;
  border-radius: 99px !important;
  background: rgba(255, 255, 255, 0.28) !important;
}

body.site-body .hero-dot.is-active {
  width: 28px;
  background: var(--accent) !important;
}

body.site-body .hero-progress,
body.site-body .hero-progress__bar {
  height: 2px;
  background: var(--accent);
}

/* ========== Search / filters ========== */
body.site-body .quick-search {
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
  z-index: 8;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: center;
  border: 0;
}

body.site-body .quick-search input,
body.site-body .filter-panel input,
body.site-body .filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 11px 13px;
  outline: none;
  color: var(--text);
}

body.site-body .quick-search button,
body.site-body .reset-filter {
  border-radius: 8px;
  padding: 0 18px;
  white-space: nowrap;
  font-weight: 700;
}

/* ========== Sections ========== */
body.site-body .content-section,
body.site-body .band-section,
body.site-body .category-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px;
}

body.site-body .content-section.wide {
  max-width: var(--wrap);
}

body.site-body .section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  border-bottom: 0;
  padding-bottom: 0;
}

body.site-body .section-head h2,
body.site-body .featured-card h2,
body.site-body .channel-row h2,
body.site-body .detail-content h2,
body.site-body .page-hero h1,
body.site-body .category-hero h1,
body.site-body .rank-card h2,
body.site-body .quick-search h2 {
  font-family: inherit;
  font-weight: 750;
}

body.site-body .section-head h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

body.site-body .section-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

body.site-body .section-icon {
  width: 4px !important;
  height: 22px !important;
  border-radius: 99px !important;
  background: var(--accent) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: none !important;
}

body.site-body .home-section-more {
  margin-left: auto;
  color: var(--accent-deep) !important;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  height: auto !important;
}

/* ========== Cards ========== */
body.site-body .movie-grid,
body.site-body .home-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.site-body .movie-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color 0.2s, transform 0.2s;
}

body.site-body .movie-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(42, 38, 34, 0.08) !important;
  border-color: #d2c6b8 !important;
}

body.site-body .movie-card[data-hidden="true"] {
  display: none;
}

body.site-body .movie-link {
  display: block;
  height: 100%;
}

body.site-body .poster-wrap {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

body.site-body .poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .movie-card:hover .poster-wrap img {
  transform: none !important;
}

body.site-body .poster-wrap:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(26, 23, 20, 0.55), transparent);
}

body.site-body .poster-badge,
body.site-body .poster-time {
  position: absolute;
  z-index: 2;
  border-radius: 6px !important;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: none !important;
}

body.site-body .poster-badge {
  top: 8px;
  left: 8px;
  background: var(--accent) !important;
  color: #fff !important;
}

body.site-body .poster-time {
  right: 8px;
  bottom: 8px;
  background: rgba(26, 23, 20, 0.72) !important;
  color: #f7f2eb !important;
}

body.site-body .movie-info {
  padding: 12px 12px 14px;
}

body.site-body .movie-info h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 750;
  margin: 0 0 6px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .movie-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .movie-meta,
body.site-body .heat-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

body.site-body .movie-meta span {
  background: var(--paper) !important;
  border-radius: 6px !important;
  padding: 2px 6px;
}

body.site-body .heat-row {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}

body.site-body .featured-card,
body.site-body .home-featured-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
  border-radius: 14px !important;
  padding: 16px;
  box-shadow: none !important;
  margin-bottom: 22px;
}

body.site-body .featured-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.site-body .featured-card h2 {
  font-size: 26px;
  font-weight: 750;
  margin: 6px 0 10px;
}

body.site-body .featured-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #5c544c;
}

/* ========== Rank band ========== */
body.site-body .band-section,
body.site-body .home-rank-section {
  max-width: none;
  background: var(--ink) !important;
  padding-left: max(24px, calc(50% - 560px + 24px));
  padding-right: max(24px, calc(50% - 560px + 24px));
}

body.site-body .band-section .section-head h2,
body.site-body .home-rank-section .section-head h2,
body.site-body .band-section .section-head p,
body.site-body .home-rank-section .home-section-more {
  color: #f4ece3 !important;
}

body.site-body .rank-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.site-body .rank-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2) !important;
  border-radius: 10px !important;
  padding: 0;
  border: 1px solid #3a322b !important;
  box-shadow: none !important;
  overflow: hidden;
  color: #f4ece3;
}

body.site-body .rank-item strong {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 6px !important;
  background: var(--accent) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

body.site-body .rank-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
}

body.site-body .rank-item span {
  font-weight: 700;
  margin: 10px 10px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.site-body .rank-item em {
  font-style: normal;
  color: #f0c2ae !important;
  font-weight: 700;
  margin: 0 10px 12px;
}

body.site-body .center-line {
  text-align: center;
  margin-top: 22px;
}

body.site-body .center-line .ghost-dark {
  background: transparent !important;
  color: #f4ece3 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* ========== Category tiles ========== */
body.site-body .category-section {
  background: transparent;
  border-radius: 0;
}

body.site-body .category-section.solo {
  padding-top: 32px;
}

body.site-body .category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.site-body .category-card {
  position: relative;
  min-height: 188px;
  border-radius: 12px !important;
  overflow: hidden;
  color: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: none !important;
  isolation: isolate;
  border: 0;
}

body.site-body .category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.72);
}

body.site-body .category-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 23, 20, 0.86), rgba(26, 23, 20, 0.12));
  z-index: -1;
}

body.site-body .category-card:hover img {
  transform: none !important;
  filter: brightness(0.82);
}

body.site-body .cat-icon {
  font-size: 18px;
  margin-bottom: auto;
}

body.site-body .category-card h3 {
  font-size: 17px;
  font-weight: 750;
  margin: 8px 0 4px;
}

body.site-body .category-card p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

body.site-body .home-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

body.site-body .home-hot-tag {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}

body.site-body .home-hot-tag:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ========== Inner pages ========== */
body.site-body .page-hero,
body.site-body .category-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 64px max(24px, calc(50% - 560px + 24px));
  border-bottom: 0 !important;
  color: #f4ece3;
}

body.site-body .page-hero h1,
body.site-body .category-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 750;
  margin: 8px 0;
  color: #fffaf4 !important;
}

body.site-body .page-hero p,
body.site-body .category-hero p {
  max-width: 640px;
  color: #cfc4b6 !important;
  font-size: 15px;
  line-height: 1.75;
}

body.site-body .page-hero.rank,
body.site-body .page-hero.slim {
  background: var(--ink) !important;
  min-height: 220px;
}

body.site-body .filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.65fr auto;
  gap: 10px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: none;
}

body.site-body .search-box span {
  color: var(--accent) !important;
}

body.site-body .empty-note {
  display: none;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 24px;
}

body.site-body .empty-note.is-visible {
  display: block;
}

body.site-body .spotlight-list {
  display: grid;
  gap: 14px;
}

body.site-body .channel-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: none;
}

body.site-body .channel-row h2 {
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 6px;
}

body.site-body .channel-row p {
  color: var(--muted);
  line-height: 1.7;
}

body.site-body .channel-row a {
  font-weight: 700;
  color: var(--accent-deep) !important;
}

body.site-body .small-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.site-body .small-card {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--paper) !important;
  border-radius: 8px !important;
  padding: 8px;
  border: 0;
}

body.site-body .small-card img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px !important;
  flex: none;
}

body.site-body .small-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .small-card em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

body.site-body .category-hero {
  min-height: 340px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
}

body.site-body .category-hero > *:not(.category-hero-bg) {
  position: relative;
  z-index: 2;
}

body.site-body .category-cover {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

body.site-body .category-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

body.site-body .category-cover span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 23, 20, 0.78);
  border-radius: 0;
  padding: 10px 12px;
  color: #fff;
  font-weight: 700;
}

body.site-body .rank-board {
  display: grid;
  gap: 10px;
}

body.site-body .rank-card a {
  display: grid;
  grid-template-columns: 48px 80px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 12px;
  box-shadow: none !important;
}

body.site-body .rank-card strong {
  font-size: 24px;
  font-weight: 750;
  color: var(--accent) !important;
  text-align: center;
}

body.site-body .rank-card img {
  width: 80px;
  height: 106px;
  border-radius: 8px !important;
  object-fit: cover;
}

body.site-body .rank-card h2 {
  font-size: 18px;
  font-weight: 750;
  margin: 0 0 4px;
}

body.site-body .rank-card p {
  margin: 0 0 6px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.site-body .rank-card em {
  font-style: normal;
  font-size: 15px;
  font-weight: 750;
  color: var(--accent) !important;
}

/* ========== Play / detail ========== */
body.site-body .breadcrumb {
  max-width: var(--wrap);
  margin: 0 auto 10px;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

body.site-body .breadcrumb a {
  color: var(--accent-deep) !important;
  font-weight: 700;
}

body.site-body .detail-hero,
body.site-body .detail-play-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 520px;
}

body.site-body .detail-hero > *:not(.detail-bg) {
  position: relative;
  z-index: 2;
}

body.site-body .detail-grid,
body.site-body .detail-play-grid {
  max-width: var(--wrap);
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 18px;
  padding: 28px 24px;
}

body.site-body .player-shell,
body.site-body .detail-play-player {
  background: #0c0a09;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: none !important;
  border: 1px solid #3a322b !important;
}

body.site-body .player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

body.site-body .detail-info {
  background: var(--ink-2) !important;
  border: 1px solid #3a322b !important;
  border-radius: 12px !important;
  padding: 16px;
  color: #f4ece3;
  backdrop-filter: none !important;
  display: grid;
  gap: 12px;
}

body.site-body .detail-info img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px !important;
}

body.site-body .detail-info h1 {
  font-size: 26px;
  font-weight: 750;
  margin: 6px 0;
}

body.site-body .detail-info p {
  color: #d8cfc4;
  line-height: 1.7;
}

body.site-body .detail-info dl {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

body.site-body .detail-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #3a322b;
  padding-top: 8px;
}

body.site-body .detail-content {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  padding: 32px 24px;
}

body.site-body .detail-content article,
body.site-body .detail-content aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: none;
}

body.site-body .detail-content h2 {
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 10px;
}

body.site-body .detail-content p {
  color: #5c544c;
  line-height: 1.85;
  margin: 0 0 16px;
}

body.site-body .detail-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

body.site-body .detail-content li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  color: var(--muted);
}

body.site-body .detail-content li strong {
  color: var(--ink);
}

body.site-body .related {
  padding-top: 0;
}

body.site-body .movie-card.compact .movie-info p {
  display: none;
}

/* ========== Footer ========== */
body.site-body .footer {
  background: var(--ink) !important;
  color: #cfc4b6 !important;
  margin-top: 0;
  border-top: 0;
}

body.site-body .footer-grid {
  max-width: var(--wrap);
  margin: auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 28px;
}

body.site-body .footer p {
  color: #9a9086;
  line-height: 1.75;
}

body.site-body .footer h3 {
  color: #f7f2eb !important;
  font-weight: 750;
  margin: 0 0 10px;
}

body.site-body .footer a {
  display: block;
  color: #cfc4b6 !important;
  margin: 6px 0;
}

body.site-body .footer a:hover {
  color: #f0c2ae !important;
}

body.site-body .footer-bottom,
body.site-body .copyright {
  border-top: 1px solid #3a322b;
  text-align: center;
  padding: 14px;
  color: #8a8178;
}

body.site-body .au-abab-badge {
  color: #8a8178;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.site-body .hero-inner,
  body.site-body .home-hero-inner,
  body.site-body .detail-grid,
  body.site-body .detail-play-grid,
  body.site-body .detail-content,
  body.site-body .category-hero,
  body.site-body .featured-card,
  body.site-body .home-featured-card,
  body.site-body .channel-row {
    grid-template-columns: 1fr;
  }

  body.site-body .hero-poster,
  body.site-body .home-hero-poster {
    justify-self: start;
    max-width: 220px;
  }

  body.site-body .category-grid,
  body.site-body .rank-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-body .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  body.site-body .rank-card a {
    grid-template-columns: 40px 68px 1fr;
  }

  body.site-body .rank-card em {
    display: none;
  }

  body.site-body .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.site-body .desktop-nav {
    display: none;
  }

  body.site-body .menu-toggle {
    display: flex;
  }

  body.site-body .topbar-inner {
    height: 56px;
  }

  body.site-body main,
  body.site-body .page-main,
  body.site-body .detail-main,
  body.site-body .home-main {
    padding-top: 56px;
  }

  body.site-body .hero,
  body.site-body .home-hero,
  body.site-body .hero-inner,
  body.site-body .home-hero-inner {
    min-height: 520px;
  }

  body.site-body .hero-poster,
  body.site-body .home-hero-poster {
    display: none;
  }

  body.site-body .quick-search {
    grid-template-columns: 1fr;
  }

  body.site-body .movie-grid,
  body.site-body .home-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.site-body .content-section,
  body.site-body .band-section,
  body.site-body .category-section {
    padding: 32px 16px;
  }

  body.site-body .section-head h2 {
    font-size: 20px;
  }

  body.site-body .featured-card,
  body.site-body .home-featured-card {
    padding: 12px;
  }

  body.site-body .rank-strip,
  body.site-body .category-grid,
  body.site-body .small-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-body .filter-panel {
    grid-template-columns: 1fr;
  }

  body.site-body .page-hero,
  body.site-body .category-hero {
    padding: 36px 16px;
  }

  body.site-body .category-cover {
    display: none;
  }

  body.site-body .footer-grid {
    grid-template-columns: 1fr;
    padding: 28px 16px;
  }
}

@media (max-width: 430px) {
  body.site-body .movie-grid,
  body.site-body .home-recommend-grid,
  body.site-body .rank-strip,
  body.site-body .category-grid {
    grid-template-columns: 1fr;
  }

  body.site-body .hero-actions,
  body.site-body .home-hero-actions {
    flex-direction: column;
  }

  body.site-body .primary-btn,
  body.site-body .ghost-btn {
    width: 100%;
  }
}

/* ========== Alignment + clutter cleanup ========== */
body.site-body .topbar-inner,
body.site-body .hero-inner,
body.site-body .home-hero-inner,
body.site-body .content-section,
body.site-body .category-section,
body.site-body .detail-content,
body.site-body .detail-grid,
body.site-body .detail-play-grid,
body.site-body .footer-grid,
body.site-body .breadcrumb {
  max-width: 1120px;
  box-sizing: border-box;
}

body.site-body .topbar-inner,
body.site-body .hero-inner,
body.site-body .home-hero-inner,
body.site-body .content-section,
body.site-body .category-section,
body.site-body .footer-grid {
  padding-left: 24px;
  padding-right: 24px;
}

body.site-body .hero-controls,
body.site-body .home-hero-controls {
  left: max(24px, calc(50% - 560px + 24px)) !important;
  right: auto !important;
  bottom: 22px !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  gap: 10px !important;
}

body.site-body .hero-progress {
  display: none !important;
}

body.site-body .band-section,
body.site-body .home-rank-section {
  padding-left: max(24px, calc(50% - 560px + 24px)) !important;
  padding-right: max(24px, calc(50% - 560px + 24px)) !important;
}

body.site-body .movie-grid,
body.site-body .home-recommend-grid {
  align-items: stretch;
}

body.site-body .movie-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.site-body .movie-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.site-body .movie-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 12px 14px;
  min-height: 0;
}

body.site-body .movie-info h3 {
  -webkit-line-clamp: 1;
  min-height: 1.4em;
  margin-bottom: 6px;
}

body.site-body .movie-info p {
  -webkit-line-clamp: 2;
  min-height: 2.6em;
  margin: 0 0 10px;
}

body.site-body .movie-card .tag-row {
  display: none !important;
}

body.site-body .movie-card .heat-row {
  margin-top: auto;
}

body.site-body .featured-card,
body.site-body .home-featured-card {
  align-items: stretch;
}

body.site-body .featured-card > div:last-child,
body.site-body .home-featured-card > div:last-child {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  column-gap: 10px;
}

body.site-body .featured-card > div:last-child > :not(.primary-btn):not(.ghost-dark):not(.home-featured-channel),
body.site-body .home-featured-card > div:last-child > :not(.primary-btn):not(.ghost-dark):not(.home-featured-channel) {
  width: 100%;
}

body.site-body .featured-card h2,
body.site-body .home-featured-card h2 {
  margin: 8px 0 10px;
}

body.site-body .featured-card p,
body.site-body .home-featured-card p {
  margin: 0 0 12px;
}

body.site-body .featured-card .tag-row,
body.site-body .home-featured-card .tag-row {
  margin: 0 0 16px;
}

body.site-body .featured-card .primary-btn,
body.site-body .home-featured-card .primary-btn,
body.site-body .featured-card .ghost-dark,
body.site-body .home-featured-channel {
  margin-top: 0;
  margin-left: 0;
  width: auto;
}

body.site-body .section-head {
  align-items: center;
}

body.site-body .section-head > div {
  min-width: 0;
}

body.site-body .primary-btn,
body.site-body .home-hero-play,
body.site-body .ghost-btn,
body.site-body .ghost-dark,
body.site-body .home-hero-channel {
  box-sizing: border-box !important;
  height: 42px !important;
  padding: 0 20px !important;
  line-height: 1 !important;
}

body.site-body .home-section-more {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  color: var(--accent-deep) !important;
}

body.site-body .home-rank-section .home-section-more,
body.site-body .band-section .home-section-more {
  color: #f0c2ae !important;
}

body.site-body .page-hero,
body.site-body .category-hero {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
  padding-left: max(24px, calc(50% - 560px + 24px)) !important;
  padding-right: max(24px, calc(50% - 560px + 24px)) !important;
}

body.site-body .rank-item span {
  margin: 12px 12px 4px;
}

body.site-body .rank-item em {
  margin: 0 12px 14px;
}

body.site-body .category-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

body.site-body .home-hot-tag {
  border-radius: 8px !important;
}

@media (max-width: 760px) {
  body.site-body .hero-controls,
  body.site-body .home-hero-controls {
    left: 16px !important;
  }

  body.site-body .featured-card .ghost-dark,
  body.site-body .home-featured-channel {
    margin-left: 0;
    margin-top: 10px;
  }

  body.site-body .page-hero,
  body.site-body .category-hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
