:root {
  --accent: #0b5cff;
  --accent-strong: #0046d6;
  --accent-soft: #eaf2ff;
  --orange: var(--accent);
  --orange-dark: var(--accent-strong);
  --orange-soft: var(--accent-soft);
  --ink: #0b1930;
  --muted: #637083;
  --line: #dde4ee;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --danger: #d92d20;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(25, 25, 25, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
body[data-page="detail"] { padding-bottom: 0; }
body[data-page="detail"] .mobile-nav { display: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.brand-logo { display: block; width: auto; max-width: 180px; height: 40px; object-fit: contain; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgba(255, 90, 10, .35); outline-offset: 2px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; background: #111; color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-shell { width: min(100%, 1320px); margin: 0 auto; }
.page-main { min-height: calc(100vh - 72px); background: var(--surface); }
.desktop-header { display: none; }

.mobile-home-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px 12px; background: #fff4eb; }
.app-search, .header-search { display: flex; align-items: center; min-width: 0; border-radius: 999px; background: #fff; border: 1px solid transparent; }
.app-search { flex: 1; min-height: 48px; padding: 0 12px; }
.app-search:focus-within, .header-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 90, 10, .1); }
.app-search svg, .header-search svg { width: 23px; height: 23px; color: #666; flex: none; }
.app-search input, .header-search input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; padding: 10px; color: var(--ink); }
.app-search input::placeholder, .header-search input::placeholder { color: #a0a0a0; }
.app-search button { min-height: 40px; border: 0; background: transparent; color: var(--orange); font-weight: 700; padding: 0 8px; }
.head-action { display: grid; place-items: center; width: 48px; height: 48px; color: #505050; }
.head-action svg { width: 29px; height: 29px; }

.category-tabs { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; padding: 13px 16px 12px; background: #fff; white-space: nowrap; border-bottom: 1px solid #f2f2f2; }
.category-tabs::-webkit-scrollbar, .filter-options::-webkit-scrollbar, .episode-list::-webkit-scrollbar { display: none; }
.category-tabs a { position: relative; min-height: 34px; font-size: 17px; color: #606060; }
.category-tabs a.active { color: var(--ink); font-size: 21px; font-weight: 800; }
.category-tabs a.active::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 3px; border-radius: 3px; background: var(--orange); transform: translateX(-50%); }

.notice-card { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin: 12px 16px 0; padding: 10px 12px; background: #fff7f2; border: 1px solid #ffe0ce; border-radius: 10px; }
.notice-card p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5d4b40; font-size: 13px; }
.notice-card a { color: var(--orange-dark); font-size: 13px; font-weight: 700; }
.notice-badge { padding: 2px 6px; background: var(--orange); color: #fff; font-size: 11px; border-radius: 4px; }
.banner-section { padding: 14px 16px 3px; }
.home-banner { position: relative; aspect-ratio: 2.12 / 1; overflow: hidden; border-radius: 12px; background: #f1f1f1; }
.home-banner a, .home-banner img { display: block; width: 100%; height: 100%; }
.home-banner img { object-fit: cover; }
.banner-dots { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 5px; }
.banner-dots i { width: 6px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.55); }
.banner-dots i.active { width: 15px; background: #fff; }

.content-section { padding: 20px 16px 4px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; min-height: 38px; margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: 21px; font-weight: 800; }
.section-heading a, .section-heading button { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 8px; }
.poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; }
.poster-card { min-width: 0; }
.poster-image { position: relative; overflow: hidden; aspect-ratio: 3 / 4.12; background: #eee; border-radius: 8px; }
.poster-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.poster-card:hover .poster-image img { transform: scale(1.025); }
.poster-remark { position: absolute; right: 5px; bottom: 5px; max-width: calc(100% - 10px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 5px; border-radius: 4px; background: rgba(0,0,0,.68); color: #fff; font-size: 11px; }
.poster-title { margin: 7px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.poster-meta { margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }

.mobile-nav { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #ededed; background: rgba(255,255,255,.98); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #aaa; font-size: 12px; }
.mobile-nav svg { width: 25px; height: 25px; }
.mobile-nav a.active { color: var(--orange); font-weight: 700; }

.state-panel { display: flex; min-height: 260px; padding: 40px 20px; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: var(--muted); }
.state-panel h1, .state-panel h2 { margin: 14px 0 5px; color: var(--ink); font-size: 20px; }
.state-panel p { margin: 6px 0 18px; }
.state-icon { display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 10px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-size: 22px; font-weight: 800; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; padding: 0 20px; font-weight: 700; }
.primary-button { border: 1px solid var(--orange); background: var(--orange); color: #fff; }
.secondary-button { border: 1px solid #d8d8d8; background: #fff; color: var(--ink); }
.load-more-wrap { display: flex; justify-content: center; padding: 24px; }

.page-title-row { display: flex; justify-content: space-between; align-items: flex-end; padding: 20px 16px 12px; }
.page-title-row.compact { padding-inline: 0; }
.page-title-row h1 { margin: 0; font-size: 26px; font-weight: 850; }
.account-subnav { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; }
.account-subnav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--ink); font-weight: 750; }
.account-subnav a span:first-child { color: var(--accent-strong); font-size: 18px; line-height: 1; }
.account-subnav > span { font-size: 12px; }
.eyebrow { margin: 0 0 2px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-total { color: var(--muted); font-size: 13px; }
.filter-panel { border-block: 1px solid var(--line); background: #fff; }
.filter-row { display: grid; grid-template-columns: 44px 1fr; align-items: start; border-bottom: 1px solid #f2f2f2; padding: 8px 12px; }
.filter-row:last-child { border-bottom: 0; }
.filter-label { padding: 7px 4px; color: #969696; font-size: 12px; }
.filter-options { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.filter-options button { min-height: 36px; border: 0; border-radius: 7px; background: transparent; color: #666; padding: 0 11px; font-size: 13px; }
.filter-options button.active { background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }
.results-grid { padding: 16px; }

.search-page-head { display: flex; align-items: center; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); }
.back-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; font-size: 34px; }
.search-page-head .app-search { background: #f4f4f4; }
.search-history { padding: 18px 16px; }
.history-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.history-chips button { min-height: 36px; border: 0; border-radius: 999px; padding: 0 15px; background: #f3f3f3; color: #555; }
#search-result-section { padding: 4px 16px 28px; }
.search-result-list { display: grid; gap: 16px; }
.search-result { display: grid; grid-template-columns: 106px 1fr; gap: 13px; min-height: 144px; }
.search-result img { width: 106px; height: 144px; object-fit: cover; border-radius: 8px; background: #eee; }
.search-result h2 { margin: 3px 0 5px; font-size: 17px; }
.search-result p { display: -webkit-box; margin: 5px 0; overflow: hidden; color: var(--muted); font-size: 13px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-result .tag { display: inline-block; max-width: 100%; padding: 2px 6px; border-radius: 4px; background: var(--orange-soft); color: var(--orange-dark); font-size: 12px; }

.rank-tabs { display: flex; gap: 8px; padding: 8px 16px 16px; overflow-x: auto; }
.rank-tabs button { min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.rank-tabs button.active { border-color: var(--orange); background: var(--orange); color: #fff; }
.rank-list { padding: 0 16px 30px; }
.rank-item { display: grid; grid-template-columns: 34px 82px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 12px 0; }
.rank-number { color: #888; font-size: 20px; font-weight: 900; font-style: italic; }
.rank-item:nth-child(-n+3) .rank-number { color: var(--orange); }
.rank-item img { width: 82px; height: 110px; object-fit: cover; border-radius: 7px; background: #eee; }
.rank-item h2 { margin: 0 0 7px; font-size: 16px; }
.rank-item p { margin: 3px 0; color: var(--muted); font-size: 12px; }

.profile-head { display: flex; gap: 14px; align-items: center; padding: 26px 18px 20px; background: #fff8f3; }
.profile-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--orange); color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 7px 18px rgba(255,90,10,.22); }
.profile-head h1 { margin: 2px 0 0; font-size: 16px; }
.content-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.content-tabs button { position: relative; min-height: 50px; border: 0; background: none; color: var(--muted); font-weight: 700; }
.content-tabs button.active { color: var(--ink); }
.content-tabs button.active::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 3px; background: var(--orange); border-radius: 4px; }
.profile-tabs { padding-inline: 18px; }
.history-toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 16px; color: var(--muted); font-size: 13px; }
.history-toolbar button { border: 0; background: transparent; color: var(--danger); min-height: 40px; }
.personal-list { padding: 0 16px; }
.personal-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.personal-cover { position: relative; }
.personal-cover img { display: block; width: 110px; height: 146px; object-fit: cover; border-radius: 8px; background: #eee; }
.personal-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; overflow: hidden; background: rgba(255,255,255,.5); border-radius: 0 0 8px 8px; }
.personal-progress i { display: block; height: 100%; background: var(--orange); }
.personal-item h2 { margin: 4px 0 7px; font-size: 17px; }
.personal-item p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.personal-item .continue { display: inline-flex; align-items: center; min-height: 38px; margin-top: 8px; color: var(--orange-dark); font-weight: 700; font-size: 13px; }
.delete-item { width: 44px; height: 44px; border: 0; background: transparent; color: #aaa; }
.settings-links { margin-top: 18px; border-block: 1px solid var(--line); }
.settings-links a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.settings-links a:last-child { border: 0; }
.settings-links b { color: #aaa; font-size: 25px; font-weight: 400; }

.notice-list { padding: 0 16px 30px; }
.notice-entry { padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-entry h2 { margin: 0; font-size: 18px; }
.notice-entry time { display: block; margin: 3px 0 9px; color: #999; font-size: 12px; }
.notice-entry p { margin: 0; color: #555; white-space: pre-wrap; }
.settings-form { border-block: 1px solid var(--line); }
.settings-form label { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 74px; margin: 0 16px; border-bottom: 1px solid var(--line); }
.settings-form label:last-child { border: 0; }
.settings-form span { display: flex; flex-direction: column; }
.settings-form b { font-size: 15px; }
.settings-form small { margin-top: 3px; color: var(--muted); }
.settings-form input[type="checkbox"] { appearance: none; width: 48px; height: 28px; border-radius: 20px; background: #d6d6d6; padding: 3px; transition: background .15s; }
.settings-form input[type="checkbox"]::before { content: ""; display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.settings-form input[type="checkbox"]:checked { background: var(--orange); }
.settings-form input[type="checkbox"]:checked::before { transform: translateX(20px); }
.settings-form select { min-width: 110px; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 8px; }
.settings-note { margin: 16px; padding: 12px; border-radius: 9px; background: #f5f5f5; color: var(--muted); font-size: 12px; }

.toast-region { position: fixed; z-index: 2000; left: 50%; bottom: calc(82px + env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 420px); transform: translateX(-50%); pointer-events: none; }
.site-footer { padding: 20px 16px calc(82px + env(safe-area-inset-bottom)); color: #888; text-align: center; font-size: 12px; }
.app-toast { margin-top: 8px; padding: 11px 14px; border-radius: 9px; background: rgba(28,28,28,.92); color: #fff; text-align: center; font-size: 13px; box-shadow: var(--shadow); }
.app-toast.error { background: rgba(160,28,18,.95); }

.skeleton-block, .skeleton-text, .poster-card-skeleton span, .poster-card-skeleton i, .detail-skeleton span, .detail-skeleton i { position: relative; overflow: hidden; background: #eee; }
.skeleton-block::after, .skeleton-text::after, .poster-card-skeleton span::after, .poster-card-skeleton i::after, .detail-skeleton span::after, .detail-skeleton i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.65) 50%, transparent 80%); animation: shimmer 1.3s infinite; transform: translateX(-100%); }
.skeleton-line { min-height: 48px; background: #f5f5f5; }
.skeleton-text { display: block; width: 90px; height: 22px; border-radius: 4px; }
.poster-card-skeleton span { display: block; aspect-ratio: 3 / 4.12; border-radius: 8px; }
.poster-card-skeleton i { display: block; width: 76%; height: 14px; margin-top: 8px; border-radius: 4px; }
@keyframes shimmer { to { transform: translateX(100%); } }

@media (min-width: 576px) {
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 12px; }
  .home-banner { aspect-ratio: 2.7 / 1; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; background: #f4f4f4; }
  .site-footer { padding: 24px; }
  .desktop-header { display: block; position: sticky; z-index: 900; top: 0; height: 68px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
  .header-inner { display: flex; align-items: center; height: 68px; padding: 0 24px; gap: 26px; }
  .brand { display: flex; align-items: center; gap: 9px; flex: none; font-size: 19px; font-weight: 850; }
  .brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #fff; }
  .header-search { width: min(360px, 31vw); height: 42px; background: #f5f5f5; padding: 0 12px; }
  .header-search svg { width: 20px; height: 20px; }
  .desktop-nav { display: flex; align-self: stretch; margin-left: auto; }
  .desktop-nav a { display: flex; position: relative; align-items: center; padding: 0 15px; color: #555; }
  .desktop-nav a.active { color: var(--ink); font-weight: 800; }
  .desktop-nav a.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; background: var(--orange); }
  .page-main { box-shadow: 0 1px 0 rgba(0,0,0,.03); }
  .mobile-nav { display: none; }
  .mobile-home-head { display: none; }
  .category-tabs { padding: 18px 26px 13px; gap: 30px; }
  .banner-section { padding: 20px 26px 4px; }
  .home-banner { aspect-ratio: 3.2 / 1; border-radius: 14px; }
  .content-section { padding: 26px 26px 8px; }
  .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 16px; }
  .poster-title { font-size: 16px; }
  .notice-card { margin-inline: 26px; }
  .page-title-row { padding: 30px 26px 18px; }
  .account-subnav { min-height: 44px; margin: 0 26px 4px; padding: 0; background: transparent; }
  .filter-panel { margin: 0 26px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .filter-row { grid-template-columns: 60px 1fr; padding-inline: 16px; }
  .results-grid { padding: 26px; }
  .search-page-head { padding: 22px 26px; }
  .search-page-head .app-search { max-width: 680px; }
  #search-result-section, .search-history { padding-inline: 26px; }
  .search-result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .rank-tabs, .rank-list, .notice-list { padding-inline: 26px; }
  .rank-item { grid-template-columns: 40px 95px 1fr; }
  .rank-item img { width: 95px; height: 128px; }
  .profile-head { padding: 36px 28px 24px; }
  .profile-tabs, .history-toolbar, .personal-list { padding-inline: 28px; }
  .personal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
  .settings-links { margin: 26px 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .settings-form { margin: 0 26px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .settings-note { margin: 18px 26px; }
  .toast-region { bottom: 28px; }
}

@media (min-width: 1200px) {
  .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 18px; }
  .home-banner { aspect-ratio: 3.2 / 1; }
  .search-result-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V2 品牌系统：开放视域 */
body { background: var(--canvas); color: var(--ink); }
.page-main { min-height: calc(100vh - 68px); background: transparent; }
.site-header { position: sticky; z-index: 1000; top: 0; height: 64px; border-bottom: 1px solid rgba(11,25,48,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; height: 64px; padding: 0 16px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: #081b3a; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.brand-symbol { width: 36px; height: 36px; flex: none; }
.brand-logo { max-width: 168px; height: 40px; }
.header-search, .desktop-nav { display: none; }
.mobile-header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mobile-header-actions a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #26364e; }
.mobile-header-actions a:hover { background: var(--accent-soft); color: var(--accent); }
.mobile-header-actions svg { width: 23px; height: 23px; }
.mobile-nav { grid-template-columns: repeat(5, 1fr); height: calc(70px + env(safe-area-inset-bottom)); border-top-color: rgba(11,25,48,.1); box-shadow: 0 -8px 26px rgba(25,50,86,.06); }
.mobile-nav a { min-height: 66px; color: #788599; font-size: 11px; }
.mobile-nav svg { width: 23px; height: 23px; }
.mobile-nav a.active { color: var(--accent); }
.live-nav-mark { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 11px; background: #0b1930; color: #fff; }
.live-nav-mark svg { width: 19px; height: 19px; }
.mobile-nav .live-nav.active .live-nav-mark { background: var(--accent); box-shadow: 0 7px 16px rgba(11,92,255,.24); }

.primary-button, .secondary-button { min-height: 46px; border-radius: 14px; padding-inline: 18px; }
.primary-button { border-color: var(--accent); background: var(--accent); box-shadow: 0 10px 22px rgba(11,92,255,.18); }
.secondary-button { border-color: #c8d4e5; background: rgba(255,255,255,.82); }

.home-sections { padding-bottom: 20px; }
.content-section { padding: 26px 16px 2px; }
.section-heading { min-height: auto; margin-bottom: 14px; }
.section-heading h2 { font-size: 22px; letter-spacing: -.035em; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.section-heading a { color: var(--accent-strong); font-weight: 750; }
.media-rail { display: grid; grid-auto-columns: minmax(132px, 42vw); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding: 1px 1px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.media-rail::-webkit-scrollbar { display: none; }
.media-rail .poster-card { scroll-snap-align: start; }
.poster-image { aspect-ratio: 2 / 3; border-radius: 15px; background: #e6ebf2; box-shadow: 0 8px 24px rgba(17,39,73,.08); }
.poster-card:hover .poster-image img { transform: scale(1.035); }
.poster-title { margin-top: 9px; color: #13223a; font-size: 15px; font-weight: 760; }
.poster-remark { right: 7px; bottom: 7px; border-radius: 7px; background: rgba(8,27,58,.82); }
.notice-card { border-color: #cfe0fb; background: #f4f8ff; }
.notice-badge { border-radius: 6px; background: var(--accent); }
.state-icon { background: var(--accent-soft); color: var(--accent); }
.eyebrow { color: var(--accent-strong); }
:focus-visible { outline-color: rgba(11,92,255,.36); }

@media (min-width: 768px) {
  .site-header { height: 72px; }
  .header-inner { height: 72px; padding: 0 28px; }
  .header-search { display: flex; width: min(390px, 30vw); height: 44px; border: 1px solid #dde5f0; background: #f6f8fb; padding: 0 13px; }
  .header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11,92,255,.09); }
  .desktop-nav { display: flex; align-self: stretch; align-items: center; margin-left: auto; }
  .desktop-nav a { display: flex; position: relative; height: 100%; align-items: center; padding: 0 13px; color: #516074; font-size: 14px; }
  .desktop-nav a.active { color: #0b1930; font-weight: 800; }
  .desktop-nav a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
  .account-expiry-note { margin-left: 4px; color: #9a5b00; font-size: 11px; font-weight: 750; }
  .mobile-header-actions, .mobile-nav { display: none; }
  .page-main { min-height: calc(100vh - 72px); padding: 24px 28px 48px; }
  .content-section { padding: 34px 0 4px; }
  .media-rail { grid-auto-flow: initial; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; gap: 22px 16px; }
  .notice-card { margin: 20px 0 0; }
}

@media (min-width: 1200px) {
  .media-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }
}

/* V3 影院大厅：浏览保持明亮，观影进入暗场 */
:root {
  --accent: #315fe8;
  --accent-strong: #2449b8;
  --accent-soft: #edf1ff;
  --ink: #111827;
  --muted: #667085;
  --line: #e2ded5;
  --surface: #fcfbf8;
  --canvas: #f3f1ec;
  --shadow: 0 12px 34px rgba(21, 25, 34, .08);
}

body { background: var(--canvas); }
.site-header { border-bottom-color: rgba(17,24,39,.09); background: rgba(252,251,248,.96); }
.brand { color: #111827; letter-spacing: -.035em; }
.brand-symbol { width: 34px; height: 34px; }
.header-search { background: #f7f5f0; border-color: #dedad1; }
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(49,95,232,.1); }
.desktop-nav a { color: #596274; }
.desktop-nav a.active { color: #111827; }

.home-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 22px 16px 2px; }
.home-heading h1 { margin: 3px 0 0; color: #182236; font-size: 13px; font-weight: 750; line-height: 1.7; letter-spacing: .02em; }
.home-tagline { display: flex; align-items: center; gap: 8px; }
.home-tagline::before { width: 3px; height: 14px; flex: none; border-radius: 2px; background: var(--accent); content: ""; }
.home-heading > p { display: none; max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; text-align: right; }
.home-heading .eyebrow { color: var(--accent); font-size: 10px; letter-spacing: .16em; }
.home-sections { padding-top: 0; }
.content-section { padding-top: 24px; }
.section-heading h2 { color: #111827; }
.section-heading p { color: #7a8290; }
.poster-image { border-radius: 12px; background: #e6e2da; box-shadow: none; }
.poster-card:hover .poster-image { box-shadow: 0 12px 28px rgba(21,25,34,.12); transform: translateY(-2px); }
.poster-card:hover .poster-image img { transform: scale(1.025); }
.poster-title { color: #171c26; }
.notice-card { border-color: #ded9ce; background: #faf8f3; }

@media (min-width: 768px) {
  .page-main { padding-top: 28px; }
  .home-heading { padding: 0 0 6px; }
  .home-heading > p { display: block; }
  .content-section { padding-top: 30px; }
  .media-rail { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 28px 18px; }
}

@media (min-width: 1280px) {
  .media-rail { grid-template-columns: repeat(7,minmax(0,1fr)); }
}
