/* Joash Jobson. Style guide (minimal):
   Colour: warm off-white paper, charcoal text, two greys for sub-text and rules, and ONE accent (a calm steel blue) used
   sparingly for buttons, links and the current page. A pale blue tint is the only highlight. Solid fills only, no gradients or glows.
   Type: one family, Geist, for everything; hierarchy comes from size and weight. Geist Mono for small labels.
   Reading lines stay around 50 to 75 characters. Lots of white space.
   Shape: square corners, 1px rules, no drop shadows. Pages are left-aligned on a 12-column grid. */
:root {
  --bg: #FAF9F6;
  --panel: #FFFFFF;
  --sunk: #F0EEE9;
  --ink: #2A2B2D;
  --muted: #6E6F72;
  --line: #E3E1DB;
  --accent: #2F5D8A;
  --accent2: #244A70;
  --pop: #D6E4F0;
  --on-pop: #1F2B38;
  --gold: #C2B02E;
  --warn: #C8462E;
  --on-accent: #FFFFFF;
  --good: #3F7A35;
  --display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Geist Mono", ui-monospace, monospace;
  --arcade-pixel: "Silkscreen", ui-monospace, monospace;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1200px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1D1F; --panel: #232427; --sunk: #17181A; --ink: #ECEBE7; --muted: #9C9DA1; --line: #34353A;
    --accent: #9DBEDD; --accent2: #B7D0E8; --gold: #D9C98A; --warn: #E8907A; --on-accent: #1C1D1F; --good: #9CC79A; --pop: #2E3D4D; --on-pop: #DCE8F3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1D1F; --panel: #232427; --sunk: #17181A; --ink: #ECEBE7; --muted: #9C9DA1; --line: #34353A;
  --accent: #9DBEDD; --accent2: #B7D0E8; --gold: #D9C98A; --warn: #E8907A; --on-accent: #1C1D1F; --good: #9CC79A; --pop: #2E3D4D; --on-pop: #DCE8F3;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }

/* Type */
.label, .eyebrow { font-family: var(--pixel); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 8px; }
.eyebrow .bits { display: inline-flex; gap: 2px; }
.px { display: inline-block; width: 8px; height: 8px; vertical-align: middle; }
.px.o { background: var(--accent); } .px.t { background: var(--accent2); } .px.l { background: var(--pop); }
.name { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 7.5vw, 92px); line-height: .98; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.name em { font-style: normal; color: var(--accent); }
h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1; margin: 0; text-wrap: balance; }
h2 em { font-style: normal; color: var(--accent); }
.lede { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 34em; }

/* Top bar: name on the left, links on the right, one rule under it */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; padding-left: var(--gut); padding-right: var(--gut-r); }
.home-link { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.home-link .pix { image-rendering: pixelated; background: var(--sunk); }
.toplinks { display: flex; align-items: center; gap: 4px; }
.toplinks a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 6px 10px; white-space: nowrap; }
.toplinks a:hover, .toplinks a[aria-current=page] { color: var(--ink); }
.toplinks a[aria-current=page] { box-shadow: inset 0 -2px 0 var(--accent); }
.theme { width: 36px; height: 36px; border: 1px solid transparent; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.theme:hover { color: var(--ink); border-color: var(--line); }

/* Buttons: flat rectangles. Primary is navy, the pop is chartreuse. */
.pbtn, .btn { font: 600 15px/1 var(--body); padding: 14px 20px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 0; transition: background .12s, color .12s, border-color .12s; }
.pbtn:hover, .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.hot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.small { padding: 10px 14px; font-size: 14px; }
.pbtn:disabled, .btn:disabled { opacity: .4; cursor: not-allowed; }
.pbtn:disabled:hover, .btn:disabled:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost:disabled:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.textlink { background: none; border: 0; padding: 0; font: 500 15px var(--body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--pop); text-decoration-thickness: 3px; text-underline-offset: 5px; cursor: pointer; }
.textlink:hover { text-decoration-color: var(--accent); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.head-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Home: a big hello across the top, then what Joash is doing right now as tiles of different sizes */
.home { max-width: var(--max); margin: 0 auto; padding: 64px var(--gut-r) 96px var(--gut); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.intro { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-bottom: 72px; }
.intro .name { grid-column: 1 / span 8; font-size: clamp(52px, 9vw, 128px); }
.intro .lede { grid-column: 9 / span 4; padding-bottom: 12px; }
.section-label { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; color: var(--ink); }
.tile { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 20px; min-width: 0; }
.tile-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.donate { grid-column: 1 / span 8; }
.board-tile.shaves { grid-column: 9 / span 4; }
.board-tile { display: grid; grid-template-rows: auto 1fr auto; }
.tile-more { justify-self: start; margin-top: 12px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--pop); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.tile-more:hover { text-decoration-color: var(--accent); }
.small { font-size: 13px; color: var(--muted); }

/* Fundraiser numbers in the shave page's side column */
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 14px 0; display: grid; gap: 2px; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.facts dd { margin: 0; }
.facts dd:not(.small) { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts dd.fact-text { font-size: 20px; padding-top: 6px; }

/* Donate tile: solid navy, the portrait stands on the bottom edge and runs off the right side */
.tile.donate { --t-ink: #FFFFFF; --t-soft: #C9CCD1; --t-line: rgba(255, 255, 255, .28);
  background: #2A2B2D; border-color: #2A2B2D; color: var(--t-ink); padding: 28px; overflow: hidden; min-height: 360px;
  display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: start; }
.donate .tile-copy { display: grid; gap: 16px; min-width: 0; position: relative; z-index: 1; align-self: start; }
.donate .label { color: var(--t-soft); }
.donate h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: .92; color: var(--t-ink); }
.donate h2 em { color: var(--pop); }
.tile-text { margin: 0; color: var(--t-soft); font-size: 16px; max-width: 26em; }
.tile-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.tbtn { font: 600 15px/1 var(--body); padding: 14px 18px; text-decoration: none; color: var(--t-ink); border: 1px solid var(--t-line); transition: background .12s, color .12s; }
.tbtn:hover { background: #FFFFFF; color: #2A2B2D; }
.tbtn.solid { background: var(--pop); color: var(--on-pop); border-color: var(--pop); }
.tbtn.solid:hover { background: #FFFFFF; border-color: #FFFFFF; color: #2A2B2D; }
.linkbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 10px 10px 10px 12px; border: 1px solid var(--t-line); max-width: 380px; }
.lb-label { grid-column: 1 / -1; font-family: var(--pixel); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--t-soft); white-space: nowrap; }
.lb-url { font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.lb-copy { font: 600 13px var(--body); padding: 8px 12px; border: 0; background: #FFFFFF; color: #2A2B2D; cursor: pointer; }
.lb-copy:hover { background: var(--pop); color: var(--on-pop); }
.tile-art-wrap { position: absolute; right: -20px; bottom: -1px; width: 280px; height: 280px; }
.tile-block { position: absolute; left: 53px; top: 18px; width: 178px; height: 178px; background: var(--pop); }
.tile-art { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; cursor: crosshair; touch-action: pan-y; }

/* Mini leaderboards inside tiles */
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { display: grid; grid-template-columns: 18px 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mini .rank { font-family: var(--pixel); font-size: 12px; color: var(--muted); }
.mini li:first-child .rank { color: var(--accent); }
.mini .pix { background: var(--sunk); }
.mini .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .val { font-family: var(--display); font-stretch: 108%; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 16px; }
.mini li.me { background: color-mix(in srgb, var(--pop) 35%, transparent); padding-inline: 8px; }

/* Shave page: a sticky column on the left with the heading and a step index, the steps on the right */
.shave { scroll-margin-top: 200px; max-width: var(--max); margin: 0 auto; padding: 48px var(--gut-r) 80px var(--gut); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.shave-head { position: sticky; top: 92px; display: grid; gap: 20px; }
.shave-head .name { font-size: clamp(44px, 5.4vw, 68px); }
.shave-head .lede { font-size: 17px; }
.stepnav { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stepnav a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 15px; }
.stepnav a:hover { color: var(--ink); }
.stepnav span { font-family: var(--pixel); font-size: 11px; color: var(--accent); }
.shave-main { min-width: 0; }
.step { border-top: 1px solid var(--ink); padding-block: 28px 48px; display: grid; gap: 18px; min-width: 0; scroll-margin-top: 80px; }
.step:first-child { border-top: 0; padding-top: 0; }
.step-h { margin: 0; display: flex; align-items: center; gap: 14px; font-size: clamp(28px, 3.4vw, 38px); }
.step-n { font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: 0; background: var(--pop); color: var(--on-pop); padding: 5px 7px 4px; flex: none; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); max-width: 40em; }
.points li { display: grid; grid-template-columns: 6px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.points li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: translateY(-2px); }
.points strong { color: var(--ink); font-weight: 600; }
.points a { color: var(--accent); text-underline-offset: 3px; }
.donate-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.donate-url { font-family: var(--mono); font-size: 13px; color: var(--accent); overflow-wrap: anywhere; text-decoration: none; }
.donate-url:hover { text-decoration: underline; text-underline-offset: 3px; }

.card { background: var(--panel); border: 1px solid var(--line); padding: 20px; min-width: 0; }
.card h3 { font-family: var(--pixel); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }

/* Game */
.hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.stat-g, .hud .stat { background: var(--sunk); padding: 8px 10px; min-width: 0; display: block; }
.hud .stat b { display: block; font-family: var(--mono); font-size: 20px; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; }
.hud .stat small { font-family: var(--pixel); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.meter { height: 6px; background: var(--line); margin-top: 6px; position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--accent2); }
.meter.bog i { background: var(--warn); }
.stage { position: relative; aspect-ratio: 1; max-width: 100%; background-color: var(--sunk); border: 1px solid var(--ink); overflow: hidden; }
.stage canvas { position: absolute; inset: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1; touch-action: none; cursor: none; image-rendering: pixelated; }
/* Before and after a run the box sits in the page flow, so the square grows taller when the box needs more room (small phones) */
.stage.menu { overflow: visible; display: grid; }
.stage.menu .overlay { position: relative; inset: auto; }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 72%, transparent); text-align: center; }
.overlay .box { background: var(--panel); border: 1px solid var(--ink); padding: 24px; max-width: 360px; width: 100%; display: grid; gap: 12px; justify-items: center; }
.overlay h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: 38px; line-height: 1; margin: 0; }
.overlay h4 em { font-style: normal; color: var(--accent); }
.overlay p { margin: 0; font-size: 14px; color: var(--muted); }
.overlay .btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bigtime { font-family: var(--display); font-weight: 600; font-size: 40px; font-variant-numeric: tabular-nums; }
.gamebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.gamebar .modechip { font-family: var(--pixel); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--line); }
.rules { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.rules li { display: flex; gap: 8px; align-items: baseline; }
.rules li::before { content: ""; width: 6px; height: 6px; background: var(--accent2); flex: none; transform: translateY(-2px); }

/* Arcade cabinet: the game keeps a dark navy case in both themes, with the pixel face on the scoreboard and labels */
.arcade {
  /* The game keeps its v13 WGS look: navy case, lime, Archivo and Silkscreen */
  --pop: #C8F03C; --on-pop: #0E1014; --display: "Archivo", "Arial Narrow", system-ui, sans-serif; --body: "Schibsted Grotesk", system-ui, sans-serif; --pixel: var(--arcade-pixel);
  --ink: #ECEEF5; --muted: #9AA1B4; --bg: #070A1C; --panel: #10173A; --sunk: #070A1C; --line: #26306A;
  --accent: #8EA9FF; --accent2: #5B83F0; --gold: #F2D84B; --warn: #FF7A5C; --on-accent: #070A1C;
  color: var(--ink); background: #0D1433; border: 1px solid #0D1433; padding: 16px;
}
.arcade .marquee { justify-content: center; font-size: 13px; letter-spacing: .08em; margin: 0 0 12px; padding: 10px 12px; background: #070A1C; color: var(--pop); gap: 12px; }
.arcade .marquee .coin { box-shadow: inset -3px -3px 0 rgba(0,0,0,.25); }
.arcade .hud .stat b { font-family: var(--pixel); font-size: 18px; line-height: 1.5; color: var(--gold); }
.arcade .hud .stat:nth-child(2) b { color: var(--pop); }
.arcade .hud .stat:nth-child(3) b { color: var(--accent); }
.arcade .hud .stat:nth-child(4) b { color: var(--ink); font-size: 15px; }
.arcade .meter { background: #1C2550; }
/* The screen itself is light, so dark hair stands out; the clipper is drawn in dark ink on it */
.arcade .stage { border: 1px solid #26306A; background-color: #E4EBFC; background-size: 12.5% 12.5%;
  background-image: linear-gradient(rgba(10, 53, 160, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 53, 160, .07) 1px, transparent 1px); }
.arcade .stage canvas { --ink: #14161F; }
.arcade .overlay { z-index: 2; background: rgba(7, 10, 28, .72); }
.arcade .overlay .box { border: 1px solid var(--accent2); }
.arcade .blink { font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--pop); animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.arcade .bigtime { font-family: var(--pixel); font-size: 28px; font-weight: 400; color: var(--gold); }
.arcade .btn.hot { background: var(--pop); border-color: var(--pop); color: #0E1014; }
.arcade .btn.hot:hover { background: #FFFFFF; border-color: #FFFFFF; }
.arcade .btn.hot:disabled, .arcade .btn.hot:disabled:hover { background: transparent; border: 1px dashed var(--muted); color: var(--muted); opacity: 1; }
.arcade .btn.ghost { color: var(--ink); border-color: var(--ink); }
.arcade .btn.ghost:hover { background: var(--ink); color: #070A1C; }
.arcade .linkbtn { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .arcade .blink { animation: none; } }

/* Tokens + upload */
.tokbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--pop); font-size: 14px; margin: 0; }
.tokbar b { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.tokbar .next { color: var(--muted); }
.coin { width: 12px; height: 12px; flex: none; background: var(--gold); box-shadow: inset -3px -3px 0 rgba(0,0,0,.18), 0 0 0 2px var(--ink); }
form { display: grid; gap: 12px; }
label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
input[type=text], input[type=number], input[type=password] { font: 500 16px var(--body); padding: 11px 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 0; width: 100%; min-width: 0; }
input[type=text]:focus, input[type=number]:focus, input[type=password]:focus { border-color: var(--accent); outline: 1px solid var(--accent); }
.overlay input[type=text] { background: var(--bg); border-color: var(--line); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stepform { display: grid; gap: 12px; }
.drop { border: 1px dashed var(--muted); padding: 14px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; font-size: 14px; background: var(--panel); position: relative; }
.drop.big { display: grid; justify-items: start; text-align: left; gap: 4px; padding: 28px 24px; transition: border-color .12s, background .12s; }
.drop.big:hover, .drop.big.over { border-color: var(--accent); border-style: solid; }
.drop.big.busy { cursor: progress; border-style: solid; border-color: var(--accent); }
.drop-icon { display: grid; grid-template-columns: repeat(3, 8px); gap: 2px; margin-bottom: 8px; }
.drop-icon i { width: 8px; height: 8px; background: var(--accent); }
.drop-icon i:nth-child(2) { background: var(--accent2); transform: translateY(-6px); }
.drop-icon i:nth-child(3) { background: var(--pop); }
.drop.busy .drop-icon i { animation: hop .9s infinite ease-in-out; }
.drop.busy .drop-icon i:nth-child(2) { animation-delay: .15s; }
.drop.busy .drop-icon i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.drop-main { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: 20px; letter-spacing: -.01em; }
.drop-sub { font-size: 14px; font-weight: 400; color: var(--muted); max-width: 30em; }
.result { margin: 0; padding: 12px 14px; font-size: 14px; border: 1px solid var(--line); border-left-width: 4px; }
.result.ok { border-left-color: var(--good); }
.result.pending { border-left-color: var(--gold); }
.result.rejected { border-left-color: var(--warn); }
.pvbar { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 12px; border: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.pvbar select, .pvbar input { font: 500 13px var(--body); padding: 4px 8px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--ink); }
.pvbar input { width: 72px; }
.namefield { max-width: 360px; font-size: 13px; }
.empty { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.offline { max-width: var(--max); margin: 12px auto 0; padding: 0 16px; font-size: 14px; color: var(--warn); }
.stepform .pbtn { justify-self: start; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hint { font-weight: 400; font-size: 12px; color: var(--muted); margin: 0; }
.err { color: var(--warn); font-size: 13px; margin: 0; }
.receipts { list-style: none; margin: 0; padding: 0; display: grid; }
.receipts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.receipts img { width: 36px; height: 36px; object-fit: cover; border: 1px solid var(--line); }
.chip { font-family: var(--pixel); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 6px 2px; border: 1px solid currentColor; white-space: nowrap; }
.chip.ok { color: var(--good); }
.chip.wait { color: var(--muted); }
.chip.no { color: var(--warn); }
.chip.sample { color: var(--muted); }
.note { font-size: 12px; color: var(--muted); margin: 0; }

/* Avatar maker: big preview on the left, controls in a two-column grid. Colours are swatches; shapes use arrows. */
.pix { image-rendering: pixelated; display: block; }
.pix-small { image-rendering: auto; }
.maker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; padding: 20px; background: var(--panel); border: 1px solid var(--line); }
.maker-left { display: grid; gap: 12px; justify-items: stretch; }
.maker-preview { background: var(--sunk); }
.traits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; min-width: 0; }
.trait { display: grid; gap: 6px; min-width: 0; }
.tlabel { font-family: var(--pixel); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.tlabel b { font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.stepper { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: stretch; height: 40px; border: 1px solid var(--line); background: var(--bg); user-select: none; -webkit-user-select: none; }
.stepper button { width: 40px; height: 38px; padding: 0; background: none; color: var(--ink); border: 0; font: 500 20px/1 var(--body); cursor: pointer; display: grid; place-items: center; }
.stepper button:active { background: var(--pop); color: var(--on-pop); }
@media (hover: hover) { .stepper button:hover { background: var(--sunk); } .stepper button:active { background: var(--pop); } }
.tval { align-self: center; text-align: center; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-inline: 1px solid var(--line); line-height: 38px; }
.swatches { display: flex; flex-wrap: wrap; gap: 5px; }
.sw { width: 25px; height: 25px; padding: 0; border: 1px solid rgba(0, 0, 0, .18); background: var(--c); cursor: pointer; }
.sw[aria-checked=true] { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .sw:hover { outline: 1px solid var(--muted); outline-offset: 2px; } .sw[aria-checked=true]:hover { outline: 2px solid var(--ink); } }

/* Leaderboard */
.tabs { display: inline-flex; gap: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { font: 600 15px var(--body); background: none; border: 0; color: var(--muted); padding: 8px 0 10px; cursor: pointer; box-shadow: inset 0 -3px 0 transparent; }
.tabs button[aria-selected=true] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.boardhead { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.board-title { margin: 0; color: var(--ink); padding: 8px 0 10px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows .rank { font-family: var(--pixel); font-size: 13px; color: var(--muted); }
.rows li:nth-child(1) .rank { color: var(--accent); }
.rows .who { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .val { font-family: var(--display); font-stretch: 108%; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; }
.rows li.me { background: color-mix(in srgb, var(--pop) 35%, transparent); padding-inline: 10px; }
.youtag { font-family: var(--pixel); font-size: 9px; letter-spacing: .04em; margin-left: 10px; padding: 2px 5px 1px; vertical-align: 2px; background: var(--ink); color: var(--bg); }

footer { border-top: 1px solid var(--line); padding-block: 24px 40px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-links { display: flex; gap: 20px; }

/* Single-column pages (privacy, 404): left-aligned, readable width */
.simple { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut-r) 80px var(--gut); display: grid; gap: 28px; justify-items: start; }
.simple > * { max-width: 720px; }
.policy { gap: 28px; }
.policy-h { font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.policy-sec { border-top: 1px solid var(--line); padding-top: 20px; }
.policy-sec p { margin: 0 0 12px; line-height: 1.6; }
.policy-sec p:last-child { margin-bottom: 0; }
.nojs { max-width: 720px; margin: 48px auto; padding: 0 16px; color: var(--muted); }

/* Tablet */
@media (max-width: 960px) {
  .home { padding-top: 40px; }
  .intro { padding-bottom: 48px; }
  .intro .name, .intro .lede { grid-column: 1 / -1; }
  .donate, .board-tile.shaves { grid-column: 1 / -1; }
  .shave { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .shave-head { position: static; padding-bottom: 16px; }
  .stepnav { display: none; }
  .step:first-child { border-top: 1px solid var(--ink); padding-top: 28px; }
}
/* Phone: one column */
@media (max-width: 620px) {
  .home { gap: 8px; }
  .intro { padding-bottom: 32px; gap: 16px; }
  .tile { padding: 16px; }
  .tile.donate { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 0; min-height: 0; }
  .tile-art-wrap { position: relative; right: auto; bottom: auto; justify-self: end; width: 240px; height: 240px; margin: 8px -20px -1px 0; }
  .tile-block { left: 45px; top: 15px; width: 153px; height: 153px; }
  .lede { font-size: 17px; }
  .overlay { padding: 12px; }
  .overlay .box { padding: 16px; gap: 10px; }
  .overlay h4 { font-size: 30px; }
  .card.arcade { padding: 10px; }
  .arcade .hud .stat b { font-size: 14px; }
  .arcade .marquee { font-size: 11px; }
  .maker { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .maker-left { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
  .traits { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 14px; }
  .hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .pbtn, .tbtn, .drop.big { transition: none; }
  .drop.busy .drop-icon i { animation: none; }
}

/* Admin page (/admin) */
.adm { max-width: 960px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); }
.admin .topbar-in { max-width: 960px; }
.adm-login { max-width: 380px; display: grid; gap: 14px; margin: 24px 0; }
.adm-login input { font: 500 15px var(--body); padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--ink); }
.adm-login .pbtn { justify-self: start; }
.adm-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.adm-actions { display: flex; gap: 16px; }
.adm-msg { min-height: 1.6em; margin: 0 0 8px; font-size: 14px; color: var(--good); }
.adm-msg.bad { color: var(--warn); }
.adm-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.adm-card.with-img { grid-template-columns: 220px minmax(0, 1fr); }
.adm-note { color: var(--muted); font-size: 13px; }
.adm-img { background: var(--sunk); min-height: 120px; display: grid; place-items: center; overflow: hidden; font-size: 13px; color: var(--muted); }
.adm-img img { display: block; width: 100%; height: auto; }
.adm-info dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0 0 14px; font-size: 14px; }
.adm-info dt { color: var(--muted); }
.adm-info dd { margin: 0; overflow-wrap: anywhere; }
.adm-do { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.adm-do label { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.adm-do input { width: 110px; font: 500 15px var(--body); padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--ink); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 8px; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.adm-table tr.hidden td { color: var(--muted); text-decoration: line-through; }
.adm-table tr.hidden td:last-child { text-decoration: none; }
@media (max-width: 620px) {
  .adm-card.with-img { grid-template-columns: minmax(0, 1fr); }
  .adm-table { display: block; overflow-x: auto; }
}
.policy .eyebrow { margin-bottom: 16px; }

/* The top spot: one banner, held by the biggest single donation */
.topspot { grid-column: 1 / -1; background: var(--ink); color: var(--bg); padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "body cta"; gap: 12px 32px; align-items: end; margin-bottom: 40px; }
.topspot .label { color: var(--pop); }
.topspot .chip { color: var(--bg); opacity: .8; }
.ts-head { grid-area: head; display: flex; align-items: center; gap: 10px; }
.ts-body { grid-area: body; display: flex; gap: 16px; align-items: center; min-width: 0; }
.ts-logo { width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 4px; flex: none; }
.ts-text { min-width: 0; }
.ts-msg { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.6vw, 32px); line-height: 1.08; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ts-msg::before { content: "\201C"; color: var(--pop); }
.ts-msg::after { content: "\201D"; color: var(--pop); }
.ts-by { margin: 8px 0 0; font-size: 14px; opacity: .8; }
.ts-by a { color: var(--pop); text-underline-offset: 3px; }
.ts-cta { grid-area: cta; background: var(--pop); color: var(--on-pop); font: 600 14px/1 var(--body); padding: 12px 16px; text-decoration: none; white-space: nowrap; border: 1px solid var(--pop); }
@media (hover: hover) { .ts-cta:hover { background: transparent; color: var(--pop); } }
.topspot.draft { grid-template-areas: "head" "body"; grid-template-columns: minmax(0, 1fr); margin: 0; }
.step .topspot { margin: 0; }
.spotform { display: grid; gap: 14px; border: 1px solid var(--line); background: var(--panel); padding: 20px; }
.spotform .label { margin-top: 4px; }
input[type=file] { font: 14px var(--body); max-width: 100%; }
.count { font-weight: 400; color: var(--muted); font-size: 12px; }
.spotform label .count { float: right; }
.seg { display: inline-flex; border: 1px solid var(--ink); justify-self: start; }
.seg button { font: 600 14px/1 var(--body); padding: 11px 14px; background: none; color: var(--ink); border: 0; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-checked=true] { background: var(--ink); color: var(--bg); }
.spot-hint { margin-top: 12px; }
.past { margin-top: 8px; }
.past-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.past-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.past-list img { width: 28px; height: 28px; object-fit: contain; background: #fff; flex: none; }
.past-dot { width: 10px; height: 10px; margin: 6px 9px; background: var(--accent); flex: none; }
.past-list p { margin: 0; display: grid; gap: 2px; min-width: 0; }
.past-msg { font-weight: 600; overflow-wrap: anywhere; }
.past-by { font-size: 13px; color: var(--muted); }

/* Messages page: a wall of notes */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.msgs { max-width: var(--max); margin: 0 auto; padding: 64px var(--gut-r) 96px var(--gut); }
.msgs-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-bottom: 40px; }
.msgs-head .name { grid-column: 1 / span 8; }
.msgs-head .lede { grid-column: 9 / span 4; padding-bottom: 8px; }
.composer { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--ink); background: var(--panel); padding: 16px; margin-bottom: 32px; }
.composer-av { flex: none; background: var(--sunk); image-rendering: pixelated; }
.composer-fields { flex: 1; display: grid; gap: 8px; min-width: 0; }
.composer textarea { font: 500 17px/1.45 var(--body); padding: 11px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 0; width: 100%; resize: vertical; min-height: 84px; }
.composer input[type=text] { background: var(--bg); }
.composer textarea:focus { border-color: var(--accent); outline: 1px solid var(--accent); }
.composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wall { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 12px; }
.mnote { break-inside: avoid; margin: 0 0 12px; padding: 20px; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 20px; }
.mnote.navy { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.mnote.lime { background: var(--pop); color: var(--on-pop); border-color: var(--pop); }
.mnote.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.note-text { margin: 0; font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.mnote.short .note-text { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.02; letter-spacing: -.02em; }
.note-foot { display: flex; align-items: center; gap: 10px; }
.note-foot svg:first-child, .note-foot canvas { image-rendering: pixelated; background: rgba(127,127,127,.15); flex: none; }
.note-dot { width: 28px; height: 28px; background: currentColor; opacity: .2; flex: none; }
.note-by { display: grid; line-height: 1.25; font-size: 13px; min-width: 0; flex: 1; }
.note-by span { opacity: .7; font-family: var(--pixel); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.cheer { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--body); padding: 8px 10px; min-height: 36px; background: transparent; color: inherit; border: 1px solid currentColor; cursor: pointer; user-select: none; }
.cheer .heart { fill: none; stroke: currentColor; stroke-width: .18; }
.cheer.on .heart { fill: var(--warn); stroke: none; }
.mnote.navy .cheer.on .heart, .mnote.ink .cheer.on .heart { fill: var(--pop); }
.cheer.on { animation: pop .25s ease-out; }
@media (hover: hover) { .cheer:hover { background: rgba(127,127,127,.15); } }
.mnote.fresh { animation: drop-in .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-16px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes pop { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .mnote.fresh, .cheer.on { animation: none; } }
@media (max-width: 960px) {
  .msgs { padding-top: 40px; }
  .msgs-head .name, .msgs-head .lede { grid-column: 1 / -1; }
  .topspot { grid-template-areas: "head" "body" "cta"; grid-template-columns: minmax(0, 1fr); }
  .ts-cta { justify-self: start; }
}
@media (max-width: 620px) {
  .topspot { padding: 16px; margin-bottom: 24px; }
  .composer { padding: 12px; gap: 10px; }
  .composer-av { width: 40px; height: 40px; }
  .mnote.short .note-text { font-size: 26px; }
}

/* Messages video maker */
.vid-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.vid-stage canvas { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: var(--sunk); }
.vid-side { display: grid; gap: 20px; justify-items: start; }
.vid-side p { margin: 0; }
.vid-side .seg { margin-top: 8px; }
.vid-side .note { margin-top: 6px; }
.vid-prog { width: 100%; height: 10px; background: var(--sunk); }
.vid-prog span { display: block; height: 100%; background: var(--accent); }
@media (max-width: 960px) { .vid-grid { grid-template-columns: minmax(0, 1fr); } }

/* Message prompts and dedications */
.prompts { display: flex; flex-wrap: wrap; gap: 6px; }
.prompts button { font: 500 14px/1 var(--body); padding: 9px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; user-select: none; }
.prompts button[aria-checked=true] { background: var(--pop); color: var(--on-pop); border-color: var(--ink); }
@media (hover: hover) { .prompts button:hover { border-color: var(--ink); } }
.ded { display: flex; gap: 8px; flex-wrap: wrap; }
.ded select { font: 500 15px var(--body); padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 0; }
.ded input[type=text] { flex: 1; min-width: 160px; width: auto; }
.wall-filter { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
.note-prompt { margin: 0 0 -10px; font-family: var(--pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.note-ded { margin: 0; padding-left: 12px; border-left: 4px solid var(--pop); font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.mnote.lime .note-ded { border-left-color: var(--accent); }
.mnote.paper .note-ded { border-left-color: var(--accent); }
/* Phones: the filters sit in a 2-column grid so every one shows in full (no sideways scrolling). 1px gaps over the ink draw the lines. */
@media (max-width: 620px) { .wall-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink); width: 100%; } .wall-filter button { background: var(--bg); padding: 11px 8px; line-height: 1.2; } .wall-filter button + button { border-left: 0; } }
.adm-logo { object-fit: contain; background: #fff; display: block; }
.adm .label { margin: 24px 0 8px; }
/* On the home page the top spot is a slim strip, so Joash's intro stays the main thing */
.home > .topspot { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "head body cta"; align-items: center; padding: 12px 12px 12px 20px; gap: 20px; margin: -32px 0 32px; }
.home > .topspot .ts-msg { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.2; }
.home > .topspot .ts-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.home > .topspot .ts-by { margin: 0; font-size: 13px; }
.home > .topspot .ts-logo { width: 36px; height: 36px; padding: 2px; }
.home > .topspot .ts-cta { padding: 10px 14px; font-size: 13px; }
@media (max-width: 960px) {
  .home > .topspot { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "body cta"; margin-top: -16px; }
}
@media (max-width: 620px) {
  .home > .topspot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "cta"; padding: 14px 16px; margin: -8px 0 16px; }
}
/* The top spot keeps its ink-and-lime look in both themes */
.topspot { background: #2A2B2D; color: #FAF9F6; border: 1px solid var(--line); }
.topspot .label { color: #BFD6EA; }
.topspot .chip { color: #FAF9F6; }
.ts-by a { color: #BFD6EA; }
.ts-cta { background: #BFD6EA; color: #2A2B2D; border-color: #BFD6EA; }
@media (hover: hover) { .ts-cta:hover { background: transparent; color: #BFD6EA; } }
@media (max-width: 460px) { .home-link .surname { display: none; } }
/* Small phones (iPhone SE and similar): tighter top bar so the theme button never pokes past the edge */
@media (max-width: 360px) { .topbar-in { gap: 6px; } .toplinks { gap: 0; } .toplinks a { padding: 6px 6px; font-size: 14px; } .home-link { gap: 8px; } }
.cheer .heart { fill: currentColor; fill-opacity: .28; stroke: none; }
.cheer.on .heart { fill-opacity: 1; }
.spotform label { position: relative; }
.spotform label .count { float: none; position: absolute; right: 0; top: 0; }

/* Everything World's Greatest Shave keeps the v13 look (navy, ink, lime; Archivo, Schibsted Grotesk, Silkscreen) in both themes.
   The rest of the site uses the minimal palette above. */
.mnote.navy, .mnote.ink { --pop: #BFD6EA; --on-pop: #1F2B38; }
.donate, .topspot { --pop: #C8F03C; --on-pop: #0E1014;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif; --body: "Schibsted Grotesk", system-ui, sans-serif; --pixel: var(--arcade-pixel); --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-family: var(--body); }
.donate h2 { font-weight: 800; font-stretch: 108%; letter-spacing: -.03em; }
.tile.donate { --t-ink: #FFFFFF; --t-soft: #C9D6FB; background: #0A35A0; border-color: #0A35A0; }
.tbtn:hover, .tbtn.solid:hover, .lb-copy { color: #0A35A0; }
.topspot { background: #0E1014; color: #F3F3EF; }
.topspot .label, .ts-by a { color: #C8F03C; }
.topspot .chip { color: #F3F3EF; }
.ts-msg { font-weight: 800; font-stretch: 112%; }
.ts-cta { background: #C8F03C; color: #0E1014; border-color: #C8F03C; }
@media (hover: hover) { .ts-cta:hover { background: transparent; color: #C8F03C; } }

/* Logo: "J_" (a J and a terminal cursor) in a thin frame, cursor in the accent blue. Drawn as an exact outline (tools/make-icons.py),
   centred on its ink box, so it doesn't depend on the font loading. Same mark as the tab icons. */
.jmark { width: 28px; height: 28px; flex: none; display: block; color: var(--ink); }
.jmark .jm-c { fill: var(--accent); }

/* v17: goes left, on the game's start screen */
.overlay .goes { margin: 0; font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.overlay .goes b { color: var(--pop); font-size: 16px; margin-right: 4px; }
.overlay p a { color: inherit; }
.overlay p.soft-ask { font-size: 13px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); width: 100%; }
.overlay p.soft-ask a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.arcade .overlay p.soft-ask a { color: var(--accent2); }
.overlay p.dare { color: var(--ink); font-weight: 600; }
.policy-list { margin: 0 0 12px; padding-left: 20px; line-height: 1.6; }
.terms-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
