/* ============================================================
   DeskSpace
   House palette from the Library, neon from GhostSignal, rails
   from /assets/circuit.css. The room is drawn in CSS: a concrete
   wall, a cork board, a window onto the city, and a desk whose
   top, underglow and screen colour the visitor picks.
   ============================================================ */
:root {
  --bg: #05070b;
  --bg-soft: #0b0f16;
  --bg-raised: #10151e;
  --fg: #f5f5f7;
  --muted: #9ca3af;
  --dim: #7d8694;
  --line: #1c232f;
  --line-strong: #2b3442;

  --accent: #42f5ff;
  --accent-strong: #42ffb3;
  --warm: #e0b25c;
  --bad: #ff8098;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  /* Handwriting without a font download: whatever the machine already has. */
  --font-hand: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive;
  --radius: 10px;
  --fast: 150ms ease-out;
  --shell: 1120px;

  --paper-acid: #d9f06a;
  --paper-pink: #ff8fc0;
  --paper-cyan: #8ff1f2;
  --paper-orange: #ffb768;
  --paper-lilac: #c9b1ff;

  --surface-h: 150px;
  --locked: #2c3341;

  /* The circuit palette, as /assets/circuit.css defines it, restated so the
     room keeps its colours if that file is slow or missing. */
  --circuit-cyan: #42f5ff;
  --circuit-green: #35ffa0;
  --circuit-pink: #ff3d9a;
  --circuit-ash: #b8c4cc;
  --circuit-lavender: #b98cff;
  --circuit-cherry: #c71d36;
  --circuit-yellow: #b7ff00;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at 50% -6%, #0d1622 0, var(--bg) 58%, #03050a 100%);
  background-attachment: fixed;
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.is-max { overflow: hidden; }
body.is-max main { z-index: 50; }

a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }
button { font: inherit; color: inherit; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.label {
  font-family: var(--font-mono); font-size: 0.67rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--dim);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--accent); color: #05070b; padding: 10px 16px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 7, 11, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--shell); margin: 0 auto; padding: 11px 20px;
  display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; text-decoration: none; }
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 9px var(--accent);
}
.brand-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-text b { color: var(--accent); font-weight: 600; }
.header-nav { display: flex; gap: 16px; font-size: 0.84rem; }
.header-nav a { color: var(--muted); text-decoration: none; transition: color var(--fast); }
.header-nav a:hover { color: var(--fg); }

/* ---------- Intro ---------- */
.intro { padding: 38px 20px 6px; }
.intro h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin: 10px 0 12px; max-width: 22ch; }
.lede { margin: 0; color: var(--muted); max-width: 64ch; }

/* The word the page is against, rendered as a bad signal. */
.glitch { position: relative; display: inline-block; color: var(--fg); }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  pointer-events: none; mix-blend-mode: screen;
}
.glitch::before { color: var(--circuit-pink, #ff3d9a); animation: glitchA 5.5s infinite steps(1); }
.glitch::after { color: var(--circuit-cyan, #42f5ff); animation: glitchB 5.5s infinite steps(1); }
.glitch { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--circuit-pink, #ff3d9a) 80%, transparent); text-decoration-thickness: 3px; }
@keyframes glitchA {
  0%, 86%, 100% { transform: none; clip-path: inset(0 0 0 0); opacity: 0; }
  87% { opacity: 0.9; transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); }
  89% { opacity: 0.9; transform: translate(2px, -1px); clip-path: inset(60% 0 8% 0); }
  91% { opacity: 0; }
}
@keyframes glitchB {
  0%, 87%, 100% { transform: none; opacity: 0; }
  88% { opacity: 0.85; transform: translate(3px, 0); clip-path: inset(40% 0 30% 0); }
  90% { opacity: 0.85; transform: translate(-2px, 1px); clip-path: inset(5% 0 70% 0); }
  92% { opacity: 0; }
}

.status { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.status li {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
  background: rgba(11, 15, 22, 0.7);
}
.status li b { color: var(--fg); font-weight: 600; }
.status li.is-on { border-color: color-mix(in srgb, var(--accent-strong) 50%, var(--line)); }
.status li.is-on b { color: var(--accent-strong); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; color: var(--fg); background: var(--bg-raised);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 8px 13px;
  transition: border-color var(--fast), background var(--fast), color var(--fast);
}
.btn:hover { border-color: var(--accent); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #05070b; border-color: var(--accent); font-weight: 700; }
.btn-primary:hover { background: #8ff9ff; }
.btn-quiet { background: transparent; color: var(--muted); }
.btn-danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.btn-danger:hover { border-color: var(--bad); }

/* ============================================================
   The room
   ============================================================ */
.room {
  --glow: var(--circuit, var(--accent));
  --phosphor: #42ffb3;
  --lamp-x: 80%;
  position: relative; isolation: isolate;
  margin-top: 22px;
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 68% 30%, color-mix(in srgb, var(--glow) 9%, transparent), transparent 70%),
    radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, 0.035), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.011) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, transparent 0 139px, rgba(0, 0, 0, 0.32) 139px 141px),
    linear-gradient(180deg, #0b0e15 0%, #090c12 70%, #07090e 100%);
  transition: background 1.2s ease-in-out;
}
.room[data-glow="cyan"] { --glow: var(--circuit-cyan); }
.room[data-glow="green"] { --glow: var(--circuit-green); }
.room[data-glow="pink"] { --glow: var(--circuit-pink); }
.room[data-glow="lavender"] { --glow: var(--circuit-lavender); }
.room[data-glow="yellow"] { --glow: var(--circuit-yellow); }
.room[data-glow="cherry"] { --glow: var(--circuit-cherry); }
.room[data-phosphor="amber"] { --phosphor: #ffb43a; }
.room[data-phosphor="cyan"] { --phosphor: #42f5ff; }

/* The lamp throws warm light on the wall and the desk where it stands. */
.room::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(34% 60% at var(--lamp-x) 92%, rgba(255, 196, 110, 0.13), transparent 70%);
  opacity: 0; transition: opacity 0.5s ease-out;
}
.room.lamp-on::after { opacity: 1; }

/* ---------- The scene ----------
   Left column: the wall bracket and the window, then the computer
   standing on the desk. Right column: the board, hung on the wall
   above the free half of the desk. The desk top runs under both. */
.scene {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  grid-template-areas: "left board" "monitor board";
  column-gap: 30px; row-gap: 18px;
  padding: 24px 28px 0;
}
.wall-left {
  grid-area: left;
  display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 18px; align-items: center;
}

.bracket {
  position: relative; min-height: 84px;
  display: grid; place-items: center;
}
.bracket.is-empty::before {
  content: "( empty bracket )";
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: #3a4252;
}
.bracket.is-empty::after {
  content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 0;
  border-top: 1px dashed #262d39; transform: translateY(14px);
}

.window {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 9px solid #141923; border-radius: 3px;
  background: linear-gradient(180deg, #05040f 0%, #100a26 42%, #2a0e30 78%, #43142f 100%);
  box-shadow: 0 0 0 1px #04060a, inset 0 0 26px rgba(0, 0, 0, 0.75), 0 14px 30px rgba(0, 0, 0, 0.5);
}
.room[data-weather="snow"] .window { background: linear-gradient(180deg, #0b0d1a 0%, #1a1a33 50%, #2c2340 100%); }
.skyline, .weather, .glass { position: absolute; inset: 0; }
.skyline svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 80%; }
.skyline .lit { animation: windowFlicker 7s infinite steps(1); }
.skyline .lit:nth-child(3n) { animation-delay: -2.2s; animation-duration: 11s; }
@keyframes windowFlicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.2; } 95% { opacity: 1; } 96% { opacity: 0.3; } }

/* Mullions over everything, so the weather is out there and not in here. */
.glass {
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), #141923 calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(180deg, transparent calc(44% - 3px), #141923 calc(44% - 3px) calc(44% + 3px), transparent calc(44% + 3px)),
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.03));
}
.room[data-weather="rain"] .glass {
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), #141923 calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(180deg, transparent calc(44% - 3px), #141923 calc(44% - 3px) calc(44% + 3px), transparent calc(44% + 3px)),
    radial-gradient(circle at 22% 30%, rgba(200, 220, 255, 0.35) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 70% 18%, rgba(200, 220, 255, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 64%, rgba(200, 220, 255, 0.3) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 35% 76%, rgba(200, 220, 255, 0.28) 0 2px, transparent 3px),
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.03));
}

.weather i { position: absolute; top: 0; display: block; pointer-events: none; }
.weather .drop {
  width: 1px; height: var(--h, 14px);
  background: linear-gradient(transparent, rgba(190, 215, 255, 0.6));
  animation: drop var(--t, 0.8s) linear infinite; animation-delay: var(--d, 0s);
}
@keyframes drop {
  from { transform: translate(0, -30px) rotate(12deg); }
  to { transform: translate(-60px, 320px) rotate(12deg); }
}
.weather .flake {
  width: var(--h, 3px); height: var(--h, 3px); border-radius: 50%;
  background: rgba(240, 244, 255, 0.85);
  animation: flake var(--t, 7s) linear infinite; animation-delay: var(--d, 0s);
}
@keyframes flake {
  0% { transform: translate(0, -10px); }
  50% { transform: translate(14px, 150px); }
  100% { transform: translate(-6px, 310px); }
}
.weather .star {
  width: var(--h, 2px); height: var(--h, 2px); border-radius: 50%;
  background: #fff; opacity: 0.7;
  animation: twinkle var(--t, 4s) ease-in-out infinite; animation-delay: var(--d, 0s);
}
.weather .moon {
  width: 26px; height: 26px; border-radius: 50%; top: 14%; left: 64%;
  background: radial-gradient(circle at 38% 38%, #fffbe8, #e8dfc0 60%, #c9bf9f);
  box-shadow: 0 0 22px rgba(255, 245, 210, 0.45);
}
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

/* ---------- Bulletin board ---------- */
.board {
  grid-area: board;
  position: relative; display: flex; flex-direction: column;
  /* Hangs on the wall and stops short of the desk top. */
  margin-bottom: calc(var(--surface-h) + 14px);
  padding: 10px; border-radius: 6px;
  background: linear-gradient(#20252f, #141820);
  box-shadow:
    0 0 0 1px #04060a, inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 46px -14px color-mix(in srgb, var(--glow) 55%, transparent);
  transition: box-shadow 1.2s ease-in-out;
}
/* Hazard tape across one corner, because someone always tapes the corner. */
.board::after {
  content: ""; position: absolute; z-index: 3; pointer-events: none;
  width: 128px; height: 20px; top: 14px; right: -30px; transform: rotate(38deg);
  background: repeating-linear-gradient(-45deg, #e8c21c 0 10px, #111 10px 20px);
  opacity: 0.88; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.board-bar { display: flex; align-items: center; gap: 12px; padding: 2px 4px 10px; }
.board-bar .label { color: #8d96a6; white-space: nowrap; }
.board-count { font-family: var(--font-mono); font-size: 0.66rem; color: var(--dim); }
.btn-pin { margin-left: auto; margin-right: 54px; padding: 6px 11px; white-space: nowrap; }

.cork {
  position: relative; flex: 1; min-height: 380px; overflow: hidden; border-radius: 3px;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.28) 0 1px, transparent 1.6px) 0 0 / 7px 7px,
    radial-gradient(circle at 70% 60%, rgba(255, 220, 170, 0.09) 0 1px, transparent 1.6px) 0 0 / 11px 11px,
    radial-gradient(circle at 40% 80%, rgba(0, 0, 0, 0.3) 0 1.3px, transparent 2px) 0 0 / 13px 13px,
    radial-gradient(120% 90% at 50% 40%, #6a4b30, #48311d 70%, #33220f);
  box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}

/* Anything pinned to the cork: notes, and knick-knacks that live on boards. */
/* Positions are fractions of the cork, kept far enough from the edges that a
   desk arranged on a wide screen doesn't fall off a narrow one. */
.pinned {
  position: absolute; top: calc(var(--y) * 100%);
  left: clamp(var(--half, 0px), calc(var(--x) * 100%), calc(100% - var(--half, 0px)));
  z-index: var(--z, 1);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.5)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
  transition: transform var(--fast), filter var(--fast);
}
.pinned:hover, .pinned:focus-visible { transform: translate(-50%, -50%) rotate(0deg) scale(1.06); z-index: 400; }
.pinned:focus-visible { outline-offset: 6px; }
.pinned.is-dragging {
  cursor: grabbing; z-index: 500; transition: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1.08);
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.55));
}
.pin {
  position: absolute; z-index: 2; top: 4px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px;
  border-radius: 50%; --pin: var(--glow);
  background: radial-gradient(circle at 35% 32%, #fff 0 1.4px, var(--pin) 3.2px, color-mix(in srgb, var(--pin) 55%, #000) 100%);
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.55), 0 0 9px color-mix(in srgb, var(--pin) 70%, transparent);
}
.tape {
  position: absolute; z-index: 2; top: -7px; left: 50%; width: 56px; height: 16px; margin-left: -28px;
  background: rgba(235, 230, 205, 0.55); transform: rotate(-4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.note { width: var(--note-w, 140px); --half: calc(var(--note-w, 140px) / 2 + 2px); }
.paper { min-height: 108px; padding: 20px 12px 14px; color: #17171b; }
.note-text {
  white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-hand);
  font-size: 0.9rem; line-height: 1.3; max-height: 8.2em; overflow: hidden;
}
.note[data-kind="sticky"] .paper {
  background: linear-gradient(172deg, rgba(255, 255, 255, 0.2), transparent 38%), var(--paper);
  border-bottom-right-radius: 14px 6px;
}
.note[data-color="acid"] { --paper: var(--paper-acid); }
.note[data-color="pink"] { --paper: var(--paper-pink); }
.note[data-color="cyan"] { --paper: var(--paper-cyan); }
.note[data-color="orange"] { --paper: var(--paper-orange); }
.note[data-color="lilac"] { --paper: var(--paper-lilac); }

.note[data-kind="receipt"] { --note-w: 132px; }
.note[data-kind="receipt"] .paper {
  padding: 14px 11px 22px;
  background: linear-gradient(180deg, #f1eee4, #e4dfd0);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.note[data-kind="receipt"] .note-text { font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.4; max-height: 11.5em; }
.receipt-head, .receipt-foot {
  font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.08em; text-align: center;
  color: #55524a; text-transform: uppercase;
}
.receipt-head { border-bottom: 1px dashed #9c978a; padding-bottom: 5px; margin-bottom: 7px; }
.receipt-foot { border-top: 1px dashed #9c978a; padding-top: 5px; margin-top: 8px; }

.note[data-kind="card"] { --note-w: 164px; }
.note[data-kind="card"] .paper {
  padding: 26px 12px 10px; min-height: 104px;
  background:
    linear-gradient(transparent 21px, #e98c97 21px 22px, transparent 22px),
    repeating-linear-gradient(transparent 0 17px, #b8d0ea 17px 18px) 0 4px,
    #fbfaf4;
}
.note[data-kind="card"] .note-text { line-height: 18px; font-size: 0.86rem; max-height: 90px; }

.board-item { width: var(--w); --half: calc(var(--w) / 2 + 2px); padding: 0; background: none; border: 0; color: var(--tone); }
.board-item .art { display: block; width: 100%; height: auto; }

/* ---------- The desk top ---------- */
.surface {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--surface-h); z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 22px 30px -22px rgba(0, 0, 0, 0.9);
  background:
    repeating-linear-gradient(97deg, transparent 0 46px, rgba(255, 255, 255, 0.018) 46px 47px),
    radial-gradient(14% 30% at 22% 70%, rgba(0, 0, 0, 0.25), transparent 70%),
    linear-gradient(180deg, #10131a, #161a22 60%, #1b1f28);
}
.room[data-finish="steel"] .surface {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #1a1f27, #262c36 60%, #2d343f);
}
.room[data-finish="wood"] .surface {
  background:
    radial-gradient(6% 18% at 64% 40%, rgba(0, 0, 0, 0.35), transparent 70%),
    repeating-linear-gradient(178deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(181deg, rgba(255, 210, 160, 0.04) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, #241509, #34200f 60%, #3d2613);
}
.lamp-light {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(22% 110% at var(--lamp-x) 30%, rgba(255, 205, 130, 0.32), transparent 72%);
  mix-blend-mode: screen; transition: opacity 0.4s ease-out;
}
.room.lamp-on .lamp-light { opacity: 1; }

.monitor { grid-area: monitor; position: relative; z-index: 3; padding-bottom: calc(var(--surface-h) * 0.4); }
.bezel {
  position: relative; z-index: 1;
  padding: 14px 14px 0; border-radius: 14px;
  background: linear-gradient(#1b2029, #11151c);
  box-shadow: 0 0 0 1px #04060a, inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 44px rgba(0, 0, 0, 0.6);
}
.screen {
  position: relative; height: 304px; overflow: hidden; border-radius: 8px;
  background: radial-gradient(120% 100% at 50% 40%, #071010, #020405 80%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 0 0 2px #04060a,
    0 0 34px -8px color-mix(in srgb, var(--phosphor) 35%, transparent);
}
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.24) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55));
}
.win {
  position: absolute; inset: 10px; display: flex; flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--phosphor) 32%, transparent); border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
}
.win-bar {
  display: flex; align-items: center; gap: 8px; padding: 3px 4px 3px 9px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--phosphor); border-bottom: 1px solid color-mix(in srgb, var(--phosphor) 28%, transparent);
  background: color-mix(in srgb, var(--phosphor) 9%, transparent);
}
.win-title { margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-sep { opacity: 0.5; }
.win-btn {
  position: relative; z-index: 3;
  font-family: var(--font-mono); font-size: 0.66rem; color: var(--phosphor);
  background: none; border: 0; padding: 2px 5px; cursor: pointer;
}
.term {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.45;
  color: var(--phosphor);
  text-shadow: 0 0 6px color-mix(in srgb, var(--phosphor) 55%, transparent);
}
.term-out {
  flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px 2px;
  white-space: pre-wrap; overflow-wrap: anywhere;
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--phosphor) 40%, transparent) transparent;
}
.term-out .dim { opacity: 0.6; }
.term-out .err { color: #ff7a8a; text-shadow: 0 0 6px rgba(255, 90, 110, 0.5); }
.term-out .hi { color: #fff; }
.term-out .echo::before { content: attr(data-prompt) " "; opacity: 0.6; }
.term-out a, .term-out .tlink {
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-shadow: inherit;
}
.term-out .tlink.is-dir { font-weight: 700; }
.term-in { position: relative; z-index: 3; display: flex; gap: 8px; padding: 3px 10px 8px; }
.prompt { flex: none; opacity: 0.75; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-in input {
  flex: 1; min-width: 0; padding: 0;
  background: transparent; border: 0; outline: none;
  color: inherit; font: inherit; text-shadow: inherit; caret-color: var(--phosphor);
}
.term-in:focus-within { background: color-mix(in srgb, var(--phosphor) 6%, transparent); }

.chin { display: flex; align-items: center; gap: 12px; padding: 9px 4px 11px; }
.plate { font-family: var(--font-mono); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.3em; color: #4a5160; flex: none; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.quick button, .quick a {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: #0a0d13; text-decoration: none; cursor: pointer;
  border: 1px solid #262c38; border-radius: 4px; padding: 4px 8px;
  transition: color var(--fast), border-color var(--fast);
}
.quick button:hover, .quick a:hover { color: var(--phosphor); border-color: color-mix(in srgb, var(--phosphor) 50%, #262c38); }
.led { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #3b1419; box-shadow: inset 0 0 2px #000; }
.room.is-linked .led { background: var(--phosphor); box-shadow: 0 0 8px var(--phosphor); }

.stand { display: block; }
.neck {
  display: block; width: 74px; height: 30px; margin: 0 auto;
  background: linear-gradient(90deg, #0d1016, #1f252f 45%, #0d1016);
}
.foot {
  display: block; width: 210px; height: 14px; margin: 0 auto; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(#1f252f, #11151c);
  box-shadow: 0 9px 14px rgba(0, 0, 0, 0.6), 0 0 0 1px #04060a;
}

/* Maximized: the screen becomes a proper window over the page. */
.monitor.is-max .bezel {
  position: fixed; z-index: 90;
  top: 72px; bottom: 24px; left: max(16px, calc(50% - 470px)); right: max(16px, calc(50% - 470px));
  display: flex; flex-direction: column;
}
.monitor.is-max .screen { flex: 1; height: auto; }
.monitor.is-max .term { font-size: 0.86rem; }
.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(3, 5, 9, 0.78); backdrop-filter: blur(4px);
}

/* ---------- Things on the desk ---------- */
.items {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--surface-h); z-index: 4;
  pointer-events: none;
}
.item {
  --k: 1;
  position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%);
  z-index: var(--z, 1); width: var(--w);
  transform: translate(-50%, -100%) scale(calc(var(--s, 1) * var(--k)));
  transform-origin: 50% 100%;
  padding: 0; background: none; border: 0; color: var(--tone);
  cursor: grab; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none;
}
.item::after {
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -4px; height: 10px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
}
.item.is-dragging { cursor: grabbing; z-index: 300; }
.item.is-dragging .art { transform: translateY(-6px); }
.item:focus-visible { outline-offset: 4px; }
.item.is-new .art { animation: dropIn 0.7s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes dropIn { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }

.art { display: block; width: 100%; height: auto; overflow: visible; transition: transform var(--fast); }
.item .art, .board-item .art, .wall-item .art {
  filter: drop-shadow(0 0 3px color-mix(in srgb, currentColor 55%, transparent));
}
.art .o { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art .s { fill: #0d1119; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.art .f { fill: currentColor; fill-opacity: 0.16; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.art .h { fill: currentColor; }
.art .ink { fill: #12141a; }
.art .paper-fill { fill: #ece7d6; }
.art .t { fill: currentColor; font-family: var(--font-mono); font-weight: 700; }
.art .tk, .art .tp { fill: #12141a; font-family: var(--font-mono); font-weight: 700; }
.art .duck { fill: currentColor; }
.art .neon-back { fill: #090b11; stroke: #1e2430; }

/* Pixel-filter sprites: a small canvas scaled up without smoothing. */
.sprite { display: block; width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; }

/* Each knick-knack does one small thing when poked. */
.item.is-poked .anim-wave { animation: wave 0.35s ease-in-out 4 alternate; transform-origin: 70% 90%; transform-box: fill-box; }
@keyframes wave { from { transform: rotate(-18deg); } to { transform: rotate(14deg); } }
.item.is-poked .anim-steam { animation: steam 1.6s ease-out; }
.anim-steam { opacity: 0; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-10px); } }
.item.is-poked .anim-hop { animation: hop 0.5s ease-out 2; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-8px) rotate(-6deg); } }
.item.is-poked .anim-spin, .room.is-linked .anim-spin { animation: spin 1.1s linear infinite; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.room.is-linked .item[data-id="drive"] .anim-led { fill: var(--phosphor); }
.item .anim-led { animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.item.is-poked .anim-reel { animation: spin 0.9s linear 2; transform-box: fill-box; transform-origin: 50% 50%; }
.item.is-poked .anim-sweep { animation: sweep 0.6s ease-in-out 3 alternate; transform-box: fill-box; transform-origin: 0% 100%; }
@keyframes sweep { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
.item.is-poked .anim-wiggle, .board-item.is-poked .anim-wiggle { animation: wiggle 0.25s ease-in-out 4 alternate; transform-box: fill-box; transform-origin: 50% 0%; }
@keyframes wiggle { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.room:not(.lamp-on) .item[data-id="lamp"] .bulb { fill-opacity: 0.1; }
.room.lamp-on .item[data-id="lamp"] .bulb { fill: #ffe7b0; fill-opacity: 1; filter: drop-shadow(0 0 6px #ffd27a); }

/* The wall's one bracket, and the neon that can hang from it. */
.wall-item { width: min(100%, var(--w)); color: var(--tone); background: none; border: 0; padding: 0; cursor: pointer; }
.wall-item .art { filter: drop-shadow(0 0 4px currentColor) drop-shadow(0 0 14px currentColor); }
.wall-item .flicker { animation: neonFlicker 9s infinite steps(1); }
@keyframes neonFlicker { 0%, 90%, 100% { opacity: 1; } 91% { opacity: 0.25; } 92% { opacity: 1; } 94% { opacity: 0.4; } 95% { opacity: 1; } }

/* A caption that floats over whatever was poked. */
.caption {
  position: absolute; z-index: 70; max-width: 240px; pointer-events: none;
  padding: 8px 11px; border-radius: 7px;
  font-size: 0.8rem; line-height: 1.35; color: var(--fg);
  background: rgba(5, 7, 11, 0.95); border: 1px solid color-mix(in srgb, var(--glow, var(--accent)) 55%, var(--line));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 22px -8px var(--glow, var(--accent));
  transform: translate(-50%, calc(-100% - 10px));
  animation: captionIn 0.18s ease-out;
}
.caption b { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow, var(--accent)); }
@keyframes captionIn { from { opacity: 0; transform: translate(-50%, calc(-100% - 2px)); } }

/* ---------- Desk front and drawer ---------- */
.desk-front {
  position: relative; z-index: 2; height: 34px;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, #0c0f15, #07090d);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.room[data-finish="steel"] .desk-front { background: linear-gradient(180deg, #1b2028, #0f1217); }
.room[data-finish="wood"] .desk-front { background: linear-gradient(180deg, #2a180b, #170c04); }
/* Underglow: the strip along the front edge in the chosen colour. */
.desk-front::after {
  content: ""; position: absolute; left: 3%; right: 3%; bottom: 0; height: 2px;
  background: var(--glow); border-radius: 2px;
  box-shadow: 0 0 10px var(--glow), 0 0 26px var(--glow), 0 6px 40px color-mix(in srgb, var(--glow) 60%, transparent);
  transition: background 1.2s ease-in-out, box-shadow 1.2s ease-in-out;
}
.drawer-handle {
  position: relative; z-index: 1; margin-top: 7px; height: 20px; padding: 0 16px;
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: #8a93a3; background: linear-gradient(#2a303b, #161a21);
  border: 1px solid #04060a; border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.6);
}
.drawer-handle:hover { color: var(--fg); }
.handle-grip { width: 22px; height: 4px; border-radius: 2px; background: #0a0c10; box-shadow: inset 0 1px 1px #000; }
.drawer-handle[aria-expanded="false"] .handle-grip { background: var(--glow); box-shadow: 0 0 6px var(--glow); }

.drawer {
  position: relative; padding: 18px 24px 26px;
  background:
    repeating-linear-gradient(-45deg, rgba(232, 194, 28, 0.9) 0 8px, #0b0e14 8px 16px) top / 100% 4px no-repeat,
    linear-gradient(180deg, #0a0d13, #080a0f);
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px;
  box-shadow: inset 0 18px 22px -16px rgba(0, 0, 0, 0.9);
}
.drawer[hidden] { display: none; }
.room.drawer-shut { border-radius: 16px; border-bottom: 1px solid var(--line); }
.room.drawer-shut .desk-front { border-radius: 0 0 16px 16px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.tabs [role="tab"] {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  transition: color var(--fast), border-color var(--fast), background var(--fast);
}
.tabs [role="tab"]:hover { color: var(--fg); border-color: var(--dim); }
.tabs [role="tab"][aria-selected="true"] { color: #05070b; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.tab-n { opacity: 0.75; font-weight: 400; }
.panel-note { margin: 0 0 16px; color: var(--dim); font-size: 0.88rem; max-width: 70ch; }

.stash {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}
.stash li {
  position: relative; display: grid; grid-template-rows: 96px auto; gap: 8px;
  padding: 12px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.stash .thumb { display: grid; place-items: center; color: var(--tone); }
.stash .thumb .art { width: auto; max-width: 92%; max-height: 92px; }
.stash .thumb .art { filter: drop-shadow(0 0 3px color-mix(in srgb, currentColor 55%, transparent)); }
.stash li.is-locked .thumb { color: var(--locked); }
.stash li.is-locked .thumb .art { filter: none; opacity: 0.8; }
.stash li.is-locked .thumb .art * { fill-opacity: 0.02; }
.stash h3 { font-size: 0.92rem; }
.stash p { margin: 3px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.stash .lock { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.stash .btn { margin-top: 10px; justify-self: start; padding: 6px 10px; font-size: 0.64rem; }
.stash .new {
  position: absolute; top: 9px; right: 9px;
  font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #05070b; background: var(--accent-strong); border-radius: 3px; padding: 1px 6px;
  box-shadow: 0 0 10px var(--accent-strong);
}

.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.jobs li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline;
  padding: 12px 4px; border-bottom: 1px solid var(--line);
}
.jobs .box { font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); }
.jobs li.is-done .box { color: var(--accent-strong); text-shadow: 0 0 8px var(--accent-strong); }
.jobs li.is-done .job-title { text-decoration: line-through; text-decoration-color: var(--dim); color: var(--muted); }
.job-title { font-weight: 600; font-size: 0.95rem; }
.job-hint { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.job-reward { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; margin-top: 4px; }
.job-side { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px; white-space: nowrap;
}
.tag.is-off { color: var(--warm); border-color: color-mix(in srgb, var(--warm) 35%, var(--line)); }
.job-go { font-size: 0.8rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.job-go:hover { text-decoration: underline; }

/* ---------- Settings ---------- */
.settings { display: grid; gap: 16px; }
.settings fieldset, .note-dialog fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.settings legend, .note-dialog legend {
  float: left; width: 100%; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim);
}
.chip-opt input, .swatch-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span {
  display: inline-block; cursor: pointer; font-size: 0.82rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
  transition: color var(--fast), border-color var(--fast), background var(--fast);
}
.chip-opt:hover span { color: var(--fg); border-color: var(--dim); }
.chip-opt input:checked + span { color: #05070b; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.chip-opt input:focus-visible + span, .swatch-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch-opt span {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 0.82rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 5px;
}
.swatch-opt span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--sw);
  box-shadow: 0 0 8px color-mix(in srgb, var(--sw) 60%, transparent);
}
.swatch-opt:hover span { color: var(--fg); border-color: var(--dim); }
.swatch-opt input:checked + span { color: var(--fg); border-color: var(--fg); }

.ownership { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.ownership .panel-note { margin-top: 8px; }
.own-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Note dialog ---------- */
.note-dialog {
  width: min(440px, calc(100vw - 32px)); padding: 20px;
  color: var(--fg); background: var(--bg-raised);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px -12px var(--accent);
}
.note-dialog::backdrop { background: rgba(3, 5, 9, 0.72); backdrop-filter: blur(3px); }
.note-dialog form { display: grid; gap: 14px; }
.note-dialog textarea {
  width: 100%; resize: vertical; min-height: 110px;
  font-family: var(--font-hand); font-size: 1rem; line-height: 1.35;
  color: #17171b; background: var(--paper-acid);
  border: 0; border-radius: 4px; padding: 12px;
}
.note-dialog textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.note-dialog[data-kind="receipt"] textarea { font-family: var(--font-mono); font-size: 0.85rem; background: #ece8dc; }
.note-dialog[data-kind="card"] textarea { background: #fbfaf4; }
.note-left { margin: -8px 0 0; font-family: var(--font-mono); font-size: 0.64rem; color: var(--dim); text-align: right; }
.dialog-actions { display: flex; gap: 8px; align-items: center; }
.dialog-actions .spacer { flex: 1; }
.note-dialog[data-mode="new"] #note-unpin { display: none; }

/* ---------- Toasts ---------- */
.toasts {
  position: fixed; left: 16px; bottom: 16px; z-index: 100;
  display: grid; gap: 8px; width: min(400px, calc(100vw - 32px));
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 14px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.4;
  color: var(--fg); background: rgba(5, 7, 11, 0.96);
  border: 1px solid color-mix(in srgb, var(--tone, var(--accent)) 60%, var(--line));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 26px -8px var(--tone, var(--accent));
  animation: toastIn 0.55s ease-out;
}
.toast .t-tag { color: var(--tone, var(--accent)); white-space: nowrap; }
.toast .t-body { flex: 1; min-width: 0; }
.toast .t-body small { display: block; color: var(--muted); font-size: 0.7rem; }
.toast button {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); background: none; border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 4px 8px; cursor: pointer;
}
.toast.is-leaving { animation: toastOut 0.25s ease-in forwards; }
@keyframes toastIn {
  0% { opacity: 0; transform: translateX(-14px) skewX(-10deg); filter: hue-rotate(90deg); }
  25% { opacity: 1; transform: translateX(5px) skewX(5deg); }
  45% { transform: translateX(-2px); filter: hue-rotate(-40deg); }
  100% { transform: none; filter: none; }
}
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--dim); font-size: 0.84rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: baseline; }
.footer-inner a { color: var(--muted); }
.noscript { color: var(--warm); }

/* ============================================================
   Narrower screens
   ============================================================ */
@media (max-width: 900px) {
  .scene {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "left" "board" "monitor";
    padding: 20px 20px 0;
  }
  .wall-left { grid-template-columns: minmax(0, 1fr) 200px; }
  .board { margin-bottom: 0; }
  .monitor { width: 100%; max-width: 600px; justify-self: center; }
}

@media (max-width: 680px) {
  :root { --surface-h: 132px; }
  .shell { padding: 0 16px; }
  .intro { padding: 28px 16px 4px; }
  .header-inner { padding: 11px 16px; }
  .scene { padding: 14px 12px 0; row-gap: 14px; }
  .wall-left { grid-template-columns: minmax(0, 1fr); }
  .wall-left:not(:has(.wall-item)) { display: none; }
  .window { display: none; }
  .bracket { min-height: 0; }
  .cork { min-height: 440px; }
  .note { --note-w: 116px; }
  .note[data-kind="card"] { --note-w: 136px; }
  .note[data-kind="receipt"] { --note-w: 116px; }
  .note-text { font-size: 0.82rem; }
  .btn-pin { margin-right: 40px; }
  .board::after { width: 96px; right: -26px; top: 10px; }
  .screen { height: 330px; }
  .chin { flex-wrap: wrap; }
  .quick { margin-left: 0; order: 3; width: 100%; }
  .item { --k: 0.82; }
  .board-item { width: calc(var(--w) * 0.8); --half: calc(var(--w) * 0.4 + 2px); }
  .board-bar { gap: 8px; }
  .board-bar .label { letter-spacing: 0.12em; }
  .drawer { padding: 16px 14px 22px; }
  .jobs li { grid-template-columns: 22px minmax(0, 1fr); }
  .job-side { grid-column: 2; justify-content: flex-start; }
  .monitor.is-max .bezel { top: 12px; bottom: 12px; left: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .weather .drop, .weather .flake { animation: none; transform: translateY(calc(var(--y0, 0.5) * 300px)) rotate(12deg); }
  .glitch::before, .glitch::after { display: none; }
}
