  /* An illustrated place and one question about it. The view fills the window; the pieces over it are
     drawn the way the land is: an ink line, a flat fill. The question and its five answers sit at the
     foot, in the middle, where a thumb or a mouse lands. Everything else is small and at the top.
     Principles kept from space-viz (not its look): the scene is the product; one place for each thing;
     every step back is one step; nothing snaps (one curve, three durations). */
  :root {
    --ink: #1b2233; --ink-2: #4c556b; --paper: #fffdf7; --tint: #f3efe2; --rule: rgb(27 34 51 / .14);
    --accent: #f0562e;
    --c-sweet: #f0562e; --c-flowers: #f0357f; --c-high: #7a55f5; --c-snow: #4f93e6; --c-quiet: #f29a2e; --c-warm: #f2c230; --c-mild: #3cb38a; --c-dry: #f2c230; --c-fall: #d9622b;
    --k-sweet: #cf3d17; --k-flowers: #d4206b; --k-high: #6a45e8; --k-snow: #2f74d0; --k-quiet: #a85f00; --k-warm: #946a00; --k-mild: #17805d; --k-dry: #946a00; --k-fall: #b34713;   /* the same hues, deep enough to read as words */
    --ui: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --line: 1.6px solid var(--ink);
    --sticker: 0 3px 0 rgb(27 34 51 / .16);
    --ease: cubic-bezier(.2, .8, .2, 1); --t-quick: .15s; --t-base: .25s; --t-move: .4s;
    --gutter: 14px;
  }
  * { box-sizing: border-box; }
  html, body { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
  body { background: #cfe6f7; color: var(--ink); font: 500 15px/1.4 var(--ui); -webkit-font-smoothing: antialiased; font-kerning: normal; }
  h1, h2, h3, .a-when { text-wrap: balance; } p, li { text-wrap: pretty; } #date, .g-nums, .names, .cartouche small { font-variant-numeric: tabular-nums; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  [hidden] { display: none !important; }
  .stage { position: fixed; inset: 0; overflow: hidden; }
  .scene { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + var(--extra, 0px)); transform: translateY(calc(-1 * var(--lift, 0px))); transition: transform var(--t-move) var(--ease); }
  canvas#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
  canvas#gl.dragging { cursor: grabbing; }
  /* a park drawn ahead of time (tools/pictures.js): its pictures, one set showing, the next fading in over it */
  .pic-set { position: absolute; inset: 0; opacity: 0; transition: opacity .32s var(--ease); pointer-events: none; }
  .pic-set.on { opacity: 1; }
  .pic-set img { position: absolute; left: 0; width: 100%; height: auto; display: block; }
  body.pictured canvas#gl { opacity: 0; }
  /* the first picture: the rough pass arrives soft, and comes into focus as the sharp one lands, instead of popping */
  body:not([data-sharp="1"]):not(.pictured) canvas#gl { filter: blur(5px) saturate(.85); opacity: .9; }
  canvas#gl { transition: filter .55s var(--ease), opacity .55s var(--ease); }
  canvas.snap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }   /* the picture before, fading over the one after */
  html body:not([data-ready]) canvas#gl { opacity: 0; }   /* outranks the soft rule above: until its first picture the canvas is blank, and a blank canvas is black */
  /* while the land loads: its contour lines drawn in by hand where it will stand, under the title, and what is being drawn */
  .survey { position: absolute; left: 0; width: 100%; top: 50%; height: 50%; overflow: hidden; pointer-events: none; transition: opacity .6s var(--ease), visibility 0s .6s; }
  .survey path { fill: none; stroke: var(--ink); stroke-width: .8; stroke-linecap: round; opacity: .42; stroke-dasharray: 1 1; stroke-dashoffset: 1;
    animation: survey-draw .8s cubic-bezier(.45, 0, .2, 1) forwards, survey-hold 2.4s ease-in-out 1.6s infinite alternate; animation-delay: calc(var(--k) * 60ms + 80ms), calc(var(--k) * 60ms + 1s); }
  .survey path.ix { stroke-width: 1.4; opacity: .62; }
  @keyframes survey-draw { to { stroke-dashoffset: 0; } }
  @keyframes survey-hold { to { opacity: .2; } }
  .loading { position: absolute; left: 0; right: 0; top: calc(50% - 30px); margin: 0; text-align: center; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
    animation: survey-word .6s ease 0.5s backwards; transition: opacity .4s var(--ease), visibility 0s .4s; }
  @keyframes survey-word { from { opacity: 0; } }
  body[data-ready] :is(.survey, .loading) { opacity: 0; visibility: hidden; }
  @media (prefers-reduced-motion: reduce) { .survey path { animation: none; stroke-dashoffset: 0; } }
  .display { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-optical-sizing: auto; }
  button, input { font: inherit; color: inherit; }
  button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  button:focus-visible, input:focus-visible, canvas:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  svg { display: block; }

  /* a piece: paper, an ink line, a small shadow like a sticker's */
  .piece { background: var(--paper); border: var(--line); box-shadow: var(--sticker); }
  .round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
  .round:hover { background: var(--tint); } .round:active { transform: scale(.94); }
  .round svg { width: 18px; height: 18px; }
  .round.lit { background: var(--ink); color: var(--paper); }

  /* ---------- top: the name and the place; the date; two tools ---------- */
  .topbar { position: fixed; left: calc(var(--gutter) + env(safe-area-inset-left, 0px)); right: calc(var(--gutter) + env(safe-area-inset-right, 0px)); top: calc(var(--gutter) + env(safe-area-inset-top, 0px)); z-index: 20;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; pointer-events: none; }
  .topbar > * { pointer-events: auto; }
  .top { animation: drop calc(var(--t-move) * 1.5) var(--ease) backwards; }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
  .where { justify-self: start; min-width: 0; max-width: 100%; display: flex; align-items: center; height: 44px; border-radius: 999px; padding: 0 4px; gap: 10px; }
  /* the name is the way home: it signs the sheet at the bottom left, clear of the park's own pill (DECISIONS.md, entry 94) */
  .homemark { position: fixed; left: calc(var(--gutter) + 4px + env(safe-area-inset-left, 0px)); bottom: calc(var(--gutter) + 2px + env(safe-area-inset-bottom, 0px)); z-index: 6; padding: 6px 2px;
    font: 500 20px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: .01em; white-space: nowrap; color: var(--ink); text-decoration: none; -webkit-text-stroke: 5px #f7f0de; paint-order: stroke fill; }
  .homemark i { display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-left: 4px; transform: rotate(45deg) scale(.85); }
  @media (max-width: 1099px) { .homemark { display: none; } }   /* narrower, the question's panel has the bottom to itself */
  body.bare .homemark, body.card-shot .homemark, body.lab-on .homemark { display: none; }
  .pill-pic { flex: none; width: 26px; height: 26px; margin-left: -7px; border: var(--line); border-radius: 50%; object-fit: cover; }
  #where { display: flex; align-items: center; gap: 6px; min-width: 0; height: 34px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--tint); font-weight: 700; white-space: nowrap;
    transition: background-color var(--t-quick) var(--ease); }
  #where:hover, #when:hover { background: #ebe5d2; }
  /* the park's name, and where you stand under it, small: one form at every size, so it is whole before any script runs (entry 94) */
  #where .nm, #where small { display: none; }
  #where .nm-park { display: inline-flex; flex-direction: column; min-width: 0; line-height: 1.08; text-align: left; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
  #where .nm-park::after { content: attr(data-view); font-size: 12px; font-weight: 500; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
  .chev { flex: none; width: 14px; height: 14px; transition: transform var(--t-quick) var(--ease); }
  [aria-expanded="true"] > .chev { transform: rotate(180deg); }
  .when { width: 540px; display: flex; align-items: center; justify-content: space-between; height: 44px; border-radius: 999px; padding: 0 2px; animation-delay: .08s; }
  #date { display: inline-block; text-align: center; }   /* its width is set once, to the widest date, so nothing shifts as the days go by */
  #when { flex: none; padding: 0 12px; height: 34px; border-radius: 999px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color var(--t-quick) var(--ease); }
  .tools { justify-self: end; display: flex; gap: 8px; animation-delay: .16s; }
  .tools .round { width: 44px; height: 44px; background: var(--paper); border: var(--line); box-shadow: var(--sticker); }
  .tools .round:hover { background: var(--tint); }
  .tools .round[aria-pressed="true"] { background: var(--tint); color: var(--accent); }
  /* the year as a ruler beside the date: its months, and a mark at the day on screen. Press or drag along it */
  .year { position: relative; flex: 1; align-self: stretch; min-width: 120px; margin: 6px 8px 6px 4px; display: grid; grid-template-columns: repeat(12, 1fr);
    border-radius: 3px; cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none; transition: background-color var(--t-quick) var(--ease); }
  .year:hover, .year.held { background: var(--tint); }
  .year:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .year span { display: grid; align-items: end; justify-content: center; padding-bottom: 5px; border-left: 1px solid var(--rule); font: 500 10px/1 var(--mono); color: var(--ink-2); }
  .year span:first-child { border-left-color: transparent; }
  .year span::before { content: ""; position: absolute; top: 5px; width: 1px; height: 5px; margin-left: -.5px; background: var(--rule); }
  .yr-now { position: absolute; top: 2px; bottom: 2px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; border-radius: 1px; background: var(--accent); pointer-events: none; }
  /* the year's data (DECISIONS.md, entries 75, 85, 90): the date bar is one row at every size, as tall as the place's pill and the
     tools beside it. "Data" unrolls a sheet under it, the bar's own width: the month's figures, and a row each for snow,
     flowers and visitors with the days' warmth under them. Nothing else on the page moves when it opens */
  .yb, .yb-name, .yb-sheet, #yb-toggle { display: none; }
  .when { --p: .38; }
  body.yearly .when { position: relative; width: 680px; padding: 0 4px 0 2px; }
  body.yearly #yb-toggle { display: inline-flex; align-items: center; gap: 4px; width: auto; height: 34px; padding: 0 8px 0 11px; font: 700 13px/1 var(--ui); }
  #yb-toggle[aria-pressed="true"] { background: var(--tint); } #yb-toggle[aria-pressed="true"] .chev { transform: rotate(180deg); }
  /* the ruler in the bar: a quiet track with the months' letters and the day's mark, nothing else */
  body.yearly .year { margin: 7px 8px 7px 6px; border-radius: 4px; background: color-mix(in srgb, var(--tint) 60%, transparent); }
  body.yearly .year span { align-items: center; padding-bottom: 0; border-left: 0; } body.yearly .year span::before { display: none; }
  body.yearly .year .yb { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .yb path, .yb rect { vector-effect: non-scaling-stroke; transition: opacity var(--t-quick) var(--ease); }
  .yb-span { fill: color-mix(in srgb, var(--accent) 16%, transparent); stroke: var(--accent); stroke-width: 1; }   /* the days an open answer names */
  /* the sheet: it unrolls from the bar as the other sheets do, and rolls back up quicker than it came */
  body.yearly .yb-sheet { display: block; position: absolute; left: -1.6px; right: -1.6px; top: calc(100% + 7px); z-index: 12; padding: 12px 12px 6px; border-radius: 6px; will-change: transform, opacity, clip-path;
    opacity: 0; transform: translateY(-4px); clip-path: inset(0 0 100% 0 round 6px); visibility: hidden;
    transition: opacity .14s ease-in, transform .14s ease-in, clip-path .16s cubic-bezier(.4, 0, 1, 1), visibility 0s .16s; }
  body.yb-open .yb-sheet { opacity: 1; transform: none; clip-path: inset(-2px -2px -2px -2px round 6px); visibility: visible;
    transition: opacity .18s var(--ease), transform .3s cubic-bezier(.16, 1, .3, 1), clip-path .34s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  body.yb-open.popped .yb-sheet { opacity: 0; transform: translateY(-4px); clip-path: inset(0 0 100% 0 round 6px); visibility: hidden; transition: opacity .14s ease-in, transform .14s ease-in, clip-path .16s cubic-bezier(.4, 0, 1, 1), visibility 0s .16s; }   /* another sheet is open (the parks, the months, About): this one rolls up out of its way, and comes back after */
  .yb-sheet > * { opacity: 0; transition: opacity .12s ease-in; } body.yb-open .yb-sheet > * { opacity: 1; transition: opacity .24s var(--ease) .1s; }
  .yr-read { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 2px; font: 500 11.5px/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
  .yr-read b { font-weight: 700; color: var(--ink); }
  /* the day's own figures, always under the date as it changes: set on the sky with no box, so the top row stays one line and nothing
     moves (DECISIONS.md, entry 94). They are the month's, and say so. The open sheet carries them itself */
  .day-read { display: none; } :root { --read: 22px; }
  body.yearly .day-read { display: flex; justify-content: center; gap: 0 16px; position: absolute; left: 0; right: 0; top: calc(100% + 10px); font: 500 12px/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap;
    pointer-events: none; -webkit-text-stroke: 4px #f7f0de; paint-order: stroke fill; transition: opacity var(--t-base) var(--ease); }
  .day-read b { font-weight: 700; color: var(--ink); } .day-read i { font-style: normal; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; align-self: center; }
  body.yb-open .day-read, body.popped .day-read, body.bare .day-read, body.card-shot .day-read, body.lab-on .day-read { opacity: 0; }
  .yb-chart { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); height: 100px; margin-top: 10px; cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
  .yb-chart span { display: grid; align-items: end; justify-content: center; padding-bottom: 5px; border-left: 1px solid var(--rule); font: 500 10px/1 var(--mono); color: var(--ink-2); } .yb-chart span:first-of-type { border-left-color: transparent; }
  .yb-chart .yb { display: block; position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 20px); pointer-events: none; overflow: visible; }
  .yb-chart .yb-name { display: block; position: absolute; left: 4px; font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--k); pointer-events: none;
    text-shadow: 0 0 2px var(--paper), 0 0 2px var(--paper), 0 0 3px var(--paper); transition: opacity var(--t-quick) var(--ease); }
  .yb-chart .yr-now, body.yearly .year .yr-now { z-index: 1; }
  #labels .lab { transition: opacity var(--t-base) var(--ease); } #labels .lab.raised { opacity: 0; }
  .cartouche { transition: opacity var(--t-base) var(--ease); } body.yb-open .cartouche { opacity: 0; }   /* the park's name is under the open sheet: it steps aside */
  /* the play button says what it is */
  #play { display: inline-flex; align-items: center; gap: 4px; width: auto; height: 34px; padding: 0 11px 0 7px; font: 700 13px/1 var(--ui); }
  #play svg { width: 16px; height: 16px; }
  .yr-now::before { content: ""; position: absolute; left: 50%; top: -1px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--accent); transform: rotate(45deg); }

  /* a small sheet that opens under whatever opened it */
  /* a sheet unrolls from what opened it, its contents a beat behind; it rolls back up quicker than it came */
  .pop { will-change: transform, opacity, clip-path; position: fixed; top: calc(var(--gutter) + 52px + env(safe-area-inset-top, 0px)); z-index: 30; border-radius: 20px; padding: 8px; max-height: calc(100% - 100px); overflow: auto;
    opacity: 0; transform: translateY(-4px); clip-path: inset(0 0 100% 0 round 6px); visibility: hidden;
    transition: opacity .14s ease-in, transform .14s ease-in, clip-path .16s cubic-bezier(.4, 0, 1, 1), visibility 0s .16s; }
  .pop.on { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 6px); visibility: visible;
    transition: opacity .16s var(--ease), transform .26s cubic-bezier(.16, 1, .3, 1), clip-path .3s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  .pop > * { transition: opacity .12s ease-in, transform .12s ease-in; opacity: 0; transform: translateY(-6px); }
  .pop.on > * { opacity: 1; transform: none; transition: opacity .22s var(--ease) .08s, transform .3s cubic-bezier(.16, 1, .3, 1) .08s; }
  .pop.on .rows > *, .pop.on .months > * { animation: rowin .26s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(.08s + var(--r, 0) * 22ms); }
  @keyframes rowin { from { opacity: 0; transform: translateY(-5px); } }
  /* behind an open sheet on a phone: the paper, a little, so the sheet reads as on top; a tap on it closes the sheet */
  .scrim { position: fixed; inset: 0; z-index: 18; background: rgb(247 240 222 / .55); opacity: 0; visibility: hidden; transition: opacity .16s ease-in, visibility 0s .16s; -webkit-tap-highlight-color: transparent; }
  .scrim.on { opacity: 1; visibility: visible; transition: opacity .24s var(--ease), visibility 0s; }
  @media (min-width: 701px) { .scrim { display: none; } }
  #where[aria-expanded="true"], #when[aria-expanded="true"] { background: #e6dac0; }
  #places { left: calc(var(--gutter) + env(safe-area-inset-left, 0px)); width: min(772px, calc(100% - var(--gutter) * 2)); transform-origin: top left; padding: 10px 6px 8px; }
  .pl-head { display: flex; align-items: center; gap: 8px; padding: 0 6px; }
  .pl-head .chip { flex: none; height: 42px; padding: 0 14px; color: inherit; text-decoration: none; }
  /* ---------- cards: a place as a small picture of itself. The home page and the place picker use the same ones ---------- */
  .card { position: relative; display: grid; align-content: start; gap: 2px; padding: 8px 8px 11px; border: var(--line); border-radius: 22px; background: var(--paper); box-shadow: var(--sticker); color: inherit; text-decoration: none;
    transition: transform var(--t-base) var(--ease), rotate var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
  .card:nth-child(odd) { rotate: -1.2deg; } .card:nth-child(even) { rotate: 1deg; }                 /* set down by hand, like the choices */
  .card:hover, .card:focus-visible { rotate: 0deg; transform: translateY(-4px); box-shadow: 0 7px 0 rgb(27 34 51 / .16); }
  .card:active { transform: scale(.97); }
  .card-pic { position: relative; display: block; aspect-ratio: 4 / 3; border: var(--line); border-radius: 15px; overflow: hidden; background: linear-gradient(#8ccdf8, #fdeccb); }
  .card-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .card b { margin-top: 8px; padding: 0 4px; font: 600 19px/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
  .card small { padding: 0 4px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .card-pic em { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border: var(--line); border-radius: 999px; background: var(--paper); font: 700 11px/1.2 var(--ui); font-style: normal; }
  .card.here { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
  .strip .none { margin: 6px 6px 2px; font-size: 14px; color: var(--ink-2); }
  /* a few things hop on purpose: cards plop in one after another when the picker opens */
  .strip.fresh .card:nth-child(-n+5) { animation: plop .34s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 32ms); }   /* the first few, the ones in sight; the rest are simply there */
  @keyframes plop { from { opacity: 0; transform: translateY(12px) scale(.93); } 65% { opacity: 1; transform: translateY(-4px) scale(1.02); } }
  .pill-pic.spun { animation: picpop .55s var(--ease); }     /* not "pop": that is the sheets' class */
  @keyframes picpop { from { transform: scale(.5) rotate(-50deg); } 60% { transform: scale(1.16) rotate(8deg); } }
  .cards.strip { display: flex; align-items: stretch; gap: 12px; overflow-x: auto; padding: 12px 8px 12px; scroll-snap-type: x proximity; scrollbar-width: none; } .cards.strip::-webkit-scrollbar { display: none; }
  .cards.strip .card { flex: none; width: 172px; scroll-snap-align: center; }
  .cards.strip .card b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* a long name takes two lines and a long view one, so one far card can't make every card tall */
  .cards.strip .card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pl-go { flex: none; width: 42px; height: 42px; border: var(--line); } .pl-go[disabled] { opacity: .35; pointer-events: none; }
  @media (max-width: 700px), (pointer: coarse) { .pl-go { display: none; } }
  #months { left: 50%; margin-left: -150px; width: 300px; transform-origin: top center; }
  .pop h3 { margin: 8px 10px 6px; font: 700 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .pop p { margin: 8px 10px 6px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
  .rows { display: grid; gap: 2px; }
  .rows a { text-decoration: none; color: inherit; }
  .rows :is(button, a) { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 40px; padding: 6px 12px; border-radius: 12px; text-align: left; font-weight: 600;
    transition: background-color var(--t-quick) var(--ease); }
  .rows :is(button, a):hover, .rows :is(button, a).cur { background: var(--tint); }
  .rows :is(button, a)[aria-current="true"] { background: var(--ink); color: var(--paper); }
  .rows :is(button, a) small { font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
  .rows :is(button, a)[aria-current="true"] small { color: inherit; opacity: .75; }
  .rows :is(button, a):disabled { cursor: default; background: none; color: var(--ink-2); font-weight: 500; }
  .rows .sw { flex: none; width: 34px; height: 20px; border-radius: 999px; border: var(--line); background: var(--paper); position: relative; }
  .rows .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); transition: transform var(--t-quick) var(--ease); }
  .rows [aria-checked="true"] .sw { background: var(--accent); } .rows [aria-checked="true"] .sw::after { transform: translateX(14px); background: var(--paper); }
  .months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .months button { height: 42px; border-radius: 12px; font-weight: 600; transition: background-color var(--t-quick) var(--ease); }
  .months button:hover { background: var(--tint); } .months button[aria-current="true"] { background: var(--ink); color: var(--paper); }
  .find { width: 100%; height: 42px; padding: 0 16px; border: var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; outline: none; -webkit-appearance: none; appearance: none; }
  .find::placeholder { color: var(--ink-2); font-weight: 500; }
  .find:focus, .find:focus-visible { outline: none; border-color: var(--ink); box-shadow: none; background: #fffdf8; }
  #results { margin-top: 8px; }

  /* ---------- the foot, in the middle: the question, its five answers, and the answer in a bubble over them ---------- */
  .ask { position: fixed; left: 50%; bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); width: min(720px, calc(100% - var(--gutter) * 2)); transform: translateX(-50%);
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; z-index: 15; animation: rise calc(var(--t-move) * 1.5) var(--ease) .24s backwards; }
  @keyframes rise { from { opacity: 0; transform: translateX(-50%) translateY(10px); } }
  .tray { position: relative; z-index: 1; border-radius: 32px; padding: 14px; }   /* over the answer, so a flicked answer drops in behind it */
  .tray h2 { margin: 4px 0 13px; text-align: center; font: 600 24px/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.01em; }
  .choices { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 10px; }
  .choices button { --c: var(--accent); display: grid; justify-items: center; align-content: center; gap: 9px; min-height: 128px; padding: 12px 4px 11px; border: var(--line); border-radius: 22px; background: var(--paper);
    font: 700 15.5px/1.1 var(--ui); text-align: center; transition: transform var(--t-base) var(--ease), background-color var(--t-quick) var(--ease), box-shadow var(--t-base) var(--ease); }
  .choices button svg { width: 64px; height: 64px; }
  .choices button:nth-child(odd) { rotate: -1.4deg; } .choices button:nth-child(even) { rotate: 1.1deg; }   /* set down by hand, not on a grid */
  .choices button { transition-property: transform, background-color, box-shadow, rotate; }
  .choices button:hover, .choices button[aria-pressed="true"] { rotate: 0deg; }
  .choices button:hover { background: color-mix(in srgb, var(--c) 9%, var(--paper)); transform: translateY(-3px); }
  .choices button:active { transform: scale(.96); }
  .choices button[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 20%, var(--paper)); transform: translateY(-6px); box-shadow: 0 6px 0 rgb(27 34 51 / .16); }
  .choices .short { display: none; }
  /* left alone for a few seconds, they hop one after another: an invitation to press one */
  .choices.nudge button { animation: nudge .75s var(--ease) both; animation-delay: calc(var(--i, 0) * 95ms); }
  @keyframes nudge { 28% { transform: translateY(-12px) rotate(-3deg) scale(1.04, .97); } 52% { transform: translateY(0) scale(.96, 1.05); } 74% { transform: translateY(-4px) rotate(1.5deg); } }
  /* the illustrations move a little: a wiggle under the pointer, a hop when chosen, and each its own small trick */
  .choices svg * { transform-box: fill-box; transform-origin: center; }
  .choices button:hover svg { animation: wiggle .5s var(--ease); }
  .choices button[aria-pressed="true"] svg { animation: hop .5s var(--ease); }
  .choices button:is(:hover, [aria-pressed="true"]) .turn { animation: turn 7s linear infinite; }
  .choices button:is(:hover, [aria-pressed="true"]) .fall { animation: fall 1.5s linear infinite; }
  .choices button:is(:hover, [aria-pressed="true"]) .bob { animation: bob .8s var(--ease) infinite alternate; }
  .choices button:is(:hover, [aria-pressed="true"]) .twinkle { animation: twinkle 1.1s var(--ease) infinite alternate; }
  @keyframes wiggle { 30% { transform: rotate(-9deg); } 65% { transform: rotate(7deg); } }
  @keyframes hop { 40% { transform: translateY(-8px) scale(1.06, .95); } 72% { transform: translateY(0) scale(.96, 1.05); } }
  @keyframes turn { to { transform: rotate(360deg); } }
  @keyframes fall { from { transform: translateY(-3px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(6px); opacity: 0; } }
  @keyframes bob { to { transform: translateY(-2.5px); } }
  @keyframes twinkle { to { transform: scale(1.14) rotate(14deg); } }
  /* the answer */
  .answer { position: relative; border-radius: 24px; touch-action: pan-x; }   /* sideways is the chips' own scroll; down is ours */
  .answer.pulled { transform-origin: 50% 100%; cursor: grabbing; }
  @media (pointer: coarse) { .answer::before { content: ""; position: absolute; left: 50%; top: 5px; width: 34px; height: 4px; margin-left: -17px; border-radius: 2px; background: rgb(27 34 51 / .2); z-index: 1; } }   /* a handle: it can be pulled down */
  .fold { overflow: hidden; border-radius: inherit; }
  .answer .in { padding: 16px 52px 14px 20px; }
  .a-head { display: flex; align-items: center; gap: 14px; }
  /* the chosen illustration rides along as a sticker, and keeps doing its trick */
  .a-art { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border: var(--line); border-radius: 50%; background: color-mix(in srgb, var(--c, var(--accent)) 24%, var(--paper)); rotate: -7deg; animation: sway 2.6s ease-in-out infinite alternate; }
  .a-art svg { width: 44px; height: 44px; } .a-art svg * { transform-box: fill-box; transform-origin: center; }
  .a-art .turn { animation: turn 7s linear infinite; } .a-art .fall { animation: fall 1.5s linear infinite; }
  .a-art .bob { animation: bob .8s var(--ease) infinite alternate; } .a-art .twinkle { animation: twinkle 1.1s var(--ease) infinite alternate; }
  @keyframes sway { to { rotate: 6deg; } }
  .a-when { font: 600 46px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.015em; }
  #a-text { margin: 8px 0 0; font: 500 16px/1.45 var(--ui); text-wrap: pretty; }
  .a-more { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: var(--line); border-radius: 999px; background: var(--paper); font: 600 13.5px/1 var(--ui); white-space: nowrap;
    transition: background-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
  .chip:hover { background: var(--tint); } .chip:active { transform: scale(.96); }
  .chip small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .chip.quiet { border-color: transparent; background: var(--tint); }
  .answer .x { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border: var(--line); background: var(--paper); z-index: 2; }
  .answer .x svg { width: 14px; height: 14px; }
  .answer .tail { position: absolute; left: var(--tail, 50%); bottom: -8.5px; width: 15px; height: 15px; margin-left: -7.5px; background: var(--paper); border-right: var(--line); border-bottom: var(--line);
    transform: rotate(45deg); border-bottom-right-radius: 3px; transition: left var(--t-move) var(--ease); }
  #a-deep { margin-top: 12px; padding-top: 12px; border-top: 1.6px dashed var(--rule); display: grid; gap: 9px; }
  #a-why { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
  /* Every answer is a sentence, and every sentence has one phrase that answers: bold, in its topic's colour. */
  b.key { font-weight: 800; color: var(--k, var(--ink)); }
  .says { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; line-height: 1.35; }
  .day-h { font: 700 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

  /* ---------- the style lab: the drawing's own settings, each with a lever, and the marks drawn large ---------- */
  .stylelab { position: fixed; right: calc(var(--gutter) + env(safe-area-inset-right, 0px)); top: calc(var(--gutter) + 54px + env(safe-area-inset-top, 0px)); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
    width: 348px; border-radius: 26px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr) auto; overflow: hidden; z-index: 25; animation: labin var(--t-move) var(--ease); }
  @keyframes labin { from { opacity: 0; transform: translateY(12px); } }
  .lab-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 10px 9px 16px; }
  .lab-head .mark { font: italic 600 20px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
  .lab-acts { display: flex; align-items: center; gap: 5px; } .lab-acts .chip { height: 30px; padding: 0 11px; font-size: 13px; } .lab-acts .x { width: 30px; height: 30px; border: var(--line); } .lab-acts .x svg { width: 13px; height: 13px; }
  #lab-spec { display: block; width: 100%; height: 150px; border-top: var(--line); border-bottom: var(--line); }
  .lab-tabs { display: flex; gap: 5px; padding: 10px 12px 4px; overflow-x: auto; scrollbar-width: none; } .lab-tabs::-webkit-scrollbar { display: none; }
  .lab-tabs button { flex: none; height: 32px; padding: 0 12px; border: var(--line); border-radius: 999px; font: 600 13.5px/1 var(--ui); background: var(--paper); transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease); }
  .lab-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
  .lab-tabs button.changed::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
  .lab-ctl { overflow-y: auto; padding: 6px 16px 12px; display: grid; align-content: start; }
  .lab-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 74px; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; font-weight: 600; }
  .lab-row output { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
  .lab-row.changed output { color: var(--k-sweet); cursor: pointer; }       /* moved from the built-in style: press the number to put it back */
  .lab-row.changed output::before { content: "↺ "; }
  /* the lever: a fat track with an ink line, filled as far as it's pushed, and a round handle */
  .lab-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: none; cursor: pointer; touch-action: pan-y; }
  .lab-row input[type=range]::-webkit-slider-runnable-track { height: 11px; border: var(--line); border-radius: 999px; background: linear-gradient(90deg, #ffd0bf var(--p, 50%), var(--tint) var(--p, 50%)); }
  .lab-row input[type=range]::-moz-range-track { height: 8px; border: var(--line); border-radius: 999px; background: linear-gradient(90deg, #ffd0bf var(--p, 50%), var(--tint) var(--p, 50%)); }
  .lab-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8.4px; border: var(--line); border-radius: 50%; background: var(--accent); box-shadow: 0 2px 0 rgb(27 34 51 / .22); transition: transform var(--t-quick) var(--ease); }
  .lab-row input[type=range]::-moz-range-thumb { width: 21px; height: 21px; border: var(--line); border-radius: 50%; background: var(--accent); box-shadow: 0 2px 0 rgb(27 34 51 / .22); }
  .lab-row input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
  .lab-row input[type=color] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; padding: 0; border: var(--line); border-radius: 999px; background: none; overflow: hidden; cursor: pointer; }
  .lab-row input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .lab-row input[type=color]::-webkit-color-swatch { border: 0; } .lab-row input[type=color]::-moz-color-swatch { border: 0; }
  .lab-note { margin: 4px 0 6px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
  .lab-text { width: 100%; height: 190px; padding: 10px; border: var(--line); border-radius: 14px; background: var(--paper); font: 500 12px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); resize: none; }
  .lab-text + .chip { margin-top: 8px; justify-self: start; background: var(--ink); color: var(--paper); border: 0; height: 36px; padding: 0 16px; }
  .lab-foot { display: flex; align-items: center; gap: 6px; padding: 9px 12px 11px; border-top: 1.6px dashed var(--rule); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
  #lab-seasons .chip { flex: 1; justify-content: center; height: 32px; padding: 0 6px; font-size: 13px; color: var(--ink); }
  @media (max-width: 1240px) { body.lab-on .ask { display: none; } }          /* the lab takes the question's place where they'd collide; "See it in" moves the year */
  @media (max-width: 700px) {
    .stylelab { left: calc(var(--gutter) + env(safe-area-inset-left, 0px)); top: auto; width: auto; height: min(56%, 470px); border-radius: 24px; }
    #lab-spec { height: 104px; } .lab-row { min-height: 42px; }
  }

  body.card-shot :is(.topbar, .ask, .pop, .tip, .loading, .survey, .stylelab, #labels) { display: none !important; }   /* just the picture */
  /* the picture a shared link shows: the view framed as a card is, under its title block, with the name; nothing to press */
  body.og-shot :is(.topbar, .ask) { display: none !important; } body.og-shot :is(.pop, .tip, .loading, .stylelab, .scrim, .day-read, #labels) { display: none !important; }
  body.og-shot .cartouche { display: block !important; top: 50px; } body.og-shot .cartouche b { font-size: 78px; -webkit-text-stroke-width: 9px; } body.og-shot .cartouche i { font-size: 24px; } body.og-shot .cartouche small { font-size: 14px; margin-top: 14px; padding-top: 8px; }
  body.og-shot .homemark { display: block; left: 44px; bottom: 36px; font-size: 32px; -webkit-text-stroke-width: 7px; } body.og-shot .homemark i { width: 12px; height: 12px; }
  body.bare :is(.top, .ask, .pop) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--t-quick) var(--ease), visibility 0s var(--t-quick); }
  .top, .ask { transition: opacity var(--t-base) var(--ease); }

  .tip { position: fixed; left: 50%; top: calc(var(--gutter) + 56px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -6px); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
    opacity: 0; visibility: hidden; z-index: 45; transition: opacity var(--t-quick) var(--ease), transform var(--t-quick) var(--ease), visibility 0s var(--t-quick); }
  .tip.on { opacity: 1; transform: translate(-50%, 0); visibility: visible; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s; }

  /* place names on the land */
  #labels { position: absolute; inset: 0; pointer-events: none; }
  .lab { position: absolute; transform: translate(-50%, -100%); text-align: center; white-space: nowrap; }
  .lab b { display: inline-block; font: 700 12.5px/1 var(--ui); background: var(--paper); border: var(--line); border-radius: 999px; padding: 5px 9px; }
  .lab i { display: block; width: 1.6px; margin: 0 auto; background: var(--ink); }
  .lab small { display: block; font: 600 11px/1.2 var(--ui); margin-top: 3px; -webkit-text-stroke: 3px var(--paper); paint-order: stroke fill; }

  /* about: over everything */
  .guide { position: fixed; inset: 0; display: grid; place-items: start end; padding: calc(var(--gutter) + 52px + env(safe-area-inset-top, 0px)) var(--gutter) var(--gutter); background: none; z-index: 60; opacity: 0; transition: opacity var(--t-quick) var(--ease); }
  .guide.on { opacity: 1; transition: opacity var(--t-base) var(--ease); }
  .guide-card { width: min(400px, 100%); max-height: 100%; overflow: auto; padding: 18px 20px 16px; border-radius: 22px; transform: translateY(-8px); transition: transform var(--t-move) var(--ease); }
  .guide.on .guide-card { transform: none; }
  .guide-card .mark { font: italic 600 26px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
  .guide-card .mark i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-left: 4px; }
  .guide-card p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; }
  .guide-card h2 { margin: 18px 0 6px; font: 700 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .guide-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14.5px; }
  .guide-card li { display: flex; justify-content: space-between; gap: 12px; }
  .guide-card kbd { font: 700 12px/1 var(--ui); padding: 4px 7px; border: var(--line); border-radius: 7px; background: var(--paper); white-space: nowrap; }
  .guide-card .src { font-size: 13px; color: var(--ink-2); }
  .guide-card .chip { margin-top: 16px; height: 40px; padding: 0 18px; background: var(--ink); color: var(--paper); border: 0; }
  .guide-card ul.g-touch { display: none; }
  .guide-card :is(.g-data, .g-nums) li > :last-child { text-align: right; font: 500 12px/1.35 var(--mono); color: var(--ink-2); } .guide-card .g-nums li b { color: var(--ink); }
  .guide-card :is(.g-data, .g-nums) li { align-items: baseline; padding: 3px 0; border-top: 1px solid var(--rule); } .guide-card :is(.g-data, .g-nums) li:first-child { border-top: 0; }
  .g-fine { margin-top: 14px; } .g-fine summary { cursor: pointer; font-size: 13.5px; font-weight: 600; } .g-fine .src { margin-top: 8px; }
  @media (max-width: 700px) { .guide { place-items: start stretch; background: rgb(247 240 222 / .55); } .guide-card { width: 100%; } }
  .err { position: fixed; left: 16px; right: 16px; top: 40%; padding: 16px; display: none; background: var(--paper); border: var(--line); border-radius: 16px; z-index: 70; }

  /* narrower than the three in a row: the place and the tools on top, the date and its year under them, the whole width */
  @media (max-width: 1320px) {
    .topbar { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
    .when, body.yearly .when { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(100%, 680px); }
    .tools { grid-column: 2; grid-row: 1; }
    #months { top: calc(var(--gutter) + 102px + env(safe-area-inset-top, 0px)); }
  }
  /* a phone: the same pieces, closer together, so the land keeps the middle of the screen */
  @media (max-width: 700px) {
    :root { --gutter: 10px; }
    .topbar { gap: 6px; }
    /* the park's pill takes the row up to the tools, its arrow at the far end (entry 97) */
    .where { justify-self: stretch; padding: 0 3px; } #where { flex: 1; padding: 0 8px 0 11px; gap: 4px; } #where .nm-park { flex: 1; } #where .nm-park { font-size: 14px; } #where .nm-park::after { font-size: 11px; }
    .when, body.yearly .when { width: 100%; } .when { padding: 0 2px 0 3px; } #prev, #next { display: none; } #when { flex: none; padding: 0 8px 0 10px; }
    .year { margin-left: 2px; min-width: 0; }
    #months { top: calc(var(--gutter) + 94px + env(safe-area-inset-top, 0px)); }
    /* a phone keeps the date and its ruler in one row and has no sheet of data (entry 88) */
    body.yearly .when { width: 100%; padding: 0 2px 0 3px; } body.yearly .year { margin: 6px 4px 6px 2px; } #play { padding: 0 8px 0 4px; } body.yearly #yb-toggle, body.yearly .yb-sheet { display: none; } body.yb-open .cartouche { opacity: 1; } body.yearly .day-read { top: calc(100% + 8px); gap: 0 12px; font-size: 11.5px; } body.yb-open .day-read { opacity: 1; }
    .tools { gap: 6px; } .tools .round { width: 40px; height: 44px; border-radius: 22px; }
    #places, #months { left: var(--gutter); right: var(--gutter); width: auto; margin-left: 0; }
    .tools .round { width: 44px; }
    .cards.strip .card { width: 150px; } #where .pill-pic { margin-left: -5px; }
    .ask { gap: 10px; }
    .tray { border-radius: 24px; padding: 8px; } .tray h2 { font-size: 17px; margin: 2px 0 8px; }
    .choices { gap: 5px; }
    .choices button { min-height: 70px; padding: 7px 2px 6px; border-radius: 16px; font-size: 12.5px; gap: 4px; }
    .choices button svg { width: 38px; height: 38px; }
    .choices .long { display: none; } .choices .short { display: inline; }
    .answer { border-radius: 22px; } .answer .in { padding: 12px 14px; }
    .a-head { gap: 9px; padding-right: 34px; } .a-art { width: 40px; height: 40px; } .a-art svg { width: 28px; height: 28px; } .a-when { font-size: 28px; }
    #a-text { margin-top: 7px; font-size: 14.5px; line-height: 1.4; }
    .a-more { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 10px -14px 0; padding: 0 14px; } .a-more::-webkit-scrollbar { display: none; }
    .a-more .chip { flex: none; }
    .answer .x { right: 9px; top: 9px; width: 30px; height: 30px; }
    #a-deep { margin-top: 10px; padding-top: 10px; gap: 8px; } .says { font-size: 14.5px; gap: 5px; }
    .guide-card ul.g-mouse { display: none; } .guide-card ul.g-touch { display: grid; }
  }
  @media (max-width: 370px) { #where .chev { display: none; } #where { padding-right: 11px; } }
  /* a short window (a phone on its side): the question becomes one low row */
  @media (max-height: 520px) {
    .ask { width: min(620px, calc(100% - var(--gutter) * 2)); }
    .tray { padding: 6px; border-radius: 20px; } .tray h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .choices button { min-height: 48px; grid-auto-flow: column; justify-content: center; gap: 6px; padding: 4px 8px; border-radius: 14px; }
    .choices button svg { width: 30px; height: 30px; }
    .choices .long { display: none; } .choices .short { display: inline; }
  }

  /* ---------- the map's dress (DECISIONS.md, entry 43): the page is the drawing's paper and ink. Pieces are cut square
     with a thin double rule like a map's neatline, nothing is tilted or casts a shadow, small print is set in a mono like
     a map's collar, and the empty sky over the land carries the title block ---------- */
  :root {
    --ink: #3b2618; --ink-2: #7a604c; --paper: #fbf6ea; --tint: #efe5cf; --rule: rgb(59 38 24 / .2);
    --accent: #c8462b; --c-sweet: #c8462b; --k-sweet: #a8361e;
    --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
    --line: 1.2px solid var(--ink); --sticker: none;
    --neat: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--ink);
  }
  body { background: #f7f0de; }
  .piece { box-shadow: var(--neat); }
  .where, .when, .tray, .answer, .pop, .guide-card, .stylelab, .tip, .loading { border-radius: 6px; }
  .where, .when { box-shadow: none; }
  #where, #when, #play, .year, .chip, .find, .lab-tabs button, .rows :is(button, a), .months button, .season, .season button, .pp, .round, .tools .round { border-radius: 4px; }   /* one corner for everything that is pressed, so they nest (entry 85) */
  .when .round { width: 34px; height: 34px; } .tools .round { box-shadow: none; }
  .lab-head .mark, .guide-card .mark { font-style: normal; letter-spacing: .01em; }
  .guide-card .mark i { border-radius: 0; transform: rotate(45deg) scale(.85); }
  #when { font: 600 14px/1 var(--mono); letter-spacing: .02em; }
  /* the question: a map's legend */
  .tray { padding: 14px 14px 12px; }
  .tray h2 { font-style: italic; font-weight: 500; }
  .tray h2::before { content: "Legend"; display: block; margin-bottom: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); font-style: normal; }
  .choices button { border-radius: 3px; rotate: 0deg !important; box-shadow: none; font-weight: 600; }
  .choices button:hover { transform: none; background: var(--tint); }
  .choices button[aria-pressed="true"] { transform: none; box-shadow: var(--neat); background: color-mix(in srgb, var(--c) 16%, var(--paper)); }
  .choices.nudge button { animation: none; }
  .answer .tail { border-bottom-right-radius: 0; }
  .a-art { border-radius: 3px; rotate: 0deg; animation: none; }
  .a-when { font-weight: 500; }
  #a-deep, .lab-foot { border-top-style: solid; border-top-width: 1px; }
  .day-h, .pop h3, .guide-card h2 { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; }
  #a-why, .guide-card .src, .lab-row output { font-family: var(--mono); font-size: 11.5px; line-height: 1.55; }
  /* cards: a sheet of the atlas, square, its picture in a thin frame */
  .card { border-radius: 4px; rotate: 0deg !important; box-shadow: none; padding: 7px 7px 11px; }
  .card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: var(--neat); }
  .card-pic { border-radius: 2px; border-width: 1px; background: #f7f0de; }
  .card b { font-weight: 500; }
  .card small { font: 500 11.5px/1.4 var(--mono); letter-spacing: .01em; }
  .card-pic em { border-radius: 2px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
  /* place names on the land, as a map sets them: italic, with a paper halo, no box */
  .lab b { background: none; border: 0; padding: 0 0 3px; font: italic 600 14px/1 var(--display); -webkit-text-stroke: 4px #f7f0de; paint-order: stroke fill; }
  .lab i { width: 1px; }
  .lab small { font: 500 10.5px/1.2 var(--mono); width: max-content; margin-inline: auto; }   /* as wide as its words, so a name set to one side can be measured */
  /* stamps: an answer's own icon set down on the land where the data puts it, on a paper disc, as if stamped */
  #stamps { position: absolute; inset: 0; pointer-events: none; }
  /* rivers too narrow for the water map: an ink line along each one's mapped course, where it's in sight */
  #rivers { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .stamp { position: absolute; width: var(--s, 36px); height: var(--s, 36px); margin: calc(var(--s, 36px) * -1) 0 0 calc(var(--s, 36px) * -.5); display: grid; place-items: center;
    border: 1.3px solid var(--ink); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px rgb(247 240 222 / .75), 0 2px 0 rgb(59 38 24 / .18); rotate: var(--r, 0deg);
    animation: stampin .46s cubic-bezier(.3, 1.7, .5, 1) backwards; animation-delay: calc(.32s + var(--i, 0) * 55ms); }   /* once the land has settled */
  .stamp svg { width: 72%; height: 72%; } .stamp svg * { transform-box: fill-box; transform-origin: center; }
  .stamp.soon { border-style: dashed; opacity: .75; }
  .stamp::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 1.3px; height: 7px; background: var(--ink); }
  .stamp.aloft { border: 0; background: none; box-shadow: none; rotate: 0deg; filter: drop-shadow(0 0 2px #f7f0de) drop-shadow(0 0 2px #f7f0de); } .stamp.aloft svg { width: 100%; height: 100%; } .stamp.aloft::after { display: none; }   /* the weather: in the sky, not pinned to the land */
  @keyframes stampin { from { opacity: 0; transform: translateY(-14px) scale(1.35); } 55% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }
  /* the title block, in the sky: the park, where you stand, and where that is */
  .cartouche { position: fixed; left: 50%; top: calc(var(--gutter) + 70px + var(--read) + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 5; width: max-content; max-width: calc(100% - 32px); text-align: center; pointer-events: none;
 }
  .cartouche b { display: block; font: 500 clamp(28px, 4.2vw, 46px)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.015em; -webkit-text-stroke: 6px #f7f0de; paint-order: stroke fill; }
  .cartouche i { display: block; margin-top: 6px; font: italic 500 clamp(15px, 1.7vw, 18px)/1.2 var(--display); color: var(--ink-2); -webkit-text-stroke: 4px #f7f0de; paint-order: stroke fill; }
  .cartouche small { display: inline-flex; gap: 10px; margin-top: 10px; padding: 5px 0 0; border-top: 1px solid var(--rule); font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
  /* the answer in three states: compact (the date and two lines, so the view stays clear), grown (the other answers and
     the details), and tucked away (its marks stay on the land, its choice stays pressed) */
  #a-lead { margin: 8px 0 0; font: 500 16px/1.45 var(--ui); text-wrap: pretty; }
  .a-on { margin-left: 4px; padding: 0; font: 600 14px/1 var(--ui); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .answer.compact :is(#a-text, .a-more, #a-deep) { display: none; }
  .answer:not(.compact) #a-lead { display: none; }
  @media (max-width: 700px) { #a-lead { margin-top: 7px; font-size: 14.5px; line-height: 1.4; } }
  .answer.compact .fold { cursor: pointer; }
  .answer .grow { position: absolute; right: 50px; top: 12px; width: 32px; height: 32px; border: var(--line); background: var(--paper); z-index: 2; }
  .answer .grow svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }
  .answer:not(.compact) .grow svg { transform: rotate(180deg); }
  .answer .in { padding-right: 92px; }
  @media (max-width: 700px) { .answer .grow { right: 45px; top: 9px; width: 30px; height: 30px; } .a-head { padding-right: 70px; } .answer .in { padding-right: 14px; } }
  .choices button[aria-pressed="true"].tucked { box-shadow: var(--neat); background: color-mix(in srgb, var(--c) 10%, var(--paper)); }
  /* the title block settles down into the sky as the picture comes into focus, a line at a time; when an answer
     lifts the land it rises away the same way, last line first, and settles back when the land comes down */
  .cartouche > * { transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 70ms); }
  .cartouche b { --k: 0; } .cartouche i { --k: 1; } .cartouche small { --k: 2; }
  body.lifted .cartouche > *, .cartouche.off > * { opacity: 0; transform: translateY(-18px); }
  .cartouche > * { animation: settle .7s cubic-bezier(.16, 1, .3, 1) calc(var(--k) * 70ms + 60ms) backwards; }
  @keyframes settle { from { opacity: 0; transform: translateY(-26px); } }
  body.lifted .cartouche > *, .cartouche.off > * { transition-duration: .22s, .3s; transition-timing-function: ease-in; transition-delay: calc((2 - var(--k)) * 35ms); }
  .dia { font-family: Georgia, "Iowan Old Style", serif; }
  .cartouche.small b { font-size: clamp(20px, 2.4vw, 26px); } .cartouche.small :is(i, small) { display: none; }
  body.bare .cartouche, body.card-shot .cartouche, body.lab-on .cartouche { display: none; }
  @media (max-width: 1320px) { .cartouche { top: calc(var(--gutter) + 120px + var(--read) + env(safe-area-inset-top, 0px)); } }   /* under the date's own row */
  @media (max-height: 640px) { .cartouche { display: none; } }
  @media (max-width: 700px) { .cartouche { top: calc(var(--gutter) + 108px + var(--read) + env(safe-area-inset-top, 0px)); } .cartouche small { gap: 8px; letter-spacing: .1em; } .tray h2::before { display: none; } .choices button { border-radius: 3px; } }
  @media (prefers-reduced-motion: reduce) {
    .top, .ask { animation: none; } .cartouche > * { transition: opacity .2s linear !important; transform: none !important; }
    .choices svg, .choices svg *, .a-art, .a-art svg * { animation: none !important; }
    :root { --t-move: .15s; --t-base: .15s; }
  }
