/* AFKBID — one second, one point. ------------------------------------------- */

:root {
  /* surface: pure achromatic black. all the heat lives in the brand color. */
  --bg:        oklch(0.09 0 0);
  --surface:   oklch(0.138 0 0);
  --surface-2: oklch(0.18 0 0);
  --line:      oklch(0.26 0 0);
  --line-soft: oklch(0.21 0 0);

  --ink:    oklch(0.97 0 0);
  --ink-2:  oklch(0.72 0 0);   /* 8.8:1 on --bg */
  --ink-3:  oklch(0.62 0 0);   /* 5.2:1 on --surface */

  /* time is hot */
  /* the row this tab is feeding — deliberately not the brand colour, so it
     reads as position rather than as rank */
  --you: oklch(0.78 0.130 205);

  /* presence, not heat: green reads as "someone is here" everywhere */
  --live: oklch(0.80 0.170 150);

  --ember:      oklch(0.70 0.190 38);
  --ember-hot:  oklch(0.79 0.165 48);
  --ember-deep: oklch(0.495 0.134 36);
  --on-ember:   oklch(0.14 0.030 38);

  --z-ticker: 10;
  --z-bar: 40;
  --z-sheet: 60;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --heat: 0;                    /* 0..1, driven by how many tabs are open */
}

* { box-sizing: border-box; }

/* The browser hides [hidden] with a UA rule, which any author `display` beats.
   Buttons and flex children here set their own display, so without this they
   stay on screen while JS believes they are gone. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  padding-bottom: 7.5rem;         /* room for the burn bar */
  overflow-x: hidden;
}

h1, h2, h3, .num {
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.032em;
  text-wrap: balance;
  margin: 0;
}

a { color: inherit; }

::selection { background: var(--ember); color: var(--on-ember); }

:focus-visible {
  outline: 2px solid var(--ember-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

/* the room gets warmer as more tabs join --------------------------------- */

.ember {
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 78vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(60% 55% at 50% 0%, var(--ember-deep), transparent 68%);
  opacity: calc(0.1 + var(--heat) * 0.3);
  filter: blur(30px);
  transition: opacity 2.4s var(--ease-soft);
}

main, .masthead, .ticker, .foot { position: relative; z-index: 1; }

/* masthead --------------------------------------------------------------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.35rem var(--pad) 1.1rem;
}

.mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34rem;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 14px var(--ember);
}

.vitals {
  display: flex;
  gap: 1.4rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.vital { display: inline-flex; align-items: center; gap: 0.45rem; }
.vital b { color: var(--ink); font-weight: 700; }
.vital.sep { position: relative; padding-left: 1.4rem; }
.vital.sep::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 1px; height: 1.05em;
  transform: translateY(-50%);
  background: var(--line);
}

.pulse {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--ember);
  flex: none;
  animation: pulse 2.6s var(--ease-soft) infinite;
}
.pulse-lg { width: 0.6rem; height: 0.6rem; }

.pulse-live { background: var(--live); animation-name: pulse-live; }

@keyframes pulse-live {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 oklch(0.80 0.17 150 / 0.5); }
  70%      { opacity: 0.9; box-shadow: 0 0 0 0.5rem oklch(0.80 0.17 150 / 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 oklch(0.70 0.19 38 / 0.55); }
  70%      { opacity: 0.9; box-shadow: 0 0 0 0.55rem oklch(0.70 0.19 38 / 0); }
}

/* ticker ----------------------------------------------------------------- */

.ticker {
  position: relative;
  z-index: var(--z-ticker);
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  height: 2.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
  width: max-content;
  padding-left: var(--pad);
  font-size: 0.8125rem;
  color: var(--ink-2);
  white-space: nowrap;
  animation: slide 46s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track em {
  font-style: normal;
  color: var(--ember);
  font-weight: 700;
  margin-right: 0.45rem;
}

@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* hero ------------------------------------------------------------------- */

main { max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }

.hero { padding: clamp(2rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.live b { color: var(--live); font-weight: 800; }

.live-sep {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-left: 1.4rem;
}
.live-sep::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.05em;
  transform: translateY(-50%);
  background: var(--line);
}
.live-sep b { color: var(--ember); }

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-stretch: 125%;
  font-weight: 900;
}

.lede {
  max-width: 68ch;
  color: var(--ink-2);
  margin: 1rem 0 clamp(1.25rem, 3vw, 2.25rem);
  text-wrap: pretty;
  font-size: 1.0625rem;
}

/* the permission nobody expects, so it gets its own line rather than being
   buried at the end of the sentence above */
.lede-note {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

/* the whole point of arriving: one bar, three fields, in */

.claim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.claim:focus-within { border-color: var(--ember-deep); }

.field {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.9rem 0.65rem;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}

.field:first-of-type { border-right: 1px solid var(--line-soft); }
.field-wide, .claim .btn { grid-column: 1 / -1; }

@media (min-width: 56rem) {
  .claim { grid-template-columns: 0.85fr 0.85fr 1.5fr auto; }
  .field { border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .field-wide, .claim .btn { grid-column: auto; }
}

.field label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input {
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}
.field input::placeholder { color: var(--ink-3); font-weight: 500; }
.field input:focus { outline: none; }
.field input:focus-visible { outline: none; }
.field:focus-within label { color: var(--ember); }

.claim .btn {
  border-radius: 0;
  padding-inline: clamp(1.25rem, 3vw, 1.9rem);
  justify-content: center;
}

#claim-err { margin-top: 0.7rem; }

/* buttons ---------------------------------------------------------------- */

.btn {
  font: inherit;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.012em;
  padding: 0.72rem 1.15rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ember); color: var(--on-ember); }
.btn-primary:hover { background: var(--ember-hot); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--surface); }

.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.875rem; }

/* board ------------------------------------------------------------------ */

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.board-head h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0.01em; font-weight: 700; }

.board { list-style: none; margin: 0; padding: 0; }

/* Rows are hairline-separated, not cards. Emphasis is carried by a shrinking
   amount of colour — a tinted edge and an ember rank at #1, a dimmer rank on
   the podium, nothing at all below it — rather than by size or by panels. */

.row {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1.75rem minmax(0, 1fr) 7rem;
  align-items: center;
  gap: 0 0.9rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.25s var(--ease);
}

.row:last-child { border-bottom: 0; }
.row:hover { background: oklch(1 0 0 / 0.035); }

.row .rank {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.fav {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.fav img { width: 1.1rem; height: 1.1rem; display: block; }

.fav-mono {
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}

.who { min-width: 0; }

.who-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  /* the body line-height is set for prose and makes list rows tall */
  line-height: 1.25;
}

.name {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.018em;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.name:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.tag {
  margin: 0.05rem 0 0;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metrics { text-align: right; }

.score {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  display: block;
  font-variant-numeric: tabular-nums;
}

.sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ember);
  margin-top: 0.05rem;
}
.sub[hidden] { display: none; }

/* Anyone can back any row. The control keeps its space at all times so a row
   never shifts under the cursor, and only appears once you are on it. */
/* It sits inside the name line rather than in a column of its own: a column
   would push the score inward on every row for a control that is invisible
   most of the time. Its width is held permanently so hovering shifts nothing. */
.back {
  flex: none;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.row:hover .back,
.back:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.back:hover { border-color: var(--ember); color: var(--ember); }
.back:disabled { opacity: 0.4; cursor: wait; }

/* the row already being fed keeps the button's footprint and loses the button */
.back-off { opacity: 0 !important; pointer-events: none !important; }

/* a coarse pointer has no hover to reveal it with */
@media (hover: none) {
  .back:not(.back-off) { opacity: 1; pointer-events: auto; }
}

/* #1 — a tinted edge, an ember rank and an ember score. No panel. */
.row.lead {
  padding-block: 0.8rem;
  background: linear-gradient(90deg, oklch(0.70 0.19 38 / 0.075), transparent 42%);
}
.row.lead::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--ember);
}
.row.lead:hover { background: linear-gradient(90deg, oklch(0.70 0.19 38 / 0.11), oklch(1 0 0 / 0.03) 42%); }
.row.lead .rank { color: var(--ember); }
.row.lead .score { color: var(--ember); }

/* #2 and #3 — the rank keeps a trace of it, nothing else does. */
.row.podium .rank { color: oklch(0.64 0.135 38); }

/* the row this tab is feeding, findable at a glance from anywhere on the page */
.row.mine { background: oklch(0.78 0.13 205 / 0.07); }
.row.mine:hover { background: oklch(0.78 0.13 205 / 0.1); }
.row.mine::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--you);
}
.row.lead.mine {
  background: linear-gradient(90deg, oklch(0.70 0.19 38 / 0.075), oklch(0.78 0.13 205 / 0.07) 42%);
}
/* being at #1 and being the row you feed are different facts; the edge shows
   both rather than one overwriting the other */
.row.lead.mine::before { background: linear-gradient(180deg, var(--ember) 50%, var(--you) 50%); }

.mine-tag {
  flex: none;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.16 0.03 205);
  background: var(--you);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
}

/* a row that just moved up — an overlay, so it composes over the lead colour */
.row::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ember);
  opacity: 0;
  pointer-events: none;
}

.row.gained::after { animation: gained 1.5s var(--ease); }

@keyframes gained {
  0%   { opacity: 0.14; }
  100% { opacity: 0; }
}

.empty {
  color: var(--ink-2);
  padding: 3rem 0;
  text-align: center;
}

/* foot ------------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: 2rem var(--pad) 3rem;
  max-width: 1180px;
  margin-inline: auto;
  color: var(--ink-2);
  font-size: 0.9375rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot p { margin: 0; }

.foot-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem 0.25rem 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.by img { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: block; }
.by:hover { border-color: var(--ink-2); color: var(--ink); }
.foot b { color: var(--ember); font-stretch: 118%; font-weight: 900; }
.foot-fine { color: var(--ink-3); font-size: 0.8125rem; }

/* the burn bar ----------------------------------------------------------- */

.burnbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-bar);
  background: oklch(0.11 0 0 / 0.94);
  border-top: 1px solid var(--line);
  padding: 0.85rem var(--pad) max(0.85rem, env(safe-area-inset-bottom));
}

.burnbar[data-state='on'] { border-top-color: var(--ember-deep); }

.burnbar-in {
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.bb-status { display: flex; align-items: center; gap: 0.7rem; min-width: 0; flex: 1 1 16rem; }
.bb-text { display: flex; flex-direction: column; min-width: 0; }

.bb-line { font-weight: 700; letter-spacing: -0.015em; }
.bb-line strong { color: var(--ember); display: inline-block; }

/* switching is one click and easy to miss; the name says it changed */
.bb-line strong.flash { animation: name-flash 0.55s var(--ease); }

@keyframes name-flash {
  0%   { color: var(--ink); transform: translateY(-2px) scale(1.06); }
  100% { color: var(--ember); transform: none; }
}
.bb-sub { font-size: 0.8125rem; color: var(--ink-3); }

.bb-meter { text-align: right; margin-left: auto; }
.bb-num {
  display: block;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ember);
}
.bb-num.tick { animation: tick 0.9s var(--ease); }
@keyframes tick {
  0%   { color: var(--ember-hot); transform: translateY(-1px); }
  100% { color: var(--ember); transform: none; }
}
.bb-unit { font-size: 0.75rem; color: var(--ink-3); }

.bb-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* sheets ----------------------------------------------------------------- */

.sheet {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0.9rem;
  padding: 0;
  max-width: 30rem;
  width: calc(100vw - 2rem);
  z-index: var(--z-sheet);
}

.sheet::backdrop { background: oklch(0.05 0 0 / 0.78); }

.sheet[open] { animation: sheet-in 0.4s var(--ease); }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(1.25rem) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.sheet-in { padding: clamp(1.4rem, 4vw, 1.9rem); display: grid; gap: 0.85rem; }
.sheet h3 { font-size: 1.5rem; font-stretch: 118%; }
.sheet-lede { margin: -0.35rem 0 0.35rem; color: var(--ink-2); font-size: 0.9375rem; }

/* the aside earns its own line: it is a wink, not part of the rate */
.sheet-aside { display: block; margin-top: 0.25rem; color: var(--ink-3); }
.sheet-fine { margin: 0; color: var(--ink-3); font-size: 0.8125rem; min-height: 1.2em; }

.sheet label { display: grid; gap: 0.35rem; font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); }

.sheet input {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
.sheet input::placeholder { color: var(--ink-3); }
.sheet input:focus-visible { border-color: var(--ember); outline-offset: 1px; }

.sheet-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 0.4rem; }

.err {
  margin: 0;
  color: var(--ember-hot);
  font-size: 0.875rem;
  font-weight: 600;
}

/* type a number, watch it turn into time -------------------------------- */

.amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.25s var(--ease);
}
.amount:focus-within { border-color: var(--ember); }

.amount-cur {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--ink-3);
  line-height: 1;
}

.amount input {
  font: inherit;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}
.amount input:focus { outline: none; }
.amount input::-webkit-outer-spin-button,
.amount input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.amount input[type='number'] { -moz-appearance: textfield; }

.convert {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.45rem;
  padding: 0.15rem 0.15rem 0.35rem;
  transition: opacity 0.25s var(--ease);
}

.convert-points {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ember);
}

.convert-unit {
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--ember);
}

.convert-time {
  flex: 1 0 100%;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.convert-off { opacity: 0.55; }
.convert-off .convert-points,
.convert-off .convert-unit { color: var(--ink-3); }

.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:active { transform: none; }

.packs { display: grid; gap: 0.55rem; }

.pack {
  font: inherit;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.75rem;
  text-align: left;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.pack:hover { border-color: var(--ember); background: var(--surface-2); }
.pack b { font-stretch: 112%; font-weight: 800; font-size: 1.05rem; }
.pack span { color: var(--ink-3); font-size: 0.8125rem; }
.pack em { font-style: normal; font-weight: 800; color: var(--ember); font-size: 1.05rem; }

/* narrow ----------------------------------------------------------------- */

@media (max-width: 40rem) {
  .row {
    grid-template-columns: 2.25rem 1.75rem minmax(0, 1fr);
    row-gap: 0.55rem;
    gap: 0 0.7rem;
    padding-inline: 0.35rem;
  }
  .row { grid-template-columns: 2.25rem 1.75rem minmax(0, 1fr); }
  .metrics { grid-column: 3; text-align: left; display: flex; align-items: baseline; gap: 0.55rem; }
  .sub { margin-top: 0; }
  .fav { align-self: start; margin-top: 0.1rem; }
  .row .rank { align-self: start; padding-top: 0.15rem; }
  .tag { white-space: normal; }
  .bb-meter { margin-left: 0; text-align: left; }
  .bb-num { font-size: 1.25rem; display: inline; }
  .burnbar[data-state='on'] .bb-sub { display: none; }
  body { padding-bottom: 12rem; }
}

/* motion off ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; }
  .pulse { animation: none; }
}
