/* Follow The Money - site stylesheet.
   Source of truth: design/*.dc.html (Main, Article, Commentary, Videos,
   MobileHome, MobileArticle). Desktop artboards are 1440 wide, mobile 390.
   Fluid 320 to 1920, no horizontal page scroll. */

:root {
  --bg: #FAFAF9;
  --card: #FFFFFF;
  --line: #E7E5E1;
  --line-soft: #EFEDEA;
  --ink: #0A0A0A;
  --body: #1C1917;
  --muted: #57534E;
  --muted-2: #44403C;
  --faint: #A8A29E;
  --axis: #78716C;
  --field: #F1F0EE;
  --tile: #F4F3F1;
  --input-line: #D6D3CE;
  --red: #D7141C;
  --red-hover: #C8101A;
  --red-pill-bg: #FDECEC;
  --red-pill: #B3121A;
  --red-chip: #9F1018;
  --green-pill-bg: #E7F5EC;
  --green-pill: #0B6B37;
  --dark: #0A0A0A;
  --dark-card: #161615;
  --dark-line: #262524;
  --dark-line-2: #3A3936;
  --dark-field: #1C1C1B;
  --dark-muted: #A8A29E;
  --dark-muted-2: #C9C5BF;
  --dark-red: #FF5A60;
  --dark-red-soft: #FF8A8F;
  --dark-red-bg: #2A1416;
  --header-bg: rgba(250, 250, 249, .94);
  --wrap: 1360px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --font: Geist, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --shadow-lift: 0 14px 34px -18px rgba(10, 10, 10, .35);
  --ease-img: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  --tabbar-h: 0px;
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
  padding-bottom: var(--tabbar-h);
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.only-mobile { display: none !important; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: 26px;
  line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: var(--ink);
}
.wordmark .m { color: var(--red); }
.logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.logo:hover .wordmark { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
.hdr { min-height: var(--header-h); display: flex; align-items: center; gap: 10px 36px; }
.nav { flex: 1 1 auto; min-width: 0; display: flex; gap: 0 4px; font-size: 15px; font-weight: 500; }
.nav a {
  min-height: 44px; padding: 0 12px; display: flex; align-items: center; border-radius: 8px;
  white-space: nowrap; transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(10, 10, 10, .04); }
.nav a[aria-current="page"] { color: var(--red-hover); }
.hdr-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.search {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
  background: var(--field); border-radius: 10px; color: var(--muted);
  border: 1px solid transparent; transition: border-color .15s ease, background-color .15s ease;
}
.search:focus-within { border-color: var(--input-line); background: #fff; }
.search input {
  width: 170px; border: 0; background: transparent; font-size: 15px; color: var(--ink);
  outline: none; padding: 0; min-width: 0;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.kbd {
  font: 500 12px var(--mono); padding: 2px 6px; border: 1px solid var(--input-line);
  border-radius: 6px; background: #fff; color: var(--muted); white-space: nowrap;
}
.btn {
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent;
  white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #262524; color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); color: #fff; }
.btn-outline { border-color: var(--input-line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark { border-color: var(--dark-line-2); color: #FAFAF9; }
.btn-ghost-dark:hover { border-color: #FAFAF9; color: #fff; }
.btn-light { background: #FAFAF9; color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none;
  border-radius: 10px; color: var(--ink); flex: 0 0 auto;
}
.icon-btn:hover { background: rgba(10, 10, 10, .05); color: var(--ink); }
.icon-btn.boxed { border: 1px solid var(--input-line); background: #fff; }
.icon-btn.boxed:hover { border-color: var(--ink); }
.m-tools, .m-back, .m-art-tools { display: none; }

.progress { height: 3px; background: var(--line-soft); }
.progress-bar { height: 3px; width: 0; background: var(--red); transform-origin: left; transition: width .08s linear; }

/* Drawer (mobile menu + search) */
.drawer {
  position: fixed; inset: 0; z-index: 60; display: none;
}
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10, 10, 10, .4); animation: fade .2s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg);
  padding: 12px 16px 24px; overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35);
  animation: slide .24s var(--ease-img);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.drawer .search { margin: 10px 0 14px; }
.drawer .search input { width: 100%; flex: 1 1 auto; font-size: 16px; }
.drawer-nav { display: grid; }
.drawer-nav a {
  min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-soft); font-weight: 600; font-size: 17px;
}
.drawer-nav a[aria-current="page"] { color: var(--red-hover); }
.drawer .btn { width: 100%; margin-top: 18px; }
.drawer-small { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.drawer-small a { min-height: 40px; display: flex; align-items: center; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }

/* ---------- Market strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-row { display: flex; align-items: center; gap: 14px; }
.strip-in {
  flex: 1 1 auto; min-width: 0;
  display: flex; gap: 10px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto;
  scrollbar-width: none; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.strip-in::-webkit-scrollbar { display: none; }
.tick {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease;
}
.tick:hover { border-color: var(--input-line); color: var(--ink); }
.tick-name { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tick-price { display: block; font: 600 16px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill {
  font: 600 13px var(--mono); padding: 3px 7px; border-radius: 6px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pill.up { color: var(--green-pill); background: var(--green-pill-bg); }
.pill.down { color: var(--red-pill); background: var(--red-pill-bg); }
.pill.flat { color: var(--muted); background: var(--tile); }
.strip-asof {
  flex: 0 0 auto; font: 500 11px/1.4 var(--mono); color: var(--muted); text-align: right;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
@media (max-width: 760px) { .strip-asof { display: none; } }
.delayed { font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .06em; color: #8A5A00; background: #FFF4DB; padding: 3px 7px; border-radius: 6px; }

/* Mobile section chips (home) */
.chips-nav { display: none; }

/* ---------- Cards (shared) ---------- */
.card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
a.card:hover, .card.hoverable:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.media { position: relative; overflow: hidden; background: #111; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-img); }
a.card:hover .media img, a.vcard:hover .media img, .card.hoverable:hover .media img { transform: scale(1.03); }
.ph {
  width: 100%; height: 100%; display: grid; place-items: end start; padding: 18px;
  background:
    radial-gradient(120% 90% at 90% 10%, rgba(215, 20, 28, .55), transparent 60%),
    linear-gradient(135deg, #1c1917, #0a0a0a);
  color: rgba(255, 255, 255, .9); font: 600 13px var(--mono); letter-spacing: .02em;
}
.ph .wordmark { color: #fff; font-size: 22px; }
.pl-thumb .ph, .rank-img .ph, .saved-item .ph { background: #1c1917 url("/static/img/favicon.svg") center / 32px no-repeat; }
.pl-thumb .ph > span, .rank-img .ph > span { display: none; }
.ph .wordmark .m { color: var(--dark-red); }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-3-2 { aspect-ratio: 3 / 2; }
.ar-hero { aspect-ratio: 16 / 8.4; }
.ar-wide { aspect-ratio: 21 / 9; }
.dur {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, .8); color: #fff; font: 500 13px var(--mono);
}
.play {
  position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
a:hover .play { transform: scale(1.06); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 12px; flex: 0 0 auto; letter-spacing: .01em;
}
.chip {
  align-self: flex-start; display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  background: var(--field); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.chip.ink { background: var(--ink); color: #fff; }
.money-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--red-pill-bg);
  color: var(--red-chip); border-radius: 8px; font-weight: 600; font-size: 14px; line-height: 1.3;
}
.money-chip svg { flex: 0 0 auto; }

/* Section header */
.sec { margin-top: 56px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.sec-head h2 { font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.sec-head p { margin-top: 6px; color: var(--muted); }
.more-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.more-link svg { transition: transform .2s ease; }
.more-link:hover svg { transform: translateX(3px); }

/* ---------- Home ---------- */
.home { display: flex; flex-direction: column; padding-bottom: 40px; }
.home-top { padding-top: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.hero-card { flex: 999 1 640px; min-width: 0; border-radius: 20px; }
.hero-card .media { aspect-ratio: 16 / 8.4; }
.hero-badge {
  position: absolute; left: 18px; top: 18px; display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  background: #fff; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .4);
}
.hero-badge span { color: var(--muted); font-weight: 450; }
.hero-body { padding: clamp(20px, 2.4vw, 32px); }
.hero-body h1 { font-weight: 700; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero-body .dek { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--muted-2); max-width: 46em; text-wrap: pretty; }
.hero-meta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; color: var(--muted); }

.toplist { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px 22px 14px; align-self: stretch; }
.tabs { display: flex; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.tab {
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted-2);
  font: 600 14px var(--font); transition: background-color .15s ease, color .15s ease;
}
.tab:hover { background: var(--field); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.toplist-h { display: none; }
.rank {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.rank:last-child { border-bottom: 0; }
.rank-n { font: 600 15px var(--mono); color: var(--faint); padding-top: 1px; }
.rank-t { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.rank-m { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }
.rank-img { display: none; }
.rank-img:empty { background: var(--tile) url("/static/img/favicon.svg") center / 28px no-repeat; }
.rank:hover .rank-t { color: var(--red-hover); }
.rank:hover { color: inherit; }
[role="tabpanel"][hidden] { display: none; }

.home-money { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.calc {
  flex: 999 1 640px; min-width: 0; background: var(--dark); color: #FAFAF9; border-radius: 20px;
  padding: clamp(22px, 2.8vw, 38px); display: flex; flex-wrap: wrap; gap: 28px 48px;
}
.calc-copy { flex: 1 1 300px; min-width: 0; }
.calc-ui { flex: 1 1 320px; min-width: 0; }
.dark-pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--dark-red-bg); color: var(--dark-red-soft); font-size: 13px; font-weight: 600; }
.calc h2 { margin-top: 14px; font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.calc-copy p.lede { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--dark-muted-2); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--dark-field); border-radius: 12px; }
.seg button {
  min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--dark-muted-2);
  font: 600 15px var(--mono); transition: background-color .15s ease, color .15s ease;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: #FAFAF9; color: var(--ink); }
.calc-label { display: flex; justify-content: space-between; margin-top: 22px; font-size: 15px; color: var(--dark-muted-2); }
.calc-label b { font: 600 15px var(--mono); color: #FAFAF9; }
.range {
  --pct: 18%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 2px 0;
  background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 9px;
  background: linear-gradient(to right, var(--red) 0 var(--pct), var(--dark-line-2) var(--pct) 100%);
}
.range::-moz-range-track { height: 6px; border-radius: 9px; background: var(--dark-line-2); }
.range::-moz-range-progress { height: 6px; border-radius: 9px; background: var(--red); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.range:focus-visible { outline: 2px solid var(--dark-red); outline-offset: 2px; }
.calc-out { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #2C2B29; }
.calc-out span { font-size: 15px; color: var(--dark-muted-2); }
.calc-out output { font: 600 clamp(36px, 3.6vw, 50px) var(--mono); letter-spacing: -.04em; color: #FF5A61; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-note { margin-top: 10px; font-size: 12px; color: var(--dark-muted); }

.week { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.week h2 { margin-bottom: 6px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.week > p { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.cal { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-soft); align-items: center; }
.cal-date { text-align: center; border-radius: 10px; background: var(--tile); padding: 6px 0; line-height: 1.1; }
.cal-date .mon { display: block; font-size: 12px; color: var(--muted); }
.cal-date .day { display: block; font: 600 20px var(--mono); }
.cal-t { display: block; font-weight: 600; }
.cal-n { display: block; font-size: 14px; color: var(--muted); }
.cal-kind { display: inline-block; margin-left: 6px; font: 600 10px var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--faint); vertical-align: 2px; }

.grid-trail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 22px; }
.tcard .media { aspect-ratio: 3 / 2; }
.tcard-b { padding: 18px 18px 20px; }
.knum { display: block; font: 600 22px var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.knum.neg { color: var(--red-hover); }
.tcard h3 { margin-top: 8px; font-weight: 650; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; text-wrap: pretty; }
.tcard p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.tcard .meta-k { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }

.grid-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 22px; }
.vhome { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.vhome h3 { font-weight: 700; font-size: 25px; line-height: 1.16; letter-spacing: -.025em; text-wrap: pretty; }
.byline-s { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }

.band-dark { background: var(--dark); color: #FAFAF9; border-radius: 24px; padding: clamp(22px, 3vw, 44px); }
.band-dark .sec-head p { color: var(--dark-muted-2); }
.band-dark .sec-head { margin-bottom: 24px; }
.grid-vid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.vcard { display: block; border-radius: 16px; transition: transform .25s ease; }
.vcard:hover { transform: translateY(-2px); color: #fff; }
.vcard .media { border-radius: 16px; aspect-ratio: 16 / 9; }
.vcard h3 { margin-top: 14px; font-weight: 650; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; text-wrap: pretty; }
.vcard:hover h3 { color: #FF6A70; }

.newsletter {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px;
}
.newsletter .nl-copy { flex: 1 1 380px; min-width: 0; }
.newsletter h2 { font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.newsletter .nl-copy p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.nl-form { flex: 1 1 400px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input[type=email] {
  flex: 1 1 220px; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--input-line); border-radius: 12px;
  font-size: 16px; background: var(--bg); outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.nl-form input[type=email]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 10, 10, .06); }
.nl-form button { height: 50px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font-weight: 600; font-size: 16px; }
.nl-form button:hover { background: var(--red-hover); }
.nl-form button[disabled] { opacity: .7; cursor: progress; }
.nl-msg { flex: 1 1 100%; font-size: 14px; color: var(--muted); min-height: 0; }
.nl-msg.ok { color: var(--green-pill); font-weight: 600; }
.nl-msg.err { color: var(--red-pill); font-weight: 600; }
.newsletter.dark { background: var(--dark); color: #FAFAF9; border: 0; }
.newsletter.dark h2 { font-weight: 720; }
.newsletter.dark .nl-copy p { color: var(--dark-muted-2); }
.newsletter.dark input[type=email] { border-color: var(--dark-line-2); background: var(--dark-field); color: #FAFAF9; }
.newsletter.dark input[type=email]::placeholder { color: var(--dark-muted); }
.newsletter.dark input[type=email]:focus { border-color: #FAFAF9; box-shadow: none; }
.newsletter.dark .nl-msg { color: var(--dark-muted-2); }
.newsletter.dark .nl-msg.ok { color: #7EE2A8; }
.newsletter.dark .nl-msg.err { color: var(--dark-red-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer + tab bar ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.foot { padding-top: 32px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; font-size: 14px; color: var(--muted); }
.foot-brand { max-width: 520px; }
.foot-brand .wordmark { font-size: 22px; display: inline-block; margin-bottom: 10px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 22px; align-content: flex-start; }
.foot-nav a { min-height: 44px; display: flex; align-items: center; }
.foot-credits { flex: 1 1 100%; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.tabbar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h)); z-index: 80; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Article ---------- */
.article-main { padding-bottom: 8px; }
.page-story .more, .is-article .more { margin-bottom: 56px; }
.art-head { max-width: 900px; padding-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--red-hover); }
.kicker { display: none; font-size: 13px; font-weight: 600; color: var(--red-hover); }
.opinion-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.art-head h1 { margin-top: 16px; font-weight: 720; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.opinion-tag + h1 { margin-top: 12px; }
.art-head .dek { margin-top: 18px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--muted-2); text-wrap: pretty; }
.byline {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.byline-who { display: flex; align-items: center; gap: 12px; }
.byline-who .avatar { width: 40px; height: 40px; font-size: 13px; }
.byline-who b { display: block; font-weight: 600; line-height: 1.3; }
.byline-who small { display: block; font-size: 14px; color: var(--muted); line-height: 1.3; }
.tools { display: flex; gap: 8px; }
.listen[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.listen svg { flex: 0 0 auto; }
[data-save][aria-pressed="true"] svg path { fill: currentColor; }
.hero-fig { margin: 28px 0 0; }
.hero-fig .media { aspect-ratio: 21 / 9; border-radius: 20px; }
.hero-fig img { object-position: center 40%; }
.figcap { margin-top: 10px; font-size: 13px; color: var(--muted); }
.figcap a { text-decoration: underline; text-decoration-color: var(--input-line); text-underline-offset: 2px; }
.figcap a:hover { text-decoration-color: currentColor; }

.art-layout { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: 40px; align-items: flex-start; }
.art-body { flex: 999 1 600px; min-width: 0; max-width: 760px; }
.art-rail { flex: 1 1 300px; min-width: 0; display: grid; gap: 20px; position: sticky; top: 90px; }

.tldr { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.tldr h2 { margin-bottom: 12px; font-weight: 700; font-size: 18px; letter-spacing: -.015em; }
.tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tldr li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 17px; line-height: 1.45; }
.tldr li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--red); }

.thesis {
  margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--red); background: #fff; border-radius: 0 14px 14px 0;
  font-weight: 650; font-size: 20px; line-height: 1.35; letter-spacing: -.015em;
}
.thesis small { display: block; margin-bottom: 6px; font: 600 12px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--red-hover); }
.stat-tiles { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { padding: 12px; background: var(--tile); border-radius: 12px; min-width: 0; }
.stat b { display: block; font: 600 20px var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.stat.neg { background: var(--red-pill-bg); }
.stat.neg b { color: var(--red-pill); }

.prose { font-size: 19px; line-height: 1.7; color: var(--body); overflow-wrap: break-word; }
.prose.first { margin-top: 32px; }
.prose p { margin: 0 0 22px; }
.prose h2 { margin: 34px 0 12px; font-weight: 700; font-size: 27px; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--red); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--line); color: var(--muted-2); font-style: italic; }
.prose .pull, .pull { margin: 34px 0; border: 0; font-style: normal; padding: 0; font-weight: 650; font-size: 30px; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.pull .hl { color: var(--red); }

.chart {
  margin: 10px 0 34px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px 16px;
}
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.chart-title { display: block; font-weight: 700; font-size: 17px; }
.chart-sub { display: block; font-size: 14px; color: var(--muted); }
.chart-read { text-align: right; }
.chart-price { display: block; font: 600 26px var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart-date { display: block; font-size: 13px; color: var(--muted); }
.chart-chg { display: none; font: 600 12px var(--mono); }
.chart-chg.down { color: var(--red-pill); }
.chart-chg.up { color: var(--green-pill); }
.plot { position: relative; margin-top: 12px; height: 260px; }
.plot-area { position: absolute; top: 0; bottom: 0; left: 0; right: 52px; cursor: crosshair; touch-action: pan-y; }
.plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.plot .grid line { stroke: var(--line-soft); stroke-width: 1; }
.plot .cross { opacity: 0; transition: opacity .12s ease; }
.plot.active .cross, .plot.active .dot { opacity: 1; }
.plot .dot {
  position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff;
  border: 2.5px solid var(--red); opacity: 0; pointer-events: none; transition: opacity .12s ease;
}
.plot .mark { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff; pointer-events: none; }
.plot .ylab { position: absolute; right: 0; width: 46px; text-align: right; transform: translateY(-50%); font: 500 12px var(--mono); color: var(--axis); pointer-events: none; }
.chart-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.cchip { padding: 5px 10px; border-radius: 8px; background: var(--red-pill-bg); color: var(--red-chip); font: 600 13px var(--mono); }
.cchip.pos { background: var(--green-pill-bg); color: var(--green-pill); }
.cchip.neu { background: var(--tile); color: var(--muted-2); }
.chart-note { padding: 5px 10px; font-size: 13px; color: var(--muted); }

.sources { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.sources summary {
  list-style: none; min-height: 60px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 17px; cursor: pointer; border-radius: 18px;
}
.sources summary::-webkit-details-marker { display: none; }
.sources summary .sign::before { content: "+"; font: 500 20px var(--mono); }
.sources[open] summary .sign::before { content: "\2212"; }
.src-grid { padding: 0 22px 18px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 14px; font-size: 15px; line-height: 1.4; }
.src-grid > span { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.src-l { font: 600 14px var(--mono); overflow-wrap: anywhere; }
.src-t { color: var(--muted-2); min-width: 0; overflow-wrap: anywhere; }
.src-t a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--input-line); text-underline-offset: 3px; }
.src-t a:hover { text-decoration-color: var(--red); }
.src-l.k { font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding-top: 13px; }
.disclaimer { margin-top: 14px; font-size: 14px; color: var(--muted); }
.disclaimer a { text-decoration: underline; }
.corrections-box { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: #FFF8E6; border: 1px solid #F2DFAE; font-size: 15px; }
.corrections-box h2 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.corrections-box p + p { margin-top: 6px; }

.counter { margin-top: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.counter summary { list-style: none; min-height: 60px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 17px; cursor: pointer; }
.counter summary::-webkit-details-marker { display: none; }
.counter summary .sign::before { content: "+"; font: 500 20px var(--mono); }
.counter[open] summary .sign::before { content: "\2212"; }
.counter p { padding: 0 22px 20px; font-size: 17px; line-height: 1.6; color: var(--muted-2); }

.impact { background: var(--dark); color: #FAFAF9; border-radius: 18px; padding: 22px; }
.impact h2 { font-weight: 700; font-size: 18px; }
.impact > p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--dark-muted-2); }
.impact-rows { margin-top: 16px; display: grid; gap: 8px; }
.impact-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--dark-field); border-radius: 10px; font-size: 15px; }
.impact-row b { font-weight: 600; white-space: nowrap; }
.lvl-high { color: var(--dark-red-soft); }
.lvl-medium { color: #F5C27A; }
.lvl-low { color: var(--dark-muted-2); }
.impact .btn { margin-top: 16px; width: 100%; }
.ticker-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticker-card b { display: block; font-weight: 700; }
.ticker-card small { display: block; font-size: 13px; color: var(--muted); }
.ticker-card .r { text-align: right; }
.ticker-card .px { display: block; font: 600 18px var(--mono); }
.ticker-card .chg { display: block; font: 600 13px var(--mono); }
.chg.down { color: var(--red-pill); }
.chg.up { color: var(--green-pill); }
.rail-video .media { aspect-ratio: 16 / 9; border-radius: 0; }
.rail-video .dur { right: 10px; bottom: 10px; padding: 3px 7px; font-size: 12px; }
.rail-video p { padding: 14px 16px 16px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.rail-vote { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }

.more { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.more h2 { margin-bottom: 20px; font-weight: 700; font-size: 26px; letter-spacing: -.03em; }
.grid-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.rcard .media { aspect-ratio: 16 / 9; }
.rcard h3 { padding: 16px 18px 20px; font-weight: 650; font-size: 18px; line-height: 1.3; text-wrap: pretty; }
.rcard .rmeta { display: block; padding: 16px 18px 0; font-size: 13px; color: var(--muted); }
.rcard .rmeta + h3 { padding-top: 6px; }

/* ---------- Votes ---------- */
.vote { padding: 16px; background: var(--tile); border-radius: 14px; }
.rail-vote .vote { padding: 0; background: none; }
.vote-q { margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.vote-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vote-btns button { min-height: 44px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: transform .12s ease, background-color .15s ease; }
.vote-btns button:active { transform: scale(.98); }
.v-agree { border: 0; background: var(--ink); color: #fff; }
.v-agree:hover { background: #262524; }
.v-disagree { border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.v-disagree:hover { background: var(--field); }
.vote-done { font-size: 15px; line-height: 1.45; color: var(--muted-2); }
.vote-done strong { color: var(--ink); }
.vote-bars { margin-top: 10px; display: grid; gap: 6px; }
.vbar { display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 13px; }
.vbar i { display: block; height: 8px; border-radius: 9px; background: var(--input-line); overflow: hidden; }
.vbar i b { display: block; height: 100%; background: var(--ink); border-radius: 9px; }
.vbar.dis i b { background: var(--red); }
.vbar span:last-child { font: 600 13px var(--mono); text-align: right; }
.vote [hidden] { display: none !important; }

/* ---------- Views page ---------- */
.page-top { padding: 48px 0 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.page-top .pt-copy { flex: 1 1 560px; min-width: 0; }
.page-top h1 { font-weight: 750; font-size: clamp(44px, 5.6vw, 80px); line-height: .98; letter-spacing: -.05em; }
.page-top .pt-copy p { margin-top: 14px; font-size: 20px; line-height: 1.45; color: var(--muted-2); max-width: 34em; text-wrap: pretty; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--input-line); border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: 14px; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature { display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; }
.feature-img { flex: 1 1 520px; min-width: 0; min-height: 360px; position: relative; background: #111; overflow: hidden; }
.feature-img img, .feature-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-img); }
.feature:hover .feature-img img { transform: scale(1.03); }
.feature-body { flex: 1 1 480px; min-width: 0; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.feature-body h2 { font-weight: 720; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.feature-body > p { font-size: 18px; line-height: 1.55; color: var(--muted-2); text-wrap: pretty; }
.feature-body .stat-tiles { margin-top: 0; }
.feature-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.feature-foot .avatar { width: 34px; height: 34px; }
.grid-pieces { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.piece { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.piece[hidden] { display: none; }
.piece h2 { font-weight: 720; font-size: 27px; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.piece > p { font-size: 17px; line-height: 1.55; color: var(--muted-2); text-wrap: pretty; }
.against { border: 1px solid var(--line); border-radius: 14px; }
.against summary {
  list-style: none; min-height: 50px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 15px; cursor: pointer; border-radius: 14px;
}
.against summary::-webkit-details-marker { display: none; }
.against summary .sign::before { content: "+"; font: 500 18px var(--mono); }
.against[open] summary .sign::before { content: "\2212"; }
.against p { padding: 0 16px 16px; font-size: 16px; line-height: 1.5; color: var(--muted-2); }
.piece .byline-s .avatar { width: 30px; height: 30px; font-size: 11px; }
.empty {
  border: 1px dashed var(--input-line); border-radius: 20px; padding: 40px clamp(20px, 4vw, 48px); text-align: left; color: var(--muted);
  background: rgba(255, 255, 255, .6);
}
.empty h2 { color: var(--ink); font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; }
.empty p + p { margin-top: 6px; }
.empty .btn { margin-top: 18px; }

/* ---------- Listing pages ---------- */
.list-top { padding: 44px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.list-top .eyebrow { font-size: 13px; font-weight: 600; color: var(--red-hover); }
.list-top h1 { margin-top: 8px; font-weight: 750; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: anywhere; }
.list-top p { margin-top: 12px; font-size: 19px; line-height: 1.45; color: var(--muted-2); max-width: 40em; }
.list-search { margin-top: 20px; max-width: 560px; }
.list-search .search { height: 52px; background: #fff; border-color: var(--line); }
.list-search .search input { width: 100%; flex: 1 1 auto; font-size: 17px; }
.list-lead { display: flex; flex-wrap: wrap; border-radius: 20px; margin-bottom: 26px; }
.list-lead.no-media .ll-b { flex-basis: 100%; padding: clamp(24px, 3vw, 44px); }
.list-lead.no-media h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 22em; }
.list-lead .media { flex: 1 1 520px; min-width: 0; aspect-ratio: 16 / 9; }
.list-lead .ll-b { flex: 1 1 380px; min-width: 0; padding: clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.list-lead h2 { font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.list-lead p { font-size: 17px; line-height: 1.5; color: var(--muted-2); }
.lmeta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.lmeta .cat { font-weight: 600; color: var(--red-hover); }
.grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.lcard { display: flex; flex-direction: column; }
.lcard .media { aspect-ratio: 16 / 9; }
.lcard .lb { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.lcard h3 { font-weight: 650; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; text-wrap: pretty; }
.lcard p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; }
.pager span { font: 500 14px var(--mono); color: var(--muted); }

/* ---------- Static pages ---------- */
.doc { max-width: 760px; padding: 44px 0 56px; }
.doc h1 { margin-top: 12px; font-weight: 750; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.doc .prose { margin-top: 28px; font-size: 18px; }
.doc .prose .lead { font-size: 21px; line-height: 1.5; color: var(--muted-2); }
.doc code { font-family: var(--mono); font-size: .9em; background: var(--field); padding: 1px 5px; border-radius: 5px; }
.corr-list { margin-top: 10px; display: grid; gap: 12px; }
.corr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 16px; line-height: 1.5; }
.corr a { font-weight: 650; }
.corr small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.form { margin-top: 28px; display: grid; gap: 16px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--input-line); border-radius: 12px; background: #fff;
  font-size: 16px; font-weight: 400; outline: none;
}
.form textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 10, 10, .06); }
.form .btn { justify-self: start; min-height: 50px; padding: 0 22px; font-size: 16px; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-top: 20px; }
.alert.ok { background: var(--green-pill-bg); color: var(--green-pill); font-weight: 600; }
.alert.err { background: var(--red-pill-bg); color: var(--red-pill); }
.alert.err p + p { margin-top: 4px; }

/* ---------- Error page ---------- */
.err-wrap { padding: clamp(48px, 9vw, 120px) 0 64px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.err-copy { flex: 1 1 480px; min-width: 0; }
.err-copy .err-code { margin: 0; font: 600 clamp(80px, 14vw, 180px) var(--mono); letter-spacing: -.06em; line-height: .9; color: var(--red); }
.err-copy h1 { margin-top: 18px; font-weight: 750; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.err-copy p { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--muted-2); max-width: 32em; }
.err-copy .search { margin-top: 26px; height: 52px; background: #fff; border-color: var(--line); max-width: 480px; }
.err-copy .search input { width: 100%; flex: 1 1 auto; font-size: 17px; }
.err-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.err-side { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px 22px 10px; }
.err-side h2 { padding: 16px 0 6px; font-size: 18px; font-weight: 700; }

/* ---------- Saved ---------- */
.saved-list { display: grid; gap: 12px; }
.saved-item { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding: 16px; align-items: center; }
.saved-item img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.saved-item h3 { font-weight: 650; font-size: 18px; line-height: 1.3; }
.saved-item small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.saved-item .rm { justify-self: start; margin-top: 6px; border: 0; background: none; padding: 0; font-size: 13px; color: var(--red-hover); font-weight: 600; min-height: 32px; }

/* ---------- Videos page (dark) ---------- */
.theme-dark body, body.theme-dark { background: var(--dark); color: #FAFAF9; }
body.theme-dark { --header-bg: rgba(10, 10, 10, .95); }
body.theme-dark a:hover { color: #FF6A70; }
body.theme-dark .site-header { border-bottom-color: var(--dark-line); }
body.theme-dark .wordmark { color: #FAFAF9; }
body.theme-dark .wordmark .m { color: var(--dark-red); }
body.theme-dark .nav a:hover { background: rgba(255, 255, 255, .06); }
body.theme-dark .nav a[aria-current="page"] { color: #FF6A70; }
body.theme-dark .search { background: var(--dark-field); color: var(--dark-muted); }
body.theme-dark .search:focus-within { background: #232322; border-color: var(--dark-line-2); }
body.theme-dark .search input { color: #FAFAF9; }
body.theme-dark .search input::placeholder { color: var(--dark-muted); }
body.theme-dark .kbd { background: transparent; border-color: var(--dark-line-2); color: var(--dark-muted); }
body.theme-dark .icon-btn { color: #FAFAF9; }
body.theme-dark .icon-btn:hover { background: rgba(255, 255, 255, .08); }
body.theme-dark .site-footer { background: var(--dark); border-top-color: var(--dark-line); }
body.theme-dark .foot { color: var(--dark-muted); }
body.theme-dark .foot-credits { color: var(--dark-muted); border-top-color: var(--dark-line); }
body.theme-dark .tabbar { background: #111110; border-top-color: var(--dark-line); }
body.theme-dark .tabbar a { color: var(--dark-muted); }
body.theme-dark .tabbar a[aria-current="page"] { color: var(--dark-red); }
body.theme-dark .drawer-panel { background: #111110; color: #FAFAF9; }
body.theme-dark .drawer-nav a { border-bottom-color: var(--dark-line); }
body.theme-dark .drawer-small { color: var(--dark-muted); }

.vid-top { padding: 40px 0 26px; }
.vid-top h1 { font-weight: 750; font-size: clamp(40px, 4.8vw, 68px); line-height: 1; letter-spacing: -.05em; }
.vid-top p { margin-top: 12px; font-size: 19px; color: var(--dark-muted-2); max-width: 40em; }
.now { display: flex; flex-wrap: wrap; gap: 24px; }
.player-col { flex: 999 1 640px; min-width: 0; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.player-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; color: #fff; position: relative; }
.player-btn img, .player-btn .ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-img), opacity .2s ease; }
.player-btn:hover img { transform: scale(1.015); }
.player-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 40%); pointer-events: none; }
.big-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: transform .2s ease;
}
.player-btn:hover .big-play { transform: scale(1.06); }
.player .dur { z-index: 1; right: 16px; bottom: 16px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .82); font-size: 14px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.now-info { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 32px; }
.now-copy { flex: 1 1 460px; min-width: 0; }
.now-k { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--dark-red-soft); }
.now-copy h2 { font-weight: 720; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.now-desc { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--dark-muted-2); }
.now-note { margin-top: 10px; font-size: 13px; color: var(--dark-muted); }
.now-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chapters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.chapters button { min-height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--dark-line-2); background: transparent; color: var(--dark-muted-2); font-size: 13px; }
.chapters button b { font: 600 12px var(--mono); color: #FAFAF9; margin-right: 6px; }
.chapters button:hover { border-color: #FAFAF9; color: #fff; }
.playlist { flex: 1 1 340px; min-width: 0; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 20px; padding: 18px; align-self: flex-start; }
.pl-head { margin: 2px 6px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pl-head h2 { font-weight: 700; font-size: 17px; }
.pl-head span { font-size: 13px; color: var(--dark-muted); }
.pl { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pl-item {
  width: 100%; padding: 8px; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; align-items: start;
  text-align: left; border: 0; border-radius: 12px; background: transparent; color: #FAFAF9; font-size: 15px;
  transition: background-color .15s ease;
}
.pl-item:hover { background: rgba(255, 255, 255, .04); color: #FAFAF9; }
.pl-item[aria-current="true"] { background: var(--dark-red-bg); }
.pl-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.pl-thumb img, .pl-thumb .ph { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.pl-thumb .ph { padding: 8px; font-size: 10px; }
.pl-item[aria-current="true"] .pl-thumb img { opacity: 1; }
.pl-thumb .dur { right: 5px; bottom: 5px; padding: 1px 5px; border-radius: 4px; font-size: 11px; background: rgba(0, 0, 0, .85); }
.pl-meta { display: block; min-width: 0; }
.pl-label { display: block; font-size: 12px; font-weight: 600; color: var(--dark-muted); }
.pl-item[aria-current="true"] .pl-label { color: var(--dark-red-soft); }
.pl-title { display: block; margin-top: 3px; font-weight: 600; font-size: 14px; line-height: 1.3; }
.pl-sub { display: block; margin-top: 4px; font-size: 12px; color: var(--dark-muted); }
.pl-soon { margin-top: 4px; padding: 8px; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; align-items: center; }
.pl-soon .box { aspect-ratio: 16 / 9; border: 1px dashed var(--dark-line-2); border-radius: 8px; display: grid; place-items: center; font: 500 11px var(--mono); color: var(--dark-muted); }
.pl-soon p { font-size: 14px; color: var(--dark-muted-2); }
.pl-soon a { color: #FAFAF9; font-weight: 600; text-decoration: underline; }
.films-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.films-head h2 { font-weight: 720; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; }
.films-head span { font-size: 14px; color: var(--dark-muted); }
.grid-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 28px 24px; }
.film { display: block; transition: transform .25s ease; }
.film:hover { transform: translateY(-2px); }
.film .media { aspect-ratio: 16 / 9; border-radius: 16px; }
.film:hover .media img { transform: scale(1.03); }
.film .dur { right: 10px; bottom: 10px; padding: 3px 8px; }
.film-k { margin-top: 12px; font-size: 13px; color: var(--dark-muted); }
.film h3 { margin-top: 4px; font-weight: 650; font-size: 19px; line-height: 1.28; letter-spacing: -.015em; text-wrap: pretty; }
.film.is-current .film-k::before { content: "Now playing \00B7\00A0"; color: var(--dark-red-soft); font-weight: 600; }
.film-next { display: flex; flex-direction: column; justify-content: center; gap: 12px; aspect-ratio: 16 / 9; padding: 24px; border: 1px dashed var(--dark-line-2); border-radius: 16px; color: var(--dark-muted-2); }
.film-next p:first-child { font-weight: 650; font-size: 19px; color: #FAFAF9; }
.film-next p { font-size: 15px; }
.film-next .btn { align-self: flex-start; }
.vid-empty { border: 1px dashed var(--dark-line-2); border-radius: 20px; padding: 48px clamp(20px, 4vw, 48px); color: var(--dark-muted-2); }
.vid-empty h2 { color: #FAFAF9; font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }

/* =================================================================
   Responsive
   ================================================================= */

@media (max-width: 1359px) {
  .search input { width: 128px; }
  .hdr { gap: 10px 24px; }
  .nav a { padding: 0 10px; }
}

/* Tablet: nav drops to its own scrollable row */
@media (max-width: 1199px) {
  .hdr { flex-wrap: wrap; padding-top: 10px; padding-bottom: 0; gap: 4px 20px; min-height: 0; }
  .logo { order: 1; margin-right: auto; }
  .hdr-tools { order: 2; }
  .nav {
    order: 3; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter));
    padding: 0 calc(var(--gutter) - 10px) 4px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 24px), transparent);
  }
  .nav::-webkit-scrollbar { display: none; }
  .search input { width: 180px; }
  .art-rail { position: static; }
}

@media (max-width: 1023px) {
  .art-layout { gap: 32px; }
  .art-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
  .art-body { max-width: none; }
}

/* Phone */
@media (max-width: 720px) {
  :root { --tabbar-h: calc(68px + env(safe-area-inset-bottom, 0px)); --header-h: 60px; }
  .only-mobile { display: revert !important; }
  .only-desktop { display: none !important; }
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.theme-dark .site-header { background: var(--dark); }
  .hdr { flex-wrap: nowrap; padding: 8px 16px; min-height: 60px; gap: 8px; }
  .wordmark { font-size: 21px; }
  .nav, .hdr-tools { display: none; }
  .m-tools { display: flex; gap: 4px; margin-left: auto; }
  .logo { order: 0; margin-right: 0; }

  /* Article phone header: back / logo / save + share */
  .is-article .hdr { padding: 6px 8px; justify-content: space-between; }
  .is-article .m-back { display: grid; }
  .is-article .m-tools { display: none; }
  .is-article .m-art-tools { display: flex; }
  .is-article .logo { margin: 0 auto; }

  .tabbar {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid var(--line); padding: 6px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .tabbar a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; font-weight: 500; color: var(--muted); }
  .tabbar a[aria-current="page"] { color: var(--red); font-weight: 600; }
  .is-article { --tabbar-h: 0px; }
  .is-article .tabbar { display: none; }

  .strip-row { padding-left: 0; padding-right: 0; }
  .strip-in { padding: 12px 16px; gap: 8px; -webkit-mask-image: none; mask-image: none; }
  .tick { gap: 10px; padding: 7px 12px; }
  .tick-name { font-size: 12px; }
  .tick-price { font-size: 15px; }
  .tick .pill { font-size: 12px; padding: 3px 6px; }
  .tick .spark { display: none; }
  .chips-nav { display: flex; gap: 6px; padding: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
  .chips-nav::-webkit-scrollbar { display: none; }
  .chips-nav a { flex: 0 0 auto; min-height: 40px; padding: 0 14px; display: flex; align-items: center; border-radius: 999px; border: 1px solid var(--input-line); font-size: 14px; font-weight: 600; }
  .chips-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* Home: flatten the two row sections so phone order follows MobileHome */
  .home { padding-top: 16px; padding-bottom: 28px; }
  .home-top, .home-money { display: contents; }
  .hero-card, .toplist, .calc, .week { flex: none; }
  .hero-card { order: 1; border-radius: 18px; }
  .calc { order: 2; margin-top: 16px; }
  .toplist { order: 3; margin-top: 26px; }
  .week { order: 4; margin-top: 26px; }
  .sec-trail { order: 5; }
  .sec-views { order: 6; }
  .sec-videos { order: 7; }
  .sec-news { order: 8; }
  .sec { margin-top: 26px; }
  .hero-card .media { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; top: 12px; padding: 6px 10px; font-size: 12px; }
  .hero-body { padding: 16px 16px 18px; }
  .hero-body h1 { font-weight: 720; font-size: 28px; line-height: 1.08; }
  .hero-body .dek { margin-top: 10px; font-size: 16px; }
  .hero-meta { margin-top: 14px; }
  .hero-meta .m-hide { display: none; }
  .money-chip { font-size: 13px; }
  .money-chip svg { display: none; }

  .toplist { background: none; border: 0; border-radius: 0; padding: 0; }
  .toplist .tabs { display: none; }
  .toplist-h { display: block; margin: 0 0 6px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
  .toplist [data-panel="latest"] { display: none; }
  .toplist [data-panel="top"][hidden] { display: block; }
  .rank { grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; }
  .rank-n { display: none; }
  .rank-img { display: block; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--tile); }
  .rank-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .rank:last-child { border-bottom: 1px solid var(--line-soft); }

  .calc { border-radius: 18px; padding: 20px; gap: 14px; }
  .dark-pill { font-size: 12px; padding: 4px 10px; }
  .calc h2 { margin-top: 10px; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
  .calc-copy p.lede { display: none; }
  .seg button { min-height: 40px; font-size: 14px; }
  .calc-label { margin-top: 16px; font-size: 14px; }
  .calc-label b { font-size: 14px; }
  .calc-out { padding-top: 12px; }
  .calc-out span { font-size: 14px; }
  .calc-out output { font-size: 38px; }

  .week { padding: 18px; border-radius: 18px; }
  .sec-head { margin-bottom: 12px; align-items: center; }
  .sec-head h2 { font-size: 20px; letter-spacing: -.02em; }
  .sec-head p { display: none; }
  .sec-head .more-link { font-size: 14px; }

  .grid-trail { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .grid-trail::-webkit-scrollbar { display: none; }
  .grid-trail .tcard { flex: 0 0 262px; border-radius: 16px; scroll-snap-align: start; }
  .tcard-b { padding: 12px 14px 16px; }
  .knum { font-size: 19px; }
  .tcard h3 { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.3; }
  .tcard p { display: none; }

  .grid-views { gap: 12px; }
  .vhome { padding: 18px; gap: 12px; border-radius: 16px; }
  .vhome h3 { font-size: 21px; line-height: 1.18; }
  .vhome .chip { font-size: 12px; padding: 4px 10px; }
  .vhome .byline-s { font-size: 13px; }
  .vhome .byline-s .avatar { display: none; }

  .sec-videos.band-dark { margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 20px 16px 24px; }
  .band-dark .sec-head { margin-bottom: 12px; }
  .sec-videos .sub-t { display: none; }
  .vcard .media { border-radius: 14px; }
  .vcard h3 { margin-top: 10px; font-size: 17px; line-height: 1.3; }
  .vcard .play { width: 44px; height: 44px; left: 12px; bottom: 12px; }
  .grid-vid { gap: 18px; }
  .dur { right: 8px; bottom: 8px; padding: 3px 7px; font-size: 12px; }

  .newsletter { border-radius: 18px; padding: 20px; gap: 16px; }
  .newsletter h2 { font-size: 24px; }
  .newsletter .nl-copy p { font-size: 16px; }
  .nl-form button { flex: 1 1 100%; }

  .foot { padding-top: 24px; padding-bottom: 28px; gap: 14px; }
  .foot-nav { gap: 0 16px; }

  /* Article phone */
  .article-main { padding-bottom: 32px; }
  .art-head { padding-top: 20px; }
  .crumbs { display: none; }
  .kicker { display: block; }
  .art-head h1 { margin-top: 8px; font-size: 32px; line-height: 1.06; }
  .opinion-tag { margin-top: 10px; }
  .art-head .dek { margin-top: 12px; font-size: 17px; line-height: 1.5; }
  .byline { margin-top: 16px; padding: 0; border: 0; gap: 10px; flex-wrap: nowrap; }
  .byline-who { gap: 10px; }
  .byline-who .avatar { width: 34px; height: 34px; font-size: 11px; }
  .byline-who b { font-size: 14px; line-height: 1.25; }
  .byline-who small { font-size: 13px; line-height: 1.25; }
  .tools [data-save], .tools [data-share] { display: none; }
  .listen .lbl-long { display: none; }
  .hero-fig { margin-top: 18px; }
  .hero-fig .media { aspect-ratio: 4 / 3; border-radius: 16px; }
  .figcap { margin-top: 8px; font-size: 12px; }
  .art-layout { margin-top: 18px; gap: 24px; }
  .tldr { border-radius: 16px; padding: 18px; }
  .tldr h2 { font-size: 17px; margin-bottom: 10px; }
  .tldr ul { gap: 10px; }
  .tldr li { grid-template-columns: 18px minmax(0, 1fr); gap: 6px; font-size: 16px; }
  .tldr li::before { width: 7px; height: 7px; margin-top: 8px; }
  .prose { font-size: 18px; line-height: 1.65; }
  .prose.first { margin-top: 22px; }
  .prose p { margin-bottom: 18px; }
  .prose h2 { font-size: 23px; margin-top: 28px; margin-bottom: 10px; }
  .pull { margin: 24px 0; font-size: 24px; line-height: 1.22; }
  .chart { margin: 4px 0 22px; border-radius: 16px; padding: 16px; }
  .chart-title { font-size: 15px; }
  .chart-sub { font-size: 13px; }
  .chart-price { font-size: 20px; letter-spacing: -.02em; }
  .chart-date { display: none; }
  .chart-chg { display: block; }
  .plot { height: 140px; margin-top: 10px; }
  .plot .ylab { display: none; }
  .plot-area { right: 0; }
  .cchip { font-size: 12px; padding: 4px 8px; border-radius: 7px; }
  .chart-note { flex: 1 1 100%; padding: 2px 0 0; font-size: 12px; }
  .impact-inline { margin: 0 0 22px; border-radius: 16px; padding: 18px; }
  .impact-inline h2 { font-size: 17px; }
  .impact-inline > p { margin-top: 8px; }
  .impact-inline .impact-rows { margin-top: 12px; gap: 6px; }
  .impact-inline .impact-row { padding: 9px 12px; font-size: 14px; }
  .sources, .counter { border-radius: 16px; }
  .sources summary, .counter summary { min-height: 56px; padding: 0 16px; font-size: 16px; }
  .src-grid { padding: 0 16px 14px; grid-template-columns: 64px minmax(0, 1fr); font-size: 14px; }
  .thesis { font-size: 18px; padding: 16px 18px; }
  .stat b { font-size: 17px; }
  .stat span { font-size: 12px; }
  .stat-tiles { gap: 6px; }
  .stat { padding: 10px; }
  .more { margin-top: 40px; padding-top: 24px; }
  .more h2 { font-size: 22px; margin-bottom: 14px; }

  /* Views phone */
  .page-top { padding: 28px 0 20px; gap: 16px; }
  .page-top h1 { font-size: 40px; }
  .page-top .pt-copy p { font-size: 17px; margin-top: 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .fchip { flex: 0 0 auto; min-height: 40px; padding: 0 14px; }
  .feature { border-radius: 18px; }
  .feature-img { min-height: 0; aspect-ratio: 16 / 10; flex-basis: 100%; }
  .feature-body { padding: 18px; gap: 14px; }
  .feature-body h2 { font-size: 26px; }
  .feature-body > p { font-size: 16px; }
  .grid-pieces { margin-top: 16px; gap: 16px; }
  .piece { padding: 18px; gap: 14px; border-radius: 18px; }
  .piece h2 { font-size: 23px; }
  .piece > p { font-size: 16px; }

  /* Lists phone */
  .list-top { padding: 26px 0 18px; margin-bottom: 18px; }
  .list-top h1 { font-size: 38px; }
  .list-top p { font-size: 16px; }
  .list-lead { border-radius: 18px; margin-bottom: 16px; }
  .list-lead .ll-b { padding: 16px 16px 18px; }
  .list-lead h2 { font-size: 24px; }
  .list-lead p { font-size: 15px; }
  .grid-list { gap: 0; }
  .grid-list .lcard {
    display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  .grid-list .lcard:hover { transform: none; box-shadow: none; }
  .grid-list .lcard .media { order: 2; width: 96px; height: 96px; aspect-ratio: auto; border-radius: 12px; }
  .grid-list .lcard .lb { padding: 0; gap: 5px; }
  .grid-list .lcard h3 { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
  .grid-list .lcard p { display: none; }
  .grid-list .lcard .ph { padding: 8px; font-size: 10px; }
  .grid-list .lcard .ph { background: var(--tile) url("/static/img/favicon.svg") center / 30px no-repeat; }
  .grid-list .lcard .ph > span { display: none; }

  /* Videos phone */
  .vid-top { padding: 24px 0 18px; }
  .vid-top h1 { font-size: 38px; }
  .vid-top p { font-size: 16px; }
  .player { border-radius: 14px; margin: 0 -2px; }
  .big-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .big-play svg { width: 20px; height: 23px; }
  .now-info { margin-top: 14px; }
  .now-copy h2 { font-size: 24px; }
  .now-desc { font-size: 16px; }
  .now-btns { flex: 1 1 100%; }
  .now-btns .btn { flex: 1 1 0; }
  .playlist { padding: 12px; border-radius: 16px; }
  .pl-item, .pl-soon { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
  .grid-films { gap: 22px; }

  .err-wrap { padding-top: 36px; gap: 28px; }
  .err-copy p { font-size: 17px; }
  .doc { padding-top: 26px; }
  .doc .prose { font-size: 17px; }
  .doc .prose .lead { font-size: 19px; }
}

@media (max-width: 380px) {
  .wordmark { font-size: 19px; }
  .stat-tiles { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .calc-out output { font-size: 32px; }
  .hero-body h1 { font-size: 26px; }
  .art-head h1 { font-size: 29px; }
  .pl-item, .pl-soon { grid-template-columns: 104px minmax(0, 1fr); }
}

@media (hover: none) {
  a.card:hover, .vcard:hover, .film:hover { transform: none; box-shadow: none; }
}

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

@media print {
  .site-header, .tabbar, .site-footer, .art-rail, .tools, .more, .newsletter { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ---------- Small layout helpers (formerly inline styles) ---------- */
.empty-home { margin-top: 32px; }
.rail-vote-m { margin-top: 20px; }
.views-nl { margin: 40px 0 48px; }
.sec-gap { margin-bottom: 48px; }
.page-end { height: 48px; }
.vid-end { height: 48px; }
@media (max-width: 720px) {
  .views-nl { margin: 28px 0 32px; }
  .sec-gap { margin-bottom: 28px; }
  .page-end, .vid-end { height: 28px; }
}
[data-piece][hidden] { display: none !important; }
