:root {
  --paper: #f5f0e6;
  --surface: #fcf9f2;
  --paper-deep: #eae2d4;
  --ink: #28251f;
  --muted: #686156;
  --line: #d3c9b9;
  --accent: #b63827;
  --accent-dark: #942b1d;
  --header-height: 76px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #ead1b9; color: var(--ink); }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
h1, h2 { font-family: var(--sans); }
h1, h2, h3 { line-height: 1.35; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: #b6382720; }
a:focus-visible, summary:focus-visible, .drama-grid:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.container { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }

/* Masthead */
.site-header { position: sticky; top: 0; z-index: 10; height: var(--header-height); background: #f5f0e6f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; flex-shrink: 0; font: 700 28px/1.15 var(--sans); letter-spacing: .5px; transition: color 180ms var(--ease); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; }
.brand-name { white-space: nowrap; }
.brand-name > span { color: var(--accent); transition: color 180ms var(--ease); }
.header-inner nav { display: flex; align-items: center; gap: 28px; }
.header-inner nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; transition: color 180ms var(--ease); }
.header-inner nav a::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.header-inner nav a:is(:hover, :focus-visible) { color: var(--accent); }
.header-inner nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }

/* Shared actions */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 54px; padding: 13px 24px; border: 1px solid var(--ink); border-radius: 3px; font-size: 18px; line-height: 1.5; font-weight: 700; text-align: center; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease); }
.button-primary { width: 260px; max-width: 100%; min-height: 52px; padding: 11px 24px; color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 2px 0 #832719; }
.header-button { min-height: 36px; padding: 6px 16px; color: var(--surface); background: var(--ink); font-size: 14px; }
@media (hover: hover) {
  .button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 3px 0 #732116; transform: translateY(-1px); }
  .header-button:hover { background: var(--accent); border-color: var(--accent); }
}
.button-primary:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.header-button:focus-visible { background: var(--accent); border-color: var(--accent); }
.button:active { transform: translateY(1px); box-shadow: none; }

/* Cover story */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 68px 72px; }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(44px, 4.8vw, 68px); line-height: 1.2; font-weight: 700; letter-spacing: -1.5px; }
.hero-subtitle { margin-top: 14px; font: 500 clamp(32px, 3.2vw, 46px)/1.4 var(--sans); letter-spacing: -1px; }
.hero-description { max-width: 440px; margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-media { display: grid; grid-template-columns: 1.9fr 1fr; align-items: center; gap: 18px; padding: 5px; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border: 5px solid var(--surface); outline: 1px solid var(--line); box-shadow: 2px 4px 12px #40301b0c; }
.hero-main-poster { padding-top: 4px; }
.hero-side-posters { display: grid; gap: 24px; }
.hero-side-posters figure:first-child { transform: rotate(2deg); }
.hero-side-posters figure:last-child { transform: rotate(-2deg); }
.hero-side-posters img { border-width: 4px; }
.hero-media figcaption { padding-top: 10px; font-size: 11px; line-height: 1.5; }
.hero-main-poster figcaption { display: flex; justify-content: space-between; gap: 8px; }
.hero-main-poster figcaption span { color: var(--muted); }

/* Editorial sections */
.section { padding-block: 64px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 34px; }
.section-heading::before { display: block; width: 28px; height: 3px; margin-bottom: 20px; background: var(--accent); content: ""; }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.6px; }
.section-heading > p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.topics { margin-bottom: 40px; }
.topics h3 { margin-bottom: 22px; font: 500 20px/1.5 var(--sans); }
.topic-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 0 3px 3px 0; list-style: none; }
.topic-list li { padding: 10px 8px; border: 1px solid var(--ink); border-radius: 50px; box-shadow: 2px 3px 0 var(--ink); background: #f8f3e9; text-align: center; font: 600 15px/1.5 var(--sans); }

/* One continuous shelf: five works on desktop, horizontal scroll below. */
.drama-grid { display: grid; grid-auto-flow: column; grid-auto-columns: max(208px, calc((100% - 80px)/5)); gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; padding-bottom: 16px; scrollbar-color: #aaa08e var(--paper); scrollbar-width: thin; }
.drama-card { min-width: 0; padding-bottom: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); overflow: hidden; scroll-snap-align: start; }
.poster-frame { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.drama-poster { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; object-position: center; }
.drama-copy { padding: 17px 13px 0; }
.drama-copy h3 { margin-bottom: 9px; font: 700 20px/1.45 var(--sans); letter-spacing: -.3px; }
.category { color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Watching features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.feature-grid article { padding-top: 18px; border-top: 1px solid var(--ink); }
.feature-grid h3 { margin-bottom: 12px; font: 700 22px/1.4 var(--sans); }
.feature-grid p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Native, keyboard-operable questions */
.faq-section { display: grid; grid-template-columns: .9fr 1.5fr; gap: 56px; }
.faq-section .section-heading { margin-bottom: 0; }
.faq-section h2 { line-height: 1.5; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding-block: 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; transition: color 180ms var(--ease), background-color 180ms var(--ease); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; display: block; width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 10px 1px, 1px 10px; background-position: center; background-repeat: no-repeat; transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease); }
.faq-list details[open] summary { color: var(--accent); }
.faq-list details[open] summary::after { color: var(--accent); border-color: #c5a58c; background-color: #ede2d3; background-size: 10px 1px, 0 0; }
.faq-list summary:is(:hover, :focus-visible) { color: var(--accent); background-color: #eee6d866; }
.faq-list summary:is(:hover, :focus-visible)::after { color: var(--surface); border-color: var(--accent); background-color: var(--accent); }
.faq-list details p { padding: 12px 36px 23px 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Closing invitation */
.download-section { position: relative; border-block: 1px solid #a89a87; background: var(--paper-deep); }
.download-inner { display: grid; grid-template-columns: 1fr; align-items: center; justify-items: center; gap: 28px; padding-block: 56px; text-align: center; }
.download-inner h2 { margin-bottom: 16px; }
.download-inner h2::before { display: block; width: 36px; height: 3px; margin: 0 auto 24px; background: var(--accent); content: ""; }
.download-inner p { color: var(--muted); font-size: 15px; }
.download-options { width: 100%; }

/* Colophon */
.site-footer { padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px 150px; align-items: start; gap: 56px; padding-bottom: 40px; }
.footer-brand { max-width: 480px; }
.footer-brand > p { margin-top: 18px; max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.footer-grid h3 { margin-bottom: 16px; font-size: 14px; }
.footer-grid nav a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; transition: color 180ms var(--ease); }
.footer-grid nav a:is(:hover, :focus-visible), .footer-bottom a:is(:hover, :focus-visible) { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-bottom p:nth-child(2) { letter-spacing: .5px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; transition: color 180ms var(--ease); }
.footer-bottom a span { display: inline-block; transition: transform 180ms var(--ease); }
@media (hover: hover) {
  .footer-bottom a:hover span { transform: translateY(-3px); }
}

/* Paper and poster feedback; informational surfaces keep their native semantics. */
.hero-media figure { transition: transform 280ms var(--ease); }
.hero-media img { transition: outline-color 220ms var(--ease), box-shadow 280ms var(--ease); }
.hero-media figcaption { transition: color 220ms var(--ease); }
.topic-list li { transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease); }
.drama-card { transition: border-color 220ms var(--ease), background-color 220ms var(--ease), box-shadow 220ms var(--ease); }
.drama-poster { transition: transform 320ms var(--ease); }
.drama-copy h3 { transition: color 220ms var(--ease); }
.feature-grid article { transition: border-color 220ms var(--ease); }
.feature-grid h3 { transition: color 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .hero-media figure:hover { transform: translateY(-4px); }
  .hero-side-posters figure:first-child:hover,
  .hero-side-posters figure:last-child:hover { transform: translateY(-4px) rotate(0deg); }
  .hero-media figure:hover img { outline-color: #b89a7d; box-shadow: 3px 8px 16px #40301b18; }
  .hero-media figure:hover figcaption { color: var(--accent); }
  .topic-list li:hover { color: #fff; background-color: var(--accent); border-color: var(--accent-dark); box-shadow: 3px 4px 0 var(--accent-dark); transform: translate(-1px, -1px); }
  .drama-card:hover { border-color: #b89a7d; background-color: #fffaf1; box-shadow: inset 0 -3px 0 #b63827; }
  .drama-card:hover .drama-poster { transform: scale(1.035); }
  .drama-card:hover .drama-copy h3 { color: var(--accent); }
  .feature-grid article:hover { border-color: var(--accent); }
  .feature-grid article:hover h3 { color: var(--accent); }
}

@media (max-width: 1100px) {
  .hero { gap: 36px; }
  .topic-list { gap: 12px; }
  .topic-list li { font-size: 14px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) 140px 140px; gap: 40px; }
}

@media (max-width: 900px) {
  .header-inner nav { display: none; }
  .hero { grid-template-columns: 1fr .85fr; gap: 30px; padding-block: 48px; }
  h1 { font-size: 43px; }
  .hero-subtitle { font-size: clamp(26px, 4.166vw, 32px); letter-spacing: -.8px; }
  .hero-description { font-size: 15px; }
  .hero-media { display: block; }
  .hero-side-posters { display: none; }
  .hero-actions { flex-direction: column; gap: 8px; margin-top: 24px; }
  .topic-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-section h2 br { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) 120px 120px; gap: 28px; }
}

@media (max-width: 600px) {
  :root { --header-height: 64px; }
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 16px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-button { min-height: 32px; padding: 4px 12px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 36px 40px; }
  h1 { font-size: 44px; letter-spacing: -.8px; }
  .hero-subtitle { margin-top: 12px; font-size: 30px; letter-spacing: -1px; }
  .hero-description { margin-top: 22px; font-size: 16px; }
  .hero-actions { margin-top: 26px; }
  .button-primary { width: 100%; }
  .hero-media { display: grid; grid-template-columns: 1.9fr 1fr; gap: 13px; padding: 4px; }
  .hero-side-posters { display: grid; gap: 16px; }
  .hero-media img { border-width: 4px; }
  .hero-side-posters img { border-width: 3px; }
  .hero-media figcaption { padding-top: 7px; font-size: 10px; }
  .hero-main-poster figcaption { display: block; }
  .hero-main-poster figcaption span { display: block; }
  .section { padding-block: 40px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading::before { width: 24px; margin-bottom: 16px; }
  h2 { font-size: 28px; letter-spacing: -.5px; }
  .section-heading > p { font-size: 14px; }
  .topics { margin-bottom: 32px; }
  .topics h3 { margin-bottom: 20px; font-size: 18px; }
  .topic-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .topic-list li { padding: 9px 4px; font-size: 14px; }
  .drama-grid { gap: 12px; }
  .drama-card { padding-bottom: 16px; }
  .drama-copy { padding: 14px 12px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid article { padding-top: 16px; }
  .feature-grid h3 { margin-bottom: 9px; font-size: 20px; }
  .feature-grid p { font-size: 14px; }
  .faq-section { gap: 28px; }
  .faq-section h2 br { display: initial; }
  .faq-list details p { padding-right: 10px; }
  .download-inner { gap: 26px; padding-block: 40px; }
  .download-inner h2 { font-size: 28px; }
  .download-inner > div > p { font-size: 14px; }
  .site-footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1/-1; max-width: none; }
  .footer-grid h3 { margin-bottom: 10px; }
  .footer-bottom { flex-wrap: wrap; gap: 0 16px; padding-block: 14px; }
  .footer-bottom a { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
