/* wattbugs: warm paper and battery yellow (black and white under
   ?palette=mono), hairline structure, mono for data. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --fg: #0a0a0a;
  --fg-2: #404040;
  --muted: #737373;
  --faint: #a3a3a3;
  --line: #e5e5e5;
  --line-strong: #d4d4d4;
  --grid: rgb(0 0 0 / 6%);
  --invert-bg: #0a0a0a;
  --invert-fg: #ffffff;
  --radius: 6px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --frame: 72rem;
  --pad: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --fg: #fafafa;
    --fg-2: #d4d4d4;
    --muted: #a3a3a3;
    --faint: #737373;
    --line: #262626;
    --line-strong: #404040;
    --grid: rgb(255 255 255 / 7%);
    --invert-bg: #fafafa;
    --invert-fg: #0a0a0a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.mono { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0; }
.label { margin: 0 0 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); font-size: 0.75rem; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Frame: a centered column with hairline rails. Each section has a top
   hairline, and a dot marks where it meets each rail. */
.frame {
  position: relative;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.sec { border-top: 1px solid var(--line); padding-top: 3.5rem; padding-bottom: 3.5rem; }
.sec::before, .sec::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 5px;
  height: 5px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.sec::before { left: -3px; }
.sec::after { right: -3px; }
main > .sec:first-child { border-top: 0; }
main > .sec:first-child::before, main > .sec:first-child::after { display: none; }
@media (max-width: 640px) {
  :root { --pad: 1.25rem; }
  .frame { border-left: 0; border-right: 0; }
  .sec::before, .sec::after { display: none; }
  .sec { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: block; color: var(--fg); border-radius: 11px; }
.brand:focus-visible { outline: 2px solid var(--mark-tile); outline-offset: 3px; }
/* The dot logo (src/pixel.rs). app.js colors each dot with a data-c code
   and folds the header copy into the tile once the page scrolls. */
.mark { display: block; overflow: visible; }
.top .mark { pointer-events: none; }
.brand.small .mark { width: auto; height: 28px; }
.mark rect { fill: var(--fg); transform-box: fill-box; transform-origin: center; }
.mark rect[data-c="g"] { fill: var(--mark-full); }
.mark rect[data-c="y"] { fill: var(--mark-mid); }
.mark rect[data-c="r"] { fill: var(--mark-low); }
.mark rect[data-c="o"] { fill: var(--mark-empty); }
.mark rect[data-c="t"] { fill: var(--mark-tile-ink); }
.mark .tile { fill: var(--mark-tile); opacity: 0; transform-origin: 0 20px; }
@media (max-width: 480px) {
  .top .topbar nav { gap: 1rem; }
}

.top nav, .foot nav { display: flex; gap: 1.5rem; }
.top nav a, .foot nav a { color: var(--muted); text-decoration: none; font-size: 0.875rem; }
.top nav a:hover, .foot nav a:hover { color: var(--fg); }

/* Buttons */
.btn, .buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--invert-bg);
  background: var(--invert-bg);
  color: var(--invert-fg);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s, background 0.15s;
}
.btn:hover, .buy:hover { opacity: 0.85; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { opacity: 1; background: var(--bg-2); }
.buy::after { content: "↗"; margin-left: 0.4rem; font-size: 0.85em; }

/* Hero: a fading grid, lighter behind the text and stronger behind the spec card. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.pill {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-2);
  background: var(--bg);
  font-size: 0.75rem;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); text-wrap: balance; }
.hero h1 .h1-2 { display: block; color: var(--muted); }
.lede { margin: 1rem 0 0; color: var(--muted); font-size: 1.125rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* The grid backdrop: a radial mask of the background color fades it out. */
main > .hero:first-child {
  background-image:
    radial-gradient(ellipse 60% 70% at 78% 50%, transparent 0%, var(--bg) 75%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
  background-position: center, -1px -1px, -1px -1px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  main > .hero:first-child {
    background-image:
      radial-gradient(ellipse 90% 45% at 50% 78%, transparent 0%, var(--bg) 80%),
      linear-gradient(var(--grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  }
}

/* The hero shootout: an isometric bench drawn in SVG (src/shootout.rs). */
:root {
  --sh-board: #fbfbfb; --sh-edge-l: #e2e2e2; --sh-edge-r: #d2d2d2; --sh-grid: #ececec;
  --sh-plus: #0a0a0a; --sh-minus: #8f8f8f; --sh-current: #ffffff;
  --sh-cell: #1d1d1d; --sh-hi: #343434; --sh-cap: #474747; --sh-nub: #a3a3a3; --sh-letter: #ffffff;
  --sh-seg: #343434; --sh-seg-on: #f2f2f2;
  --mark-full: #404040; --mark-mid: #737373; --mark-low: #a3a3a3; --mark-empty: #d4d4d4; --mark-tile: #0a0a0a; --mark-tile-ink: #ffffff;
  --sh-box-t: #ededed; --sh-box-l: #d9d9d9; --sh-box-r: #c9c9c9; --sh-base: #a3a3a3; --sh-thread: #6b6b6b;
  --sh-glass: rgb(0 0 0 / 3%); --sh-glass-edge: #a3a3a3; --sh-glass-lit: #ffffff; --sh-fil: #a3a3a3; --sh-fil-lit: #0a0a0a;
  --sh-glow: rgb(0 0 0 / 16%); --sh-ray: #0a0a0a; --sh-lcd: #cfd0cc; --sh-ink: #1a1b19;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sh-board: #141414; --sh-edge-l: #0f0f0f; --sh-edge-r: #0b0b0b; --sh-grid: #212121;
    --sh-plus: #e8e8e8; --sh-minus: #5f5f5f; --sh-current: #0a0a0a;
    --sh-cell: #2b2b2b; --sh-hi: #3b3b3b; --sh-cap: #4a4a4a; --sh-nub: #8a8a8a;
    --sh-seg: #3b3b3b; --sh-seg-on: #fafafa;
    --mark-full: #d4d4d4; --mark-mid: #a3a3a3; --mark-low: #737373; --mark-empty: #333333; --mark-tile: #fafafa; --mark-tile-ink: #0a0a0a;
    --sh-box-t: #2a2a2a; --sh-box-l: #1f1f1f; --sh-box-r: #181818; --sh-base: #6b6b6b; --sh-thread: #3a3a3a;
    --sh-glass: rgb(255 255 255 / 5%); --sh-glass-edge: #555555; --sh-glass-lit: #ffffff; --sh-fil: #555555; --sh-fil-lit: #ffffff;
    --sh-glow: rgb(255 255 255 / 55%); --sh-ray: #ffffff; --sh-lcd: #b4b5b1;
  }
}
.shootout { margin: 0; min-width: 0; }
.shootout wb-shootout { display: block; }
.shootout-scene { display: block; width: 100%; height: auto; overflow: visible; }
.shootout figcaption { margin-top: 0.5rem; text-align: center; color: var(--faint); font-size: 0.6875rem; }
.sh-board { fill: var(--sh-board); }
.sh-edge-l { fill: var(--sh-edge-l); }
.sh-edge-r { fill: var(--sh-edge-r); }
.sh-grid path { fill: none; stroke: var(--sh-grid); stroke-width: 1; }
.sh-wire { fill: none; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.sh-wire.plus { stroke: var(--sh-plus); }
.sh-wire.minus { stroke: var(--sh-minus); }
.sh-current { fill: none; stroke: var(--sh-current); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; opacity: 0; transition: opacity 0.3s; }
.sh-lane.flow .sh-current { opacity: 0.9; }
.sh-body { fill: var(--sh-cell); }
.sh-hi { fill: var(--sh-hi); }
.sh-cap { fill: var(--sh-cap); }
.sh-nub { fill: var(--sh-nub); }
.sh-letter { fill: var(--sh-letter); }
.sh-seg { fill: var(--sh-seg); }
.sh-seg.on { fill: var(--sh-seg-on); }
.sh-box-t { fill: var(--sh-box-t); }
.sh-box-l { fill: var(--sh-box-l); }
.sh-box-r { fill: var(--sh-box-r); }
.sh-base { fill: var(--sh-base); }
.sh-thread { fill: none; stroke: var(--sh-thread); stroke-width: 1; }
.sh-glass { fill: var(--sh-glass); stroke: var(--sh-glass-edge); stroke-width: 1.25; }
.sh-fil { fill: none; stroke: var(--sh-fil); stroke-width: 1.25; stroke-linejoin: round; }
.sh-bulb.lit .sh-glass { fill: var(--sh-glass-lit); }
.sh-bulb.lit .sh-fil { stroke: var(--sh-fil-lit); }
.sh-glow { opacity: 0; }
.sh-bulb.lit .sh-glow { opacity: 1; }
.sh-glow-0 { stop-color: var(--sh-glow); }
.sh-glow-1 { stop-color: var(--sh-glow); stop-opacity: 0.45; }
.sh-glow-2 { stop-color: var(--sh-glow); stop-opacity: 0; }
.sh-ray { stroke: var(--sh-ray); stroke-width: 1.5; stroke-linecap: round; opacity: 0; }
.sh-bulb.lit .sh-ray { opacity: 1; }
.sh-lcd { fill: var(--sh-lcd); }
.sh-ink { fill: var(--sh-ink); }

/* Warm palette, the default (<html data-palette="warm">). Battery yellow
   marks charge and light. ?palette=mono switches a browser to black and
   white, and ?palette=warm switches it back. */
html[data-palette="warm"] {
  --bg: #f3eee4; --bg-2: #ece5d7; --fg: #1d1a15; --fg-2: #3b352b; --muted: #6f675a; --faint: #9a917d;
  --line: #ded5c3; --line-strong: #cbbfa7; --grid: rgb(70 50 20 / 7%); --invert-bg: #1d1a15; --invert-fg: #f7f2e8;
  --sh-board: #f8f4ec; --sh-edge-l: #e4dbc9; --sh-edge-r: #d6cab2; --sh-grid: #e9e0cf;
  --sh-plus: #b5452e; --sh-minus: #2b2620; --sh-current: #ffd23f;
  --sh-cell: #2b2620; --sh-hi: #3d362c; --sh-cap: #e8b40f; --sh-nub: #c99a14; --sh-letter: #2b2620;
  --sh-seg: #3d362c; --sh-seg-on: #f5c518;
  --mark-full: #2c9f47; --mark-mid: #f5c518; --mark-low: #b5452e; --mark-empty: #d9cfbc; --mark-tile: #f5c518; --mark-tile-ink: #1d1a15;
  --sh-box-t: #ebe2d0; --sh-box-l: #dacdb5; --sh-box-r: #cbbc9f; --sh-base: #b9a986; --sh-thread: #8a7b5c;
  --sh-glass: rgb(255 240 200 / 30%); --sh-glass-edge: #b5a789; --sh-glass-lit: #fff4c8; --sh-fil: #b5a789; --sh-fil-lit: #c27a00;
  --sh-glow: rgb(255 198 20 / 60%); --sh-ray: #e3a400; --sh-lcd: #d8d2b6; --sh-ink: #2b2620;
}
@media (prefers-color-scheme: dark) {
  html[data-palette="warm"] {
    --bg: #14110c; --bg-2: #1b1711; --fg: #f1ebdf; --fg-2: #d6cebf; --muted: #a39985; --faint: #7a705e;
    --line: #2c261d; --line-strong: #40382b; --grid: rgb(255 220 150 / 6%); --invert-bg: #f1ebdf; --invert-fg: #14110c;
    --sh-board: #1b1711; --sh-edge-l: #120f0b; --sh-edge-r: #0e0c08; --sh-grid: #28221a;
    --sh-plus: #d4553a; --sh-minus: #6e6455; --sh-current: #ffd23f;
    --sh-cell: #2f2a22; --sh-hi: #3e372d; --sh-letter: #2b2620;
    --sh-seg: #3e372d; --sh-box-t: #2b251c; --sh-box-l: #211c15; --sh-box-r: #1a1610; --sh-base: #6e6455; --sh-thread: #40382b;
    --sh-glass: rgb(255 240 200 / 6%); --sh-glass-edge: #5c5345; --sh-fil: #5c5345; --sh-fil-lit: #fff0c0;
    --sh-glow: rgb(255 198 20 / 55%); --sh-ray: #ffc61a; --sh-lcd: #bdb79c;
    --mark-full: #34c759; --mark-low: #d4553a; --mark-empty: #322b22;
  }
}

/* What we measure: a four-cell strip under the hero. */
.measures { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.measures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.measures li { padding: 0 1.5rem; border-left: 1px solid var(--line); }
.measures li:first-child { padding-left: 0; border-left: 0; }
.measures .k { display: flex; justify-content: space-between; gap: 0.5rem; margin: 0 0 0.5rem; color: var(--fg); }
.measures .k span { color: var(--faint); }
.measures .t { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
@media (max-width: 860px) {
  .measures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 0; }
  .measures li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .measures ul { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .measures li { padding: 0; border-left: 0; }
}

/* Section heads and review cards */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.sec-head h2 { font-size: 1.5rem; }
.count { color: var(--faint); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.card:hover { border-color: var(--fg); }
.card .k { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.card h3 { margin: 0.6rem 0 0.4rem; font-size: 1.125rem; }
.card .sum { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; flex: 1; }
.foot-meta { display: flex; justify-content: space-between; align-items: center; margin: 1.25rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--muted); }
.empty { padding: 2.5rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty p { margin: 0.25rem 0; }

.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6rem;
  padding: 0.05rem 0.45rem;
  border: 1px dashed var(--muted);
  border-radius: 4px;
  color: var(--muted);
  font: 500 0.6875rem/1.5 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card .badge { margin-left: 0; }

/* Rating meter: five segments, filled by --f. */
.rating { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--fg); }
.meter { display: inline-flex; gap: 2px; }
.meter i { width: 10px; height: 10px; background: linear-gradient(90deg, var(--fg) calc(var(--f) * 100%), var(--line-strong) 0); }

/* Review and page heads */
.page-head { padding-top: 4rem; padding-bottom: 3rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); max-width: 48rem; }
.crumbs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.5rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 4rem; align-items: start; }
.glance {
  position: sticky;
  top: 5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.glance dl { margin: 0 0 1.25rem; display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1rem; font-size: 0.875rem; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; text-align: right; }
.glance .rating { justify-content: flex-end; }
.glance .buy { width: 100%; }
.fine { margin: 0.5rem 0 0; text-align: center; color: var(--faint); font-size: 0.75rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .glance { position: static; order: -1; }
}

/* Long-form text */
.prose { min-width: 0; max-width: 44rem; font-size: 1.0625rem; color: var(--fg-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 3rem 0 1rem; font-size: 1.375rem; color: var(--fg); }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.125rem; color: var(--fg); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose strong { color: var(--fg); }
.callout { padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-left: 2px solid var(--fg); border-radius: 0 var(--radius) var(--radius) 0; background: var(--bg-2); font-size: 0.9375rem; }

/* Charts */
.chart, wb-sortable, wb-video { display: block; margin: 1.5rem 0 2rem; }
.chart { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.chart figcaption { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 1rem; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); }
.chart .axis { stroke: var(--line-strong); }
.chart .tick, .chart .value { fill: var(--muted); font: 12px var(--mono); }
.chart .label { fill: var(--fg-2); font: 12px var(--mono); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s1 { stroke: var(--fg); }
.chart .line.s2 { stroke: var(--muted); }
.chart .line.s3 { stroke: var(--fg); stroke-dasharray: 6 4; }
.chart .line.s4 { stroke: var(--faint); }
.chart .line.s5 { stroke: var(--muted); stroke-dasharray: 6 4; }
.chart .line.s6 { stroke: var(--fg); stroke-dasharray: 1 4; }
.chart .bar { fill: var(--fg); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.8125rem; color: var(--fg-2); }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.chart svg.swatch { display: inline-block; flex: none; width: 24px; height: 6px; overflow: visible; }
.chart details { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.8125rem; }
.chart summary { cursor: pointer; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.chart summary:hover { color: var(--fg); }
.chart details wb-sortable { margin: 0.75rem 0 0; }
@media (max-width: 640px) {
  /* The SVG shrinks to about half size on a phone, so draw its text bigger. */
  .chart { padding: 1rem; }
  .chart .tick, .chart .value, .chart .label { font-size: 17px; }
}
@media (max-width: 480px) {
  .chart .tick, .chart .value, .chart .label { font-size: 22px; }
}

/* Tables */
wb-sortable { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.chart wb-sortable { border: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
caption { text-align: left; padding: 0.85rem 1rem; font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 0.65rem 1rem; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
th { font-weight: 500; color: var(--muted); background: var(--bg-2); font-size: 0.8125rem; }
td.num, th.num { text-align: right; font-family: var(--mono); font-size: 0.8125rem; }
tbody tr:hover td { background: var(--bg-2); }
th[aria-sort] { cursor: pointer; user-select: none; }
th[aria-sort]:hover { color: var(--fg); }
th[aria-sort="ascending"]::after { content: " ↑"; }
th[aria-sort="descending"]::after { content: " ↓"; }

/* Video */
wb-video { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
wb-video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
wb-video button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.2s; }
wb-video button:hover img, wb-video button:focus-visible img { filter: none; }
wb-video .play { position: relative; width: 4rem; height: 4rem; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 24px rgb(0 0 0 / 35%); }
wb-video .play::before { content: ""; border-style: solid; border-width: 0.55rem 0 0.55rem 0.9rem; border-color: transparent transparent transparent #0a0a0a; margin-left: 0.2rem; }
wb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { display: grid; place-items: center; height: 100%; color: #fff; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .frame { padding-top: 2rem; padding-bottom: 2.5rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.foot p { margin: 1.5rem 0 0; color: var(--faint); font-size: 0.8125rem; max-width: 40rem; }
