/* Layout: one phone-width column of bold panels against a sky. Green is the daily, blue the niche round,
   white is cards and rules, yellow is the thing to press, red is a bust.
   The idea that runs through it is a graph: a line climbing toward a dashed limit line. It is the logo,
   and it is how every result is shown. */
:root {
  --sky: #D7EAF6;          /* the page */
  --sky-deep: #C3DEEF;     /* quiet bands on the page */
  --ink: #12171C;          /* text on the page */
  --muted: #465666;
  --line: #A9C2D4;
  --plate: #FFFFFF;        /* a white sign face */
  --plate-ink: #12171C;    /* the legend on a white sign */
  --plate-muted: #4A5560;
  --plate-soft: #FFF0B3;   /* a highlighted patch on a white sign */
  --guide: #00693E;        /* highway green */
  --service: #00529B;      /* services blue */
  --warn: #FFC800;         /* warning yellow */
  --warn-soft: #FFF0B3;
  --stop: #C0232C;         /* stop red */
  --stop-ink: #B01E27;     /* red for words and numbers */
  --work: #F47B20;         /* construction orange */
  --go: #17A65B;           /* the green lamp */
  --money: #0B7A43;        /* banknote green: the button that asks for money, and nothing else */
  --coin: #FFC800;         /* the coin's gold: the coin on the money button, and the gold of the pop-up that sells, and nothing else */
  --flame: #E0440E;        /* the streak's flame, and nothing else: its body. Not the red that means a bust, */
  --flame-heart: #FFDD55;  /* and its heart. Not the orange that means "being built", nor the yellow to press. */
  --apple: #000000;        /* Continue with Apple: Apple's own black and white for its button. Not road colours, */
  --on-apple: #FFFFFF;     /* and no theme changes them: the sign-in box they sit on is a white sign in both. */
  --asphalt: #272B31;
  --lane: #F4F6F8;
  --on-dark: #FFFFFF;      /* legend on green, blue and red */
  --on-warn: #12171C;      /* legend on yellow and orange */
  --shadow: rgba(18, 23, 28, 0.24);
  --veil: rgba(10, 20, 30, 0.62);
  --mark-bg: #0D1826;      /* the logo's tile */
  --chart-bg: #FFFFFF;     /* the paper a result is plotted on */
  --warn-glow: rgba(255, 200, 0, 0.6);
  --back-line: rgba(244, 246, 248, 0.09);   /* graph-paper lines on the back of a card */
  --board-line: rgba(244, 246, 248, 0.14);  /* the rule between rows of a leaderboard */
  --font-sign: "Overpass", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #0D1826; --sky-deep: #15243A; --ink: #E7EEF5; --muted: #9BB0C4; --line: #2B3D52;
    --plate: #EEF2F5; --plate-ink: #12171C; --plate-muted: #4A5560;
    --guide: #0A7A4B; --service: #0A5FB0; --warn: #FFC800; --warn-soft: #3B3310; --stop: #CC2F38; --work: #F58A32; --go: #25C06F;
    --flame: #E64A12; --flame-heart: #FFE474;
    --asphalt: #2A313A; --lane: #F4F6F8; --on-dark: #FFFFFF; --on-warn: #12171C;
    --shadow: rgba(0, 0, 0, 0.55); --veil: rgba(0, 0, 0, 0.72); --mark-bg: #1B2C44; --chart-bg: #15243A; --stop-ink: #FF8087;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #0D1826; --sky-deep: #15243A; --ink: #E7EEF5; --muted: #9BB0C4; --line: #2B3D52;
  --plate: #EEF2F5; --plate-ink: #12171C; --plate-muted: #4A5560;
  --guide: #0A7A4B; --service: #0A5FB0; --warn: #FFC800; --warn-soft: #3B3310; --stop: #CC2F38; --work: #F58A32; --go: #25C06F;
  --flame: #E64A12; --flame-heart: #FFE474;
  --asphalt: #2A313A; --lane: #F4F6F8; --on-dark: #FFFFFF; --on-warn: #12171C;
  --shadow: rgba(0, 0, 0, 0.55); --veil: rgba(0, 0, 0, 0.72); --mark-bg: #1B2C44; --chart-bg: #15243A; --stop-ink: #FF8087;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.45; }
[hidden] { display: none !important; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--sky); }
.app {
  max-width: 460px; margin: 0 auto;
  padding-block: 14px 44px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 16px;
}
.screen { display: flex; flex-direction: column; gap: 16px; }
.screen:not([hidden]) { animation: screenin 0.22s ease-out; }
@keyframes screenin { from { opacity: 0; transform: translateY(8px); } }
/* The home screen arrives once, whole. The page's own markup is drawn before its script has asked the server what
   today holds, and when the answer came the screen was redrawn under the reader's eyes: the corner's button
   changed, the beta strip pushed everything down a line, and the daily's card grew by three rounds. Measured on
   2026-11-21 on a slow phone's connection, that was most of the first screen moving at once. So until the script
   has drawn the first state (settleIn) the home screen and the corner are held out of sight, with their room
   kept, and then come in the way every screen does. The header and its line are there from the first moment.
   Nothing here depends on the script: left alone, both are simply shown after four seconds, so a page whose
   script never ran, or a program that reads the page without running it, still gets the page. On a connection so
   slow that the answer takes longer than that, the page is shown as it was sent and redrawn when the answer comes,
   as it always was before. */
.app.is-loading #s-home, .app.is-loading #topHome { animation: latein 0.2s ease-out 4s both; }
@keyframes latein { from { opacity: 0; visibility: hidden; } }
/* A wait that lasts is shown: after half a second the header's dashed line starts to move along, and stops when
   the screen arrives. A quick load never shows it. */
.app.is-loading .limitline { animation: march 0.6s linear 0.5s 6; }
@keyframes march { to { background-position: 24px 0; } }
/* The logo's curve draws itself when the screen arrives, not behind the curtain. */
.app.is-loading .hero-mark .lm-curve, .app.is-loading .hero-mark .lm-area, .app.is-loading .hero-mark .lm-dot { animation: none; }
h1, h2, h3 { font-family: var(--font-sign); font-weight: 800; margin: 0; text-wrap: balance; line-height: 1.08; letter-spacing: -0.005em; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
/* A paragraph does not end on one word alone where the browser can help it. This is the short form of the rule,
   which also says a paragraph wraps: no paragraph here is kept to one line by what it sits in, only by a class of
   its own, and a class out-ranks this. */
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-family: var(--font-sign); font-weight: 700; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 18px; font-weight: 500; line-height: 1.35; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.right { text-align: right; }
.big { font-family: var(--font-sign); font-weight: 900; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.big.is-bust, .big.is-low { color: var(--stop-ink); }
/* A long total on a result ("135,492 yards") is set smaller, so that it stays on one line beside the limit sign on
   the narrowest phone (fitTotal). On two lines its own number was pushed out of the first view of the result. */
.big.is-long { font-size: 32px; }
.big.is-longer { font-size: 25px; }
/* "2,412 / 3,000": the score big, what it is out of small. */
.outof { margin-left: 8px; font-size: 18px; font-weight: 800; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.card .outof { color: inherit; opacity: 0.86; }

/* ---- The header: the logo, the name, and the limit line under them ---- */
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; overflow: hidden; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.brand:focus-visible { outline: 3px solid var(--service); outline-offset: 3px; border-radius: 8px; }
.brand .logo-mark { width: 34px; flex: none; }
.mark { font-family: var(--font-sign); font-weight: 900; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tag { font-family: var(--font-sign); font-weight: 700; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.limitline { height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 24px); }

/* The logo is a graph: a curve that climbs to a dashed limit line and lands on it, at a ring. The curve is the
   function y = L sin(πx/2), plotted by tools/logo.js from 0 to 1: it touches the line where it is greatest and
   never crosses it. The ring is the mark a result's graph wears when a round lands exactly on its limit. */
.logo-mark { display: block; height: auto; }
.lm-tile { fill: var(--mark-bg); }
.lm-grid { fill: none; stroke: var(--lane); stroke-opacity: 0.1; stroke-width: 1.5; }
.lm-area { fill: var(--go); fill-opacity: 0.26; }
.lm-curve { fill: none; stroke: var(--go); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.lm-limit { fill: none; stroke: var(--warn); stroke-width: 4; stroke-dasharray: 9 6; }
.lm-dot { fill: var(--mark-bg); stroke: var(--go); stroke-width: 4.2; }

.hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 4px 0 2px; }
.hero-mark { width: 84px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hero-mark .logo-mark { width: 100%; filter: drop-shadow(0 4px 0 var(--shadow)); }
/* On the home screen the curve draws itself toward the limit once. The header's logo never moves. */
.hero-mark .lm-curve { stroke-dasharray: 100; animation: drawin 1.3s cubic-bezier(0.3, 0.6, 0.2, 1) 0.15s backwards; }
.hero-mark .lm-area { animation: fadein 0.6s ease-out 1s backwards; }
/* The ring arrives when the curve does: it is where the curve lands. */
.hero-mark .lm-dot { animation: dotin 0.35s ease-out 1.3s backwards; }
@keyframes drawin { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes dotin { from { opacity: 0; } }
@keyframes fadein { from { fill-opacity: 0; } }
/* The same statement in symbols: as x grows without end, f(x) approaches L. */
.mathline { font-family: Georgia, "Times New Roman", Times, serif; font-size: 15px; line-height: 1; white-space: nowrap; display: flex; align-items: flex-start; gap: 4px; color: var(--muted); }
.mathline .m-lim { display: inline-flex; flex-direction: column; align-items: center; }
.mathline .m-lim small { font-size: 10px; line-height: 1.2; }
.mathline i { font-style: italic; }
.hero h1 { font-size: 30px; text-transform: uppercase; letter-spacing: 0.01em; }
.hero .lead { margin-top: 8px; font-size: 16px; }

/* ---- Signs: one inset border, the way real ones are made ---- */
.card, .btn, .pick, .opt, .modal, .lsign, .sharebox { position: relative; }
.card::after, .btn::after, .pick::after, .lsign::after {
  content: ""; position: absolute; inset: 4px; border: 2px solid currentColor; border-radius: inherit; pointer-events: none;
}

.card { background: var(--plate); color: var(--plate-ink); border-radius: 18px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 0 var(--shadow); }
.card::after { inset: 5px; border-radius: 14px; }
.card .eyebrow, .card .muted { color: var(--plate-muted); }
.card h2 { text-transform: uppercase; letter-spacing: 0.015em; }
.card.sign-guide { background: var(--guide); color: var(--on-dark); }
.card.sign-service { background: var(--service); color: var(--on-dark); }
/* The gear in the header opens the settings. It is shown only where it fits beside the game's name (fitGear),
   and Settings is also a button at the foot of the home screen. */
.gearbtn { width: 40px; height: 40px; flex: none; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gearbtn svg { width: 22px; height: 22px; }
.gearbtn:focus-visible { outline: 3px solid var(--service); outline-offset: 3px; }
/* On a phone there is never room for it beside the Sign in button, so there it is not drawn at all. */
@media (max-width: 459px) { #topHome.is-out .gearbtn { display: none; } }
/* Supporting the game, at the end of the day: the base of its plate (its green row is in the endplates block). */
.support { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border-top: 10px solid var(--money); background: var(--plate); color: var(--plate-ink); box-shadow: 0 4px 0 var(--shadow); }
.support p { margin: 0; }
.support .support-title { font-family: var(--font-sign); font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: 0.015em; text-transform: uppercase; }
.card.sign-guide .eyebrow, .card.sign-guide .muted, .card.sign-service .eyebrow, .card.sign-service .muted { color: var(--on-dark); opacity: 0.86; }

/* Buttons are small signs. Yellow is the one to press. */
.btn {
  min-height: 54px; width: 100%; padding: 14px 18px; border: 0; border-radius: 12px;
  background: var(--plate); color: var(--plate-ink);
  font-family: var(--font-sign); font-weight: 800; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; text-align: center; line-height: 1.2;
  cursor: pointer; box-shadow: 0 3px 0 var(--shadow); transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn::after { inset: 3px; border-radius: 9px; border-width: 2px; }
.btn:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 var(--shadow); }
.btn[disabled] { opacity: 0.5; cursor: default; box-shadow: none; }
.btn-primary { background: var(--warn); color: var(--on-warn); }
/* The one button that asks for money wears money's colours, so it is never mistaken for the button that plays.
   The owner: "I think color scheme could be great for money on button". The coin is decoration: it has no name. */
.btn-give { background: var(--money); color: var(--on-dark); display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 16.25px; padding-bottom: 11.75px; will-change: transform; }
/* The word is set two pixels lower than its line would put it (the padding above), and the coin is lifted back
   by as much (below). A line of capitals is centred by its typeface's box and not by its ink, so "Donate" stood
   high beside the coin: 1.8 pixels on the owner's iPhone, measured in their picture of 2026-11-17 ("The text on
   donate doesn't line up great with the $"). Whole pixels, because a browser moved the word by one or by two
   and by nothing between. The coin stays in the middle of the button and the capitals sit level with it. The
   phone check measures the two in a picture of the button.
   On 2026-11-17 the same check failed with nothing about the button changed: new headings above it had moved
   it a fraction of a pixel down the page. A browser rounds where it puts the word and where it puts the coin
   separately, so where the button stood decided whether the word sat a third of a pixel low or two thirds
   high, and it had passed by the luck of its place. Two things put that right. The button is a layer of its
   own (will-change), which is drawn from its own corner and not from where the page has put it. And the word
   is a quarter of a pixel lower again, with the coin lifted back by as much, so that from that corner the word
   rounds down the page, level with the coin. The check now measures the button at eight places a fraction of
   a pixel apart. */
/* The coin is a drawing, not the letter "$": a letter is centred by its typeface's box, not by its ink, and
   the owner saw it sit off centre. The S here is its own upper half turned half a turn about the coin's middle. */
.btn-give::before {
  content: ""; flex: none; width: 28px; height: 28px; position: relative; top: -2.25px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 28 28%22%3E%3Ccircle cx=%2214%22 cy=%2214%22 r=%2213%22 fill=%22%23FFC800%22 stroke=%22%233B2E00%22 stroke-width=%222%22/%3E%3Cg fill=%22none%22 stroke=%22%233B2E00%22 stroke-width=%222.3%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M18.2 10.4C18.2 8.5 16.5 7.6 14 7.6C11.5 7.6 9.8 8.7 9.8 10.6C9.8 12.6 11.7 13.4 14 14C16.3 14.6 18.2 15.4 18.2 17.4C18.2 19.3 16.5 20.4 14 20.4C11.5 20.4 9.8 19.5 9.8 17.6%22/%3E%3Cpath d=%22M14 5.2V22.8%22/%3E%3C/g%3E%3C/svg%3E") center / 28px 28px no-repeat;
}
.btn-quiet { background: transparent; color: var(--ink); box-shadow: none; font-weight: 700; }
.btn-quiet::after { inset: 0; border: 2px dashed var(--line); border-radius: 12px; }
.card .btn-quiet { color: inherit; }
.card .btn-quiet::after { border-color: currentColor; opacity: 0.5; }
.btn-small { min-height: 44px; width: auto; padding: 8px 18px; font-size: 14px; }
.btn:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible, input:focus-visible, .pick:focus-visible, .menu-row:focus-visible, .pillbtn:focus-visible, .x:focus-visible, .linkbtn:focus-visible, .learnbtn:focus-visible, .foot a:focus-visible {
  outline: 3px solid var(--service); outline-offset: 3px;
}
.sign-service .btn:focus-visible, .sign-guide .btn:focus-visible { outline-color: var(--warn); }
.pillbtn { min-height: 40px; padding: 6px 18px; border-radius: 99px; border: 2px solid var(--on-warn); background: var(--warn); color: var(--on-warn); font-family: var(--font-sign); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
/* The case for signing in: three small signs, each with what it gives. */
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.perks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: center; }
.perks li > span:last-child { font-size: 15px; line-height: 1.3; }
.perks b { display: block; margin-bottom: 2px; font-family: var(--font-sign); font-weight: 900; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.perk-sign { width: 44px; height: 44px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--guide); color: var(--on-dark); box-shadow: 0 3px 0 var(--shadow); }
.perk-sign svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.perk-sign.p-warn { background: var(--warn); color: var(--on-warn); }
.perk-sign.p-service { background: var(--service); }
@media (max-height: 560px) { #pitchSmall { display: none; } .perks { gap: 10px; } }
/* The top right corner: the account. A plain pill to sign in, then a round button with the player's initial. */
#topHome { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.pill-plain { background: var(--plate); color: var(--plate-ink); border-color: var(--plate-ink); padding-inline: 13px; }
.avatar { width: 40px; height: 40px; flex: none; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: var(--guide); color: var(--on-dark); font-family: var(--font-sign); font-weight: 900; font-size: 19px; line-height: 1; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
/* A member's button wears a yellow ring, signed in or not. On a phone it stands in for the Member badge. */
.avatar.is-member, .pill-plain.is-member { box-shadow: 0 0 0 3px var(--warn); }
.avatar.big { width: 60px; height: 60px; font-size: 28px; cursor: default; border-color: var(--plate-ink); }
.avatar:focus-visible { outline: 3px solid var(--service); outline-offset: 3px; }
/* On a phone there is room for one button beside the game's name, and it is the account. */
/* Signed in and not a buyer, while unlimited play is on sale, the corner's second button reads Unlimited in money's
   colours (the owner, 2026-12-02: "join button should change to subscribe in a nice popping button"). Banknote green
   with the same light gradient the money buttons have, and the gold coin drawn as .btn-give::before draws it. It is
   "Unlimited" and not "Subscribe": what is sold is not a subscription. One slow shine crosses it once as it
   appears, and nothing loops; under reduced motion it is simply there. The coin is shown only where it fits. */
#btnJoinTop.pill-give { display: inline-flex; align-items: center; gap: 7px; padding: 6px 15px 6px 10px; border: 0; background-color: var(--money); color: var(--on-dark); text-transform: none; letter-spacing: 0.01em; font-size: 15px; white-space: nowrap;
  background-image: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--on-dark) 28%, transparent) 50%, transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%);
  background-size: 260% 100%, auto; background-repeat: no-repeat; background-position: 130% 0, 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), var(--lift-sm); animation: pill-shine 1300ms ease-in-out 600ms 1 both; }
#btnJoinTop.pill-give::before { content: ""; flex: none; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 28 28%22%3E%3Ccircle cx=%2214%22 cy=%2214%22 r=%2213%22 fill=%22%23FFC800%22 stroke=%22%233B2E00%22 stroke-width=%222%22/%3E%3Cg fill=%22none%22 stroke=%22%233B2E00%22 stroke-width=%222.3%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M18.2 10.4C18.2 8.5 16.5 7.6 14 7.6C11.5 7.6 9.8 8.7 9.8 10.6C9.8 12.6 11.7 13.4 14 14C16.3 14.6 18.2 15.4 18.2 17.4C18.2 19.3 16.5 20.4 14 20.4C11.5 20.4 9.8 19.5 9.8 17.6%22/%3E%3Cpath d=%22M14 5.2V22.8%22/%3E%3C/g%3E%3C/svg%3E") center / 22px 22px no-repeat; }
@keyframes pill-shine { from { background-position: 130% 0, 0 0; } to { background-position: -30% 0, 0 0; } }
#btnJoinTop.pill-give:focus-visible { outline: 3px solid var(--focus, var(--service)); outline-offset: 3px; }
/* A buyer's pass: the same blue as the band of the pop-up that sold it, and three of the game's own card backs (made
   by script with cardBack, never drawn by hand) fanned at the left. It stands still. The word beside them is there
   where there is room, and below that the pass is the fan alone. */
.passbtn { position: relative; flex: none; height: 40px; min-width: 52px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 99px; cursor: pointer; color: var(--on-dark); font-family: var(--font-sign); font-weight: 800; font-size: 14px; letter-spacing: 0.01em; white-space: nowrap;
  background-color: var(--mark-bg);
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px), linear-gradient(170deg, var(--service) 0%, var(--mark-bg) 92%);
  background-size: 16px 16px, 16px 16px, auto; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), var(--lift-sm); }
.passbtn:focus-visible { outline: 3px solid var(--service); outline-offset: 3px; outline-color: var(--focus); }
.pass-fan { position: relative; flex: none; width: 30px; height: 28px; }
.pass-card { position: absolute; left: 6px; top: 1px; width: 18px; height: 26px; border-radius: 4px; background: var(--mark-bg); box-shadow: 0 0 0 1px var(--on-dark); overflow: hidden; }
.pass-card > .back { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 6px 6px; background-position: center; }
.pass-card .back .logo-mark { width: 13px; }
.pass-card:nth-child(1) { transform: translate(-6px, 1px) rotate(-16deg); }
.pass-card:nth-child(2) { z-index: 1; }
.pass-card:nth-child(3) { transform: translate(6px, 1px) rotate(16deg); }
.pass-word { display: none; }
/* On a phone there is room for one button beside the game's name, and it is the account. */
@media (max-width: 459px) { #topHome.is-out #btnJoinTop { display: none; } .passbtn { padding: 0 11px; } }
@media (min-width: 460px) { .pass-word { display: inline; } .passbtn { padding: 0 16px 0 12px; } }
@media (max-width: 400px) { .top.is-tight .mark { font-size: 16px; letter-spacing: 0.04em; } }
/* What fits beside the game's name, measured in the preview (the name is never cut, and ten pixels stay between it and the
   corner's first button). The coin is what says the button asks for money, so it stays as far down as it fits: the
   coin and the word from 450 wide; from 386 to 449 a smaller coin and the word (smaller again under 420), with the
   game's name at the size it already has on a signed-in phone (is-give); the word alone from 359 to 385; and below that no Unlimited button, as
   the old rule hid Join at 345 and under. A signed-out buyer's pass, next to Sign in, is hidden where the name would
   come within ten pixels of it. */
@media (max-width: 449px) {
  .top.is-give .mark { font-size: 16px; letter-spacing: 0.04em; }
  #btnJoinTop.pill-give { gap: 6px; padding: 6px 13px 6px 9px; }
  #btnJoinTop.pill-give::before { width: 20px; height: 20px; background-size: 20px 20px; }
}
@media (max-width: 419px) {
  #btnJoinTop.pill-give { gap: 5px; padding: 6px 11px 6px 8px; font-size: 13px; letter-spacing: 0; }
  #btnJoinTop.pill-give::before { width: 17px; height: 17px; background-size: 17px 17px; }
}
@media (max-width: 385px) { #btnJoinTop.pill-give::before { display: none; } #btnJoinTop.pill-give { padding: 6px 8px; font-size: 13px; } }
/* A signed-in buyer's pass gives way on the narrowest phones, where the name would be cut (the twenty-ninth outside test). */
@media (max-width: 329px) { #topHome.is-in #memberBadge { display: none; } }
@media (max-width: 409px) { #topHome.is-out #memberBadge { display: none; } }
/* Beside Sign in the word does not fit at any width: the game's name stops growing at about 480 wide, and with Sign in
   and the word the name would come within ten pixels of the pass. So a signed-out buyer's pass is the fan alone. */
#topHome.is-out .pass-word { display: none; }
#topHome.is-out .passbtn { padding: 0 11px; }
@media (max-width: 358px) { #topHome.is-in #btnJoinTop { display: none; } }
.pf-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.pf-head h2 { padding-right: 0; overflow-wrap: anywhere; }
.pf-head .small { overflow-wrap: anywhere; }
.modal .statline { color: var(--plate-muted); }
.modal .statline b { color: var(--plate-ink); }
.badge { font-family: var(--font-sign); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: var(--guide); color: var(--on-dark); }
/* Leave and Lock in share one row at the foot of a round: Lock in takes the room, Leave is small beside it.
   The calculator's button is the third thing on the row, and the first in it: as far from Lock in as the row
   allows, so that a thumb reaching for it cannot lock a round in by mistake. Its neighbour is Leave, which asks
   first. Lock in gives up a little of its padding, so that "Lock in 15 cards" still sits on one line of a
   360-pixel phone and the row is no taller than it was. */
.lockrow { display: flex; gap: 8px; align-items: stretch; }
.lockrow .btn { width: auto; }
.lockrow .btn-primary { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
.lockrow .btn-leave { flex: 0 0 auto; padding-inline: 14px; white-space: nowrap; }
.lockrow .btn-calc { flex: 0 0 46px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-calc svg { display: block; width: 26px; height: 26px; }
/* While the calculator is out, its button is drawn pressed in: the dark board's own colours. */
.btn-calc[aria-expanded="true"] { background: var(--asphalt); color: var(--lane); }
/* On the narrowest phones the three still sit on one line. */
@media (max-width: 350px) {
  .lockrow { gap: 6px; }
  .lockrow .btn-leave { padding-inline: 10px; }
  .lockrow .btn-primary { padding-inline: 8px; font-size: 14px; letter-spacing: 0.03em; }
}
.linkbtn { border: 0; background: transparent; padding: 10px 0; min-height: 44px; color: inherit; font-family: var(--font-body); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }

/* Difficulty is a traffic light: green, amber, red. */
.tier { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 7px; border-radius: 99px; background: var(--plate); color: var(--plate-ink); box-shadow: inset 0 0 0 1.5px var(--plate-ink); font-family: var(--font-sign); font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
.tier::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--plate-muted); box-shadow: inset 0 0 0 1.5px var(--plate-ink); }
.tier.easy::before { background: var(--go); }
.tier.medium::before { background: var(--warn); }
.tier.hard::before { background: var(--stop); }
.tier.niche::before { background: var(--service); }

/* ---- Home ---- */
/* Beta mode: a strip in construction orange, the game's colour for "being built". */
/* One slim line. As a two-line box it pushed Play off the first screen of a small phone, for every tester. */
.betabar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; padding: 5px 12px; border-radius: 9px; background: var(--work); color: var(--on-warn); font-size: 13px; line-height: 1.35; font-weight: 600; }
.betabar b { font-family: var(--font-sign); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
/* On a short screen the strip sits closer to what follows it, so that Play stays in sight. */
@media (max-height: 620px) { .betabar { margin: -6px 0 -2px; } .betabar:not([hidden]) ~ .hero { padding-top: 0; } }
/* And a tester with a long streak has the strip, a line of numbers three rows long and the line about the streak
   all above Play. On the smallest phones with their bars showing, that pushed Play just off the first screen
   (found on 2026-11-17). So on a short screen the home screen draws in: less space between its parts and
   between the rows of numbers, and the daily's heading on one line. Nothing is taken away. */
@media (max-height: 620px) {
  #s-home { gap: 10px; }
  #s-home .statline { row-gap: 2px; }
  #cardDaily { padding-top: 16px; gap: 9px; }
}
/* The daily's heading is one line on every phone. It was, on a short screen only; on a taller phone of the same
   width it was set at full size and broke in two, with one word alone under the rest. */
#cardDaily h2 { font-size: clamp(19px, 5.6vw, 26px); }
.statline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.statline b { color: var(--ink); font-variant-numeric: tabular-nums; }
/* Progress: a level and a bar. The bar is a strip of road with the sign's yellow laid along it: how far a
   player has come. It is not the green of the points, because XP is not a score. */
.lvl { display: inline-flex; align-items: center; gap: 6px; }
.lvlbar { display: inline-block; width: 54px; height: 8px; border-radius: 99px; background: var(--asphalt); overflow: hidden; }
.lvlbar i, .xpbar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--warn); }
.xpbar { display: block; flex: 1; min-width: 0; height: 10px; padding: 2px; border-radius: 99px; background: var(--asphalt); overflow: hidden; }
.xpbar i { transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.xpstrip { display: flex; align-items: center; gap: 10px; }
.xpstrip .eyebrow { white-space: nowrap; }
.xpstrip b { font-family: var(--font-sign); font-weight: 900; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.levelbox { display: flex; flex-direction: column; gap: 6px; }
/* The daily: a green guide sign. Rounds are listed like places, with the limit where the miles would be. */
.lineup { display: flex; flex-direction: column; border-top: 2px solid currentColor; }
.lineup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 14px 0 13px; border-bottom: 2px solid currentColor; }
.lineup-what { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.place { font-family: var(--font-sign); font-weight: 800; font-size: 21px; line-height: 1.1; min-width: 0; }
/* The difficulty is the first thing read in a row, so it is set larger here than anywhere else. */
.lineup .tier { font-size: 15px; font-weight: 900; letter-spacing: 0.09em; padding: 5px 14px 4px 9px; gap: 8px; }
.lineup .tier::before { width: 14px; height: 14px; }
.pun { font-family: var(--font-sign); font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: 0.02em; }
.opt .pun { display: block; margin-top: 3px; color: var(--plate-muted); }
/* "ADD UP TO 100 VOTES": the words and the unit small, the number big. */
.lim { font-family: var(--font-sign); font-weight: 900; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lim small { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.lim small:first-child { margin-right: 6px; opacity: 0.86; }
/* The unit's space belongs to the unit. Where a number has no unit, "Add up to" is the last small as well as the
   first, and it took this margin: on a plate its line then began five pixels to the right of the others (seen on
   the owner's own phone, 2026-11-18). */
.lim small:last-child:not(:first-child) { margin-left: 5px; }
.count { font-size: 14px; font-weight: 500; opacity: 0.86; }
/* In the daily's list the number to add up to has a column of its own, like the miles on a guide sign. */
.lineup .lim { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 34px; text-align: right; }
.lineup .lim small { margin: 0; font-size: 11px; opacity: 0.9; }
.lineup .lim.is-done { font-size: 20px; }
.lineup .count .pun { font-size: 14px; }
/* The quiet part under a round's name is two lines, each whole: its playful title, then its size and clock. */
.lineup .count { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.lineup .count .sizes { white-space: nowrap; }
/* A plate's facts are two lines, always: what to add up to, and under it how many rounds are left. Side by side
   where there was room and stacked where there was not, plates in one list stood at two heights. */
.optfacts { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 8px; }
.optfacts .lim { font-size: 20px; }
/* What to add up to never reaches the plate's button: a line too long for its room is set a little smaller, and
   one still too long puts "Add up to" on a line of its own (fitPlates). "187,990 yards" ran under Play on a
   small phone the night the first totals of six figures arrived. */
.optfacts .lim.is-tight { font-size: 16px; }
.optfacts .lim.is-tight small { font-size: 11px; letter-spacing: 0.05em; }
.optfacts .lim.is-tight small:first-child { margin-right: 5px; }
.optfacts .lim.is-stacked small:first-child { display: block; margin: 0 0 4px; }
.optfacts .count { color: var(--plate-muted); opacity: 1; }
.sign-guide .sharebox, .sign-service .sharebox { background: var(--plate); color: var(--plate-ink); border-color: var(--plate-ink); }
/* The niche round: a blue services sign, with each choice on its own white panel. */
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 10px; background: var(--plate); color: var(--plate-ink); }
.opt .pk { display: block; font-family: var(--font-sign); font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.opt .meta { display: block; font-size: 14px; color: var(--plate-muted); margin-top: 2px; }
/* A name too long for one line of the plate is set smaller until it fits (fitPlates), and a name that still
   takes two lines is broken evenly, never with one word left alone under the rest. */
.opt .pk { text-wrap: balance; }
.opt .pk.is-long { font-size: 19px; }
.opt .pk.is-longer { font-size: 17px; }
/* The second part of a name in two parts ("Passing yards" under FOOTBALL) is what tells one Football plate from
   the next. It was small and grey under a word that four plates share. It is set in the plate's own ink, bold. */
.opt .meta.is-part { font-size: 16px; font-weight: 700; color: var(--plate-ink); margin-top: 3px; }
.opt .btn { background: var(--warn); color: var(--on-warn); }
.opt .btn[disabled] { background: transparent; }
/* <shelf>
   The rounds outside the daily, as a shelf (the owner, 2026-11-22, with a picture of the two cards on their phone:
   "this is ugly. I think we need to package this better as the sell ... with preview and prettier than this. Think
   through being optimally clickable"). Three things changed, and no word of a plate was taken away:
   - every plate shows the round it would deal, as the screen before a round shows it: the limit's own sign on the
     logo's dark tile, and the round's free card under the plate's name;
   - a tap anywhere on a plate plays it (tapPlate): the button is still the one thing a keyboard lands on;
   - the general mode's three levels stand side by side, each a small board of its own, where three wide rows
     held a chip and a count. */
/* A plate's sign is the limit sign, smaller still, with the guide's ring. In a list of rounds it says "Add up to",
   as the plate's line did: the owner found the bare word "limit" unclear there. */
.lsign.lsign-xs { font-size: 6.8px; width: 10.6em; min-height: 8.2em; padding: 0.8em 0.5em 0.6em; gap: 0.3em; box-shadow: 0 0 0 2px var(--mark-bg), 0 0 0 4px var(--warn); }
.lsign.lsign-xs .lsign-word { font-size: 1.3em; letter-spacing: 0.05em; }
@media (max-width: 340px) { .card-general .lsign.lsign-xs { font-size: 5.9px; } }
.lsign.lsign-xs .lsign-unit { font-size: 1.35em; }
.lsign.lsign-xs[data-unit="l"] .lsign-unit { font-size: 1.15em; }
.lsign.lsign-xs[data-unit="xl"] .lsign-unit { font-size: 1em; }
.lsign.lsign-xs[data-unit="xxl"] .lsign-unit { font-size: 0.86em; }
.lsign.lsign-xs.is-ask .lsign-num { color: var(--plate-muted); }
/* A plate that a tap plays says so under a finger and under a pointer. */
.opt.is-tap { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 0.08s ease-out; }
.opt.is-tap:active { transform: translateY(2px); }
@media (hover: hover) { .opt.is-tap:hover .btn { filter: brightness(1.06); } }
/* A subject's plate: its words on the white panel, and at its right edge the dark tile with the sign and Play.
   Only a plate that wears a sign has the tile (has-stub): a round already played, and one that waits, are as they were. */
.sign-service .opt.has-stub { grid-template-columns: minmax(0, 1fr) 78px; column-gap: 22px; row-gap: 7px; padding: 9px 11px 9px 14px; overflow: hidden; }
.sign-service .opt.has-stub::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 100px; background-color: var(--mark-bg);
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 14px 14px; background-position: center; }
.sign-service .opt.has-stub > * { position: relative; z-index: 1; }
.sign-service .opt.has-stub > span:first-child { grid-column: 1; grid-row: 1 / span 2; }
.sign-service .opt.has-stub > .optsign { grid-column: 2; grid-row: 1; justify-self: center; align-self: end; margin-top: 3px; }
.sign-service .opt.has-stub > .optsign:last-child { grid-row: 1 / span 2; align-self: center; margin: 4px 0; }
.sign-service .opt.has-stub > .btn { grid-column: 2; grid-row: 2; align-self: start; width: 100%; padding: 8px 4px; }
/* What a plate is in a line never leaves one word alone under the rest. */
.opt .meta.is-part { text-wrap: balance; }
/* The general mode's levels: three small boards side by side, each the logo's dark tile with the daily's chip,
   the next round's sign, what it counts, and Play across its foot. */
.levels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.card-general .opt { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding: 10px 7px 8px; border-radius: 12px; text-align: center; color: var(--lane); box-shadow: 0 3px 0 var(--shadow);
  background-color: var(--mark-bg); background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 14px 14px; background-position: center; }
.card-general .opt > span:first-child { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.card-general .opt .tier { font-size: 11.5px; letter-spacing: 0.05em; padding: 3px 8px 3px 6px; gap: 5px; }
.card-general .opt .optsign { margin: 4px 0 2px; }
.card-general .opt .upnext { display: block; font-family: var(--font-sign); font-weight: 800; font-size: 14.5px; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.card-general .opt .upnext small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.card-general .opt .count { display: block; margin-top: auto; font-size: 12.5px; color: var(--lane); opacity: 0.86; }
.card-general .opt .btn { width: 100%; padding: 8px 4px; }
.card-general .opt.is-played { background: transparent; color: var(--plate-ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.card-general .opt.is-played .count { color: var(--plate-muted); opacity: 1; }
/* </shelf> */
/* Unlimited play as someone who is not a member sees it: one plate with a short line for each subject, and
   the way to join under it. A line is a button, and a tap on it opens Join. */
.opt.opt-list { display: block; padding: 2px 14px; }
.opt-list .menu { border-top: 0; }
.opt-list .menu-row { border-bottom-color: var(--line); }
.opt-list .menu-row:last-child { border-bottom: 0; }
.menu-row .count { display: block; font-size: 13px; font-weight: 500; color: var(--plate-muted); }
.opt.is-played { background: var(--warn-soft); color: var(--ink); }
.opt.is-played .meta, .opt.is-played .btn { color: inherit; }
/* The leaderboards: a dark board with yellow figures, like the message signs over a highway. */
.card.sign-board { background: var(--asphalt); color: var(--lane); }
.card.sign-board .eyebrow, .card.sign-board .muted { color: var(--lane); opacity: 0.82; }
.card.sign-board .btn:focus-visible { outline-color: var(--warn); }
.standing { font-family: var(--font-sign); font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--warn); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tab { min-height: 46px; padding: 8px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); font-family: var(--font-sign); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--asphalt); color: var(--lane); box-shadow: none; }
.tab:focus-visible, .grouprow:focus-visible { outline: 3px solid var(--service); outline-offset: 3px; }
.ranks { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--asphalt); color: var(--lane); box-shadow: 0 4px 0 var(--shadow); }
.rank { display: grid; grid-template-columns: 2.7em minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; padding: 11px 14px 10px; border-bottom: 1px solid var(--board-line); }
.rank:last-child { border-bottom: 0; }
.rank .n { font-family: var(--font-sign); font-weight: 900; font-size: 18px; color: var(--warn); font-variant-numeric: tabular-nums; }
.rank .who { font-weight: 600; overflow-wrap: anywhere; }
.rank .pts { font-family: var(--font-sign); font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank .sub { grid-column: 2 / 4; font-size: 13px; opacity: 0.82; }
.rank.is-you { background: var(--warn); color: var(--on-warn); }
.rank.is-you .n { color: var(--on-warn); }
/* A place gained since the last look: the player's row lifts once and settles. */
.rank.is-up { animation: lift 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) 1; }
.note.is-up { box-shadow: inset 0 0 0 2px var(--go); }
@keyframes lift { 0% { transform: translateY(18px); opacity: 0.4; } 60% { transform: translateY(-4px); opacity: 1; } 100% { transform: translateY(0); } }
.rank.is-gap { justify-items: center; grid-template-columns: 1fr; padding: 2px 14px; opacity: 0.7; }
/* The player's own row where their score would land, for someone who is not on the board: a dashed outline and a
   tag that says so, so it is never told apart from the rows of the board by colour alone. It is a button: a tap opens
   the way onto the board. */
.rank.is-ghost { width: 100%; min-height: 48px; line-height: inherit; border: 0; border-radius: 0; background: transparent; color: inherit; font-family: var(--font-body); font-size: 16px; text-align: left; cursor: pointer; outline: 2px dashed var(--lane); outline-offset: -5px; }
.rank.is-ghost:focus-visible { outline: 3px solid var(--warn); outline-offset: -4px; }
.rank.is-ghost:active { background: var(--board-line); }
/* Today's board, one tap from the home screen's finished day: a slim strip in the board's own dark. */
.boardstrip { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 12px 18px; border: 0; border-radius: var(--r-btn); background: var(--asphalt); color: var(--lane); font-family: var(--font-sign); font-weight: 800; font-size: 16px; letter-spacing: 0; text-transform: none; text-align: left; line-height: 1.2; cursor: pointer; box-shadow: 0 3px 0 var(--shadow); transition: transform 0.08s ease, box-shadow 0.08s ease; }
.boardstrip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--shadow); }
.boardstrip:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; }
.boardstrip .chev { flex: none; width: 10px; height: 10px; margin-right: 4px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.card.end-board { gap: 12px; }
.end-board h2 { font-size: 24px; }
.groupbox { display: flex; flex-direction: column; gap: 8px; }
.grouprow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; width: 100%; padding: 13px 14px 12px; border: 0; border-radius: 12px; background: var(--asphalt); color: var(--lane); font-family: var(--font-body); font-size: 16px; text-align: left; cursor: pointer; box-shadow: 0 3px 0 var(--shadow); }
.grouprow b { font-family: var(--font-sign); font-weight: 900; font-size: 20px; overflow-wrap: anywhere; }
.grouprow .n { font-family: var(--font-sign); font-weight: 900; color: var(--warn); white-space: nowrap; }
.grouprow small { grid-column: 1 / 3; font-size: 13px; opacity: 0.82; }
#siCodeInput { font-family: var(--font-sign); font-weight: 900; font-size: 28px; letter-spacing: 0.3em; text-align: center; }

/* Every subject, with what it would take to play it. */
.menu { display: flex; flex-direction: column; border-top: 1.5px solid var(--plate-ink); }
.menu-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 2px; border: 0; border-bottom: 1.5px solid var(--plate-ink); background: transparent; color: inherit; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.menu-row .state { font-family: var(--font-sign); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; padding: 4px 9px 3px; border-radius: 5px; background: var(--asphalt); color: var(--lane); }
.menu-row[data-state="free-today"] .state, .menu-row[data-state="unlocked"] .state { background: var(--guide); color: var(--on-dark); }
.menu-row[data-state="play"] .state { background: var(--warn); color: var(--on-warn); }
.menu-row[data-state="coming-soon"] .state { background: var(--work); color: var(--on-warn); }
.menu-row[data-state="played"] .state, .menu-row[data-state="waits"] .state { background: transparent; color: var(--plate-muted); box-shadow: inset 0 0 0 1.5px var(--plate-muted); }
/* A family's heading over its subjects: Sports, Science. The page's small heading, with room above it. Inside the
   white plate of the short list it takes the plate's quiet ink, as the blue card's own would be white on white. */
.fam, .fam-apart { margin: 6px 0 -4px; font-size: 13px; }
.menu .fam { margin: 14px 0 6px; }
.menu .fam:first-child { margin-top: 10px; }

/* ---- The limit sign ---- */
.lsign { flex: none; width: 8em; min-height: 10em; padding: 0.9em 0.7em 0.8em; border-radius: 1em; background: var(--plate); color: var(--plate-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15em; text-align: center; font-size: 13px; box-shadow: 0 0.3em 0 var(--shadow); }
.lsign::after { inset: 0.4em; border-width: 0.22em; border-radius: 0.7em; }
.lsign-word { font-family: var(--font-sign); font-weight: 900; font-size: 1.55em; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.lsign-num { font-family: var(--font-sign); font-weight: 900; font-size: 4.4em; line-height: 0.95; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lsign[data-len="3"] .lsign-num { font-size: 3.3em; }
.lsign[data-len="4"] .lsign-num { font-size: 2.5em; }
.lsign[data-len="5"] .lsign-num { font-size: 2em; }
.lsign[data-len="6"] .lsign-num { font-size: 1.65em; }
.lsign-unit { font-family: var(--font-sign); font-weight: 800; font-size: 1.3em; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; hyphens: none; }
.lsign-unit:empty { display: none; }
/* A long unit is set smaller, so the word is not split across two lines of the sign. */
.lsign[data-unit="l"] .lsign-unit { font-size: 1.1em; letter-spacing: 0; }
.lsign[data-unit="xl"] .lsign-unit { font-size: 0.92em; letter-spacing: 0; }
/* A word of ten letters or more (TOUCHDOWNS, 2026-11-18) is a size smaller again: at the size above it filled the big
   sign to within two pixels, and on the small sign of the board it was broken after its ninth letter. */
.lsign[data-unit="xxl"] .lsign-unit { font-size: 0.84em; letter-spacing: 0; }
.lsign-sm { font-size: 7.5px; }
.lsign-sm .lsign-unit { font-size: 1.45em; }
.lsign-sm[data-unit="l"] .lsign-unit { font-size: 1.2em; }
.lsign-sm[data-unit="xl"] .lsign-unit { font-size: 1em; }
.lsign-sm[data-unit="xxl"] .lsign-unit { font-size: 0.84em; }

/* ---- Before a round: your limit, your goal, and Start. Nothing counts down. ----
   The owner, 2026-11-14: the count before a round "gave people stress", so a round starts when the player is
   ready. The screen holds two things to read and one button, on the logo's own dark tile, and they arrive in
   three quick beats: the limit, the goal, Start. The whole of it takes about a second. */
.getset { display: flex; flex-direction: column; gap: 8px; }
.getset h2 { font-size: 23px; }
.ready { display: flex; flex-direction: column; gap: 12px; }
.ready:focus { outline: none; }
.ready-round { margin: 0; }
.ready-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 16px 18px; border-radius: 18px; overflow: hidden; text-align: center;
  background-color: var(--mark-bg); color: var(--lane); box-shadow: 0 4px 0 var(--shadow);
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 16px 16px; background-position: center; }
.ready-beat { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
/* The ring is the guide's ring: the sign's yellow, with a gap of the tile's own colour inside it. */
.ready-sign { font-size: 12px; margin: 8px 0 6px; box-shadow: 0 0 0 4px var(--mark-bg), 0 0 0 8px var(--warn); }
/* On a short phone everything draws in a little, so the whole tile sits above Start with a long rule on it. */
@media (max-height: 620px) {
  .ready { gap: 8px; }
  .ready-stage { gap: 8px; padding: 13px 14px 14px; }
  .ready-beat { gap: 6px; }
  .ready-sign { font-size: 9.5px; margin: 6px 0 4px; }
  .ready-subject { font-size: 22px; }
  .ready-eg { font-size: 14px; line-height: 1.35; }
}
.ready-line { width: 100%; height: 3px; background: repeating-linear-gradient(90deg, var(--warn) 0 14px, transparent 14px 24px); transform-origin: left center; }
/* What the cards count: the round's own name for it, as a plain heading. It had a yellow ring round it, and a
   reader who had never seen the game took the ring for a button. Under it, quieter, the round's free card. */
.ready-subject { margin: 0; padding: 2px 4px 0; font-size: 25px; line-height: 1.15; color: var(--lane); text-wrap: balance; }
.ready-eg { margin: 0; max-width: 34ch; font-size: 14.5px; line-height: 1.4; color: var(--lane); opacity: 0.88; text-wrap: balance; }
.ready-eg:focus { outline: none; }
/* The example sits behind a button, and takes the button's place when it is asked for, so Start does not move.
   The owner, 2026-11-14: "make an example button on start page of every round ... dont force it down throats". */
.ready-egbox { display: flex; align-items: center; justify-content: center; min-height: 46px; }
.eg-btn { background: transparent; color: var(--lane); box-shadow: inset 0 0 0 2px var(--lane); }
.eg-btn::after { display: none; }
.eg-btn:focus-visible { outline-color: var(--warn); }
/* Start stays in sight on the shortest phone, whatever the round's words run to. */
.ready-foot { position: sticky; bottom: 0; background: var(--sky); padding: 2px 0 12px; display: flex; flex-direction: column; gap: 6px; }
/* Centred, like the sign above them and the buttons around them: set from the left they hung off one edge of a
   screen where everything else stands on the middle line. */
.ready-foot .small { margin: 0; text-wrap: balance; text-align: center; }
/* Leave: the way home before a round. Quiet and smaller than Start, centred under everything else on the screen.
   It takes the room the page keeps under its last line (the foot's own padding and the page's), so the page is
   no taller for it and Start stands exactly where it stood without it, on every phone. */
.ready-foot .ready-ways { display: flex; justify-content: center; gap: 12px; }
.ready-foot .ready-ways .btn { min-height: 44px; padding-inline: 26px; }
/* Skip stands beside Leave, in a mix of subjects only: of Leave's size and look, on the same row, so the page is
   no taller for it and Start does not move. */
.ready-foot:has(.ready-ways:not([hidden])) { padding-bottom: 6px; }
body:has(#s-board.is-ready:not([hidden]) .ready-ways:not([hidden])) .app { padding-bottom: 0; }
.btn-go { min-height: 64px; font-size: 22px; letter-spacing: 0.1em; display: flex; align-items: center; justify-content: center; }
.ready .btn-go { animation: halo 1.3s ease-out 1.4s infinite; }
.ready.is-in .ready-foot { animation: footIn 0.42s cubic-bezier(0.2, 1.5, 0.4, 1) 0.72s backwards; }
.ready.is-in .ready-stage { animation: stageIn 0.22s ease-out backwards; }
.ready.is-in .ready-beat-1 { animation: beatIn 0.32s cubic-bezier(0.2, 1.4, 0.4, 1) 0.12s backwards; }
.ready.is-in .ready-line { animation: lineIn 0.24s ease-out 0.34s backwards; }
.ready.is-in .ready-beat-2 { animation: beatIn 0.32s cubic-bezier(0.2, 1.4, 0.4, 1) 0.44s backwards; }
@keyframes stageIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes beatIn { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: scale(1); } }
@keyframes lineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes footIn { from { opacity: 0; transform: scale(0.9); } 60% { opacity: 1; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
/* While that screen is up, it is the whole of the round's screen: the cards are not there to be read early. */
#s-board.is-ready > :not(.ready) { display: none; }
/* While that screen is up it says which round this is, so the same words in the page's header step aside. */
body:has(#s-board.is-ready:not([hidden])) #progressTag { visibility: hidden; }
@keyframes pop { 0% { transform: scale(0.9); } 55% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes halo { 0% { box-shadow: 0 3px 0 var(--shadow), 0 0 0 0 var(--warn-glow); } 100% { box-shadow: 0 3px 0 var(--shadow), 0 0 0 16px transparent; } }
/* ---- Between two rounds: up next, and an ad box underneath ----
   The owner's brief, 2026-11-14: "the next round's subject, one quick tip, a subtle animation, and an ad box
   underneath ... enough space to be readable on a phone without crowding the tip or moving buttons around".
   The box keeps its shape whether or not a creative has arrived, so nothing on the screen moves. */
.upnext { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 10px 0 0; }
.upnext:focus { outline: none; }
.upnext .eyebrow { margin: 0; }
.upnext-word { letter-spacing: 0.2em; }
.upnext-subject { margin: 0; font-size: 27px; line-height: 1.12; text-wrap: balance; }
.upnext-mark { width: 52px; margin: 2px 0; }
.upnext-mark .logo-mark { display: block; width: 100%; }
/* The quiet animation: the logo's own curve draws toward its limit, rests, and draws again. */
.upnext-mark .lm-curve { stroke-dasharray: 100; animation: drawloop 2.8s ease-in-out infinite; }
.upnext-mark .lm-dot { animation: dotloop 2.8s ease-in-out infinite; }
@keyframes drawloop { 0% { stroke-dashoffset: 100; opacity: 1; } 55%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dotloop { 0%, 50% { opacity: 0; } 58%, 86% { opacity: 1; } 100% { opacity: 0; } }
.upnext-tip { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.4; text-wrap: balance; }
/* Pass the phone. Between two turns: who goes next, large, and the seats of the table, filled for each player who
   has locked in. The reveal: each player's total as a bar on graph paper, climbing toward the limit's dashed line. */
.pass { gap: 10px; padding-top: 18px; }
.pass-who { font-size: 40px; }
.pass-seats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 8px; padding: 0; list-style: none; }
.pass-seats li { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-sign); font-weight: 900; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); }
.pass-seats li.is-done { background: var(--guide); color: var(--on-dark); box-shadow: none; }
.pass-seats li.is-now { color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.pass-ways { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 360px; }
.pass-ways .btn-go { width: 100%; }
.party-count { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.party-count button { min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--plate-ink); box-shadow: inset 0 0 0 2px var(--plate-muted); font-family: var(--font-sign); font-weight: 900; font-size: 20px; cursor: pointer; }
.party-count button[aria-pressed="true"] { background: var(--asphalt); color: var(--lane); box-shadow: none; }
.pt-head h2 { margin: 2px 0 0; text-wrap: balance; }
.pt-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: baseline; }
.pt-who { font-family: var(--font-sign); font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.pt-mark { display: inline-block; margin-left: 8px; padding: 2px 8px 1px; border-radius: 99px; background: var(--guide); color: var(--on-dark); font-family: var(--font-sign); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; vertical-align: 2px; }
.pt-pts { font-family: var(--font-sign); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-row.is-bust .pt-pts { color: var(--stop-ink); }
.pt-track { grid-column: 1 / -1; position: relative; height: 20px; border-radius: 99px; background: var(--chart-bg); box-shadow: inset 0 0 0 1.5px var(--line); }
.pt-fill { position: absolute; left: 3px; top: 3px; bottom: 3px; width: 0; border-radius: 99px; background: var(--go); transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pt-row.is-bust .pt-fill { background: var(--stop); }
.pt-limit { position: absolute; top: -5px; bottom: -5px; width: 0; border-left: 3px dashed var(--ink); }
.pt-total { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.row .pt-seats { display: inline-flex; gap: 3px; }
.pt-seat { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; font-family: var(--font-sign); font-size: 12px; font-weight: 900; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--muted); }
.adbox { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
/* "Advert", and beside it the sponsor's name: one line, two parts. The name is words a sponsor wrote, so it has
   a place of its own and its own colour, and is never part of anything the page says in its own voice. Not in
   capitals: a sponsor's name is written as the sponsor writes it. */
.adbox-label { margin: 0; font-family: var(--font-sign); font-weight: 800; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); overflow-wrap: anywhere; }
.adbox-name { margin-left: 6px; color: var(--ink); }
.adbox-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--sky-deep); box-shadow: inset 0 0 0 2px var(--line); }
/* A tap that was on its way to another button must not land on an ad: for a moment the box takes no taps. */
.adbox-frame.is-fresh::after { content: ""; position: absolute; inset: 0; }
/* How far the ad has played, as the ad itself reports it. It is not a clock of the game's. */
.adbox-bar { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.adbox-bar span { display: block; height: 100%; width: 0; background: var(--muted); border-radius: inherit; }
.adbox-note { margin: 0; text-align: center; }
/* The made-up ad the stand-in plays. It is the game's own drawing: nothing is loaded for it. */
.sample-ad { position: absolute; inset: 0; display: grid; grid-template-columns: 38% 1fr; background: var(--asphalt); color: var(--lane); }
.sample-art { position: relative; overflow: hidden; background: var(--work); }
.sample-art i { position: absolute; border-radius: 50%; background: var(--warn); opacity: 0.9; }
.sample-art i:nth-child(1) { width: 78%; aspect-ratio: 1; left: -18%; bottom: -22%; animation: drift 6s ease-in-out infinite alternate; }
.sample-art i:nth-child(2) { width: 46%; aspect-ratio: 1; right: -8%; top: 10%; background: var(--plate); opacity: 0.85; animation: drift 7s ease-in-out -2s infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(8%, -10%); } }
.sample-copy { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 14px; min-width: 0; }
.sample-copy p { margin: 0; }
.sample-brand { font-family: var(--font-sign); font-weight: 900; font-size: 18px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.04em; }
.sample-line { font-size: 13.5px; line-height: 1.35; opacity: 0.9; }
/* A sponsor's advert: its picture fills the box, and the whole picture is the link to the sponsor's website. */
.house-ad { position: absolute; inset: 0; display: block; border-radius: inherit; }
.house-ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.house-ad:focus-visible { outline: 3px solid var(--service); outline-offset: -3px; }
.sample-cta { align-self: flex-start; margin-top: 4px; padding: 8px 14px; border-radius: 99px; background: var(--plate); color: var(--plate-ink); font-family: var(--font-sign); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }

/* A face-down card: the logo, on the logo's own dark tile, ruled like graph paper. */
.back { display: none; }
.pick.is-down { background: var(--mark-bg); color: var(--lane); cursor: default; }
.pick.is-down > :not(.back) { visibility: hidden; }
.pick.is-down > .back {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; border-radius: inherit;
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px);
  background-size: 16px 16px; background-position: center;
}
.back .logo-mark { width: 56px; }
.picks.dense .back .logo-mark { width: 46px; }
.back .lm-tile, .back .lm-grid { display: none; }
.pick.is-down::after { border-color: var(--lane); opacity: 0.3; }
/* Turning over: the card swings edge-on, changes face, and swings back. */
.picks .pick.flip { animation: flip 0.44s cubic-bezier(0.3, 0.7, 0.3, 1); }
@keyframes flip {
  0% { transform: perspective(700px) rotateY(0); }
  49.9% { transform: perspective(700px) rotateY(88deg); }
  50% { transform: perspective(700px) rotateY(-88deg); }
  100% { transform: perspective(700px) rotateY(0); }
}

.timer { height: 12px; flex: none; background: var(--asphalt); border-radius: 99px; overflow: hidden; padding: 2px; }
.timer span { display: block; height: 100%; width: 100%; background: var(--warn); border-radius: 99px; }
.timer.is-low span { background: var(--stop); }

/* ---- In a round ---- */
.strip { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--sky); padding: 6px 0 10px; display: flex; flex-direction: column; gap: 10px; }
.strip-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.worthline { font-weight: 600; font-size: 15px; line-height: 1.3; }
.clock { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.clock .big { font-size: 36px; }
.readout { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.readout > div { min-width: 0; }
/* The streak, and the moment it grows: the number steps up, and a small "+1" rises from it and is gone. */
.readout-top { align-items: flex-start; }
.streakbox { position: relative; }
.streakbox .small { margin-top: 2px; }
.plus-one { position: absolute; right: 0; top: 6px; padding: 2px 8px 1px; border-radius: 99px; background: var(--go); color: var(--on-dark); font-family: var(--font-sign); font-weight: 900; font-size: 14px; pointer-events: none; animation: rise 1.1s ease-out forwards; }
@keyframes rise { 0% { opacity: 0; transform: translateY(14px) scale(0.7); } 25% { opacity: 1; transform: translateY(0) scale(1.1); } 70% { opacity: 1; transform: translateY(-14px) scale(1); } 100% { opacity: 0; transform: translateY(-26px) scale(1); } }

/* ---- The streak's flame ----
   The owner, 2026-11-17, asked which look the streak should wear: "I like the classic flame better." So the
   streak wears a flame beside its number: an orange-red body with a yellow heart. The page's script draws it
   (drawFlame), in one box whatever the look, and these rules give it its place and its colours.
   The two colours are the flame's own (--flame and --flame-heart) and are used here and nowhere else. Red
   still means a bust and orange still means "being built", and neither is used here.
   Unlit, before today's three rounds are finished, it is the same shape as an outline, in the muted ink of
   the words beside it, with no heart: so lit and unlit differ in shape and in fill, never in colour alone.
   The outline is drawn inside the shape (the script clips it there), so the two are one size to their edges.
   Nothing here moves by itself: no animation and no transition. The flame catches once, in the streak's one
   moment at the end of the day, and that is made by the script, and not made at all with motion switched off. */
.fl { display: inline-block; flex: none; width: 1.02em; height: 1.36em; margin: 0 0.2em 0 0.06em; vertical-align: -0.29em; }
.fl svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fl-body { fill: var(--flame); }
.fl-heart { fill: var(--flame-heart); }
/* The outline is drawn at twice the width that is seen: the half outside the shape is clipped away. */
.fl.is-unlit .fl-body { fill: none; stroke: currentColor; stroke-width: 5.6; stroke-linejoin: round; }
/* At the end of the day it stands to the left of the streak's number, in a box that is one size whatever the
   look, and there even before there is a flame: so the number keeps its place when the flame lights. It is
   set a little above the middle of the line, so that its foot stands where the number's does. */
.streakline { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.fl-end { position: relative; top: -3px; width: 30px; height: 40px; margin: 0; color: var(--muted); }
.fl-end.is-unlit .fl-body { stroke-width: 4.4; }
/* A streak of a thousand days beside a day of three thousand points is wider than a small phone. The streak
   then takes a line of its own, at the right, and lies on nothing. */
.readout-top { flex-wrap: wrap; }
.readout-top .streakbox { margin-left: auto; }
/* The line under the streak's number keeps its place while it has nothing to say yet, so nothing under it
   moves when the line arrives. */
#endStreakNote { min-height: 1.45em; }

/* ---- The streak's drawing: the climbing line ----
   The owner, 2026-11-16: "additional leaning into streaks ... It's always the flame streak". The streak's first
   look was a relation of the logo: the dark tile, the dashed yellow limit line and a green curve, with a dot
   where the streak stands. The flame above is what the streak wears now, and this is kept for the profile, as
   the long view: where the streak stands, how far the next mark is, and the best there has been.
   It wears the logo's colours and the logo's weight of line, and it is not the logo's curve. The logo's lands
   on its line, at a ring. A streak never lands, so this curve has a function of its own, which climbs toward
   the dashed line for ever and never reaches it: nothing here is drawn on that line, and there is no ring.
   One function draws it (drawClimb, in the script), and the widths below are the ones its sums count on: a
   check holds the two together. No colour here is new, and nothing here moves. */
.climb svg { display: block; width: 100%; height: auto; }
.cl-tile { fill: var(--mark-bg); }
.cl-limit { fill: none; stroke: var(--warn); stroke-width: 2.4; stroke-dasharray: 7 5; }
.cl-track { fill: none; stroke: var(--lane); stroke-opacity: 0.4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cl-fade { stop-color: var(--go); stop-opacity: 0.42; }
.cl-fade.is-foot { stop-opacity: 0; }
.cl-line { fill: none; stroke: var(--go); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cl-mark { fill: none; stroke: var(--lane); stroke-width: 1.6; stroke-linecap: round; }
.cl-num { fill: var(--lane); font-family: var(--font-sign); font-weight: 800; font-size: 11.5px; text-anchor: middle; font-variant-numeric: tabular-nums; }
.cl-best { fill: var(--mark-bg); stroke: var(--lane); stroke-width: 1.4; }
.cl-dot { fill: var(--go); }
.cl-next { fill: var(--mark-bg); stroke: var(--go); }
/* The profile opens at its top, where the drawing is, with the keyboard's place on the player's name. A name is
   not a button, so it wears no ring for that. */
#pfName:focus { outline: none; }

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; justify-content: center; min-height: 76px; min-width: 0; padding: 13px 13px 12px; border: 0; border-radius: 12px; background: var(--plate); color: var(--plate-ink); font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.2; text-align: left; cursor: pointer; overflow-wrap: anywhere; hyphens: auto; box-shadow: 0 3px 0 var(--shadow); transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease, color 0.12s ease; }
.pick::after { inset: 3px; border-width: 1.5px; border-radius: 9px; }
.pick:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 var(--shadow); }
.pick .nm { max-width: 100%; }
/* Which one is meant: the year of a film, "single squares". It is part of the card, so it follows the name in
   brackets, in the same line and a little quieter, wherever the card is shown. */
.pick .nm .par { font-weight: 500; }
/* A name with one long word is set a little smaller, so the word is not split in two. */
.pick.is-long .nm { font-size: 0.87em; letter-spacing: -0.012em; }
.picks.measure .nm { overflow-wrap: normal; hyphens: manual; }
.pick.is-on { background: var(--guide); color: var(--on-dark); animation: thunk 0.18s ease-out; }
.pick.is-on::after { border-width: 2px; }
.pick.is-hint { background: var(--warn); color: var(--on-warn); animation: nudge 1.1s ease-in-out infinite; }
@keyframes thunk { 0% { transform: scale(0.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes nudge { 0%, 100% { box-shadow: 0 3px 0 var(--shadow), 0 0 0 0 var(--warn); } 50% { box-shadow: 0 3px 0 var(--shadow), 0 0 0 6px var(--warn); } }
/* More than twelve cards: three across and a little smaller, so the whole deck stays on one screen. */
.picks.dense { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picks.dense .pick { min-height: 68px; padding: 11px 10px 10px; font-size: 14px; line-height: 1.15; }
@media (max-width: 350px) { .picks.dense { grid-template-columns: 1fr 1fr; } }
/* ---- Fitting a round's cards to the screen. fitCards() steps down through these until every card shows. ---- */
.picks.fit-1 { gap: 8px; }
.picks.fit-1 .pick { min-height: 62px; padding: 9px 12px 8px; gap: 3px; }
.picks.fit-2 { gap: 6px; }
.picks.fit-2 .pick { min-height: 52px; padding: 7px 10px 6px; gap: 2px; font-size: 14px; line-height: 1.15; }
.picks.fit-3 { gap: 5px; }
.picks.fit-3 .pick { min-height: 44px; padding: 6px 9px 5px; gap: 1px; font-size: 13px; line-height: 1.12; border-radius: 10px; }
/* The last step, for a board still a few pixels too tall: the same letters, with a little less air round them. On
   2026-12-02 every round outside the daily was put on the two small phones, and one Hard round of fifteen cards
   stood 4px under the buttons at the tightest step. This gives a board up to 19px more: 3px a row where a row is taller
   than its least height, and 1px a gap. */
.picks.fit-4 { gap: 4px; }
.picks.fit-4 .pick { min-height: 44px; padding: 4px 9px 4px; gap: 1px; font-size: 13px; line-height: 1.12; border-radius: 10px; }
.picks.fit-2 .pick::after, .picks.fit-3 .pick::after, .picks.fit-4 .pick::after { inset: 2px; border-width: 1px; border-radius: 8px; }
.picks.dense.fit-1 { gap: 7px; }
.picks.dense.fit-1 .pick { min-height: 58px; padding: 8px 9px 7px; }
.picks.dense.fit-2 .pick { min-height: 48px; padding: 6px 8px 5px; font-size: 13px; }
.picks.dense.fit-3 .pick { min-height: 42px; padding: 5px 7px 4px; font-size: 12.5px; }
.picks.dense.fit-4 .pick { min-height: 42px; padding: 3px 7px 3px; font-size: 12.5px; }
/* On a short screen the limit, the clock and the Lock in button give a little room to the cards. */
.screen.is-tight { gap: 10px; }
.is-tight .strip { padding: 4px 0 6px; gap: 6px; }
.is-tight .strip .lsign-sm { font-size: 7px; }
.is-tight .strip .clock .big { font-size: 30px; }
.is-tight .worthline { font-size: 14px; line-height: 1.25; }
.is-tight > .small { font-size: 13px; line-height: 1.3; }
.is-tight .sticky-foot { padding: 6px 0 8px; gap: 5px; }
.is-tight .sticky-foot .small { font-size: 13px; line-height: 1.3; }
.is-tight .sticky-foot .btn:not(.btn-go) { min-height: 48px; padding-block: 10px; }
/* If a screen is too small even then, a tag above the button says there are more cards below. */
.more-below { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 8px; white-space: nowrap; font-family: var(--font-sign); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-warn); background: var(--warn); border-radius: 99px; padding: 5px 14px 4px; box-shadow: 0 2px 0 var(--shadow); pointer-events: none; }
/* Cards arrive one after another, like being dealt. */
.picks.deal .pick { animation: dealin 0.26s ease-out backwards; }
@keyframes dealin { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
.bump { animation: bump 0.22s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 45% { transform: scale(1.045); } 100% { transform: scale(1); } }
.clock .big.is-low { animation: tick 1s ease-in-out infinite; }
@keyframes tick { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } }
.sticky-foot { position: sticky; bottom: 0; background: var(--sky); padding: 10px 0 12px; display: flex; flex-direction: column; gap: 8px; }

/* ---- The graph: the running total climbs toward the dashed limit line. Above the line is a bust. ---- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; }
.c-bg { fill: var(--chart-bg); stroke: var(--line); stroke-width: 1.5; }
.c-hatch { fill: var(--stop); opacity: 0.2; }
.chart.is-bust .c-hatch { opacity: 0.5; }
.c-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.c-area { fill: var(--go); opacity: 0.2; }
/* The limit warms as the line climbs toward it. "--near" runs from 0 (not yet 60% of the way) to 1 (on it),
   and is set by the count itself, so every effect here is driven by the distance still to go. A band of the
   sign's yellow glows behind the dashes and beats faster the closer the line comes, the head of the line
   carries a halo of the same yellow, and the ground under the line warms with it. The line stays green: red
   is for a bust and nothing else. When the count lands it all fades, and the screen is at rest again. */
.c-area { fill: color-mix(in srgb, var(--warn) calc(var(--near, 0) * 75%), var(--go)); opacity: calc(0.2 + var(--near, 0) * 0.12); }
.c-glow { stroke: var(--warn); stroke-width: 12; stroke-linecap: round; opacity: calc(var(--near, 0) * 0.62); transition: opacity 0.5s ease-out; }
.c-halo { fill: var(--warn); opacity: calc(var(--near, 0) * 0.5); transition: opacity 0.5s ease-out; transform-box: fill-box; transform-origin: center; }
.chart.is-near .c-glow { animation: limitpulse 1.05s ease-in-out infinite; }
.chart.is-nearer .c-glow { animation-duration: 0.5s; }
/* The held breath before the last card: the halo swells once, like a hand hovering over a button. */
.chart.is-held .c-halo { opacity: 0.5; animation: charge 0.75s ease-in-out; }
@keyframes limitpulse { 0%, 100% { stroke-width: 8; } 50% { stroke-width: 18; } }
@keyframes charge { 0%, 100% { transform: scale(1); } 55% { transform: scale(1.7); } }
.c-line { fill: none; stroke: var(--go); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.c-line.c-over { stroke: var(--stop); }
.c-dot { fill: var(--chart-bg); stroke: var(--go); stroke-width: 2.5; }
.c-dot.c-over { stroke: var(--stop); }
.c-head { fill: var(--go); stroke: var(--chart-bg); stroke-width: 3; }
.c-head.c-over { fill: var(--stop); }
.c-limit { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 9 6; }
.c-gap { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 4; }
.c-ring { fill: none; stroke: var(--go); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
/* Landing exactly on the limit: the dashed line locks solid and rings spread from the point. */
.chart.is-hit .c-limit { stroke: var(--go); stroke-dasharray: none; stroke-width: 5; }
/* Landing exactly: the whole frame takes the line's green for good, and a bust turns the limit itself red. */
.chart.is-hit .c-bg { stroke: var(--go); stroke-width: 3; }
.chart.is-bust .c-limit { stroke: var(--stop); }
.chart.is-hit .c-ring { animation: ripple 0.9s ease-out 2; }
.chart.is-hit .c-head { stroke: var(--go); fill: var(--chart-bg); stroke-width: 5; }
.chart.is-bust svg { animation: shake 0.45s ease-in-out; }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.5); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.chart-tag { position: absolute; left: 3.5%; transform: translateY(-50%); padding: 4px 9px 3px; border-radius: 5px; background: var(--warn); color: var(--on-warn); font-family: var(--font-sign); font-weight: 900; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; }
.chart.is-hit .chart-tag { background: var(--go); color: var(--on-dark); }
.chart-note { position: absolute; transform: translateY(-50%); padding: 3px 8px 2px; border-radius: 5px; background: var(--plate); color: var(--plate-ink); box-shadow: inset 0 0 0 1.5px var(--plate-ink); font-family: var(--font-sign); font-weight: 800; font-size: 13px; line-height: 1.3; white-space: nowrap; animation: stamp 0.3s cubic-bezier(0.2, 1.5, 0.4, 1); }
.chart-note.is-over { background: var(--stop); color: var(--on-dark); box-shadow: none; }
.chart-note.is-hit { background: var(--go); color: var(--on-dark); box-shadow: none; }
/* What is being added right now, under the graph. */
.step { min-height: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-weight: 600; }
.step b { font-family: var(--font-sign); font-weight: 900; font-size: 18px; }

/* ---- The points: a bar that fills as the total nears the limit. Each mark is a tenth of the limit
   closer and worth double, which is the whole scoring rule. ---- */
.meter { display: flex; flex-direction: column; gap: 6px; }
/* The score reads as one thing, "Points" over the number, as "Your total" sits over the total above it. The
   way down to the optimal answer stands apart from it, on the right, and is drawn as a button. Set between
   the word Points and the number, a reader who had never seen the game read "Points optimal 93" as one
   phrase and did not know it could be pressed. It is a plate, not yellow: the yellow button here is the way on. */
.meter-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-height: 52px; }
.meter-score { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
/* More below, on a result: the way down the page, at the foot of the screen, just above the way on. It is a
   small plate and not yellow, because the yellow button under it is the way on. The button is taller than
   the plate drawn inside it, so that it is easy to hit, and gives that room back to the screen. The arrow
   dips three times and rests. */
.scrolldown { align-self: center; display: inline-flex; align-items: center; min-height: 40px; margin: -5px 0; padding: 5px 12px; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.scrolldown span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 5px; border-radius: 99px; background: var(--plate); color: var(--plate-ink); font-family: var(--font-sign); font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 2px 0 var(--shadow); }
.scrolldown i { font-style: normal; font-size: 14px; animation: dip 1.1s ease-in-out 0.6s 3; }
.scrolldown:focus-visible { outline: 3px solid var(--service); outline-offset: 0; border-radius: 99px; }
.scrolldown:active span { transform: translateY(1px); box-shadow: 0 1px 0 var(--shadow); }
/* The home screen's own cue: since 2026-11-29 the top edge of the blue module, rising from the foot of the screen,
   as wide as the page's column and cut off by the screen's edge, so that it reads as the card below the first view and
   not as a button floating over the page (the owner, that day: "We aren't getting people scrolling down to see it").
   The button is a clear box exactly where the plate rests, at least as tall as a thumb needs; the plate inside it
   slides in, not the button, so what it would lie over can be measured at once. Measured mid-slide, eight pixels low,
   it once cleared a button it then came to rest on. */
.homecue { position: fixed; left: 50%; bottom: 0; z-index: 6; display: block; width: min(428px, calc(100vw - 32px)); min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--on-dark); text-align: left; cursor: pointer; transform: translateX(-50%); -webkit-tap-highlight-color: transparent; }
.homecue .cue-plate { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 44px; padding: 10px 16px calc(9px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; background: var(--service); color: var(--on-dark); box-shadow: 0 -4px 18px var(--shadow); animation: cuein 0.3s ease-out backwards; }
.homecue .cue-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-sign); font-weight: 800; font-size: 18px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.015em; }
.homecue .cue-head i { font-style: normal; font-size: 18px; animation: dip 1.1s ease-in-out 0.6s 3; }
.homecue .cue-free { display: flex; align-items: center; gap: 8px; font-family: var(--font-sign); font-size: 14px; line-height: 1.15; }
.homecue .cue-free b { font-weight: 700; }
.homecue .pips { gap: 4px; }
.homecue .pips i { width: 11px; height: 11px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.78); }
.homecue .pips i.is-left { background: var(--on-dark); box-shadow: none; }
/* Where its second line would lie over the finished day's score, it is drawn as its one line (homeCue). */
.homecue.is-slim .cue-free { display: none; }
.homecue:active .cue-plate { transform: translateY(1px); }
.homecue:focus-visible { outline: none; }
.homecue:focus-visible .cue-plate { outline: 3px solid var(--on-dark); outline-offset: -6px; }
@keyframes cuein { from { opacity: 0; transform: translateY(8px); } }
/* The sign over the rounds outside the daily: a heading on the page itself, not a card. */
.morehead { display: flex; flex-direction: column; gap: 4px; padding: 10px 2px 0; scroll-margin-top: 12px; }
.morehead:focus { outline: none; }
.morehead h2 { font-size: 24px; text-transform: uppercase; letter-spacing: 0.015em; }
.morehead p { font-size: 15px; }
@keyframes dip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
#resProof { scroll-margin-top: 12px; }
#resProof:focus { outline: none; }
/* The reveal's headline is given the focus so that a screen reader says it. It is not a control, and wears no ring. */
#ptHead:focus { outline: none; }
#resProof:focus-visible { outline: 3px solid var(--service); outline-offset: 3px; }
.meter-num { font-family: var(--font-sign); font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-num b { display: inline-block; font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.meter-num small { margin-left: 7px; font-size: 15px; font-weight: 800; color: var(--muted); }
.meter-track { height: 24px; padding: 3px; border-radius: 99px; background: var(--asphalt); overflow: hidden; }
.meter-fill { display: block; position: relative; overflow: hidden; height: 100%; width: 0; border-radius: 99px; background: var(--go); }
/* The points bar warms with the graph, and on an exact landing a light runs along it once. */
.meter-fill { background: color-mix(in srgb, var(--warn) calc(var(--near, 0) * 85%), var(--go)); transition: background-color 0.5s ease-out; }
.meter.is-hit .meter-fill { background: var(--go); }
.meter.is-hit .meter-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%); transform: translateX(-110%); animation: shine 0.9s ease-out 0.12s 1; }
@keyframes shine { to { transform: translateX(110%); } }
.meter.has-points .meter-fill { min-width: 18px; }
.meter.is-hit .meter-track { animation: halo-go 1s ease-out 2; }
.meter.is-bust .meter-track { box-shadow: inset 0 0 0 2.5px var(--stop); animation: shake 0.45s ease-in-out; }
.meter.is-bust .meter-num b { color: var(--stop-ink); }
.meter.is-bust .meter-fill { transition: width 0.3s ease-in; }
@keyframes halo-go { 0% { box-shadow: 0 0 0 0 var(--go); } 100% { box-shadow: 0 0 0 14px transparent; } }
.meter-scale { position: relative; height: 24px; font-family: var(--font-sign); font-weight: 700; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.meter-scale span { position: absolute; top: 0; padding-top: 9px; transform: translateX(-50%); white-space: nowrap; line-height: 1.2; }
.meter-scale span::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: currentColor; }
.meter-scale span.end { left: auto; right: 0; transform: none; color: var(--ink); font-weight: 800; }
.meter-scale span.end::before { left: auto; right: 2px; margin-left: 0; }

/* ---- The result ---- */
.verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; scroll-margin-bottom: 104px; }
#resEveryone { scroll-margin-bottom: 150px; }
.verdict > div:last-child { display: flex; flex-direction: column; gap: 6px; }
.badge-sign { width: 92px; flex: none; animation: stamp 0.32s cubic-bezier(0.2, 1.5, 0.4, 1); filter: drop-shadow(0 3px 0 var(--shadow)); }
.badge-sign svg { display: block; width: 100%; height: auto; }
.badge-sign text { font-family: var(--font-sign); font-weight: 900; text-anchor: middle; }
.b-plate { fill: var(--plate); } .b-ink { fill: var(--plate-ink); } .b-ink-line { fill: none; stroke: var(--plate-ink); stroke-width: 3; }
.b-stop { fill: var(--stop); } .b-guide { fill: var(--guide); } .b-warn { fill: var(--warn); } .b-service { fill: var(--service); }
.b-white { fill: var(--on-dark); } .b-white-line { fill: none; stroke: var(--on-dark); stroke-width: 3; }
@keyframes stamp { from { transform: scale(1.7) rotate(-14deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.rows { display: flex; flex-direction: column; border-top: 1.5px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1.5px solid var(--line); }
.row .par { font-weight: 500; color: var(--muted); }
.row .v { font-family: var(--font-sign); font-variant-numeric: tabular-nums; font-weight: 800; min-width: 4.2em; text-align: right; white-space: nowrap; animation: flipin 0.32s ease-out backwards; }
/* Each number turns over in its own moment, one after another. */
@keyframes flipin { from { transform: rotateX(90deg); opacity: 0; } }
.pill { font-family: var(--font-sign); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px 2px; border-radius: 5px; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); white-space: nowrap; }
.pill.good { background: var(--guide); color: var(--on-dark); box-shadow: none; }
.pill.need { background: var(--warn); color: var(--on-warn); box-shadow: none; }
.pill.drop { color: var(--stop-ink); box-shadow: inset 0 0 0 1.5px var(--stop-ink); }
.daynote { margin: 0; }
.tomorrow { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--plate); color: var(--plate-ink); }
.tomorrow p { margin: 0; }
.week { display: grid; gap: 8px; margin-top: 4px; }
.weekhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.weektotal { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.weekcols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; height: 74px; align-items: end; position: relative; border-top: 2px dashed currentColor; padding-top: 2px; }
.weekcol { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 3px; justify-items: center; min-width: 0; }
.weekcol .col { width: 100%; max-width: 30px; align-self: end; border-radius: 4px 4px 0 0; background: currentColor; opacity: 0.9; min-height: 0; }
.weekcol.miss .col { height: 3px !important; opacity: 0.35; }
.weekcol.ahead .col { height: 0 !important; }
.weekcol.today b { text-decoration: underline; text-underline-offset: 3px; }
.weekcol b { font-family: var(--font-sign); font-size: 12px; font-weight: 800; line-height: 1; }
.week-end { color: var(--ink); }
.week-end .weekcol .col { background: var(--go); }
.cmp { display: grid; gap: 6px; }
.cmprow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 6px 0; border-bottom: 1.5px solid var(--line); }
.cmprow .who { font-family: var(--font-sign); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.cmprow .bar { white-space: nowrap; overflow-x: auto; }
.cmprow .say { grid-column: 2; font-size: 13px; color: var(--plate-muted); }
.trybar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.trysay { min-width: 0; flex: 1 1 12em; font-weight: 600; }
.rows.trying .row { cursor: pointer; padding-inline: 8px; border-radius: 6px; }
.rows.trying .row:focus-visible { outline: 3px solid var(--warn); outline-offset: -3px; }
.rows.trying .row.is-try { background: var(--warn-soft); }
.rows.trying .row.is-try .v { color: var(--ink); }
/* Learn, on a card's row after a round: a quiet button under the card's name, and a box under the row that opens only
   when it is tapped. The drawing is in the result graph's own green and ink, on the graph's paper. */
.learnbtn { display: block; width: 100%; min-width: 0; min-height: 40px; margin: -6px 0; padding: 6px 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.learn-tag { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 2px 7px 1px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); font-family: var(--font-sign); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; vertical-align: 2px; }
.learn-tag i { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.18s ease; }
.learnbtn[aria-expanded="true"] .learn-tag { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.learnbtn[aria-expanded="true"] .learn-tag i { transform: translateY(1px) rotate(225deg); }
.learn-box { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 2px; padding: 10px 12px; border-radius: 10px; background: var(--chart-bg); box-shadow: inset 0 0 0 1.5px var(--line); animation: learnin 0.22s ease-out; }
.learn-box[hidden] { display: none; }
.learn-text { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.4; }
.learn-draw { flex: none; width: 72px; height: 72px; overflow: visible; }
.learn-draw.is-bar { width: 132px; height: 40px; }
.ld-shape { fill: var(--go); fill-opacity: 0.22; stroke: var(--go); stroke-width: 5; stroke-linejoin: round; }
.ld-corner { fill: var(--chart-bg); stroke: var(--ink); stroke-width: 2.5; }
.ld-dot { fill: var(--go); }
.ld-track { fill: var(--sky-deep); }
.ld-bar { fill: var(--go); }
.ld-limit { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 5 4; }
.ld-num { font-family: var(--font-sign); font-weight: 900; font-size: 34px; fill: var(--ink); }
.ld-num-s { font-family: var(--font-sign); font-weight: 900; font-size: 16px; fill: var(--ink); }
.ld-cap { font-family: var(--font-sign); font-weight: 700; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; fill: var(--muted); }
@keyframes learnin { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 360px) { .learn-box { flex-direction: column; align-items: flex-start; } }
/* The result after a round: one headline, one plain line. Nothing beside it, so the words can be large. */
.verdict-plain { display: flex; flex-direction: column; gap: 4px; scroll-margin-bottom: 104px; }
/* The end of the day's way down to More rounds (2026-11-29): a small blue pill at the right of the line that says the
   daily is complete, in the first view of every phone and over nothing. It stands out of the screen's flow, so
   nothing under it moves down. The button is as tall as a thumb needs; the pill that is seen is smaller. */
#s-end .verdict-plain { position: relative; }
/* The line beside the pill keeps clear of it: on a very narrow screen, or with large letters, it folds before it would run under the pill. */
#s-end .verdict-plain .eyebrow { padding-right: 132px; }
.endcue { position: absolute; top: -18px; right: 0; display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.endcue span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--service); color: var(--on-dark); font-family: var(--font-sign); font-weight: 800; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.endcue i { font-style: normal; animation: dip 1.1s ease-in-out 0.6s 3; }
.endcue:active span { transform: translateY(1px); }
.endcue:focus-visible { outline: none; }
.endcue:focus-visible span { outline: 3px solid var(--focus); outline-offset: 2px; }
.end-more:focus { outline: none; }
/* On a short phone the result closes up a little: the player's total, the graph, the points and the head of
   the optimal answer are then in one first view, above the way on. */
#s-result.is-short, #s-result.is-short #resDetail { gap: 8px; }
#s-result.is-short .proof { padding-top: 14px; gap: 10px; }
#s-result.is-short .sticky-foot { padding: 6px 0 8px; gap: 5px; }
/* On the page for a screen reader, and nowhere on the screen. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.verdict-plain h2 { text-wrap: balance; }
.why { display: flex; flex-direction: column; gap: 6px; }
/* The button that opens the rest of the round sits beside the way on. A small mark shows which way it will go. */
.foot-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
/* After the practice round: the way into the game first and full width, and two quiet buttons under it. */
/* After the practice round the way into the game is the big button, and another go sits quietly under it. */
/* The guided practice. One short instruction sits between the limit and the cards, one thing on the board is
   lit, and the rest of the board is dimmed so the eye goes to it. Nothing floats over the board. */
.coach-card { background: var(--plate); color: var(--plate-ink); border-radius: 12px; padding: 12px 14px; box-shadow: inset 0 0 0 2px var(--plate-ink), 0 3px 0 var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.coach-card p { font-weight: 700; font-size: 17px; line-height: 1.3; text-wrap: balance; }
.coach-card p:focus { outline: none; }
.coach-card.is-helper p { font-weight: 500; font-size: 15px; }
.coach-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.newhere { align-self: center; text-align: center; font-weight: 600; }
/* How to play, under Play from a first round until the day is played: a plain pill with a play mark, where the
   newcomer's line stood, so it costs Play no room. It is not the yellow of the button to press, which is Play's. */
.howpill { display: inline-flex; align-items: center; align-self: center; gap: 8px; min-height: 44px; }
/* Its play mark is drawn with a border, not a picture: the daily's card carries no drawing. */
.howpill::before { content: ""; flex: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
/* How to play: a small board to play, with its numbers showing. The game's own graph with its limit, three cards
   that can be tapped, and under them what the picks add up to and what that scores. It is the game with the lid
   off: in a real round the numbers are hidden, and the line under it says so. */
.demo { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; background: var(--sky); }
.demo .chart svg { border-radius: 12px; }
.demo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-card { position: relative; min-width: 0; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px 8px; border: 0; border-radius: 12px; background: var(--plate); color: var(--plate-ink); font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.1; cursor: pointer; box-shadow: var(--edge), var(--lift-sm); transition: background-color 0.12s ease, color 0.12s ease, transform 0.08s ease; }
.demo-card:active { transform: scale(0.97); }
.demo-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* A card's number, on its face: what a real card keeps hidden. */
.demo-num { padding: 3px 9px 2px; border-radius: 99px; background: var(--fill); font-family: var(--font-sign); font-weight: 800; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.demo-card.is-on { background: var(--guide); color: var(--on-dark); animation: thunk 0.18s ease-out; }
.demo-card.is-on .demo-num { background: var(--on-dark); color: var(--guide); }
/* A nudge for someone who has not tapped yet: a fingertip's mark on the first card, for a moment. It is the card's
   own ink, thinned: not the yellow of a button to press. */
.demo-card.is-tap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--plate-ink); opacity: 0; animation: demotap 0.6s ease-out; pointer-events: none; }
@keyframes demotap { 0% { opacity: 0; transform: scale(1.5); } 35% { opacity: 0.3; transform: scale(0.75); } 100% { opacity: 0; transform: scale(1.4); } }
/* What the picks add up to, as a sum, and what that scores. Before a first pick, the one thing to do. */
.demo-say { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; min-height: 34px; font-weight: 700; font-size: 17px; line-height: 1.3; text-align: center; }
.demo-sum { font-family: var(--font-sign); font-weight: 900; font-size: 25px; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.demo-sum.is-bust { color: var(--stop-ink); }
.demo-pts { padding: 5px 12px 4px; border-radius: 99px; background: var(--fill); font-family: var(--font-sign); font-weight: 800; font-size: 15px; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.demo-pts.is-hit { background: var(--go); color: var(--on-warn); }
.demo-pts.is-bust { background: var(--stop); color: var(--on-dark); }
/* What the example leaves out, said once a card has been tried. Its room is kept, so nothing moves when it comes. */
.demo-end { margin-top: -4px; text-align: center; font-size: 15px; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; }
.demo-end.is-in { visibility: visible; opacity: 1; }
@media (max-width: 359px) { .demo-card { font-size: 15px; } .demo-sum { font-size: 22px; } }
/* On a short phone the pop-up gives up some air, so that the board, its line and both buttons are in sight at once. */
@media (max-height: 620px) {
  #m-welcome { padding: 18px 16px 14px; gap: 8px; }
  #m-welcome .btn { min-height: 48px; padding-block: 10px; }
  #m-welcome .demo { padding: 8px; gap: 6px; }
  #m-welcome .demo-card { min-height: 54px; }
}
/* Skipping is a button of its own, as easy to see as Next. The owner, of a quieter one: "it wasnt clear". */
.coach-row .btn-skip { margin-left: auto; background: var(--plate); color: var(--plate-ink); box-shadow: inset 0 0 0 2px var(--plate-ink); }
#s-board[data-guide] .strip, #s-board[data-guide] .picks, #s-board[data-guide] .pick, #s-board[data-guide] .sticky-foot, #s-board[data-guide] .worthline { transition: opacity 0.25s ease; }
#s-board[data-guide="1"] .worthline, #s-board[data-guide="1"] .picks, #s-board[data-guide="1"] .sticky-foot { opacity: 0.3; }
#s-board[data-guide="2"] .strip, #s-board[data-guide="2"] .sticky-foot { opacity: 0.55; }
/* In the last step the line above Lock in is the instruction, so it is set like one. */
#s-board[data-guide="3"] #boardMsg { font-weight: 700; font-size: 16px; color: var(--ink); }
/* The mark is drawn outside whatever it points at, so the words beside that thing are moved clear of it. The
   owner, 2026-11-16: "text getting slightly overwritten by highlighted box". Measured that day: the mark round
   Lock in cut six pixels into the line above it on every phone, and the mark round the limit touched the line
   beside it. The check on phones now reads every word on the board at every step. */
#s-board[data-guide="3"] #boardMsg { margin-bottom: 12px; }
#s-board[data-guide] .worthline { margin-left: 8px; }
/* The mark round Lock in reaches up to seventeen pixels outside it, so the calculator's button stands clear. */
#s-board[data-guide] .lockrow { gap: 20px; }
/* The mark itself: two rings, the sign's yellow inside the ink, so it shows on a light board and a dark one.
   It is not the green of a picked card, and it sits clear of the card's edge: it points, it does not pick.
   Made a third heavier on 2026-11-16, when the owner asked for it "to pop more". Its two colours are named
   here once, so that trying another is one line. */
.guide-ring { --ring-in: var(--warn); --ring-out: var(--ink); position: absolute; z-index: 30; pointer-events: none; border-radius: 16px; box-shadow: 0 0 0 4px var(--ring-in), 0 0 0 7px var(--ring-out); transition: left 0.28s ease, top 0.28s ease, width 0.28s ease, height 0.28s ease, opacity 0.2s ease; }
/* The board slides into place for a moment when it opens. The mark waits for it, so it is never seen askew. */
.guide-ring.is-arriving { opacity: 0; }
.guide-ring.is-pulse { animation: ringpulse 1.4s ease-in-out infinite; }
@keyframes ringpulse { 0%, 100% { box-shadow: 0 0 0 4px var(--ring-in), 0 0 0 7px var(--ring-out); } 50% { box-shadow: 0 0 0 7px var(--ring-in), 0 0 0 10px var(--ring-out); } }
.btn-more { padding-inline: 14px; font-size: 14px; white-space: nowrap; }



/* The exact way, at the foot of every round: the proof that the limit exists.
   It wears the logo's colours: the dark tile, the dashed yellow limit line, the green of the curve. */
.proof { background: var(--mark-bg); color: var(--lane); border-radius: 18px; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 0 var(--shadow); }
.proof-title { font-family: var(--font-sign); font-weight: 900; font-size: 27px; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; }
.proof-rule { border-top: 3px dashed var(--warn); }
.proof-lead { font-size: 15px; }
/* The word that says what the panel is: the best a round could have gone. */
.proof-tag { align-self: flex-start; padding: 6px 13px 4px; border-radius: 6px; background: var(--warn); color: var(--on-warn); font-family: var(--font-sign); font-weight: 900; font-size: 16px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; transform: rotate(-2deg); }
.proof-fact { padding: 10px 12px; border: 2px dashed var(--warn); border-radius: 10px; font-size: 14px; }
.proof-fact b { display: block; margin-bottom: 3px; color: var(--warn); font-family: var(--font-sign); font-weight: 900; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
/* The round's row as it will be shared, shown under the verdict so the bar and the squares are seen to be one thing. */
.proof-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.proof-term { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.proof-chip { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; padding: 7px 11px 6px; border-radius: 8px; color: var(--on-warn); font-size: 15px; font-weight: 700; line-height: 1.2; }
.proof-chip .par { font-weight: 500; }
.proof-chip b { font-family: var(--font-sign); font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof-chip.had, .proof-key .had { background: var(--go); }
.proof-chip.need, .proof-key .need { background: var(--warn); }
.proof-op { font-family: var(--font-sign); font-weight: 900; font-size: 20px; line-height: 1; opacity: 0.75; }
.proof-total { font-family: var(--font-sign); font-weight: 900; font-size: 30px; line-height: 1; color: var(--warn); white-space: nowrap; font-variant-numeric: tabular-nums; }
.proof-key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.proof-key span { display: inline-flex; align-items: center; gap: 6px; }
.proof-key i { width: 12px; height: 12px; border-radius: 3px; }
/* When the panel comes into view the sum is dealt out card by card, and the total lands last. */
.proof.pop .proof-title { animation: stamp 0.34s cubic-bezier(0.2, 1.5, 0.4, 1) backwards; }
.proof.dealt .proof-sum > *, .proof.swap .proof-sum > * { animation: chipin 0.32s cubic-bezier(0.2, 1.6, 0.4, 1) backwards; }
/* Paging through the other exact ways. */
.proof-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.proof-btn { background: transparent; color: var(--lane); box-shadow: inset 0 0 0 2px var(--lane); }
.proof-btn::after { display: none; }
.proof-btn:focus-visible { outline-color: var(--warn); }
@keyframes chipin { from { transform: scale(0.5) translateY(8px); opacity: 0; } }

/* The day: one bar, a third for each round, filled by the points that round scored. */
.daybar { display: flex; gap: 2px; height: 24px; padding: 3px; border-radius: 99px; background: var(--asphalt); overflow: hidden; }
.daybar i { display: block; height: 100%; min-width: 6px; border-radius: 5px; }
.daybar i:first-child { border-top-left-radius: 99px; border-bottom-left-radius: 99px; }
.daybar i.is-last { border-top-right-radius: 99px; border-bottom-right-radius: 99px; }
.daybar .easy { background: var(--go); } .daybar .medium { background: var(--warn); } .daybar .hard { background: var(--stop); }
/* A line that says "Copied" stands under its button. Until it has something to say it takes no room: empty, it
   still counted as a part of its column, and the space above and below it made one gap twice as tall as the rest.
   It stays in the page, so a screen reader hears it the moment it is filled. */
#copyStatus:empty, #endGroupStatus:empty, #copyDailyStatus:empty, #copyWeekStatus:empty, #copyNicheStatus:empty, #endRemindSaid:empty { position: absolute; }
/* The line that stands in the reminder button's place once reminders are on, or says why they could not be. */
.remind-said { font-size: 16px; font-weight: 600; line-height: 1.35; }
/* The daily in the player's calendar (<calendar>): the line under its plate takes no room until it says something.
   The plate and the pop-up's time field are drawn in the sleek layer, at the foot of the styles. */
#endCalSaid:empty { position: absolute; }
/* The day's three scores: three columns under the bar, each a round's lamp with its points beneath. Side by side
   in one row they did not fit a phone, and the third fell alone onto a second row.
   Their size is also what keeps the end of the day about as tall as it was. Set a few pixels shorter, Copy result
   came just inside the first view of a phone 664 high, by one pixel, and a day's accolades (switched off today)
   would have pushed it out again, which the phone check refuses: the moment takes Copy result out of no first
   view it was in. So whoever makes this screen shorter must find the room for that row of cards as well. */
.daykey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; font-size: 14px; }
.daykey > span { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.daykey b { font-family: var(--font-sign); font-weight: 800; font-size: 22px; line-height: 1; padding-left: 2px; font-variant-numeric: tabular-nums; }
.note { background: var(--warn-soft); color: var(--ink); border-radius: 10px; padding: 10px 14px; font-size: 15px; }
#rkInvite { font-size: 15px; }
.sharebox { background: var(--plate); color: var(--plate-ink); border: 2px solid var(--plate-ink); border-radius: 12px; padding: 12px 14px; font-size: 18px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.codebox { font-family: var(--font-sign); font-weight: 900; font-size: 32px; letter-spacing: 0.06em; text-align: center; padding: 14px 8px; border: 2px dashed var(--plate-ink); border-radius: 10px; background: var(--warn-soft); color: var(--ink); overflow-wrap: anywhere; user-select: all; }

/* A few bits of sign-coloured paper when a round lands exactly. */
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 15; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; background: var(--warn); animation: fall 1.8s linear forwards; }
.confetti .c1 { background: var(--go); } .confetti .c2 { background: var(--service); } .confetti .c3 { background: var(--stop); } .confetti .c4 { background: var(--plate); }
@keyframes fall { to { transform: translate(var(--drift, 0), 110vh) rotate(var(--spin, 360deg)); } }

/* ---- The calculator: the player's own sums ----
   The owner, 2026-11-16: "a small calculator to help with math on medium or hard mode ... Something that you
   can hide and click on and move it out of the way", and of where it belongs: "let's just keep it there in all
   rounds that seem like familiar clickable". So it is in every round, behind a button on the row with Leave and
   Lock in, and it is laid out like the calculator on a phone: the display, the digits, the four signs down the
   right, equals at the foot. It floats over the board and is no part of the board's layout, so the cards are
   fitted to the screen exactly as they are without it. It sits above the strip at the top of a round and under
   every pop-up. Its colours are the game's own: the dark board, white signs for the digits, services blue for
   the signs of a sum. Nothing on it is yellow, because yellow is the button to press, and nothing is red,
   because a sum is not a bust. */
.calc { position: fixed; z-index: 12; left: 4px; top: 96px; width: 208px; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; border-radius: 16px; background: var(--asphalt); color: var(--lane); box-shadow: 0 0 0 2px var(--lane), 0 5px 0 2px var(--shadow), 0 16px 30px var(--shadow); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
/* A phone's own edges (a notch, the bar at the foot of the screen) are margins on it. The page's script reads
   them and keeps the calculator clear of them, wherever it is dragged. */
.calc { margin: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.calc:focus { outline: none; }
.calc:focus-visible { outline: 3px solid var(--warn); outline-offset: 4px; }
/* In the practice the guide's mark is drawn over the page. The calculator is the player's own, and sits over it. */
body:has(#s-board[data-guide]):has(#backdrop[hidden]) .calc { z-index: 31; }
.calc.is-in { animation: calcin 0.14s ease-out; transform-origin: 20% 100%; }
@keyframes calcin { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
/* The top of it is the handle: the grip, the display and the line under the display. It is dragged from there. */
.calc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "grip grip" "screen hide" "gap gap"; column-gap: 5px; cursor: grab; touch-action: none; }
.calc.is-held .calc-top { cursor: grabbing; }
.calc-grip { grid-area: grip; justify-self: center; width: 40px; height: 5px; margin: 8px 0 7px; border-radius: 99px; background: currentColor; opacity: 0.55; }
.calc-screen { grid-area: screen; min-width: 0; height: 50px; padding: 4px 9px 3px; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; border-radius: 9px; background: var(--plate); color: var(--plate-ink); overflow: hidden; }
.calc-tape { max-width: 100%; height: 15px; overflow: hidden; font-size: 12px; font-weight: 600; line-height: 15px; white-space: nowrap; color: var(--plate-muted); font-variant-numeric: tabular-nums; }
.calc-num { max-width: 100%; overflow: hidden; font-family: var(--font-sign); font-weight: 900; font-size: 26px; line-height: 28px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Hide stands in the corner where a window's own close button is. It says Hide, not a cross: on a calculator a
   cross is the sign for times. */
.calc-hide { grid-area: hide; width: 48px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; font-family: var(--font-sign); font-weight: 800; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; }
/* How far the total is from the limit. The line keeps its place when it has nothing to say, so no key moves. */
.calc-gap { grid-area: gap; min-height: 17px; margin-top: 5px; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 17px; text-align: center; white-space: nowrap; }
.calc-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.calc-key { position: relative; min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--plate); color: var(--plate-ink); font-family: var(--font-sign); font-weight: 900; font-size: 21px; line-height: 1; cursor: pointer; touch-action: manipulation; box-shadow: 0 2px 0 var(--shadow); transition: transform 0.06s ease, box-shadow 0.06s ease; }
.calc-key.is-wide { grid-column: span 2; }
.calc-key.is-sign { background: var(--service); color: var(--on-dark); font-size: 25px; }
.calc-key.is-quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.calc-key svg { display: block; width: 24px; height: 24px; }
/* The sign that is waiting for its next number is drawn the other way round, as a phone's calculator does. */
.calc-key.is-sign.is-waiting { background: var(--plate); color: var(--service); box-shadow: inset 0 0 0 2px var(--service); }
.calc-key:active, .calc-key.is-down { transform: translateY(2px); box-shadow: 0 0 0 var(--shadow); }
.calc-key.is-quiet:active, .calc-key.is-quiet.is-down, .calc-hide:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px currentColor; }
.calc-key:focus-visible, .calc-hide:focus-visible { outline: 3px solid var(--warn); outline-offset: 2px; }
/* On a short phone it draws in, so that it stands between the limit and the row at the foot, in a round and in
   the practice, and so that a phone turned on its side still has room for it above the row. */
@media (max-height: 620px) {
  .calc { gap: 4px; padding-bottom: 6px; }
  .calc-grip { margin: 5px 0 3px; }
  .calc-screen { height: 40px; padding: 2px 9px 1px; }
  .calc-tape { height: 13px; font-size: 11.5px; line-height: 13px; }
  .calc-num { font-size: 24px; line-height: 24px; }
  .calc-gap { min-height: 16px; margin-top: 3px; line-height: 16px; }
  .calc-keys { gap: 4px 5px; }
  .calc-key { height: 40px; }
}

/* ---- Pop-ups ---- */
.backdrop { position: fixed; inset: 0; z-index: 20; background: var(--veil); display: flex; align-items: flex-end; justify-content: center; padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
@media (min-height: 760px) { .backdrop { align-items: center; } }
.modal { width: 100%; max-width: 440px; max-height: 100%; overflow-y: auto; background: var(--plate); color: var(--plate-ink); border-radius: 18px; padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
/* The pop-up's border is an outline, so it stays put when a tall pop-up scrolls. */
.modal { outline: 2px solid var(--plate-ink); outline-offset: -7px; }
.modal h2 { padding-right: 44px; text-transform: uppercase; letter-spacing: 0.015em; }
.modal .muted, .modal .eyebrow, .modal label { color: var(--plate-muted); }
.modal .btn-quiet { color: var(--plate-ink); }
.modal .btn-quiet::after { border-color: var(--plate-muted); }
.modal .note, .modal .codebox { background: var(--plate-soft); color: var(--plate-ink); }
.x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
/* ---- The pop-up that sells, and the note after paying ---- */
/* The owner, of the second look: "it's close but not there yet. Make it a bit more flashy too. it's cool and sleak."
   A band at the top inside the pop-up's border, the game's own night sky: the niche blue running into the logo tile's
   navy, ruled with the faint graph-paper lines of a card's back. On it the fan of card backs, the heading with a thin
   gold rule under it, and what is bought in words. The close button is white on it. */
.sell .x { color: var(--on-dark); }
.sell-band { margin: -14px -10px 0; padding: 10px 14px 14px; border-radius: 12px; color: var(--on-dark); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background-color: var(--mark-bg);
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px), linear-gradient(170deg, var(--service) 0%, var(--mark-bg) 92%);
  background-size: 16px 16px, 16px 16px, auto; background-position: center; }
.modal .sell-band h2 { padding: 0 34px; font-size: 26px; line-height: 1.1; }
.modal .sell-band h2::after { content: ""; display: block; width: 64px; height: 2px; margin: 8px auto 2px; border-radius: 1px; background: var(--coin); }
.sell-every { margin: 0; font-family: var(--font-sign); font-weight: 800; font-size: 19px; line-height: 1.2; }
.sell-twice { margin: 0; font-size: 13px; }
/* Three card backs, as the game draws them (cardBack), larger, fanned wide, each with its ring lit. Each time the
   band is shown they are dealt in one after another, 80 ms apart, and settle; then one glint of light crosses them
   once. Nothing loops. */
.fan { position: relative; width: 200px; height: 102px; }
.fan-card { position: absolute; left: 68px; top: 4px; width: 64px; height: 90px; border-radius: 10px; background: var(--mark-bg); box-shadow: 0 0 0 2px var(--on-dark), 0 4px 0 var(--shadow); overflow: hidden; }
.fan-card > .back { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 12px 12px; background-position: center; }
.fan-card .back .logo-mark { width: 46px; }
.fan-card .lm-dot { filter: drop-shadow(0 0 3px var(--go)); }
.fan-card:nth-child(1) { transform: translate(-54px, 6px) rotate(-14deg); }
.fan-card:nth-child(2) { z-index: 1; transform: translateY(-2px); }
.fan-card:nth-child(3) { transform: translate(54px, 6px) rotate(14deg); }
.fan-card::after { content: ""; position: absolute; inset: -20% -60%; z-index: 1; opacity: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, color-mix(in srgb, var(--on-dark) 45%, transparent) 50%, transparent 58%); }
.is-dealt .fan-card { animation: fan-deal 320ms cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.is-dealt .fan-card:nth-child(2) { animation-delay: 80ms; }
.is-dealt .fan-card:nth-child(3) { animation-delay: 160ms; }
.is-dealt .fan-card::after { animation: fan-glint 700ms ease-in-out 520ms 1 both; }
@keyframes fan-deal { from { opacity: 0; transform: translate(0, 34px) rotate(0deg) scale(0.86); } }
@keyframes fan-glint { 0% { opacity: 1; transform: translateX(-70%); } 100% { opacity: 1; transform: translateX(70%); } }
/* One line of why under the band. The owner's own line, in the ask after a free round, carries weight. */
.sell-why, .sell-left { margin: 0; text-align: center; }
.sell-why.is-ask { font-family: var(--font-sign); font-weight: 800; font-size: 21px; }
/* The price as the dark plate: the logo tile's navy with a thin gold edge, the price large in white, ONCE in the coin's
   gold, and that it lasts a year in light type. */
.sell-plate { border: 1.5px solid var(--coin); border-radius: 12px; padding: 8px 14px 10px; display: flex; flex-direction: column; gap: 2px; text-align: center; background: var(--mark-bg); color: var(--on-dark); box-shadow: 0 3px 0 var(--shadow); }
.sell-plate p { margin: 0; }
.sell-small { font-size: 14px; color: var(--lane); }
.sell-small, .sell-stripe, .sell-agree, .sell-why, .sell-left { text-wrap: balance; }
/* Two short sentences on one line where they fit, and broken between them where they do not. */
.nw { white-space: nowrap; }
.sell-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sell-price { font-family: var(--font-sign); font-weight: 800; font-size: 42px; line-height: 1.05; color: var(--on-dark); }
.sell-once { padding: 4px 8px 2px; border-radius: 5px; background: var(--coin); color: var(--on-warn); font-family: var(--font-sign); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.sell-life { font-weight: 700; }
.sell-stripe, .sell-agree { margin: 0; text-align: center; }
/* The money button keeps its look, and catches one slow shine as the pop-up settles. */
.is-dealt #btnJoinPay { background-image: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--on-dark) 28%, transparent) 50%, transparent 60%); background-size: 260% 100%; background-repeat: no-repeat;
  animation: sell-shine 1300ms ease-in-out 700ms 1 both; }
@keyframes sell-shine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
/* The facts a buyer needs, as two small road plates in one row. */
.sell-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; }
.sell-tags li { padding: 5px 10px 3px; border: 1.5px solid var(--plate-ink); border-radius: 6px; font-family: var(--font-sign); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
/* On a short screen (a small phone with the browser's bars showing) the fan and the small line give way, so that the
   buttons stay in sight. */
@media (max-height: 600px) { .sell-band .fan, .sell-twice { display: none; } }
/* The pop-up that asks says more than the Join pop-up: after the first and second free rounds how many are left, and
   after the third the lock's heading, three lines long. With the fan it is too tall for a phone of 664 with its bars
   showing, so below 720 it has no fan, and below 600 its words and price are drawn a size smaller. Join and Not now stay in sight (npm run live-page measures it). */
@media (max-height: 720px) { .sell.is-asking .sell-band .fan { display: none; } }
@media (max-height: 600px) {
  .modal.sell.is-asking .sell-band h2 { font-size: 22px; }
  .sell.is-asking .sell-why.is-ask { font-size: 18px; }
  .sell.is-asking .sell-price { font-size: 34px; }
  .sell.is-asking .sell-left { font-size: 14px; }
}
/* How to play opens with one card, face down, that turns over to answer the question above it. */
.picks.solo { grid-template-columns: minmax(0, 240px); justify-content: center; }
.no-card { display: none; }
/* A short screen has no room for the card, so the words give the answer themselves. */
@media (max-height: 520px) { .picks.solo, .with-card { display: none; } .no-card { display: inline; } }
/* In the practice round the line above the cards is the coach's, so it is not set back like a footnote. */
p.coach { color: var(--ink); font-weight: 600; }
.sticky-foot .linkbtn { align-self: center; min-height: 40px; padding: 6px 0; }
ul.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---- Settings and the foot of the page ---- */
details { border-top: 1.5px solid var(--line); padding-top: 10px; }
summary { cursor: pointer; color: var(--muted); font-size: 14px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
summary::before { content: "▸"; }
details[open] > summary::before { content: "▾"; }
summary::-webkit-details-marker { display: none; }
select, textarea, input[type="email"], input[type="text"] { font-family: var(--font-body); font-size: 16px; color: var(--plate-ink); background: var(--plate); border: 2px solid var(--plate-ink); border-radius: 8px; padding: 10px; width: 100%; }
textarea { min-height: 170px; line-height: 1.4; resize: vertical; font-size: 14px; }
/* Send feedback. 16px in the box, so a phone does not zoom in when it is tapped. */
.fb-form { display: flex; flex-direction: column; gap: 10px; }
.fb-form textarea { min-height: 120px; font-size: 16px; }
.fb-form label { margin: 0; }
.fb-pic { display: flex; align-items: center; gap: 12px; }
.fb-thumb { display: block; max-width: 96px; max-height: 96px; border-radius: 8px; border: 2px solid var(--plate-ink); }
.foot-feedback { align-self: center; color: var(--muted); }
label { font-size: 14px; color: var(--muted); display: block; margin: 10px 0 6px; }
label.first { margin-top: 0; }
/* Sign in: the one box a person may tick to have their address filled in next time. Never ticked for them. */
label.remember { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-size: 15px; color: inherit; cursor: pointer; }
/* Drawn by the page, so that the box itself is big enough for a thumb, and looks the same on every phone. */
label.remember input { -webkit-appearance: none; appearance: none; position: relative; width: 40px; height: 40px; margin: 0; flex: none; border: 2px solid var(--plate-ink); border-radius: 8px; background: var(--plate); cursor: pointer; }
label.remember input:checked::after { content: ""; position: absolute; left: 12px; top: 5px; width: 9px; height: 18px; border: solid var(--plate-ink); border-width: 0 4px 4px 0; transform: rotate(45deg); }
/* Continue with Apple. Apple's rule for this button: its mark and the words, both white on black, wherever what is
   behind the button is light. The sign-in box is a white sign in light and in dark, so the button is black in both.
   Otherwise it is a sign like the others: as tall and as wide as Continue with Google, never smaller, with the
   same corners. The mark is drawn by the page from its outline: nothing is loaded from Apple. */
.btn-apple { display: flex; align-items: center; justify-content: center; gap: 9px; padding-inline: 12px; background: var(--apple); color: var(--on-apple); }
.btn-apple svg { flex: none; width: 18px; height: 22px; fill: currentColor; }
/* On the narrowest phones the mark and the words still share one line. */
@media (max-width: 340px) { .btn-apple { gap: 7px; letter-spacing: 0.03em; } }
/* The sign-in box where it would not otherwise fit the screen: a short phone, with more than one way in. The
   same things, set closer together. Nothing is taken out, no word is changed, and every button is still big
   enough for a thumb. The page measures the box as it opens (fitSignIn) and uses this only where it is needed,
   so a box that fits is as it always was. */
#m-signin.is-tight { padding: 20px 20px 14px; gap: 8px; }
#m-signin.is-tight .stack { gap: 8px; }
#m-signin.is-tight .btn { min-height: 44px; padding-block: 9px; }
/* The line that answers a tap is empty until it has something to say, and until then takes no room of its own. */
#m-signin.is-tight #siMsg:empty { margin-top: -8px; }
#m-signin.is-tight #siStart > p { font-size: 15px; line-height: 1.35; }
#m-signin.is-tight #siEmailBox .small { font-size: 13px; line-height: 1.3; }
#m-signin.is-tight label.first { margin-bottom: 4px; }
#m-signin.is-tight label.remember { min-height: 40px; }
.gap-s { margin-bottom: 4px; }
.gap-m { margin-bottom: 8px; }
.gap-top { margin-top: 12px; }
.gap-top-s { margin-top: 8px; }
.foot { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.foot a { color: var(--muted); padding: 8px 0; }
/* The pages of plain words, How to play and About (tools/pages.js): no script, this stylesheet. The logo and the
   name lead home; a round's steps are numbered; the worked example of scoring is a short table. */
a.brand { text-decoration: none; }
a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.doc h2 { margin-top: 8px; }
.doc .rule { font-family: var(--font-sign); font-weight: 800; font-size: 20px; line-height: 1.25; }
ol.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.points { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.points caption { text-align: left; padding-bottom: 6px; }
.points th, .points td { text-align: left; padding: 8px 0; border-bottom: 1.5px solid var(--line); }
.points th { font-size: 14px; color: var(--muted); font-weight: 600; }
.points .num { text-align: right; font-weight: 700; }

/* At the commonest phone width the headline sits on two lines, which keeps the Play button on the first screen. */
@media (max-width: 389px) { .hero h1 { font-size: 27px; } }
@media (max-width: 360px) {
  .mark { font-size: 15px; letter-spacing: 0.03em; }
  .brand { gap: 8px; }
  .brand .logo-mark { width: 30px; }
  .tag { font-size: 11px; letter-spacing: 0.05em; }
  .hero { gap: 14px; }
  .hero-mark { width: 70px; }
  .hero h1 { font-size: 25px; }
  .card { padding: 20px 16px 18px; }
  .proof { padding: 18px 14px 16px; }
  .proof-title { font-size: 23px; }
}
@media (max-width: 340px) { .hero h1 { font-size: 22px; } }
/* A short screen: fewer words before a round, so the face-down cards still show. */
@media (max-height: 660px) {
  .getset { gap: 6px; }
  .getset h2 { font-size: 20px; }
  .getset .setnote { display: none; }
  .btn-go { min-height: 58px; font-size: 19px; }
  .go-count { min-width: 38px; height: 38px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .screen:not([hidden]), .pick.is-on, .pick.is-hint, .picks.deal .pick, .badge-sign, .chart.is-bust svg, .chart.is-hit .c-ring, .chart-note, .confetti i,
  .hero-mark .lm-curve, .hero-mark .lm-area, .hero-mark .lm-dot, .btn-go, .ready .btn-go, .ready.is-in .ready-stage, .ready.is-in .ready-beat-1, .ready.is-in .ready-beat-2, .ready.is-in .ready-line, .ready.is-in .ready-foot,
  .picks .pick.flip, .bump, .clock .big.is-low, .row .v, .learn-box,
  .meter.is-hit .meter-track, .meter.is-bust .meter-track, .proof.pop .proof-title, .proof.dealt .proof-sum > *, .proof.swap .proof-sum > *,
  .chart.is-near .c-glow, .chart.is-held .c-halo, .meter.is-hit .meter-fill::after, .plus-one, .rank.is-up, .scrolldown i { animation: none; }
  .homecue .cue-plate, .homecue .cue-head i, .endcue i { animation: none; }
  .boardstrip, .boardstrip:active { transition: none; transform: none; }
  .plus-one { display: none; }
  .c-glow, .c-halo, .meter-fill, .xpbar i, .pt-fill, .learn-tag i { transition: none; }
  .guide-ring, .guide-ring.is-pulse { transition: none; animation: none; }
  .demo-card, .demo-end { transition: none; }
  .demo-card.is-on, .demo-card.is-tap::before { animation: none; }
  .upnext-mark .lm-curve, .upnext-mark .lm-dot, .sample-ad .sample-art i:nth-child(n) { animation: none; }
  .app.is-loading #s-home, .app.is-loading #topHome { animation-duration: 0.01s; }
  .app.is-loading .limitline { animation: none; }
  #s-board[data-guide] .strip, #s-board[data-guide] .picks, #s-board[data-guide] .pick, #s-board[data-guide] .sticky-foot, #s-board[data-guide] .worthline { transition: none; }
  .btn, .pick { transition: none; }
  .famtile { transition: none; }
  .famtile:active { transform: none; opacity: 0.8; }
  /* The calculator is simply there, and a pressed key dims where it would have dipped. */
  .calc.is-in { animation: none; }
  .calc-key { transition: none; }
  /* On the pop-up that sells nothing moves: the cards are simply fanned, with no glint and no shine. */
  .is-dealt .fan-card, .is-dealt .fan-card::after, .is-dealt #btnJoinPay { animation: none; }
  /* The Unlimited button in the corner keeps still too: no shine. */
  #btnJoinTop.pill-give { animation: none; }
  .calc-key:active, .calc-key.is-down, .calc-key.is-quiet:active, .calc-key.is-quiet.is-down, .calc-hide:active { transform: none; opacity: 0.7; }
}

/* ---- Sending a result ----
   The owner, 2026-11-23: "really emphasizing sending the link to your friends after the round. it is there but can
   we make it even more pop. dont need to over do this like crazy". Not a word is added or changed. The button that
   sends a result carries a paper plane, and it is the yellow one wherever the day's result is offered. At the end
   of the day it is a size larger, and once the score and the streak have had their moment it rings twice while the
   plane sets off, and then it rests. The ring is a shadow and the plane moves inside the button, so nothing on the
   screen changes place. The plane is decoration: it is drawn by the sheet and has no name. It stands here, before
   the accolades' styles and the layer after them: the first is a block that writes no colour, and the second is
   the last thing in the sheet and names no picture. */
.btn-share { display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-share::before { content: ""; flex: none; width: 19px; height: 19px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M22.5 1.5 1.5 9.4l7.9 2.9Zm0 0L11.7 14.6l2.9 7.9Z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M22.5 1.5 1.5 9.4l7.9 2.9Zm0 0L11.7 14.6l2.9 7.9Z%22/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-share-day { min-height: 60px; font-size: 18px; animation: sendring 1.1s ease-out 2.4s 2; }
.btn-share-day::before { width: 21px; height: 21px; animation: sendoff 1.1s ease-in-out 2.4s 2; }
@keyframes sendring { 0% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), var(--lift-sm), 0 0 0 0 var(--warn-glow); } 100% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), var(--lift-sm), 0 0 0 16px transparent; } }
@keyframes sendoff { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(5px, -5px); } }
@media (prefers-reduced-motion: reduce) { .btn-share-day, .btn-share-day::before { animation: none; } }
/* ---- The module: everything outside the daily, on one blue card ----
   The owner, 2026-11-23: "i think we need to consolidate it all into one module that is blue ... I want people to
   pay for the game." Its head says what it is; the pass says whose rounds they are today; then the levels and the
   subjects, each a shelf of the same card with a fine rule over it. */
:root { --money-ink: #0B7A43; }   /* the price as a figure: banknote green by day, and a green that can be read on a dark card at night */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --money-ink: #5AD694; } }
:root[data-theme="dark"] { --money-ink: #5AD694; }
.card.module { gap: 16px; padding: 22px 16px 16px; }
.module .morehead { padding: 0 4px; scroll-margin-top: 34px; }
.module .morehead p { opacity: 0.92; }
.shelf { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.26); }
.shelf > .eyebrow, .shelf > h3, .shelf > p { padding: 0 4px; }
.shelf h3 { font-size: 22px; line-height: 1.12; }
/* The pass: a white plate on the blue card. Its class is "daypass": ".pass" is the screen that hands the phone on in
   Pass the phone, and a reviewer found the first draft of this restyling that screen. Today's free rounds at its head, a dot for each that goes out as it is
   used; under a rule, what unlimited play is, its price as a figure in money's green, how long it lasts, and the one
   button that asks for money. A dot left is filled and a dot used is a ring, so the two are never told apart by colour. */
.daypass { display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--plate); color: var(--plate-ink); box-shadow: var(--lift-sm); overflow: hidden; }
.pass-free, .pass-buy { display: flex; flex-direction: column; padding: 14px 16px; }
.pass-free { gap: 5px; background: var(--fill); border-bottom: 1px solid var(--line); }
.pass-buy { gap: 8px; padding-bottom: 16px; }
.pass-label { font-family: var(--font-sign); font-weight: 800; font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--plate-muted); }
.pass-meter { display: flex; align-items: center; gap: 10px; font-family: var(--font-sign); font-size: 20px; line-height: 1.15; }
.pass-meter b { font-weight: 800; }
.pips { display: inline-flex; flex: none; gap: 5px; }
.pips i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--plate-muted); }
.pips i.is-left { background: var(--plate-ink); box-shadow: none; }
.daypass .small { color: var(--plate-muted); }
.pass-buy h3 { font-size: 22px; line-height: 1.12; }
.pass-price { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 2px; margin-top: 2px; }
.pass-price small { flex-basis: 100%; font-family: var(--font-sign); font-weight: 800; font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--plate-muted); }
.pass-price b { flex: none; font-family: var(--font-sign); font-weight: 900; font-size: 46px; line-height: 1; letter-spacing: -0.02em; color: var(--money-ink); font-variant-numeric: tabular-nums; }
.pass-price span { flex: 1 1 8em; font-size: 15px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.pass-buy #joinCardTerms { font-size: 15px; line-height: 1.35; }
.pass-buy .btn-give { margin-top: 4px; }
.pass-buy .linkbtn { align-self: center; text-align: center; }
/* On the white plate the blue card's own light words and yellow ring would not be seen. */
.card.sign-service .daypass .muted, .card.sign-service .daypass .eyebrow { color: var(--plate-muted); opacity: 1; }
.card.sign-service .daypass { --btn-fill: var(--fill); --btn-lift: none; }
.sign-service .daypass .btn:focus-visible, .sign-service .daypass .linkbtn:focus-visible { outline-color: var(--focus); }
/* More rounds at the end of the day (2026-11-29): a plate of the module's own blue, with its title, today's free rounds
   drawn as the pass draws them but in the blue card's own light, Shuffle as the home screen's shelf draws it, and the
   way to the module. It plays no animation of its own. */
.card.end-more { gap: 14px; padding: 20px 16px 16px; }
.end-more h2 { padding: 0 4px; font-size: 24px; }
.end-more .pass-meter { padding: 0 4px; }
.end-more .pips i { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.78); }
.end-more .pips i.is-left { background: var(--on-dark); box-shadow: none; }
/* A level with nothing to play today, on the blue card: an outline in the card's own light, not a white plate's ink. */
.sign-service .card-general .opt.is-played { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.sign-service .card-general .opt.is-played .count { color: var(--on-dark); opacity: 0.86; }
/* The page that lists every subject is the module's own page: blue, with its lists on white plates. */
.modal.modal-service { background: var(--service) linear-gradient(165deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.26) 100%); color: var(--on-dark); gap: 12px; }
.modal.modal-service > .eyebrow, .modal.modal-service > .small, .modal.modal-service .soon > .eyebrow { color: var(--on-dark); opacity: 0.88; }
.modal.modal-service .x { color: var(--on-dark); }
.modal.modal-service > .btn-quiet { color: var(--on-dark); }
.modal.modal-service > .btn-quiet::after { border-color: rgba(255, 255, 255, 0.5); }
.modal.modal-service > .btn:focus-visible, .modal.modal-service > .x:focus-visible { outline-color: var(--warn); }
.soon { display: flex; flex-direction: column; gap: 10px; }
.soon > .eyebrow { margin: 8px 4px 0; }

/* ---- Easy mode ----
   The owner, 2026-11-23: "you can toggle easy mode on which has no timer and counts up as you go. so when you select
   a card, it counts what you have going up and it the visuals make sense to make it feel like a game still."
   The switch is one row: its name, one line, and a knob that slides and says On or Off, so on is never told from
   off by colour alone. */
.easy-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 56px; padding: 10px 12px 10px 14px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, 0.2); color: inherit; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.36); font-family: var(--font-body); font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer; }
.easy-switch b { display: block; font-family: var(--font-sign); font-weight: 800; font-size: 17px; letter-spacing: 0.01em; }
.easy-switch .easy-say { display: block; font-size: 14px; opacity: 0.92; }
.easy-knob { position: relative; flex: none; width: 74px; height: 34px; border-radius: 99px; background: rgba(0, 0, 0, 0.34); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); font-family: var(--font-sign); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 34px; text-align: right; padding: 0 11px 0 0; transition: background-color 0.16s ease; }
.easy-knob::before { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--lane); box-shadow: 0 1px 0 var(--shadow); transition: transform 0.16s ease; }
.easy-switch[aria-checked="true"] .easy-knob { background: var(--lane); color: var(--plate-ink); box-shadow: none; text-align: left; padding: 0 0 0 12px; }
.easy-switch[aria-checked="true"] .easy-knob::before { transform: translateX(40px); background: var(--guide); }
.easy-switch:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; }
/* In Settings the switch stands on a white sign. */
/* A pop-up is a column that scrolls, and a flex item may shrink to its min-height: the switch must keep its height. */
.modal .easy-switch { flex: none; background: var(--sky-deep); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.modal .easy-knob { background: var(--asphalt); color: var(--lane); box-shadow: none; }
.modal .easy-switch[aria-checked="true"] .easy-knob { background: var(--guide); color: var(--on-dark); }
.modal .easy-switch[aria-checked="true"] .easy-knob::before { background: var(--lane); }
.modal .easy-switch:focus-visible { outline-color: var(--focus); }
/* The mark a round, a day and a row of a leaderboard wear when they were played in Easy mode. */
.easytag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; background: var(--asphalt); color: var(--lane); font-family: var(--font-sign); font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
/* On a leaderboard's dark tile, and on the player's own yellow row, the mark is the light of the two. */
.rank .easytag { margin-left: 8px; vertical-align: 1px; font-size: 10.5px; padding: 1px 7px; background: var(--lane); color: var(--on-warn); }
/* A pace setter's mark is an outline, so it is never read as Easy mode. */
.rank .pacetag { background: transparent; color: var(--lane); box-shadow: inset 0 0 0 1.5px var(--lane); }
/* A card picked in Easy mode shows its number, large, with its name small under it. It is no taller than it was. */
.pick .ev { display: none; font-family: var(--font-sign); font-weight: 900; font-size: 1.45em; line-height: 1; font-variant-numeric: tabular-nums; }
.pick.is-open { cursor: default; }
.pick.is-open .ev { display: block; }
.pick.is-open .nm { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; font-size: 0.8em; font-weight: 600; line-height: 1.2; }
.pick.is-wait { opacity: 0.62; }
/* The card that took the total over the limit. Red is for a bust. */
.pick.is-over { background: var(--stop); color: var(--on-dark); }
/* Where the clock stands in any other round, Easy mode keeps the running total, and the bar under it fills toward
   the limit. It warms as it nears the limit, by the same "--near" as the graph, and turns red only on a bust. */
.timer.is-count span { width: 0; background: color-mix(in srgb, var(--warn) calc(var(--near, 0) * 85%), var(--go)); transition: width 0.42s cubic-bezier(0.2, 0.8, 0.3, 1), background-color 0.4s ease-out; }
.timer.is-count.is-low span { background: var(--stop); }
.clock .big.is-bust { color: var(--stop-ink); }
@media (prefers-reduced-motion: reduce) { .timer.is-count span, .easy-knob, .easy-knob::before { transition: none; } }

/* ---- Trivia night's plate on the home screen (parked since 2026-12-01: see NIGHT_ON) ----
   A mode of its own, so a plate of its own: the logo's dark tile, ruled like the back of a card (the owner,
   2026-11-23: "host a trivia night needs to be it's own button that doesnt look like settings since it is its own
   mode"). The same day: "doesn't pop enough. Close but not there." So it carries a picture of what it is, a big
   screen with a round on it, drawn here and loaded from nowhere; its button is the yellow of a button to press; and
   a yellow rule runs along its head, as the limit's dashes run through the game. */
.card.sign-night { position: relative; overflow: hidden; background-color: var(--well); color: var(--lane); gap: 14px;
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 16px 16px; background-position: center; }
.card.sign-night::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: repeating-linear-gradient(90deg, var(--warn) 0 22px, transparent 22px 34px); }
.card.sign-night .eyebrow { color: var(--warn); opacity: 1; }
.card.sign-night h2 { font-size: 30px; line-height: 1.05; }
.card.sign-night .btn:focus-visible { outline-color: var(--warn); }
/* ---- The subjects in layers: a tile for each family on the home card, and a family's own page ---- */
.fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.famtile { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 68px; padding: 11px 30px 10px 14px; border: 0; border-radius: var(--r-tile); background: var(--plate); color: var(--plate-ink); box-shadow: var(--lift-sm); font-family: var(--font-body); text-align: left; cursor: pointer; transition: transform 0.12s ease; }
.famtile::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -5px; border-right: 2.5px solid var(--plate-muted); border-top: 2.5px solid var(--plate-muted); transform: rotate(45deg); }
.famtile:active { transform: scale(0.98); }
.famtile:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; }
.fam-name { font-family: var(--font-sign); font-weight: 800; font-size: 18px; line-height: 1.12; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.famtile.is-soon { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.famtile.is-soon::after { border-color: var(--on-dark); }
/* The last tile alone on its row takes the row: half a row of nothing beside it read as a tile that had not loaded. */
.fams > .famtile:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* A family's page: its Shuffle first, as the page's one filled row; each group's name over its subjects, with a
   Shuffle of its own; then the subjects. On a page of one family the family's own heading is the page's title. */
.famsec { display: flex; flex-direction: column; }
.famsec + .famsec { margin-top: 6px; }
.modal[data-fam]:not([data-fam=""]) .famsec > .fam { display: none; }
.modal[data-fam="soon"] #soonBox > h3 { display: none; }
.modal[data-fam="soon"] #soonBox[data-all="soon"] .menu-row .state { display: none; }
.mixrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 54px; margin: 10px 0 4px; padding: 9px 12px 9px 14px; border: 0; border-radius: var(--r-btn); background: var(--well); color: var(--lane); font-family: var(--font-body); font-size: 17px; font-weight: 700; text-align: left; cursor: pointer; }
.mixrow .count { display: block; font-size: 13px; font-weight: 500; opacity: 0.86; }
.mixrow .state { flex: none; padding: 6px 14px 5px; border-radius: 99px; background: var(--warn); color: var(--on-warn); font-family: var(--font-sign); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mixrow:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.grouphead { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; margin-top: 8px; padding: 4px 0 4px 2px; font-family: var(--font-sign); font-weight: 800; font-size: 17px; border-bottom: 1px solid var(--line); }
.grouphead .pillbtn { min-height: 44px; padding: 4px 16px; font-size: 14px; }
.menu-row.is-grouped { padding-left: 14px; }
/* The first row after a group's rows that is in no group starts something new: the space a group's heading has. */
.menu-row.is-grouped + .menu-row:not(.is-grouped) { margin-top: 8px; }
.modal.modal-service > .linkbtn { align-self: center; color: var(--on-dark); }
.modal.modal-service > .linkbtn:focus-visible { outline-color: var(--warn); }
/* ---- Pass the phone: a plate of its own in trivia night's dark, and quieter: its words on the left and one button on
   the right. It stood among the subjects until 2026-11-23, and under trivia night's plate until that was parked on
   2026-12-01; it is the first dark plate under the blue module now. ---- */
.card.sign-table { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; --btn-fill: var(--sign); --btn-lift: var(--lift-sm); }
.card.sign-table .btn { color: var(--sign-ink); }
.card.sign-table::before { display: none; }
.table-words { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card.sign-night.sign-table h2 { font-size: 22px; }
.card.sign-table .btn { min-width: 92px; }
.night-plate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.night-plate-words { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.night-tv { display: block; width: 132px; height: auto; flex: none; overflow: visible; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
.night-tv .tv-body { fill: var(--lane); }
.night-tv .tv-screen { fill: var(--mark-bg); }
.night-tv .tv-card { fill: var(--lane); }
.night-tv .tv-on { fill: var(--go); }
.night-tv .tv-sign { fill: var(--lane); }
.night-tv .tv-ink { fill: var(--on-warn); }
.night-tv .tv-limit { stroke: var(--warn); stroke-width: 2.5; stroke-dasharray: 7 5; stroke-linecap: round; }
/* The cards on the little screen are picked one after another, slowly, and put back. Still with motion switched off. */
.night-tv .tv-turn { animation: tvpick 6s ease-in-out infinite; }
.night-tv .tv-turn.t2 { animation-delay: 1.5s; }
.night-tv .tv-turn.t3 { animation-delay: 3s; }
@keyframes tvpick { 0%, 20%, 80%, 100% { fill: var(--lane); } 32%, 68% { fill: var(--go); } }
@media (prefers-reduced-motion: reduce) { .night-tv .tv-turn { animation: none; } }
/* ---- Trivia night: one round on a big screen ----
   The owner, 2026-11-23: "I think this is setup to airplay to smart tv so we want to encourage them to turn phone
   sideways for this mode. then it is full screen but it has to look a lot better in that mode for sharing where you
   can read limit, the current cards, etc."
   Held upright, a phone shows the round in one column, like the rest of the game. Held sideways, or on a television
   or a projector, a round takes the whole screen: the page's own header gives its room to the round, the limit, the
   round's name, the clock and the buttons stand in a rail on the left, and the cards fill everything to the right
   of it, as large as their words allow (nightFit sets the size). Every size follows one unit, "--u": a hundredth of
   the screen's width, or of a 16:9 screen of its height where that is smaller. So a sideways phone, a wide
   projector and a television are one layout at three sizes. */
.app.is-wide { max-width: 1680px; }
.night { gap: 18px; }
.night-pick { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 640px; margin: 0 auto; }
.night-round { display: flex; flex-direction: column; gap: 16px; }
.night-side { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.night-sign { font-size: 12px; }
.night-name { font-size: 26px; text-transform: uppercase; letter-spacing: 0.015em; }
.night-egbox { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.night-eg { max-width: 40ch; font-size: 16px; line-height: 1.4; color: var(--muted); text-wrap: balance; }
.night-eg:focus { outline: none; }
.night-main { display: flex; flex-direction: column; gap: 12px; }
.night-room { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; text-align: center; }
.night-how { max-width: 52ch; font-size: 16px; line-height: 1.35; text-wrap: balance; }
.night-rule { max-width: 52ch; font-weight: 700; font-size: 17px; line-height: 1.35; text-wrap: balance; }
.night-clock { display: flex; align-items: baseline; gap: 12px; }
.night-clock .big { font-size: 40px; font-variant-numeric: tabular-nums; }
.night-clock .big.is-low { animation: tick 1s ease-in-out infinite; }
.night-clock .big.is-bust { color: var(--stop-ink); }
/* Easy mode on the big screen: where the clock stands, the total, and a bar under it that fills toward the limit. */
.night-bar { width: 100%; max-width: 360px; }
.night-score { font-family: var(--font-sign); font-weight: 900; font-size: 22px; line-height: 1.15; }
.night-score.is-bust { color: var(--stop-ink); }
.night-ways { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 360px; }
.night-ways .btn-small { align-self: center; }
.night-site { display: none; }
.night-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.night-card { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; min-width: 0; min-height: 84px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--plate); color: var(--plate-ink); box-shadow: 0 3px 0 var(--shadow); font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.2; text-align: left; overflow-wrap: anywhere; hyphens: auto; }
button.night-card { cursor: pointer; }
button.night-card:disabled { cursor: default; color: var(--plate-ink); }
.night-card .nm .par { font-weight: 500; }
.night-card .val { font-family: var(--font-sign); font-weight: 900; font-size: 1.5em; line-height: 1; font-variant-numeric: tabular-nums; }
.night-card .val:empty { display: none; }
/* Face down: the card's back, the logo on its dark tile, and nothing of the card can be read. */
.night-card.is-down { background: var(--mark-bg); color: var(--lane); }
.night-card.is-down > :not(.back) { visibility: hidden; }
.night-card.is-down > .back { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; border-radius: inherit;
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 16px 16px; background-position: center; }
.night-card .back .logo-mark { width: 52px; }
.night-card.flip { animation: flip 0.44s cubic-bezier(0.3, 0.7, 0.3, 1); }
/* Easy mode: a card the room has picked is green, and the one that took the total over the limit is red. */
.night-card.is-picked, button.night-card.is-picked:disabled { background: var(--guide); color: var(--on-dark); }
.night-card.is-wait { opacity: 0.62; }
.night-card.is-over, button.night-card.is-over:disabled { background: var(--stop); color: var(--on-dark); }
/* After the reveal, the cards of the exact way shown are green and the rest step back. A card the room picked
   keeps a mark of its own, in words, so the two are told apart without colour. */
.night-card.is-way, button.night-card.is-way:disabled { background: var(--guide); color: var(--on-dark); }
.night-card.is-out, button.night-card.is-out:disabled { background: var(--sky-deep); color: var(--muted); box-shadow: none; }
.night-card .mine { display: none; position: absolute; top: 6px; right: 6px; padding: 1px 7px; border-radius: 99px; background: var(--asphalt); color: var(--lane); font-family: var(--font-sign); font-weight: 800; font-size: 0.56em; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.6; }
.night-card.is-mine.is-way .mine, .night-card.is-mine.is-out .mine { display: block; }
.night-proof { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--plate); color: var(--plate-ink); box-shadow: 0 4px 0 var(--shadow); }
.night-proof .eyebrow { color: var(--plate-muted); }
.night-lead { font-weight: 700; font-size: 18px; }
.night-sum { font-size: 18px; line-height: 1.5; }
.night-sum b { font-family: var(--font-sign); font-weight: 900; font-variant-numeric: tabular-nums; }
.night-more { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.night-more .small, .night-source { color: var(--plate-muted); }
.night-foot { margin-top: 4px; text-align: center; font-family: var(--font-sign); font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.night-foot b { font-weight: 900; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .night-card.flip, .night-clock .big.is-low { animation: none; } }
/* ---- Trivia night's set-up: three rows of choices and one Start ---- */
.night-pick h2 { font-size: 32px; }
.night-tip { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.night-tip svg { flex: none; width: 34px; height: 34px; }
.night-tip .tip-phone { fill: none; stroke: currentColor; stroke-width: 2; }
.night-tip .tip-arrow { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.night-set { display: grid; gap: 16px; }
.night-opt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.night-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.night-chips .tab { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; white-space: nowrap; }
.night-chips .tab:disabled { opacity: 0.5; cursor: default; }
.night-chips .tab .lamp { flex: none; width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.night-chips .tab .lamp.easy { background: var(--go); }
.night-chips .tab .lamp.medium { background: var(--warn); }
.night-chips .tab .lamp.hard { background: var(--stop); }
.night-subjects .tab { flex: 0 1 auto; }
.night-says { min-height: 1.45em; }
.night-start { display: flex; flex-direction: column; gap: 10px; }
.night-no { font-family: var(--font-sign); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.night-end { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8vh 0 4vh; text-align: center; }
.night-end h2 { font-size: clamp(30px, 5vw, 72px); }
.night-end h2:focus { outline: none; }
.night-end .lead { font-size: clamp(18px, 2.2vw, 34px); }
/* ---- Turn the phone ---- A phone held upright with a round up is asked, once a game, to turn sideways. */
.night-turn { display: none; flex-direction: column; align-items: center; gap: 14px; padding: 6vh 8px; text-align: center; }
.night-turn h2 { font-size: 28px; }
.night-turn svg { width: 120px; height: 120px; }
.night-turn .turn-phone { fill: var(--mark-bg); stroke: var(--ink); stroke-width: 3; transform-origin: 60px 60px; animation: turnphone 2.6s ease-in-out infinite; }
.night-turn .turn-screen { fill: var(--warn); transform-origin: 60px 60px; animation: turnphone 2.6s ease-in-out infinite; }
@keyframes turnphone { 0%, 22% { transform: rotate(0deg); } 55%, 100% { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .night-turn .turn-phone, .night-turn .turn-screen { animation: none; transform: rotate(-90deg); } }
@media (max-width: 559px) and (orientation: portrait) {
  .night.is-asking .night-turn { display: flex; }
  .night.is-asking .night-round, .night.is-asking .night-foot { display: none; }
}
/* ---- Sideways: a television, a projector, or a phone turned on its side. The round is the whole screen. ---- */
@media (min-width: 560px) and (orientation: landscape) {
  .night-pick { max-width: 1100px; }
  .night-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .night-set .night-opt.is-wide { grid-column: 1 / -1; }
  .app.is-stage { --u: min(1vw, 1.78vh); max-width: none; padding: 0; }
  .app.is-stage .top, .app.is-stage .limitline, .app.is-stage .betabar, .app.is-stage .foot { display: none; }
  .app.is-stage .night { gap: 0; }
  .app.is-stage .night-foot { display: none; }
  .app.is-stage .night-round { display: grid; grid-template-columns: minmax(200px, 27vw) minmax(0, 1fr); gap: calc(2 * var(--u)); align-items: stretch; box-sizing: border-box; height: 100vh; height: 100dvh;
    padding: max(calc(1.6 * var(--u)), env(safe-area-inset-top, 0px)) max(calc(2 * var(--u)), env(safe-area-inset-right, 0px)) max(calc(1.6 * var(--u)), env(safe-area-inset-bottom, 0px)) max(calc(2 * var(--u)), env(safe-area-inset-left, 0px)); }
  .app.is-stage .night-side { justify-content: center; gap: calc(1 * var(--u)); min-height: 0; }
  /* In the rail the example stands under the round's name and over the clock, as it always did. */
  .app.is-stage .night-clock, .app.is-stage .night-bar, .app.is-stage .night-score, .app.is-stage .night-msg, .app.is-stage .night-ways, .app.is-stage .night-site { order: 1; }
  .app.is-stage .night-no { font-size: max(13px, calc(1.5 * var(--u))); }
  .app.is-stage .night-side .eyebrow { font-size: max(10px, calc(1.05 * var(--u))); }
  .app.is-stage .night-sign { font-size: max(9px, calc(1.75 * var(--u))); }
  .app.is-stage .night-name { font-size: max(15px, calc(2.4 * var(--u))); line-height: 1.08; text-wrap: balance; }
  .app.is-stage .night-eg { font-size: max(12px, calc(1.2 * var(--u))); }
  .app.is-stage .night-clock { gap: calc(0.8 * var(--u)); }
  .app.is-stage .night-clock .big { font-size: max(26px, calc(4.6 * var(--u))); line-height: 1; }
  .app.is-stage .night-bar { max-width: none; height: max(10px, calc(0.9 * var(--u))); }
  .app.is-stage .night-score { font-size: max(16px, calc(2.2 * var(--u))); }
  /* The buttons stay on one row, so the rail is never taller than a short screen. */
  .app.is-stage .night-ways { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; max-width: none; gap: max(6px, calc(0.7 * var(--u))); }
  .app.is-stage .night-ways .btn { min-width: 0; font-size: max(15px, calc(1.5 * var(--u))); min-height: max(44px, calc(4.4 * var(--u))); padding: 6px max(8px, calc(1 * var(--u))); white-space: nowrap; }
  .app.is-stage .night-ways .btn:not(.btn-small) { flex: 1 1 4em; width: auto; }
  .app.is-stage .night-ways .btn-small { flex: none; font-size: max(13px, calc(1.15 * var(--u))); min-height: max(44px, calc(3.4 * var(--u))); }
  .app.is-stage .night-site { display: block; font-family: var(--font-sign); font-weight: 800; font-size: max(11px, calc(1.2 * var(--u))); letter-spacing: 0.03em; line-height: 1.25; }
  .app.is-stage .night-site b { display: block; font-weight: 900; font-size: 1.25em; }
  .app.is-stage .night-main { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: calc(1 * var(--u)); min-height: 0; }
  .app.is-stage .night-cards { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: max(6px, calc(0.9 * var(--u))); min-height: 0; }
  .app.is-stage .night-card { min-height: 0; padding: max(5px, calc(0.9 * var(--u))) max(7px, calc(1.1 * var(--u))); gap: max(2px, calc(0.4 * var(--u))); border-radius: max(10px, calc(1 * var(--u))); font-size: var(--nf, calc(2.3 * var(--u))); line-height: 1.12; overflow: hidden; overflow-wrap: normal; hyphens: manual; }
  .app.is-stage .night-card .val { overflow-wrap: normal; white-space: nowrap; }
  .app.is-stage .night-card .back .logo-mark { width: calc(5 * var(--u)); }
  .app.is-stage .night-room { gap: calc(0.3 * var(--u)); padding-top: 0; }
  .app.is-stage .night-how { max-width: none; font-size: max(12px, calc(1.5 * var(--u))); }
  .app.is-stage .night-rule { max-width: none; font-size: max(13px, calc(1.8 * var(--u))); }
  .app.is-stage .night-proof { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: calc(0.4 * var(--u)) calc(1.4 * var(--u)); padding: max(8px, calc(1 * var(--u))) max(12px, calc(1.4 * var(--u))); border-radius: max(10px, calc(1 * var(--u))); }
  .app.is-stage .night-proof .eyebrow, .app.is-stage .night-source { display: none; }
  .app.is-stage .night-lead, .app.is-stage .night-sum { font-size: max(13px, calc(1.6 * var(--u))); line-height: 1.3; }
  .app.is-stage .night-more { gap: calc(1 * var(--u)); }
  .app.is-stage .night-more .btn { font-size: max(13px, calc(1.2 * var(--u))); min-height: max(40px, calc(3.2 * var(--u))); }
  .app.is-stage .night-more .small { font-size: max(12px, calc(1.1 * var(--u))); }
}
/* The limit, what the cards count and the clock are one head, and the buttons and their line one block. Side by
   side they are parts of the rail, one under another, as they always were. */
.night-head, .night-act { display: contents; }
/* ---- Held upright, or on any screen that is not sideways: the round reads as the normal board does. ----
   The owner, 2026-11-23: "i want the limit to be on the screen like the normal game. i want to pick and play like
   that." The limit, what the cards count and the clock are a strip that stays at the top while the cards scroll under
   it, and the buttons a row that stays at the foot, as Lock in does on the normal board. */
@media not all and (min-width: 560px) and (orientation: landscape) {
  .night-side { display: contents; }
  .night-side > * { align-self: center; text-align: center; }
  .night-head { align-self: stretch; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 6px 0 10px; background: var(--sky); text-align: left; }
  .night-head .night-sign { font-size: 8px; }
  .night-head .night-name { font-size: 19px; line-height: 1.1; text-wrap: balance; }
  .night-head .night-clock { flex-direction: column; align-items: flex-end; gap: 2px; }
  .night-head .night-clock .big { font-size: 34px; }
  .night-head .night-bar { grid-column: 1 / -1; max-width: none; }
  .night-main { order: 1; }
  /* A card the keyboard reaches is scrolled clear of the strip above and the row below. */
  .night-card { scroll-margin-top: 140px; scroll-margin-bottom: 110px; }
  .night-act { order: 2; align-self: stretch; position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 6px; padding: 10px 0 max(12px, env(safe-area-inset-bottom, 0px)); background: var(--sky); text-align: center; }
  .night-act .night-ways { flex-direction: row; align-items: center; max-width: none; }
  .night-act .night-ways .btn-primary { flex: 1 1 auto; width: auto; }
  .night-act .night-msg:empty { display: none; }
}
/* A sideways phone is very short: the example and the sentence on how to play give their room to the cards. */
@media (min-width: 560px) and (max-height: 460px) and (orientation: landscape) {
  .app.is-wide .top, .app.is-wide .limitline { display: none; }
  .app.is-wide { padding-top: 8px; padding-bottom: 8px; }
  .app.is-wide.is-stage { padding-top: 0; padding-bottom: 0; }
  .app.is-stage .night-egbox, .app.is-stage .night-how { display: none; }
  .app.is-stage .night-side { gap: 5px; }
  .app.is-stage .night-sign { font-size: max(8px, calc(1.5 * var(--u))); }
  .night-end { padding: 2vh 0; gap: 8px; }
}

/* ---- The game on the home screen (#homeIcon) ---- */
/* The owner, 2026-11-24, of the plain card this was: "Make it look great and pop too". It is the logo's own night
   sky, by day and at night: a deep navy surface with the daily's green rising behind the icon, so it stands out from
   the white cards by day and from the dark ones at night. Beside the heading, the icon the phone will show, a copy of
   the header's logo, set as an app's icon is and arriving with one small bounce; the close button sits in the
   corner, as on a pop-up. The button is the yellow one to press. The two taps of an iPhone are a numbered list, and
   the symbol to look for in each is drawn as a key beside its words. Nothing here is yellow but the button. */
.card.homeicon { --plate: #101E32; --plate-ink: #F4F6F8; --plate-muted: #A9BACB; --fill: rgba(255, 255, 255, 0.12);
  gap: 16px; padding: 20px; color: var(--plate-ink);
  background: radial-gradient(120% 150% at 0% 0%, rgba(37, 192, 111, 0.55) 0%, rgba(37, 192, 111, 0.16) 38%, rgba(37, 192, 111, 0) 68%), var(--plate) linear-gradient(160deg, #1F3A60 0%, #0C1626 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 44px -22px rgba(4, 12, 24, 0.85), 0 14px 40px -18px rgba(37, 192, 111, 0.45); }
.homeicon-head { display: flex; align-items: center; gap: 16px; padding-right: 40px; }
.homeicon-tile { flex: none; width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 12px 24px -8px rgba(37, 192, 111, 0.6), 0 8px 16px -8px rgba(0, 0, 0, 0.7); }
.homeicon-tile .logo-mark { display: block; width: 100%; height: 100%; }
.card.homeicon h2 { font-size: 24px; line-height: 1.1; }
.homeicon .x { top: 8px; right: 8px; color: var(--plate-muted); }
.homeicon-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: homeicon; }
.homeicon-steps li { counter-increment: homeicon; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 16px; font-weight: 600; line-height: 1.3; }
.homeicon-steps li::before { content: counter(homeicon); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--plate-ink); color: var(--plate); font-family: var(--font-sign); font-weight: 800; font-size: 15px; line-height: 1; }
/* The phone's own symbols, drawn by the script (paintHomeIcon): Share, and the plus in a square beside Add to Home
   Screen. Each sits on a key, as it does on the phone. */
.share-mark { display: inline-block; width: 28px; height: 28px; margin: -6px 0 -6px 8px; padding: 4px; border-radius: 8px; vertical-align: middle; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10); }
.share-mark svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* An iPhone's button, which opens the phone's share list, wears the Share symbol bare; the one tap left is said under it. */
/* The button's words and its symbol are set as one centred row, so the symbol sits level with the words on a real phone. */
#btnHomeIconShare:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 8px; }
.homeicon .btn .share-mark { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.end-homeicon-then { margin: -8px 0 0; text-align: center; }
/* The way out of an app's own browser (<openout>): the line under its button, and what is said when it did not open.
   Empty, the second takes no room, as the other lines under a button here. */
.end-openout-why, .end-openout-said { margin: -8px 0 0; text-align: center; }
#endOpenOutSaid:empty { position: absolute; }
/* The one tap left, as a step that stands out (the owner, 2026-11-24, of a centred sentence: "more like a step
   instruction that stands out a bit"): a small label, then the row to look for, drawn as it is in the phone's list,
   its words on the left and its symbol on the right. It is a picture of the row, and nothing to press. */
.homeicon-then { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.homeicon-then-say { font-size: 12px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--plate-muted); }
.homeicon-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 12px 0 16px; border-radius: var(--r-btn); background: var(--fill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10); font-size: 17px; font-weight: 600; line-height: 1.2; }
.homeicon-row .share-mark { flex: none; margin: 0; background: none; box-shadow: none; }
.homeicon:not([hidden]) { animation: screenin 0.22s ease-out; }
.homeicon:not([hidden]) .homeicon-tile { animation: iconpop 0.52s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.14s backwards; }
@keyframes iconpop { 0% { transform: scale(0.55); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .homeicon:not([hidden]), .homeicon:not([hidden]) .homeicon-tile { animation: none; } }

/* <endplates>
   What 2026-12-02 added to the end of the day and to a result: written in the sleek layer's own terms (its corners, its
   shadows, its fills), and kept out of it because it draws its small pictures itself, which that layer never does. It
   stands above the accolades' styles: their block runs up to the sleek layer and may name no colour but the game's. */
/* ---- A result that copies itself when tapped (<resultcard>, 2026-12-02) ----
   The box is the result as it will be sent. Its small buttons stand in its top right corner, and the lines beside
   them make room: an empty piece the buttons' size is set at the right of the words, so those lines turn before it.
   The lines under the buttons have the box's whole width, so the address is never broken in two on a narrow phone.
   "Copied to clipboard" stands over the box for a moment. */
.sharecard { position: relative; }
.sharecard .sharebox { margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity 0.16s ease; }
.sharecard .sharebox::before { content: ""; float: right; width: 39px; height: 34px; }
#endShareCard .sharebox::before { height: 78px; }
.sharecard-btn { position: absolute; right: 4px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.sign-guide .sharecard-btn, .sign-service .sharecard-btn { color: var(--plate-ink); }
.sharecard-copy { top: 3px; }
.sharecard-what { top: 47px; }
.sharecard-btn::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--fill); grid-area: 1 / 1; }
.sharecard-btn::after { content: ""; width: 18px; height: 18px; grid-area: 1 / 1; background: currentColor; opacity: 0.78; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.sharecard-copy { --glyph: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%229%22 width=%2212%22 height=%2212%22 rx=%223%22/%3E%3Cpath d=%22M5 15H4.8A1.8 1.8 0 0 1 3 13.2V4.8A1.8 1.8 0 0 1 4.8 3h8.4A1.8 1.8 0 0 1 15 4.8V5%22/%3E%3C/svg%3E"); }
.sharecard-what { --glyph: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8.4 8.6a3.7 3.7 0 0 1 7.2 1.2c0 2.6-3.6 3-3.6 5.4%22/%3E%3Cpath d=%22M12 19.4v.1%22/%3E%3C/svg%3E"); }
.sharecard.is-copied .sharecard-copy { --glyph: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.6l4.6 4.6L19 7.4%22/%3E%3C/svg%3E"); }
.sharecard.is-copied .sharecard-copy::before { background: var(--go); }
.sharecard.is-copied .sharecard-copy::after { background: var(--on-dark); opacity: 1; }
.sharecard-btn:active::before { filter: brightness(0.9); }
.sharecard-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: -4px; }
.sharecard-said { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 11px 18px 10px 40px; border-radius: 99px; background: var(--guide); color: var(--on-dark); font-family: var(--font-sign); font-weight: 800; font-size: 17px; line-height: 1.15; white-space: nowrap; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.7); pointer-events: none; }
.sharecard-said::before { content: ""; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.6l4.6 4.6L19 7.4%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.6l4.6 4.6L19 7.4%22/%3E%3C/svg%3E") center / contain no-repeat; }
/* Empty, the line is still on the page, unseen: a line that is taken off the page until its words come is not always
   read out. It comes in when its card is marked as copied. */
.sharecard-said:empty { opacity: 0; }
.sharecard.is-copied .sharecard-said { animation: copiedin 0.2s ease-out; }
.sharecard.is-copied .sharebox { opacity: 0.38; }
/* It comes in by size alone, never by fading up from nothing: a page whose motion is held still shows the line. */
@keyframes copiedin { from { transform: translate(-50%, -50%) scale(0.9); } to { transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .sharecard.is-copied .sharecard-said { animation: none; } .sharecard .sharebox { transition: none; } }

/* ---- The three plates under the day's share button (2026-12-02) ----
   The owner: "a support the game right below, then see leaderboard, then add calendar reminder. All different colors
   and all kind of pop without being overwhelming with rest of the screen." Each is a dark plate tinted with its own
   colour, by day and at night, and each has one bright thing on it: money's green and the gold coin, the board's
   asphalt with a white button, the logo's navy with the daily's green on a small calendar. */
.support.end-give { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 13px 13px 20px; border-top: 0; border-radius: var(--r-card); background: var(--money) linear-gradient(155deg, rgba(3, 18, 11, 0.30), rgba(3, 18, 11, 0.68)); color: var(--on-dark); box-shadow: var(--edge), var(--lift); }
/* The words take the room the button leaves. Where the two cannot stand side by side (the longer "Donate again" on a
   narrow phone), the button goes under the words and is as wide as the plate. */
.end-give-words { flex: 100 1 110px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
/* The heading is on one line beside its button on a phone 360 wide or more, and on two on a narrower one. */
.end-give .support-title { font-size: clamp(17px, 5.1vw, 21px); }
.end-give #endSupportLine { font-size: 14px; line-height: 1.3; opacity: 0.88; }
.end-give .btn { flex: 1 0 auto; width: auto; min-height: 50px; white-space: nowrap; }
.end-give .btn-give { padding-left: 14px; padding-right: 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 18px -8px rgba(0, 0, 0, 0.7); }
.end-give .btn:focus-visible { outline-color: var(--warn); }
/* In the pop-up that sells the plate is a second choice, set a little apart from the price above it. */
.sell-give { margin-top: 10px; }
.card.end-board { background: var(--asphalt) linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 60%); }
.end-board #btnEndRanks { background: var(--lane); color: var(--asphalt); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.7); }
.end-cal { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 20px 14px 16px; border: 0; border-radius: var(--r-card); background: var(--mark-bg) radial-gradient(150% 190% at 0% 100%, rgba(37, 192, 111, 0.62), rgba(37, 192, 111, 0.16) 46%, rgba(37, 192, 111, 0) 72%); color: var(--on-dark); font-family: var(--font-sign); font-weight: 800; font-size: 17px; line-height: 1.2; text-align: left; cursor: pointer; box-shadow: var(--edge), var(--lift); transition: transform 0.12s ease, filter 0.12s ease; }
.end-cal:active { transform: scale(0.985); filter: brightness(0.96); }
/* Its ring stands on the page, outside the plate: the page's own ring, blue by day and yellow at night. */
.end-cal:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.end-cal-say { flex: 1; min-width: 0; }
.end-cal .chev { flex: none; width: 10px; height: 10px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); opacity: 0.8; }
/* A small calendar: a white page with the daily's green across its head, two rings, and a week of days with one lit. */
.end-cal-page { flex: none; width: 46px; height: 46px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 46 46%22%3E%3Crect x=%223%22 y=%226%22 width=%2240%22 height=%2237%22 rx=%229%22 fill=%22%23F4F6F8%22/%3E%3Cpath d=%22M3 15a9 9 0 0 1 9-9h22a9 9 0 0 1 9 9v4H3z%22 fill=%22%2317A65B%22/%3E%3Crect x=%2212.5%22 y=%222%22 width=%224.5%22 height=%2210%22 rx=%222.25%22 fill=%22%23F4F6F8%22 stroke=%22%2314284A%22 stroke-width=%221.5%22/%3E%3Crect x=%2229%22 y=%222%22 width=%224.5%22 height=%2210%22 rx=%222.25%22 fill=%22%23F4F6F8%22 stroke=%22%2314284A%22 stroke-width=%221.5%22/%3E%3Cg fill=%22%23B9C4CF%22%3E%3Ccircle cx=%2213%22 cy=%2226%22 r=%222.6%22/%3E%3Ccircle cx=%2223%22 cy=%2226%22 r=%222.6%22/%3E%3Ccircle cx=%2233%22 cy=%2226%22 r=%222.6%22/%3E%3Ccircle cx=%2213%22 cy=%2235%22 r=%222.6%22/%3E%3Ccircle cx=%2233%22 cy=%2235%22 r=%222.6%22/%3E%3C/g%3E%3Ccircle cx=%2223%22 cy=%2235%22 r=%223.4%22 fill=%22%2317A65B%22/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
@media (prefers-reduced-motion: reduce) { .end-cal, .end-cal:active { transition: none; transform: none; } }

/* ---- The calendar's pop-up (2026-12-02) ----
   The owner, with a picture of it on an iPhone: "The calendar is close but i don't like how the user interface looks
   here ... the time is a little off center". In the owner's picture the field ran out past the pop-up's edge and its
   time stood to one side. An iPhone draws a time field by rules of its own: it can be wider than the room it is given,
   and it sets its time at the left. So the field is asked for the plain look (appearance: none), given no least width,
   no padding and no border, and its time is centred by the phone's own handle (::-webkit-date-and-time-value). The box
   is drawn by a well round the field, which cuts off anything that runs past it. Worked out from the picture: not
   seen on an iPhone since. Everything in the pop-up is set on its middle line, under the small calendar. */
.modal.modal-cal { gap: 14px; text-align: center; }
.modal.modal-cal h2 { padding: 0 34px; }
.cal-hero { align-self: center; width: 68px; height: 68px; margin-top: 2px; }
.cal-hero .end-cal-page { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(13, 24, 38, 0.3)); }
.cal-field { display: flex; flex-direction: column; gap: 8px; }
.cal-field label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--plate-muted); }
/* The well's edge is the field's edge: it has to be made out against the pop-up (3 to 1), so it is the plate's muted ink. */
.cal-well { display: block; overflow: hidden; border-radius: var(--r-tile); background: var(--fill); box-shadow: inset 0 0 0 1.5px var(--plate-muted); }
.cal-well:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.cal-time { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; height: 76px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--plate-ink); font-family: var(--font-sign); font-weight: 800; font-size: 36px; line-height: 76px; text-align: center; font-variant-numeric: tabular-nums; }
.cal-time:focus-visible { outline: 0; }
.cal-time::-webkit-date-and-time-value { text-align: center; margin: 0; }
/* Where a browser draws a small clock in the field, it stands at the right edge and takes no room from the time. */
.cal-time { position: relative; }
.cal-time::-webkit-calendar-picker-indicator { position: absolute; right: 14px; top: 50%; margin: -12px 0 0; padding: 0; width: 24px; height: 24px; opacity: 0.6; }

/* ---- The home screen's Support the game, in the end of the day's plate (2026-12-02) ----
   The same row: the heading at the left, the button at the right, the thank-you under the heading for someone who
   gave this month. Where the two cannot stand side by side the button goes under the words. "Donate again" is a
   plain button: on this plate it is the plate's own solid button, never a card's faint one, whose dark words would
   be lost on the green by day. */
.card.sign-support { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 13px 13px 20px; border-top: 0; text-align: left; background: var(--money) linear-gradient(155deg, rgba(3, 18, 11, 0.30), rgba(3, 18, 11, 0.68)); color: var(--on-dark); --btn-fill: var(--plate); --btn-lift: var(--lift-sm); }
.card.sign-support .give-words { flex: 100 1 110px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card.sign-support h2 { margin: 0; font-size: clamp(17px, 5.1vw, 21px); white-space: normal; color: inherit; }
.card.sign-support #supportBlurb { margin: 0; font-size: 14px; line-height: 1.3; opacity: 0.88; }
.card.sign-support .btn { flex: 1 0 auto; width: auto; min-height: 50px; white-space: nowrap; }
.card.sign-support .btn-give { padding-left: 14px; padding-right: 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 18px -8px rgba(0, 0, 0, 0.7); }
.card.sign-support .btn:focus-visible { outline-color: var(--warn); }

/* ---- The quiet ways on from a round's result, one list at its foot (2026-12-02) ----
   Three rows in one soft box, a hair between them, an arrowhead at the right of each. A row that is not offered (in
   the practice) leaves no line behind. */
.foot-links { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-tile); background: var(--fill); }
.foot-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 10px 16px; border: 0; border-top: 1px solid var(--hair); background: transparent; color: inherit; font-family: var(--font-body); font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.foot-link:first-child, .foot-link:first-child[hidden] + .foot-link { border-top: 0; }
.foot-link::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.55; }
.foot-link:active { background: var(--fill); }
.foot-link:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
/* </endplates> */

/* ---- Accolades: things a player earns by playing, kept in a collection ----
   The owner, 2026-11-16: "make them look cool when you earn them". An accolade is a card that turns over. Its
   back is the logo, as on every card in the game (cardBack copies the header's own). Its face is a road sign:
   round for a rule kept, a diamond for a near miss, a route shield with a number for a sign whose number grows
   or a number that was given. Every colour here is one of the game's own, by its name: there is no colour
   written in this block. Red is on one sign only, the one that is a bust. Nothing here is a button but the two
   quiet ways in to the collection, so a yellow sign is never taken for the yellow button that plays.
   Players see none of it until the owner switches accolades on. */
.accol-sign { display: block; width: 64px; height: 64px; flex: none; overflow: visible; filter: drop-shadow(0 2px 0 var(--shadow));
  --accol-fill: var(--guide); --accol-ink: var(--on-dark); --accol-edge: transparent; --accol-line: var(--accol-fill); }
.accol-sign.t-service { --accol-fill: var(--service); }
.accol-sign.t-warn { --accol-fill: var(--warn); --accol-ink: var(--on-warn); --accol-line: var(--on-warn); }
.accol-sign.t-work { --accol-fill: var(--work); --accol-ink: var(--on-warn); --accol-line: var(--on-warn); }
/* A white sign on a white card is told apart by its black edge, like the limit's own sign. */
.accol-sign.t-plate { --accol-fill: var(--plate); --accol-ink: var(--plate-ink); --accol-edge: var(--plate-ink); --accol-line: var(--plate-ink); }
/* The ones that are found and not listed are night signs: the dark board with the sign's yellow on it. */
.accol-sign.t-asphalt { --accol-fill: var(--asphalt); --accol-ink: var(--warn); }
.accol-sign.t-stop { --accol-fill: var(--stop); }
.accol-fill { fill: var(--accol-fill); stroke: var(--accol-edge); stroke-width: 2.5; }
.accol-rim { fill: none; stroke: var(--accol-ink); stroke-width: 3; }
.accol-ink { fill: var(--accol-ink); }
.accol-pen { fill: none; stroke: var(--accol-ink); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.accol-pen.is-dashed { stroke-width: 5; stroke-dasharray: 8 7; stroke-linecap: butt; }
.accol-band { fill: var(--accol-ink); }
.accol-cap { fill: var(--accol-fill); }
/* A shield is outlined in the darker of its two colours, so its light band does not fade into the white card. */
.accol-line { fill: none; stroke: var(--accol-line); stroke-width: 3; stroke-linejoin: round; }
/* At night the card is dark, and a shield in one of the dark colours (green, blue, the night board, red) faded into
   it: 2.93, 2.46 and 1.2 to 1 where 3 is the mark. There it is outlined in the lighter of its two colours. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .accol-sign:not(.t-warn):not(.t-work):not(.t-plate) { --accol-line: var(--accol-ink); } }
:root[data-theme="dark"] .accol-sign:not(.t-warn):not(.t-work):not(.t-plate) { --accol-line: var(--accol-ink); }
.accol-sign text { font-family: var(--font-sign); font-weight: 900; text-anchor: middle; font-variant-numeric: tabular-nums; }
/* The card. Face up it is a white sign with the accolade's own sign and its name. Face down it is the logo on
   the logo's dark tile, ruled like graph paper, as a card of a round is before it is turned. */
.accol-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 118px; padding: 12px 8px 10px; border-radius: 12px; background: var(--plate); color: var(--plate-ink); text-align: center; box-shadow: 0 3px 0 var(--shadow); }
.accol-card::after { content: ""; position: absolute; inset: 3px; border: 1.5px solid currentColor; border-radius: 9px; pointer-events: none; }
.accol-name { max-width: 100%; font-family: var(--font-sign); font-weight: 800; font-size: 14px; line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.accol-card.is-down { background-color: var(--mark-bg); color: var(--lane); }
.accol-card.is-down > :not(.back) { visibility: hidden; }
.accol-card.is-down > .back { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; border-radius: inherit;
  background-image: linear-gradient(var(--back-line) 1px, transparent 1px), linear-gradient(90deg, var(--back-line) 1px, transparent 1px); background-size: 16px 16px; background-position: center; }
.accol-card .back .logo-mark { width: 52px; }
.accol-card.is-down::after { border-color: var(--lane); opacity: 0.3; }
/* Turning over: the card swings edge-on, changes face, and swings back, as a card of a round does. */
.accol-card.is-turning { animation: accolturn 0.44s cubic-bezier(0.3, 0.7, 0.3, 1); }
@keyframes accolturn {
  0% { transform: perspective(700px) rotateY(0); }
  49.9% { transform: perspective(700px) rotateY(88deg); }
  50% { transform: perspective(700px) rotateY(-88deg); }
  100% { transform: perspective(700px) rotateY(0); }
}
/* The end of the day: what today's rounds earned, three at most, on one row under the level. The row is one
   button, and a tap on it opens the collection. It adds one row of cards to the screen and no words: on the
   largest phone that keeps the day's Copy result button in the first view, where it was before. Where today
   earned more than three, a tag hangs from the row into the gap under it, and takes no room of its own. */
.accol-day { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.accol-day:focus-visible { outline: 3px solid var(--service); outline-offset: 4px; border-radius: 12px; }
.accol-day:active .accol-row { transform: translateY(1px); }
.accol-row { display: flex; justify-content: center; gap: 8px; }
.accol-row .accol-card { flex: 0 1 calc((100% - 16px) / 3); min-height: 88px; gap: 5px; padding: 8px 6px 9px; }
.accol-row .accol-sign { width: 40px; height: 40px; }
.accol-row .accol-name { font-size: 12px; }
.accol-row .accol-card .back .logo-mark { width: 40px; }
.accol-more { position: absolute; top: calc(100% - 6px); left: 50%; transform: translateX(-50%); padding: 3px 11px 2px; border-radius: 99px; background: var(--asphalt); color: var(--lane); font-family: var(--font-sign); font-weight: 800; font-size: 11px; line-height: 1.3; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
/* The way in to the collection from the home screen: a word at the end of a player's own numbers. It is taller
   to the thumb than it is drawn, and gives that room back to the line it sits on. */
.accol-link { display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0; padding: 0 2px; border: 0; background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.accol-link:focus-visible { outline: 3px solid var(--service); outline-offset: 0; border-radius: 6px; }
/* The collection: two cards across, each with how it is earned under it. It scrolls inside its own pop-up,
   and reaching its end does not move the page behind. */
#m-accolades { overscroll-behavior: contain; }
#accolTitle:focus { outline: none; }
.accol-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.accol-item { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.accol-how { margin: 0; font-size: 13px; line-height: 1.3; text-align: center; color: var(--plate-muted); overflow-wrap: anywhere; }
.accol-how b { display: block; margin-top: 2px; font-weight: 700; color: var(--plate-ink); }
/* With motion switched off nothing turns: the face is simply there. */
@media (prefers-reduced-motion: reduce) { .accol-card.is-turning { animation: none; } .accol-day:active .accol-row { transform: none; } }

/* <sleek>
   One layer, last in the sheet, over every screen (the owner, 2026-11-22, of the shelf above: "Now look at it
   critical and make it better. Something feel really professional, like Apple sleek ... Make it look sleek
   everywhere and match"). What it does, everywhere at once:
   - one surface: a card, a pop-up and a plate lose the second border drawn inside them, and stand on a soft
     shadow and a hairline where they stood on a hard ledge. The limit sign keeps its border: it is the one road
     sign left, and the game's mark;
   - one button: filled, no ring inside it, set in the words' own case. Yellow is still the one to press;
   - one voice: headings in the words' own case, close set. The small labels stay in capitals;
   - at night a card is a raised dark surface, where it was a white sign on a dark page. A sign and a level's
     chip stay white, day and night.
   Colours that mean something are untouched: green for the daily and for a card picked, yellow to press, red for
   over, orange for being built, banknote green for money. */
:root {
  --r-card: 24px; --r-tile: 16px; --r-btn: 14px;
  --hair: rgba(18, 23, 28, 0.09);
  --lift: 0 1px 2px rgba(13, 24, 38, 0.07), 0 14px 30px -18px rgba(13, 24, 38, 0.42);
  --lift-sm: 0 1px 2px rgba(13, 24, 38, 0.10), 0 6px 14px -10px rgba(13, 24, 38, 0.45);
  --fill: rgba(18, 23, 28, 0.065);       /* a quiet button, a field, a well on a light surface */
  --sign: #FFFFFF; --sign-ink: #12171C;   /* the limit sign and a level's chip: white, day and night */
  --focus: var(--service); --focus-ink: var(--service);   /* the keyboard's ring, and the calculator's one blue key */
  --well: var(--mark-bg);                 /* the dark tile inside a plate: the logo's by day, deeper than a card at night */
  /* A fine edge round a surface, with its shadow. The owner, 2026-11-23, of the home screen in this layer: "it feels
     like it's missing a border or something from crispness". One line, the width of a hair, drawn outside the
     surface: not the second border the layer took away. */
  --edge: 0 0 0 1px rgba(13, 24, 38, 0.13);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --plate: #162338; --plate-ink: #EEF3F8; --plate-muted: #A6B7C9; --plate-soft: #3B3310; --line: #2A3B52;
    --hair: rgba(255, 255, 255, 0.08); --fill: rgba(255, 255, 255, 0.09); --sign: #F4F6F8; --well: #0C1626;
    --focus: #FFC800; --focus-ink: #8CC4FF; --apple: #FFFFFF; --on-apple: #000000;
    --lift: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 34px -20px rgba(0, 0, 0, 0.8);
    --lift-sm: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 6px 14px -10px rgba(0, 0, 0, 0.7);
    --edge: 0 0 0 1px rgba(255, 255, 255, 0.07);
  }
}
:root[data-theme="dark"] {
  --plate: #162338; --plate-ink: #EEF3F8; --plate-muted: #A6B7C9; --plate-soft: #3B3310; --line: #2A3B52;
  --hair: rgba(255, 255, 255, 0.08); --fill: rgba(255, 255, 255, 0.09); --sign: #F4F6F8; --well: #0C1626;
  --focus: #FFC800; --focus-ink: #8CC4FF; --apple: #FFFFFF; --on-apple: #000000;
  --lift: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 34px -20px rgba(0, 0, 0, 0.8);
  --lift-sm: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 6px 14px -10px rgba(0, 0, 0, 0.7);
  --edge: 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* ---- Surfaces ---- */
.card::after, .btn:not(.btn-quiet)::after, .pick:not(.is-down)::after { content: none; }
.card { border-radius: var(--r-card); box-shadow: var(--edge), var(--lift); }
/* The two coloured cards are deeper at the foot than at the head: one colour each, as before, with some depth. */
.card.sign-guide { background: var(--guide) linear-gradient(165deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.24) 100%); }
.card.sign-service { background: var(--service) linear-gradient(165deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.26) 100%); }
.modal { outline: 0; border-radius: 26px; box-shadow: var(--lift), 0 40px 90px -30px rgba(0, 0, 0, 0.55); }
.support { border-radius: var(--r-tile); box-shadow: var(--edge), var(--lift); }
.ranks { border-radius: var(--r-tile); box-shadow: var(--edge), var(--lift); }
.sharebox { border: 1px solid var(--hair); border-radius: var(--r-btn); background: var(--fill); }
.sign-guide .sharebox, .sign-service .sharebox { border-color: transparent; }
.codebox { border-width: 1.5px; border-radius: var(--r-btn); }
.note { border-radius: 12px; }
/* Everything else that stood on a hard ledge stands on the same soft shadow. The signs drawn as road signs (a
   result's badge, the fan of card backs) are pictures, and keep theirs. */
.proof, .coach-card, .calc, .night-card, .night-proof, .accol-card, .sell-plate { box-shadow: var(--lift); }
.perk-sign, .grouprow, .more-below, .scrolldown span, .calc-key, .night-row { box-shadow: var(--lift-sm); }
.betabar { border-radius: 10px; }
.hero-mark .logo-mark { filter: drop-shadow(0 8px 14px rgba(13, 24, 38, 0.28)); }

/* ---- Words ---- */
h1, h2, h3 { letter-spacing: -0.018em; }
.card h2, .modal h2, .morehead h2, .hero h1 { text-transform: none; letter-spacing: -0.02em; }
.hero h1 { line-height: 1.04; }
.card h2, .modal h2 { font-size: 25px; }
.morehead h2 { font-size: 25px; }
.eyebrow { font-size: 12px; letter-spacing: 0.11em; }
.support .support-title { text-transform: none; letter-spacing: -0.015em; }
.perks b { text-transform: none; letter-spacing: -0.01em; font-size: 18px; }

/* ---- Buttons ---- */
/* No size of type is set here: a button's own rule, and the small phone's, keep theirs. */
.btn { border-radius: var(--r-btn); font-weight: 800; letter-spacing: 0; text-transform: none; box-shadow: var(--edge), var(--lift-sm); transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease; }
.btn:active:not([disabled]) { transform: scale(0.975); box-shadow: 0 1px 2px rgba(13, 24, 38, 0.2); filter: brightness(0.97); }
.btn[disabled] { box-shadow: none; }
/* A phone's own grey flash on a tap is not drawn: every button here shows its press itself. */
button, a, summary, .opt { -webkit-tap-highlight-color: transparent; }
/* A quiet button on a white surface is a tinted fill: with no ring it would be white on white. On a coloured card
   it is still the white panel it was. */
.card, .modal { --btn-fill: var(--fill); --btn-lift: none; }
.card.sign-guide, .card.sign-service, .card.sign-board { --btn-fill: var(--plate); --btn-lift: var(--lift-sm); }
.btn:where(:not(.btn-primary):not(.btn-give):not(.btn-quiet):not(.btn-apple):not(.eg-btn):not(.proof-btn)) { background-color: var(--btn-fill, var(--plate)); box-shadow: var(--btn-lift, var(--edge), var(--lift-sm)); }
/* The light on a filled button is slight: a shine dates faster than a flat colour does. */
.btn-primary, .opt .btn:not([disabled]), .btn-give { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), var(--lift-sm); }
.btn-small { border-radius: 99px; }
.btn-go { letter-spacing: 0.01em; border-radius: 18px; }
.btn-quiet { box-shadow: none; font-weight: 700; }
/* The Example button on the dark tile keeps its outline: it is drawn with a shadow, which the rule above took. */
.eg-btn { box-shadow: inset 0 0 0 1.5px rgba(244, 246, 248, 0.6); }
/* So does "Show another way" on a result's dark tile, which is not on a card. */
.proof-btn { box-shadow: inset 0 0 0 1.5px var(--lane); }
/* What is chosen, of a row of choices, is the surface turned inside out: dark on light by day, light on dark at night. */
.tab[aria-pressed="true"], .party-count button[aria-pressed="true"] { background: var(--plate-ink); color: var(--plate); box-shadow: none; }
/* The keyboard's ring is the services blue by day. At night blue on a dark card cannot be seen, so it is the yellow
   the blue card and the green card already use. The same for the one blue key of the calculator. */
.btn:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible, input:focus-visible, .pick:focus-visible, .menu-row:focus-visible, .pillbtn:focus-visible, .x:focus-visible, .linkbtn:focus-visible, .learnbtn:focus-visible, .foot a:focus-visible, .tab:focus-visible, .grouprow:focus-visible, .brand:focus-visible, .gearbtn:focus-visible, .avatar:focus-visible { outline-color: var(--focus); }
/* On the logo's dark tile the ring was yellow already, and is. */
.eg-btn:focus-visible, .proof-btn:focus-visible { outline-color: var(--warn); }
.calc-key.is-sign.is-waiting { color: var(--focus-ink); box-shadow: inset 0 0 0 2px var(--focus-ink); }
/* Apple's button is black on a light surface and white on a dark one, as Apple asks. */
.btn-apple { box-shadow: inset 0 0 0 1px var(--hair), var(--lift-sm); }
.btn-quiet::after { border: 1.5px dashed var(--line); border-radius: var(--r-btn); }
.pillbtn { border: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), var(--lift-sm); text-transform: none; letter-spacing: 0; font-size: 15px; }
.pill-plain { background: var(--plate); color: var(--plate-ink); }
.gearbtn, .avatar { border-width: 1.5px; }
.x { background: radial-gradient(circle, var(--fill) 0 16px, transparent 17px); font-size: 22px; }
.tab { border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); text-transform: none; letter-spacing: 0; font-size: 15px; }
select, textarea, input[type="email"], input[type="text"] { border: 1px solid var(--line); border-radius: 12px; background: var(--fill); padding: 12px; }

/* ---- The limit sign, and a level's chip: white, day and night ---- */
.lsign { background: var(--sign); color: var(--sign-ink); box-shadow: 0 0.25em 0.9em -0.3em rgba(0, 0, 0, 0.5); }
.lsign::after { border-width: 0.16em; inset: 0.42em; }
.ready-sign { box-shadow: 0 0 0 4px var(--mark-bg), 0 0 0 7px var(--warn), 0 14px 30px -10px rgba(0, 0, 0, 0.6); }
.lsign.lsign-xs { box-shadow: 0 0 0 2px var(--well), 0 0 0 3.5px var(--warn); }
.lsign.lsign-xs.is-ask .lsign-num { color: #5A6673; }
.tier { background: var(--sign); color: var(--sign-ink); box-shadow: 0 1px 2px rgba(13, 24, 38, 0.22); letter-spacing: 0.06em; }
.tier::before { box-shadow: none; }

/* ---- Lists and rules ---- */
.lineup { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.lineup-row { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.menu-row { border-bottom: 1px solid var(--line); }
/* A row's small label is the surface turned inside out, so it is as plain at night as by day. The labels with a
   colour of their own (Play, Coming soon, Unlocked) keep it. */
.menu-row .state { border-radius: 99px; padding: 5px 11px 4px; background: var(--plate-ink); color: var(--plate); }

/* ---- A round's cards ---- */
.pick { border-radius: var(--r-btn); box-shadow: var(--edge), var(--lift-sm); }
.ready-stage { border-radius: var(--r-card); box-shadow: var(--lift); }

/* ---- The shelf ---- */
.opt { border-radius: var(--r-tile); }
.opt .pk { text-transform: none; letter-spacing: -0.015em; font-weight: 800; }
.sign-service .opt.has-stub { box-shadow: var(--lift-sm); }
.sign-service .opt.has-stub::before, .card-general .opt { background-color: var(--well); }
.card-general .opt { border-radius: var(--r-tile); box-shadow: none; }
.card-general .opt .upnext small, .fam, .fam-apart { letter-spacing: 0.11em; }
.opt.is-tap:active { transform: scale(0.985); }

/* </sleek> */
