/* Layout: one centered feed column with a sticky list bar; a sticky ad rail joins it on wide screens. */
:root {
  color-scheme: light;
  /* Front Page (default brand) */
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #4A4A4A;
  --rule: #111111;
  --hair: #D9D9D6;
  --top-bg: #FFC400;
  --top-fg: #111111;
  --flop-bg: #111111;
  --flop-fg: #FFFFFF;
  --photo: #E3E1DA;
  --font-display: Anton, "Arial Narrow", Impact, sans-serif;
  --font-head: Archivo, Arial, Helvetica, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 0px;
  --band-word: 30px;
  --head-weight: 800;
  --body-size: 19px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--body-size); line-height: 1.5; padding-bottom: 84px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #0A84FF; outline-offset: 2px; }

/* Site header */
.site { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--surface); border-bottom: 4px solid var(--rule); }
.wordmark { display: flex; font-family: Anton, "Arial Narrow", Impact, sans-serif; font-size: 32px; line-height: 1; letter-spacing: 1px; }
.wordmark span { padding: 6px 9px 5px; }
.wordmark .t { background: #FFC400; color: #111111; }
.wordmark .f { background: #111111; color: #FFFFFF; }
.tagline { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--muted); text-align: right; }

/* Category nav */
.home-link { display: block; text-decoration: none; }
.cats { display: flex; align-items: center; gap: 24px; height: 48px; padding: 0 20px; overflow-x: auto; white-space: nowrap; background: var(--surface); border-bottom: 1px solid var(--hair); }
.cats a { flex: none; padding: 12px 0; font-family: var(--font-head); font-size: 15px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.cats a:hover { text-decoration: underline; }

/* Home */
.home { max-width: 640px; margin: 0 auto; }
.home a, .chooser a { color: var(--ink); text-decoration: none; }
.kick { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.ph { display: block; position: relative; aspect-ratio: 4 / 3; background: var(--photo); overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tbar { display: flex; height: 12px; background: var(--flop-bg); }
.tbar i { display: block; background: var(--top-bg); }
.sec-h { margin: 32px 20px 0; padding-top: 12px; border-top: 4px solid var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: 1px; text-transform: uppercase; }

.feat { position: relative; --feat-ms: 7000ms; }
.feat-slides { display: grid; }
.feat-slide { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s 0.45s; }
.feat-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.feat-text { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 6px; }
.feat-text h2 { margin: 0; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 31px; line-height: 1.08; text-wrap: balance; }
.feat-text .dk { display: block; }
.dots { position: relative; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 0 56px; }
.dot { height: 44px; padding: 0 3px; border: 0; background: transparent; display: flex; align-items: center; }
.dot span { display: block; width: 14px; height: 6px; background: #8A8A90; border-radius: var(--radius); overflow: hidden; transition: width 0.3s ease; }
.dot.is-active span { width: 56px; background: #C9C9CE; }
.dot span i { display: block; width: 0; height: 100%; background: var(--ink); }
.dot.is-active span i { animation: featfill var(--feat-ms) linear forwards; }
.feat.is-paused .dot.is-active span i { animation-play-state: paused; }
@keyframes featfill { from { width: 0; } to { width: 100%; } }
.feat-pause { position: absolute; right: 8px; top: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.feat-pause svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .dot.is-active span i { animation: none; width: 100%; }
  .feat-slide, .feat-slide.is-active, .dot span { transition: none; }
  .feat-pause { display: none; }
}

.rows { display: flex; flex-direction: column; }
.rowlink { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 20px; border: 0; border-bottom: 1px solid var(--hair); background: transparent; text-align: left; font: inherit; }
.rowlink .ph { flex: none; width: 112px; }
.rowlink .rt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rowlink .nm { font-family: var(--font-head); font-size: 19px; line-height: 1.15; font-weight: var(--head-weight); }
.rowlink .sub { font-size: 15px; line-height: 1.3; color: var(--muted); }
.rank { flex: none; width: 28px; font-family: var(--font-display); font-size: 32px; line-height: 1; text-align: center; }

.strip { display: flex; gap: 10px; padding: 14px 20px 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; }
.mini { flex: none; width: 164px; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--surface); text-align: left; font: inherit; scroll-snap-align: start; }
.mini .badge { display: flex; align-items: center; gap: 6px; padding: 5px 8px; font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 0.6px; }
.mini .badge svg { width: 14px; height: 14px; }
.mini .badge.up { background: var(--top-bg); color: var(--top-fg); }
.mini .badge.down { background: var(--flop-bg); color: var(--flop-fg); }
.mini .tx { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 10px; }
.mini .nm { font-family: var(--font-head); font-size: 16px; line-height: 1.15; font-weight: var(--head-weight); }
.mini .sub { font-size: 13px; line-height: 1.3; color: var(--muted); }

.tf section > :nth-child(2) { margin-top: 12px; }
.tf-band { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-family: var(--font-display); font-size: 26px; line-height: 1; letter-spacing: 1.5px; }
.tf-band svg { width: 22px; height: 22px; }
.tf-band.top { background: var(--top-bg); color: var(--top-fg); }
.tf-band.flop { background: var(--flop-bg); color: var(--flop-fg); }

.colls { display: grid; gap: 12px; margin: 14px 20px 0; }
.coll { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border: 0; border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 6%, var(--surface)); text-align: left; font: inherit; }
.coll .pair { display: flex; flex: none; }
.coll .pair .ph { width: 64px; aspect-ratio: 8 / 9; }
.coll .nm { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.15; font-weight: var(--head-weight); }
.coll .sub { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--muted); }

.stream { display: grid; margin-top: 14px; }
.card { display: flex; flex-direction: column; }
.card .tx { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 28px; }
.card .tt { font-family: var(--font-head); font-size: 26px; line-height: 1.12; font-weight: var(--head-weight); text-wrap: balance; }
.stream .note { padding: 20px; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; border-top: 1px solid var(--hair); }
.slot .big-t { display: none; }

@media (min-width: 1000px) {
  .cats { justify-content: center; gap: 36px; }
  .home { max-width: 1168px; padding: 0 24px; }
  .home-top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); grid-template-areas: "feat pop" "ad ad"; column-gap: 40px; margin-top: 24px; }
  .home-top .feat { grid-area: feat; }
  .home-top .pop { grid-area: pop; }
  .home-top .ad { grid-area: ad; }
  .home .sec-h { margin-left: 0; margin-right: 0; }
  .pop .sec-h { margin-top: 0; }
  .feat .ph { aspect-ratio: 16 / 9; }
  .feat-text { padding-left: 0; padding-right: 0; }
  .feat-text h2 { font-size: 40px; }
  .rowlink { padding-left: 0; padding-right: 0; }
  .strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-left: 0; padding-right: 0; overflow: visible; }
  .mini { width: auto; }
  .tf { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .tf-band { padding-left: 14px; }
  .colls { grid-template-columns: 1fr 1fr; gap: 16px; margin-left: 0; margin-right: 0; }
  .stream { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .stream .ad, .stream .note { grid-column: 1 / -1; }
  .card .tx { padding-left: 0; padding-right: 0; }
  .slot.mpu.big { width: 970px; height: 250px; }
  .slot.big .narrow { display: none; }
  .slot.big .big-t { display: inline; }
}

/* Footer */
.site-foot { margin-top: 48px; background: var(--ink); color: #FFFFFF; font-family: var(--font-head); }
.site-foot .in { max-width: 1168px; margin: 0 auto; padding: 36px 20px 28px; display: grid; gap: 28px; }
@media (min-width: 760px) { .site-foot .in { grid-template-columns: 1.4fr 1fr 1fr; padding: 48px 24px 32px; } }
.site-foot a { display: inline-block; padding: 4px 0; color: #FFFFFF; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: #C9C9CE; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 16px; font-weight: 600; }
.site-foot .tag { margin: 16px 0 0; max-width: 34ch; font-family: var(--font-body); font-size: 16px; line-height: 1.45; color: #E4E4E7; }
.site-foot .legal { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; font-weight: 600; color: #C9C9CE; }
@media (min-width: 760px) { .site-foot .legal { grid-column: 1 / -1; } }
.site-foot .wordmark { display: inline-flex; }
.site-foot .wordmark .f { background: #FFFFFF; color: #111111; }

/* List chooser */
dialog.chooser { width: 100%; max-width: 560px; max-height: 85vh; margin: auto auto 0; padding: 0 0 12px; border: 0; background: var(--surface); color: var(--ink); }
@media (min-width: 760px) { dialog.chooser { margin: auto; } }
dialog.chooser::backdrop { background: rgba(0, 0, 0, 0.6); }
.ch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 8px 4px 20px; }
.ch-head h2 { margin: 6px 0 0; font-family: var(--font-head); font-size: 24px; line-height: 1.15; font-weight: var(--head-weight); }
.ch-head button { flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; font-size: 26px; line-height: 1; }
.ch-sub { margin: 0; padding: 0 20px 10px; font-size: 16px; color: var(--muted); }
.chip { display: inline-block; margin-right: 6px; padding: 2px 8px; font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 0.5px; }
.chip.top { background: var(--top-bg); color: var(--top-fg); }
.chip.flop { background: var(--flop-bg); color: var(--flop-fg); }

/* Sticky list bar */
.listbar { position: sticky; top: 0; z-index: 20; padding: 8px 20px 10px; background: var(--surface); border-bottom: 1px solid var(--hair); font-family: var(--font-head); }
.listbar .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.listbar .name { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listbar .count { flex: none; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.track { height: 6px; margin-top: 6px; background: var(--hair); }
.track i { display: block; height: 6px; width: 0; background: var(--ink); }

/* Feed and rail */
.layout { display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.feed { width: 100%; max-width: 560px; }
.rail { display: none; position: sticky; top: 72px; width: 300px; padding-top: 24px; font-family: Arial, Helvetica, sans-serif; }
.slot-label { display: block; margin-bottom: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: var(--muted); text-align: center; }
.slot { display: flex; align-items: center; justify-content: center; margin: 0 auto; padding: 12px; border: 2px dashed #8A8A90; background: transparent; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #3A3A40; text-align: center; }
.slot.mpu { width: 300px; height: 250px; }
.slot.tall { width: 300px; height: 600px; }

.list { scroll-margin-top: 120px; }
.list-head { padding: 28px 20px 8px; }
.upnext { margin: 0 0 14px; padding: 6px 10px; display: inline-block; background: var(--ink); color: var(--paper); font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.list-head h1 { margin: 0; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 32px; line-height: 1.08; text-wrap: balance; }
.list-head p { margin: 10px 0 0; color: var(--muted); }

.ad { padding: 20px 0 40px; }
.item { display: flex; flex-direction: column; margin-bottom: 20px; scroll-margin-top: 130px; }
.item .title { order: 0; }
.item .band { order: 1; }
.item .photo { order: 2; }
.item[data-shown="flop"] .photo { order: 1; }
.item[data-shown="flop"] .band { order: 2; }
.item .result { order: 3; }
.item .body { order: 4; }

.band { display: flex; align-items: center; gap: 8px; min-height: 62px; padding: 8px 12px 8px 20px; background: var(--top-bg); color: var(--top-fg); }
.item[data-shown="flop"] .band { background: var(--flop-bg); color: var(--flop-fg); }
.band .word { margin-right: auto; font-family: var(--font-display); font-size: var(--band-word); line-height: 1; letter-spacing: 1.5px; font-weight: 700; }
.band .word { font-weight: 400; }
.band .ask { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.band button { min-width: 52px; height: 46px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border: 2px solid #111111; border-radius: var(--radius); background: #FFFFFF; color: #111111; font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.band svg { width: 24px; height: 24px; }

.photo { margin: 0; position: relative; aspect-ratio: 4 / 3; background: var(--photo); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; }
.photo .ph-name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 26px; line-height: 1.1; text-wrap: balance; }
.photo .ph-tag { font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #3A3A40; }
.photo.has-img figcaption { display: none; }
.credit { margin-top: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.4; color: var(--muted); }
.credit a { color: inherit; text-decoration: underline; }

.result { padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--hair); font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.result .split { display: flex; height: 10px; margin-top: 8px; background: var(--flop-bg); }
.result .split i { display: block; height: 10px; background: var(--top-bg); }
.result .split { outline: 1px solid #111111; }
.result small { display: block; margin-top: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 400; color: var(--muted); }

.body { padding: 14px 20px 0; }
.item + .item { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--hair); }
.item .title { margin: 0; padding: 8px 20px 12px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 27px; line-height: 1.12; text-wrap: balance; }
.body p { margin: 0; max-width: 62ch; }

.end { padding: 40px 20px 60px; font-family: var(--font-head); font-weight: 700; text-align: center; color: var(--muted); }

.anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: #FFFFFF; border-top: 1px solid #C9C9CE; }
.anchor .slot { width: 320px; height: 50px; margin: 0; padding: 4px; font-size: 13px; }
.anchor .slot .wide { display: none; }
@media (min-width: 1000px) {
  .anchor .slot { width: 728px; height: 90px; font-size: 14px; }
  .anchor .slot .narrow { display: none; }
  .anchor .slot .wide { display: inline; }
  body { padding-bottom: 130px; }
}
.anchor button { width: 44px; height: 44px; border: 0; background: transparent; color: #111111; font-family: Arial, Helvetica, sans-serif; font-size: 22px; line-height: 1; }

/* Preview accessibility and small-screen refinements. */
html { scroll-padding-top: 60px; scroll-padding-bottom: 120px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 40; top: 12px; left: 12px; padding: 10px 14px; color: #111; background: #fff; }
:where(a, button, [tabindex]):focus-visible { outline: 3px solid #1858cf; outline-offset: 3px; }
.band button:focus-visible { outline: 3px solid currentColor; outline-offset: -4px; }
.cats a { min-height: 44px; }
.site a { flex: none; }
.rowlink { min-height: 52px; }
button.rowlink { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hair); text-align: left; }
.home-note { grid-column: 1 / -1; margin: 0; padding: 13px 20px; color: var(--muted); }
.slot.mpu, .slot.mpu.big { max-width: calc(100% - 20px); }
.anchor .slot { min-width: 0; }
.anchor button { flex: 0 0 44px; }
.anchor-closed { padding-bottom: 24px; }
.list { scroll-margin-top: 0; }
.item { scroll-margin-top: 0; }
.list-head :is(h1, h2) { margin: 0; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 32px; line-height: 1.08; text-wrap: balance; }
.band { padding-inline: 12px; }
.band button { height: auto; min-height: 46px; gap: 5px; }
.band button[aria-pressed="true"] { background: #111; color: white; border-color: white; }
.band svg { flex: 0 0 20px; }
.band .ask { text-align: right; line-height: 1.2; }
.result:has(.vote-text:empty):has(.vote-error:empty) { padding: 0; border: 0; }
.result button { min-height: 44px; padding: 0 5px; margin-top: 4px; background: none; border: 0; text-decoration: underline; }
.vote-error:not(:empty) { display: block; padding: 6px 0; }
.photo.unavailable { display: grid; place-items: center; }
.photo.unavailable img { position: static; width: auto; height: auto; }
.reading { max-width: 680px; margin: 32px auto; padding-inline: 20px; }
.reading h1, .reading h2 { font-family: var(--font-head); line-height: 1.14; }
.reading h1 { font-size: clamp(30px, 5vw, 48px); }
.reading-dek { font-size: 1.18em; color: var(--muted); }
.reading img { max-width: 100%; height: auto; }
.reading figcaption { font-size: .9em; color: var(--muted); }
.rail { display: none; }
@media (min-width: 1000px) and (min-height: 885px) { .rail { display: block; } }
@media (min-width: 1000px) { .home-note { padding-inline: 0; } }
@media (max-width: 380px) {
  .band button { padding-inline: 6px; }
  .band .word { font-size: 24px; }
  .band .ask, .band button { font-size: 14px; }
  .tagline { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
