/* Merger Desk. One printed sheet: two inks, horizontal bands, hairline rules, coarse halftone.
   Read off his reference poster (art/ref/poster.jpg). No gradients, no shadows, no rounded corners. */

/* ----------------------------------------------------------------- fonts */
@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 100%;
  font-display: swap;
}
@font-face {
  font-family: "Silkscreen";
  src: url("/fonts/silkscreen-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Silkscreen";
  src: url("/fonts/silkscreen-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --o: #ff5500;
  --k: #111111;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --mono: "Martian Mono", ui-monospace, "Courier New", monospace;
  --matrix: "Silkscreen", "Martian Mono", monospace;
  --rule: 2px;
  --pad: 32px;
  --padY: 24px;
  --gap: 12px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  background: var(--o);
}

body {
  background: var(--o);
  color: var(--k);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* the press grain over the whole sheet, never over the pointer */
body::after {
  content: "";
  position: fixed;
  inset: -40px;
  background-image: url("/img/grain.png");
  background-size: 360px 360px;
  opacity: 0.32;
  pointer-events: none;
  z-index: 60;
  animation: roll 7s steps(4) infinite;
}
@keyframes roll {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-7px, 4px); }
  50% { transform: translate(5px, -6px); }
  75% { transform: translate(-3px, -2px); }
  100% { transform: translate(0, 0); }
}

::selection {
  background: var(--k);
  color: var(--o);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--k);
  outline-offset: 3px;
}
.ink :focus-visible,
.key:focus-visible {
  outline-color: var(--o);
}

/* ----------------------------------------------------------------- sheet */
.sheet {
  max-width: 1760px;
  margin: 0 auto;
  padding: 22px;
  position: relative;
}
/* his double frame: a solid rule round every band, a dashed guide outside it */
.sheet::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed var(--k);
  pointer-events: none;
  z-index: 1;
}
.plate {
  border: var(--rule) solid var(--k);
}

/* a band is a full width strip of the sheet, stacked with no air between */
.band {
  border: var(--rule) solid var(--k);
  border-bottom-width: 0;
}
.band:last-child {
  border-bottom-width: var(--rule);
}
.band.ink {
  background: var(--k);
  color: var(--o);
}

/* a row of cells divided by hairlines, edge to edge, no gaps */
.cells {
  display: grid;
  grid-auto-flow: column;
}
.cells > * {
  border-left: var(--rule) solid var(--k);
  padding: var(--padY) var(--pad);
  min-width: 0;
}
.cells > *:first-child {
  border-left: 0;
}
.ink .cells > * {
  border-left-color: var(--o);
}

/* ----------------------------------------------------------------- type */
.mono {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
.mono-sm {
  font-size: 16px;
  letter-spacing: 0.12em;
}
.lead {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
}
.hd {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hd-sm {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.matrix {
  font-family: var(--matrix);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  -webkit-mask-image: url("/img/pixgrid.png");
  mask-image: url("/img/pixgrid.png");
  -webkit-mask-size: 4px 4px;
  mask-size: 4px 4px;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* the big halftone display word, his hero band */
.display {
  font-family: var(--display);
  font-size: clamp(42px, 11.2vw, 196px);
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 22px 34px;
  margin: -56px -34px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--o);
  background-image: url("/img/halftone.png");
  background-size: 16px 16px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slip 9s steps(3) infinite;
}
@keyframes slip {
  0%, 100% { background-position: 0 0; }
  33% { background-position: 3px 2px; }
  66% { background-position: -2px 4px; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .display { -webkit-text-fill-color: var(--o); background-image: none; }
}

/* ----------------------------------------------------------- status rail */
.rail {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.rail__line {
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  min-width: 0;
}
.ri {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  padding: 15px var(--pad);
  border-left: var(--rule) solid var(--k);
  min-width: 0;
}
.ri:first-child {
  border-left: 0;
}
.ri b {
  font-weight: 600;
  white-space: nowrap;
}
.ri i {
  font-style: normal;
  margin-left: auto;
}
.rail__lcd {
  background: var(--k);
  color: var(--o);
  padding: 15px 26px;
  display: flex;
  align-items: center;
  gap: 1.1em;
  min-width: 320px;
  justify-content: space-between;
}

/* the one line that tells a stranger what the desk is */
.mast__line {
  border-top: var(--rule) solid var(--k);
  padding: 14px var(--pad);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1.6;
  max-width: 128ch;
}

/* ------------------------------------------------------------- masthead */
.mast {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px var(--pad);
}
.mast__mark {
  width: 52px;
  height: 52px;
  flex: none;
  background: url("/img/mark.png") center / contain no-repeat;
  animation: turn 24s linear infinite;
}
@keyframes turn {
  to { transform: rotate(360deg); }
}
.mast__dots {
  flex: 1;
  height: 42px;
  background: url("/img/dots.png") center / auto 42px repeat-x;
  min-width: 40px;
}
.mast__name {
  font-family: var(--display);
  font-size: clamp(26px, 3.3vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  padding: 0 4px;
}
.mast__tick {
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 26px);
  letter-spacing: 0;
  line-height: 1;
}

/* ------------------------------------------------------------------ nav */
.nav {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr 1fr 0.95fr;
}
.nav__cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px var(--pad);
  border-left: var(--rule) solid var(--k);
  background: var(--o);
  color: var(--k);
  text-decoration: none;
  min-height: 72px;
}
.nav__cell:first-child {
  border-left: 0;
}
.nav__cell[aria-current="page"] {
  background: var(--k);
  color: var(--o);
}
.nav__n {
  font-family: var(--matrix);
  font-size: 22px;
  line-height: 1;
  flex: none;
  opacity: 0.82;
}
.nav__w {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}
.nav__cell:hover .nav__w,
.nav__cell:focus-visible .nav__w {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}

/* --------------------------------------------------------- strap (ink) */
.strap {
  padding: 16px var(--pad);
}
.strap__k {
  font-weight: 700;
  white-space: nowrap;
}
.strap .dim {
  padding: 0 0.6em;
}

/* ------------------------------------------------------------- display */
.hero {
  background: var(--k);
  padding: 20px max(var(--pad), 34px) 22px;
  position: relative;
  overflow: hidden;
}
/* the hatched strip his sheet puts between the status band and the display plate */
.hatchstrip {
  height: 30px;
  background: url("/img/hatch.png") repeat left top / 48px 24px;
  border-bottom: var(--rule) solid var(--k);
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero__sub {
  color: var(--o);
  padding-bottom: 10px;
  text-align: right;
  flex: none;
}

/* -------------------------------------------------------------- the grid */
.grid4 {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 1.3fr 0.6fr;
}
.grid3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cell {
  border-left: var(--rule) solid var(--k);
  padding: var(--padY) var(--pad);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cell:first-child {
  border-left: 0;
}
.cell--wide {
  grid-column: span 2;
}
.cell--hatch {
  background: url("/img/hatch.png") repeat left top / 48px 24px;
}
.cell--hazard {
  background: url("/img/hazard.png") repeat left top / 28px 28px;
  padding: 0;
}
.cell--ink {
  background: var(--k);
  color: var(--o);
}
.cell__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4em 1em;
}
/* a rule drawn as its own strip, never as a border on something that carries text */
.hr {
  height: var(--rule);
  background: currentColor;
  flex: none;
}
.hr--dash {
  height: 0;
  border-top: 2px dashed currentColor;
  background: none;
}
.hazbox {
  margin: 20px;
  background: var(--o);
  border: var(--rule) solid var(--k);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* dashed inner guide, his double frame */
.guide {
  border: 2px dashed var(--k);
  padding: var(--padY) 22px;
}
.ink .guide,
.cell--ink .guide {
  border-color: var(--o);
}

/* ------------------------------------------------------------ the table */
.rows {
  display: flex;
  flex-direction: column;
}
.row {
  display: grid;
  grid-template-columns: var(--cols, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-align: left;
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  font: inherit;
  color: inherit;
  width: 100%;
  cursor: pointer;
}
a.row,
button.row {
  text-decoration: none;
}
a.row:hover,
button.row:hover,
a.row:focus-visible,
button.row:focus-visible {
  background: var(--k);
  color: var(--o);
  box-shadow: 0 0 0 10px var(--k);
}
/* a long value (a model id, an address) breaks inside its column instead of leaving the cell */
.row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.row__full {
  grid-column: 1 / -1;
  min-width: 0;
}
.row--head {
  cursor: default;
  padding-bottom: 8px;
}
.row--head:hover {
  background: none;
  color: inherit;
  box-shadow: none;
}
.pair {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pair__x {
  font-family: var(--display);
  font-size: 16px;
  opacity: 0.75;
  flex: none;
}
.tick {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------- chips */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: var(--rule) solid currentColor;
  padding: 9px 16px 8px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: max-content;
}
.tag--solid {
  background: var(--k);
  color: var(--o);
  border-color: var(--k);
}
.cell--ink .tag--solid,
.ink .tag--solid {
  background: var(--o);
  color: var(--k);
  border-color: var(--o);
}

/* --------------------------------------------------------------- meters */
.meter {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 220px;
}
.meter i {
  flex: 1;
  height: 16px;
  background: currentColor;
  opacity: 0.18;
}
.meter i.on {
  opacity: 1;
}

/* ---------------------------------------------------------------- keys */
.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 1.4em;
  background: var(--k);
  color: var(--o);
  border: var(--rule) solid var(--k);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.key--ghost {
  background: var(--o);
  color: var(--k);
}
.key:hover:not([aria-disabled="true"]):not(:disabled),
.key:focus-visible:not([aria-disabled="true"]) {
  background: var(--o);
  color: var(--k);
}
.key--ghost:hover:not([aria-disabled="true"]):not(:disabled),
.key--ghost:focus-visible:not([aria-disabled="true"]) {
  background: var(--k);
  color: var(--o);
}
.key[aria-disabled="true"],
.key:disabled {
  background: none;
  color: var(--k);
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.72;
}
.key__mark {
  width: 26px;
  height: 26px;
  flex: none;
  object-fit: contain;
  display: block;
}

/* a mark in its own hairline ring, his circled letter */
.ring {
  width: 72px;
  height: 72px;
  flex: none;
  border: var(--rule) solid var(--k);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--o);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.ring img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.ring:hover,
.ring:focus-visible {
  background: var(--k);
}
.ring[aria-disabled="true"] {
  border-style: dashed;
  cursor: not-allowed;
}
.ring[aria-disabled="true"] img {
  opacity: 0.4;
}

/* ------------------------------------------------------------- colophon */
.colo {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) auto auto;
}
.colo__burn {
  border-left: var(--rule) solid var(--k);
  padding: var(--padY) var(--pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.colo__ca {
  padding: var(--padY) var(--pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ca {
  font-family: var(--matrix);
  font-size: 22px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  user-select: all;
}
.ca--empty {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
}
.colo__rings {
  border-left: var(--rule) solid var(--k);
  padding: var(--padY) var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}
.colo__end {
  width: 120px;
  border-left: var(--rule) solid var(--k);
  background: url("/img/hazard.png") repeat left top / 28px 28px;
}

/* --------------------------------------------------------------- forms */
label.f {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.f > span {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input.t,
select.t,
textarea.t {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--k);
  background: var(--o);
  border: var(--rule) solid var(--k);
  padding: 13px 16px;
  min-height: 52px;
  width: 100%;
  border-radius: 0;
  appearance: none;
}
textarea.t {
  min-height: 108px;
  resize: vertical;
  line-height: 1.6;
}
select.t {
  background-image: none;
  cursor: pointer;
}
input.t:focus,
select.t:focus,
textarea.t:focus {
  outline: 3px solid var(--k);
  outline-offset: 2px;
}
.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: var(--rule) solid var(--k);
  padding: 11px 18px;
  min-height: 52px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio:has(input:checked) {
  background: var(--k);
  color: var(--o);
}
.radio:has(input:focus-visible) {
  outline: 3px solid var(--k);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- misc */
.tri {
  width: 96px;
  height: 84px;
  background: url("/img/triangle.png") center / contain no-repeat;
  flex: none;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}
.dim {
  opacity: 0.68;
}
.empty {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 26px 24px;
  border-top: 2px dashed currentColor;
  border-bottom: 2px dashed currentColor;
  text-align: center;
}
.note {
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--k);
  color: var(--o);
  padding: 14px 20px;
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .display,
  .mast__mark {
    animation: none;
  }
}

/* ------------------------------------------------------------- 1366 down */
@media (max-width: 1400px) {
  :root { --padY: 22px; }
  .grid4 { grid-template-columns: 1.5fr 1fr 1.3fr; }
  .grid4 > .cell--hazard { display: none; }
  .colo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
  .colo__end { display: none; }
  .nav__w { font-size: 20px; }
  .rail__lcd { min-width: 270px; }
  .ri:nth-child(4) { display: none; }
}

@media (max-width: 1100px) {
  .grid4,
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid4 > .cell:nth-child(n + 3),
  .grid3 > .cell:nth-child(n + 3) { border-top: var(--rule) solid var(--k); }
  .grid4 > .cell:nth-child(odd),
  .grid3 > .cell:nth-child(odd) { border-left: 0; }
  .nav { grid-template-columns: 1fr 1fr 1fr; }
  .nav__cell:nth-child(n + 4) { border-top: var(--rule) solid var(--k); }
  .nav__cell:nth-child(4) { border-left: 0; }
  .cells { grid-auto-flow: row; }
  .cells > * { border-left: 0; border-top: var(--rule) solid var(--k); }
  .cells > *:first-child { border-top: 0; }
  .colo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .colo__rings { grid-column: 1 / -1; border-left: 0; border-top: var(--rule) solid var(--k); }
  .rail { flex-wrap: wrap; }
  .rail__line { flex: 1 0 100%; }
  .rail__lcd { width: 100%; border-top: var(--rule) solid var(--k); }
}

/* --------------------------------------------------------------- phone */
@media (max-width: 760px) {
  :root { --pad: 18px; --padY: 16px; }
  body { font-size: 17px; }
  .sheet { padding: 12px; }
  .sheet::before { inset: 4px; }
  .mono { font-size: 16px; letter-spacing: 0.07em; }
  .mono-sm { font-size: 16px; letter-spacing: 0.06em; }
  .lead, .note { font-size: 17px; }
  .grid4,
  .grid3,
  .grid2 { grid-template-columns: 1fr; }
  .cell { border-left: 0; border-top: var(--rule) solid var(--k); }
  .cell:first-child { border-top: 0; }
  .cell--wide { grid-column: auto; }
  .nav { grid-template-columns: 1fr 1fr; }
  .nav__cell { border-top: var(--rule) solid var(--k); min-height: 66px; gap: 12px; padding: 12px 19px; }
  .nav__cell:nth-child(1),
  .nav__cell:nth-child(2) { border-top: 0; }
  .nav__cell:nth-child(odd) { border-left: 0; }
  .nav__cell:nth-child(5) { grid-column: 1 / -1; }
  .nav__w { font-size: 17px; }
  .nav__n { font-size: 18px; }
  .mast { flex-wrap: nowrap; gap: 12px; padding: 14px var(--pad); }
  .mast__dots { display: none; }
  .mast__mark { width: 40px; height: 40px; }
  .mast__mark:last-child { display: none; }
  .mast__name { font-size: 27px; white-space: nowrap; margin-right: auto; }
  .mast__tick { font-size: 17px; }
  .mast__line { font-size: 16px; letter-spacing: 0.01em; line-height: 1.5; }
  .rail__line { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; }
  .ri { border-left: 0; padding: 11px var(--pad); }
  .ri + .ri { border-top: var(--rule) solid var(--k); }
  .ri:nth-child(4) { display: none; }
  .rail__lcd { min-width: 0; padding: 13px var(--pad); }
  .hero { padding: 18px max(var(--pad), 20px) 20px; }
  .display { padding: 22px 32px; margin: -32px -32px; }
  .hatchstrip { height: 20px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__sub { text-align: left; padding-bottom: 0; }
  .colo { grid-template-columns: 1fr; }
  .colo__burn { border-left: 0; border-top: var(--rule) solid var(--k); }
  .colo__rings { border-left: 0; border-top: var(--rule) solid var(--k); flex-wrap: wrap; }
  .colo__end { display: none; }
  .row { grid-template-columns: 1fr !important; gap: 8px; align-items: flex-start; }
  a.row:hover, button.row:hover, a.row:focus-visible, button.row:focus-visible { box-shadow: 0 0 0 6px var(--k); }
  .row--head { display: none; }
  .strap { gap: 0.7em; }
  .tri { width: 72px; height: 63px; }
  .ca { font-size: 19px; }
  .key { font-size: 17px; padding: 0 1.2em; }
}

/* ----------------------------------------------------------- 360 and under */
@media (max-width: 400px) {
  :root { --pad: 16px; }
  .mast { flex-wrap: wrap; row-gap: 6px; }
  .mast__name { font-size: 23px; }
  .nav__n { display: none; }
  .nav__w { font-size: 16px; }
  .nav__cell { padding: 12px 17px; }
  .ca { font-size: 17px; }
}

/* ------------------------------------------------------- the room's turns */
.turns {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.turn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 22px;
  border-left: 6px solid var(--k);
}
.cell--ink .turn,
.ink .turn {
  border-left-color: var(--o);
}
.turn--b {
  border-left: 0;
  border-right: 6px solid var(--k);
  text-align: right;
  align-items: flex-end;
}
.turn__head {
  display: flex;
  justify-content: space-between;
  gap: 0.6em 1em;
  flex-wrap: wrap;
  width: 100%;
}
.turn--b .turn__head {
  flex-direction: row-reverse;
}

/* the browser's own file button is grey OS chrome on a two colour sheet: give it the sheet's key */
input[type="file"].t {
  padding: 9px 12px;
  line-height: 1.6;
}
input[type="file"].t::file-selector-button {
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
  background: var(--k);
  color: var(--o);
  border: var(--rule) solid var(--k);
  border-radius: 0;
  padding: 9px 18px;
  margin-right: 16px;
  cursor: pointer;
}
input[type="file"].t::file-selector-button:hover {
  background: var(--o);
  color: var(--k);
}
