:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #101010;
  --muted: #676767;
  --line: #d9d9d9;
  --accent: #d71920;
  --max: 1160px;
  --serif: Georgia, "Times New Roman", "Noto Serif TC", serif;
  --sans: Arial, "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-header { position: relative; z-index: 20; height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.brand { display: grid; justify-items: center; font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: .72; letter-spacing: -.08em; }
.brand span:last-child { margin-top: 10px; font-family: var(--sans); font-size: 16px; letter-spacing: .18em; }
.menu-button { justify-self: start; display: grid; gap: 6px; width: 32px; padding: 8px 2px; border: 0; background: none; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 1px; background: currentColor; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.language-control select { max-width: 104px; border: 0; border-bottom: 1px solid var(--line); padding: 7px 18px 7px 2px; background: transparent; color: inherit; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.text-button, .search-toggle { border: 0; background: none; cursor: pointer; }
.text-button { padding: 8px 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.search-toggle { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; }
.search-toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.category-nav { position: sticky; z-index: 19; top: 0; display: flex; justify-content: center; gap: 34px; overflow-x: auto; padding: 16px 24px 15px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); scrollbar-width: none; }
.category-nav button { flex: 0 0 auto; border: 0; padding: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.category-nav button:hover, .category-nav button.active { color: var(--accent); }

.search-panel { display: none; position: relative; z-index: 18; max-width: var(--max); margin: 20px auto 0; padding: 0 24px; }
.search-panel.open { display: block; }
.search-panel label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.search-panel input { width: 100%; padding: 17px 0; border: 0; border-bottom: 2px solid var(--ink); outline: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 26px; }

main { min-height: 70vh; }
.page-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.journal-intro { display: flex; justify-content: space-between; width: min(var(--max), calc(100% - 48px)); margin: 29px auto 0; color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.section-rule { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0 16px; border-top: 1px solid var(--ink); }
.section-rule h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; letter-spacing: -.04em; }
.section-rule button, .section-rule > span { border: 0; padding: 0; background: none; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.top-stories { padding-top: 42px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr) minmax(0, 1fr); grid-template-areas: "left lead right"; gap: 28px; align-items: start; padding-top: 12px; }
.story-side-left { grid-area: left; }
.story-side-right { grid-area: right; }
.lead-story { grid-area: lead; min-width: 0; }
.side-story + .side-story { margin-top: 40px; }
.lead-image, .poster { position: relative; display: block; overflow: hidden; background-color: var(--card-accent, #ddd); background-image: var(--poster-image); background-repeat: no-repeat; background-position: var(--poster-x) var(--poster-y); }
.lead-image { aspect-ratio: 4 / 5; background-size: auto 200%; }
.poster { aspect-ratio: 16 / 10; background-size: 300% auto; }
.poster::after, .lead-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.18)); opacity: .35; transition: opacity 180ms ease; }
.poster:hover::after, .lead-image:hover::after { opacity: .05; }
.lead-copy { max-width: 570px; margin: 0 auto; width: 100%; padding: 26px 18px 0; text-align: center; }
.lead-copy h1 { margin: 12px 0 15px; font-family: var(--serif); font-size: clamp(38px, 5vw, 66px); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.lead-copy > p:not(.card-kicker) { margin: 0 auto 20px; max-width: 500px; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 1.6; }
.watch-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.watch-link span { color: var(--accent); }
.card-kicker { display: flex; justify-content: space-between; gap: 8px; margin: 13px 0 7px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-kicker span { color: var(--muted); font-weight: 400; }
.side-story h3, .section-card h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.16; letter-spacing: -.025em; }
.side-story h3 a:hover, .section-card h3 a:hover, .card-title-row a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.side-meta { margin: 10px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }

.editorial-note { margin: 88px 0; padding: 48px 24px; background: #101010; color: #fff; text-align: center; }
.editorial-note p { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(30px, 5vw, 58px); line-height: 1; letter-spacing: -.04em; }
.editorial-note span { color: #bdbdbd; font-size: 13px; letter-spacing: .05em; }
.editorial-section { margin-bottom: 82px; }
.section-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 22px; align-items: start; }
.section-card .poster { margin-bottom: 15px; }
.section-card-large .poster { aspect-ratio: 4 / 3; }
.section-card-large h3 { font-size: clamp(28px, 3vw, 40px); }
.section-description { margin: 10px 0 0; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.5; }
.section-card:not(.section-card-large) .section-description { display: none; }

.latest { padding-bottom: 100px; }
.latest-grid, .archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 20px; }
.video-card { min-width: 0; }
.card-body { padding-top: 2px; }
.card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.card-title-row h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.12; }
.favorite-mini { flex: 0 0 auto; border: 0; padding: 0; background: none; color: #777; cursor: pointer; font-size: 20px; }
.favorite-mini.active { color: var(--accent); }
.card-summary { display: -webkit-box; overflow: hidden; margin: 10px 0 0; color: var(--muted); font-family: var(--serif); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-meta { margin: 10px 0 0; color: #888; font-size: 10px; letter-spacing: .05em; }
.duration { position: absolute; z-index: 2; right: 9px; bottom: 8px; padding: 4px 6px; background: rgba(0,0,0,.76); color: white; font-size: 10px; }
.play-badge { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; font-size: 12px; opacity: 0; transform: translate(-50%, -42%); transition: 180ms ease; }
.poster:hover .play-badge { opacity: 1; transform: translate(-50%, -50%); }
.progress-track { position: absolute; z-index: 3; inset: auto 0 0; height: 3px; background: rgba(255,255,255,.3); }
.progress-track span { display: block; height: 100%; background: var(--accent); }

.archive { padding: 62px 0 100px; }
.archive-heading { margin-bottom: 45px; padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.archive-heading h1 { margin: 7px 0; font-family: var(--serif); font-size: clamp(48px, 8vw, 94px); font-weight: 400; letter-spacing: -.06em; }
.archive-heading > p:last-child { color: var(--muted); font-size: 12px; }
.section-label { margin: 0; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.empty-state { display: grid; min-height: 45vh; place-items: center; color: var(--muted); }

.watch-page { background: #0b0b0c; color: #f6f3ef; }
.watch-page .site-header, .watch-page .category-nav { background: #fff; color: #101010; }
.watch-page footer { border-color: #343434; }
.watch-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 92px; }
.back-link { display: inline-flex; margin-bottom: 22px; color: #aaa; font-size: 12px; letter-spacing: .05em; }
.player-frame { overflow: hidden; border: 1px solid #2d2d2d; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.42); }
.player-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-note { margin: 0; padding: 13px 16px; background: #2b171a; color: #ff9aa6; font-size: 13px; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 72px; padding-top: 40px; }
.watch-kicker { margin: 0; color: #ee6068; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.watch-main h1 { margin: 10px 0 18px; font-family: var(--serif); font-size: clamp(42px, 6vw, 70px); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.meta-row { display: flex; flex-wrap: wrap; gap: 20px; color: #929292; font-size: 11px; }
.watch-description { max-width: 690px; margin: 26px 0 0; color: #bebebe; font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.watch-actions { margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid #444; background: transparent; color: #fff; cursor: pointer; font-size: 12px; }
.button.active { border-color: #a44; color: #ff8188; }
.side-title { margin: 0 0 18px; padding-bottom: 11px; border-bottom: 1px solid #3b3b3b; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.related-card { display: grid; grid-template-columns: 122px 1fr; gap: 13px; margin-bottom: 18px; }
.related-card h3 { margin: 0; font-family: var(--serif); font-size: 16px; font-weight: 400; line-height: 1.22; }
.related-card .card-kicker { margin-top: 0; }
.error-card { max-width: 650px; margin: 120px auto; padding: 60px 30px; text-align: center; }
.error-card h1 { font-family: var(--serif); font-size: 48px; font-weight: 400; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 42px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-brand { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: -.06em; }
.footer-brand span { color: var(--accent); }
.footer-note { justify-self: end; }

@media (max-width: 920px) {
  .story-grid { grid-template-columns: 1fr 1.6fr; grid-template-areas: "lead lead" "left right"; }
  .lead-image { aspect-ratio: 16 / 10; background-size: 300% auto; }
  .story-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .side-story + .side-story { margin-top: 0; }
  .section-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-layout { grid-template-columns: 1fr; }
  .related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 640px) {
  .site-header { height: 80px; padding-inline: 17px; }
  .brand { font-size: 31px; }
  .brand span:last-child { margin-top: 7px; font-size: 11px; }
  .text-button { display: none; }
  .header-actions { gap: 5px; }
  .language-control select { max-width: 90px; font-size: 10px; }
  .category-nav { display: none; position: static; justify-content: flex-start; gap: 22px; padding-inline: 18px; }
  .category-nav.open { display: flex; }
  .page-shell, .watch-shell, .journal-intro { width: min(var(--max), calc(100% - 32px)); }
  .journal-intro span:last-child { display: none; }
  .top-stories { padding-top: 30px; }
  .story-grid { display: flex; flex-direction: column; }
  .lead-story { order: -1; }
  .lead-copy { width: 100%; margin-top: 0; padding: 20px 4px 0; }
  .lead-copy h1 { font-size: 42px; }
  .story-side { width: 100%; }
  .side-story h3 { font-size: 17px; }
  .editorial-note { margin: 62px 0; padding-block: 38px; }
  .editorial-note span { display: block; max-width: 310px; margin-inline: auto; line-height: 1.5; }
  .editorial-section { margin-bottom: 60px; }
  .section-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .section-card-large { grid-column: 1 / -1; }
  .section-card-large .poster { aspect-ratio: 16 / 10; }
  .section-card h3 { font-size: 17px; }
  .section-card-large h3 { font-size: 31px; }
  .section-grid .section-card:last-child { display: none; }
  .latest-grid, .archive-grid { grid-template-columns: 1fr 1fr; gap: 34px 13px; }
  .card-title-row h3 { font-size: 18px; }
  .card-summary { display: none; }
  .archive { padding-top: 42px; }
  .watch-shell { padding-top: 25px; }
  .watch-layout { gap: 50px; padding-top: 28px; }
  .related-list { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding-inline: 18px; text-align: left; }
  .footer-note { justify-self: start; }
}

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