/* FilmDemandIndex by SEATmio. SEATmio's tokens: plum black, warm light, one saturated red. */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(/static/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(/static/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(/static/fonts/space-grotesk-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20C0; }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(/static/fonts/space-grotesk-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20C0; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/static/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }

:root {
  --canvas: #f1ede9; --bg: #faf8f6; --panel: #fff; --line: #efe9e4; --line-2: #e4ddd6;
  --ink: #17121b; --ink-2: #5d5665; --muted: #7b7485;
  --dark: #17121b; --dark-2: #231c29; --on-dark: #faf8f6; --on-dark-2: #b4acbd;
  --accent: #e5484d; --accent-2: #c8363c; --soft: #fcecec;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 700; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: 24px; }
h3 { font-size: 17px; margin-top: 26px; }
p { margin: 0 0 12px; }
button { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.top { background: var(--dark); color: var(--on-dark); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #2c2433; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { color: var(--on-dark); font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--on-dark-2); font-size: 13px; margin-inline-start: 2px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--on-dark-2); font-size: 14px; }
.top nav a:hover, .top nav a.on { color: var(--on-dark); text-decoration: none; }
.top nav a.lang { border: 1px solid #453a4e; border-radius: 6px; padding: 2px 9px; color: var(--on-dark); }

.hero { background: var(--dark); color: var(--on-dark); padding: 56px 0 60px; }
.hero.small { padding: 34px 0 36px; }
.hero a { color: #ff8a8d; }
.lead { font-size: 18px; color: var(--on-dark-2); max-width: 680px; }
.eyebrow { font: 400 13px/1.4 var(--mono); color: var(--on-dark-2); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eyebrow.dark { color: var(--muted); }
.hero-top { display: inline-flex; gap: 22px; align-items: center; margin-top: 18px; padding: 16px 26px 16px 20px; background: var(--dark-2); border: 1px solid #3a3042; border-radius: 12px; color: var(--on-dark); }
.hero-top:hover { text-decoration: none; border-color: var(--accent); }
.hero-num { font-size: clamp(44px, 7vw, 72px); font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.hero-top span:last-child { display: flex; flex-direction: column; gap: 2px; }
.hero-top b { font-size: clamp(19px, 3vw, 26px); line-height: 1.15; }
.hero-top small { color: var(--on-dark-2); font-size: 13px; }
.hero-inline { font-size: 34px; color: var(--accent); font-weight: 700; }
.film-head { display: flex; gap: 22px; align-items: center; }

.band { padding: 42px 0; }
.band.alt { background: var(--canvas); }
.band.mine { background: var(--soft); border-bottom: 1px solid #f5d9da; }
.band.dark { background: var(--dark); color: var(--on-dark); }
.band.dark p { color: var(--on-dark-2); }
.band.dark .more { color: #ff8a8d; }
.big { font-size: 34px; }
.big a { color: inherit; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.two.wide-left { grid-template-columns: 1.15fr 1fr; }
.two > * { min-width: 0; }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.more { font-weight: 700; font-size: 15px; }

.rows { list-style: none; margin: 12px 0 0; padding: 0; }
.row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.mine .row { border-color: #f1d3d4; }
.rank { width: 24px; flex: none; font: 400 14px var(--mono); color: var(--muted); text-align: center; }
.poster { width: 42px; height: 63px; flex: none; object-fit: cover; border-radius: 5px; background: var(--line-2); display: block; }
.poster.none { background: var(--line-2); }
.poster.big { width: 120px; height: 180px; border-radius: 9px; }
.row-main { flex: 1; min-width: 0; }
.title { color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.25; }
.meta { display: flex; flex-wrap: wrap; gap: 3px 12px; color: var(--muted); font-size: 13px; }
.bar { height: 4px; background: var(--line); border-radius: 4px; margin-top: 7px; overflow: hidden; }
.mine .bar { background: #f7dfe0; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.val { flex: none; min-width: 70px; text-align: end; display: flex; flex-direction: column; }
.val b { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.delta { font: 400 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
.delta.up { color: #1a7a4e; }
.delta.down { color: #b4402f; }
.chip { display: inline-block; font-size: 11.5px; line-height: 1.5; font-weight: 700; color: var(--accent-2); background: var(--soft); border: 1px solid #f5d0d1; border-radius: 5px; padding: 0 6px; margin-inline-start: 5px; vertical-align: 1px; white-space: nowrap; }
.mine .chip { background: #fff; }
.flag { vertical-align: -2px; border-radius: 2px; flex: none; }

.chart { position: relative; margin-top: 10px; }
.chart svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 12px; }
.chart .line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .end { stroke: #faf8f6; stroke-width: 2; }
.chart .endlabel { fill: var(--ink); font-size: 12.5px; font-weight: 500; }
.rows-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; }
.rows-head h2 { margin: 0; }
.rows-head span { font: 400 12px var(--mono); color: var(--muted); }
.chart .cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .tip { position: absolute; top: 4px; pointer-events: none; background: var(--dark); color: var(--on-dark); font-size: 13px; line-height: 1.5; border-radius: 7px; padding: 8px 11px; min-width: 150px; z-index: 3; }
.chart .tip b { display: block; font: 400 12px var(--mono); color: var(--on-dark-2); }
.chart .tip i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-inline-end: 6px; }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-inline-end: 6px; vertical-align: middle; }

.share { margin-top: 20px; padding: 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-label { font: 400 12px var(--mono); color: var(--muted); margin-inline-end: 4px; }
.share a, .share button, .fold button { font-size: 13px; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 7px; padding: 4px 10px; cursor: pointer; line-height: 1.5; }
.share a:hover, .share button:hover, .fold button:hover { border-color: var(--accent); text-decoration: none; }
.cite { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.cite code { font: 400 12.5px/1.5 var(--mono); color: var(--ink-2); background: var(--canvas); border-radius: 6px; padding: 8px 10px; display: block; width: 100%; overflow-wrap: anywhere; }
.fold { margin-top: 16px; }
.fold summary { cursor: pointer; font-weight: 700; font-size: 14.5px; }
.fold textarea { width: 100%; margin: 8px 0; font: 400 12.5px/1.5 var(--mono); border: 1px solid var(--line-2); border-radius: 7px; padding: 8px; background: var(--panel); resize: vertical; }
.days { font: 400 13px/1.9 var(--mono); }
.box { background: var(--soft); border: 1px solid #f5d9da; border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; }
.box h3 { margin-top: 0; }
.mini { margin: 0; padding: 0; list-style: none; }
.mini li { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.mini a { flex: 1; min-width: 0; color: var(--ink); font-weight: 700; }
.mini small { color: var(--muted); font: 400 12px var(--mono); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; margin-top: 12px; }
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; color: var(--ink); display: flex; flex-direction: column; gap: 3px; position: relative; min-height: 112px; }
.card:hover { border-color: var(--accent); text-decoration: none; }
.card-head { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 7px; align-items: center; }
.card b { padding-inline-end: 68px; line-height: 1.25; margin-top: 3px; }
.card-val { position: absolute; top: 34px; inset-inline-end: 16px; font-size: 26px; font-weight: 700; color: var(--accent-2); letter-spacing: -0.02em; }
.card-local { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 8px; }
.two .stories, aside .stories { grid-template-columns: 1fr; }
.story { background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.story:hover { border-color: var(--accent); text-decoration: none; }
.story b { font-size: 16.5px; line-height: 1.25; }
.story-meta { font: 400 12px var(--mono); color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dek { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

.read { max-width: 760px; }
.headline { font-size: clamp(28px, 4.4vw, 42px); }
.standfirst { font-size: 20px; line-height: 1.4; color: var(--ink-2); }
.findings { background: var(--canvas); border-radius: 10px; margin: 20px 0; padding: 14px 18px 14px 34px; }
[dir=rtl] .findings { padding: 14px 34px 14px 18px; }
.findings li { margin: 5px 0; }
.para { font-size: 18px; line-height: 1.6; margin-bottom: 16px; }
.read h2 { margin-top: 30px; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin: 6px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { font: 400 12px var(--mono); color: var(--muted); text-align: start; padding: 7px 8px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 8px; border-bottom: 1px solid var(--line); }
.tbl .n { text-align: end; font-variant-numeric: tabular-nums; }

.foot { background: var(--dark); color: var(--on-dark-2); padding: 30px 0; font-size: 14px; border-top: 1px solid #2c2433; }
.foot b { color: var(--on-dark); }
.foot a { color: var(--on-dark); }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-in > div:first-child { max-width: 620px; }
.foot p { margin: 8px 0 0; }
.foot-links { display: flex; flex-direction: column; gap: 5px; }
body.embed { background: #fff; }
.embed-box { padding: 12px 14px; }
.embed-box .row { padding: 7px 0; }

@media (max-width: 860px) {
  .two, .two.wide-left { grid-template-columns: 1fr; gap: 30px; }
  .top { position: static; }
  .hero { padding: 36px 0 40px; }
  .film-head { align-items: flex-start; }
  .poster.big { width: 84px; height: 126px; }
}
