@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-1.001-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/public-sans-2.001-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/public-sans-2.001-600-latin.woff2") format("woff2");
}

/* Colours and sizes from the v3 boards (Nov. 9th): PlayPhoneFinal at 390, PlayDesktopFinal at 1440. */
:root {
  --ink: #1b1830;
  --ink-soft: #3e3a55;
  --muted: #5e5a75;
  --faint: #8f8aa8;
  --line: #e6e2f2;
  --line-soft: #efecf7;
  --edge: #d9d4ee;
  --card: #ffffff;
  --page: #f7f6fb;
  --violet: #5b47d9;
  --violet-deep: #4a38c9;
  --violet-ink: #2f2290;
  --lilac: #eeebfb;
  --lilac-text: #e4deff;
  --pass: #1f7a4d;
  --pass-wash: #e3f4ea;
  --flag: #b4540a;
  --flag-wash: #fff7f1;
  --note: #8a5a00;
  --note-ring: #c98a12;
  --note-wash: #fffbef;
  --quiet: #6e6a85;
  --unknown: #6d6a78;
  --gap: 0.75rem;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 0.9375rem/1.4 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1,
h2 {
  font-family: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: var(--violet-deep);
}
a:hover {
  color: var(--violet-ink);
}
button {
  font: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}
/* Words for one layout only: the phone's below 1080 pixels, the computer's from there up. */
.wide-only {
  display: none;
}

/* The top bar: logo at left, the check's name centred. */
.top {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  gap: 0.5rem;
  align-items: center;
  /* The boards' bar height, which their Replay button set. */
  min-height: 3.0625rem;
  padding: 0.5rem 0.75rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.name {
  justify-self: center;
  text-align: center;
  font: 700 0.9375rem/1.2 "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--violet-ink);
}

main {
  padding: 0 0 4rem;
}

/* The address form. */
.ask {
  max-width: 40rem;
  margin: clamp(1.5rem, 4vw, 5rem) auto 0;
  padding: 0 0.75rem;
}
.ask h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  margin-bottom: 0.6rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.ask-row,
.mail-row {
  display: flex;
  gap: 0.5rem;
}
.ask-row {
  flex-wrap: wrap;
}
input {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
input:focus {
  outline: 3px solid var(--lilac);
  border-color: var(--violet);
}
.ask button,
.mail button {
  font-weight: 700;
  padding: 0 1.3rem;
  min-height: 2.875rem;
  border: 0;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
.small {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}
.error {
  color: var(--flag);
  font-weight: 600;
  margin: 0.6rem 0 0;
}

/* The report, phone first: one column in the board's order, the computer's two columns opened up into it. */
.report {
  display: flex;
  flex-direction: column;
  max-width: 40rem;
  margin: 0 auto;
}
.col,
.side {
  display: contents;
}
.head {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.625rem 0.75rem 0.5rem;
}
.mail-box {
  order: 2;
  padding: 0 0.75rem 0.5rem;
}
/* An email box with nothing to send goes from sight but keeps its room, so nothing under it moves. */
.mail-box.gone {
  visibility: hidden;
}
.strip,
.strip-hint {
  display: none;
}
.rows {
  order: 3;
  margin: 0 0.75rem;
}
.rows-hint {
  order: 4;
  margin: 0.375rem 0.75rem 0.75rem;
}
.offer {
  order: 5;
  margin: 0 0.75rem;
}
.after {
  order: 6;
  padding: 1.125rem 0.75rem 0;
}

.kicker {
  display: none;
  font-size: 0.9375rem;
  color: var(--muted);
}
/* Two lines held from the start, so the verdict at the finish moves no row below it. */
.headline {
  font-size: 1.1875rem;
  line-height: 1.15;
  min-height: 2.3em;
  overflow-wrap: anywhere;
}
.progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* On the narrowest phones the bar gives up width, so the totals never take a third line. */
.bar {
  flex: 0 1 6.875rem;
  min-width: 0;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: var(--violet);
  transition: width 0.4s;
}
.report.finished .bar-fill {
  background: var(--pass);
}
/* The totals line shares one cell with an unseen copy of the longest totals in two lines (data-longest, from drip.js):
   the cell is that wide and the board's two lines tall from the start, so the totals at the finish never take a third. */
.count-box {
  flex: 1 0 auto;
  display: grid;
  font-size: 0.75rem;
  line-height: 1.4;
}
.count-box > .count,
.count-box::after {
  grid-area: 1 / 1;
}
.count-box::after {
  content: attr(data-longest);
  white-space: pre;
  visibility: hidden;
}
/* The live line adds nothing to the cell's width, so the unseen copy alone sets it. */
.count {
  width: 0;
  min-width: 100%;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.hint {
  font-size: 0.75rem;
  color: var(--muted);
}

/* The rows: a dot, the check, its result; a flag carries "Show the fix", the rest "What we checked". */
.rows {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.row {
  padding: 0.375rem 0.625rem;
  background: var(--card);
  border-bottom: 1px solid var(--line-soft);
}
.row:last-child {
  border-bottom: 0;
}
.row-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.thumb {
  position: relative;
  flex: none;
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--violet);
  overflow: hidden;
}
/* Behind a picture the backing is white, so a waiting cat fades to pale grey as on the boards; purple only without one. */
.thumb:has(img),
.tile-pic:has(img) {
  background: var(--card);
}
.thumb:disabled {
  cursor: default;
  opacity: 1;
}
.thumb img,
.tile-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    filter 0.6s,
    opacity 0.6s;
}
.row:not(.landed) .thumb img,
.tile:not(.landed) .tile-pic img {
  opacity: 0.45;
  filter: grayscale(0.8);
}
.play {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: rgba(20, 16, 40, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play svg {
  width: 6px;
  height: 8px;
}
.row-btn {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}
.row-btn:disabled {
  cursor: default;
  opacity: 1;
}
.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25;
}
/* One line on both layouts, so a row never grows when its result lands; the whole sentence is in the opened row. */
.short {
  font-size: 0.8125rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-soft);
}
.row:not(.landed) .short {
  color: var(--faint);
  font-style: italic;
}
.mark {
  order: 2;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--line);
}
.fix-btn,
.more-btn {
  display: none;
}

/* The grades' colours, on the row and its tile. */
.row[data-state="flag"] {
  background: var(--flag-wash);
  box-shadow: inset 4px 0 0 var(--flag);
}
.row[data-state="note"] {
  background: var(--note-wash);
  box-shadow: inset 4px 0 0 var(--note);
}
[data-state="flag"] .mark,
.tile[data-state="flag"] .badge {
  background: var(--flag);
}
[data-state="note"] .mark,
.tile[data-state="note"] .badge {
  background: var(--note);
}
[data-state="pass"] .mark,
.tile[data-state="pass"] .badge {
  background: var(--pass);
}
[data-state="quiet"] .mark,
.tile[data-state="quiet"] .badge {
  background: var(--quiet);
}
[data-state="unknown"] .mark,
.tile[data-state="unknown"] .badge {
  background: var(--unknown);
}
.row[data-state="flag"] .short {
  font-weight: 600;
  color: var(--flag);
}
.row[data-state="note"] .short {
  font-weight: 600;
  color: var(--note);
}

/* An opened row: what we found, what we checked, why it matters, and a flag's fix. */
.open {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0.375rem 0 0.125rem 3.375rem;
  padding: 0.625rem 0.75rem;
  background: var(--page);
  border-radius: 10px;
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}
.ours {
  font-style: italic;
  color: var(--muted);
}
.why {
  color: var(--muted);
}
.open b {
  color: var(--ink);
}
.fix-intro {
  color: var(--muted);
}
.send-row {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.send-row code {
  flex: 1;
  min-width: 0;
  font: 600 1em/1.35 "Public Sans", system-ui, sans-serif;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4375rem 0.5625rem;
  user-select: all;
}
.send-row button {
  flex: none;
  min-height: 2.5rem;
  max-width: 6rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
}

/* The offer: the purple card. On a phone it is ready from the start, as the board shows. */
.offer {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--violet-deep);
  color: #fff;
}
.offer-title {
  font-size: 1.3125rem;
}
.offer-body {
  font-size: 0.875rem;
  color: var(--lilac-text);
}
.build {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--violet-ink);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.build:hover {
  color: var(--violet-ink);
}
.build .when-waiting {
  display: none;
}
.offer-line {
  font-size: 0.8125rem;
  color: var(--lilac-text);
}

/* The email box: on a phone one row under the counts. */
.mail-title {
  display: none;
}
.mail label {
  margin: 0;
}
.mail-row input {
  height: 2.75rem;
  padding: 0 0.625rem;
  font-size: 0.875rem;
}
.mail-row button {
  min-height: 2.75rem;
  padding: 0 0.875rem;
  font-size: 0.875rem;
}
.mail-note:empty {
  display: none;
}
.mail-note {
  font-size: 0.8125rem;
  line-height: 1.3;
}
.mail-note.sent {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 10px;
  background: var(--pass-wash);
  color: var(--pass);
  font-weight: 600;
  animation: land 0.4s;
}
.mail-note.said {
  margin-top: 0.375rem;
  color: var(--flag);
  font-weight: 600;
}

/* What sums up the check, under the rows. */
.after h2 {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
}
.none {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.875rem 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.none .none-more {
  margin-top: 0.4rem;
  font-weight: 400;
  color: var(--muted);
}
.none-ran {
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.how p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.375rem;
}

/* A cat's clip, large, over the page. */
.clip {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
}
.clip::backdrop {
  background: rgba(16, 13, 32, 0.9);
}
.clip[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: land 0.25s;
}
.clip video {
  display: block;
  width: min(22.375rem, calc(100vw - 2rem));
  max-height: min(40rem, calc(100vh - 8rem));
  border-radius: 14px;
  background: #000;
}
.clip-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.clip-title {
  color: #fff;
  font-weight: 700;
}
.clip-close {
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid #fff;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-weight: 700;
}

@keyframes land {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* The computer: two columns, the results at left and the offer and email box at right (PlayDesktopFinal, 1440). */
@media (min-width: 1080px) {
  html {
    /* A scrollbar that appears late must not shift the centred columns. */
    scrollbar-gutter: stable;
  }
  body {
    font-size: 1rem;
    line-height: 1.5;
  }
  /* The columns keep the page's own order; the phone's reordering is off. */
  .head,
  .mail-box,
  .rows,
  .rows-hint,
  .offer,
  .after {
    order: 0;
  }
  .wide-only {
    display: inline;
  }
  .narrow-only {
    display: none;
  }
  .top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 4.1875rem;
    padding: 0.875rem 3rem;
  }
  .brand img {
    width: 2.125rem;
    height: 2.125rem;
  }
  .brand-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font: 700 1.375rem/1 "Bricolage Grotesque", system-ui, sans-serif;
  }
  .name {
    font-size: 1.25rem;
  }

  .report {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    max-width: none;
    width: min(77.5rem, 100% - 4rem);
    padding: 1.625rem 0 3.5rem;
  }
  .col {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  .side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 23.75rem;
  }
  .head {
    gap: 0.375rem;
    padding: 0;
  }
  .kicker {
    display: block;
  }
  .headline {
    font-size: 2.125rem;
    line-height: 1.1;
    min-height: 2.2em;
  }
  .progress {
    gap: 0.875rem;
  }
  /* The bar gives up its width before the totals line wraps, so the head keeps one height. */
  .bar {
    flex: 0 1 17.5rem;
    min-width: 3rem;
    height: 8px;
    border-radius: 4px;
  }
  .count-box {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  /* The cats strip: nine in a row, in the rows' order. */
  .strip {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0.625rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.875rem;
  }
  .strip-hint {
    display: block;
    font-size: 0.8125rem;
    margin-top: -0.625rem;
  }
  .tile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: stretch;
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
    color: inherit;
  }
  .tile:disabled {
    cursor: default;
    opacity: 1;
  }
  .tile-pic {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: var(--violet);
    overflow: hidden;
  }
  .tile[data-state="flag"] .tile-pic {
    box-shadow: inset 0 0 0 3px var(--flag);
  }
  .tile[data-state="note"] .tile-pic {
    box-shadow: inset 0 0 0 3px var(--note-ring);
  }
  .tile[data-state="flag"] .tile-pic img,
  .tile[data-state="note"] .tile-pic img {
    outline: 3px solid;
    outline-offset: -3px;
  }
  .tile[data-state="flag"] .tile-pic img {
    outline-color: var(--flag);
  }
  .tile[data-state="note"] .tile-pic img {
    outline-color: var(--note-ring);
  }
  .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: land 0.4s;
  }
  .tile:not(.landed) .badge {
    display: none;
  }
  .tile .play {
    left: 5px;
    bottom: 5px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
  }
  .tile .play svg {
    width: 10px;
    height: 12px;
  }
  .tile-label {
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--muted);
  }
  .tile.landed .tile-label {
    font-weight: 600;
    color: var(--ink);
  }
  .tile[data-state="flag"] .tile-label {
    color: var(--flag);
  }
  .tile[data-state="note"] .tile-label {
    color: var(--note);
  }

  .rows,
  .rows-hint,
  .offer {
    margin: 0;
  }
  .rows {
    border-radius: 18px;
  }
  .rows-hint {
    display: none;
  }
  .row {
    padding: 0.375rem 1.125rem;
  }
  .row-top {
    gap: 0.875rem;
    min-height: 3.25rem;
  }
  .thumb {
    display: none;
  }
  .row-btn {
    flex: 1;
    gap: 0.875rem;
    min-height: 0;
    cursor: default;
  }
  .row-text {
    flex-direction: row;
    align-items: center;
    gap: 0.875rem;
  }
  .title {
    flex: 0 0 15.625rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .short {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.5;
  }
  /* The computer's flag has its Show the fix button in place of the phone's words. */
  .tap {
    display: none;
  }
  .mark {
    order: -1;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    font-size: 0.8125rem;
  }
  .row.landed .fix-btn,
  .row.landed .more-btn {
    display: block;
    flex: none;
  }
  .fix-btn {
    height: 2.25rem;
    padding: 0 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 8px;
    background: var(--card);
    color: var(--violet-deep);
    font-size: 0.875rem;
    font-weight: 700;
  }
  .more-btn {
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .more-btn:hover {
    color: var(--violet-deep);
  }
  .open {
    gap: 0.5rem;
    margin: 0.125rem 0 0.5rem 2.375rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
  }
  .send-row {
    gap: 0.625rem;
  }
  .send-row code {
    padding: 0.5625rem 0.75rem;
  }
  .send-row button {
    padding: 0 0.875rem;
    border-radius: 10px;
  }

  .after {
    padding: 0.25rem 0.25rem 0;
  }
  .after h2 {
    font-size: 1.25rem;
  }
  .how p {
    font-size: 0.9375rem;
  }

  /* The offer waits in a light card until the check finishes, then wakes. */
  .offer {
    gap: 0.75rem;
    padding: 1.375rem;
    border-radius: 20px;
    transition:
      background 0.5s,
      color 0.5s;
  }
  .offer-title {
    font-size: 1.625rem;
  }
  .offer-body {
    font-size: 0.9375rem;
  }
  .offer-line {
    font-size: 0.875rem;
  }
  .build {
    min-height: 3.125rem;
  }
  .offer:not(.ready) {
    background: var(--lilac);
    color: var(--violet-ink);
  }
  .offer:not(.ready) .offer-body,
  .offer:not(.ready) .offer-line {
    color: var(--violet-ink);
  }
  .offer:not(.ready) .build {
    color: var(--faint);
    pointer-events: none;
  }
  .offer:not(.ready) .when-ready {
    display: none;
  }
  .offer:not(.ready) .when-waiting {
    display: inline;
  }

  .mail-box {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
  }
  .mail-title {
    display: block;
    font-weight: 700;
    line-height: 1.3;
  }
  .mail label {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.625rem;
  }
  .mail-row input {
    height: 2.875rem;
    padding: 0 0.75rem;
    font-size: 1rem;
  }
  .mail-row button {
    min-height: 2.875rem;
    padding: 0 1rem;
    font-size: 1rem;
  }
  .mail-note.sent {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
    font-size: 0.9375rem;
  }
  .mail-note.said {
    margin-top: 0;
  }

  .clip::backdrop {
    background: rgba(16, 13, 32, 0.82);
  }
  .clip video {
    width: auto;
    height: min(42.5rem, calc(100vh - 8rem));
    max-width: min(68.75rem, calc(100vw - 4rem));
    max-height: none;
    border-radius: 16px;
  }
  .clip-bar {
    flex-direction: row;
    gap: 1rem;
  }
  .clip-title {
    font-size: 1.125rem;
  }
}

/* From 1280 the column holds the longest totals line on one row, as the board shows: the box steps aside and holds no
   copy, the line stays on its row, and the bar gives up width instead. */
@media (min-width: 1280px) {
  .count-box {
    display: contents;
  }
  .count-box::after {
    content: none;
  }
  .count {
    flex: none;
    width: auto;
    min-width: 0;
    white-space: nowrap;
  }
}
