@font-face { font-family: Cormorant; src: url('/fonts/CormorantGaramond.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
:root { --bg: #0E0C0B; --bg2: #141110; --ink: #F3E6C8; --muted: #C4AB8A; --dim: #8F7660; --gold: #E2B866; --line: rgba(226, 184, 102, .22); --serif: 'Cormorant Garamond', Cormorant, Georgia, serif; --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif; --zh: 'Noto Serif SC', 'Songti SC', serif; }
* { box-sizing: border-box; }
:lang(ko) { --serif: Cormorant, 'Noto Serif KR', Georgia, serif; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: 1312px; margin: 0 auto; padding: 0 64px; }
.serif { font-family: var(--serif); }
[lang="zh"], .zh { font-family: var(--zh); }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 27px; font-weight: 600; font-size: 15px; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn.p { background: var(--gold); color: var(--bg); }
.btn.p:hover { color: var(--bg); }
.btn.s { border: 1px solid rgba(243, 230, 200, .4); font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { position: relative; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.brand { font: 600 26px/1 var(--serif); letter-spacing: .04em; }
.brand b { color: var(--gold); font-weight: 600; }
.nav { display: flex; gap: 36px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav a[aria-current] { color: var(--gold); }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border: 1px solid rgba(226, 184, 102, .35); border-radius: 20px; font-size: 13px; font-weight: 500; }
.lang-btn[aria-expanded="true"] { border-color: var(--gold); }
.lang-list { position: absolute; right: 0; top: 48px; width: 230px; padding: 8px; background: #161311; border: 1px solid rgba(226, 184, 102, .3); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.lang-list[hidden] { display: none; }
.lang-list a, .lang-list span { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.lang-list a:hover { background: rgba(226, 184, 102, .08); color: var(--ink); }
.lang-list [aria-current] { background: rgba(226, 184, 102, .12); }
.lang-list small { font-size: 12px; color: var(--dim); letter-spacing: .08em; }
.lang-list .soon { color: var(--dim); }
.lang-list .soon small { padding: 3px 8px; border: 1px solid rgba(226, 184, 102, .3); border-radius: 10px; color: var(--muted); }
.bell { display: grid; width: 40px; height: 40px; border: 1px solid rgba(226, 184, 102, .35); border-radius: 20px; place-items: center; color: var(--ink); }
.bell[hidden] { display: none; }
.bell[aria-pressed="true"] .off { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid rgba(226, 184, 102, .35); border-radius: 20px; place-items: center; }

/* language suggestion */
.suggest { display: none; position: sticky; top: 0; z-index: 4; background: #161311; border-bottom: 1px solid var(--line); }
.suggest.on { display: block; }
.suggest .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.suggest .btn { height: 38px; padding: 0 16px; font-size: 13px; }
.suggest .x { width: 38px; height: 38px; border: 1px solid rgba(226, 184, 102, .3); border-radius: 19px; display: grid; place-items: center; color: var(--ink); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 820px; margin-top: -88px; }
.hero-text { position: relative; z-index: 1; display: flex; align-items: center; }
.hero-text > div { padding: 150px 0 80px calc(max(0px, (100% - 1312px) / 2) + 64px); max-width: 760px; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero h1 { margin-top: 24px; font: 500 clamp(72px, 9.4vw, 136px)/.9 var(--serif); letter-spacing: -.01em; }
.hero .zh { margin-top: 22px; font-size: 28px; letter-spacing: .4em; color: var(--gold); }
.hero .lead { margin-top: 36px; max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.hero .btns { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; min-height: 820px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.hero-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(14, 12, 11, .35) 30%, rgba(14, 12, 11, 0) 60%); }
.hero-img::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(180deg, rgba(14, 12, 11, 0), var(--bg)); }

/* facts */
.facts { margin-top: -40px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.facts b { display: block; font: 600 34px/1 var(--serif); }
.facts span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

section.block { padding: 112px 0; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.g2.top { align-items: start; }
h2.big { font: 500 56px/1 var(--serif); margin-top: 12px; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* airing */
.airing-poster { position: relative; overflow: hidden; border: 1px solid rgba(226, 184, 102, .3); }
.airing-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; }
.pill { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 16px; background: rgba(14, 12, 11, .78); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pill::before, .live::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--gold); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.airing h2 { font: 500 72px/.95 var(--serif); margin-top: 18px; }
.airing .sub { margin-top: 10px; font-size: 22px; letter-spacing: .2em; color: var(--muted); }
.airing .desc { margin-top: 28px; max-width: 480px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.specs { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.specs dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin-top: 6px; font: 600 24px/1.2 var(--serif); }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* posters */
.posters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(226, 184, 102, .18); background: #1E1A17; }
.poster.on { border-color: var(--gold); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.poster:hover img { transform: scale(1.04); }
.poster span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 10px; background: rgba(14, 12, 11, .82); font-size: 13px; line-height: 1.4; color: var(--muted); }
.poster span b { display: block; color: var(--ink); font-weight: 500; font-size: 14px; }
.note { margin-top: 16px; font-size: 12px; color: var(--dim); }

/* milestones */
.ms { border-top: 1px solid var(--line); padding: 24px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
.ms:last-child { border-bottom: 1px solid var(--line); }
.ms time { font: 600 26px/1.3 var(--serif); color: var(--gold); }
.ms h3 { font-size: 20px; }
.ms p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* community */
.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { font: 500 56px/1.02 var(--serif); margin-top: 12px; }
.band .desc { margin-top: 24px; max-width: 480px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.list li { border-top: 1px solid var(--line); padding: 24px 0; }
.list a.proj { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; }
.list a.proj i { font-style: normal; color: var(--gold); transition: transform .15s; }
.list a.proj:hover i { transform: translateX(4px); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list b { display: block; font-size: 18px; font-weight: 500; }
.list span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

footer .wrap { padding-top: 48px; padding-bottom: 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; font-size: 14px; }
footer p { max-width: 360px; font-size: 13px; line-height: 1.6; color: var(--dim); }
footer a, footer .col span { display: block; color: var(--muted); line-height: 2; }
footer .col span { color: var(--dim); }
.pwa-sheet { position: fixed; z-index: 7; left: 12px; right: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 48px 1fr; gap: 12px 14px; align-items: center; padding: 16px; border: 1px solid rgba(226, 184, 102, .35); border-radius: 16px; background: rgba(20, 17, 16, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.pwa-sheet img { border-radius: 11px; }
.pwa-text b { display: block; font-size: 15px; color: var(--ink); }
.pwa-text span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.pwa-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.pwa-actions .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.stats { position: fixed; left: 16px; bottom: 16px; z-index: 6; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(226, 184, 102, .3); border-radius: 18px; background: rgba(14, 12, 11, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; color: var(--muted); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.stats[hidden] { display: none; }
.stats b { color: var(--gold); font-weight: 600; }
.stats i { width: 8px; height: 8px; border-radius: 4px; background: #5FD38D; box-shadow: 0 0 0 3px rgba(95, 211, 141, .2); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* works page */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font: 500 88px/.95 var(--serif); margin-top: 14px; }
.page-head .lead { margin-top: 20px; max-width: 560px; color: var(--muted); }
.chips { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid rgba(226, 184, 102, .3); color: var(--muted); font-size: 13px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.rows { padding-bottom: 96px; }
.row { display: grid; grid-template-columns: 110px 100px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.row:last-of-type { border-bottom: 1px solid var(--line); }
.row.h { padding: 10px 0; border-top: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.row.on { border-top-color: var(--gold); }
.row:not(.h):hover { background: rgba(226, 184, 102, .04); }
.row[hidden] { display: none; }
.thumb { width: 110px; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid rgba(226, 184, 102, .18); background: #1E1A17; }
.row .y { font: 600 26px/1 var(--serif); }
.row.on .y { color: var(--gold); }
.row .t b { display: block; font-size: 22px; font-weight: 500; }
.row .t small { display: block; margin-top: 6px; font-size: 13px; color: var(--dim); }
.row .t .live { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.row .n { font-size: 18px; color: var(--muted); }
.row .r, .row .w { font-size: 15px; color: var(--muted); }
.row .w { font-size: 13px; }

/* film page */
.crumbs { margin-bottom: 28px; font-size: 13px; color: var(--dim); }
.crumbs a { color: var(--dim); }
.film-hero { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; padding: 56px 0 80px; }
.film-hero img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid rgba(226, 184, 102, .3); }
.film-hero h1 { font: 500 88px/.95 var(--serif); margin-top: 16px; }
.film-hero .sub { margin-top: 10px; font-size: 24px; letter-spacing: .2em; color: var(--muted); }
.film-hero .desc { margin-top: 28px; max-width: 620px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.specs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.specs.four dd { font: 500 16px/1.4 var(--sans); }
.casts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cast img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; object-position: 50% 20%; border: 1px solid rgba(226, 184, 102, .18); }
.cast.on img { border-color: var(--gold); }
.cast b { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; }
.cast span { font-size: 13px; color: var(--dim); }
.cta-band .wrap { padding: 72px 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font: 500 44px/1.05 var(--serif); margin-top: 10px; }

/* about */
.about-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; padding: 80px 0; }
.about-hero h1 { font: 500 96px/.92 var(--serif); margin-top: 16px; }
.about-hero h1 em { font-weight: 400; }
.about-hero .lead { margin-top: 32px; max-width: 560px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.about-hero .photo { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(226, 184, 102, .3); }
.about-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.num { border-top: 1px solid var(--line); padding-top: 20px; }
.num i { display: block; font: 600 44px/1 var(--serif); font-style: normal; color: var(--gold); }
.num h2 { margin-top: 14px; font-size: 20px; }
.num p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.band h2.sm { font-size: 44px; }
.kv { border-top: 1px solid var(--line); padding: 20px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.kv:last-child { border-bottom: 1px solid var(--line); }
.kv dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

.car-nav { display: flex; gap: 8px; }
.car-nav button { cursor: pointer; }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.car::-webkit-scrollbar { display: none; }
.card { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(226, 184, 102, .25); border-radius: 16px; background: #1E1A17; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 11, 0) 35%, rgba(14, 12, 11, .92)); }
.card > :not(img) { position: relative; z-index: 1; }
.card .tag { align-self: flex-start; padding: 5px 12px; border-radius: 12px; background: rgba(226, 184, 102, .16); border: 1px solid rgba(226, 184, 102, .4); color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.card b { margin-top: 12px; font: 500 30px/1.1 var(--serif); color: var(--ink); }
.card i { margin-top: 14px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--gold); }
.card:hover img { transform: scale(1.05); }
.card:hover { border-color: var(--gold); }
.kv.brow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 110px; align-items: center; }

.bname { display: flex; align-items: center; gap: 18px; font: 500 22px/1.2 var(--serif); }
.logo { flex: none; width: 112px; height: 56px; display: grid; place-items: center; padding: 8px 12px; background: #F6EFE2; border-radius: 10px; }
.logo img { max-width: 100%; max-height: 40px; object-fit: contain; }
.logo i { font: 600 13px/1.1 var(--sans); font-style: normal; letter-spacing: .04em; color: #2A211B; text-align: center; }

.sl-pick { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.sl-step { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(226, 184, 102, .3); border-radius: 22px; color: var(--muted); }
span.sl-step { border-color: transparent; }
.sl-date select { appearance: none; height: 44px; padding: 0 44px 0 18px; border: 1px solid var(--gold); border-radius: 22px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E2B866' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ink); font: 500 15px var(--sans); cursor: pointer; }
.sl-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.sl-tabs button { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; font-size: 15px; border-radius: 12px 12px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; }
.sl-tabs button b { font: 600 22px/1 var(--serif); color: var(--ink); }
.sl-tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); background: rgba(226, 184, 102, .06); }
.sl-tabs button[aria-selected="true"] b { color: var(--gold); }
.sl-panel { padding-top: 24px; }
.sl-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; margin-bottom: 28px; }
.sl-metrics > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); }
.sl-metrics dt { font-size: 13px; color: var(--muted); }
.sl-metrics dd { margin-top: 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sl-metrics dd b { font: 600 30px/1 var(--serif); color: var(--gold); }
.sl-metrics dd span { font-size: 16px; color: var(--ink); }
.sl-panel .sl-meta { margin: 8px 0 24px; }
.sl-post { border-top: 1px solid var(--line); padding: 24px 0; }
.sl-meta { font-size: 13px; color: var(--dim); } .sl-meta a { color: var(--gold); }
.sl-text { margin-top: 8px; font-size: 15px; color: var(--muted); }
.sl-imgs { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; align-items: start; }
.sl-imgs img { width: 100%; border: 1px solid rgba(226, 184, 102, .18); background: #fff; }

.nav a, .lang-btn { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 88px; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--bg2); border-bottom: 1px solid var(--line); z-index: 5; }
  .nav.open a { padding: 14px 0; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .car { grid-auto-columns: 78%; gap: 14px; }
  .card b { font-size: 24px; }
  .logo { width: 84px; height: 46px; }
  .bname { font-size: 18px; gap: 12px; }
  .kv.brow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 88px; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--bg2); border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 14px 0; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: -76px; }
  .hero-text { order: 2; }
  .hero-text > div { padding: 0 20px 40px; }
  .hero-img { min-height: 560px; }
  .hero-img::before { background: linear-gradient(180deg, rgba(14, 12, 11, .55), rgba(14, 12, 11, 0) 35%); }
  .hero .lead { margin-top: 20px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 0; }
  section.block { padding: 64px 0; }
  .g2, .g3, .about-hero, .film-hero, footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  h2.big, .band h2, .airing h2 { font-size: 40px; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .casts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-head h1, .film-hero h1, .about-hero h1 { font-size: 56px; }
  .row { grid-template-columns: 80px minmax(0, 1fr); row-gap: 4px; }
  .row .n, .row .r, .row .w, .row.h { display: none; }
  .thumb { width: 80px; }
  .row .y { font-size: 18px; }
  .row .t b { font-size: 18px; }
  .ms { grid-template-columns: 1fr; gap: 6px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs.four { grid-template-columns: 1fr 1fr; }
  .cta-band .wrap { padding: 48px 20px; }
}
.sl-tabs .sl-empty span{opacity:.4}
.sl-none{opacity:.6;padding:32px 0}
.fol { position: fixed; right: 16px; bottom: 16px; z-index: 6; display: grid; gap: 6px; padding: 10px 14px; border: 1px solid rgba(226, 184, 102, .3); border-radius: 14px; background: rgba(14, 12, 11, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.fol p { margin: 0 0 2px; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fol a { display: flex; align-items: center; gap: 8px; }
.fol svg { width: 16px; height: 16px; flex: none; }
.fol b { margin-left: auto; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }

.stats { gap: 12px; }
.stats span { display: flex; align-items: center; gap: 6px; }
.stats svg { width: 14px; height: 14px; color: var(--muted); }
.fol small { margin-top: 2px; text-align: center; font-size: 10px; color: var(--dim); }
.page-head .lead { margin-top: 12px; color: var(--muted); }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 24px; align-items: stretch; }
.cd-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); }
.cd-head { display: flex; gap: 14px; align-items: flex-start; }
a.cd-card:hover, .cd-card a.cd-head:hover b { border-color: var(--gold); color: var(--gold); }
.cd-ava { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--gold); font: 600 22px/1 var(--serif); }
.cd-head b { display: block; font-size: 16px; color: var(--ink); }
.cd-id, .cd-fol { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.cd-fol { color: var(--gold); }
.cd-desc { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cd-video { position: relative; display: block; margin-top: 14px; aspect-ratio: 9 / 12; border-radius: 12px; overflow: hidden; background: var(--bg); }
.cd-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cd-video:hover img { transform: scale(1.03); }
.cd-play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 12, 11, .55); color: #fff; font-size: 18px; backdrop-filter: blur(4px); }
.cd-cap { position: absolute; inset: auto 0 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font-size: 13px; line-height: 1.45; color: #f3ead8; }
/* clamp on the inner span: on the padded box the 4th line shows through the bottom padding */
.cd-cap > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cd-cap time { color: var(--gold); margin-right: 6px; font-weight: 600; }
.cd-even { align-items: stretch; grid-auto-rows: 1fr; }
.cd-even .cd-head b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-even .cd-desc { -webkit-line-clamp: 3; }
.cd-pin { border-color: rgba(226, 184, 102, .55); background: linear-gradient(135deg, rgba(226, 184, 102, .12), var(--bg2) 60%); }
.cd-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 10px; background: var(--gold); color: var(--bg); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.newpost { position: fixed; z-index: 20; left: 50%; top: 88px; transform: translateX(-50%); width: min(400px, calc(100vw - 32px)); padding: 18px 18px 16px; border: 1px solid rgba(226, 184, 102, .5); border-radius: 16px; background: rgba(20, 17, 16, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 48px rgba(0, 0, 0, .55); animation: np-in .4s ease-out; }
.newpost .x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; }
.newpost .np-head { display: flex; gap: 12px; align-items: center; padding-right: 20px; }
.newpost .np-ico svg { width: 30px; height: 30px; display: block; }
.newpost b { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.newpost p { margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--gold); font-size: 13px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newpost .btn { margin-top: 14px; width: 100%; justify-content: center; padding: 10px 16px; font-size: 14px; }
@keyframes np-in { from { opacity: 0; transform: translate(-50%, -12px); } }
/* Image fade-in + shimmer placeholder (site.js), and a soft cross-fade between pages where the browser supports it. */
img.lz { opacity: 0; transition: opacity .5s ease; }
img.lz.in { opacity: 1; }
.shimmer { background-image: linear-gradient(100deg, rgba(226, 184, 102, .04) 30%, rgba(226, 184, 102, .12) 50%, rgba(226, 184, 102, .04) 70%) !important; background-size: 300% 100% !important; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
.sl-panel:not([hidden]) { animation: panel-in .3s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { img.lz, .shimmer, .sl-panel { transition: none; animation: none !important; } img.lz { opacity: 1; } }

/* ── Scroll reveal (site.js adds .fx-on to <html> and .in to each .rv once it is on screen). Without JS nothing is hidden. */
.fx-on .rv:not(.airing):not(.facts):not(.rv-kids) { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.fx-on .rv.in:not(.airing):not(.facts):not(.rv-kids) { opacity: 1; transform: none; }
.fx-on .rv-kids > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--k, 0) * 90ms); }
.fx-on .rv-kids.in > * { opacity: 1; transform: none; }

/* Facts row: each item rises in turn, then its icon plays. */
.fx-ico { display: block; width: 40px; height: 40px; margin-bottom: 14px; }
.fx-ico svg { width: 100%; height: 100%; overflow: visible; fill: var(--gold); stroke: none; }
.fx-ico .stripe, .fx-ico .handle, .fx-ico .ring, .fx-ico .ring2 { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.fx-ico .stripe { stroke: var(--bg); }
.fx-ico .cake { fill: rgba(226, 184, 102, .35); }
.fx-ico .flame { fill: #ffb547; transform-origin: 24px 15px; }
.fx-ico .smoke { fill: rgba(243, 230, 200, .55); opacity: 0; }
.fx-ico .shine { fill: rgba(255, 255, 255, .7); }
.fx-on .facts .fx { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 160ms); }
.fx-on .facts.in .fx { opacity: 1; transform: none; }
.facts.in .fx0 .flame { animation: flicker .25s ease-in-out 6 alternate calc(var(--i) * 160ms + .4s), blowout .35s ease-in forwards calc(var(--i) * 160ms + 1.9s); }
.facts.in .fx0 .smoke { animation: smoke 1.4s ease-out forwards 2.1s; }
.facts.in .fx1 .clap-top { transform-origin: 6px 17px; animation: clap .5s cubic-bezier(.5, 0, .3, 1.4) 2 calc(var(--i) * 160ms + .5s); }
.facts.in .fx2 .cup { animation: drop .8s cubic-bezier(.3, 1.6, .5, 1) backwards calc(var(--i) * 160ms + .3s); }
.facts.in .fx2 .shine { animation: shine 1s ease-in-out calc(var(--i) * 160ms + 1.2s); }
.facts.in .fx2 .spark path { transform-box: fill-box; transform-origin: center; animation: spark 1.2s ease-out backwards calc(var(--i) * 160ms + 1s); }
.facts.in .fx2 .spark path:nth-child(2) { animation-delay: calc(var(--i) * 160ms + 1.2s); }
.facts.in .fx2 .spark path:nth-child(3) { animation-delay: calc(var(--i) * 160ms + 1.4s); }
.facts.in .fx3 .play { transform-origin: 26px 24px; animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) backwards calc(var(--i) * 160ms + .4s); }
.facts.in .fx3 .ring2 { transform-origin: 24px 24px; animation: ripple 1.6s ease-out 2 calc(var(--i) * 160ms + .6s); }
@keyframes flicker { from { transform: scale(1, 1) rotate(-4deg); } to { transform: scale(.85, 1.15) rotate(4deg); } }
@keyframes blowout { to { transform: scale(.2, .1) translateX(6px); opacity: 0; } }
@keyframes smoke { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(4px, -10px); } }
@keyframes clap { 0% { transform: rotate(0); } 40% { transform: rotate(-28deg); } 100% { transform: rotate(0); } }
@keyframes drop { from { transform: translateY(-34px); opacity: 0; } }
@keyframes shine { 0% { transform: translateX(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(12px); opacity: 0; } }
@keyframes spark { 0% { transform: scale(0); opacity: 0; } 40% { transform: scale(1.4); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* Now airing: red curtains part over the whole section, then the text rises in. */
.airing { position: relative; overflow: hidden; }
.airing .curtain { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 20; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 30%, rgba(0, 0, 0, .3) 60%, transparent), repeating-linear-gradient(90deg, #5e0e15 0 12px, #8a1c25 12px 20px, #4a0a10 20px 30px);
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .45); display: none; }
.airing .curtain.l { left: 0; border-right: 3px solid #c99a4a; }
.airing .curtain.r { right: 0; border-left: 3px solid #c99a4a; }
.airing .valance { position: absolute; inset: 0 0 auto; height: 40px; z-index: 21; display: none; pointer-events: none;
  background: radial-gradient(circle at 12px 0, #8a1c25 18px, transparent 19px) 0 0 / 36px 40px repeat-x, linear-gradient(#6b121a, #6b121a) 0 0 / 100% 20px no-repeat; border-top: 2px solid #c99a4a; }
.fx-on .airing .curtain, .fx-on .airing .valance { display: block; }
.airing { position: relative; overflow: hidden; }
.airing .curtain { transition: transform 2s cubic-bezier(.7, 0, .2, 1) .3s; }
.airing .valance { transition: transform .8s ease 1.9s; }
.airing.in .curtain.l { transform: translateX(-104%); }
.airing.in .curtain.r { transform: translateX(104%); }
.airing.in .valance { transform: translateY(-110%); }
.airing-poster img { transition: transform 2.6s cubic-bezier(.2, .7, .2, 1); }
.fx-on .airing:not(.in) .airing-poster img { transform: scale(1.08); }
.fx-on .airing-text > * { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.airing.in .airing-text > * { opacity: 1; transform: none; }
.airing.in .airing-text > :nth-child(1) { transition-delay: 1s; } .airing.in .airing-text > :nth-child(2) { transition-delay: 1.15s; }
.airing.in .airing-text > :nth-child(3) { transition-delay: 1.3s; } .airing.in .airing-text > :nth-child(4) { transition-delay: 1.45s; }
.airing.in .airing-text > :nth-child(5) { transition-delay: 1.6s; } .airing.in .airing-text > :nth-child(6) { transition-delay: 1.75s; }

@media (prefers-reduced-motion: reduce) {
  .fx-on .rv, .fx-on .rv-kids > *, .fx-on .facts .fx, .fx-on .airing-text > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fx-on .airing .curtain, .fx-on .airing .valance { display: none; }
  .fx-ico * { animation: none !important; }
}
/* Gossip page */
.dua-headx { padding: 56px 0 28px; }
.dua-headx h1 { font-size: 72px; }
.dua-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dua-tabs button { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 14px; }
.dua-tabs button i { font-style: normal; font-size: 12px; color: var(--dim); }
.dua-tabs button:hover { color: var(--ink); border-color: #e2b86666; }
.dua-tabs button[aria-selected="true"] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.dua-tabs button[aria-selected="true"] i { color: var(--bg); opacity: .7; }
.dua-tabs .sl-empty { opacity: .55; }
.dua-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: stretch; }
.dua-card { --k: var(--gold); position: relative; display: flex; flex-direction: column; padding: 20px 22px 18px; border: 1px solid var(--line); border-left: 3px solid var(--k); border-radius: 14px; background: var(--bg2); }
.dua-card.k-phim { --k: #E2B866; } .dua-card.k-dai-ngon { --k: #D98C6A; } .dua-card.k-show { --k: #9FC27A; } .dua-card.k-tap-chi { --k: #C59AD6; } .dua-card.k-su-kien { --k: #7FB3D5; }
.dua-hot { grid-column: 1 / -1; padding: 28px 32px 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--k) 10%, var(--bg2)), var(--bg2) 60%); }
.dua-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--dim); }
.dua-kind { color: var(--k); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.dua-tag { padding: 1px 9px; border-radius: 99px; font-size: 12px; border: 1px solid var(--line); white-space: nowrap; display: inline-block; }
.dua-chin { color: #8fd18f; border-color: #8fd18f66; }
.dua-thoi { color: #e08a7a; border-color: #e08a7a66; }
.dua-title { margin: 12px 0 0; font: 600 26px/1.15 var(--serif); color: var(--ink); }
.dua-hot .dua-title { font-size: 36px; }
.dua-zh { margin-top: 4px; font: 15px/1.4 var(--zh); color: var(--dim); }
.dua-body { margin-top: 12px; line-height: 1.65; color: var(--ink); opacity: .92; }
.dua-hot .dua-body { font-size: 17px; max-width: 820px; }
.dua-hash { font-size: .8em; color: var(--dim); }
.dua-done { margin-top: 8px; font-size: 13px; color: var(--muted); }
.dua-src { align-self: flex-start; display: table; margin-top: 8px; font-size: 12px; color: var(--dim); }
.dua-src:hover { color: var(--gold); }
.dua-vote { margin-left: auto; display: inline-flex; gap: 4px; flex: none; }
.dua-vote button { display: inline-flex; gap: 4px; align-items: center; padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--dim); font-size: 11px; line-height: 1.4; }
.dua-vote button b { font-weight: 600; font-size: 12px; }
.dua-vote button b:empty { display: none; }
.dua-vote button[data-d="1"].on, .dua-vote button[data-d="1"]:hover { color: #8fd18f; border-color: #8fd18f88; }
.dua-vote button[data-d="-1"].on, .dua-vote button[data-d="-1"]:hover { color: #e08a7a; border-color: #e08a7a88; }
.dua-subs { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.dua-subs ul { display: grid; gap: 12px; margin-top: 10px; }
.dua-hot .dua-subs ul { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px 24px; }
.dua-sub { display: flex; gap: 10px; align-items: flex-start; }
.dua-sub .dua-vote { margin: 0; flex-direction: column; }
.dua-sub b { font-size: 15px; font-weight: 600; margin-right: 8px; }
.dua-sub p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dua-subs-l { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.dua-cmts { margin-top: 16px; display: grid; gap: 8px; }
.dua-cmt { font: italic 17px/1.45 var(--serif); color: var(--muted); }
.dua-cmt span { display: block; margin-top: 2px; font: 12px var(--sans); color: var(--dim); }
.dua-old { margin-top: 14px; font-size: 14px; }
.dua-old summary { cursor: pointer; color: var(--dim); font-size: 13px; }
.dua-upd { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--line); }
.dua-upd time { font-size: 12px; color: var(--dim); }
.dua-upd p { margin-top: 4px; }
@media (max-width: 900px) { .dua-list { grid-template-columns: 1fr; } .dua-hot { padding: 22px; } .dua-hot .dua-title { font-size: 30px; } .dua-headx h1 { font-size: 56px; } }
.dua-card:not(.dua-hot) .dua-sub:nth-child(n+3) { display: none; }
.dua-sub p.full { display: block; -webkit-line-clamp: unset; overflow: visible; }
.dua-rm { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 13px; cursor: pointer; }
.dua-rm:hover { text-decoration: underline; }
.dua-card.open .dua-sub { display: flex !important; }
.dua-more { margin-top: 10px; font-size: 13px; color: var(--gold); }
.dua-card > :last-child { margin-bottom: 0; }
.cd-badge.cd-brand { background: none; border: 1px solid var(--line); color: var(--muted); }
.cd-video.cd-text { min-height: 180px; background: var(--bg); }
.cd-video.cd-text .cd-cap { position: static; background: none; }
.dua-card[hidden] { display: none !important; }

.db-page { display: block; padding: 28px; border-radius: 16px; background: var(--db-bg); color: #fff; }
.db-head { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.db-head img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.db-head h3 { margin: 4px 0 0; font: 600 40px/1.2 var(--sans); color: #fff; }
.db-year { margin: 6px 0 0; font-size: 22px; color: #fff; }
.db-hot { display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 6px; background: rgba(255, 255, 255, .12); font-size: 16px; color: rgba(255, 255, 255, .9); }
.db-line { margin: 16px 0 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.db-rate { position: relative; margin-top: 28px; padding: 20px 24px; border-radius: 12px; background: rgba(0, 0, 0, .14); }
.db-lbl { font-size: 16px; color: rgba(255, 255, 255, .9); }
.db-go { position: absolute; right: 22px; top: 16px; font-size: 22px; color: rgba(255, 255, 255, .5); }
.db-row { margin-top: 14px; display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.db-left { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.db-left b { font: 500 60px/1 var(--sans); color: #fff; }
.db-stars5, .db-mini { display: flex; gap: 2px; justify-content: flex-end; }
.db-stars5 i, .db-mini i { position: relative; width: 20px; height: 20px; background: rgba(255, 255, 255, .25); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.db-stars5 em { position: absolute; inset: 0 auto 0 0; background: #ffac2d; }
.db-mini { width: 84px; } .db-mini i { width: 13px; height: 13px; } .db-mini i { background: rgba(255, 255, 255, .45); }
.db-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.db-bars li { display: grid; grid-template-columns: 84px 1fr 52px; gap: 10px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .55); }
.db-bars li span:last-child { text-align: right; }
.db-bars > li > i { height: 12px; background: rgba(255, 255, 255, .08); }
.db-bars > li > i em { display: block; height: 100%; background: #ffac2d; }
.db-count { margin: 10px 0 0; text-align: right; font-size: 14px; color: rgba(255, 255, 255, .5); }
.db-watch { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .6); }
@media (max-width: 600px) { .db-page { padding: 18px; } .db-head { grid-template-columns: 110px 1fr; gap: 16px; } .db-head h3 { font-size: 28px; } .db-year { font-size: 17px; } .db-hot { font-size: 14px; margin-top: 12px; } .db-line { font-size: 13px; } .db-row { grid-template-columns: 1fr; gap: 14px; } .db-mini { width: 70px; } .db-bars li { grid-template-columns: 70px 1fr 46px; } }
/* Upcoming projects */
.up-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-top: 28px; background: var(--bg2); }
.up-card h2 { font: 500 34px/1.15 var(--serif); margin: 10px 0 2px; }
.up-card .sub { color: var(--dim); }
.up-card .desc { color: var(--muted); margin: 14px 0 22px; max-width: 760px; }
.up-st { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--line); color: var(--muted); }
.up-shoot { color: #7ed69a; border-color: rgba(126, 214, 154, .45); }
.up-soon { color: var(--gold); border-color: rgba(226, 184, 102, .5); }
.up-wrap, .up-wait { color: var(--muted); }
.up-news { list-style: none; margin: 10px 0 0; padding: 0; }
.up-news li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.up-news li.muted { display: block; }
.up-news time { color: var(--gold); font-size: 14px; }
.up-news p { margin: 0; }
.up-news a { color: var(--dim); font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) { .up-card { padding: 20px; } .up-card h2 { font-size: 28px; } }
.up-panel .up-head h2 { font: 500 34px/1.15 var(--serif); margin: 10px 0 2px; }
.up-panel .up-head .sub { color: var(--dim); }
.up-panel .up-head .desc { color: var(--muted); margin: 12px 0 24px; max-width: 760px; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.up-grid .sl-none { grid-column: 1 / -1; }
.up-tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.up-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.up-tile:hover img { transform: scale(1.04); }
.up-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px; }
.up-n { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; }
.up-cap { position: absolute; inset: auto 0 0 0; padding: 32px 10px 9px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #eee; font-size: 12.5px; line-height: 1.4; }
.up-txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.up-cap small { display: block; color: #aaa; font-size: 11px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-cap time { color: var(--gold); margin-right: 6px; }
@media (max-width: 600px) { .up-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.up-more { height: 1px; }
button.up-tile { padding: 0; cursor: pointer; text-align: left; width: 100%; font: inherit; }
.up-box { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: grid; grid-template-rows: 1fr auto; }
.up-box[hidden] { display: none; }
.up-stage { display: grid; place-items: center; min-height: 0; padding: 56px 56px 0; }
.up-stage img, .up-stage video { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 8px; }
.up-info { padding: 14px 20px 22px; max-width: 760px; margin: 0 auto; text-align: center; color: #ddd; font-size: 14px; }
.up-info b { color: var(--gold); font-weight: 500; }
.up-info p { margin: 6px 0; }
.up-info a { color: var(--muted); font-size: 13px; }
.up-x, .up-prev, .up-next { position: absolute; color: #fff; background: rgba(255, 255, 255, .1); border-radius: 50%; width: 44px; height: 44px; font-size: 22px; display: grid; place-items: center; }
.up-x { top: 12px; right: 12px; }
.up-prev, .up-next { top: 45%; font-size: 30px; }
.up-prev { left: 10px; } .up-next { right: 10px; }
.up-prev[hidden], .up-next[hidden] { display: none; }
@media (max-width: 600px) { .up-stage { padding: 56px 8px 0; } .up-prev, .up-next { background: rgba(0, 0, 0, .4); } }
/* Douban: her other dramas under the airing one */
.db-others { margin: 40px 0 0; font: 500 22px/1.2 var(--serif); }
.db-one { margin-top: 18px; }
/* Phones: logo + language + bell + menu must fit 360 px, or the page overflows and the app zooms. */
@media (max-width: 600px) {
  .lang-btn { padding: 0 10px; gap: 6px; font-size: 12px; }
 
  .bell, .menu-btn { width: 36px; height: 36px; }
  .brand { font-size: 22px; }
}
/* Safety net: nothing may widen the page past the screen (the installed app zooms in when it does). */
html, body { overflow-x: clip; }
@media (max-width: 360px) { .brand { font-size: 19px; } div:has(> .lang) { gap: 6px !important; } .lang-btn { padding: 0 8px; } .bell, .menu-btn { width: 34px; height: 34px; } }

.fol-img { margin-top: 4px; padding: 5px 8px; border: 1px solid rgba(226, 184, 102, .4); border-radius: 8px; font-size: 11px; color: var(--gold); }
.mk { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 18px; border: 1px solid rgba(226, 184, 102, .3); border-radius: 16px; background: #15120f; color: var(--ink, #eee); }
.mk::backdrop { background: rgba(0, 0, 0, .7); }
.mk h3 { margin: 0 0 12px; font-size: 18px; }
.mk-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.mk-row label { display: grid; gap: 4px; flex: 1 1 140px; font-size: 12px; color: var(--muted); }
.mk-row select, .mk-row input { min-width: 0; font: inherit; color: inherit; }
.mk-row button { flex: 1; padding: 10px; border: 1px solid rgba(226, 184, 102, .4); border-radius: 10px; color: var(--gold); }
.mk-row button[name=dl] { background: var(--gold); color: #15120f; font-weight: 600; }
.mk canvas { width: 100%; height: auto; border-radius: 10px; }
.mk-none { font-size: 12px; color: var(--dim); }
.mk { color-scheme: dark; } .mk-row input[type=datetime-local] { padding: 6px; border-radius: 8px; background: #221d18; border: 1px solid rgba(226, 184, 102, .3); }

/* Huanwang charts on the Upcoming page (public/huan.js). */
.up-huan { margin: 8px 0 32px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(226, 184, 102, .07), rgba(226, 184, 102, 0) 240px); }
.hw-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.up-huan h3 { font: 500 22px/1.2 var(--serif); margin: 0; }
.up-huan h4 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 28px 0 12px; }
.hw-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
.hw-seg button { font: inherit; font-size: 13px; padding: 6px 14px; border: 0; border-radius: 99px; background: none; color: var(--muted); cursor: pointer; }
.hw-seg button[aria-selected=true] { background: var(--gold); color: #1a1408; font-weight: 600; }
.hw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hw-stat { display: grid; gap: 2px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.hw-stat b { color: var(--gold); font-size: 28px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hw-stat span { font-size: 13px; }
.hw-stat small { color: var(--dim); font-size: 12px; }
.hw-chart { display: block; max-width: 100%; height: auto; margin-top: 18px; color: var(--gold); overflow: visible; }
.hw-chart circle { fill: var(--gold); }
.hw-chart .hw-last { fill: var(--bg, #0e0d0b); stroke: var(--gold); stroke-width: 3; }
.hw-grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.hw-chart text { fill: var(--dim); font-size: 11px; }
.hw-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hw-top li { display: grid; grid-template-columns: 28px 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; }
.hw-top li.hw-me { border-color: var(--gold); background: rgba(226, 184, 102, .1); }
.hw-r { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .08); color: var(--muted); }
.hw-top li:nth-child(1) .hw-r { background: #e2b866; color: #1a1408; }
.hw-top li:nth-child(2) .hw-r { background: #c9ccd3; color: #1a1408; }
.hw-top li:nth-child(3) .hw-r { background: #c98a5a; color: #1a1408; }
.hw-top img { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; }
.hw-top b { display: block; font-weight: 500; }
.hw-top small { display: block; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-top div { min-width: 0; }
.hw-v { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.hw-v i { display: block; font-style: normal; font-size: 11px; font-weight: 500; color: var(--dim); }
.hw-v .hw-up { color: #7ed69a; } .hw-v .hw-dn { color: #e6806f; }
.hw-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.hw-card { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: linear-gradient(135deg, #f6dfb0, #e8c58a); color: #3a2a10; }
.hw-card b { font-size: 14px; font-weight: 700; line-height: 1.3; }
.hw-card span { display: flex; justify-content: space-between; font-size: 12px; opacity: .8; }
.hw-card em { font-style: normal; font-weight: 700; }
.hw-lv2 { background: linear-gradient(135deg, #efe2c8, #dcc79e); } .hw-lv3 { background: linear-gradient(135deg, #e6ddcd, #cfc3ab); }
.hw-src { display: inline-block; margin-top: 20px; color: var(--dim); font-size: 13px; }
@media (max-width: 600px) { .up-huan { padding: 16px; } .hw-ach { grid-template-columns: 1fr 1fr; gap: 8px; } .hw-card { padding: 12px; gap: 8px; } .hw-card b { font-size: 13px; } .hw-stats { grid-template-columns: repeat(2, 1fr); } .hw-stat b { font-size: 24px; } }

/* follower box: minimise to the total */
.fol p { position: relative; padding: 0 22px; }
.fol-x { position: absolute; right: -8px; top: -6px; display: grid; place-items: center; width: 30px; height: 26px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.fol-sum { display: none; }
.fol.min { padding: 0; border-radius: 22px; }
.fol.min > :not(.fol-sum) { display: none; }
.fol.min .fol-sum { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: none; border: 0; color: var(--muted); font: 500 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.fol.min .fol-sum b { margin: 0; font-size: 16px; letter-spacing: 0; }

/* Weibo hot search strip (site.js): fixed under the header, follows to the top on scroll */
.hs { position: fixed; z-index: 7; left: 50%; transform: translateX(-50%); width: min(1184px, calc(100vw - 24px)); border: 1px solid rgba(226, 184, 102, .45); border-radius: 14px; background: rgba(20, 17, 15, .93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); overflow: hidden; }
.hs[hidden] { display: none; }
.hs-top { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(226, 184, 102, .18); }
.hs-top .t { flex: 1; }
.hs-top .m { display: none; flex: 1; letter-spacing: .06em; text-transform: none; font-size: 12px; color: var(--ink); }
.hs .live { width: 7px; height: 7px; flex: none; border-radius: 4px; background: #FF6B3D; box-shadow: 0 0 0 3px rgba(255, 107, 61, .25); animation: hs-live 1.6s ease-in-out infinite; }
@keyframes hs-live { 50% { opacity: .35; } }
.hs-x { display: grid; place-items: center; width: 36px; height: 28px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.hs.min .hs-top { border: 0; cursor: pointer; }
.hs.min .hs-top .t, .hs.min .hs-row { display: none; }
.hs.min .hs-top .m { display: block; }
.hs-row { display: block; padding: 8px 12px; color: inherit; }
.hs-row + .hs-row { border-top: 1px solid rgba(226, 184, 102, .1); }
.hs-row:hover { background: rgba(226, 184, 102, .06); color: inherit; }
.hs-l1 { display: flex; align-items: center; gap: 8px; }
.hs-rk { flex: none; min-width: 30px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 6px; background: rgba(226, 184, 102, .16); color: var(--gold); font: 700 12px/20px var(--sans); text-align: center; }
.hs-rk.top { background: var(--gold); color: var(--bg); }
.hs-w { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 14px var(--sans); }
.hs-tag { flex: none; padding: 0 4px; border-radius: 4px; font: 700 10px/16px var(--sans); color: #fff; }
.hs-tag.new { background: #E2683B; } .hs-tag.hot { background: #D6452F; } .hs-tag.boil { background: #A9241B; }
.hs-n { flex: none; margin-left: auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-g { display: block; margin: 3px 0 0 38px; font-size: 12px; line-height: 18px; color: var(--muted); white-space: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.hs-g::-webkit-scrollbar { display: none; }
.hs-g.long { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }

/* first-visit tour (tour.js) */
.tour { position: fixed; inset: 0; z-index: 50; font-family: var(--sans); }
.tour-hole { position: fixed; border-radius: 14px; box-shadow: 0 0 0 2px var(--gold), 0 0 0 7px rgba(226, 184, 102, .22), 0 0 0 4000px rgba(8, 6, 5, .74); transition: all .25s ease; pointer-events: none; }
.tour.cen .tour-hole { inset: 0; box-shadow: none; background: rgba(8, 6, 5, .8); border-radius: 0; }
.tour-ch { position: fixed; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); pointer-events: none; }
.tour.cen .tour-ch { left: 50%; top: calc(50% - 300px); height: 240px; transform: translateX(-50%); }
.tour-bub { position: fixed; box-sizing: border-box; padding: 14px 16px 12px; border-radius: 16px; background: #F3E6C8; color: #1E1A17; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.tour.cen .tour-bub { left: 50%; top: calc(50% - 50px); width: min(360px, calc(100vw - 32px)); transform: translateX(-50%); text-align: center; padding: 20px; }
.tour-bub .h { margin: 0; font: 600 22px/1.15 var(--serif); color: #0E0C0B; }
.tour-bub .p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #3A2F27; }
.tour-ft { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.tour.cen .tour-ft { align-items: center; }
.tour-dots { display: flex; gap: 4px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(14, 12, 11, .2); }
.tour-dots i.on { width: 16px; background: #B8892E; }
.tour-bt { display: flex; gap: 8px; justify-content: flex-end; }
.tour-bt button { white-space: nowrap; height: 40px; padding: 0 16px; border-radius: 20px; font: 600 13px var(--sans); cursor: pointer; }
.tour-bt .pri { background: #0E0C0B; color: #F3E6C8; border: 0; }
.tour-bt .gh { background: none; border: 1px solid rgba(14, 12, 11, .25); color: #3A2F27; }
.nav-open .hs { display: none; }
/* the header (language picker) stays above the tour overlay */
.tour-on .top { z-index: 60; }
@media (max-width: 600px) {
  .stats { left: 12px; bottom: 12px; height: 38px; box-sizing: border-box; padding: 0 12px; border-radius: 19px; gap: 10px; }
  .fol { right: 12px; bottom: 12px; }
  .fol.min { border-radius: 19px; }
  .fol.min .fol-sum { height: 36px; padding: 0 12px; gap: 6px; font-size: 10px; letter-spacing: .06em; }
  .fol.min .fol-sum b { font-size: 14px; }
  .hs-top { padding: 2px 2px 2px 10px; }
  .hs-row { padding: 6px 10px; }
  .hs-w { font-size: 13px; }
  .hs-g { margin-left: 38px; font-size: 11.5px; line-height: 16px; }
}
/* Votes: the +agree / −disagree numbers are coloured for everyone; the button itself only when it is my vote. */
.dua-vote button[data-d="1"] b { color: #8fd18f; } .dua-vote button[data-d="-1"] b { color: #e08a7a; }
.dua-vote button.on[data-d="1"] { background: #8fd18f26; } .dua-vote button.on[data-d="-1"] { background: #e08a7a26; }
.dua-bar { position: relative; height: 4px; margin: 6px 0 2px; border-radius: 2px; background: #e08a7a55; }
.dua-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: #8fd18f; }
.dua-bar span { position: absolute; right: 0; top: 8px; font-size: 11px; color: var(--dim); }
.dua-bar + .dua-title { margin-top: 18px; }
/* nút nổi Trù Sư Trưởng: mở bếp công khai, nhỏ để không che nội dung trên điện thoại */
.tsr-noi { position: fixed; z-index: 8; left: 16px; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; background: #F3E6C8 url(/img/tru-su.webp) center/88% no-repeat; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); transition: transform .2s; }
.tsr-noi:hover, .tsr-noi:focus-visible { transform: scale(1.08); outline: none; box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(0, 0, 0, .45); }
@media (max-width: 640px) { .tsr-noi { width: 38px; height: 38px; left: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }
