/* Open storage. Plaster and enamel steel with the lights on, or the same hall after hours. */
:root {
  --wall: #dedbd2;
  --hall: #9e9a8f;
  --paint: #8e8a7f;
  --steel: #25272a;
  --steel-edge: #3a3d41;
  --plank-front: #e4e1d8;
  --plank-back: #888478;
  --plank-under: #1c1d20;
  --side-front: #6f6c64;
  --side-back: #868277;
  --shade: #3a372f;
  --ink: #17181a;
  --ink-2: #5a5b5c;
  --line: #17181a26;
  --paper: #f8f5ee;
  --hot: #ff3d14;
  --on-hot: #fff;
  --strip: #ece8df;
  --strip-ink: #1b1c1e;
  --lamp: #fff0d4;
  --type: Stencil, "Arial Narrow", Impact, sans-serif;
  --tag: Tag, ui-monospace, Menlo, monospace;
  --read: Record, ui-serif, Georgia, serif;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
:root[data-resolved="dark"] {
  --wall: #0b0c0e;
  --hall: #0b0c0e;
  --paint: #17191c;
  --steel: #141619;
  --steel-edge: #24272b;
  --plank-front: #1c1f23;
  --plank-back: #0d0e10;
  --plank-under: #050506;
  --side-front: #17191c;
  --side-back: #090a0b;
  --shade: #000000;
  --ink: #ece9e2;
  --ink-2: #9c9a94;
  --line: #ece9e226;
  --paper: #17191c;
  --hot: #ff5a2e;
  --on-hot: #140602;
  --strip: #1b1d21;
  --strip-ink: #cfcdc6;
  --lamp: #ffe6bf;
}


@font-face { font-family: Stencil; src: url(/type/stencil.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Tag; src: url(/type/mono.woff2) format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }
@font-face { font-family: Record; src: url(/type/news.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: Record; src: url(/type/news-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }


*, *::before, *::after { box-sizing: border-box; }
html { background: var(--wall); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--read); background: var(--wall); }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }

/* The top of every page. */
.top { position: fixed; z-index: 20; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(env(safe-area-inset-top) + 10px) var(--gutter) 10px; pointer-events: none; font: 500 11px/1 var(--tag); }
.top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 8px; background: var(--paper); text-decoration: none; font: 800 20px/1 var(--type); letter-spacing: 0.02em; text-transform: uppercase; box-shadow: 0 1px 0 #0003, 0 6px 16px #0002; }
.logo { width: 22px; height: 22px; }
.top-nav { display: none; gap: 2px; background: var(--paper); box-shadow: 0 1px 0 #0003, 0 6px 16px #0002; }
.top-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; }
.top-nav a:hover { background: var(--ink); color: var(--wall); }
.top-go { display: flex; gap: 6px; align-items: center; }
.mode, .round, .go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; background: var(--paper); text-decoration: none; box-shadow: 0 1px 0 #0003, 0 6px 16px #0002; }
.mode { padding: 0 10px 0 7px; text-transform: uppercase; letter-spacing: 0.04em; font: inherit; }
.round { width: 36px; }
.go { padding: 0 12px; background: var(--hot); color: var(--on-hot); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mode svg { width: 15px; height: 20px; }
.mode-rocker { fill: currentColor; stroke: none; transform-origin: 12px 12px; transition: transform 0.2s var(--ease); }
.mode[data-on="light"] .mode-rocker { transform: scaleY(0.5) translateY(-12px); }
.mode[data-on="dark"] .mode-rocker { transform: scaleY(0.5) translateY(12px); }
.mode[data-on="system"] .mode-rocker { transform: scaleY(0.16); }
@media (max-width: 459px) { .mode span { display: none; } .mode { padding: 0 9px; } }
@media (min-width: 820px) { .top-nav { display: flex; } }

.foot { padding: 28px var(--gutter) calc(env(safe-area-inset-bottom) + 28px); border-top: 1px solid var(--line); font: 400 12px/1.5 var(--tag); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 14px; }
.foot p { margin: 0; color: var(--ink-2); font-size: 11px; }

.mode { position: relative; }
.mode.said::after { content: attr(data-word); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 4px 7px; background: var(--ink); color: var(--paper); font: 500 10px/1 var(--tag); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 460px) { .mode.said::after { display: none; } }
