/* Compact list page (Figma H3): poster strip + simple rows; details on hover / click. Uses style.css tokens. */
:root { --new: #5aa9ff; --re: #c4b5fd; --hover: rgba(255, 255, 255, .05); }
.lw { max-width: 880px; margin: 0 auto; padding: 40px 20px 120px; }
.lw .crumb { margin-bottom: 18px; display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
.crumb .back { margin-right: 10px; padding: 6px 14px 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: var(--body); letter-spacing: .04em; transition: border-color .2s, color .2s; }
.crumb .back:hover, .crumb .back:focus-visible { border-color: rgba(255, 255, 255, .55); color: var(--ink); outline: none; }
.lhd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lhd h1 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; flex: 1; min-width: 0; }
.pill { position: relative; }
.pill select, .pill span { appearance: none; background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  padding: 6px 30px 6px 12px; font: 400 13px var(--sans); color: var(--body); cursor: pointer; display: inline-block; }
.pill span { padding-right: 12px; cursor: default; }
.pill select option { background: #1a1d24; color: var(--ink); }
.pill.dd::after { content: "⌄"; position: absolute; right: 11px; top: 3px; color: var(--body); font-size: 13px; pointer-events: none; }
.lsub { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* poster strip */
.strip-w .fade.l { right: auto; left: 0; background: linear-gradient(270deg, transparent, var(--bg)); opacity: 0; }
.sa { position: absolute; top: calc((100% - 34px) / 2); transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(16, 18, 22, .85); color: var(--ink); font: 400 24px/1 var(--sans); cursor: pointer;
  display: grid; place-items: center; padding-bottom: 3px; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.sa:hover, .sa:focus-visible { background: #22252c; border-color: rgba(255, 255, 255, .5); outline: none; }
.sa.next { right: -6px; } .sa.prev { left: -6px; } .sa[hidden] { display: none; }
.strip-w { position: relative; margin-top: 28px; }
.strip { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 34px; }
.strip::-webkit-scrollbar { display: none; }
.pc { position: relative; flex: 0 0 auto; display: flex; height: 222px; padding-left: 70px; scroll-snap-align: start; cursor: pointer; outline: none; }
.pc .n { position: absolute; left: -6px; bottom: -32px; font-size: 180px; font-weight: 700; letter-spacing: -.08em; line-height: 1;
  color: var(--bg); -webkit-text-stroke: 2px rgba(255, 255, 255, .55); pointer-events: none; }
.pc .ps { position: relative; flex: 0 0 148px; height: 222px; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #3a3f4b, #121318); }
.pc .ps img { width: 100%; height: 100%; object-fit: cover; }
.pc .ps .ph { position: absolute; inset: auto 6px 22px; text-align: center; font-weight: 700; font-size: 12px; line-height: 1.05; text-transform: uppercase; }
.pc .pan { width: 0; overflow: hidden; background: var(--panel); border-radius: 0 4px 4px 0; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.pc .pan > div { width: 220px; height: 100%; box-sizing: border-box; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.pc.open .pan { width: 220px; }
.pan b { font-size: 15px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pan .v { font: 500 13px var(--mono); }
.pan svg { width: 100%; height: 44px; overflow: visible; }
.pan .f { font: 400 10px var(--mono); color: var(--body); }
.pan .go { font-size: 12px; color: var(--body); }
.strip-w .fade { position: absolute; right: 0; top: 0; bottom: 34px; width: 90px; background: linear-gradient(90deg, transparent, var(--bg)); pointer-events: none; transition: opacity .2s; }

/* rows */
.lrows { margin-top: 36px; }
.lr { display: grid; grid-template-columns: 40px 52px minmax(0, 1fr) 220px 120px; gap: 20px; align-items: center;
  padding: 18px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 6px; cursor: pointer; transition: background .2s; outline: none; }
.lr:hover, .lr:focus-visible, .lr.open { background: var(--hover); }
.lr .r { font-size: 22px; font-weight: 700; }
.lr .t { width: 52px; height: 78px; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #3a3f4b, #121318); }
.lr .t img { width: 100%; height: 100%; object-fit: cover; }
.lr .nm { min-width: 0; }
.lr .nm > div:first-child { display: flex; align-items: center; gap: 10px; font-size: 18px; min-width: 0; }
.lr .nm > div:first-child span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv { font: 500 10px var(--mono); flex: 0 0 auto; }
.lr .x { font: 400 11px var(--mono); color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .25s, opacity .25s; }
.lr:hover .x, .lr:focus-visible .x, .lr.open .x { max-height: 18px; opacity: 1; margin-top: 6px; }
.lr svg { width: 220px; height: 44px; overflow: visible; }
.lr svg .l { stroke: #6f6f6f; transition: stroke .2s; }
.lr svg .a { fill: currentColor; opacity: 0; transition: opacity .2s; }
.lr:hover svg .l, .lr:focus-visible svg .l, .lr.open svg .l { stroke: currentColor; }
.lr:hover svg .a, .lr:focus-visible svg .a, .lr.open svg .a { opacity: .14; }
.lr .num { text-align: right; font: 400 16px var(--mono); color: var(--ink); }
.lr .num small { display: block; font: 500 11px var(--mono); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .25s, opacity .25s; }
.lr:hover .num small, .lr:focus-visible .num small, .lr.open .num small { max-height: 16px; opacity: 1; }
.up { color: var(--up); } .down { color: var(--down); } .new { color: var(--new); } .re { color: var(--re); }
.ldet { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; padding: 12px 10px 22px 98px; background: var(--hover); border-radius: 0 0 6px 6px; margin-top: -1px; }
.ldet .lab { font: 400 11px var(--mono); color: var(--muted); margin-bottom: 8px; }
.ldet svg { width: 100%; height: 110px; overflow: visible; }
.ldet .sts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.ldet .stt { display: grid; gap: 3px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.ldet .stt.wide { grid-column: 1 / -1; }
.ldet .stt span { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ldet .stt b { font: 600 22px/1.15 var(--sans); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ldet .stt small { font-size: 12px; color: var(--body); }
.ldet .fh { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: 13px; color: var(--ink); transition: border-color .2s; }
.ldet .fh:hover, .ldet .fh:focus-visible { border-color: rgba(255, 255, 255, .55); outline: none; }
.lnote { margin-top: 24px; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .lr { grid-template-columns: 26px 40px minmax(0, 1fr) 84px; gap: 12px; padding: 14px 8px; }
  .lr .t { width: 40px; height: 60px; } .lr .r { font-size: 18px; } .lr .nm > div:first-child { font-size: 16px; }
  .lr .g { display: none; }
  .ldet { grid-template-columns: 1fr; padding-left: 10px; }
}

/* drag-to-read charts */
.ch { position: relative; touch-action: pan-y; cursor: crosshair; }
.ch svg { display: block; }
.ch.big svg { height: 110px; }
.ch .sg, .ch .sd, .ch .st { position: absolute; opacity: 0; pointer-events: none; transition: opacity .12s; }
.ch.on .sg, .ch.on .sd, .ch.on .st { opacity: 1; }
.ch .sg { top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .35); }
.ch .sd { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--bg); }
.ch .st { bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; background: #2a2d35; border-radius: 6px; padding: 4px 8px;
  font: 400 11px var(--mono); color: var(--body); display: flex; gap: 8px; z-index: 5; }
.ch .st b { color: var(--ink); font-weight: 500; }
.axis { position: relative; padding-left: 52px; }
.axis .yt, .axis .y0 { position: absolute; left: 0; width: 44px; text-align: right; font: 400 10px var(--mono); color: var(--muted); }
.axis .yt { top: -2px; } .axis .y0 { bottom: -2px; }
.axis::before { content: ""; position: absolute; left: 52px; right: 0; top: 4px; border-top: 1px dashed rgba(255, 255, 255, .08); }
.xt { display: flex; justify-content: space-between; padding-left: 52px; margin-top: 6px; font: 400 10px var(--mono); color: var(--muted); }
.ldet .lab { margin-bottom: 26px; }

/* landing + category: topic banners */
.home-h { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.02em; text-wrap: balance; }
.home-t { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.lhd:has(.home-t) { align-items: flex-end; }
.home-t h1 { flex: none; }
.eyebrow { margin: 0; font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bans { display: grid; gap: 12px; margin-top: 28px; }
.ban { position: relative; display: block; height: 210px; border-radius: 10px; overflow: hidden; background: var(--panel); isolation: isolate; outline: none; }
.ban .mont { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ban .mtr { display: flex; height: 100%; width: max-content; animation: mont var(--dur, 30s) linear infinite; animation-play-state: paused; }
.ban:hover .mtr, .ban:focus-visible .mtr { animation-play-state: running; }
@keyframes mont { to { transform: translateX(-50%); } }
.ban .mont span { flex: 0 0 auto; height: 100%; aspect-ratio: 2 / 3; overflow: hidden; }
.ban .mont img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.62); transition: filter .4s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.ban::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 18%, rgba(8, 9, 11, .82) 42%, rgba(8, 9, 11, .15) 100%); }
.ban:hover .mont img, .ban:focus-visible .mont img { filter: saturate(1) brightness(.8); }
.ban:focus-visible { box-shadow: 0 0 0 2px var(--blue); }
.ban-t { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 24px; max-width: 60%; }
.ban-t h2 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.ban-1 { font-size: 13px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ban-1 span { font-family: var(--mono); color: var(--muted); margin-right: 4px; }
.ban-n { font: 400 12px var(--mono); color: var(--muted); }
.ban:hover .ban-n { color: var(--ink); }
.ban.hero { height: 170px; margin-top: 4px; }
.ban.hero h1 { font-size: clamp(30px, 4.6vw, 42px); font-weight: 600; letter-spacing: -.03em; }
.cat-bar { margin-top: 18px; }
.cat-bar .lsub { margin: 0; flex: 1; }
.clists { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.cl { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: var(--panel); border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .2s, transform .2s; }
.cl:hover, .cl:focus-visible { border-color: rgba(255, 255, 255, .22); outline: none; }
.cl-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; height: 170px; background: var(--bg); }
.cl-p { position: relative; overflow: hidden; background: linear-gradient(160deg, #3a3f4b, #121318); }
.cl-p img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.8); transition: filter .3s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.cl:hover .cl-p img { filter: none; }
.cl-m { min-width: 0; padding: 16px 16px 18px; }
.home-cards { margin-top: 28px; }
.cl-m b { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.cl-m > span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-m i { font: normal 400 12px var(--mono); color: var(--muted); opacity: .7; }
.cl-m em { font-style: normal; margin: 0 7px; opacity: .5; }
.cl-go { font-size: 18px; font-weight: 400; color: var(--muted); transition: transform .2s, color .2s; }
.cl:hover .cl-go { color: var(--ink); transform: translateX(3px); }
@media (max-width: 640px) {
  .ban { height: 160px; } .ban-t { max-width: 78%; padding: 0 16px; } .ban-t h2 { font-size: 21px; }
  .ban.hero { height: 140px; }
  .cl-col { height: 150px; }
}
@media (prefers-reduced-motion: reduce) { .ban .mtr { animation: none; } .ban .mont img, .cl-go, .pc .pan { transition: none; } }

/* What's trending on Forum */
.trend { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.tr { border-radius: 12px; background: var(--panel); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; transition: border-color .2s; }
.tr-row, .tr.empty { display: grid; grid-template-columns: 64px 96px minmax(0, 1fr) 40px; gap: 22px; align-items: center; padding: 16px 20px; }
.tr-row { cursor: pointer; outline: none; }
.tr:has(.tr-row:hover), .tr:has(.tr-row:focus-visible), .tr.open { border-color: rgba(255, 255, 255, .2); }
.tr.empty { background: transparent; border: 1px dashed rgba(255, 255, 255, .12); }
.tr.empty .tr-p { background: rgba(255, 255, 255, .03); }
.tr-n { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.06em; color: var(--bg); -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); text-align: center; }
.tr.empty .tr-n { -webkit-text-stroke-color: rgba(255, 255, 255, .18); }
.tr-p { width: 96px; height: 144px; border-radius: 6px; overflow: hidden; background: linear-gradient(160deg, #3a3f4b, #121318); display: grid; place-items: center; }
.tr-p img { width: 100%; height: 100%; object-fit: cover; }
.tr-ph { font-size: 44px; font-weight: 700; color: rgba(255, 255, 255, .5); }
.tr-m { min-width: 0; display: grid; gap: 6px; }
.tr-m h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.tr-m p { font-size: 15px; color: var(--body); max-width: 60ch; }
.tr-go { justify-self: start; margin-top: 4px; font: 400 12px var(--mono); color: var(--muted); }
.tr-go:hover, .tr-go:focus-visible { color: var(--ink); }
.tr-tg { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: transparent;
  cursor: pointer; justify-self: end; transition: border-color .2s, background .2s, transform .25s; }
.tr-tg span::before, .tr-tg span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.tr-tg span::after { transform: translate(-50%, -50%) rotate(90deg); }
.tr-tg:hover, .tr-tg:focus-visible { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); outline: none; }
.tr.open .tr-tg { transform: rotate(45deg); border-color: rgba(255, 255, 255, .5); }
/* case study */
.cs { display: grid; gap: 18px; padding: 2px 24px 20px 24px; border-top: 1px solid rgba(255, 255, 255, .06); margin: 0 4px; padding-top: 20px; }
.cs-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.cs-fig { margin: 0; padding: 14px 16px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); display: grid; gap: 8px; min-width: 0; }
.cs-fig figcaption, .cs-note { font: 400 11px var(--mono); color: var(--muted); letter-spacing: .02em; }
.cs-note { font-size: 10px; }
.cs-chart { position: relative; }
.cs-chart svg { display: block; width: 100%; height: 190px; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.cs-chart .col { fill: rgba(255, 255, 255, .22); }
.cs-chart .hot { fill: #5aa9ff; }
.cs-chart .na { fill: none; stroke: rgba(255, 255, 255, .3); stroke-dasharray: 2 2; }
.cs-chart .base { stroke: rgba(255, 255, 255, .12); }
.cs-chart .labs { position: absolute; left: 0; right: 0; top: 0; height: 190px; pointer-events: none; }
.cl-lab { position: absolute; transform: translate(-50%, calc(-100% - 6px)); display: grid; justify-items: center; font: 400 10px var(--mono); color: var(--body); white-space: nowrap; line-height: 1.3; }
.cl-lab.r { transform: translate(calc(-100% + 8px), calc(-100% - 6px)); justify-items: end; }
.cl-lab.l { transform: translate(-8px, calc(-100% - 6px)); justify-items: start; }
.cl-lab b { font: 600 13px var(--sans); color: var(--ink); }
.cl-lab.na { transform: translate(calc(-100% - 2px), calc(-100% + 8px)); justify-items: end; }
.cs-x { display: flex; justify-content: space-between; font: 400 10px var(--mono); color: var(--muted); margin-top: 4px; }
.cs-chart .g { position: absolute; top: 0; bottom: 18px; width: 1px; background: rgba(255, 255, 255, .4); opacity: 0; pointer-events: none; }
.cs-chart .tip { position: absolute; top: 18px; transform: translateX(-50%); padding: 5px 8px; border-radius: 6px; background: #1d2027; border: 1px solid rgba(255, 255, 255, .15);
  display: grid; font: 400 11px var(--mono); color: var(--body); white-space: nowrap; opacity: 0; pointer-events: none; }
.cs-chart .tip b { font: 600 13px var(--sans); color: var(--ink); }
.cs-chart.on .g, .cs-chart.on .tip { opacity: 1; }
.cs-bars { display: flex; gap: 22px; align-items: flex-end; height: 190px; padding: 0 6px; }
.cs-bars .bar { flex: 1; max-width: 120px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.cs-bars .bar i { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(#5aa9ff, rgba(90, 169, 255, .25)); min-height: 4px; }
.cs-bars b { font: 600 15px var(--sans); color: var(--ink); }
.cs-bars span { font: 400 11px var(--mono); color: var(--muted); }
.cs-stats { display: grid; gap: 8px; grid-auto-rows: 1fr; }
.cs-stats div { display: grid; align-content: center; gap: 2px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.cs-stats b { font: 700 26px/1.1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.cs-stats span { font-size: 12px; color: var(--body); line-height: 1.35; }
.cs-pts { list-style: none; padding: 0; display: grid; gap: 8px; }
.cs-pts li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 75ch; }
.cs-pts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: #5aa9ff; }
.cs-ex { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cs-ex li { display: grid; gap: 5px; align-content: start; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.cs-ex .src { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5aa9ff; }
.cs-ex p { font-size: 13px; line-height: 1.45; color: var(--body); }
.cs-ex a, .cs-src a { font-size: 12px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cs-src { font-size: 11px; color: var(--muted); line-height: 1.7; min-width: 0; }
@media (max-width: 640px) {
  .tr-row, .tr.empty { grid-template-columns: 36px 64px minmax(0, 1fr) 36px; gap: 12px; padding: 12px; }
  .tr-n { font-size: 40px; } .tr-p { width: 64px; height: 96px; } .tr-m h2 { font-size: 19px; }
  .cs { padding: 16px 12px 16px; margin: 0; } .cs-top { grid-template-columns: 1fr; } .cs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .cs-stats b { font-size: 20px; } .cs-ex { grid-template-columns: 1fr; } .cl-lab.na { display: none; }
}
.cs[hidden] { display: none; }
@media (max-width: 640px) {
  .strip { gap: 4px; padding-bottom: 24px; } .strip-w .fade { bottom: 24px; width: 48px; }
  .pc { height: 168px; padding-left: 44px; } .pc .ps { flex-basis: 112px; height: 168px; }
  .pc .n { font-size: 128px; left: -4px; bottom: -22px; -webkit-text-stroke-width: 1.5px; }
}

/* ---- category page: sections with top 3 + live chart, hover cards, week rail ---- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --gold: #f5b84a; }
.lw.wide { max-width: 1240px; }
.cat-hd { margin-bottom: 28px; }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.sx-list { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sx { background: var(--panel); border-radius: 14px; padding: 18px 20px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.sx-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sx-h a { display: flex; align-items: baseline; gap: 12px; }
.sx-h h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.sx-go { font-size: 13px; color: var(--muted); transition: color .15s; }
.sx-go span { display: inline-block; transition: transform .2s var(--ease-out); }
.sx-h a:hover .sx-go, .sx-h a:focus-visible .sx-go { color: var(--ink); }
.sx-h a:hover .sx-go span { transform: translateX(3px); }
.sx-m { font: 400 12px var(--mono); color: var(--muted); }
.sx-b { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.sx-t { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tl { cursor: pointer; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: 10px; outline-offset: 4px; }
.tl-p { position: relative; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--panel-2); max-width: 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .2s var(--ease-out), box-shadow .2s; }
.tl-p img { width: 100%; height: 100%; object-fit: cover; }
.tl:hover .tl-p, .tl:focus-visible .tl-p, .tl[aria-expanded="true"] .tl-p { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 12px 28px rgba(0, 0, 0, .5); }
.tl-r { position: absolute; left: 8px; top: 8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  font: 600 12px var(--mono); color: #fff; background: rgba(8, 9, 11, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.tl-m { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl-m b { font-size: 14px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-v { display: flex; align-items: center; gap: 6px; font: 500 13px var(--mono); color: var(--ink); }
.tl-v i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.tl-v small { font: 400 11px var(--sans); color: var(--muted); }
.tl-c { font: 500 12px var(--mono); }
.tl-c.up { color: var(--up); } .tl-c.down { color: var(--down); } .tl-c.new { color: #5aa9ff; }
.sx-c { display: flex; flex-direction: column; min-width: 0; border-radius: 10px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 0 0; }
.sx-cl { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 14px; }
.sx-c .ll { height: 210px; margin-top: auto; overflow: hidden; }
.ll { position: relative; overflow: hidden; }

/* hover card */
.hc { position: absolute; z-index: 50; width: 380px; max-width: calc(100vw - 24px); background: #15181e; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px rgba(0, 0, 0, .6); display: grid; grid-template-columns: 120px minmax(0, 1fr);
  opacity: 0; transform: scale(.96); transform-origin: 50% 20%; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
.hc.in { opacity: 1; transform: none; }
.hc-p { position: relative; background: var(--panel-2); align-self: start; aspect-ratio: 2 / 3; }
.hc-p img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hc-r { position: absolute; left: 8px; top: 8px; font: 600 12px var(--mono); color: #fff; background: rgba(8, 9, 11, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 8px; }
.hc-b { position: relative; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hc-x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.hc-x:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.hc h3 { padding-right: 24px; font-size: 17px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.hc-f { font-size: 12px; color: var(--muted); margin-top: -6px; text-transform: capitalize; }
.hc-n { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.hc-n b { display: block; font: 600 20px var(--mono); letter-spacing: -.02em; }
.hc-n span { font-size: 11px; color: var(--muted); }
.hc-n .tl-c { font-size: 11px; }
.hc-ll { height: 80px; margin: 0 -8px; }
.hc-cr { display: flex; gap: 8px; }
.cr { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 6px 8px; }
.cr b { font: 600 14px var(--mono); color: var(--ink); }
.hc-pp { list-style: none; padding: 0; display: grid; gap: 8px; }
.hc-pp li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hc-pp img, .hc-pp i { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; }
.hc-pp div { min-width: 0; } .hc-pp b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-pp span { font-size: 11px; color: var(--muted); }
.hc-go { font-size: 13px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }

/* rail */
.rail { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.rc { background: var(--panel); border-radius: 14px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.rc-l { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rc-big { display: flex; align-items: baseline; gap: 10px; } .rc-big b { font: 600 32px var(--mono); letter-spacing: -.03em; }
.rc-s { font-size: 12px; line-height: 1.45; color: var(--muted); }
.rc-ll { height: 90px; margin: 0 -10px; }
.rc-bars { list-style: none; padding: 0; display: grid; gap: 10px; }
.rc-bars li { display: grid; gap: 5px; }
.rc-bars a { display: flex; justify-content: space-between; font-size: 13px; color: var(--body); }
.rc-bars a:hover { color: var(--ink); }
.rc-bars b { font: 500 12px var(--mono); color: var(--ink); }
.rc-bars i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
.rc-row { display: flex; align-items: center; gap: 10px; min-width: 0; border-radius: 8px; }
.rc-row:hover b { color: #5aa9ff; }
.rc-t { width: 32px; height: 48px; border-radius: 4px; overflow: hidden; background: var(--panel-2); flex: none; }
.rc-t img { width: 100%; height: 100%; object-fit: cover; }
.rc-row div { min-width: 0; } .rc-row b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.rc-row span { font-size: 12px; color: var(--muted); }
.rc-row em, .rc em { font-style: normal; font-family: var(--mono); }
.rc em.up { color: var(--up); } .rc em.down { color: var(--down); }
@media (max-width: 1040px) { .cat-grid { grid-template-columns: minmax(0, 1fr); } .rail { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 720px) { .sx-b { grid-template-columns: minmax(0, 1fr); } .sx { padding: 14px; } .sx-c .ll { height: 170px; } .hc { display: none; } }
@media (prefers-reduced-motion: reduce) { .hc, .tl-p, .sx-go span { transition: none; } }
.sx-c .ll > div:first-child:not(:last-child) { display: none !important; }   /* Liveline sets the series toggle inline; the tiles already say which line is which */

/* ---- list page: column header, detail panel with live chart, critics and people ---- */
.lr.lr-h { cursor: default; padding-block: 0 10px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: none !important; border-bottom: 1px solid var(--line); }
.lr.lr-h .num, .lr.lr-h .g { font: inherit; text-align: right; }
.lr.lr-h .g { text-align: left; }
.ldet { display: flex; flex-direction: column; gap: 22px; padding: 18px 18px 22px; grid-template-columns: none; }
.ldet .dg { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.ldet .dch { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 6px 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); }
.ldet .dch-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-right: 10px; }
.ldet .dv { display: grid; gap: 2px; } .ldet .dv .lab { margin: 0; }
.ldet .dv b { font: 600 28px/1.1 var(--mono); letter-spacing: -.03em; color: var(--ink); }
.ldet .dv small { font-size: 12px; color: var(--muted); }
.rng { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.rng button { font: 500 12px var(--mono); padding: 6px 11px; border-radius: 999px; color: var(--muted); transition: background .15s, color .15s; }
.rng button:hover { color: var(--ink); }
.rng button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--ink); }
.ldet .dll { height: 260px; }
.ldet .dnote { font-size: 11px; color: var(--muted); padding-right: 10px; }
/* title facts: a plain two-column spec sheet, hairlines only, no boxes or accent colors */
.ldet .sts { grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ldet .stt { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 12px 0; }
.ldet .stt.wide { grid-column: auto; }
.ldet .stt b { font-size: 20px; font-weight: 500; }
.ldet .stt small { color: var(--muted); }
.pp { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; transition: background .15s; }
a.pp:hover { background: rgba(255, 255, 255, .06); }
.pp img, .pp i { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--panel-2); }
.pp div { display: grid; gap: 1px; min-width: 0; }
.pp b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp span { font-size: 11px; color: var(--muted); }
.pp .pv { font-family: var(--mono); color: var(--body); }
.pp em { font-style: normal; } .pp em.up { color: var(--up); } .pp em.down { color: var(--down); }
@media (max-width: 760px) { .ldet { padding: 12px 8px 18px; } .ldet .dg { grid-template-columns: minmax(0, 1fr); } .ldet .dll { height: 200px; } .lr.lr-h .g { display: none; } }

/* flat frame: no nested boxes or cards; sections and rail blocks split by single hairlines, sentence-case labels */
.sx-c, .ldet .dch { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.sx-cl, .rc-l, .ldet .stt span, .ldet .lab { font: 400 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.sx-cl { padding: 0; }
.rng { background: none; padding: 0; gap: 4px; }
.rng button { border-radius: 6px; padding: 4px 8px; }
.sx-m { font: 400 12px var(--sans); }
.sx, .rc { background: none; box-shadow: none; border-radius: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.rail { gap: 0; } .rc { padding-bottom: 22px; }
.ldet { background: none; }
.tl-p { box-shadow: none; border-radius: 4px; }

/* category sections: the top 3 posters across the full column */
.sx-b { grid-template-columns: minmax(0, 1fr); }
.sx-t { gap: 20px; }
/* rail grows a little on wide screens */
.cat-grid { grid-template-columns: minmax(0, 1fr) clamp(320px, 26vw, 420px); }
.rc-big b { font-size: clamp(32px, 2.6vw, 40px); }
.rc-ll { height: clamp(90px, 9vw, 130px); }

/* title detail, people: side by side, flat like the rest of the panel */
.pps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.pps .pp { background: none; box-shadow: none; border-radius: 0; padding: 12px 0; border-top: 1px solid var(--line); }
a.pp:hover { background: none; } a.pp:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
@media (max-width: 760px) { .pps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ppl .lab { margin-bottom: 4px; }

/* section facts: in the pinned rail on wide screens, under each section on narrow ones */
.rc-fx { transition: opacity .14s var(--ease-out); } .rc-fx.out { opacity: 0; }
.fx { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fx li { display: grid; gap: 2px; }
.fx b { font: 500 20px/1.2 var(--mono); letter-spacing: -.02em; color: var(--ink); }
.fx span { font-size: 13px; line-height: 1.45; color: var(--body); }
.sx-fx { display: none; }
@media (max-width: 1040px) {
  .rc-fx { display: none; }
  .sx-fx { display: block; margin-top: 18px; }
  .sx-fx .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) { .rc-fx { transition: none; } }

/* the rail runs the full height of the sections: the summary scrolls away, the facts carry on below it and stay pinned */
.cat-grid { align-items: stretch; }
.rail { position: static; }
.rc-fx { position: sticky; top: 20px; border-top: 0; padding-top: 4px; }
.rc-fx:empty { display: none; }

/* rail summary: switch between the whole category and its biggest lists */
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-chips button { font: 400 12px var(--sans); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.rc-chips button:hover { color: var(--ink); border-color: rgba(255, 255, 255, .22); }
.rc-chips button[aria-selected=true] { color: #0b0c0f; background: var(--ink); border-color: var(--ink); }
.rc-chips button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rc.peek .rc-big b, .rc.peek .rc-s { opacity: .85; }
.rc-bars li { cursor: default; } .rc-bars li:hover i, .rc-bars li.on i { background: rgba(255, 255, 255, .6); }
.rc-bars li:hover a, .rc-bars li.on a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .rc-chips button { transition: none; } }

/* responsive: last in the file so the narrow-screen rules win over the wide-screen ones above */
@media (max-width: 1040px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rail { order: -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .rail { display: contents; }                /* summary above the sections, "Biggest lists" after them */
  .rail > .rc:first-child { order: -1; }
  .rail > .rc + .rc { order: 1; }
  .tl-v small { display: none; }
  .eyebrow { line-height: 1.6; }
  .tl-m b { font-size: 13px; }
  .sx { padding: 18px 0 0; }
  .sx-t { gap: 12px; }
}
/* phones: the menu moves to its own row under the logo instead of disappearing (same rule on the games hub) */
@media (max-width: 700px) {
  .nav-in { flex-wrap: wrap; row-gap: 12px; }
  .nav-l { display: contents; }
  .links { display: flex; order: 3; flex: 1 0 100%; gap: 22px; font-size: 14px; }
}

/* ---- list page v2: period in the title, topic chips, rank movement by the rank, related lists, square music covers ---- */
.lhd h1 { flex: 1 1 auto; text-wrap: balance; }
.per { position: relative; display: inline-flex; align-items: baseline; gap: .2em; white-space: nowrap; color: var(--ink);
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.per::after { content: ""; width: .32em; height: .32em; margin-left: .12em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.32em) rotate(45deg); opacity: .7; }
.per:hover, .per:focus-within { text-decoration-color: rgba(255, 255, 255, .7); }
.per select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; appearance: none; }
.per select option { background: #1a1d24; color: var(--ink); }
.per:has(select:focus-visible) { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.geo { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--muted); align-self: center; }
.lchips { display: flex; gap: 6px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.lchips::-webkit-scrollbar { display: none; }
.lchips a { flex: 0 0 auto; padding: 6px 13px; border-radius: 999px; font-size: 13px; color: var(--body); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: box-shadow .2s, color .2s; }
.lchips a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.lchips a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; font-weight: 500; }
.lr .r { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1; }
.lr .r .mv { font: 500 10px var(--mono); }
.lrel { margin-top: 48px; }
.lrel h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.rel-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 16px; }
.rel-g a { display: grid; gap: 4px; min-width: 0; }
.rel-p { aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: linear-gradient(160deg, #3a3f4b, #121318); margin-bottom: 6px; position: relative; }
.rel-p img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease-out, ease); }
.rel-p .ph { position: absolute; inset: auto 6px 14px; text-align: center; font-weight: 700; font-size: 11px; text-transform: uppercase; }
.rel-g a:hover img { transform: scale(1.04); }
.rel-g b { font-size: 14px; font-weight: 500; }
.rel-g span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq .rel-p { aspect-ratio: 1; }
/* music: square covers with a record sliding out of the sleeve */
.sq .pc { --s: 200px; height: var(--s); padding-right: calc(var(--s) * .36); transition: padding-right .35s cubic-bezier(.2, .8, .2, 1); }
.sq .pc.open { padding-right: 0; }
.sq .pc .ps { flex-basis: var(--s); height: var(--s); z-index: 1; box-shadow: 4px 0 12px rgba(0, 0, 0, .45); }
.sq .pc .pan { position: relative; z-index: 1; }
.sq .vin { position: absolute; top: 4%; left: calc(70px + var(--s) * .4); height: 92%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #d8d8d8 0 5%, #111 5.5% 16%, #2b2b2b 16.5% 17.5%, transparent 18%),
    repeating-radial-gradient(circle, #0d0d0d 0 2px, #1a1a1a 2px 3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.sq .pc.open .vin { transform: translateX(calc(var(--s) * -.36)); }
.sq .lr .t { height: 52px; }
@media (max-width: 640px) {
  .sq .pc { --s: 150px; padding-left: 44px; } .sq .vin { left: calc(44px + var(--s) * .4); }
  .sq .lr .t { height: 40px; }
  .rel-g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .sq .pc, .sq .vin, .rel-p img { transition: none; } }
.ban.sq .mont span { aspect-ratio: 1; }
@media (max-width: 640px) { .geo { display: none; } }   /* the line under the title already says US */
.lr .num small.vw { color: var(--muted); font-weight: 400; }
