/* My Short Drama — main-site brand migration, 2026-11-12.
   Approved programme typography and vermilion markers on Radix Sand reading
   surfaces. Artwork keeps a scoped dark palette; existing layout/hooks stay. */

:root {
  color-scheme: light;
  --bg: #f9f9f8; --surface: #fdfdfc; --surface-2: #f1f0ef; --surface-3: #e9e8e6;
  --line: #dad9d6; --line-2: #cfceca;
  --text: #21201c; --text-2: #63635e; --muted: #63635e; --faint: #63635e; --dim: #8d8d86;
  --brand: #e54d2e; --gold: #d13415; --gold-2: #5c271f; --on-gold: #fdfdfc; --live: #218358;
  --gutter: clamp(16px, 4vw, 56px); --max: 1440px; --nav-h: 72px;
  --display: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 6px; --ease: cubic-bezier(.22, 1, .36, 1); --lang-ink: #21201c;
}

/* Image captions and controls stay legible on the original cinematic artwork. */
:is(.hero, .panel, .tile-info, .card-overlay, .d-hero, .stage, .lightbox, .rail-arrow) {
  --bg: #111110; --surface: #191918; --surface-2: #222221; --surface-3: #2a2a28;
  --line: #3b3a37; --line-2: #62605b;
  --text: #eeeeec; --text-2: #b5b3ad; --muted: #b5b3ad; --faint: #b5b3ad; --dim: #7c7b74;
  --gold: var(--brand); --gold-2: #ff977d; --on-gold: #111110;
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 980px; }
.section { margin-top: 72px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--faint); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note { margin: 0; max-width: 680px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.note b { color: var(--text-2); font-weight: 600; }
.fine { font-size: 12px; color: var(--muted); }
.sec-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.25; letter-spacing: -.035em; }
.sec-title.lg { font-size: clamp(26px, 2.6vw, 32px); }
.sec-title::before, .d-sec h2::before, .facts > .eyebrow::before { content: ""; width: 6px; height: 12px; flex: none; background: var(--brand); }
.lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--text-2); }
.lead.sm { font-size: 17px; margin-top: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s, background .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 46px; font-size: 15px; padding: 0 18px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: rgba(120, 112, 100, .5); color: var(--text); }
.btn-ghost:hover { background: rgba(120, 112, 100, .72); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 8px; border: .5px solid var(--gold); background: transparent; color: var(--gold); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.btn-outline:hover { background: rgba(235, 181, 79, .1); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- shared brand and navigation ---------- */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); background: var(--bg); border-bottom: .5px solid var(--line); }
.nav-left { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 44px); min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: -.035em; color: var(--text); white-space: nowrap; }
.brand::before { content: ""; width: 7px; height: 13px; flex: none; background: var(--brand); }
.nav-links { display: flex; gap: clamp(16px, 1.8vw, 26px); font-size: 15px; white-space: nowrap; }
.nav-links a { position: relative; color: var(--muted); padding: 10px 0; transition: color 250ms ease-out; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 4px; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px 0 10px; border-radius: 4px; border: .5px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; font-size: 13px; transition: border-color 250ms ease-out, color 250ms ease-out; }
.search-btn:hover { border-color: var(--text-2); color: var(--text); }
.search-btn-label { min-width: 72px; text-align: left; }
.search-kbd, kbd { font: 500 12px var(--body); padding: 2px 5px; border-radius: 3px; background: var(--surface-2); color: var(--muted); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 4px; border: 0; background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--surface-2); }

/* Language menu uses the same reading surface as the header. */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--text); cursor: pointer; transition: background 250ms ease-out; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--surface-2); }
.lang-btn svg { color: currentColor; flex: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); width: 168px; padding: 4px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line-2); box-shadow: 0 8px 24px rgb(17 17 16 / 10%); z-index: 50; transform-origin: top right; animation: pop 250ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.lang-opt { display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 8px 10px; border-radius: 4px; color: var(--text-2); }
.lang-opt:hover, .lang-opt:focus-visible { background: var(--surface-2); color: var(--text); }
.lang-names { flex: 1; }
.lang-check { display: inline-flex; color: var(--gold); opacity: 0; }
.lang-opt[aria-checked="true"] .lang-check { opacity: 1; }

/* ---------- search dialog ---------- */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(5, 4, 4, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: min(12vh, 120px) 16px 16px; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.search-panel { width: min(720px, 100%); max-height: min(76vh, 720px); display: flex; flex-direction: column; border-radius: 6px; background: var(--surface); border: .5px solid var(--line-2); box-shadow: 0 16px 48px rgb(17 17 16 / 16%); overflow: hidden; animation: pop .2s var(--ease); }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; border-bottom: .5px solid var(--line); color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 64px; background: transparent; border: 0; outline: none; color: var(--text); font: 500 18px var(--body); }
.search-field input::placeholder { color: var(--faint); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-close { width: 44px; height: 44px; border-radius: 6px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.search-close:hover { background: var(--surface-3); color: var(--text); }
.search-body { overflow-y: auto; padding: 8px; flex: 1; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 6px; }
.search-results li a[aria-selected="true"], .search-results li a:hover { background: var(--surface-3); }
.search-results img { width: 48px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; background: var(--surface-2); }
.sr-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sr-title { font-weight: 700; font-size: 16px; }
.search mark { background: #ffdcd3; color: var(--text); border-radius: 3px; padding: 0 1px; }
.sr-sub { font-size: 13px; color: var(--faint); }
.sr-meta { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.sr-log { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-empty { padding: 20px 12px; display: flex; flex-direction: column; gap: 12px; }
.search-empty p { margin: 0; color: var(--text-2); }
.search-sub { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.search-none { margin: 0; padding: 28px 12px; color: var(--text-2); }
.search-foot { display: flex; gap: 18px; padding: 12px 20px; border-top: .5px solid var(--line); font-size: 12px; color: var(--faint); }
.search-foot kbd { margin-right: 2px; }

/* ---------- home hero carousel ---------- */
.hero { position: relative; height: clamp(640px, 94vh, 900px); overflow: hidden; background: var(--bg); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.scrim-x { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, .92) 0%, rgba(11, 10, 9, .55) 40%, rgba(11, 10, 9, 0) 72%); }
.scrim-y { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(180deg, rgba(11, 10, 9, 0) 0%, var(--bg) 100%); }
.hero-body { position: absolute; left: 0; right: 0; bottom: 0; top: 0; padding: 120px var(--gutter) 230px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; max-width: 820px; }
.hero-slide .hero-body > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--ease); }
.hero-slide.is-active .hero-body > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-body > :nth-child(2) { transition-delay: .08s; }
.hero-slide.is-active .hero-body > :nth-child(3) { transition-delay: .14s; }
.hero-slide.is-active .hero-body > :nth-child(4) { transition-delay: .2s; }
.hero-slide.is-active .hero-body > :nth-child(5) { transition-delay: .26s; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(54px, 8.4vw, 132px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.hero-meta { font-size: 14px; color: var(--text-2); }
.hero-log { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--text); }
.hero-controls { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 132px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.hero-pause { width: 44px; height: 44px; flex: none; border-radius: 4px; border: .5px solid rgba(245, 240, 232, .3); background: rgba(11, 10, 9, .5); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero-pause:hover { border-color: var(--gold); }
.hero-pause svg:last-child, .is-paused .hero-pause svg:first-child, [data-toggle] svg:last-child, .is-paused [data-toggle] svg:first-child { display: none; }
.is-paused .hero-pause svg:last-child, .is-paused [data-toggle] svg:last-child { display: block; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { display: flex; align-items: center; gap: 10px; width: 188px; padding: 6px; border-radius: 6px; border: .5px solid rgba(245, 240, 232, .14); background: rgba(11, 10, 9, .55); color: var(--text-2); cursor: pointer; text-align: left; transition: background .2s, border-color .2s, opacity .2s; opacity: .7; }
.hero-dot:hover { opacity: 1; border-color: rgba(245, 240, 232, .35); }
.hero-dot.is-active { opacity: 1; background: rgba(11, 10, 9, .8); border-color: rgba(235, 181, 79, .6); color: var(--text); }
.hero-dot img { width: 34px; height: 50px; object-fit: cover; border-radius: 5px; flex: none; }
.hero-dot-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.25; }
.hero-dot-text > span:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bar { display: block; height: 3px; border-radius: 3px; background: rgba(245, 240, 232, .15); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.hero-dot.is-active .bar i { animation: grow var(--dur, 7s) linear forwards; }
.is-paused .hero-dot.is-active .bar i { animation-play-state: paused; }
@keyframes grow { from { width: 0; } to { width: 100%; } }

/* ---------- editor's picks accordion ---------- */
.picks { position: relative; z-index: 4; max-width: var(--max); margin: 72px auto 0; padding: 0 var(--gutter) 24px; }
.row-head { display: flex; align-items: baseline; gap: 16px; padding: 20px var(--gutter) 0; margin-bottom: 24px; border-top: .5px solid var(--text); }
.row-head.flush { padding: 20px 0 0; margin-bottom: 24px; }
.link-more { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.accordion { display: flex; gap: 10px; height: clamp(420px, 54vh, 540px); margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.accordion::-webkit-scrollbar { display: none; }
.panel { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); flex: 1 1 0%; min-width: 64px; transition: flex .7s var(--ease); }
.panel.open { flex: 6 1 0%; min-width: min(560px, 78vw); }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s linear; }
.panel.open > img { transform: scale(1.06); }
.panel-btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0 0 18px; cursor: pointer; background: rgba(11, 10, 9, .58); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; transition: background .25s; }
.panel-btn:hover { background: rgba(11, 10, 9, .3); }
.panel-btn .v { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 700; font-stretch: 85%; font-size: 20px; white-space: nowrap; max-height: 78%; overflow: hidden; text-overflow: ellipsis; }
:lang(zh-Hans) .panel-btn .v { transform: none; letter-spacing: .1em; }
.panel-btn .n { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--gold); }
.panel.open .panel-btn { display: none; }
.panel-card { position: absolute; left: 14px; right: 14px; bottom: 14px; max-width: 540px; background: rgba(11, 10, 9, .9); border-radius: var(--radius); padding: 22px 22px 26px; display: none; flex-direction: column; gap: 10px; }
.panel.open .panel-card { display: flex; animation: rise .5s ease both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-title { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(28px, 3.1vw, 44px); line-height: 1; text-transform: uppercase; }
.panel-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.panel-bar { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 2px; background: rgba(245, 240, 232, .12); border-radius: 2px; overflow: hidden; }
.panel-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.accordion.is-playing .panel.open .panel-bar i { animation: grow var(--dur, 6s) linear forwards; }
.accordion.is-paused .panel.open .panel-bar i { animation-play-state: paused; }

/* ---------- rails & tiles ---------- */
.rows { padding: 40px 0 8px; display: flex; flex-direction: column; gap: 36px; }
.row.more { margin-top: 24px; }
.rail-wrap { position: relative; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 18px var(--gutter) 30px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-arrow { position: absolute; top: 18px; bottom: 30px; width: var(--gutter); min-width: 44px; border: 0; background: rgba(11, 10, 9, .65); color: var(--text); cursor: pointer; z-index: 3; opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; }
.rail-wrap:hover .rail-arrow, .rail-arrow:focus-visible { opacity: 1; }
.rail-arrow:disabled { opacity: 0 !important; pointer-events: none; }
.rail-arrow.l { left: 0; } .rail-arrow.r { right: 0; }
@media (hover: none) { .rail-arrow { display: none; } }
.tile { position: relative; flex: none; width: 210px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); scroll-snap-align: start; transition: transform .3s var(--ease); }
.tile-sm { width: 180px; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-info { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(11, 10, 9, .92); padding: 14px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(8px); transition: all .25s; }
.tile:hover, .tile:focus-visible { transform: scale(1.06); z-index: 2; }
.tile:hover .tile-info, .tile:focus-visible .tile-info { opacity: 1; transform: none; }
.tile-title { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; }
.tile-meta { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.tile-log { font-size: 12px; line-height: 1.45; color: var(--text-2); }

/* ---------- cards & grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 36px 20px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card-pic { position: relative; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-pic img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; }
.badge-live { left: auto; right: 10px; background: rgba(11, 10, 9, .85); color: var(--live); }
.card-meta { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; transition: color 250ms ease-out; overflow-wrap: anywhere; }
.card:hover .card-title { color: var(--gold); }
.card-log { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.card.is-hidden { display: none; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .card-title { font-size: 17px; } }

/* ---------- filters ---------- */
.browse { padding-bottom: 40px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.browse-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 20px; }
.browse-head p { margin: 0; color: var(--muted); }
.filters { display: flex; flex-direction: column; gap: 24px; }
.words { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: baseline; }
.word { position: relative; min-height: 44px; padding: 8px 0; border: 0; background: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; transition: color 250ms ease-out, box-shadow 250ms ease-out; }
.word:hover { color: var(--text-2); }
.word[aria-pressed="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); }
.word sup { font-family: var(--body); font-size: 14px; font-weight: 600; font-stretch: 100%; color: var(--gold); margin-left: 4px; vertical-align: super; letter-spacing: 0; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 4px; background: var(--surface-2); }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 4px; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; background: transparent; color: var(--text-2); white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.filter-q { flex: 1 1 240px; max-width: 380px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 4px; background: var(--surface-2); border: .5px solid var(--line-2); color: var(--muted); }
.filter-q:focus-within { border-color: var(--gold); }
.filter-q input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: 500 15px var(--body); }
.filter-q input::placeholder { color: var(--faint); }
.more-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 4px; background: var(--surface-2); border: .5px solid var(--line-2); color: var(--text-2); cursor: pointer; font-size: 14px; font-weight: 600; position: relative; }
.more-btn:hover, .more-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--text); }
.more-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--gold); }
.count { font-size: 14px; color: var(--muted); }
.clear-btn { background: none; border: 0; padding: 8px 4px; color: var(--gold); font-size: 14px; font-weight: 600; cursor: pointer; }
.clear-btn:hover { text-decoration: underline; }
.more-panel { display: flex; flex-direction: column; gap: 18px; padding: 20px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); animation: rise .25s ease; }
.fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.flabel { flex: 0 0 120px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { min-height: 40px; padding: 0 14px; border-radius: 4px; border: .5px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; font-size: 14px; font-weight: 500; }
.chip-btn:hover { border-color: var(--muted); color: var(--text); }
.chip-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.filters .grid { margin-top: 8px; border-top: .5px solid var(--line); padding-top: 36px; }
.empty { padding: 64px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.empty strong { font-family: var(--display); font-size: 26px; }

/* ---------- collections / genres ---------- */
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.col-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; min-height: 188px; justify-content: flex-end; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s; }
.col-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.col-stack { position: absolute; top: 16px; right: 16px; display: flex; }
.col-stack img { width: 52px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; border: 2px solid var(--surface); margin-left: -18px; box-shadow: none; }
.col-stack img:nth-child(1) { transform: rotate(-6deg); } .col-stack img:nth-child(3) { transform: rotate(6deg); }
.col-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; max-width: 75%; }
.col-count { font-size: 13px; color: var(--gold); font-weight: 600; }
.page { padding-top: 40px; padding-bottom: 112px; }
.lp-head { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding: 28px 0 40px; border-bottom: .5px solid var(--line); margin-bottom: 28px; }
.lp-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lp-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.035em; overflow-wrap: break-word; }
.lp-title.sm { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; }
.lp-desc { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--text-2); }
.lp-fan { position: relative; flex: 0 0 300px; height: 250px; }
.lp-fan img { position: absolute; bottom: 0; width: 148px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: none; }
.lp-fan img:nth-child(1) { left: 0; transform: rotate(-9deg); }
.lp-fan img:nth-child(2) { left: 75px; z-index: 2; bottom: 16px; }
.lp-fan img:nth-child(3) { left: 150px; transform: rotate(9deg); }
@media (max-width: 700px) { .lp-fan { display: none; } }
.lp-head + .filters .grid { border-top: 0; padding-top: 12px; }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.genre-tile { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: var(--surface); border: .5px solid var(--line); transition: border-color .2s, transform .2s; }
.genre-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.gt-imgs { display: flex; height: 170px; background: var(--surface-2); }
.gt-imgs img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.gt-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.gt-name { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.gt-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.gt-count, .st-count { font-size: 13px; font-weight: 700; color: var(--gold); }
.setup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.setup-tile { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); transition: border-color .2s; }
.setup-tile:hover { border-color: var(--gold); }
.st-name { font-family: var(--display); font-weight: 700; font-size: 22px; }
.st-desc { font-size: 14px; line-height: 1.5; color: var(--muted); flex: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 4px; background: var(--surface); border: .5px solid var(--line); font-size: 14px; color: var(--text-2); }
.pill:hover { border-color: var(--gold); color: var(--text); }
.pill-n { color: var(--faint); font-size: 13px; }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: "›"; color: var(--dim); }
.crumbs a { color: var(--text-2); } .crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--muted); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- drama detail ---------- */
.d-hero { position: relative; overflow: hidden; }
.d-backs { position: absolute; inset: 0; }
.d-back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease, transform 8s linear; transform: scale(1.06); }
.d-back.is-active { opacity: .55; transform: scale(1); }
.d-back-soft.is-active { filter: blur(48px); transform: scale(1.3); opacity: .5; }
.d-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, .95) 0%, rgba(11, 10, 9, .78) 45%, rgba(11, 10, 9, .35) 100%); }
.d-hero .scrim-y { height: 40%; }
.d-inner { position: relative; max-width: 1360px; margin: 0 auto; padding: 48px var(--gutter) 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.d-poster { flex: 0 1 300px; min-width: 200px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); box-shadow: none; }
.d-poster img { width: 100%; height: 100%; object-fit: cover; }
.title-cover { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 22px; text-align: center; font-family: var(--display); font-size: clamp(20px, 2.5vw, 34px); line-height: 1.25; color: var(--text); background: var(--surface-2); overflow-wrap: anywhere; }
.search-cover { display: flex; align-items: center; justify-content: center; width: 48px; height: 72px; padding: 4px; flex: none; border-radius: 6px; font-size: 10px; text-align: center; background: var(--surface-2); overflow-wrap: anywhere; }
.editorial-list { margin: 0; padding-left: 1.3em; color: var(--text-2); line-height: 1.8; }
.editorial-list li + li { margin-top: .75em; }
.d-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.d-main > .eyebrow { font-size: 13px; letter-spacing: .14em; }
.live-dot { color: var(--live); }
.live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--live); margin-right: 6px; vertical-align: 1px; animation: blink 1.6s ease infinite; }
@keyframes blink { 50% { opacity: .3; } }
.d-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.06; letter-spacing: -.035em; overflow-wrap: anywhere; }
.d-sub { font-size: 18px; color: var(--muted); }
.d-alias { font-size: 14px; color: var(--muted); }
.d-alias b { color: var(--text-2); font-weight: 600; }
.d-log { margin: 0; max-width: 660px; font-size: 20px; line-height: 1.5; color: var(--text); }
.hooks { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.hooks li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 4px; border: .5px solid rgba(245, 240, 232, .3); }
.watch { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; scroll-margin-top: 140px; }
.wl { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: 8px 20px; border-radius: 6px; background: var(--surface-2); border: .5px solid var(--line-2); transition: background .2s, border-color .2s; }
.wl:hover { background: var(--surface-3); border-color: var(--muted); }
.wl b { font-weight: 600; font-size: 15px; }
.wl small { font-size: 12px; color: var(--muted); }
.wl-primary { background: var(--text); color: var(--bg); border-color: var(--text); padding-right: 24px; }
.wl-primary:hover { background: var(--text-2); border-color: var(--text-2); }
.wl-primary b { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.wl-primary small { color: inherit; font-weight: 600; padding-left: 28px; }
.listed { color: var(--text-2); }
.tabs { position: sticky; top: var(--nav-h); z-index: 30; background: var(--bg); border-top: .5px solid var(--line); border-bottom: .5px solid var(--line); }
.tabs-in { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 26px; overflow-x: auto; align-items: center; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 52px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s; }
.tab:hover { color: var(--text); }
.tab.is-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); }
.tab-cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 4px; background: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 700; }
.d-body { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter) 64px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.d-col { flex: 999 1 560px; min-width: 0; max-width: 800px; display: flex; flex-direction: column; }
.d-sec { padding-top: 64px; display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 130px; }
.d-col > .d-sec:first-child { padding-top: 36px; }
.d-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
.d-sub { display: flex; flex-direction: column; gap: 14px; }
.d-sub p { margin: 0; font-size: 17px; line-height: 1.78; color: var(--text-2); }
:lang(zh-Hans) .d-sub p { font-size: 17px; line-height: 1.9; letter-spacing: .02em; }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2); border: .5px solid var(--line); }
.callout svg { flex: none; color: var(--gold); margin-top: 2px; }
.callout b { display: block; font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.callout p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.terms { margin: 0; display: grid; gap: 10px; }
.terms div { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: .5px solid var(--line); }
.terms dt { font-weight: 700; margin-bottom: 4px; }
.terms dd { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.s-group { display: flex; flex-direction: column; gap: 10px; }
.s-label { font-size: 13px; color: var(--muted); }
.seasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.season { display: flex; align-items: center; gap: 16px; min-height: 62px; padding: 10px 16px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); transition: background .2s, border-color .2s; }
.season:hover { background: var(--surface-2); border-color: var(--line-2); }
.s-num { width: 40px; flex: none; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); }
.s-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-txt b { font-weight: 600; font-size: 16px; }
.s-txt small { font-size: 13px; color: var(--faint); }
.s-go { color: var(--muted); }
.start { flex: none; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 4px; background: var(--gold); color: var(--on-gold); }
.novel { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 24px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); }
.novel-main { flex: 1 1 320px; display: flex; gap: 18px; align-items: flex-start; }
.novel-main > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.novel-main p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.novel-ic { width: 52px; height: 52px; flex: none; border-radius: 6px; background: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.novel-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.novel-by { font-size: 14px; color: var(--muted); }

/* stills carousel */
.stills { display: flex; flex-direction: column; gap: 12px; }
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.still { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.still.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.still-frame { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: zoom-in; width: 100%; }
.still-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(30px) brightness(.5); transform: scale(1.2); }
.still-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 6s linear; }
.still.is-active .still-img { transform: scale(1.03); }
.still figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8)); display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--text); pointer-events: none; padding-right: 220px; }
.still figcaption small { font-size: 12px; color: var(--muted); }
.stage-ctl { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 4px; background: rgba(11, 10, 9, .75); }
.stage-ctl button { width: 40px; height: 40px; border-radius: 4px; border: 0; background: transparent; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.stage-ctl button:hover { background: rgba(255, 255, 255, .1); }
.stage-count { font-size: 12px; font-weight: 600; color: var(--text-2); min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { position: relative; flex: none; width: 96px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; }
.thumb.is-active { opacity: 1; border-color: var(--gold); }
.thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); }
.stills.is-playing .thumb.is-active i { animation: grow var(--dur, 5s) linear forwards; }
.stills.is-paused .thumb.is-active i { animation-play-state: paused; }
.img-notes { font-size: 13px; color: var(--muted); }
.img-notes summary { cursor: pointer; color: var(--text-2); font-weight: 600; min-height: 32px; }
.img-notes ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
.sources { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sources a { font-size: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.sources a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.facts { flex: 1 1 300px; min-width: 0; max-width: 400px; padding-top: 64px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 130px; scroll-margin-top: 130px; }
.facts { position: static; padding-top: 36px; }
.facts > .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-size: 20px; letter-spacing: -.02em; text-transform: none; }
@media (max-width: 1000px) { .facts { position: static; max-width: none; } }
.facts dl { margin: 0; border-top: .5px solid var(--line); }
.f { display: flex; gap: 16px; padding: 12px 0; border-bottom: .5px solid var(--line); }
.f dt { flex: 0 0 112px; font-size: 13px; color: var(--faint); }
.f dd { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.flink { color: var(--text); text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
.flink:hover { color: var(--gold); text-decoration-color: var(--gold); }
.facts-cta { width: 100%; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 96px; }
.prevnext a { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); transition: border-color .2s; min-width: 0; }
.prevnext a:hover { border-color: var(--gold); }
.prevnext img { width: 52px; height: 78px; object-fit: cover; border-radius: 8px; flex: none; }
.prevnext span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prevnext small { font-size: 12px; color: var(--muted); }
.prevnext b { font-family: var(--display); font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-next { justify-content: flex-end; text-align: right; }
.pn-next span { align-items: flex-end; }

/* ---------- about / how ---------- */
.prose-head { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.three { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.three li, .box { padding: 24px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.three .n, .steps .n { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--gold); line-height: 1; }
.three b { font-size: 19px; }
.ltypes { margin: 20px 0 0; border-top: .5px solid var(--line); }
.ltypes div { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 16px 0; border-bottom: .5px solid var(--line); }
.ltypes dt { flex: 0 0 220px; font-weight: 700; color: var(--gold); }
.ltypes dd { margin: 0; flex: 1 1 300px; color: var(--text-2); line-height: 1.6; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; border-top: .5px solid var(--line); }
.steps li { display: flex; gap: 24px; padding: 24px 0; border-bottom: .5px solid var(--line); }
.steps .n { flex: none; width: 56px; }
.steps b { font-size: 19px; }
.steps p { margin: 6px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.dont { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dont li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); line-height: 1.5; }
.dont svg { flex: none; color: var(--brand); width: 20px; height: 20px; margin-top: 1px; }
.nf .actions { margin-top: 28px; }

/* ---------- footer ---------- */
.foot { border-top: .5px solid var(--line); margin-top: 40px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 64px; display: flex; flex-direction: column; gap: 36px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; color: var(--muted); font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 28px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-cols b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.foot-cols a { color: var(--muted); } .foot-cols a:hover { color: var(--text); }
.disclaimer { margin: 0; max-width: 720px; font-size: 13px; line-height: 1.65; color: var(--faint); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; padding: 64px 24px 24px; flex-direction: column; gap: 14px; animation: fade .2s ease; }
.lightbox img { max-width: min(1400px, 100%); max-height: 82vh; border-radius: 8px; object-fit: contain; }
.lightbox p { margin: 0; font-size: 14px; color: var(--text-2); text-align: center; max-width: 720px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .1); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-dot { width: auto; } .hero-dot-text > span:first-child { display: none; } .hero-dot-text { width: 40px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: .5px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: .5px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .search-btn { width: 44px; padding: 0; justify-content: center; }
  .search-btn-label, .search-kbd { display: none; }
  .hero-controls { bottom: 112px; justify-content: flex-start; }
  .hero-body { padding-bottom: 180px; }
  .tabs { top: var(--nav-h); }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .brand { font-size: 20px; }
  .nav { gap: 8px; }
  .lang-btn { padding: 0 10px; } .lang-btn > svg:last-child { display: none; }
  .hero { height: max(620px, 92svh); }
  .hero-log { font-size: 17px; }
  .hero-dot img { display: none; } .hero-dot { padding: 10px 8px; }
  .picks { margin-top: 48px; }
  .accordion { height: 460px; }
  .panel { min-width: 48px; } .panel.open { min-width: 76vw; }
  .tile { width: 150px; } .tile-sm { width: 140px; }
  .d-inner { padding-top: 32px; gap: 28px; }
  .d-poster { flex-basis: 170px; min-width: 150px; }
  .d-log { font-size: 18px; }
  .flabel { flex-basis: 100%; }
  .still figcaption { padding-right: 20px; padding-bottom: 64px; }
  .stage { aspect-ratio: 4 / 3; }
  .prevnext { grid-template-columns: 1fr; }
  .search { padding-top: 12px; }
  .search-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Compact language control; keep the icon visible at every breakpoint. */
.lang-btn { width: 44px; height: 44px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
.lang-btn > svg:last-child { display: block; color: currentColor; }
.lang-btn[aria-expanded="true"] > svg:last-child { transform: none; }
.lang-opt { gap: 16px; }
.lang-names { flex: 1; }
.panel { transition: flex .7s var(--ease), min-width .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .panel { transition: none; } }

/* Readable, quieter home-page typography. */
.hero-title, .panel-title, .panel-btn .v {
  font-family: var(--body);
  font-stretch: normal;
  font-weight: 600;
  text-transform: none;
}
.hero-title { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: normal; }
.hero { height: clamp(620px, 80vh, 760px); }
.hero-body { gap: 16px; }
.panel-title { font-size: clamp(23px, 2vw, 30px); line-height: 1.2; letter-spacing: -.015em; }
.accordion { height: clamp(340px, 42vh, 420px); }
.panel-card { max-width: 480px; padding: 18px 20px 24px; }
.panel-btn .v { font-size: 16px; line-height: 1.4; }
@media (max-width: 640px) {
  .hero { height: max(620px, 85svh); }
  .hero-title { font-size: 36px; }
  .accordion { height: 400px; }
  .panel-card { left: 10px; right: 10px; padding: 16px 16px 24px; }
  .panel-card .btn { white-space: normal; }
}

/* Shared grotesque title treatment adopted from the approved reference. */
.hero-title, .panel-title, .panel-btn .v { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }
.hero-title { font-size: clamp(42px, 5vw, 72px); line-height: 1.13; }
.panel-title { font-size: 30px; }
@media (max-width: 640px) { .hero-title { font-size: 42px; } }

/* Portrait editorial cards and a single compact carousel indicator row. */
.hero-controls { flex-direction: column; align-items: center; gap: 14px; }
.hero-dots { width: 100%; max-width: 960px; justify-content: center; }
.hero-dot { flex: 1; min-width: 0; width: auto; }
.hero-progress { display: flex; justify-content: center; gap: 6px; }
.hero-progress .bar { width: 24px; height: 2px; }
.hero-progress .is-active .bar i { animation: grow var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-progress .is-active .bar i { animation-play-state: paused; }

/* Keep the full-width accordion; only reduce its expanded share. */
.panel.open { flex: 3 1 0%; min-width: 0; }
@media (max-width: 900px) {
 .hero-dot-text > span:first-child { display: -webkit-box; }
 .hero-dot-text { width: auto; font-size: 11px; }
}
@media (max-width: 640px) {
 .panel.open { min-width: 66vw; }
 .hero-dots { gap: 3px; }
 .hero-dot { padding: 8px 4px; border-radius: 6px; }
 .hero-dot-text { font-size: 10px; }
}

/* The catalogue is the single place to browse by genre. */
.browse { margin-top: 56px; }
.browse .words { gap: 0 24px; }
.browse .word { font-stretch: normal; text-transform: none; border-radius: 0; }
.browse .word[aria-pressed="true"] { color: var(--text); background: transparent; }
.browse .word sup { display: none; }

/* Minimal timed hero indicator. */
.hero-progress { gap: 6px; padding: 8px 0; }
.hero-progress .bar { width: 28px; height: 3px; border-radius: 3px; overflow: hidden; }

/* Entire featured surfaces link to their detail page. */
.hero-link, .panel-link { position: absolute; inset: 0; z-index: 2; cursor: pointer; border-radius: inherit; }
.panel-link { display: none; }
.panel.open .panel-link { display: block; }
.hero-link:focus-visible, .panel-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.hero-controls { pointer-events: none; }

.hero-progress { padding: 0; }
.hero-progress-btn { pointer-events: auto; display: grid; align-items: center; min-height: 28px; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.hero-progress-btn:hover .bar { background: rgba(245, 240, 232, .38); }
@media (prefers-reduced-motion: reduce) {
  .hero-progress-btn.is-active .bar i { width: 100%; }
}

/* Quiet accents leave the artwork as the strongest color. */

.thumb i { background: var(--brand); }
.d-sub h3 { margin: 0; font: 600 20px/1.3 var(--body); }

/* Reveal the description inside the poster without shifting the grid. */
.card-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 12px 16px;
  background: linear-gradient(transparent, rgba(11, 10, 9, .94) 45%);
  text-align: left;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 240ms ease, transform 320ms var(--ease);
}
.card-overlay .card-log { color: var(--text); font-size: 13px; -webkit-line-clamp: 4; }
.card:focus-visible .card-overlay { opacity: 1; transform: none; transition-duration: 360ms, 520ms; }
@media (hover: hover) {
  .card:hover .card-overlay { opacity: 1; transform: none; transition-duration: 360ms, 520ms; }
}
@media (prefers-reduced-motion: reduce) {
  .card-overlay { transform: none; transition: none; }
}

.launch-picks { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; gap: 0 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.launch-picks li { border-top: .5px solid var(--line); padding: 14px 0; }
.launch-picks a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.launch-picks p { color: var(--text-2); margin: 6px 0 0; }

/* Shared homepage: one spacious layout for both languages. */
.has-hero .hero { height: clamp(680px, 90svh, 880px); }

:is(.hero-progress .bar i, .panel-bar i) { background: var(--brand); }
@media (max-width: 640px) {
  .has-hero .hero { height: max(640px, 90svh); }

}

/* Use Chinese system typography on the Chinese drama detail pages. */
:root:lang(zh-Hans) body:has(.d-hero) {
  --body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: var(--body);
}
:root:lang(zh-Hans) .d-title {
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 700;
  font-stretch: normal;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: break-word;
}
:root:lang(zh-Hans) .d-sec h2 { line-height: 1.4; }
:root:lang(zh-Hans) .d-log { line-height: 1.65; }
:root:lang(zh-Hans) .d-sub p { letter-spacing: 0; }
@media (max-width: 640px) {
  :root:lang(zh-Hans) .d-sub p { font-size: 16px; line-height: 1.85; }
}

/* Keep the fashion portrait clear of the header and title. */
.hero-fashion .hero-media { top: 42px; mask-image: linear-gradient(transparent, #000 40px); }
.hero-slide.hero-fashion .hero-media img { object-position: 73% top; }
@media (max-width: 640px) {
  .hero-fashion .hero-media {
    top: 68px;
    bottom: 27%;
    mask-image: linear-gradient(transparent, #000 28px, #000 64%, transparent);
  }
  .hero-fashion .scrim-x { display: none; }
  .hero-fashion .scrim-y { height: 57%; }
}

/* Single-list homepage preview */
.home-list { max-width: 880px; padding-block: clamp(26px, 6vw, 72px); }
.home-list-head { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.home-list-head h1 { margin: 0; font: 650 clamp(30px, 5vw, 52px)/1.05 var(--display); }
.home-list-rows { list-style: none; padding: 0; margin: 0; border-top: .5px solid var(--line); }
.home-list-rows li { border-bottom: .5px solid var(--line); }
.home-list-row { display: grid; grid-template-columns: clamp(52px, 10vw, 72px) minmax(0, 1fr) auto; gap: clamp(14px, 3vw, 24px); align-items: center; padding-block: 14px; }
.home-list-row:hover h2 { color: var(--gold); }
.home-list-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--surface); }
.home-list-row h2 { margin: 0; font: 650 clamp(18px, 2.5vw, 25px)/1.2 var(--display); }
.home-list-row p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.home-list-row > span { color: var(--muted); padding-inline: 4px; }

.d-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-2); font-size: .85rem; }
.d-rating:hover { text-decoration: underline; text-underline-offset: 3px; }
.d-rating-stars { display: inline-flex; gap: 2px; }
.d-rating-star { position: relative; width: 16px; height: 16px; color: var(--faint); }
.d-rating-star svg { display: block; width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; }
.d-rating-star .d-rating-fill { position: absolute; inset: 0; color: var(--gold); }
.d-rating-fill.is-half { clip-path: inset(0 50% 0 0); }

/* ---------- v2 overseas & English watch pathways ---------- */
.wl { max-width: 100%; min-width: 0; }
.wl b, .wl small { overflow-wrap: anywhere; }
.wl-primary small { padding-left: 0; opacity: .78; font-weight: 500; }
.wl-en { border-color: rgba(229, 77, 46, .52); background: rgba(229, 77, 46, .12); }
.wl-en:hover { border-color: var(--brand); background: rgba(229, 77, 46, .2); }
.wl-en b { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.wl-en small { color: var(--text-2); }

.ov-lead { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.ov-web-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ov-web-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); transition: background .2s, border-color .2s; min-width: 0; }
.ov-web-row:hover { background: var(--surface-2); border-color: var(--gold); }
.ov-plat { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--surface-2); color: var(--gold); }
.ov-lbl { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }

.ov-app-card { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); }
.ov-app-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.ov-app-head > b { font-size: 15px; font-weight: 700; color: var(--text); }
.ov-stores { display: inline-flex; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.ov-store { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ov-store:hover { color: var(--gold-2); }
.ov-titles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: .5px solid var(--line); }
.ov-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 0; border-bottom: .5px solid var(--line); min-width: 0; }
.ov-row-txt { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ov-ed { font-size: 12px; color: var(--muted); }
.ov-code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.btn-copy { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 4px; border: .5px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .18s, border-color .18s, color .18s; white-space: nowrap; }
.btn-copy:hover { border-color: var(--gold); color: var(--gold); }
.btn-copy.is-copied { background: var(--live); border-color: var(--live); color: #fff; }

/* ---------- v2 UX refinements: hero, accordion, cards, related rail ---------- */
.hero .scrim-y { height: 46%; background: linear-gradient(180deg, rgba(17, 17, 16, 0) 0%, rgba(17, 17, 16, .88) 100%); }
.hero-body { padding: 104px var(--gutter) 104px; gap: 14px; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); }
.hero-kicker span + span::before { content: "·"; margin-right: 10px; color: var(--dim); }
.hero-kicker .is-score, .panel-meta .is-score { color: #f5b942; font-weight: 700; }
.hero-kicker .is-en, .panel-meta .is-en { color: #7fd6a8; font-weight: 700; }
.hero-kicker .is-cn, .panel-meta .is-cn { color: var(--text-2); }
.hero-cta { display: inline-flex; align-items: center; width: fit-content; margin-top: 2px; padding-bottom: 3px; border-bottom: 1.5px solid var(--brand); font-size: 14px; font-weight: 700; color: var(--text); transition: color .2s, border-color .2s; }
.hero-slide:hover .hero-cta { color: var(--gold-2); }
.hero-controls { bottom: 28px; left: var(--gutter); right: var(--gutter); align-items: flex-start; }
.hero-ctl-row { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 99px; background: rgba(17, 17, 16, .58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: .5px solid rgba(255, 255, 255, .16); }
.hero-nav { width: 30px; height: 30px; padding: 0; border-radius: 99px; border: 0; background: transparent; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.hero-nav:hover { background: rgba(255, 255, 255, .14); }
.hero-nav svg { width: 17px; height: 17px; }
.hero-progress { gap: 8px; padding: 0 2px; }
.hero-progress .bar { width: 36px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .26); }

/* Editor's picks: uncropped 2:3 portrait poster in open panel + horizontal collapsed titles */
.accordion { height: 420px; }
.panel { flex: 1 1 0%; min-width: 96px; background: #161514; }
.panel.open { flex: 3.6 1 0%; min-width: 0; }
.panel > .panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; transition: transform .55s var(--ease), filter .35s ease; }
.panel.open > .panel-bg { filter: blur(28px) brightness(.34); transform: scale(1.18); }
.panel-btn { justify-content: flex-end; align-items: flex-start; text-align: left; padding: 16px 14px; gap: 5px; background: linear-gradient(180deg, rgba(11, 10, 9, .06) 0%, rgba(11, 10, 9, .32) 52%, rgba(11, 10, 9, .92) 100%); }
.panel-btn:hover { background: linear-gradient(180deg, rgba(11, 10, 9, 0) 0%, rgba(11, 10, 9, .22) 52%, rgba(11, 10, 9, .86) 100%); }
.panel-btn-meta { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f5b942; }
.panel-btn .v, :lang(zh-Hans) .panel-btn .v { writing-mode: horizontal-tb; transform: none; letter-spacing: -.01em; font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; font-weight: 700; line-height: 1.3; white-space: normal; max-height: none; overflow-wrap: anywhere; }
.panel-open-wrap { display: none; }
.panel.open .panel-open-wrap { position: relative; z-index: 1; height: 100%; padding: 20px 24px 20px 20px; display: flex; align-items: center; gap: 24px; animation: fade .28s ease; }
.panel-art { height: 100%; aspect-ratio: 2 / 3; flex: none; border-radius: 6px; overflow: hidden; background: var(--surface-2); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.panel-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.panel.open .panel-open-wrap .panel-card { position: static; display: flex; flex: 1; min-width: 0; max-width: none; background: transparent; padding: 0; gap: 10px; animation: none; }
.panel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.panel-meta span + span::before { content: "·"; margin-right: 10px; color: var(--dim); }
.panel-open-wrap .panel-title { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
.panel-cta { display: inline-flex; align-items: center; width: fit-content; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--gold-2); }

/* Quiet scannable metadata row below card titles + mobile touch logline */
.card { gap: 6px; }
.card-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.card-sub i { font-style: normal; color: var(--dim); }
.card-score { font-weight: 700; color: var(--gold); }
.card-en { font-weight: 600; color: var(--live); }
.card-cn { color: var(--dim); }
.card-touch-log { display: none; }
@media (hover: none) {
  .card-touch-log { display: -webkit-box; font-size: 13px; margin-top: 2px; }
}

/* Related dramas rail: persistent bottom title so Chinese posters stay legible in English */
.tile-cap { position: absolute; inset: auto 0 0; padding: 36px 12px 12px; background: linear-gradient(transparent, rgba(11, 10, 9, .92) 56%); display: flex; flex-direction: column; gap: 3px; color: #eeeeec; transition: opacity .2s; pointer-events: none; }
.tile-cap-title { font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.25; }
.tile-cap-sub { font-size: 11px; font-weight: 600; color: #b5b3ad; }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 0; }

/* Filter count, empty actions, PineDrama post-copy guide bar, AI spotlight & Genres jump pills */
.filter-count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.ov-copy-tip { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding: 9px 12px; border-radius: 5px; background: rgba(48, 164, 108, .1); border: .5px solid rgba(48, 164, 108, .38); font-size: 13px; line-height: 1.45; color: var(--text); animation: fade .18s ease; }
.ov-copy-tip[hidden] { display: none; }
.ov-tip-msg { min-width: 0; overflow-wrap: anywhere; }
.ov-tip-link { font-weight: 700; color: var(--live); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ov-tip-link:hover { color: var(--gold); }
.ov-tip-x { flex: none; width: 24px; height: 24px; padding: 0; border-radius: 4px; border: 0; background: transparent; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ov-tip-x:hover { background: var(--surface-2); color: var(--text); }

.jump-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
#genres-sec, #collections, #setups, #platforms { scroll-margin-top: calc(var(--nav-h) + 24px); }

.ai-spotlight { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.ai-spot-card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 6px; background: var(--surface); border: .5px solid var(--line); transition: border-color .2s, transform .2s; min-width: 0; }
.ai-spot-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.ai-spot-pic { flex: 0 0 72px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.ai-spot-pic img { width: 100%; height: 100%; object-fit: cover; }
.ai-spot-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ai-spot-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ai-spot-meta i { font-style: normal; color: var(--dim); }
.ai-spot-title { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.22; color: var(--text); overflow-wrap: anywhere; }
.ai-spot-desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* Editorial recognition tiers: Featured / Editor's picks / Notable / Noteworthy + editorial title note */
.row-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.link-more.is-muted { color: var(--muted); font-weight: 600; }
.link-more.is-muted:hover { color: var(--gold); }
.d-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: -2px; }
.d-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; border: .5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: var(--text); transition: border-color .18s, background .18s, color .18s; }
a.d-badge:hover { border-color: var(--gold-2); background: rgba(229, 77, 46, .22); color: #fff; }
.d-badge.is-featured, .d-badge.is-pick { border-color: rgba(229, 77, 46, .55); background: rgba(229, 77, 46, .18); color: #ffb39e; }
.d-badge.is-notable { border-color: rgba(245, 185, 66, .5); background: rgba(245, 185, 66, .14); color: #f7cd6d; }
.d-badge.is-noteworthy { border-color: rgba(127, 214, 168, .42); background: rgba(127, 214, 168, .12); color: #9de2be; }
.d-title-note { margin: -4px 0 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }

@media (max-width: 760px) {
  .hero-body { padding: 88px var(--gutter) 92px; }
  .hero-controls { bottom: 20px; }
  .accordion { height: 410px; }
  .panel { min-width: 46px; }
  .panel.open { min-width: 76vw; }
  .panel.open > .panel-bg { filter: none; transform: none; object-position: center 14%; }
  .panel-art { display: none; }
  .panel.open .panel-open-wrap { align-items: flex-end; padding: 14px; background: linear-gradient(180deg, rgba(11, 10, 9, 0) 18%, rgba(11, 10, 9, .92) 76%); }
  .panel-btn { align-items: center; padding: 0 0 14px; background: rgba(11, 10, 9, .62); }
  .panel-btn-meta { display: none; }
  .panel-btn .v, :lang(zh-Hans) .panel-btn .v { writing-mode: vertical-rl; text-orientation: mixed; font-size: 14px; white-space: nowrap; max-height: 82%; display: block; -webkit-line-clamp: unset; overflow: hidden; text-overflow: ellipsis; }
}
