/* The launderette (chosen 28 November 2026). A tiled wall, a shop-sign fascia, a row of machines to choose
   from, a mustard formica counter, index cards pinned to a cork board, an "Out of order" card taped to the
   machine door on every code page, and a terrazzo floor for the footer. Dark mode is the launderette after
   hours: dark tiles, the fascia lit up. Colours are set once here; fonts are self-hosted (SIL OFL). */
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/kalam-700-latin-v5-3.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/work-sans-400-latin-v5-3.woff2) format("woff2"); }

:root {
  --wall: #f4f7f5; --grout: #e0e7e4; --ink: #1d2321; --muted: #4b524f; --line: #c5cfcb;
  --teal: #0d5f5a; --teal-dark: #062f2c; --teal-ink: #fff; --link: #0a5852;
  --counter: #f0c26a; --counter-edge: #c38f37; --counter-ink: #1d2321;
  --card-yellow: #fbe7a1; --card-pink: #f8d3cb; --card-blue: #d5e8f2; --card-white: #fff; --card-ink: #1d2321;
  --marker: #163684; --marker-red: #b3261e;
  --cork: #c9a27a; --cork-dot: #b48a60; --cork-frame: #8a6a47;
  --floor: #e7e2d8; --chip-1: #c3b8a6; --chip-2: #8fb0a7; --chip-3: #d8925d; --chip-4: #6c7a76;
  --machine: #fff; --machine-line: #1d2321; --glass: #cfe4ea; --glass-on: #8fd3dc; --suds: #3f8aa1;
  --notice: #fff; --notice-edge: #cdd6d2; --board: #24302e; --board-ink: #f4f7f5;
  --try: #1e7a3c; --engineer: #a0560a; --stop: #be2830; --info: #2c5c9c; --icon-cut: #fff;
  --font: "Work Sans", system-ui, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
}
@media (prefers-color-scheme: dark) {
  :root {
    --wall: #111a19; --grout: #172220; --ink: #e7eeeb; --muted: #aebbb7; --line: #2e3a37;
    --teal: #0a3d39; --teal-dark: #031a18; --teal-ink: #effffa; --link: #7fd6cb;
    --counter: #3b2f19; --counter-edge: #5d4a26; --counter-ink: #f2e7cf;
    --card-yellow: #e8d58e; --card-pink: #e5bdb4; --card-blue: #bfd5e0; --card-white: #e4e6e1; --card-ink: #18201d;
    --marker: #15337c; --marker-red: #9e1f18;
    --cork: #4a3a2a; --cork-dot: #3a2d20; --cork-frame: #2c2117;
    --floor: #1b2321; --chip-1: #2c3633; --chip-2: #2b4440; --chip-3: #4d3423; --chip-4: #3a4542;
    --machine: #24302e; --machine-line: #dce5e2; --glass: #2d4a50; --glass-on: #3f8d97; --suds: #8fd0dd;
    --notice: #18211f; --notice-edge: #33403c; --board: #0b1312; --board-ink: #e7eeeb;
    --try: #55c97f; --engineer: #f1a646; --stop: #ff7a7a; --info: #8bb8f3; --icon-cut: #111a19;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 1.0625rem/1.62 var(--font); background-color: var(--wall);
  background-image: linear-gradient(var(--grout) 1px, transparent 1px), linear-gradient(90deg, var(--grout) 1px, transparent 1px);
  background-size: 56px 56px; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
main:focus { outline: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--wall); padding: .5rem .9rem; z-index: 9; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1rem; }
.measure { max-width: 46rem; }
h1, h2, h3 { font-family: var(--hand); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin: .5rem 0 1rem; }
h2 { font-size: 1.75rem; margin: 2.4rem 0 .6rem; }
h3 { font-size: 1.3rem; margin: 1.4rem 0 .3rem; }
p { margin: 0 0 .9rem; }
ul, ol { padding-left: 1.3rem; }
li { margin: .3rem 0; }
strong { font-weight: 400; font-family: var(--hand); font-size: 1.12em; }
q { quotes: "\201C" "\201D"; }
.small { font-size: .93rem; }
.lede { font-size: 1.12rem; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.i-try { color: var(--try); } .i-engineer { color: var(--engineer); } .i-stop { color: var(--stop); } .i-info { color: var(--info); }

/* ---- the shop fascia */
.fascia { background: var(--teal); color: var(--teal-ink); border-bottom: 6px solid var(--counter-edge); }
.fascia-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.5rem; padding-top: .55rem; padding-bottom: .55rem; }
.logo { color: var(--teal-ink); text-decoration: none; display: grid; line-height: 1.05; }
.logo-word { font: 700 1.9rem var(--hand); }
.logo-sub { font-size: .85rem; }
@media (prefers-color-scheme: dark) { .logo-word { text-shadow: 0 0 10px rgba(130, 255, 230, .45); } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; }
.nav li { margin: 0; }
.nav a { color: var(--teal-ink); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: currentColor; }

/* ---- breadcrumbs and page heads */
.top-area { padding-top: 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; font-size: .95rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "\203A"; margin: 0 .5rem; color: var(--muted); }
.crumbs [aria-current] { color: var(--muted); text-decoration: none; }
.meta { color: var(--muted); margin-top: -.4rem; }
.intro { padding-top: 1.2rem; }
.quick { margin: .6rem 0 0; }

/* ---- the finder: pick a machine from the row, then the counter */
.finder { margin: 1rem 0 .5rem; }
.finder-h { margin: 0 0 .4rem; }
.machines { border: 0; margin: 0; padding: 0; min-width: 0; }
.machines legend { font-size: 1rem; padding: 0; margin-bottom: .4rem; }
.machine-row { display: grid; grid-template-columns: repeat(3, minmax(0, 9.5rem)); gap: 1rem; align-items: start; }
.machine { display: grid; justify-items: center; gap: .35rem; cursor: pointer; position: relative; padding: .5rem .3rem .2rem; border-radius: 6px; }
.machine input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.machine-svg { width: 100%; max-width: 8rem; height: auto; fill: none; stroke: var(--machine-line); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.m-body { fill: var(--machine); } .m-ring { fill: var(--machine); stroke-width: 3.2; } .m-glass { fill: var(--glass); }
.m-suds { stroke: var(--suds); } .m-dial, .m-tank, .m-handle { fill: var(--wall); } .m-led { fill: var(--ink); } .m-faint { stroke-opacity: .35; }
.m-name { font-size: .98rem; text-align: center; line-height: 1.2; }
.machine:has(input:checked) .m-glass { fill: var(--glass-on); }
.machine:has(input:checked) .m-led { fill: var(--counter); }
.machine:has(input:checked) .m-name { font: 700 1.15rem var(--hand); text-decoration: underline wavy var(--marker-red) 2px; text-underline-offset: .25em; }
.machine:has(input:checked) .machine-svg { transform: translateY(-4px); }
.machine:has(input:focus-visible) { outline: 3px solid var(--link); outline-offset: 2px; }
.counter { margin-top: .6rem; background-color: var(--counter); color: var(--counter-ink); padding: 1rem 1.1rem 1.1rem; border-bottom: 8px solid var(--counter-edge);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .8rem 1rem; align-items: end;
  background-image: radial-gradient(rgba(0, 0, 0, .06) 1px, transparent 1.5px); background-size: 7px 7px; }
.field { display: grid; gap: .25rem; min-width: 0; }
.field label { font-size: .95rem; }
.counter select, .counter input { font: 400 1.1rem var(--font); color: var(--card-ink); background: var(--card-white); border: 2px solid var(--card-ink); border-radius: 2px; height: 3.2rem; padding: 0 .7rem; width: 100%; }
.field-code input, .decoder input { font: 700 1.6rem var(--hand); letter-spacing: .06em; color: var(--marker); }
.field-code input { text-transform: uppercase; }
.counter input::placeholder { color: #5b6360; opacity: .6; }
.coin { font: 700 1.25rem var(--hand); color: var(--teal-ink); background: var(--teal); border: 0; border-radius: 3px; padding: .55rem 1.2rem; height: 3.2rem; cursor: pointer; box-shadow: 0 4px 0 var(--teal-dark); }
.coin:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-dark); }
.hint { color: var(--muted); font-size: .95rem; margin: .7rem 0 0; }
.results:empty { display: none; }
.results { margin-top: .8rem; background: var(--notice); border: 1px solid var(--notice-edge); padding: .8rem 1rem; }
.results p { margin: 0 0 .5rem; }
.results ul { list-style: none; padding: 0; margin: 0; }
.results li { margin: .35rem 0; }
.results .hit { font: 700 1.2rem var(--hand); }

/* ---- cork board with pinned index cards */
.board h2 { margin-bottom: .8rem; }
.notes { list-style: none; margin: 0; padding: 1.4rem 1rem 1.6rem; display: flex; flex-wrap: wrap; gap: 1.3rem 1.1rem; background-color: var(--cork);
  background-image: radial-gradient(var(--cork-dot) 1.2px, transparent 1.6px), radial-gradient(var(--cork-dot) 1px, transparent 1.4px);
  background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px; border: 8px solid var(--cork-frame); }
.note { margin: 0; flex: 1 1 12.5rem; max-width: 17rem; transform: rotate(var(--tilt)); }
.note:nth-child(3n+2) { flex-basis: 14.5rem; }
.note a { display: grid; gap: .1rem; height: 100%; position: relative; padding: 1.1rem .9rem .8rem; color: var(--card-ink); text-decoration: none; box-shadow: 0 4px 8px rgba(0, 0, 0, .22);
  --try: #1e7a3c; --engineer: #a0560a; --stop: #be2830; --info: #2c5c9c; --icon-cut: #fff; }
.note-yellow a { background: var(--card-yellow); } .note-pink a { background: var(--card-pink); } .note-blue a { background: var(--card-blue); } .note-white a { background: var(--card-white); }
.note a:hover .note-mean { text-decoration: underline; }
.pin { position: absolute; top: -6px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a80, #c62828 70%); box-shadow: 0 2px 2px rgba(0, 0, 0, .35); }
.note-code { font: 700 2.1rem/1 var(--hand); color: var(--marker); }
.note-who { font-size: .9rem; }
.note-mean { font-size: 1.02rem; }
.st { display: inline-flex; align-items: center; gap: .4rem; font-size: .93rem; }
.note .st { margin-top: .3rem; }

/* ---- the rules sign */
.rules .key { list-style: none; margin: 0; padding: 1.3rem 1.4rem; background: var(--notice); border: 3px solid var(--ink); border-radius: 4px; position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.rules .key::before, .rules .key::after { content: ""; position: absolute; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, var(--muted) 35%, var(--line) 40%); }
.rules .key::before { left: 8px; } .rules .key::after { right: 8px; }
.key li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .6rem; margin: 0; }
.key .ic { width: 1.6rem; height: 1.6rem; }
.key p { margin: .1rem 0 0; color: var(--muted); }

/* ---- lists of brands, machines, links */
.brands { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.brands li { margin: 0; }
.brands a { font: 700 1.3rem var(--hand); }
.machine-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 11rem)); gap: 1.2rem; }
.machine-links li { margin: 0; }
.machine-links a { display: grid; justify-items: center; gap: .4rem; color: var(--ink); text-decoration: none; }
.machine-links .machine-svg { max-width: 7rem; }
.machine-links a:hover .m-name { text-decoration: underline; }
.brand-list { list-style: none; padding: 0; columns: 2 14rem; column-gap: 2rem; }
.brand-list li { margin: 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.brand-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; text-decoration: none; }
.brand-list b { font: 700 1.25rem var(--hand); }
.brand-list span { color: var(--muted); }
.links { padding-left: 1.2rem; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.index-list { list-style: none; padding: 0; max-width: 46rem; }
.index-list li { margin: 0; border-bottom: 1px solid var(--line); }
.index-list a { display: grid; padding: .7rem 0; text-decoration: none; color: var(--ink); }
.index-list b { font: 700 1.3rem var(--hand); color: var(--link); }
.index-list a:hover b { text-decoration: underline; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { margin: 0; }
.brand-app { display: grid; grid-template-columns: 7rem minmax(0, 46rem); gap: 0 1.6rem; align-items: start; border-top: 1px solid var(--line); padding-top: .4rem; margin-top: 1.6rem; }
.brand-app-pic .machine-svg { max-width: 7rem; margin-top: 2rem; }
.brand-app h2 a { color: var(--ink); text-decoration-color: var(--counter-edge); }
.contacts { list-style: none; padding: 0; }
.contacts li { display: flex; gap: .5rem; align-items: center; }

/* ---- code page: the machine door with the card taped on */
.scene { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 24rem); align-items: center; margin: .3rem 0 0; overflow-x: clip; padding: 14px 8px 12px 0; }
.door { width: 100%; height: auto; }
.door .d-ring { fill: var(--machine); stroke: var(--machine-line); stroke-width: 5; }
.door .d-glass { fill: var(--glass); stroke: var(--machine-line); stroke-width: 4; }
.door .d-water { fill: none; stroke: var(--suds); stroke-width: 4; stroke-linecap: round; }
.door .d-sock { fill: var(--card-pink); } .door .d-sock2 { fill: var(--card-blue); }
.door .d-shine { fill: none; stroke: #fff; stroke-opacity: .7; stroke-width: 6; stroke-linecap: round; }
.door .d-vane { stroke: var(--machine-line); stroke-width: 6; stroke-linecap: round; stroke-opacity: .5; }
.door .d-line, .door .d-faint { fill: none; stroke: var(--machine-line); stroke-width: 4; }
.door .d-faint { stroke-opacity: .3; }
.door .d-handle { fill: var(--wall); stroke: var(--machine-line); stroke-width: 4; }
.door .d-led { fill: var(--ink); }
.card { position: relative; margin-left: -4rem; background: var(--card-yellow); color: var(--card-ink); padding: 1.3rem 1.3rem 1rem; transform: rotate(-2deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .22); --try: #1e7a3c; --engineer: #a0560a; --stop: #be2830; --info: #2c5c9c; }
.tape { position: absolute; top: -12px; width: 82px; height: 26px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .06); }
.tape-l { left: -14px; transform: rotate(-24deg); } .tape-r { right: -14px; transform: rotate(20deg); }
.card p { margin: 0; }
.card-head { font: 700 1.35rem var(--hand); color: var(--marker-red); text-decoration: underline 3px; text-underline-offset: .2em; }
.card-code { font: 700 4.2rem/1 var(--hand); color: var(--marker); margin: .3rem 0 .1rem !important; word-break: break-word; }
.card-what { font: 700 1.3rem/1.25 var(--hand); color: var(--marker); }
.ticks { list-style: none; padding: 0; margin: .8rem 0 .6rem; }
.ticks li { display: flex; align-items: center; gap: .6rem; margin: .3rem 0; }
.box { width: 1.3rem; height: 1.3rem; border: 2px solid var(--card-ink); flex: none; position: relative; }
.box svg { position: absolute; left: -2px; top: -10px; width: 1.9rem; height: 1.9rem; fill: none; stroke: var(--marker); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ticks .ticked { font: 700 1.2rem var(--hand); color: var(--marker); }
.card-foot { font-size: .9rem; border-top: 1px solid rgba(0, 0, 0, .25); padding-top: .4rem; }
.flashes { margin: .6rem 0 0; color: var(--muted); max-width: 46rem; }

/* ---- reading column and side contents */
.page { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 14rem); gap: 3rem; justify-content: space-between; padding-bottom: 2rem; }
.reading { padding-top: 1.2rem; }
.answer { font-size: 1.18rem; line-height: 1.55; margin: 0 0 1.6rem; }
.side { position: sticky; top: 1rem; align-self: start; margin-top: 1.5rem; font-size: .95rem; }
.side h2 { font-size: 1.25rem; margin-top: 0; }
.side ul { list-style: none; padding: 0; margin: 0; border-left: 0; }
.side li { margin: .25rem 0; }
.notice { background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 40%), var(--notice); border: 1px solid var(--notice-edge); border-radius: 10px;
  padding: .3rem 1.3rem 1.2rem; box-shadow: 0 3px 10px rgba(0, 0, 0, .12); margin: 0 0 1.4rem; }
.notice h2 { margin-top: .8rem; }
.notice-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.4rem; align-items: start; }
.notice-body > div:only-child { grid-column: 1 / -1; }
.small-notice { padding: .9rem 1.2rem .3rem; }
.danger { display: flex; gap: .7rem; align-items: flex-start; border: 2px solid var(--stop); padding: .8rem 1rem .1rem; margin: 0 0 1.2rem; background: var(--notice); }
.danger .ic { width: 1.6rem; height: 1.6rem; margin-top: .1rem; }
.drawing { margin: 0 0 1rem; color: var(--machine-line); max-width: 26rem; }
.drawing svg { width: 100%; height: auto; display: block; }
.d-body { fill: var(--machine); } .drawing .d-ring { fill: var(--machine); } .drawing .d-glass { fill: var(--glass); } .drawing .d-water { stroke: var(--suds); }
.d-hole { fill: var(--ink); } .d-flap { fill: var(--wall); } .d-cap { fill: var(--counter); }
.d-flow { stroke: var(--suds); stroke-width: 4; stroke-dasharray: 3 7; }
.d-tray { fill: var(--card-blue); }
.d-label { fill: var(--ink); font-family: var(--hand); font-weight: 700; }
.drawing figcaption { font-size: .88rem; color: var(--muted); margin-top: .3rem; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 2.8rem; min-height: 2rem; margin: .8rem 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.2rem; width: 2rem; height: 2rem; display: grid; place-items: center;
  font: 700 1.25rem var(--hand); color: var(--marker-red); border: 2.5px solid var(--marker-red); border-radius: 52% 46% 55% 44%; transform: rotate(-6deg); }
@media (prefers-color-scheme: dark) { .steps li::before { color: #ff9c8f; border-color: #ff9c8f; } }
.safety-line { display: flex; gap: .6rem; align-items: center; margin: 0 0 .4rem; font-family: var(--hand); font-weight: 700; font-size: 1.15rem; }
.video { display: flex; gap: .6rem; align-items: center; }
.video .ic { width: 1.6rem; height: 1.6rem; }
.faq h3 { font-family: var(--font); font-weight: 400; font-size: 1.1rem; text-decoration: underline 2px var(--counter-edge); text-underline-offset: .3em; }
.code-list { list-style: none; padding: 0; }
.code-list li { margin: .5rem 0; }
.code-list a { display: inline-flex; gap: .7rem; align-items: center; }
.c, .chip { display: inline-block; font: 700 1.15rem var(--hand); color: var(--marker); background: var(--card-yellow); padding: .05rem .6rem; min-width: 3.6rem; text-align: center;
  transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .18); text-decoration: none; }
a.chip:hover { text-decoration: underline; }
.chip.plain { background: var(--card-white); color: var(--card-ink); box-shadow: none; border: 1px dashed var(--muted); transform: none; }
.sources { font-size: .95rem; }
.updated { color: var(--muted); font-size: .93rem; }

/* ---- tables, with a letter-board header row */
.table-wrap { overflow-x: auto; margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; background: var(--notice); }
caption { text-align: left; font-size: .9rem; color: var(--muted); caption-side: bottom; padding-top: .4rem; }
thead th { background: var(--board); color: var(--board-ink); font-weight: 400; text-align: left; padding: .55rem .7rem; letter-spacing: .02em;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 6px); }
td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.codes td:first-child { white-space: nowrap; }
tr:target td { background: var(--card-yellow); color: var(--card-ink); }

/* ---- decoder */
.decoder { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) auto; }
.dec-out { max-width: 46rem; }

/* ---- adverts */
.ad { margin: 1.6rem 0; min-height: 280px; }
.ad-label { font-size: .8rem; color: var(--muted); margin-bottom: .2rem; }

/* ---- footer: the terrazzo floor */
.site-foot { margin-top: 2.5rem; background: var(--floor); font-size: .97rem; padding-bottom: 2rem; border-top: 6px solid var(--counter-edge); }
.terrazzo { height: 34px; margin-bottom: 1.4rem;
  background-image: radial-gradient(var(--chip-1) 2px, transparent 2.5px), radial-gradient(var(--chip-2) 1.5px, transparent 2px), radial-gradient(var(--chip-3) 1.2px, transparent 1.7px), radial-gradient(var(--chip-4) 1px, transparent 1.5px);
  background-size: 23px 19px, 31px 27px, 17px 29px, 13px 11px; background-position: 0 0, 7px 11px, 3px 5px, 9px 2px; }
.foot-safety { display: flex; gap: .6rem; align-items: flex-start; font-family: var(--hand); font-weight: 700; font-size: 1.12rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
.foot-cols h2 { font-size: 1.25rem; margin: 1rem 0 .4rem; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin: .3rem 0; }
.foot-cols .two-col { columns: 2; column-gap: 1rem; }
.site-foot a { color: var(--ink); }
.legal { color: var(--muted); font-size: .9rem; margin-top: 1.4rem; max-width: 46rem; }

@media (max-width: 900px) {
  .page { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side { display: none; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .counter, .decoder { grid-template-columns: minmax(0, 1fr); }
  .coin { justify-self: start; }
  .rules .key { grid-template-columns: minmax(0, 1fr); }
  .notice-body { grid-template-columns: minmax(0, 1fr); }
  .scene { grid-template-columns: minmax(0, 1fr); }
  .door { max-width: 12rem; }
  .card { margin: -4.5rem 0 0 .6rem; }
  .two-lists { grid-template-columns: minmax(0, 1fr); }
  .machine-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .brand-app { grid-template-columns: minmax(0, 1fr); }
  .brand-app-pic { display: none; }
}
@media (max-width: 420px) {
  .machine-row { gap: .4rem; }
  .m-name { font-size: .88rem; }
  .card-code { font-size: 3.4rem; }
  .note { max-width: none; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .notice { padding: .3rem 1rem 1rem; }
  .nav ul { column-gap: .8rem; }
  .nav a { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .machine:has(input:checked) .machine-svg { transform: none; }
}
@media print {
  .fascia, .site-foot, .finder, .side, .ad, .scene .door { display: none; }
  body { background: #fff; color: #000; }
}
