/* ===========================================================================
   Brim — application design system
   ---------------------------------------------------------------------------
   Single stylesheet for every Brim customer-facing surface.

   Derived directly from the two approved golden references:
     docs/mockups/BRIM-GUEST-FIRST-ONBOARDING-v1.html   (guest onboarding)
     docs/mockups/BRIM-CORE-PRODUCT-SURFACES-v2.html    (app surfaces)

   Guest onboarding lives in guest-season.css, which loads alongside this file.

   Rules that are structural, not stylistic:
     - Paper is the canvas. Field is an accent surface, never the page.
     - No colour is hard-coded outside the token block below.
     - Sodium is Brim's accent. Dusk belongs to Goodfolk, and appears inside
       Brim only where the Season Mosaic spec assigns it to a game state.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   0 · Typefaces
   ---------------------------------------------------------------------------
   Self-hosted, from public/assets/fonts. These declarations already existed in
   tailwind.css, but the guest, login and register views never load tailwind:
   they load this file and guest-season.css only. Their type came from a Google
   Fonts <link> instead, which `style-src 'self'` blocked, so those surfaces had
   no display face, no UI face and no mono face at all.

   Paths are relative to this stylesheet, which sits alongside the fonts
   directory. No external origin is contacted, which is what NoCdnTest requires.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/chivo-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/chivo-latin-800-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/chivo-latin-900-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/poppins-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/poppins-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/poppins-latin-600-normal.woff2) format('woff2');
}

/* ---------------------------------------------------------------------------
   1 · Tokens
   --------------------------------------------------------------------------- */

:root {
  /* Core */
  --ink:          #15181C;
  --paper:        #F5F6F3;
  --white:        #FFFFFF;

  /* Brim */
  --field:        #17352C;
  --sodium:       #F0B429;

  /* Mosaic dispositions (see BRIM-SEASON-MOSAIC-IMPLEMENTATION-SPEC.md) */
  --dusk:         #6E7FD9;
  --dusk-light:   #A7B5EC;
  --dusk-pale:    #C3C9EE;
  --sage:         #9DB19A;
  --ahead:        #ECEFEA;

  /* Support */
  --slate:        #69717F;
  --line:         #E0E2DE;
  --coral:        #E2563F;
  /* Whose nights, option C: tokens/night-game.json people. */
  --person-1:     #B5506A;
  --person-2:     #23807A;
  --person-3:     #8E3F8F;
  --person-4:     #66761F;
  --person-5:     #8A5634;

  /* Tints */
  --field-tint:   #EDF2EF;
  --sodium-tint:  #FEF6E4;
  --dusk-tint:    #EEF0FB;
  --coral-tint:   #FBEEEB;

  /* Readable text on tinted grounds */
  --on-field-tint: #284A40;
  --on-coral-tint: #8D3D31;
  --on-sodium:     #493600;
  --on-field-mute: #C7D7CE;
  --on-field-dim:  #B7CDC1;

  /* Type */
  --display: 'Chivo', system-ui, -apple-system, sans-serif; /* Bricolage Grotesque retired Sept 2026 */
  --ui:      'Poppins', system-ui, -apple-system, sans-serif;
  --mono:    'Poppins', system-ui, -apple-system, sans-serif; /* DM Mono retired Sept 2026: two faces only */

  --track-display: -.055em;
  --track-tight:   -.03em;
  --track-mono:     0;

  /* Space — 4px base */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 20px;  --s6: 24px;  --s7: 32px;  --s8: 40px;
  --s9: 48px;  --s10: 64px;

  /* Radius */
  --r-xs: 7px;  --r-sm: 12px; --r-md: 16px;
  --r-lg: 18px; --r-xl: 24px; --r-2xl: 30px; --r-pill: 999px;

  /* Elevation */
  --lift-1: 0 2px 8px rgba(21, 24, 28, .06);
  --lift-2: 0 16px 44px rgba(21, 24, 28, .06);
  --lift-3: 0 20px 60px rgba(21, 24, 28, .09);
  --lift-sheet: 0 -20px 80px rgba(21, 24, 28, .18);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --fast: .12s;
  --base: .18s;
  --slow: .25s;

  /* Layout */
  --rail-w: 236px;
  --app-max: 1180px;
  --read-max: 1000px;
  --mast-h: 74px;

  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--field);
}

/* ---------------------------------------------------------------------------
   1b · Protected token aliases
   The acceptance suite asserts these exact names. They are aliases, not a
   second palette: every value points at the token above it.
   --------------------------------------------------------------------------- */

:root {
  --brim-ink:        var(--ink);
  --brim-paper:      var(--paper);
  --brim-field:      var(--field);
  --brim-sodium:     var(--sodium);
  --brim-dusk:       var(--dusk);
  --brim-dusk-light: var(--dusk-light);
  --brim-dusk-pale:  var(--dusk-pale);
  --brim-slate:      var(--slate);
  --brim-line:       var(--line);
  --brim-coral:      var(--coral);
  --brim-sage:#9DB19A;
  --brim-ahead:      var(--ahead);
  --shell-rail-width: var(--rail-w);
}

/* ---------------------------------------------------------------------------
   2 · Base
   --------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { max-width: 100%; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 0;
  box-shadow: var(--focus);
  border-radius: var(--r-sm);
}

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--field); color: var(--paper);
  padding: var(--s3) var(--s4); border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------------------
   3 · Typography
   --------------------------------------------------------------------------- */

.display,
.pagehead h1 {
  font: 700 clamp(32px, 8vw, 56px)/1.04 var(--display);
  letter-spacing: var(--track-display);
  color: var(--field);
  margin: 0;
}

/* The night's page: badge and name on one line, shrinking before wrapping. */
.pagehead--game h1 { font-size: clamp(24px, 7vw, 44px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 10px; }
.pagehead--game h1 .team-badge { flex: none; }
.pagehead--game h1 > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.h2 { font: 700 20px var(--display); letter-spacing: var(--track-tight); margin: 0; }
.h3 { font: 700 17px var(--display); letter-spacing: var(--track-tight); margin: 0; }

.eyebrow {
  font: 500 12px var(--mono);
  color: var(--slate);
  margin: 0 0 var(--s3);
}
.eyebrow--field { color: var(--field); }

.lede  { color: var(--slate); font-size: 16px; line-height: 1.55; max-width: 34ch; margin: 0; }
.muted { color: var(--slate); }
.micro { font-size: 12px; line-height: 1.45; color: var(--slate); margin: var(--s2) 0; }
.micro--center { text-align: center; }

.mono {
  font: 500 12px var(--mono);
  color: var(--slate);
}

/* ---------------------------------------------------------------------------
   4 · Application shell
   Mobile: masthead + fixed bottom nav.
   Desktop (>=900px): persistent left rail, no bottom nav.
   --------------------------------------------------------------------------- */

.shell { min-height: 100dvh; }

.rail { display: none; }

.app {
  width: 100%;
  max-width:760px;
  margin: 0 auto;
  padding: 0 var(--s5) 104px;
}

.mast {
  height: var(--mast-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.mast__brand { width: 92px; }
.mast__brand svg { width: 100%; height: auto; }

.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--field);
  color: var(--paper);
  font-weight: 700; font-size: 12px;
  flex: 0 0 auto;
}

.screen-inner { max-width: 100%; }

.pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s5);
  margin: var(--s1) 0 var(--s4);
}
.pagehead p {
  color: var(--slate);
  font-size: 13px;
  /* One value only. A duplicate 1.5 below this line used to win silently. */
  line-height: 1.55;
  max-width: 42ch;
  /* A tight display line-height puts descenders close to whatever follows, so
     the gap has to be larger than it looks like it needs to be. */
  margin: var(--s4) 0 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin: var(--s6) 2px 10px;
}
.section-title h2 { font: 700 18px var(--display); letter-spacing: var(--track-tight); margin: 0; }
.section-title a,
.section-title button { color: var(--field); font-size: 12px; font-weight: 700; }

/* Bottom navigation — mobile only */
.bottom-nav {
  position: fixed; z-index: 90;
  left: 0; right: 0;
  /* Flush with the bottom of the screen. It used to sit 10px up, which
     showed a strip of page beneath it on every phone. */
  bottom: 0;
  display: grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  /* Runs to the bottom edge: the safe area is the only room under it. */
  padding:
    6px
    max(10px, env(safe-area-inset-right))
    max(6px, env(safe-area-inset-bottom))
    max(10px, env(safe-area-inset-left));
  background: rgba(245, 246, 243, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.navbtn {
  position: relative;
  color: var(--slate);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  min-height: 52px;
}
.navbtn svg {
  width: 28px; height: 28px; display: block; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.navbtn.is-active { color: var(--field); }
/* Only the chosen tab is named, at 13 in Field. */
.navbtn__label { font: 600 var(--kit-text-small-size)/1 var(--kit-text-small-font); color: var(--field); }
/* A tab tapped for the first time in the first week names itself, once. */
.navbtn__hint {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: min(280px, 80vw); padding: 8px 12px;
  border-radius: var(--kit-corner-button-small); background: var(--kit-ink); color: var(--kit-card);
  font: 500 var(--kit-text-small-size)/1.35 var(--kit-text-small-font); text-align: center;
  pointer-events: none; visibility: hidden;
}
/* It waits, unspent, while anything of the page is drawn where it would go
   (tab-hint.js), and the page's end leaves it that room. */
.navbtn__hint.is-shown { visibility: visible; animation: navbtn-hint-in var(--kit-move-deeper) var(--kit-ease-deeper) both; }
/* The room goes after everything else the page leaves at its end, whatever that is: two
   lines of the hint, its padding and its gap above the bar, so a line that wraps on a narrow
   phone still clears. A stylesheet sets it because an inline style never reaches the page. */
.has-shell-nav.has-tab-hint #shell-main::after { content: ""; display: block; height: calc(2 * 1.35 * var(--kit-text-small-size) + 26px); }
@keyframes navbtn-hint-in { from { opacity: 0; } to { opacity: 1; } }
.navbtn__hint.is-going { opacity: 0; transition: opacity var(--kit-move-deeper) var(--kit-ease-deeper); }
/* Centred on a tab near either edge, a long hint runs off a phone screen, so
   those hints start from the tab's outer side. */
.bottom-nav .navbtn:nth-child(-n+2) .navbtn__hint { left: 0; transform: none; }
.bottom-nav .navbtn:nth-last-child(-n+2) .navbtn__hint { left: auto; right: 0; transform: none; }
/* One hint at a time: while a tip is on the page or a night's note is open,
   the tab's line waits for the next visit, and tab-hint.js leaves it unspent. */
body:has(.kit-discovery, .season-tip, .mosaic-note.is-open) .navbtn__hint { display: none; }
.navbtn__dot {
  position: absolute; top: 5px; right: calc(50% - 13px);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--paper);
}

/* ---------------------------------------------------------------------------
   5 · Surfaces
   --------------------------------------------------------------------------- */

.card {
  /* .card is used on anchors as well as divs. A div is block already, so
     stating it costs nothing and stops an anchor card collapsing to inline. */
  display: block;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.card--solid { background: var(--white); }
.card--raised { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--lift-2); }
.card--pad { padding: var(--s4); }

.note {
  padding: var(--s3) 13px;
  background: var(--field-tint);
  border-radius: 15px;
  color: var(--on-field-tint);
  font-size: 12px;
  line-height: 1.45;
}
.note--review {
  background: var(--coral-tint);
  border: 1px solid #E9C7C1;
  border-radius: var(--r-md);
  color: #873A2E;
  display: grid;
  gap: 3px;
  padding: var(--s4);
  /* Sits with the content it belongs to rather than floating above the page. */
  margin: var(--s4) 0 0;
}
/* One rule per element. A second pair of declarations used to sit below these
   and win silently, dropping the headline to 11px and the detail to 10px — so
   the one message a customer most needs to read was the smallest text on the
   page, in red. Sizes now sit on the scale like everything else. */
.note--review strong { display: block; font-size: 15px; line-height: 1.4; }
.note--review span   { display: block; font-size: 13px; line-height: 1.5; color: var(--on-coral-tint); margin-top: var(--s1); }

/* ---------------------------------------------------------------------------
   6 · Buttons
   Primary is Field on Paper. Sodium is never a button fill — it is an accent
   for marks, promotion dots and attention glyphs only.
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  white-space: nowrap; /* A button's words never take two lines. */
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 54px;
  padding: 0 var(--s5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  font-weight: 700;
  text-align: center;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--field); border-color: var(--field); color: var(--white); }
.btn--secondary { background: rgba(255, 255, 255, .76); border-color: var(--line); color: var(--field); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--field); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; border-radius: var(--r-sm); font-size: 12px; padding: 0 var(--s3); }

.link { color: var(--field); font-weight: 700; }
/* A <label> wrapping a checkbox, unlike an <a>, gets no pointer cursor from
   the browser by default. CSP's style-src 'self' blocks the inline
   style="cursor:pointer" this used to carry (silently — a console warning
   only), leaving the label showing the text-select cursor instead. */
label.link { cursor: pointer; }

.back {
  align-self: flex-start;
  padding: var(--s2) 0;
  color: var(--slate);
  font-weight: 700;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

/* ---------------------------------------------------------------------------
   7 · Forms
   --------------------------------------------------------------------------- */

.form { display: grid; gap: var(--s3); }

.field > label,
.field > .field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}

.field > input,
.field > select,
.field > textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #D5DAD6;
  border-radius: 14px;
  background: var(--white);
  padding: 0 14px;
  outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--field);
  box-shadow: 0 0 0 3px rgba(23, 53, 44, .1);
}

.field__hint  { font-size: 12px; color: var(--slate); margin: 6px 0 0; }
.field__error { font-size: 12px; color: var(--coral); margin: 6px 0 0; font-weight: 600; }
.field.is-invalid input { border-color: var(--coral); }

.choice {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) 0;
  font-size: 13px;
  cursor: pointer;
}
.choice + .choice { border-top: 1px solid var(--line); }
.choice input { width: 20px; height: 20px; accent-color: var(--field); flex: 0 0 auto; }
.choice strong { display: block; font-size: 13px; }
.choice span   { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }

/* Field primitives usable without the .field wrapper, for converted views that
   lay out their own labels and inputs. */
.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}
.field__control {
  width: 100%;
  min-height: 50px;
  border: 1px solid #D5DAD6;
  border-radius: 14px;
  background: var(--white);
  padding: 0 14px;
  outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
textarea.field__control { min-height: 96px; padding: 12px 14px; line-height: 1.5; }
select.field__control  { padding-right: var(--s8); }
.field__control:focus {
  border-color: var(--field);
  box-shadow: 0 0 0 3px rgba(23, 53, 44, .1);
}

/* ---------------------------------------------------------------------------
   8 · Small parts
   --------------------------------------------------------------------------- */

.pill {
  font-size: 12px; font-weight: 600;
  color: var(--slate);
  background: var(--field-tint);
  padding: 6px var(--s2);
  /* Pill shapes are out (CLAUDE.md). The last four chips with words in them
     were squared, to the same corner as a season square. */
  border-radius: var(--r-xs);
}

.state-pill {
  /* This is the answer to "what happened with this game", not a caption. At
     10px it was the smallest thing on a page whose whole purpose it states;
     the rebase lifted it to the 12px floor, and one step beyond that is what
     a primary status actually needs in a mono face. */
  font: 500 13px var(--mono);
  padding: 7px var(--s3);
  border-radius: var(--r-xs);
  background: var(--field-tint);
  color: var(--field);
  white-space: nowrap;
}
.state-pill--decide { background: var(--coral-tint); color: #9B493B; }
.state-pill--ahead  { background: var(--ahead); color: #5A6170; }

.chev { font-size: 22px; color: var(--slate); line-height: 1; }

.badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--field);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.glyph {
  width: 32px; height: 32px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--field-tint);
  color: var(--field);
  font-weight: 700;
  flex: 0 0 auto;
}

.count-pill {
  font: 500 12px var(--mono);
  color: var(--on-coral-tint);
  background: var(--coral-tint);
  padding: 7px 9px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}

.filters {
  display: flex; gap: 6px;
  overflow-x:auto;
  padding-bottom: var(--s1);
  margin-bottom: 14px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }

.filter {
  /* Used on anchors in the header. Inline-flex keeps the chip's shape and
     centres its label, which inline alone does not. */
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-xs);
  padding: 7px 10px;
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
}
.filter.is-active { background: var(--field); border-color: var(--field); color: var(--paper); }

/* Two segments, one selected. The rule styled <button>s; the markup is <a>s,
   so both links rendered bare inside the container and read as one mashed
   pill. Styled by role now, and no pill radius. */
.view-toggle {
  display: inline-flex; gap: 3px;
  background: #E8ECE7;
  border-radius: 12px;
  padding: 3px;
  width: max-content;
  margin: var(--s5) 0 14px;
}
.view-toggle a, .view-toggle button {
  display: inline-flex; align-items: center;
  border-radius: 9px;
  padding: 7px 15px;
  min-height: 0; min-width: 0;
  font-size: 12px; font-weight: 700;
  color: var(--slate);
  text-decoration: none;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.view-toggle a:hover, .view-toggle button:hover { color: var(--field); }
.view-toggle a.is-active, .view-toggle button.is-active {
  background: var(--white);
  color: var(--field);
  box-shadow: var(--lift-1);
}

/* ---------------------------------------------------------------------------
   9 · Facts grid — the "here is what Brim found" pattern
   --------------------------------------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fact {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 13px;
}
.fact small {
  display: block;
  font: 500 12px var(--mono);
  color: var(--slate);
}
.fact strong { display: block; margin-top: var(--s1); font-size: 15px; }

/* A fact Brim could not determine. Uses line weight, not colour, so it reads
   as "not answered yet" rather than "something is wrong". */
.fact--unknown {
  background: transparent;
  border: 1.5px dashed #B8C2BC;
}
.fact--unknown strong { color: var(--slate); font-weight: 600; }

.econ {
  display: grid;
  /* minmax(0, …): a bare 1fr will not shrink below its content, so the third
     column ran past the card edge and got clipped. The wider first column
     is from the mockup. */
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
}
.econ > div { padding: 13px; border-right: 1px solid var(--line); }
.econ > div:last-child { border-right: 0; }
.econ small {
  display: block;
  font: 500 12px var(--mono);
  color: var(--slate);
}
.econ strong { display: block; font: 700 16px var(--display); margin-top: var(--s1); color: var(--field); letter-spacing: -.03em; overflow-wrap: anywhere; }

/* Definition-list variant of the fact tile. */
.fact dt {
  font: 500 12px var(--mono);
  color: var(--slate);
}
.fact dd { margin: var(--s1) 0 0; font-size: 15px; font-weight: 700; }

/* ---------------------------------------------------------------------------
   10 · Rows
   --------------------------------------------------------------------------- */

.row {
  display: grid;
  grid-template-columns:32px minmax(0,1fr) 22px;
  gap: var(--s3);
  align-items: center;
  padding: 14px;
}
.row strong { display: block; font-size: 12px; }
.row span   { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
.row + .row { border-top: 1px solid var(--line); }
/* A note on a night: its words take the width and Remove sits at the end. */
.row--note { grid-template-columns: minmax(0, 1fr) auto; }

.attention-icon {
  width: 28px; height: 28px;
  border-radius: 10px;
  background: var(--sodium);
  color: var(--on-sodium);
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px;
  flex: 0 0 auto;
}

.game-list { overflow: hidden; }
.game-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: var(--s3);
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  transition: background var(--fast) var(--ease);
}
.game-row:last-child { border-bottom: 0; }
.game-row:hover { background: rgba(255, 255, 255, .6); }

.datebox { text-align: center; }
.datebox b     { display: block; font: 700 18px/1 var(--display); color: var(--field); }
.datebox small { font: 500 12px var(--mono); color: var(--slate); }

.opponent strong { display: block; font-size: 12px; }
.opponent span   { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
/* The person's own time, under the arena's, when theirs differs. */
.opponent span.game-row__yours { color: var(--ink); font-weight: 600; margin-top: 0; }

.more-list { overflow: hidden; }
.more-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.more-row:last-child { border-bottom: 0; }
.more-row strong { display: block; font-size: 13px; }
.more-row span   { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
.more-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--field);
  flex: none;
}
/* Real icons, drawn like the rail's: stroked, inheriting colour, one size for
   all of them. These rows used to hold single Unicode characters, which each
   resolved to a different fallback font and so arrived at different sizes and
   baselines however the container was centred. */
/* Latest rows stack their facts, so the meta lines sit under the headline
   rather than beside it. */
.row .grow > strong,
.row .grow > .micro { display: block; }
.row .grow > .micro { color: var(--slate); }
.row[data-activity-tone] { position: relative; }

/* ---------------------------------------------------------------------------
   30 · Grid interaction
   ---------------------------------------------------------------------------
   The grid is the fastest way to reach a night, so it has to answer instantly.
   The browser's own title attribute waits about a second before appearing,
   which on a grid people scan reads as nothing happening at all. This draws
   the label itself, on hover and on keyboard focus, with no delay and no
   script — which also means it survives `style-src 'self'`.

   The focused square lifts slightly and takes a ring. Slightly: 81 squares
   that jump would be noise, and the point is to confirm which one is under the
   cursor, not to animate.
   --------------------------------------------------------------------------- */

/* The insight card. The number leads, because it is the point. */
.season-insight__lead {
  margin: var(--s2) 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.season-insight__lead strong {
  font: 700 30px/1 var(--display);
  color: var(--field);
  display: block;
  margin-bottom: 2px;
}
.season-insight .micro { margin-top: var(--s2); }
.season-insight__best {
  margin: var(--s4) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.season-insight__best .eyebrow { display: block; margin-bottom: 2px; }
.season-insight__best strong { color: var(--field); }

/* The observation card. Title leads, fact follows. */
.season-insight__title {
  margin: var(--s2) 0 0;
  font: 700 20px/1.2 var(--display);
  color: var(--field);
}
.season-insight__body {
  margin: var(--s2) 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* The settled state, as a line rather than a panel. */
.settled-line {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: var(--s3) 0 0;
  font-size: 13px;
  color: var(--slate);
}
.settled-line__mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--field-tint);
  color: var(--field);
  font-size: 12px;
}

/* What is happening with the next night's seats, on the lead card. */
.home-lead__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 12px var(--mono);
  letter-spacing: .04em;
  color: #D2DFD8;
  white-space: nowrap;
}
/* The dot is painted exactly as the grid paints the square, so the card and
   the grid agree by construction. A paper ring keeps a Field-coloured dot
   (sold) visible on the Field card. */
.home-lead__dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--paper);
  box-shadow: 0 0 0 1.5px rgba(245, 246, 243, .85);
}
.home-lead__state[data-grid-state="went"] .home-lead__dot    { background: var(--brim-dusk); }
.home-lead__state[data-grid-state="sold"] .home-lead__dot    { background: var(--brim-field); }
.home-lead__state[data-grid-state="gifted"] .home-lead__dot  { background: var(--brim-dusk-light); }
.home-lead__state[data-grid-state="swapped"] .home-lead__dot { background: var(--brim-sage); }
.home-lead__state[data-grid-state="ahead"] .home-lead__dot   { background: var(--brim-ahead); }
.home-lead__state[data-grid-state="empty"] .home-lead__dot   { background: var(--brim-paper); box-shadow: 0 0 0 1.5px var(--brim-coral); }
.home-lead__state[data-grid-state="split"] .home-lead__dot   { background: linear-gradient(90deg, var(--brim-field) 50%, var(--brim-dusk) 50%); }

/* The season total, with its unit under it rather than beside it. */
.progress-count { text-align: right; line-height: 1.05; }
.progress-count strong { display: block; }
.progress-count span {
  display: block;
  margin-top: 2px;
  font: 500 12px var(--mono);
  color: var(--slate);
}

.brim-season-mosaic { position: relative; }

/* tailwind.css sets a 44px minimum on every anchor, which is right for a
   button and wrong for a grid cell: making these clickable forced each 37px
   square to 44px, so an 8-column compact grid overflowed its 330px and the
   gaps closed up. The squares size themselves from the grid. */
a.brim-season-square,
a.square {
  min-width: 0;
  min-height: 0;
}

a.brim-season-square,
a.square {
  transition: transform var(--kit-move-deeper) ease-out, box-shadow var(--kit-move-deeper) ease-out;
}
a.brim-season-square:hover,
a.brim-season-square:focus-visible,
a.square:hover,
a.square:focus-visible {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--field), var(--lift-2);
  z-index: 3;
}

/* The label. Positioned against the square, escaping the grid via z-index
   rather than by being moved out of it. */
[data-tip].brim-season-square::after,
[data-tip].square::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  /* Centred on the square, then nudged back inside the grid by the script
     when a first- or last-column square would push it past an edge. */
  /* Scaled to nothing while hidden: a hidden box still counts toward the
     page's scrollable width, and a 210px label on the last column of the
     Home grid gave every phone a sideways scroll of 51px.
     A transformed box counts at its transformed size, so at scale(0) it
     counts for nothing; the script still measures its width. */
  transform: translateX(calc(var(--tip-x, -50%) + var(--tip-shift, 0px))) scale(0);
  z-index: 6;
  /* Wide enough for a date, an opponent, a state and an exchange note. */
  width: max-content;
  max-width: 260px;
  padding: 7px 9px;
  border-radius: var(--r-sm);
  /* Ink, not Field.
     The tooltip used to be Field green, which is also the colour of a sold
     square — so the one state a customer sees most had an edge invisible
     against its own background. A neutral dark carries every state's colour. */
  background: #10151A;
  color: var(--paper);
  font: 500 12px/1.45 var(--ui);
  text-align: left;
  /* The state is the first line, separated by a real newline. */
  white-space: pre-line;
  /* Wide enough to read as a colour rather than a hairline: at 3px the
     legend it was reinforcing could not be made out. */
  /* 14px. At 3 it was a hairline and at 7 still easy to miss; the colour is
     the fastest way to read the note, so it gets room to be seen. */
  border-left: 14px solid var(--slate);
  padding-left: 12px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
[data-tip].brim-season-square:hover::after,
[data-tip].brim-season-square:focus-visible::after,
[data-tip].square:hover::after,
[data-tip].square:focus-visible::after,
/* Armed by a first tap on a touch screen, where there is no hover to use. */
[data-tip].brim-season-square.is-tipped::after,
[data-tip].square.is-tipped::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(calc(var(--tip-x, -50%) + var(--tip-shift, 0px))) scale(1);
}
/* season-mosaic.js lines a label up with its square's own edge when the
   centred one would run out of sight, and puts it under the square when
   there's no room above. */
[data-tip][data-tip-align="start"] { --tip-x: 0%; }
[data-tip][data-tip-align="end"] { --tip-x: 0%; }
[data-tip][data-tip-align="start"]::after { left: 0; right: auto; }
[data-tip][data-tip-align="end"]::after { left: auto; right: 0; }
[data-tip][data-tip-below]::after { bottom: auto; top: calc(100% + 8px); }
[data-tip][data-tip-max="220"]::after { max-width: 220px; }
[data-tip][data-tip-max="190"]::after { max-width: 190px; }
[data-tip][data-tip-max="160"]::after { max-width: 160px; }
[data-tip].brim-season-square.is-tipped,
[data-tip].square.is-tipped {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--field), var(--lift-2);
  z-index: 4;
}
/* season-mosaic.js used to set --tip-shift with square.style.setProperty(),
   which CSP's style-src blocks the same as any other inline style — the
   tooltip never moved off centre, so it clipped at the grid's first and
   last columns exactly as if the script had never run. Fixed steps of 4px
   read as continuous on a tooltip nudge; the script now sets
   data-tip-shift instead of a style property. */
[data-tip-shift="-80"] { --tip-shift: -80px; }
[data-tip-shift="-76"] { --tip-shift: -76px; }
[data-tip-shift="-72"] { --tip-shift: -72px; }
[data-tip-shift="-68"] { --tip-shift: -68px; }
[data-tip-shift="-64"] { --tip-shift: -64px; }
[data-tip-shift="-60"] { --tip-shift: -60px; }
[data-tip-shift="-56"] { --tip-shift: -56px; }
[data-tip-shift="-52"] { --tip-shift: -52px; }
[data-tip-shift="-48"] { --tip-shift: -48px; }
[data-tip-shift="-44"] { --tip-shift: -44px; }
[data-tip-shift="-40"] { --tip-shift: -40px; }
[data-tip-shift="-36"] { --tip-shift: -36px; }
[data-tip-shift="-32"] { --tip-shift: -32px; }
[data-tip-shift="-28"] { --tip-shift: -28px; }
[data-tip-shift="-24"] { --tip-shift: -24px; }
[data-tip-shift="-20"] { --tip-shift: -20px; }
[data-tip-shift="-16"] { --tip-shift: -16px; }
[data-tip-shift="-12"] { --tip-shift: -12px; }
[data-tip-shift="-8"] { --tip-shift: -8px; }
[data-tip-shift="-4"] { --tip-shift: -4px; }
[data-tip-shift="0"] { --tip-shift: 0px; }
[data-tip-shift="4"] { --tip-shift: 4px; }
[data-tip-shift="8"] { --tip-shift: 8px; }
[data-tip-shift="12"] { --tip-shift: 12px; }
[data-tip-shift="16"] { --tip-shift: 16px; }
[data-tip-shift="20"] { --tip-shift: 20px; }
[data-tip-shift="24"] { --tip-shift: 24px; }
[data-tip-shift="28"] { --tip-shift: 28px; }
[data-tip-shift="32"] { --tip-shift: 32px; }
[data-tip-shift="36"] { --tip-shift: 36px; }
[data-tip-shift="40"] { --tip-shift: 40px; }
[data-tip-shift="44"] { --tip-shift: 44px; }
[data-tip-shift="48"] { --tip-shift: 48px; }
[data-tip-shift="52"] { --tip-shift: 52px; }
[data-tip-shift="56"] { --tip-shift: 56px; }
[data-tip-shift="60"] { --tip-shift: 60px; }
[data-tip-shift="64"] { --tip-shift: 64px; }
[data-tip-shift="68"] { --tip-shift: 68px; }
[data-tip-shift="72"] { --tip-shift: 72px; }
[data-tip-shift="76"] { --tip-shift: 76px; }
[data-tip-shift="80"] { --tip-shift: 80px; }

/* A read-only square still needs to answer, so it lifts and rings on hover
   like an interactive one. It just is not a link: at roughly 12px it would be
   a touch target too small to hit, which BrimHomeSurfaceTest guards against. */
span.brim-season-square,
span.square {
  position: relative;
  transition: transform var(--kit-move-deeper) ease-out, box-shadow var(--kit-move-deeper) ease-out;
}
span.brim-season-square:hover,
span.square:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--field), var(--lift-2);
  z-index: 3;
}

/* Tooltip edge, keyed on the same state attribute the square is painted from. */
[data-tip][data-grid-state="went"]::after      { border-left-color: var(--brim-dusk); }
[data-tip][data-grid-state="sold"]::after      { border-left-color: var(--brim-field); }
[data-tip][data-grid-state="gifted"]::after    { border-left-color: var(--brim-dusk-light); }
[data-tip][data-grid-state="swapped"]::after   { border-left-color: var(--brim-sage); }
[data-tip][data-grid-state="ahead"]::after     { border-left-color: var(--brim-ahead); }
[data-tip][data-grid-state="empty"]::after     { border-left-color: var(--brim-coral); }
[data-tip][data-grid-state="unresolved"]::after { border-left-color: #A7ADA7; }

/* Squares in the first row would push their label off the top of the card, so
   theirs sits below instead. */
.brim-season-mosaic:not(.brim-season-mosaic--months) [data-tip].brim-season-square:nth-child(-n + 9)::after,
.brim-season-month:first-child .brim-season-month__grid [data-tip].brim-season-square:nth-child(-n + 9)::after,
.mosaic [data-tip].square:nth-child(-n + 9)::after {
  bottom: auto;
  top: calc(100% + 8px);
}

@media (prefers-reduced-motion: reduce) {
  a.brim-season-square:hover,
  a.brim-season-square:focus-visible,
  a.square:hover,
  a.square:focus-visible,
  span.brim-season-square:hover,
  span.square:hover {
    transform: none;
  }
  a.brim-season-square,
  a.square,
  span.brim-season-square,
  span.square { transition: none; }
}

/* A seat held that night outside the package: the other half of an exchange.
   A corner notch rather than a colour, because the square's colour already
   says what happened to the season seats and that meaning must not shift. */
.brim-season-square__extra {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sodium);
  box-shadow: 0 0 0 1.5px var(--paper);
  pointer-events: none;
}

/* On a phone the two columns stack in source order, which put the money and
   the season grid below every list on the page — the summary of the season
   arriving after the detail. Ordered here rather than moved in the markup so
   the desktop columns keep their reading order. */
.home-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
/* On a phone the grid follows what is next.
   It used to lead, which put a whole-season summary above the one thing a
   customer opens the app to check. The season is not going anywhere; tonight
   is. On desktop both sit side by side and this ordering does not apply. */
.home-side { display: grid; gap: var(--s3); }

/* A cap on square size. The grid is fluid and the squares take their height
   from their width, so a wide container grew them without limit and the grid
   changed size noticeably between surfaces. */
.mosaic, .brim-season-mosaic--full { max-width: 560px; }

.more-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.group-label {
  font: 500 12px var(--mono);
  color: var(--slate);
  margin: var(--s5) var(--s1) var(--s2);
}

.tool-row {
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.tool-row strong { display: block; font-size: 12px; }
.tool-row span   { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }

/* The export screen's four choices, per docs/EXPORTS.md: named for what
   each is for, never for a file extension, with a line each on why. */
.export-options { display: grid; gap: var(--s3); margin-top: var(--s4); }
.export-option {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s4);
  padding: var(--s4);
  align-items: start;
}
.export-option .glyph {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--field-tint);
  color: var(--field);
  display: flex; align-items: center; justify-content: center;
}
.export-option .glyph svg { width: 22px; height: 22px; }
.export-option__body { display: grid; gap: 2px; }
.export-option__body strong { font-size: 15px; }
.export-option__body > span:not(.micro) { font-size: 13px; color: var(--slate); line-height: 1.45; }
.export-option__body .micro { color: var(--slate); font: 500 12px var(--ui); letter-spacing: .01em; margin-top: 2px; }

/* Which season, as chips. A person with one season never sees them. */
.export-which { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.export-chip {
  display: inline-flex; align-items: center; padding: 7px 14px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); color: var(--field); font: 500 13px var(--ui);
}
.export-chip.is-on { background: var(--field); color: var(--paper); border-color: var(--field); }

/* The previews: each one is the real output, cut short. */
.export-option { grid-template-columns: 40px 1fr auto; }
.export-option.is-quiet { opacity: .55; }
.export-thumb { display: block; width: 72px; padding: 7px; border-radius: var(--r-sm); background: var(--field); }
.export-thumb__bar { display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--sodium); }
.export-thumb__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin: 5px 0 0; }
.export-thumb__grid i { display: block; aspect-ratio: 1; border-radius: 1.5px; background: rgba(245, 246, 243, .16); }
.export-thumb__grid i[data-grid-state="went"] { background: var(--sodium); }
.export-thumb__grid i[data-grid-state="sold"] { background: var(--paper); }
.export-thumb__grid i[data-grid-state="gifted"] { background: rgba(245, 246, 243, .34); }
.export-thumb__grid i[data-grid-state="swapped"] { background: #9DB19A; }
.export-thumb__grid i[data-grid-state="empty"] { background: transparent; box-shadow: inset 0 0 0 1px #E2563F; }
.export-sheet { display: block; width: 72px; padding: 6px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.export-sheet__tabs { display: flex; gap: 3px; }
.export-sheet__tabs i { display: block; width: 12px; height: 4px; border-radius: 1.5px; background: var(--line); }
.export-sheet__tabs i.is-on { background: var(--field); }
.export-sheet__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 6px 0 0; }
.export-sheet__rows i { display: block; height: 4px; border-radius: 1.5px; background: var(--line); }
.export-plain {
  display: grid; gap: 1px; max-width: 168px; padding: 7px 9px;
  border-radius: var(--r-sm); background: var(--field-tint);
  font: 400 10px var(--ui); color: var(--slate); overflow: hidden;
}
.export-plain span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .export-option { grid-template-columns: 40px 1fr; }
  .export-thumb, .export-sheet, .export-plain { grid-column: 2; margin-top: 4px; }
}

/* The Playbook's four named plays: a card with a toggle and one number,
   the same gesture every time so switching one on takes no thought. */
.plays { display: grid; gap: var(--s3); margin-top: var(--s4); }
.play { padding: var(--s4); }
.play__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.play__head strong { font-size: 15px; }
.play__sentence { margin: var(--s2) 0 0; font-size: 13px; color: var(--slate); line-height: 1.5; }
.play__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s3); flex-wrap: wrap; }
.play__foot .micro { color: var(--slate); }

.switch { position: relative; width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--line); border: none; flex: none; transition: background var(--fast) var(--ease); }
.switch[aria-checked="true"] { background: var(--field); }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: var(--lift-1); transition: transform var(--fast) var(--ease); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(18px); }

.stepper { display: flex; align-items: center; gap: var(--s2); }
.stepper button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 16px; line-height: 1; }
.stepper span { font-size: 13px; font-weight: 600; min-width: 72px; text-align: center; }
/* "Saved" beside the stepper that just changed: there a moment, then gone. */
.stepper .stepper__saved { min-width: 0; font-weight: 500; color: var(--slate); animation: stepper-saved 2.4s var(--ease) forwards; }
@keyframes stepper-saved { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stepper .stepper__saved { animation: none; } }

.playbook-own { margin-top: var(--s5); border-top: 1px solid var(--line); padding-top: var(--s4); }
.playbook-own summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.playbook-own summary strong { font-size: 14px; }
.playbook-own summary span { font-size: 12px; color: var(--slate); }

.play--reminder { padding: 0; }
.play--reminder .play__head { padding: var(--s4); margin: 0; }
.play--reminder strong { font-size: 14px; flex: 1; }

/* Settings value rows: a label and the current setting, tap to expand and
   change it. Delivery, quiet hours and timezone, per brim-settings-rebuilt. */
.value-rows { display: grid; gap: var(--s2); }
.value-row { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: var(--s4); }
.value-row summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.value-row summary::-webkit-details-marker { display: none; }
.value-row__value { color: var(--slate); font-weight: 500; font-size: 13px; }

.more2__row--coral .more2__tile { color: var(--coral); }
.more2__row--coral strong { color: var(--coral); }

.calendar-add { display: flex; gap: var(--s3); flex-wrap: wrap; }
.calendar-add .btn { flex: 1; min-width: 100px; text-align: center; }

/* ---------------------------------------------------------------------------
   11 · Home
   --------------------------------------------------------------------------- */

.home-lead {
  /* This is an <a>. Without display, it stays inline: min-height is ignored
     and the dark background paints one rounded box per line fragment instead
     of one card, so the panel appeared as two dark blobs with its own light
     text stranded, unreadable, on the light page behind them. */
  display: block;
  padding: var(--s5);
  background: var(--field);
  color: var(--paper);
  border-radius: var(--r-xl);
  min-height: 210px;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  box-shadow: 0 22px 52px rgba(23, 53, 44, .18);
}
/* Three faint concentric rings, offset off the top-right corner. From the
   mockup; replaces the single Sodium-tinted disc. */
.home-lead::after {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  right: -68px; top: -68px;
  border-radius: 50%;
  border: 1px solid rgba(245, 246, 243, .09);
  box-shadow: 0 0 0 34px rgba(245, 246, 243, .025), 0 0 0 68px rgba(245, 246, 243, .02);
  pointer-events: none;
}
.home-lead__top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  position: relative; z-index: 1;
}
.home-lead__when {
  font: 500 12px var(--mono);
  color: var(--on-field-dim);
}
.home-lead h2 {
  /* One line, always: the size gives way to the card's width before the name wraps. */
  font: 700 clamp(24px, 9cqi, 40px)/.95 var(--display);
  letter-spacing: -.05em;
  margin: 48px 0 7px;
  position: relative; z-index: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-lead__vs { font-weight: 500; opacity: .55; letter-spacing: -.02em; }
.home-lead__details { margin: 0; color: var(--on-field-mute); font-size: 13px; position: relative; z-index: 1; }
/* The person's own time, under the arena's, when theirs differs. */
.home-lead__yours { margin-top: 2px; color: var(--paper); font-weight: 600; }
/* Seats, bottom right, on two deliberate lines. The break is in the markup:
   section and row together, seats alone, so wrapping never decides. */
.home-lead__seats {
  position: absolute; z-index: 1; right: var(--s5); bottom: 18px;
  text-align: right;
  color: #DDE7E1;
  font: 500 12px/1.5 var(--mono);
  letter-spacing: .04em;
}
.home-lead .brim-accent { position: absolute; left: var(--s5); bottom: 20px; }

/* The thin Sodium bar lifted from the wordmark. Brand emphasis, at most one
   per page; a test counts them. Never decoration. */
.brim-accent { display: block; width: 54px; height: 5px; border-radius: 99px; background: var(--brim-sodium); }

/* Where the season is. One track, shared by Home and Season. */
/* Sits between the count line and the grid on Home, so it needs air on
   both sides or it reads as the grid's top border. */
.season-track { height: 8px; background: #E3E7E2; border-radius: 999px; margin: 6px 0 16px; overflow: hidden; }
.season-progress .season-track { margin: 2px 0 18px; }
.season-track i { display: block; height: 100%; background: var(--field); border-radius: 999px; transition: width var(--kit-move-earned) cubic-bezier(.2,.8,.2,1); }
/* only-on-change.js jumps here with no animation, sets the old width, then
   restores the transition on the next frame and sets the new width — the
   same "instant, then eased" trick, just toggling this class through
   classList instead of bar.style.transition, which CSP also blocks. */
.season-track i[data-no-anim] { transition: none; }
/* The fill's width used to be a per-request style="width:N%", which CSP's
   style-src blocks the same as any other inline style — silently, so every
   season-track on the site rendered as an empty bar. Fixed widths at every
   5% cover a thin progress bar without visible rounding. */
.season-track i[data-w="0"]   { width: 0%; }
.season-track i[data-w="5"]   { width: 5%; }
.season-track i[data-w="10"]  { width: 10%; }
.season-track i[data-w="15"]  { width: 15%; }
.season-track i[data-w="20"]  { width: 20%; }
.season-track i[data-w="25"]  { width: 25%; }
.season-track i[data-w="30"]  { width: 30%; }
.season-track i[data-w="35"]  { width: 35%; }
.season-track i[data-w="40"]  { width: 40%; }
.season-track i[data-w="45"]  { width: 45%; }
.season-track i[data-w="50"]  { width: 50%; }
.season-track i[data-w="55"]  { width: 55%; }
.season-track i[data-w="60"]  { width: 60%; }
.season-track i[data-w="65"]  { width: 65%; }
.season-track i[data-w="70"]  { width: 70%; }
.season-track i[data-w="75"]  { width: 75%; }
.season-track i[data-w="80"]  { width: 80%; }
.season-track i[data-w="85"]  { width: 85%; }
.season-track i[data-w="90"]  { width: 90%; }
.season-track i[data-w="95"]  { width: 95%; }
.season-track i[data-w="100"] { width: 100%; }

/* Money or nights: a one-tap swap under the strip, in the muted link voice. */
.home-focus { margin: 6px 0 0; text-align: right; }
.home-focus__swap {
  background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font: 600 12px var(--ui); color: var(--slate); min-height: 0; min-width: 0;
}
.home-focus__swap:hover { color: var(--field); text-decoration: underline; }

.season-progress { padding: var(--s4); }
.progress-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s2);
}
.progress-top h3 { font: 700 17px var(--display); margin: 0; color: var(--field); }
.progress-top p  { margin: var(--s1) 0 0; color: var(--slate); font-size: 12px; }
.progress-top strong { font: 700 20px var(--display); color: var(--field); }
.progress-plan { margin: 10px 0 0; font-size: 12px; color: var(--slate); }
.progress-plan a { color: var(--field); font-weight: 700; }
.season-progress .state-counts--compact { margin-top: 10px; }
.progress-link { display: flex; justify-content: flex-end; margin-top: var(--s3); }
.progress-link a { font-size: 12px; font-weight: 700; color: var(--field); }

/* ---------------------------------------------------------------------------
   12 · Season
   --------------------------------------------------------------------------- */

.season-hero { padding-top: var(--s1); }
/* Season header: kicker, headline, the accent, and where the season is. */
.season-head { margin: var(--s4) 0 var(--s2); max-width: 630px; }
.season-head .season-kicker { margin: 0 0 6px; }
.season-hero .season-head h1 { margin: 0 0 12px; font-size: 44px; }
.season-head .brim-accent { margin-bottom: 14px; }
.season-head__where { margin: 0; font: 600 13px var(--ui); color: var(--slate); }
.season-head .season-track { margin-top: 8px; }
.season-head__error { font-size: 22px; margin: var(--s5) 0 var(--s2); }

/* The list, by month. Rows are cards so the month heading has room to breathe. */
.game-list--season { overflow: visible; display: grid; gap: 6px; }
.game-list__month {
  position: sticky; top: 0; z-index: 2;
  margin: 14px 0 4px; padding: 6px 2px;
  background: var(--paper);
  font: 500 12px var(--mono); color: var(--slate);
}
.game-list__month:first-child { margin-top: 0; }
.game-list--season .game-row { border-bottom: 0; border-radius: 14px; }
.game-list--season .game-row[data-ahead="1"] .datebox b { color: var(--slate); }
.game-row__state { text-align: right; display: grid; gap: 3px; justify-items: end; }
.game-row__status { display: inline-flex; align-items: center; gap: 7px; font: 600 12px var(--ui); color: var(--ink); white-space: nowrap; }
.game-row__dot { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }
.game-row__figure { font: 700 14px var(--display); color: var(--field); letter-spacing: -.02em; }
.season-kicker {
  display: flex; align-items: center; gap: 10px;
  color: var(--slate);
  font: 500 12px var(--mono);
  margin: 0 0 var(--s4);
}
.season-kicker::before {
  content: "";
  width: var(--s1); height: 22px;
  border-radius: var(--r-pill);
  background: var(--dusk);
}
/* On mobile the display headline is demoted below the grid: the mosaic is the
   subject of this screen and must not start under the fold. */
.season-hero h1 {
  font: 700 clamp(30px, 7.5vw, 40px)/1 var(--display);
  letter-spacing: -.045em;
  color: var(--ink);
  margin: var(--s6) 0 var(--s5);
  max-width: 14ch;
}
.season-hero .mosaic-wrap { max-width: 630px; }

.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.story { padding: var(--s4); min-height: 114px; }
.story b    { display: block; font: 700 27px var(--display); color: var(--field); }
.story span { display: block; font-size: 12px; font-weight: 700; margin-top: var(--s1); }
.story p    { margin: var(--s1) 0 0; color: var(--slate); font-size: 12px; line-height: 1.4; }

.season-tools { display: grid; gap: 10px; }

/* ---------------------------------------------------------------------------
   13 · Season Mosaic
   Colour mapping is owned by BRIM-SEASON-MOSAIC-IMPLEMENTATION-SPEC.md.
   Every state is paired with a text label in the legend and an accessible
   name on the square, so colour is never the only carrier of meaning.
   --------------------------------------------------------------------------- */

.mosaic-wrap { position: relative; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.square {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  position: relative;
  display: block;
  min-width: 0;
}
a.square { transition: transform var(--fast) var(--ease); }
a.square:hover { transform: translateY(-1px); }
a.square:focus-visible { box-shadow: var(--focus); }

.square--went       { background: var(--dusk); }
.square--sold       { background: var(--field); }
.square--gifted     { background: var(--dusk-light); }
.square--swapped    { background: var(--sage); }
.square--empty      { background: var(--paper); border: 2px solid var(--coral); }
.square--ahead      { background: var(--ahead); }
.square--split      { background: linear-gradient(135deg, var(--field) 0 50%, var(--dusk-light) 50% 100%); }
.square--unresolved { background: var(--paper); border: 1.5px dashed #A7ADA7; }

.square__promo {
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  right: var(--s1); top: var(--s1);
  background: var(--sodium);
  box-shadow: 0 0 0 1.5px rgba(245, 246, 243, .9);
}
.square__need {
  position: absolute;
  width: 7px; height: 7px; border-radius: 50%;
  right: 3px; bottom: 3px;
  background: var(--coral);
  box-shadow: 0 0 0 1.5px rgba(245, 246, 243, .92);
}

.mosaic--compact { grid-template-columns: repeat(8, 1fr); gap: 5px; max-width: 330px; }

/* The guest preview mosaic is read-only. It is shown small and dense so the
   whole season reads as one object rather than a page of tiles. */
.mosaic--preview { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }

.mosaic--compact .square,
.mosaic--preview .square { border-radius: 3px; }
.mosaic--compact .square--empty,
.mosaic--preview .square--empty { border-width: 1.5px; }
.mosaic--compact .square__promo,
.mosaic--compact .square__need,
.mosaic--preview .square__promo,
.mosaic--preview .square__need { width: var(--s1); height: var(--s1); right: 2px; }
.mosaic--compact .square__promo,
.mosaic--preview .square__promo { top: 2px; }
.mosaic--compact .square__need,
.mosaic--preview .square__need  { bottom: 2px; }

/* Grouped so the two states that share a hue are read side by side under one
   heading, instead of competing across a flat list of eight. */

/* Counted legend. Swatch, count, label: the same explanation as a colour key
   but carrying a fact about the customer's season, in the same height. */
.state-counts {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
}
.state-counts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  color: var(--slate);
}
.state-counts .legend-swatch { align-self: center; }
.state-counts b {
  font: 700 15px var(--display);
  letter-spacing: var(--track-tight);
  color: var(--ink);
}
.state-counts--compact li { font-size: 12px; }
.state-counts--compact b { font-size: 13px; }

.legend {
  display: flex; flex-wrap: wrap;
  gap: 11px 17px;
  margin: var(--s3) 0 0; padding: 0;
  list-style: none;
}
.legend-group ul { margin:0; padding: 0; }
.legend-group { margin-top: var(--s5); }
.legend-group__label {
  font: 500 12px var(--mono);
  color: var(--slate);
  margin: 0;
}
.legend li {
  display: flex; align-items: center; gap: 7px;
  font: 500 12px var(--mono);
  color: var(--slate);
}
.legend-swatch { width: 13px; height: 13px; border-radius: 3px; flex: 0 0 13px; }
.legend-swatch--went,
.legend-swatch--going   { background: var(--dusk); }
.legend-swatch--sold    { background: var(--field); }
.legend-swatch--gifted  { background: var(--dusk-light); }
.legend-swatch--swapped { background: var(--sage); }
.legend-swatch--empty   { background: var(--paper); border: 1.5px solid var(--coral); }
.legend-swatch--ahead   { background: var(--ahead); }
.legend-swatch--unresolved { background: var(--paper); border: 1.5px dashed #A7ADA7; }
.legend-swatch--promo,
.legend-swatch--need    { border-radius: 50%; width: 7px; height: 7px; flex-basis: 7px; }
.legend-swatch--split   { background: linear-gradient(90deg, var(--field) 50%, var(--dusk) 50%); }
.legend-swatch--promo   { background: var(--sodium); }
.legend-swatch--need    { background: var(--coral); }

/* ---------------------------------------------------------------------------
   13b · Season mosaic — shipped component contract
   src/views/components/season-mosaic.php emits these names, and four
   acceptance suites assert them. The generic .mosaic/.square names above are
   the preview vocabulary; these are what the application actually renders.
   --------------------------------------------------------------------------- */

.brim-season-mosaic {
  display: grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brim-season-square {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  position: relative;
  display: block;
  min-width: 0;
  background: var(--brim-ahead);
}
a.brim-season-square { transition: transform var(--fast) var(--ease); }
a.brim-season-square:hover { transform: translateY(-1px); }
a.brim-season-square:focus-visible { box-shadow: var(--focus); }

.brim-season-square[data-grid-state="went"]{background:var(--brim-dusk)}
.brim-season-square[data-grid-state="sold"]{background:var(--brim-field)}
.brim-season-square[data-grid-state="gifted"]{background:var(--brim-dusk-light)}
.brim-season-square[data-grid-state="swapped"]{background:var(--brim-sage)}
.brim-season-square[data-grid-state="ahead"]{background:var(--brim-ahead)}
.brim-season-square[data-grid-state="empty"]{background:var(--brim-paper);border:1.5px solid var(--brim-coral)}
.brim-season-square[data-grid-state="unresolved"]{background:var(--brim-paper);border:1.5px dashed #A7ADA7}
.brim-season-square[data-grid-state="split"]{
  background:linear-gradient(135deg,var(--brim-split-a,var(--brim-field)) 0 50%,var(--brim-split-b,var(--brim-dusk-light)) 50% 100%)
}
[data-split-a="sold"]{--brim-split-a:var(--brim-field)}
[data-split-a="went"]{--brim-split-a:var(--brim-dusk)}
[data-split-b="went"]{--brim-split-b:var(--brim-dusk)}
[data-split-b="gifted"]{--brim-split-b:var(--brim-dusk-light)}

.brim-season-square__promotion {
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  right: var(--s1); top: var(--s1);
  background: var(--brim-sodium);
  box-shadow: 0 0 0 1.5px rgba(245, 246, 243, .9);
}
.brim-season-square__attention {
  position: absolute;
  width: 7px; height: 7px; border-radius: 50%;
  right: 3px; bottom: 3px;
  background: var(--brim-coral);
  box-shadow: 0 0 0 1.5px rgba(245, 246, 243, .92);
}

/* A night where seats were held beyond the package — the other half of an
   exchange. A corner notch rather than another square: the square already
   means one night, and holding a second pair does not make it two. Kept
   distinct from the promotion and attention marks, which sit in other
   corners and mean different things. */
.brim-season-square__extra {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 0;
  height: 0;
  border-left: 5px solid var(--sodium);
  border-top: 5px solid transparent;
  border-radius: 1px;
}
.brim-season-square[data-extra-seats]:not([data-extra-seats="0"]) {
  position: relative;
}

.brim-season-mosaic--full { grid-template-columns:repeat(7,minmax(0,1fr)); }
.brim-season-mosaic--compact { grid-template-columns:repeat(8,minmax(0,1fr)); gap: 5px; max-width: 330px; }
.brim-season-mosaic--preview { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.brim-season-mosaic--compact .brim-season-square,
.brim-season-mosaic--preview .brim-season-square { border-radius: 3px; }
.brim-season-mosaic--compact .brim-season-square__promotion,
.brim-season-mosaic--compact .brim-season-square__attention,
.brim-season-mosaic--preview .brim-season-square__promotion,
.brim-season-mosaic--preview .brim-season-square__attention { width: var(--s1); height: var(--s1); right: 2px; }
.brim-season-mosaic--compact .brim-season-square__promotion,
.brim-season-mosaic--preview .brim-season-square__promotion { top: 2px; }
.brim-season-mosaic--compact .brim-season-square__attention,
.brim-season-mosaic--preview .brim-season-square__attention { bottom: 2px; }

#season-grid{max-width:100%;overflow-x:hidden}
/* Room for a tapped square, which grows and gains an outline, so the clip
   above does not cut it at the first column. */
#season-grid:not(.card) { max-width: none; margin-inline: -8px; padding-inline: 8px; }

/* Months. The mosaic becomes a column of month blocks, each its own grid of
   the variant's columns, with a small label above. A gap between blocks
   and nothing else: no boxes, no rules. */
.brim-season-mosaic--months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.brim-season-month { min-width: 0; }
.brim-season-month__label {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 6px; padding: 0 1px;
  font: 500 10px var(--mono); color: var(--slate);
}
.brim-season-month__label span { font-variant-numeric: tabular-nums; opacity: .7; }
/* Preseason nights in their own short row, smaller. */
.brim-season-preseason { margin: 0 0 10px; }
.brim-season-preseason__label { margin: 0 0 4px; font: 600 11px/1.2 var(--ui); color: var(--slate); }
.brim-season-preseason__label span { margin-left: 6px; font-weight: 500; }
.brim-season-preseason .brim-season-mosaic { grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; max-width: 330px; }
.brim-season-preseason .brim-season-square { border-radius: 3px; }
.brim-season-preseason .brim-season-square__day { font-size: 8px; }
.brim-season-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.brim-season-mosaic--compact .brim-season-month__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; }
.brim-season-mosaic--compact.brim-season-mosaic--months { gap: 10px; }
.brim-season-mosaic--compact .brim-season-month__label { margin-bottom: 4px; font-size: 9px; }

/* Day numbers: the date in a shade of the square's own colour. Ink at low
   opacity on the light states, paper on the two dark ones. On a phone the
   squares are near 30px, so the number only shows while planning, where
   the date is the point. */
.brim-season-square__day {
  position: absolute; inset: 0;
  display: none; place-items: center;
  font: 500 10px/1 var(--mono); letter-spacing: 0;
  color: rgba(21, 24, 28, .42);
  pointer-events: none;
}
.brim-season-square[data-grid-state="went"] .brim-season-square__day,
.brim-season-square[data-grid-state="sold"] .brim-season-square__day,
.brim-season-square[data-grid-state="split"] .brim-season-square__day { color: rgba(245, 246, 243, .78); }
.brim-season-square[data-grid-state="empty"] .brim-season-square__day { color: rgba(226, 86, 63, .75); }
.brim-season-square[data-grid-state="ahead"] .brim-season-square__day { color: rgba(105, 113, 127, .8); }
.is-editing .brim-season-square__day { display: grid; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media(min-width:900px){
  .brim-season-mosaic--full { grid-template-columns:repeat(8,minmax(0,1fr)); gap: 12px; }
  /* The month-grouped mosaic is a column of month blocks; the 8-column rule
     above must not apply to the container itself (it did, and the months
     laid out side by side as dots). */
  .brim-season-mosaic--months.brim-season-mosaic--full,
  .brim-season-mosaic--months.brim-season-mosaic--compact { grid-template-columns: minmax(0, 1fr); }
  .brim-season-mosaic--full .brim-season-month__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
  .brim-season-mosaic--months.brim-season-mosaic--full { gap: 18px; }
  .brim-season-mosaic--full .brim-season-month__label { font-size: 11px; margin-bottom: 8px; }
  .brim-season-mosaic--preview { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 7px; }
  .brim-season-square { border-radius: var(--s2); }
  .brim-season-mosaic--dates .brim-season-square__day { font-size: 11px; }
  .season-edit.is-editing .season-edit__bar { bottom: 10px; }
}
/* On a coarse pointer the label under the finger is replaced by one note
   beneath the grid: nothing to clip at the edges, nothing hidden by the
   thumb, and room for the milestone badge. */
@media (hover: none) and (pointer: coarse) {
  .brim-season-mosaic [data-tip]::after, .mosaic [data-tip]::after { display: none !important; }
}
.mosaic-note {
  display: none; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
  background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.35;
}
.mosaic-note.is-open { display: flex; }
/* A square corner rather than a pill (CLAUDE.md, Palette). The radius was
   999px, which on a two-line-tall chip is a capsule, and the season grid it
   sits in is built out of squares. 4px keeps it from looking cut out of the
   tile without rounding it into something else. */
.mosaic-note__moment, .brim-season-square__moment {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; border-radius: 4px;
  background: var(--brim-sodium); color: var(--ink);
  font: 600 11px var(--mono); letter-spacing: .04em;
}
.mosaic-note a { color: var(--brim-sodium); font-weight: 700; margin-left: auto; }
.mosaic-note__hint { flex-basis: 100%; display: flex; align-items: center; gap: var(--s3); }
.mosaic-note__got-it { min-height: 44px; margin-left: auto; padding: 0 var(--s2); border: 0; background: none; color: inherit; font: 600 var(--kit-text-small-size) var(--kit-text-small-font); cursor: pointer; }
/* On a fine pointer the milestone rides in the label as a Sodium word. Colour only: the bar keeps
   the same 14px every other state gets, so a moment reads at a glance instead of as a hairline. */
.brim-season-square[data-milestone]::after { border-left-color: var(--brim-sodium); }

/* Dates on the Season grid are a toggle (kept per browser); on by default
   from 900px, off below it, always on while planning. */
.brim-season-mosaic--dates.show-dates .brim-season-square__day { display: grid; }
[data-dates-toggle][aria-pressed="true"] { background: var(--field); color: var(--paper); border-color: var(--field); }

/* ---------------------------------------------------------------------------
   14 · Activity
   --------------------------------------------------------------------------- */

.timeline { display: grid; gap: 10px; }
.activity-card {
  padding: var(--s4);
  display: grid;
  grid-template-columns:34px minmax(0,1fr);
  gap: var(--s3);
}
.activity-card small { font: 500 12px var(--mono); color: var(--slate); }
.activity-card h3    { font: 700 15px var(--display); margin: 3px 0; }
.activity-card p     { font-size: 12px; line-height: 1.45; color: var(--slate); margin: 0; }

/* Activity carries the season's colours.
   data-activity-tone was already on every card and nothing read it, so a
   gifted night and a sold night looked identical here while being plainly
   different two clicks away. Same values as the grid squares, applied as a
   spine down the edge and a tint behind the glyph rather than as a fill: the
   card is text to read, and a full wash of Field would take the words with it. */
.activity-card { position: relative; overflow: hidden; }
.activity-card[data-activity-tone]::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
}
.activity-card[data-activity-tone="going"]::before   { background: var(--brim-dusk); }
.activity-card[data-activity-tone="sold"]::before    { background: var(--brim-field); }
.activity-card[data-activity-tone="gifted"]::before  { background: var(--brim-dusk-light); }
.activity-card[data-activity-tone="changed"]::before { background: var(--brim-sage); }

.activity-card .glyph {
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--field-tint);
  color: var(--field);
}
.activity-card[data-activity-tone="going"]   .glyph { background: color-mix(in srgb, var(--brim-dusk) 16%, transparent); }
.activity-card[data-activity-tone="sold"]    .glyph { background: color-mix(in srgb, var(--brim-field) 14%, transparent); }
.activity-card[data-activity-tone="gifted"]  .glyph { background: color-mix(in srgb, var(--brim-dusk-light) 26%, transparent); }
.activity-card[data-activity-tone="changed"] .glyph { background: color-mix(in srgb, var(--brim-sage) 30%, transparent); }

/* ---------------------------------------------------------------------------
   15 · Inbox
   --------------------------------------------------------------------------- */

.inbox-card { padding: 17px; margin-bottom: var(--s3); }
.inbox-card h2 {
  font: 700 20px var(--display);
  letter-spacing: var(--track-tight);
  margin: var(--s5) 0 7px;
  color: var(--field);
}
.inbox-card p { font-size: 12px; color: var(--slate); line-height: 1.55; }

.source {
  display: flex; justify-content: space-between; gap: var(--s3);
  font: 500 12px var(--mono);
  color: var(--slate);
}

.match {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  background: var(--field-tint);
  border-radius: var(--r-sm);
  padding: var(--s3);
  margin-top: 14px;
}
.match strong { display: block; font-size: 12px; }
.match span   { font-size: 12px; color: var(--slate); }

/* Filing is the expected answer, so it gets the button. Declining is rarer and
   sits beside it as a quiet action: same row, nothing like the same weight. */
.brim-inbox-decision,
.decision {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s4);
}
.brim-inbox-decision .btn,
.decision .btn { min-height: 46px; border-radius: var(--r-sm); font-size: 12px; }
.brim-inbox-decision .btn--secondary,
.decision .btn--secondary {
  min-height: auto;
  padding: var(--s2) var(--s1);
  border-color: transparent;
  background: none;
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brim-inbox-decision .btn--secondary:hover,
.decision .btn--secondary:hover { color: var(--ink); }

/* ---------------------------------------------------------------------------
   15b · Empty states
   An empty surface is usually the good outcome, not a missing feature. These
   read as arrival, not absence, and they never invent a task to look busy.
   --------------------------------------------------------------------------- */

.brim-inbox-empty,
.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--s3);
  padding: var(--s9) var(--s5);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.empty__mark {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  background: var(--field-tint);
  color: var(--field);
  display: grid; place-items: center;
  font-size: 24px;
}
.empty h2 {
  font: 700 22px var(--display);
  letter-spacing: var(--track-tight);
  color: var(--field);
  margin: 0;
}
.empty p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.55;
  max-width: 36ch;
}
.empty .btn { margin-top: var(--s2); }

/* Waiting on a season rather than on the customer. */
.empty--quiet { background: none; border-style: dashed; }

/* ---------------------------------------------------------------------------
   15c · Pending states
   htmx is in the stack, so anything slower than instant needs a visible state.
   Driven by htmx's own classes; no bespoke wiring per surface.
   --------------------------------------------------------------------------- */

[aria-busy="true"] { cursor: progress; }

.htmx-indicator { opacity: 0; transition: opacity var(--base) var(--ease); }
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { opacity: 1; }

/* A request in flight dims its own region and blocks further clicks, so a
   customer cannot file the same thing twice. */
.htmx-request.is-pending,
.is-pending[aria-busy="true"] {
  position: relative;
  pointer-events: none;
  opacity: .55;
}

.btn.htmx-request,
.btn[aria-busy="true"] { pointer-events: none; color: transparent; position: relative; }
.btn.htmx-request::after,
.btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  color: var(--white);
  animation: brim-spin var(--kit-wait-tick) linear infinite;
}
.btn--secondary.htmx-request::after,
.btn--secondary[aria-busy="true"]::after { color: var(--field); }

/* Skeletons. Shape only, never fake content. */
.skeleton {
  background: linear-gradient(90deg, var(--line) 0%, #EDEFEB 40%, var(--line) 80%);
  background-size: 200% 100%;
  border-radius: var(--r-sm);
  animation: brim-shimmer var(--kit-wait-shimmer) linear infinite;
}
@keyframes brim-shimmer { to { background-position: -200% 0; } }
.skeleton--line { height: 12px; margin: var(--s2) 0; }
.skeleton--title { height: 22px; width: 60%; }
.skeleton--square { aspect-ratio: 1 / 1; border-radius: var(--r-xs); }

@media(prefers-reduced-motion:reduce) {
  .skeleton { animation: none; background: var(--line); }
}

/* ---------------------------------------------------------------------------
   16 · More / profile
   --------------------------------------------------------------------------- */

.profile { padding: 14px; display: flex; align-items: center; gap: 11px; }
.profile-avatar {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--field);
  color: var(--paper);
  display: grid; place-items: center;
  font-weight: 700;
}
.profile strong { font-size: 12px; display: block; }
.profile span   { font-size: 12px; color: var(--slate); }

/* ---------------------------------------------------------------------------
   17 · Sheet
   --------------------------------------------------------------------------- */

.sheet-backdrop {
  position: fixed; z-index: 200; inset: 0;
  background: rgba(21, 24, 28, .34);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: var(--s5);
}
.sheet-backdrop.is-open { display: flex; }
/* A sheet rises on the sheet motion; nothing moves under reduced motion, where the token is 0ms. */
.sheet-backdrop.is-open .sheet { animation: kit-sheet-in var(--kit-move-sheet) var(--kit-ease-sheet) both; }

.sheet {
  width: min(100%, 520px);
  background: var(--paper);
  border-radius: 26px;
  padding: 11px var(--s5) calc(var(--s5) + env(safe-area-inset-bottom));
  box-shadow: var(--lift-sheet);
}
.sheet__handle {
  width: 42px; height: var(--s1);
  border-radius: var(--r-pill);
  background: #C7CCC6;
  margin: 0 auto 15px;
}
.sheet__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s3);
}
.sheet__head h2 {
  font: 700 27px var(--display);
  letter-spacing: -.04em;
  color: var(--field);
  margin: 2px 0;
}
.sheet__head p { font-size: 12px; color: var(--slate); margin: 0; }
.sheet__close { font-size: 25px; color: var(--slate); line-height: 1; }
.sheet__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: 17px; }
/* Actions that set a disposition carry that disposition's mosaic colour as a
   chip. The customer learns the grid by choosing from it. Actions that are not
   dispositions stay neutral, so the two kinds stay legible as different. */
.sheet-action {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  min-height: 68px;
  padding: 9px;
  font-size: 12px; font-weight: 700;
  color: var(--field);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7px;
  transition: border-color var(--fast) var(--ease);
}
.sheet-action:hover { border-color: #C2C8C1; }
.sheet-action__chip { width: 14px; height: 14px; border-radius: var(--s1); flex: 0 0 auto; }
.sheet-action__chip--went    { background: var(--dusk); }
.sheet-action__chip--sold    { background: var(--field); }
.sheet-action__chip--gifted  { background: var(--dusk-light); }
.sheet-action__chip--swapped { background: var(--sage); }
.sheet-action__chip--none    { background: transparent; border: 1.5px solid var(--line); }
.sheet__note { font-size: 12px; color: var(--slate); text-align: center; margin: 14px 0 0; }

/* Minimum drop-target height, kept in the system stylesheet so the value holds
   wherever the attach component is used. */
.drop { min-height:270px; }

/* ---------------------------------------------------------------------------
   23 · Legacy canvas bridge
   ---------------------------------------------------------------------------
   The 100 views still on Tailwind were written for a dark Field shell, so their
   colour utilities resolve to near-white text and hairline borders. On the
   Paper canvas that is invisible rather than merely off-brand.

   This block re-points those utilities to light-canvas values, scoped to
   [data-ui="legacy"] so it can never touch a converted surface. It is a bridge,
   not a destination: every rule here disappears when its views convert, and the
   whole block goes with the last one.
   --------------------------------------------------------------------------- */

[data-ui="legacy"] .text-paper       { color: var(--ink) !important; }
[data-ui="legacy"] .text-paper\/90,
[data-ui="legacy"] .text-paper\/80,
[data-ui="legacy"] .text-paper\/70,
[data-ui="legacy"] .text-paper\/65,
[data-ui="legacy"] .text-paper\/60,
[data-ui="legacy"] .text-paper\/55,
[data-ui="legacy"] .text-paper\/50,
[data-ui="legacy"] .text-paper\/45,
[data-ui="legacy"] .text-paper\/40 { color: var(--slate) !important; }

[data-ui="legacy"] .bg-paper\/5,
[data-ui="legacy"] .bg-paper\/10    { background-color: rgba(255, 255, 255, .72) !important; }
[data-ui="legacy"] .bg-paper         { background-color: var(--paper) !important; }

/* My mechanical conversion stripped border-colour utilities in 290 places
   across 76 files, leaving a bare `border`. Tailwind's bare .border sets only
   border-width, and this build has no preflight default, so those borders fall
   back to currentColor and render as heavy dark outlines. Give them the
   system's hairline instead. */
[data-ui="legacy"] .border { border-color: var(--line); }

[data-ui="legacy"] .border-paper\/10,
[data-ui="legacy"] .border-paper\/15,
[data-ui="legacy"] .border-paper\/20,
[data-ui="legacy"] .border-paper\/25,
[data-ui="legacy"] .border-paper\/30 { border-color: var(--line) !important; }

/* Field-tinted variants were already light; only their contrast needs help. */
[data-ui="legacy"] .text-field\/45,
[data-ui="legacy"] .text-field\/65,
[data-ui="legacy"] .text-field\/70  { color: var(--slate) !important; }

/* Surfaces the legacy shell painted dark. */
[data-ui="legacy"] .bg-field         { background-color: var(--field) !important; }
[data-ui="legacy"] .bg-field .text-paper,
[data-ui="legacy"] .bg-field h1,
[data-ui="legacy"] .bg-field h2,
[data-ui="legacy"] .bg-field h3      { color: var(--paper) !important; }

/* Type and shape, brought closer to the system without touching markup. */
[data-ui="legacy"] .font-display     { font-family: var(--display); letter-spacing: var(--track-tight); }
[data-ui="legacy"] .font-mono        { font-family: var(--mono); }
[data-ui="legacy"] .rounded-xl       { border-radius: var(--r-lg); }
[data-ui="legacy"] .rounded-lg       { border-radius: var(--r-sm); }
[data-ui="legacy"] .shadow-sm        { box-shadow: var(--lift-1); }

/* ---------------------------------------------------------------------------
   19b · Shell states and cards
   Emitted by views/partials/shell-states.php and shell-card.php. The class
   names are a contract; only their presentation lives here.
   --------------------------------------------------------------------------- */

.shell-state {
  display: grid;
  gap: var(--s2);
  justify-items: center;
  text-align: center;
  padding: var(--s7) var(--s5);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.shell-state__title { font: 700 17px var(--display); color: var(--field); margin: 0; }
.shell-state__body  { font-size: 13px; color: var(--slate); margin: 0; max-width: 40ch; line-height: 1.55; }
.shell-state__actions { margin: var(--s2) 0 0; display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; }
.shell-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 var(--s4);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); color: var(--field);
  font-size: 12px; font-weight: 700;
}
.shell-state--error   { background: var(--coral-tint); border-color: #E9C7C1; }
.shell-state--error .shell-state__title { color: var(--on-coral-tint); }
.shell-state--success { background: var(--field-tint); border-color: transparent; }
.shell-state--loading .shell-state__title { color: var(--slate); }
.shell-state--empty   { border-style: dashed; background: none; }

.shell-card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s4);
}
.shell-card__label { font: 500 12px var(--mono); color: var(--slate); margin: 0; }
.shell-card__value { font: 700 20px var(--display); color: var(--field); margin: var(--s1) 0 0; }
.shell-card__hint  { font-size: 12px; color: var(--slate); margin: var(--s1) 0 0; }

/* ---------------------------------------------------------------------------
   24 · Goodfolk share page
   Reference: brim-goodfolk-mockups, "Goodfolk 01". Dusk is Goodfolk's accent;
   Sodium belongs to Brim and never appears here.
   --------------------------------------------------------------------------- */

.gf-share { width: min(100%, 430px); margin: 0 auto; padding: 0 var(--s5) var(--s9); }

.gf-listing { padding: var(--s7) 0 0; text-align: center; }
.gf-slug {
  display: inline-flex; align-items: center; gap: var(--s2);
  font: 500 12px var(--mono);
  color: var(--dusk);
  margin: 0 0 var(--s5);
}
.gf-slug__mark { display: inline-flex; }
.gf-listing__title {
  font: 700 25px/1.15 var(--display);
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
}
.gf-listing__where { color: var(--slate); font-size: 13px; margin: 7px 0 0; }
.gf-price {
  font: 700 30px var(--display);
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 14px 0 0;
}
.gf-price__note { font-size: 12px; color: var(--slate); margin: 0; }

/* Seller card. The Dusk edge is the only ornament; the facts carry the weight. */
.gf-cred {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--s4);
  margin-top: var(--s6);
}
.gf-cred__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--dusk); }
.gf-cred__head { display: flex; align-items: center; gap: 11px; padding-left: var(--s1); margin-bottom: 11px; }
.gf-cred__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dusk); color: var(--white);
  display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
  flex: 0 0 auto;
}
.gf-cred__head strong { display: block; font-size: 15px; font-weight: 600; }
.gf-cred__head .mono { display: block; font-size: 12px; }
.gf-cred__facts { list-style: none; margin: 0; padding: 0 0 0 var(--s1); }
.gf-cred__facts li {
  display: flex; align-items: center; gap: var(--s2);
  padding: 7px 0;
  border-top: 1px solid var(--line);
  color: var(--dusk);
}
.gf-cred__facts b { color: var(--ink); font-weight: 500; font-size: 13px; }
.gf-cred__none { font-size: 13px; color: var(--slate); margin: var(--s2) 0 0; padding-left: var(--s1); line-height: 1.55; }

/* Verified panel. Dusk tint, deeper Dusk text: the one moment the page is
   allowed to feel like good news. */
.gf-verified {
  border: 1px solid var(--dusk);
  background: var(--dusk-tint);
  border-radius: 12px;
  padding: 15px;
  margin-top: var(--s5);
}
.gf-verified__head {
  display: flex; align-items: center; gap: var(--s2);
  font: 500 12px var(--mono);
  color: #3D4C9E;
  margin: 0 0 var(--s2);
}
.gf-verified__facts { font-size: 13px; line-height: 1.6; color: #2E3873; margin: 0; }
.gf-verified__foot {
  font: 400 12px var(--mono);
  color: #5A64A8;
  margin: 9px 0 0;
  border-top: 1px solid #D6DBF5;
  padding-top: 9px;
}

/* Unverified is not an error state. It is an honest one. */
.gf-unverified {
  border: 1.5px dashed #B8C2BC;
  border-radius: 12px;
  padding: 15px;
  margin-top: var(--s5);
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
}
.gf-unverified__head {
  font: 500 12px var(--mono);
  color: var(--ink);
  margin: 0 0 var(--s2);
}
.gf-unverified p { margin: 0; }

.gf-timer {
  text-align: center;
  font: 400 12px var(--mono);
  color: var(--slate);
  margin: var(--s5) 0 11px;
}

.gf-btn {
  display: block; width: 100%;
  white-space: nowrap; /* One line, always. */
  text-align: center;
  padding: 14px;
  border-radius: 11px;
  font: 600 15px var(--ui);
  border: 0;
  cursor: pointer;
}
.gf-btn--primary { background: var(--dusk); color: var(--white); }
.gf-btn--quiet {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 13px;
  padding: 11px;
}
.gf-btn:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; }

.gf-consent { font-size: 12px; color: var(--slate); text-align: center; margin: 6px 0 0; }
.gf-money {
  font-size: 12px;
  color: var(--slate);
  text-align: center;
  line-height: 1.55;
  margin: 6px 0 0;
}

.gf-state {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-state p { font-size: 13px; color: var(--slate); line-height: 1.55; margin: var(--s2) 0 0; }
.gf-state__note { font-size: 12px; }

.gf-buyers { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.gf-buyers li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: var(--s3);
  font-size: 13px;
}
.gf-buyers form { margin: 0; }

.gf-pay {
  background: var(--field-tint);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-pay__note { font: 400 13px var(--mono); color: var(--field); margin: var(--s2) 0 0; line-height: 1.6; }

.gf-footnote {
  font: 400 12px var(--mono);
  color: var(--slate);
  text-align: center;
  margin: var(--s7) 0 0;
}

@media (min-width: 820px) {
  .gf-share { width: min(100%, 470px); }
  .gf-listing { padding-top: var(--s9); }
  .gf-listing__title { font-size: 30px; }
}

/* --- Goodfolk handoff, buyer context and ID ------------------------------- */

.gf-handoff {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-handoff__eyebrow {
  font: 500 12px var(--mono);
  color: var(--dusk);
  margin: 0 0 var(--s2);
}
.gf-handoff__title { font: 700 20px var(--display); letter-spacing: var(--track-tight); color: var(--ink); margin: 0; }
.gf-handoff__lede { font-size: 13px; color: var(--slate); line-height: 1.55; margin: var(--s2) 0 0; }
.gf-handoff__waiting { font-size: 13px; color: var(--slate); margin: var(--s3) 0 0; line-height: 1.55; }
.gf-handoff__fallback { font-size: 12px; color: var(--slate); margin: var(--s1) 0 0; }
.gf-handoff__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.gf-handoff__actions .gf-btn { width: auto; padding: 10px var(--s4); }

.gf-steps { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 0; }
.gf-step {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--s3);
  padding: var(--s3) 0;
  position: relative;
}
/* Connector line between dots, so the list reads as one sequence. */
.gf-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px; top: 26px; bottom: -4px;
  width: 1.5px;
  background: var(--line);
}
.gf-step__dot {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  margin-top: 3px;
  position: relative; z-index: 1;
}
.gf-step--complete .gf-step__dot { background: var(--dusk); border-color: var(--dusk); }
.gf-step--current .gf-step__dot { border-color: var(--dusk); box-shadow: 0 0 0 4px var(--dusk-tint); }
.gf-step__body { min-width: 0; }
.gf-step__label { display: block; font: 600 15px var(--ui); color: var(--ink); }
.gf-step--pending .gf-step__label { color: var(--slate); font-weight: 500; }
.gf-step__status {
  display: block;
  font: 500 12px var(--mono);
  color: var(--slate);
  margin-top: 2px;
}
.gf-step--current .gf-step__status { color: var(--dusk); }
.gf-step__note { display: block; font-size: 12px; color: var(--slate); line-height: 1.5; margin-top: var(--s2); }

.gf-proof {
  display: block;
  background: var(--dusk-tint);
  border-radius: var(--r-sm);
  padding: var(--s3);
  margin-top: var(--s2);
}
.gf-proof__head {
  display: block;
  font: 500 12px var(--mono);
  color: #3D4C9E;
  margin-bottom: var(--s2);
}
.gf-proof__fields { margin: 0; display: grid; gap: 3px; }
.gf-proof__fields div { display: flex; gap: var(--s2); font-size: 12px; }
.gf-proof__fields dt { font: 500 12px var(--mono); color: #5A64A8; flex: 0 0 auto; }
.gf-proof__fields dd { margin: 0; color: #2E3873; }

.gf-buyer-context {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--dusk);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s6);
}
.gf-buyer-context__eyebrow {
  font: 500 12px var(--mono);
  color: var(--dusk);
  margin: 0 0 var(--s2);
}
.gf-buyer-context__facts { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); }
.gf-buyer-context__facts li { font-size: 13px; color: var(--slate); }
.gf-buyer-context__facts b { color: var(--ink); font-weight: 600; }
.gf-buyer-context__facts .mono { font-size: 12px; }
.gf-buyer-context__note { font-size: 12px; color: var(--slate); line-height: 1.55; margin: var(--s4) 0 0; }

.gf-id {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-id__eyebrow {
  font: 500 12px var(--mono);
  color: var(--dusk);
  margin: 0 0 var(--s2);
}
.gf-id__lede { font-size: 13px; color: var(--slate); line-height: 1.55; margin: var(--s2) 0 0; }
.gf-id__notice { font-size: 12px; color: var(--slate); margin: var(--s3) 0 0; }
.gf-id__grid { display: grid; gap: var(--s5); margin-top: var(--s5); }
.gf-id__channel-head {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 13px; font-weight: 600;
  margin: 0 0 var(--s3);
}
/* Square corner, not a pill (CLAUDE.md, Palette). `--r-pill` is still the
   token for the things that genuinely have round ends, which is switches,
   progress tracks and avatars, and none of those have a word inside them. */
.gf-id__tick {
  font: 500 12px var(--mono);
  color: var(--dusk);
  background: var(--dusk-tint);
  padding: 4px 7px;
  border-radius: 4px;
}
.gf-id__channel.is-done .gf-id__channel-head { color: var(--slate); }
.gf-id__testing { font: 400 12px var(--mono); color: var(--slate); margin: var(--s2) 0 0; }
.gf-id__foot { font-size: 12px; color: var(--slate); line-height: 1.55; margin: var(--s5) 0 0; }

@media (min-width: 820px) {
  .gf-id__grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
}

/* --- Goodfolk payment surfaces -------------------------------------------- */

.gf-pay-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-pay-panel__eyebrow {
  font: 500 12px var(--mono);
  color: var(--dusk);
  margin: 0 0 var(--s2);
}
.gf-pay-panel__title { font: 700 22px var(--display); letter-spacing: var(--track-tight); color: var(--ink); margin: 0; }
.gf-pay-panel__lede { font-size: 13px; color: var(--slate); line-height: 1.55; margin: var(--s3) 0 0; }
.gf-pay-panel__where {
  font: 500 15px var(--mono);
  color: var(--ink);
  background: var(--dusk-tint);
  border-radius: var(--r-sm);
  padding: var(--s4);
  margin: var(--s4) 0 0;
  word-break: break-word;
}
.gf-pay-panel__note { font-size: 12px; color: var(--slate); line-height: 1.55; margin: var(--s4) 0 0; }
.gf-pay-panel__manual { margin: var(--s5) 0 0; }

/* Seller-confirmed payment. Deliberately plain: this is a moment to slow
   someone down, not to congratulate them. */
.gf-confirm {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-confirm__eyebrow {
  font: 500 12px var(--mono);
  color: var(--slate);
  margin: 0 0 var(--s2);
}
.gf-confirm__title { font: 700 21px var(--display); letter-spacing: var(--track-tight); color: var(--ink); margin: 0; }
.gf-confirm__lede { font-size: 13px; color: var(--slate); line-height: 1.55; margin: var(--s3) 0 0; }
.gf-confirm__label {
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: var(--s4);
  margin: var(--s4) 0 0;
}
.gf-confirm__label p { font-size: 12px; color: var(--slate); line-height: 1.55; margin: 0; }
.gf-confirm__label p + p { margin-top: var(--s2); }
.gf-confirm__label strong { color: var(--ink); }
.gf-confirm__warning {
  font-size: 12px;
  color: var(--on-coral-tint);
  background: var(--coral-tint);
  border-radius: var(--r-sm);
  padding: var(--s3);
  margin: var(--s3) 0 0;
  line-height: 1.5;
}
.gf-confirm__hint { font-size: 12px; color: var(--slate); text-align: center; margin: var(--s2) 0 0; }

.gf-btn--hold {
  background: var(--field);
  color: var(--white);
  position: relative;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  margin-top: var(--s4);
}
.gf-btn--hold[aria-pressed="true"] { background: var(--on-field-tint); }

/* --- Goodfolk claimed state ----------------------------------------------- */

.gf-claimed {
  background: var(--dusk-tint);
  border: 1px solid var(--dusk);
  border-radius: 14px;
  padding: var(--s5);
  margin-top: var(--s5);
}
.gf-claimed__eyebrow {
  font: 500 12px var(--mono);
  color: #3D4C9E;
  margin: 0 0 var(--s2);
}
.gf-claimed__title { font: 700 21px var(--display); letter-spacing: var(--track-tight); color: #2E3873; margin: 0; }
.gf-claimed__lede { font-size: 13px; color: #2E3873; line-height: 1.6; margin: var(--s3) 0 0; }
.gf-claimed__note { font-size: 13px; color: #5A64A8; line-height: 1.55; margin: var(--s3) 0 0; }
.gf-claimed__expiry {
  display: block;
  font-size: 12px;
  color: #5A64A8;
  margin: var(--s3) 0 0;
  border-top: 1px solid #D6DBF5;
  padding-top: var(--s3);
}

/* ---------------------------------------------------------------------------
   25 · The season arriving
   ---------------------------------------------------------------------------
   Reconstructing a season from a messy spreadsheet is the one genuinely
   surprising thing Brim does, and the preview is the moment it lands. This is
   the delight layer for that moment.

   What it does: squares settle into place in reading order, quickly, with a
   short stagger. Nothing bounces, nothing spins, no colour appears that is not
   already in the system. The effect is a season assembling itself, which is
   what actually happened.

   Constraints it respects:
   - It runs once, on arrival. Re-renders and htmx swaps do not replay it.
   - The stagger is capped, so an 81 game season finishes in about a second
     rather than crawling through eighty separate delays.
   - Under prefers-reduced-motion the whole thing is skipped and every square
     is simply present. The season is the reward, not the animation.
   --------------------------------------------------------------------------- */

@keyframes brim-square-settle {
  from { opacity: 0; transform: scale(.82); }
  to   { opacity: 1; transform: none; }
}

@keyframes brim-card-arrive {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* The card's arrival is owned entirely by .season-arrival now (25b, below).
   A .gstep.is-active .preview-card rule used to live here running its own
   320ms keyframe. CSS animations always win over a transition on the same
   property of the same element, so that old rule was silently finishing the
   card's opacity/transform in 320ms with fill:both and holding it there —
   which pre-empted the .season-arrival push before it could ever be seen,
   on every viewport. That is the actual cause of "the card barely moves"
   and "mobile follows the desktop animation": the card was never running
   the sequence built for it. Removed rather than reconciled, because
   nothing else needs a .preview-card animation independent of the arrival
   it is now always wrapped in. */

/* The grid itself fades in as one object, then its squares resolve. */
/* .guest__wide is a sibling grid area, not a descendant of .gstep, so it must
   not be selected through it. The season also sits below the fold on a phone,
   which meant the animation finished before anyone scrolled to it. It now waits
   for .is-revealed, set when the grid actually enters the viewport. */
/* Visible is the default. The animation is added only once the season scrolls
   into view, never withheld until then: an earlier version paused the
   animation with fill-both, which left the squares at opacity 0 if the
   observer never ran. Failing to animate is a small loss; failing to render
   the season is not. */
.guest__wide.is-revealed .mosaic--preview,
.guest__wide.is-revealed .brim-season-mosaic--preview {
  animation: brim-card-arrive var(--kit-move-sheet) var(--ease) both;
}

.guest__wide.is-revealed .mosaic--preview .square,
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square {
  animation: brim-square-settle var(--kit-move-earned) var(--ease) both;
  /* The index comes from :nth-child, not from an inline style attribute.
     The component used to emit style="--square-index:N" on every square, but
     the application sends `style-src 'self'`, which blocks style attributes
     outright. Every square therefore fell back to 0, every delay computed
     identically, and the whole season arrived in one frame with no stagger at
     all. The console showed one CSP violation per square, 81 of them.

     Tens and units are set separately so this needs 25 rules rather than one
     per square, and it covers seasons well past any real slate length.

     No cap. Capping the delay past a fixed square gave every remaining square
     the same start, so the first half staggered in and the back half arrived
     as one block. The step is small enough that a full season lands without
     one: 81 squares at 8ms is under 700ms of stagger. */
  animation-delay: calc((var(--sq-t, 0) * 10 + var(--sq-u, 1)) * 8ms + 120ms);
}

.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+1),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+1) { --sq-u: 1; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+2),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+2) { --sq-u: 2; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+3),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+3) { --sq-u: 3; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+4),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+4) { --sq-u: 4; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+5),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+5) { --sq-u: 5; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+6),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+6) { --sq-u: 6; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+7),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+7) { --sq-u: 7; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+8),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+8) { --sq-u: 8; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n+9),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n+9) { --sq-u: 9; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(10n),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(10n) { --sq-u: 10; }

.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+11):nth-child(-n+20),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+11):nth-child(-n+20) { --sq-t: 1; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+21):nth-child(-n+30),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+21):nth-child(-n+30) { --sq-t: 2; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+31):nth-child(-n+40),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+31):nth-child(-n+40) { --sq-t: 3; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+41):nth-child(-n+50),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+41):nth-child(-n+50) { --sq-t: 4; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+51):nth-child(-n+60),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+51):nth-child(-n+60) { --sq-t: 5; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+61):nth-child(-n+70),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+61):nth-child(-n+70) { --sq-t: 6; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+71):nth-child(-n+80),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+71):nth-child(-n+80) { --sq-t: 7; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+81):nth-child(-n+90),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+81):nth-child(-n+90) { --sq-t: 8; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+91):nth-child(-n+100),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+91):nth-child(-n+100) { --sq-t: 9; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+101):nth-child(-n+110),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+101):nth-child(-n+110) { --sq-t: 10; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+111):nth-child(-n+120),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+111):nth-child(-n+120) { --sq-t: 11; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+121):nth-child(-n+130),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+121):nth-child(-n+130) { --sq-t: 12; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+131):nth-child(-n+140),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+131):nth-child(-n+140) { --sq-t: 13; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+141):nth-child(-n+150),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+141):nth-child(-n+150) { --sq-t: 14; }
.guest__wide.is-revealed .mosaic--preview .square:nth-child(n+151):nth-child(-n+160),
.guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square:nth-child(n+151):nth-child(-n+160) { --sq-t: 15; }

@media (prefers-reduced-motion: reduce) {
  .guest__wide .mosaic--preview,
  .guest__wide .brim-season-mosaic--preview,
  .guest__wide .mosaic--preview .square,
  .guest__wide .brim-season-mosaic--preview .brim-season-square {
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
   25b · The season arriving, in order
   ---------------------------------------------------------------------------
   The season draws itself in first, then the heading and card arrive above it
   and push it down. Leading with the grid is what makes the reconstruction
   feel like work that happened; the card landing on top of it is what makes
   the push read as the season making room for its own details.

   Open by default. Scripting arms the collapsed start, so without JS both
   simply render in place.
   --------------------------------------------------------------------------- */

.season-arrival { display: grid; grid-template-rows: 1fr; }
.season-arrival__inner { min-height: 0; }

.season-arrival.is-armed {
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--kit-move-earned) cubic-bezier(.22, .68, .28, 1);
}
.season-arrival.is-armed .season-arrival__inner { overflow: hidden; }

/* Opacity resolves fast so the card is a solid object almost at once, then it
   travels. A slow fade reads as content loading rather than arriving. */
.season-arrival.is-armed .stephead,
.season-arrival.is-armed .preview-card {
  /* Further to travel and a longer fade. At 18px with a 200ms fade the card
     was in place before the movement registered, which read as no animation
     at all rather than as an arrival. */
  transform: translateY(-34px);
  opacity: 0;
  transition:
    transform var(--kit-move-earned) cubic-bezier(.22, .68, .28, 1),
    opacity var(--kit-move-sheet) ease,
    box-shadow var(--kit-move-earned) ease .3s;
}
/* Lifted while it moves, settling as it lands. */
.season-arrival.is-armed .preview-card { box-shadow: 0 18px 34px rgba(21, 24, 28, .18); }

.season-arrival.is-armed.is-in { grid-template-rows: 1fr; }
.season-arrival.is-armed.is-in .stephead,
.season-arrival.is-armed.is-in .preview-card { transform: none; opacity: 1; }
.season-arrival.is-armed.is-in .preview-card { box-shadow: var(--lift-2); }

/* The mosaic needs to be on screen with the card at rest, or nothing invites
   the eye below the fold and the sequence is wasted. */
[data-guest-screen="preview"] .stephead { padding: 14px 0 18px; }
/* The wide column already provides the separation, so the section heading
   should not add its own on top of it. Landing exactly on the fold is not a
   fit: fonts load late and phones vary, so leave real margin. */
.guest__wide .section-title { margin-top: 0; margin-bottom: var(--s2); }

/* Desktop puts the card and the season in separate columns, so the card is
   not displacing anything and there is no push to watch. Skip the collapse
   entirely and let it arrive alongside the grid: holding it back would just
   look like the column loading late. */
@media (min-width: 820px) {
  /* Desktop squares are far larger, so a 550ms fade per square reads as slow
     loading rather than a season arriving. Tighter and quicker here. */
  .guest__wide.is-revealed .mosaic--preview .square,
  .guest__wide.is-revealed .brim-season-mosaic--preview .brim-season-square {
    animation-duration: .38s;
    animation-delay: calc((var(--sq-t, 0) * 10 + var(--sq-u, 1)) * 7ms + 100ms);
  }
  .season-arrival.is-armed { grid-template-rows: 1fr; }
  .season-arrival.is-armed .stephead,
  .season-arrival.is-armed .preview-card {
    transform: translateY(-10px);
    transition:
      transform var(--kit-move-sheet) cubic-bezier(.22, .68, .28, 1),
      opacity var(--kit-move-deeper) ease,
      box-shadow var(--kit-move-sheet) ease .1s;
  }
  .season-arrival.is-armed .preview-card { box-shadow: 0 10px 24px rgba(21, 24, 28, .12); }
}

@media (prefers-reduced-motion: reduce) {
  .season-arrival,
  .season-arrival.is-armed { grid-template-rows: 1fr; transition: none; }
  .season-arrival.is-armed .stephead,
  .season-arrival.is-armed .preview-card { transform: none; opacity: 1; transition: none; }
}

/* ---------------------------------------------------------------------------
   20 · Surface containers
   Named for the shipped contract the acceptance suite asserts. Each is a width
   and a hook, not a second design system: the components inside come from the
   sections above.
   --------------------------------------------------------------------------- */

.brim-home{max-width:930px}
.brim-inbox{max-width:760px}
.brim-activity{max-width:760px}
.brim-more{
  max-width:760px;
}
.brim-money-strip{
  overflow:hidden;
}
/* A naming hook only. It must not carry layout: display:contents removed the
   header's box entirely, discarding the flex layout .pagehead provides and
   the margins with it. */
.brim-pagehead { }

.brim-inbox-card { position: relative; }
.brim-inbox-choices { display: grid; gap: var(--s2); margin-top: var(--s3); }
.brim-inbox-choices label {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 12px;
  cursor: pointer;
}
.brim-inbox-choices input { accent-color: var(--field); width: 18px; height: 18px; }

.brim-activity-card { position: relative; }
/* One row that scrolls, like every other filter row. Wrapping put the
   fifth chip on a second line on a phone. */
.brim-activity-filters { flex-wrap: nowrap; }

.brim-more-profile { position: relative; }
.brim-more-links { overflow: hidden; }
/* 9.5f More — grouped capability map */
.brim-more-row { position: relative; }

@media(min-width:820px){
  .brim-inbox{max-width:820px}
  .brim-activity{max-width:820px}
  .brim-more{max-width:820px}
}

/* Sheet: disclosure rows for the decisions that need an amount first. */
.sheet details > summary { list-style: none; }
.sheet details > summary::-webkit-details-marker { display: none; }
.sheet details > summary::after {
  content: "+";
  margin-left: auto;
  color: var(--slate);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
.sheet details[open] > summary::after { content: "\2212"; }
.sheet details > summary:focus-visible { box-shadow: var(--focus); border-radius: var(--r-sm); }
.sheet .legend { font-size: 12px; }

/* ---------------------------------------------------------------------------
   19 · Desktop
   --------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .shell {
    display: grid;
    grid-template-columns: var(--rail-w) 1fr;
    background:linear-gradient(90deg,#EEF1ED 0 236px,transparent 236px);
  }

  .rail {
    display: flex;
    position: sticky; top: 0;
    height: 100vh;
    flex-direction: column;
    padding: 28px 18px 18px;
    width:236px;
    border-right: 1px solid var(--line);
    background:rgba(238,241,237,.9);
  }
  /* display:block is load-bearing. This is an <a>, and width and vertical
     margin are both ignored on an inline element, so the lockup rendered at
     whatever intrinsic size the SVG resolved to — a few pixels wide. */
  .rail__brand { display: block; width: 152px; margin: var(--s1) var(--s2) 34px; }
  .rail nav { display: grid; gap: 5px; }
  .rail a {
    color: var(--slate);
    border-radius: 14px;
    padding: 10px 11px;
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700;
    transition: background var(--fast) var(--ease);
  }
  /* Scoped to nav on purpose. The lockup is also an <svg> inside an <a>
     inside .rail, and the earlier ".rail a svg" rule sized it to 18px
     (measured in DevTools: attribute width=152, computed 18px). Four
     "fixes" to .rail__brand could not work because the rule was on the
     child, not the link. The brand rule below states the size explicitly
     so no reset or icon rule can win over the attribute again. */
  .rail nav a svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
  .rail__brand svg { width: 152px; height: auto; display: block; }
  .rail a:hover { background: rgba(255, 255, 255, .55); }
  .rail a.is-active { background: var(--white); color: var(--field); box-shadow: 0 5px 20px rgba(21, 24, 28, .04); }
  .rail__foot { margin-top: auto; padding: 11px; color: var(--slate); font-size: 12px; line-height: 1.5; }
  .rail__foot strong { display: block; color: var(--ink); font-size: 12px; }
  .rail__seats { display: block; white-space: nowrap; }

  /* A page with no rail (the admin pages, anything without the five
     destinations) is one column. The grid above parked the whole page in
     the 236px rail track and left the rest of the screen empty. */
  body:not(.has-shell-nav) .shell { display: block; background: none; }
  body:not(.has-shell-nav) .mast { justify-content: space-between; }
  body:not(.has-shell-nav) .mast__brand { display: block; }

  .app { max-width: var(--app-max); margin: 0; padding: 0 48px 70px; }
  /* No brand in the mast on desktop (the rail has it), so the avatar is the
     only child and space-between parked it on the left. */
  .mast { height: 86px; justify-content: flex-end; }
  .mast__brand { display: none; }
  body:not(.has-shell-nav) .mast__brand { display: block; }
  .bottom-nav { display: none; }
  .screen-inner { max-width: var(--read-max); }
  .pagehead { margin-top: 28px; }
  .home-lead { min-height: 270px; }
  .home-lead h2 { margin-top: 76px; }
  /* Larger type in a wider column needs a proportionally larger gap; the mobile
     value reads as cramped once the measure grows. */
  .pagehead p { margin-top: var(--s5); }

  .home-grid { display: grid; grid-template-columns:minmax(0,1.5fr) minmax(300px,.85fr); gap: var(--s4); align-items: start; }
  /* Side-by-side again, so source order stands. */
  .home-side { order: 0; }
  .home-side { display: grid; gap: var(--s3); }

  .season-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: var(--s7); align-items: start; }
  .season-hero h1 { font-size: 44px; max-width: 16ch; }
  /* No arbitrary offset. A flat 100px pushed the whole column — grid included
     — below the fold, which read as misalignment and cut the grid off. The
     column starts where the content beside it starts. */
  .season-side { display: grid; gap: var(--s3); align-content: start; }

  /* Nine columns, not eight: at eight the 81-game grid is 11 rows and runs
     885px, past the desktop fold. Nine brings it to 640px and keeps squares
     comfortably clickable. */
  .mosaic { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
  .square { border-radius: var(--s2); }

  .season-hero h1 { margin: var(--s7) 0 var(--s5); }

  /* Desktop spends width before height: the guest preview moves its mosaic
     into the second column rather than pushing it below the fold. */

}

/* ---------------------------------------------------------------------------
   26 · Utilities
   Restored after being lost in an earlier edit. .is-hidden in particular is
   load bearing: the guest view uses it to hide the aside variants that do not
   belong to the current screen, so without it all four render at once.
   --------------------------------------------------------------------------- */

.stack   { display: grid; gap: var(--s3); }
.stack-4 { display: grid; gap: var(--s4); }
.stack-6 { display: grid; gap: var(--s6); }
.grow    { flex: 1; min-width: 0; }
.is-hidden { display: none !important; }

@media (prefers-contrast: more) {
  :root { --slate: #4A5160; --line: #B9BDB7; }
  .card { background: var(--white); }
}

@media print {
  .rail, .bottom-nav, .actions, .sheet-backdrop { display: none !important; }
  body { background: var(--white); }
  .card { box-shadow: none; border-color: #CCC; }
}

/* ---------------------------------------------------------------------------
   27 · Inline-style replacements
   ---------------------------------------------------------------------------
   The application sends `style-src 'self'`, which blocks style attributes in
   markup outright. 548 of them were spread across 99 view files, so every one
   of those declarations was silently discarded by the browser and those
   surfaces have been rendering without spacing they were written to have.

   These classes carry exactly the declarations that were in those attributes,
   value for value, so the markup gets what it always intended without
   weakening the policy with 'unsafe-hashes'.

   The `u-` prefix is deliberate: tailwind.css is still loaded on unconverted
   views, and bare names like .mt-4 would collide with it.

   Utilities are worth keeping. The `u-set-N` rules are not: each is one
   element's leftover declaration block, and each should fold into a real
   component class as its view converts. They exist so this fix changes
   nothing visually.
   --------------------------------------------------------------------------- */

.u-bd-0 { border:0; }
.u-bdt-0 { border-top:0; }
.u-fs-10-5 { font-size: 12px; }
.u-fs-11 { font-size: 12px; }
.u-fs-22 { font-size:22px; }
.u-m-0 { margin:0; }
.u-mb-2 { margin-bottom:var(--s2); }
.u-mb-3 { margin-bottom:var(--s3); }
.u-mb-4 { margin-bottom:var(--s4); }
.u-mb-5 { margin-bottom:var(--s5); }
.u-ml-auto { margin-left:auto; }
.u-mt-1 { margin-top:var(--s1); }
.u-mt-2 { margin-top:var(--s2); }
.u-mt-3 { margin-top:var(--s3); }
.u-mt-4 { margin-top:var(--s4); }
.u-mt-5 { margin-top:var(--s5); }
.u-mt-6 { margin-top:var(--s6); }
.u-mt-7 { margin-top:var(--s7); }
.u-pl-1 { padding-left:var(--s1); }
.u-ta-center { text-align:center; }
.u-ta-left { text-align:left; }
.u-ta-right { text-align:right; }
.u-w-full { width:100%; }
/* These three replace a style="width:Npx" that CSP's style-src silently
   blocked outright, so each input rendered at .field input's full-width
   default instead of the deliberately narrow size the view asked for. */
.u-w-90 { width:90px; }
.u-w-120 { width:120px; }
.u-w-150 { width:150px; }

/* Staging-only build identity, footer.php via on_staging_host(). Never
   ships visible on brimseason.com or goodfolk.co: gated server-side on
   request host, not hidden by CSS. Square corners, not a pill. */
.staging-build-badge {
    position: fixed;
    right: var(--s2);
    bottom: var(--s2);
    z-index: 40;
    padding: 3px var(--s2);
    border-radius: 4px;
    background: var(--field);
    color: var(--paper);
    font-size: 11px;
    line-height: 1.4;
    pointer-events: none;
    white-space: nowrap;
}

/* One-off declaration blocks lifted verbatim. Retire these as views convert. */
.u-set-1 { padding:var(--s4) var(--s4) var(--s4) 0; vertical-align:middle; }
.u-set-10 { padding:0; }
.u-set-11 { margin-top:var(--s7); border-color:#E9C7C1; }
.u-set-12 { color:var(--coral); }
.u-set-13 { margin-top:var(--s4); padding-left:var(--s5); }
.u-set-14 { margin-top:var(--s5); list-style:none; padding:0; }
.u-set-15 { margin-top:var(--s2); font-size:26px; }
.u-set-16 { border:0; padding:0; margin:0; }
.u-set-17 { display:flex; gap:var(--s3); margin-top:var(--s2); flex-wrap:wrap; }
.u-set-18 { width:100%; text-align:left; border-left:2px solid var(--coral); }
.u-set-19 { border-left:2px solid var(--coral); border-radius:0 var(--r-sm) var(--r-sm) 0; }
.u-set-2 { font:700 27px var(--display); color:var(--field); }
.u-set-20 { list-style:none; margin:var(--s4) 0 0; padding:0; overflow:hidden; }
.u-set-21 { border-bottom:1px solid var(--line); }
.u-set-22 { font:700 15px var(--display); letter-spacing:var(--track-tight); }
.u-set-23 { font-variant-numeric:tabular-nums; }
.u-set-24 { padding:var(--s4) 0 var(--s4) var(--s2); text-align:right; vertical-align:middle; }
.u-set-25 { padding:var(--s8) 0; }
.u-set-26 { margin:var(--s3) 0 var(--s5); }
.u-set-27 { margin-top:0; }
.u-set-28 { font-size: 12px; color:var(--slate); margin-top:4px; }
.u-set-29 { padding:var(--s4); margin:0; }
.u-set-3 { display:flex; align-items:center; justify-content:space-between; gap:var(--s4); margin-bottom:var(--s4); }
.u-set-4 { display:flex; align-items:center; justify-content:space-between; gap:var(--s5); margin:var(--s4); }
.u-set-5 { display:flex; gap:var(--s2); }
.u-set-6 { display:flex; align-items:center; gap:var(--s4); margin-top:var(--s2); }
.u-set-7 { margin:var(--s1) 0 0; }
.u-set-8 { display:flex; align-items:center; gap:var(--s2); font-weight:700; cursor:pointer; }
.u-set-9 { padding-left:0; padding-right:0; }

/* Year recap squares and fingerprint cells: colour by state, from here rather
   than from a blocked style attribute. Values match season_grid_state_swatch()
   and season_fingerprint_state_fill(). */
.year-square { aspect-ratio: 1 / 1; border-radius: var(--r-xs); display: block; background: transparent; }
.year-square[data-grid-state="went"]     { background: var(--dusk); }
.year-square[data-grid-state="sold"]     { background: var(--field); }
.year-square[data-grid-state="gifted"]   { background: var(--dusk-light); }
.year-square[data-grid-state="swapped"]  { background: var(--sage); }
.year-square[data-grid-state="ahead"]    { background: var(--ahead); }
.year-square[data-grid-state="empty"]    { background: var(--paper); border: 1.5px solid var(--coral); }
.year-square[data-grid-state="unresolved"] { background: var(--paper); border: 1.5px dashed #A7ADA7; }
.year-square[data-grid-state="split"] {
  background: linear-gradient(90deg, var(--brim-split-a, var(--field)) 0 50%, var(--brim-split-b, var(--dusk-light)) 50% 100%);
}

.fingerprint-cell[data-fingerprint-state="attended"]  { background: var(--paper); }
.fingerprint-cell[data-fingerprint-state="sold"]      { background: var(--sodium); }
.fingerprint-cell[data-fingerprint-state="gifted"]    { background: var(--dusk); }
.fingerprint-cell[data-fingerprint-state="exchanged"] { background: var(--field); }
.fingerprint-cell[data-fingerprint-state="partner"]   { background: #3D6B5A; }
.fingerprint-cell[data-fingerprint-state="unused"]    { background: var(--coral); }
.fingerprint-cell[data-fingerprint-state="undecided"] { background: transparent; }

/* ---------------------------------------------------------------------------
   28 · View stylesheets, lifted out of the markup
   ---------------------------------------------------------------------------
   These blocks were <style> elements inside individual view files. The CSP
   sends `style-src 'self'`, which blocks inline <style> elements as well as
   style attributes, so none of this CSS has ever been applied by a browser:
   roughly 15KB of it, across 28 views.

   Lifted verbatim, each block labelled with the view it came from. Selector
   collisions were checked before merging; the only repeats were keyframe
   `from`/`to` steps and one identical rule shared by two syndicate views.

   These are per-view styles living in a global sheet, which is not where they
   belong long-term. They fold into components as their views convert.
   --------------------------------------------------------------------------- */

/* --- from src/views/bench/index.php --- */
.bench-owner [data-delight],
.bench-owner [data-delight-status] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .bench-owner,
  .bench-owner [data-delight],
  .bench-owner [data-delight-status] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/bench/show.php --- */
.bench-capability [data-delight],
.bench-capability [data-delight-status],
.bench-capability [data-delight-action] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .bench-capability,
  .bench-capability [data-delight],
  .bench-capability [data-delight-status],
  .bench-capability [data-delight-action] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/business/index.php --- */
.business-tier [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .business-tier,
  .business-tier [data-delight] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/components/keeper-delight.php --- */
.keeper-delight [data-delight-status],
.keeper-delight [data-canonical-trigger] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .keeper-delight,
  .keeper-delight [data-delight],
  .keeper-delight [data-delight-status] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .keeper-delight[data-motion]:not([data-motion="none"]):not([data-delight-tone="factual"]) {
    /* Motion remains optional. Copy is already on the page. */
  }
}

/* --- from src/views/components/sponsored-verification-motion.php --- */
.sponsored-verification [data-delight] { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .sponsored-verification,
  .sponsored-verification [data-delight] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/game/day.php --- */
.gameday-panel [data-gameday-fact] {
  opacity: 1;
  visibility: visible;
}
.gameday-panel.gameday-practical [data-gameday-priority] {
  outline: 1px solid rgba(240, 180, 41, 0.45);
}
.gameday-books [data-delight-status] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .gameday-panel,
  .gameday-panel [data-gameday-fact],
  .gameday-books,
  .gameday-books [data-delight-status],
  .gameday-panel [data-delight-action] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/game/exchange-optimizer.php --- */
.exchange-optimizer [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .exchange-optimizer,
  .exchange-optimizer [data-delight],
  .exchange-optimizer [data-delight-status],
  .exchange-optimizer [data-assumption],
  .exchange-optimizer [data-fact] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/game/last-call.php --- */
.last-call-panel [data-last-call-time],
.last-call-panel [data-last-call-quantity],
.last-call-panel [data-delight-action],
.last-call-panel [data-delight-status] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .last-call-panel,
  .last-call-panel [data-last-call-time],
  .last-call-panel [data-last-call-quantity],
  .last-call-panel [data-delight-action],
  .last-call-panel [data-delight-status] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/game/logistics.php --- */
.gameday-logistics [data-logistics-fact] {
  opacity: 1;
  visibility: visible;
}
.gameday-logistics [data-delight="anticipate"] {
  box-shadow: inset 3px 0 0 #f0b429;
}
@media (prefers-reduced-motion: no-preference) {
  .gameday-logistics [data-delight="anticipate"] {
    animation: logistics-anticipate var(--kit-move-earned) cubic-bezier(0.22, 1, 0.36, 1) 1;
  }
  .gameday-logistics [data-delight="focus"] {
    animation: logistics-focus var(--kit-move-earned) cubic-bezier(0.22, 1, 0.36, 1) 1;
  }
}
@keyframes logistics-anticipate {
  from { box-shadow: inset 0 0 0 #f0b429; }
  to { box-shadow: inset 3px 0 0 #f0b429; }
}
@keyframes logistics-focus {
  from { background-color: rgba(240, 180, 41, 0); }
  to { background-color: rgba(240, 180, 41, 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .gameday-logistics,
  .gameday-logistics [data-logistics-fact],
  .gameday-logistics [data-delight-status],
  .gameday-logistics [data-logistics-explain],
  .gameday-logistics [data-delight="anticipate"],
  .gameday-logistics [data-delight="focus"] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/game/promotions.php --- */
.game-promotions [data-promotion-card] {
  opacity: 1;
  visibility: visible;
}
.game-promotions [data-promotion-card][data-delight="anticipate"] {
  box-shadow: inset 3px 0 0 #f0b429;
}
@media (prefers-reduced-motion: no-preference) {
  .game-promotions [data-promotion-card][data-delight="anticipate"] {
    animation: promotion-anticipate var(--kit-move-earned) cubic-bezier(0.22, 1, 0.36, 1) 1;
  }
}
@keyframes promotion-anticipate {
  from { box-shadow: inset 0 0 0 #f0b429; }
  to { box-shadow: inset 3px 0 0 #f0b429; }
}
@media (prefers-reduced-motion: reduce) {
  .game-promotions,
  .game-promotions [data-promotion-card],
  .game-promotions [data-delight-status],
  .game-promotions [data-gameday-promotion] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/gifts/charity.php --- */
.charity-gift [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .charity-gift,
  .charity-gift [data-delight],
  .charity-gift [data-delight-status] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/index/show.php --- */
#brim-index [data-delight] {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  #brim-index,
  #brim-index [data-delight],
  #brim-index [data-delight-status],
  #brim-index article,
  #brim-index form {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/partners/draft.php --- */
#draft-room-live .draft-pick-row { opacity: 1; }
    @media (prefers-reduced-motion: reduce) {
      #draft-room-live,
      #draft-room-live [data-delight],
      #draft-room-live [data-delight-status],
      #draft-room-live [data-delight="handoff"],
      #draft-room-live [data-delight="resolve"],
      #draft-room-live [data-delight="focus"] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
      }
    }
#draft-room-page .draft-pick-row { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  #draft-room-page,
  #draft-room-page [data-delight],
  #draft-room-page [data-delight-status] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/partners/trades.php --- */
.trade-desk [data-delight],
.trade-desk [data-delight-status] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .trade-desk,
  .trade-desk [data-delight],
  .trade-desk [data-delight-status],
  .trade-desk [data-delight="handoff"],
  .trade-desk [data-delight="settle"],
  .trade-desk [data-delight="resolve"] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/playoffs/command.php --- */
.playoff-command [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .playoff-command,
  .playoff-command [data-delight],
  .playoff-command [data-delight-status],
  .playoff-command [data-branch] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/renewal/index.php --- */
.renewal-briefing [data-renewal] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .renewal-briefing,
  .renewal-briefing [data-renewal],
  .renewal-briefing [data-delight],
  .renewal-briefing [data-delight-status],
  .renewal-briefing [data-delight-action] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/renewal/lab.php --- */
.renewal-lab [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .renewal-lab,
  .renewal-lab [data-delight],
  .renewal-lab [data-delight-status],
  .renewal-lab [data-delight-action],
  .renewal-lab [data-scenario],
  .renewal-lab [data-assumption] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/renewal/relocation.php --- */
.seat-relocation [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .seat-relocation,
  .seat-relocation [data-delight],
  .seat-relocation [data-delight-status],
  .seat-relocation [data-delight-action],
  .seat-relocation [data-offer],
  .seat-relocation [data-compare] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/season/my-seats-index.php --- */
#my-seats-index [data-delight] {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  #my-seats-index,
  #my-seats-index [data-delight],
  #my-seats-index [data-delight-status],
  #my-seats-index article {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/season/passport.php --- */
.seat-passport [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .seat-passport,
  .seat-passport [data-delight],
  .seat-passport [data-delight-status],
  .seat-passport [data-delight-action],
  .seat-passport [data-chapter] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/season/table.php --- */
#season-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#season-table {
  min-width: 56rem;
}
@media (prefers-reduced-motion: reduce) {
  #season-table-wrap,
  #season-table,
  #season-table a,
  #season-table [data-delight] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* --- from src/views/standing/wallet.php --- */
.wallet-pass [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .wallet-pass,
  .wallet-pass [data-delight],
  .wallet-pass [data-delight-status],
  .wallet-pass [data-qr] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/syndicates/index.php --- */
.syndicates [data-delight],
.syndicates [data-delight-status] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .syndicates,
  .syndicates [data-delight],
  .syndicates [data-delight-status],
  .syndicates [data-delight="handoff"],
  .syndicates [data-delight="settle"] {
    animation: none !important;
    transition: none !important;
  }
}

/* --- from src/views/syndicates/show.php --- */
.syndicates [data-delight],
.syndicates [data-delight-status] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .syndicates,
  .syndicates [data-delight],
  .syndicates [data-delight-status] {
    animation: none !important;
    transition: none !important;
  }
}

/* --- from src/views/year/fingerprint.php --- */
#season-fingerprint-cells {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.3rem;
  overflow-x: hidden;
  max-width: 100%;
}
#season-fingerprint-cells span[data-fingerprint-state] {
  aspect-ratio: 1 / 1;
  min-width: 0;
  display: block;
  border-radius: 0.28rem;
  border: 1px solid rgba(245, 246, 243, 0.18);
}
#season-fingerprint-cells [data-fingerprint-state="undecided"] {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(245, 246, 243, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  #season-fingerprint [data-delight],
  #season-fingerprint [data-delight-status],
  #season-fingerprint-cells [data-fingerprint-state] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/year/index.php --- */
#year-recap-squares {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  overflow-x: hidden;
  max-width: 100%;
}
#year-recap-squares span[data-grid-state] {
  aspect-ratio: 1 / 1;
  min-width: 0;
  display: block;
  border-radius: 0.3rem;
  border: 1px solid rgba(245, 246, 243, 0.18);
}
#year-recap-squares [data-grid-state="ahead"] {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(245, 246, 243, 0.28);
}
#year-recap-squares [data-grid-state="empty"] {
  background-color: #E2563F;
}
@media (prefers-reduced-motion: reduce) {
  #year-recap [data-delight],
  #year-recap [data-delight-status],
  #year-recap-squares [data-grid-state] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --- from src/views/year/time-capsule.php --- */
.time-capsule [data-delight] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .time-capsule,
  .time-capsule [data-delight],
  .time-capsule [data-delight-status],
  .time-capsule [data-delight-action],
  .time-capsule [data-memory] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ---------------------------------------------------------------------------
   28b · Legacy dark-shell reconciliation
   ---------------------------------------------------------------------------
   tailwind.css sets `body { background:#17352c; color:#f5f6f3 }` — the
   unconverted views were built for a dark shell. This stylesheet loads after
   it and flips the body to Paper, which is right for the product and leaves
   those views with dark text on their own dark panels: a Field button with
   Field-coloured label, unreadable and identical on every legacy screen.

   So anything painted a dark brand colour states its own text colour rather
   than inheriting one that no longer suits it. A view that sets its own text
   colour still wins, because these are single-class selectors.

   This is a bridge, not a design. Each view should carry .btn and the rest of
   the system as it converts; until then an unconverted screen stays usable.
   --------------------------------------------------------------------------- */

.bg-field,
.bg-coral,
.bg-dusk { color: var(--paper); }

/* Placeholder text inherits too, and at 35% of a dark ink on a dark button it
   disappears entirely. */
.bg-field ::-moz-placeholder,
.bg-field ::placeholder { color: hsla(80, 14%, 96%, .55); }

/* ---------------------------------------------------------------------------
   28c · Import review
   ---------------------------------------------------------------------------
   Grouped by what will change, not by row of the file. The counts answer the
   question at a glance; the groups open only where there is something to
   decide; the rows are there for anyone who wants to check a night.
   --------------------------------------------------------------------------- */

.import-summary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s4);
}
.import-summary__stat {
  flex: 1 1 120px;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.import-summary__stat strong {
  display: block;
  font: 700 24px var(--display);
  line-height: 1.1;
  color: var(--field);
}
.import-summary__stat span {
  display: block;
  margin-top: 2px;
  font: 500 12px var(--mono);
  color: var(--slate);
}
/* The counts carry the meaning of their group, so they carry its colour. */
.import-summary__stat[data-import-group="change"] strong { color: var(--brim-sage); }
.import-summary__stat[data-import-group="create"] strong { color: var(--brim-dusk); }
.import-summary__stat[data-import-group="skip"] strong   { color: var(--brim-coral); }

.import-group {
  margin-top: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: var(--s3) var(--s4);
}
.import-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  cursor: pointer;
  font: 600 15px var(--ui);
  color: var(--field);
}
.import-group__count {
  font: 500 13px var(--mono);
  color: var(--slate);
}
.import-group__note { margin: var(--s2) 0 0; }

.import-rows { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.import-row {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  padding: var(--s2) 0;
  border-top: 1px solid var(--line);
}
.import-row:first-child { border-top: 0; }
.import-row__spacer { width: 13px; flex: none; }
.import-row label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2) var(--s3);
  cursor: pointer;
}
.import-row label strong { font: 500 13px var(--mono); color: var(--field); }
.import-row label > span { font-size: 13px; color: var(--ink); }
.import-row__reason { color: var(--slate); }

/* ---------------------------------------------------------------------------
   29 · Team badges
   ---------------------------------------------------------------------------
   Club crests are licensed marks, so a team is shown the way a scoreboard
   shows it: its code, in its colours. TOR against DET needs no legend.

   Colour is keyed on a data attribute because `style-src 'self'` blocks style
   attributes, so a per-team inline colour would never reach the browser.
   Scoped by league, since COL is the Rockies in baseball and the Avalanche in
   hockey and they share nothing but three letters.

   A team with no entry keeps the default below: initials on the Night Game
   palette, which reads as deliberate rather than missing.
   --------------------------------------------------------------------------- */

/* The lockup is sized directly rather than at 100% of its anchor.
   width:100% depends on the anchor having a resolved width, and it was
   rendering at roughly 20px on a real desktop while the anchor's own rule
   looked correct in the stylesheet — a dependency worth removing rather than
   explaining. The lockup is 654x127, so a stated width and automatic height
   keep its proportions wherever it appears. */
.rail__brand svg,
.mast__brand svg {
  display: block;
  width: 152px;
  height: auto;
  max-width: 100%;
}

/* Decided September 2026: the club colour goes on the left edge as a bar and
   the tile keeps a neutral fill with the abbreviation always legible. A
   three-letter abbreviation on an arbitrary brand colour fails contrast for a
   meaningful number of clubs, and the green ones land close enough to Field
   that the badge disappears. The edge gives the same continuity with no
   contrast lottery. The per-club rules below name --team (the club colour)
   and --team-ink (the colour that reads on it), which the pictures still fill
   with; nothing on screen fills with it.
   The bar is an inset shadow rather than a border so it follows the rounded
   corner and takes no space from the letters. */
.team-badge {
  display: inline-grid;
  place-items: center;
  /* Letter-spacing applies after the final character too, so a centred label
     sits left of centre by that amount. Indenting by the same value puts it
     back. */
  text-indent: .02em;
  font-variant-numeric: tabular-nums;
  flex: none;
  border-radius: 7px;
  /* The bar is a gradient stop rather than an inset shadow: a shadow follows
     the rounded corner and tapers to nothing top and bottom, which reads as a
     crescent. This is a straight 3px column, clipped by the same radius. */
  background: linear-gradient(to right, var(--team, var(--field)) 0 3px, var(--ahead) 3px);
  color: var(--ink);
  font-family: var(--mono);
  /* 500, not 600. Checked against the font's own metrics: at line-height 1
     the cap centre is 0.009em from the box centre, so heavier weights don't
     buy better vertical placement, only a thicker stroke. */
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  /* The one `uppercase` left in the stylesheet, kept when the rest were
     swept out on Sep 22. A club abbreviation is a name rather than a label:
     TOR is how the league writes it, not a styling decision about a word
     that is really "Tor". The rule against all-caps is about labels. */
  text-transform: uppercase;
  font-synthesis: none;
}
/* The badge is a <span>, and ".row span", ".opponent span", ".team-chip span"
   (specificity 0,1,1) beat ".team-badge" (0,1,0): the tile became display:block
   with its text at the left edge and a 2px top margin. This is why the
   abbreviations sat left on Home's Latest rows, the Season list and the
   identity card while the centring rule above was correct all along. */
.row .team-badge, .opponent .team-badge, .team-chip .team-badge, .home-lead .team-badge, h2 .team-badge {
  display: inline-grid; place-items: center; text-align: center; margin-top: 0; font-size: inherit;
}
.team-badge.team-badge--sm { width: 28px; height: 28px; font-size: 12px; }
/* .row is a grid whose first column is 32px. A 28px inline-grid badge does not
   stretch, so it sat against the column's left edge with 4px spare to its
   right — which reads as the label being off-centre. */
.row > .team-badge,
.import-row > .team-badge { justify-self: center; align-self: center; }
/* Sits beside a headline without dragging its baseline about. */
h1 > .team-badge, h2 > .team-badge { vertical-align: -0.12em; margin-right: var(--s2); }
.team-badge.team-badge--md { width: 40px; height: 40px; font-size: 15px; border-radius: 10px; }

/* MLB */
.team-badge[data-team-league="MLB"][data-team-code="ARI"] { --team: #A71930; --team-ink: #E3D4AD; }
.team-badge[data-team-league="MLB"][data-team-code="ATL"] { --team: #13274F; --team-ink: #CE1141; }
.team-badge[data-team-league="MLB"][data-team-code="BAL"] { --team: #DF4601; --team-ink: #000000; }
.team-badge[data-team-league="MLB"][data-team-code="BOS"] { --team: #BD3039; --team-ink: #FFFFFF; }
.team-badge[data-team-league="MLB"][data-team-code="CHC"] { --team: #0E3386; --team-ink: #CC3433; }
.team-badge[data-team-league="MLB"][data-team-code="CWS"] { --team: #27251F; --team-ink: #C4CED4; }
.team-badge[data-team-league="MLB"][data-team-code="CIN"] { --team: #C6011F; --team-ink: #FFFFFF; }
.team-badge[data-team-league="MLB"][data-team-code="CLE"] { --team: #00385D; --team-ink: #E50022; }
.team-badge[data-team-league="MLB"][data-team-code="COL"] { --team: #333366; --team-ink: #C4CED4; }
.team-badge[data-team-league="MLB"][data-team-code="DET"] { --team: #0C2340; --team-ink: #FA4616; }
.team-badge[data-team-league="MLB"][data-team-code="HOU"] { --team: #002D62; --team-ink: #EB6E1F; }
.team-badge[data-team-league="MLB"][data-team-code="KC"] { --team: #004687; --team-ink: #BD9B60; }
.team-badge[data-team-league="MLB"][data-team-code="LAA"] { --team: #BA0021; --team-ink: #FFFFFF; }
.team-badge[data-team-league="MLB"][data-team-code="LAD"] { --team: #005A9C; --team-ink: #FFFFFF; }
.team-badge[data-team-league="MLB"][data-team-code="MIA"] { --team: #00A3E0; --team-ink: #000000; }
.team-badge[data-team-league="MLB"][data-team-code="MIL"] { --team: #12284B; --team-ink: #FFC52F; }
.team-badge[data-team-league="MLB"][data-team-code="MIN"] { --team: #002B5C; --team-ink: #D31145; }
.team-badge[data-team-league="MLB"][data-team-code="NYM"] { --team: #002D72; --team-ink: #FF5910; }
.team-badge[data-team-league="MLB"][data-team-code="NYY"] { --team: #0C2340; --team-ink: #FFFFFF; }
.team-badge[data-team-league="MLB"][data-team-code="ATH"] { --team: #003831; --team-ink: #EFB21E; }
.team-badge[data-team-league="MLB"][data-team-code="PHI"] { --team: #E81828; --team-ink: #FFFFFF; }
.team-badge[data-team-league="MLB"][data-team-code="PIT"] { --team: #27251F; --team-ink: #FDB827; }
.team-badge[data-team-league="MLB"][data-team-code="SD"] { --team: #2F241D; --team-ink: #FFC425; }
.team-badge[data-team-league="MLB"][data-team-code="SF"] { --team: #FD5A1E; --team-ink: #27251F; }
.team-badge[data-team-league="MLB"][data-team-code="SEA"] { --team: #0C2C56; --team-ink: #005C5C; }
.team-badge[data-team-league="MLB"][data-team-code="STL"] { --team: #C41E3A; --team-ink: #FEDB00; }
.team-badge[data-team-league="MLB"][data-team-code="TB"] { --team: #092C5C; --team-ink: #8FBCE6; }
.team-badge[data-team-league="MLB"][data-team-code="TEX"] { --team: #003278; --team-ink: #C0111F; }
.team-badge[data-team-league="MLB"][data-team-code="TOR"] { --team: #134A8E; --team-ink: #E8291C; }
.team-badge[data-team-league="MLB"][data-team-code="WSH"] { --team: #AB0003; --team-ink: #14225A; }
/* NHL */
.team-badge[data-team-league="NHL"][data-team-code="TOR"] { --team: #00205B; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="MTL"] { --team: #AF1E2D; --team-ink: #192168; }
.team-badge[data-team-league="NHL"][data-team-code="BOS"] { --team: #111111; --team-ink: #FFB81C; }
.team-badge[data-team-league="NHL"][data-team-code="BUF"] { --team: #003087; --team-ink: #FFB81C; }
.team-badge[data-team-league="NHL"][data-team-code="OTT"] { --team: #C8102E; --team-ink: #C2912C; }
.team-badge[data-team-league="NHL"][data-team-code="DET"] { --team: #CE1126; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="COL"] { --team: #6F263D; --team-ink: #236192; }
.team-badge[data-team-league="NHL"][data-team-code="EDM"] { --team: #041E42; --team-ink: #FF4C00; }
.team-badge[data-team-league="NHL"][data-team-code="CGY"] { --team: #C8102E; --team-ink: #F1BE48; }
.team-badge[data-team-league="NHL"][data-team-code="VAN"] { --team: #00205B; --team-ink: #00843D; }
.team-badge[data-team-league="NHL"][data-team-code="WPG"] { --team: #041E42; --team-ink: #AC162C; }
.team-badge[data-team-league="NHL"][data-team-code="UTA"] { --team: #71AFE5; --team-ink: #010101; }
/* NBA */
.team-badge[data-team-league="NBA"][data-team-code="TOR"] { --team: #CE1141; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NBA"][data-team-code="BOS"] { --team: #007A33; --team-ink: #BA9653; }
.team-badge[data-team-league="NBA"][data-team-code="LAL"] { --team: #552583; --team-ink: #FDB927; }
.team-badge[data-team-league="NBA"][data-team-code="GSW"] { --team: #1D428A; --team-ink: #FFC72C; }
.team-badge[data-team-league="NBA"][data-team-code="CHI"] { --team: #CE1141; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NBA"][data-team-code="MIA"] { --team: #98002E; --team-ink: #F9A01B; }
.team-badge[data-team-league="NBA"][data-team-code="NYK"] { --team: #006BB6; --team-ink: #F58426; }
.team-badge[data-team-league="NBA"][data-team-code="UTA"] { --team: #002B5C; --team-ink: #F9A01B; }

/* ---------------------------------------------------------------------------
   Night record, inside the decision sheet: what is filed, one line each,
   with Remove for the lines a person can take back.
   --------------------------------------------------------------------------- */
.night-record { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.night-record__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.night-record__row:last-child { border-bottom: 0; }
.night-record__row strong { font-size: 13px; }
.night-record__row form { margin: 0; }

/* Inbound address: shown on Inbox's empty state and on More. */
.inbound-address { margin-top: 18px; text-align: left; }
.inbound-address__value { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.inbound-address__value code { font: 500 13px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.inbound-address--compact { margin-top: 8px; padding: 10px 12px; }

/* Season story from the pulse: a title and a sentence, no big number. */
.story--pulse span { display: block; font: 700 15px var(--display); color: var(--ink); letter-spacing: -.02em; }
.story--pulse p { margin-top: 6px; }
.story-counts { margin: 10px 2px 0; font-size: 13px; color: var(--slate); }
.story-counts b { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------------------
   Converted legacy views: the handful of layout helpers their forms need.
   --------------------------------------------------------------------------- */
.form-grid { display: grid; gap: var(--s3); }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-grid--2, .form-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.u-flex { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.u-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.u-flex-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.form > .field, .form-grid > .field { margin: 0; }
.form .btn { justify-self: start; }
.note { font-size: 13px; }
.form-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.form-grid__span { grid-column: 1 / -1; }
.u-ml-2 { margin-left: 8px; }
.u-stack { display: flex; flex-direction: column; gap: 10px; }
.u-grid-7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.u-break { overflow-wrap: anywhere; }
.u-list { list-style: disc; padding-left: 20px; }
.u-scroll { max-height: 224px; overflow: auto; }
.night-record__settle { display: block; margin-top: 3px; color: var(--slate); }
.night-record__taps { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.night-record__taps form { margin: 0; }

/* ---------------------------------------------------------------------------
   Season, after the mockup: identity card, segmented control, month bar.
   --------------------------------------------------------------------------- */
.season-identity { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; margin: 4px 0 12px; max-width: 630px; }
.team-chip { display: flex; gap: 12px; align-items: center; min-width: 0; }
.team-chip > div:last-child { min-width: 0; }
.team-chip strong { display: block; font-size: 13px; color: var(--ink); }
.team-chip span { font-size: 12px; color: var(--slate); }
.season-pct { text-align: right; }
.season-pct strong { display: block; font: 700 20px var(--display); color: var(--field); letter-spacing: -.03em; }
.season-pct span { font: 500 10px var(--mono); color: var(--slate); }

/* Two equal segments, one selected. Replaces the small toggle. */
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; background: #E9ECE7; padding: 4px; border-radius: 15px; margin: 0 0 16px; max-width: 630px; }
.seg a, .seg button { display: flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 11px; padding: 9px 6px; min-height: 0; font-size: 12px; font-weight: 700; color: var(--slate); text-decoration: none; }
.seg a.is-active, .seg button.is-active { background: var(--white); color: var(--field); box-shadow: 0 2px 7px rgba(21, 24, 28, .05); }
/* Three segments get three columns. Without this rule the third wrapped
   onto a second line of its own. */
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg a, .seg button { white-space: nowrap; }

/* The identity card carries the one season count, and the track under it. */
.season-identity { flex-wrap: wrap; }
.season-identity__track { flex: 1 0 100%; }
.season-identity__track .season-track { margin-top: 2px; }

/* Month heading over the list: the month large, the count beside it. */
.monthbar { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 8px; position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 6px 0 4px; }
.monthbar:first-child { margin-top: 0; }
.monthbar strong { font: 700 24px var(--display); letter-spacing: -.04em; color: var(--ink); }
.monthbar span { font: 500 11px var(--mono); color: var(--slate); }
.season-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Every NHL and NBA club, so a non-Toronto season gets a coloured tile. */
.team-badge[data-team-league="NHL"][data-team-code="ANA"] { --team: #F47A38; --team-ink: #000000; }
.team-badge[data-team-league="NHL"][data-team-code="CAR"] { --team: #CC0000; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="CHI"] { --team: #CF0A2C; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="CBJ"] { --team: #002654; --team-ink: #CE1126; }
.team-badge[data-team-league="NHL"][data-team-code="DAL"] { --team: #006847; --team-ink: #8F8F8C; }
.team-badge[data-team-league="NHL"][data-team-code="FLA"] { --team: #041E42; --team-ink: #C8102E; }
.team-badge[data-team-league="NHL"][data-team-code="LAK"] { --team: #111111; --team-ink: #A2AAAD; }
.team-badge[data-team-league="NHL"][data-team-code="MIN"] { --team: #154734; --team-ink: #A6192E; }
.team-badge[data-team-league="NHL"][data-team-code="NSH"] { --team: #FFB81C; --team-ink: #041E42; }
.team-badge[data-team-league="NHL"][data-team-code="NJD"] { --team: #CE0E2D; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="NYI"] { --team: #00539B; --team-ink: #F47D30; }
.team-badge[data-team-league="NHL"][data-team-code="NYR"] { --team: #0038A8; --team-ink: #CE1126; }
.team-badge[data-team-league="NHL"][data-team-code="PHI"] { --team: #F74902; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="PIT"] { --team: #000000; --team-ink: #FCB514; }
.team-badge[data-team-league="NHL"][data-team-code="SJS"] { --team: #006D75; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="SEA"] { --team: #001628; --team-ink: #99D9D9; }
.team-badge[data-team-league="NHL"][data-team-code="STL"] { --team: #002F87; --team-ink: #FCB514; }
.team-badge[data-team-league="NHL"][data-team-code="TBL"] { --team: #002868; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NHL"][data-team-code="VGK"] { --team: #B4975A; --team-ink: #333F42; }
.team-badge[data-team-league="NHL"][data-team-code="WSH"] { --team: #041E42; --team-ink: #C8102E; }
.team-badge[data-team-league="NBA"][data-team-code="ATL"] { --team: #E03A3E; --team-ink: #C1D32F; }
.team-badge[data-team-league="NBA"][data-team-code="BKN"] { --team: #000000; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NBA"][data-team-code="CHA"] { --team: #1D1160; --team-ink: #00788C; }
.team-badge[data-team-league="NBA"][data-team-code="CLE"] { --team: #860038; --team-ink: #FDBB30; }
.team-badge[data-team-league="NBA"][data-team-code="DAL"] { --team: #00538C; --team-ink: #B8C4CA; }
.team-badge[data-team-league="NBA"][data-team-code="DEN"] { --team: #0E2240; --team-ink: #FEC524; }
.team-badge[data-team-league="NBA"][data-team-code="DET"] { --team: #C8102E; --team-ink: #1D42BA; }
.team-badge[data-team-league="NBA"][data-team-code="HOU"] { --team: #CE1141; --team-ink: #FFFFFF; }
.team-badge[data-team-league="NBA"][data-team-code="IND"] { --team: #002D62; --team-ink: #FDBB30; }
.team-badge[data-team-league="NBA"][data-team-code="LAC"] { --team: #C8102E; --team-ink: #1D428A; }
.team-badge[data-team-league="NBA"][data-team-code="MEM"] { --team: #5D76A9; --team-ink: #12173F; }
.team-badge[data-team-league="NBA"][data-team-code="MIL"] { --team: #00471B; --team-ink: #EEE1C6; }
.team-badge[data-team-league="NBA"][data-team-code="MIN"] { --team: #0C2340; --team-ink: #78BE20; }
.team-badge[data-team-league="NBA"][data-team-code="NOP"] { --team: #0C2340; --team-ink: #C8102E; }
.team-badge[data-team-league="NBA"][data-team-code="OKC"] { --team: #007AC1; --team-ink: #EF5133; }
.team-badge[data-team-league="NBA"][data-team-code="ORL"] { --team: #0077C0; --team-ink: #C4CED4; }
.team-badge[data-team-league="NBA"][data-team-code="PHI"] { --team: #006BB6; --team-ink: #ED174C; }
.team-badge[data-team-league="NBA"][data-team-code="PHX"] { --team: #1D1160; --team-ink: #E56020; }
.team-badge[data-team-league="NBA"][data-team-code="POR"] { --team: #E03A3E; --team-ink: #000000; }
.team-badge[data-team-league="NBA"][data-team-code="SAC"] { --team: #5A2D81; --team-ink: #63727A; }
.team-badge[data-team-league="NBA"][data-team-code="SAS"] { --team: #C4CED4; --team-ink: #000000; }
.team-badge[data-team-league="NBA"][data-team-code="WAS"] { --team: #002B5C; --team-ink: #E31837; }

/* The morning after: one line, a dot that is filled for a win. */
.note--morning { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.note--morning__mark { font-size: 12px; color: var(--field); flex: none; }
.note--morning[data-morning-after="lost"] .note--morning__mark { color: var(--slate); }

/* Latest rows: a dot in the outcome's colour where the badge used to be. */
.glyph--tone { width: 10px; height: 10px; border-radius: 3px; background: var(--ahead); align-self: center; justify-self: center; }
.row[data-activity-tone="sold"] .glyph--tone, .row[data-activity-tone="sale"] .glyph--tone { background: var(--field); }
.row[data-activity-tone="attending"] .glyph--tone, .row[data-activity-tone="attended"] .glyph--tone, .row[data-activity-tone="going"] .glyph--tone { background: var(--dusk); }
.row[data-activity-tone="gifted"] .glyph--tone, .row[data-activity-tone="gift"] .glyph--tone { background: var(--dusk-light); }
.row[data-activity-tone="exchanged"] .glyph--tone { background: var(--sage); }
.row[data-activity-tone="listed"] .glyph--tone { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--field); }
.row[data-activity-tone="unused"] .glyph--tone { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--coral); }

/* The pre-chosen night: the reason and one tap, above the other choices. */
.night-lead { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--field); color: var(--paper); }
.night-lead__reason { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: rgba(245, 246, 243, .85); }
.night-lead__row { display: flex; gap: 10px; align-items: center; }
.night-lead__price input { width: 92px; min-height: 42px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(245, 246, 243, .25); background: rgba(245, 246, 243, .08); color: var(--paper); font: 600 14px var(--mono); }
.night-lead .btn--primary { background: var(--sodium); color: var(--ink); border-color: var(--sodium); }

/* Season strip share page. */
.strip-frame { max-width: 360px; border-radius: 20px; overflow: hidden; box-shadow: 0 22px 52px rgba(23, 53, 44, .18); background: var(--paper); }
.strip-preview { display: block; width: 100%; height: auto; }

/* The year recap: one season's picture, its two actions, the money switch,
   and the moments beside it. Desktop puts the picture in the main column and
   keeps the moments in a second one; phone stacks them.
   docs/mockups/brim-year-recap.html */
.yearrecap { display: block; }
.yearrecap__body { display: grid; gap: 28px; margin: 20px 0 0; }
.yearrecap__pic { display: grid; gap: 14px; justify-items: start; }
.yearrecap__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.yearrecap__switch {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: 360px; padding: 12px 14px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: inherit;
}
.yearrecap__switch strong { display: block; font: 600 14px var(--ui); }
.yearrecap__switch small { display: block; font: 400 12px var(--ui); color: var(--slate); margin: 2px 0 0; }
.yearrecap__knob {
  flex: 0 0 auto; width: 40px; height: 24px; border-radius: 12px;
  background: var(--line); position: relative;
}
.yearrecap__knob::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(23, 53, 44, .3);
}
.yearrecap__switch[aria-checked="true"] .yearrecap__knob { background: var(--field); }
.yearrecap__switch[aria-checked="true"] .yearrecap__knob::after { left: 19px; }
.yearrecap__mh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.yearrecap__mlist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.yearrecap__mom {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: inherit;
}
.yearrecap__momtext { flex: 1 1 auto; min-width: 0; }
.yearrecap__momtext strong { display: block; font: 600 15px var(--ui); }
.yearrecap__momnight { display: block; font: 400 13px var(--ui); color: var(--slate); margin: 2px 0 0; }
.yearrecap__momhow { display: block; font: 400 12px var(--ui); color: var(--slate); margin: 2px 0 0; }
@media (min-width: 900px) {
  .yearrecap__body { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: start; gap: 36px; }
}

/* Milestones no longer mark the grid (the Sodium dot asked a question only
   hover could answer). They arrive on Home as a card and live on the night. */

/* The one-time reveal under the grid. */
.milestone-reveal { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 13px; }
.milestone-reveal__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brim-sodium); flex: none; }
.milestone-reveal strong { font-weight: 700; margin-right: 4px; }

/* Guest book rows: an initial in a tile, the sentence, the count. */
.guest-row__avatar { width: 32px; height: 32px; border-radius: 9px; background: var(--dusk-light); color: var(--field); display: inline-grid; place-items: center; font: 700 13px var(--display); flex: none; }

/* The full-season celebration. Same construction as the lead card so it is
   unmistakably Brim, and the second (and last) Sodium bar a page may carry
   because the accent test counts class="brim-accent" once: this one uses
   its own class. */
.milestone-big { position: relative; overflow: hidden; margin-top: 14px; padding: 22px 22px 20px; border-radius: 20px; background: var(--field); color: var(--paper); box-shadow: 0 22px 52px rgba(23, 53, 44, .18); }
.milestone-big::after { content: ""; position: absolute; width: 190px; height: 190px; right: -68px; top: -68px; border-radius: 50%; border: 1px solid rgba(245, 246, 243, .09); box-shadow: 0 0 0 34px rgba(245, 246, 243, .025), 0 0 0 68px rgba(245, 246, 243, .02); pointer-events: none; }
.milestone-big__eyebrow { margin: 0; font: 500 12px var(--mono); color: var(--on-field-dim); }
.milestone-big__title { margin: 10px 0 12px; font: 700 30px/1.05 var(--display); letter-spacing: -.04em; color: var(--paper); }
.milestone-big__accent { display: block; width: 54px; height: 5px; border-radius: 99px; background: var(--brim-sodium); margin-bottom: 14px; }
.milestone-big__body { margin: 0 0 16px; font-size: 14px; color: var(--on-field-mute); max-width: 40ch; }
.milestone-big__cta { background: var(--sodium); color: var(--ink); border-color: var(--sodium); }
@media (prefers-reduced-motion: no-preference) {
  .milestone-big[data-delight="reveal"] { animation: milestone-in var(--kit-move-earned) cubic-bezier(.2,.8,.2,1) both; }
  @keyframes milestone-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* A moment: the milestone card on Home and on the night's page. White
   card, Sodium accent; the big one (every home game) goes Field like the
   full-season celebration. Dismissable on Home; on the night it stays. */
.moment-card { position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.moment-card__eyebrow { margin: 0; font: 500 11px var(--mono); color: var(--slate); }
.moment-card__title { margin: 6px 0 10px; font: 700 24px/1.05 var(--display); letter-spacing: -.03em; color: var(--ink); }
.moment-card__accent { display: block; width: 44px; height: 4px; border-radius: 99px; background: var(--brim-sodium); margin-bottom: 10px; }
.moment-card__body { margin: 0 0 14px; font-size: 14px; color: var(--slate); max-width: 44ch; }
.moment-card__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.moment-card__actions form { margin: 0; }
.moment-card--big { background: var(--field); color: var(--paper); border-color: var(--field); box-shadow: 0 22px 52px rgba(23, 53, 44, .18); }
.moment-card--big .moment-card__eyebrow { color: var(--on-field-dim); }
.moment-card--big .moment-card__title { color: var(--paper); font-size: 28px; }
.moment-card--big .moment-card__body { color: var(--on-field-mute); }
.moment-card--big .moment-card__cta { background: var(--sodium); color: var(--ink); border-color: var(--sodium); }
.moment-card--big .btn--quiet { color: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .moment-card[data-delight="reveal"] { animation: milestone-in var(--kit-move-earned) cubic-bezier(.2,.8,.2,1) both; }
}

/* Off-season canvas: next season's squares, empty, under the finished grid. */
.off-season { margin-top: 12px; }
.off-season__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.off-season__grid i { display: block; aspect-ratio: 1; border-radius: 3px; background: transparent; border: 1.5px dashed #D9DED8; }

/* A figure that just moved. Colour only, briefly; the count-up is the motion. */
.econ strong.is-changing { color: var(--sodium); transition: color var(--kit-move-sheet); }

/* ---------------------------------------------------------------------------
   Draft Room as an event: the season board, partner colours, the recap.
   Six partner colours from the Night Game palette, by pick slot.
   --------------------------------------------------------------------------- */
.draft-board { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; margin-top: 10px; max-width: 430px; }
@media (max-width: 380px) { .draft-board { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.draft-square-form { margin: 0; display: contents; }
.draft-square { display: block; width: 100%; aspect-ratio: 1; border-radius: 5px; border: 0; padding: 0; background: #ECEFEA; position: relative; }
.draft-square.is-out { background: transparent; border: 1.5px dashed #D9DED8; }
.draft-square.is-open { background: var(--paper); box-shadow: inset 0 0 0 1.5px #C9D0C7; }
button.draft-square.is-open { cursor: pointer; box-shadow: inset 0 0 0 2px var(--field); }
button.draft-square.is-open:hover { background: var(--dusk-light); }
.draft-square.is-taken { animation: draft-land var(--kit-move-earned) cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .draft-square.is-taken { animation: none; } }
@keyframes draft-land { from { transform: scale(.6); opacity: .2; } to { transform: none; opacity: 1; } }
.draft-swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: #ECEFEA; }
[data-draft-slot="0"] { background: var(--field); }
[data-draft-slot="1"] { background: var(--dusk); }
[data-draft-slot="2"] { background: var(--sodium); }
[data-draft-slot="3"] { background: var(--sage); }
[data-draft-slot="4"] { background: var(--coral); }
[data-draft-slot="5"] { background: var(--dusk-light); }
.draft-key { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--slate); }
.draft-recap { position: relative; overflow: hidden; margin: 0 0 18px; padding: 22px; border-radius: 20px; background: var(--field); color: var(--paper); box-shadow: 0 22px 52px rgba(23, 53, 44, .18); }
.draft-recap::after { content: ""; position: absolute; width: 190px; height: 190px; right: -68px; top: -68px; border-radius: 50%; border: 1px solid rgba(245, 246, 243, .09); box-shadow: 0 0 0 34px rgba(245, 246, 243, .025), 0 0 0 68px rgba(245, 246, 243, .02); pointer-events: none; }
.draft-recap__eyebrow { margin: 0; font: 500 12px var(--mono); color: var(--on-field-dim); }
.draft-recap__title { margin: 10px 0 12px; font: 700 28px/1.05 var(--display); letter-spacing: -.04em; color: var(--paper); }
.draft-recap__accent { display: block; width: 54px; height: 5px; border-radius: 99px; background: var(--brim-sodium); margin-bottom: 14px; }
.draft-recap__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--on-field-mute); }
.draft-recap__list strong { color: var(--paper); }
.draft-recap__cta { background: var(--sodium); color: var(--ink); border-color: var(--sodium); }

/* Partners as a scoreboard. */
.partners-set { margin-bottom: 14px; }
.partners-set__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 16px 16px 10px; }
.partners-list { list-style: none; margin: 0; padding: 0; }
/* A row is the face, who and their share, and the balance, which takes the
   room its words need ("Owes you $4,210"); Remove sits under them. The
   face is a span, so ".row span" would make it a block with its initials
   in the corner. */
.partners-row { grid-template-columns: 32px minmax(0, 1fr) auto; }
.partners-row > .partners-row__avatar { display: grid; place-items: center; margin-top: 0; color: var(--field); font: 700 13px/1 var(--display); }
.partners-row > .partners-row__net { margin-top: 0; }
.partners-row__remove { grid-column: 2 / -1; min-width: 0; }
/* We've settled up for one pair, under that person. */
.partners-row__settle { grid-column: 2 / -1; min-width: 0; margin: 0; }
.partners-row__net { font-size: 12px; color: var(--slate); white-space: nowrap; }
.partners-row__net.is-owing { color: var(--coral); }
.partners-row__net.is-owed { color: var(--field); font-weight: 700; }
.partners-set__settle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.partners-set__claim { padding: 10px 16px 16px; border-top: 1px solid var(--line); }
.partners-set__claim summary { cursor: pointer; font-size: 13px; }
.invite-card { margin-bottom: 14px; }
.invite-card.is-new { box-shadow: 0 0 0 2px var(--sodium) inset; }

/* A question Brim asks once. */
.note--ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note--ask__actions { display: flex; gap: 8px; }
.note--ask__actions form { margin: 0; }

/* Passes and extras. */
/* Passes and extras: cards, not rows. Tile | body | actions; the actions
   wrap under the body on a narrow screen instead of leaving the page. */
.extras { display: grid; gap: 10px; }
.extras-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; align-items: start; padding: 14px 16px; }
.extras-card.is-done { opacity: .6; }
.extras-card.kit-card { grid-template-columns: auto minmax(0, 1fr); max-width: none; border: 0; }
.extras-tile { width: 40px; height: 40px; border-radius: 12px; background: var(--field); color: var(--paper); display: inline-grid; place-items: center; flex: none; }
.extras-tile svg { width: 22px; height: 22px; }
.extras-tile--credit { background: var(--sodium); color: var(--ink); }
.extras-body { min-width: 0; }
.extras-kind { margin: 0; font: 500 11px var(--mono); color: var(--slate); }
.extras-title { margin: 2px 0 8px; font: 700 18px var(--display); letter-spacing: -.02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.extras-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.extras-bar i { display: block; height: 100%; border-radius: 99px; background: var(--field); }
.extras-tile--credit ~ .extras-body .extras-bar i { background: var(--sodium); }
.extras-line { margin: 6px 0 0; font-size: 13px; color: var(--slate); }
.extras-soon { color: var(--coral); font-weight: 600; }
.extras-actions { grid-column: 2; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.extras-actions form { margin: 0; display: flex; gap: 6px; align-items: center; }
.extras-remove { margin-left: auto !important; }
.extras-spend input { width: 92px; min-height: 34px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); font: 600 13px var(--mono); }
@media (min-width: 900px) {
  .extras-card { grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; }
  .extras-card.kit-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .extras-actions { grid-column: auto; justify-content: flex-end; }
  .extras-remove { margin-left: 6px !important; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 8px 12px; font: 600 13px var(--ui); color: var(--ink); cursor: pointer; }
.chip.is-active { background: var(--field); color: var(--paper); border-color: var(--field); }
.chip:has(input:checked) { background: var(--field); color: var(--paper); border-color: var(--field); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.is-hidden { display: none !important; }

/* Seat history: one small grid per season. */
.seat-history { display: grid; gap: 12px; margin-bottom: 16px; }
.seat-history__season { padding: 14px 16px 12px; position: relative; }
/* The whole row opens that season's recap; the chevron is the affordance and
   the link covers the card, so a tap anywhere on it lands. */
.seat-history__open { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 0 14px; text-decoration: none; color: var(--slate); border-radius: inherit; }
.seat-history__open:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }
.seat-history__season > *:not(.seat-history__open) { position: relative; pointer-events: none; }
.seat-history__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
/* Wraps at a fixed 12px, grouped by month with a small gap marking a new
   one — never the old repeat(27) barcode, and never a month label at this
   size: single letters gave A M J J A S, which said nothing. */
.seat-history__grid { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 10px; }
.seat-history__grid i { display: block; width: 12px; height: 12px; flex: none; border-radius: 2px; background: var(--ahead); }
.seat-history__grid i[data-month-start="1"] { margin-left: 6px; }
.seat-history__grid i[data-state="went"] { background: var(--dusk); }
.seat-history__grid i[data-state="sold"] { background: var(--field); }
.seat-history__grid i[data-state="gifted"] { background: var(--dusk-light); }
.seat-history__grid i[data-state="swapped"] { background: var(--sage); }
.seat-history__grid i[data-state="split"] { background: linear-gradient(90deg, var(--field) 50%, var(--dusk) 50%); }
.seat-history__grid i[data-state="empty"] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--coral); }
.seat-history__line { margin: 10px 0 0; }

/* Provenance: one card, one sentence, two inline disclosure triggers for
   the link/correct forms — never the raw evidence_kind list. */
.passport-provenance__links { display: flex; flex-wrap: wrap; gap: 16px; }
.passport-inline-toggle summary { cursor: pointer; list-style: none; }
.passport-inline-toggle summary::-webkit-details-marker { display: none; }
.passport-inline-toggle[open] { flex-basis: 100%; }

/* Plan nights (edit mode on the grid). */
/* Plan nights.
   At rest: one small button after the grid. While planning: the bar sticks
   to the foot of the screen so the choices stay in reach as far down the
   grid as the customer goes; it sits in flow at the end of the grid, so it
   covers nothing for good. [hidden] must win over the flex rule, which is
   why the bar was showing when it should not have. */
.season-edit { margin: 14px 0 0; }
.season-edit [hidden] { display: none !important; }
.season-edit__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.season-edit__bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.season-edit.is-editing .season-edit__bar {
  position: sticky;
  /* Above the bottom nav on a phone; the nav is a side rail from 900px. */
  bottom: calc(var(--shell-nav-height, 0px) + env(safe-area-inset-bottom, 0px) + 10px);
  z-index: 5;
  box-shadow: 0 10px 30px rgba(21, 24, 28, .12);
}
.season-edit__actions { display: inline-flex; gap: 6px; margin-left: auto; }
.season-edit__many { font-size: 12px; display: inline-flex; gap: 6px; align-items: center; }
.season-edit__count { font: 500 12px var(--mono); color: var(--slate); }
.season-edit__choices { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.season-edit__price input { min-height: 34px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); font: 600 13px var(--mono); }
[data-season-grid].is-editing .brim-season-square { cursor: pointer; }
[data-season-grid].is-editing .brim-season-square.is-selected { outline: 3px solid var(--sodium); outline-offset: 1px; }
/* The planned colour sits on ::before. ::after is the tooltip (content, width, the 14px colour bar,
   hidden until hover), so drawing the plan there produced an invisible mark with a mouse and a
   two-colour smear on a phone once a tap armed the tooltip. Day numbers are children, so they paint above. */
[data-season-grid].is-editing .brim-season-square[data-plan]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
[data-season-grid].is-editing .brim-season-square[data-plan="going"]::before { background: var(--dusk); }
[data-season-grid].is-editing .brim-season-square[data-plan="sell"]::before { background: var(--paper); box-shadow: inset 0 0 0 2px var(--field); }
[data-season-grid].is-editing .brim-season-square[data-plan="gift"]::before { background: var(--dusk-light); }
[data-season-grid].is-editing .brim-season-square[data-plan="empty"]::before { background: var(--paper); box-shadow: inset 0 0 0 2px var(--coral); }
[data-season-grid].is-editing .brim-season-square[data-plan="clear"]::before { background: var(--ahead); }
[data-season-grid].is-editing .brim-season-square[data-plan="going"] .brim-season-square__day { color: rgba(245, 246, 243, .9); }
[data-season-grid].is-editing .brim-season-square[data-plan="sell"] .brim-season-square__day,
[data-season-grid].is-editing .brim-season-square[data-plan="gift"] .brim-season-square__day,
[data-season-grid].is-editing .brim-season-square[data-plan="empty"] .brim-season-square__day { color: var(--ink); }
[data-season-grid].is-editing .brim-season-square[data-plan="clear"] .brim-season-square__day { color: rgba(105, 113, 127, .8); }
/* In plan mode a tap is a choice, never a preview: no lift, no ring, no note. */
[data-season-grid].is-editing .brim-season-square.is-tipped { transform: none; box-shadow: none; }
[data-season-grid].is-editing .brim-season-square.is-tipped::after { opacity: 0; visibility: hidden; }

/* Sign in (Phase 1, item 1.8, per brim-batch-1.html). The season is present
   as a faint texture behind the card: the thing they are about to get back.
   It never moves and never reads as content, because restraint is the design
   of this screen. */
.signin-season {
  display: grid; grid-template-columns: repeat(10, 22px); gap: 6px;
  justify-content: center; align-self: stretch; flex: none;
  margin: 34px 0 0; opacity: .3; pointer-events: none;
}
/* A fixed square rather than an aspect ratio: inside a flex column the grid
   shrinks to its content and the content sizes from the grid, which leaves
   every square at nothing. */
.signin-season i { width: 22px; height: 22px; border-radius: 4px; background: var(--ahead); display: block; }
.signin-season i:nth-child(7n) { background: #DDE3DC; }
@media (min-width: 820px) { .signin-season { margin-top: 44px; } }

/* Here's what Brim read (Phase 1, item 1.6, per brim-batch-1.html). Plain
   sentences with every fact a tap. The inputs are real inputs sized to their
   own words, so the screen submits with nothing running in the browser and
   still reads as a sentence rather than a form. */
.fixing { margin-top: 4px; }
.fixing__fact { font: 500 17px/1.7 var(--ui); color: var(--ink); margin: 0 0 14px; }
.fixing__aside { color: var(--slate); font-size: 14px; display: block; margin-top: 2px; }
.factword {
  font: 700 17px var(--ui); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--sodium);
  border-radius: 0; padding: 0 2px; width: auto; min-width: 2.5ch;
  /* Where the browser has it, the word is exactly as wide as what is in it.
     Everywhere else the size attribute the view writes is the width, which
     is close enough and never collapses. */
  field-sizing: content;
}
.factword:focus { outline: 2px solid var(--field); outline-offset: 2px; background: var(--white); }
.factword--pick { padding-right: 2px; }
.fixing__ask { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; }
.fixing__ask h3 { font: 800 16px var(--display); letter-spacing: -.015em; margin: 0; }
.fixing__ask p { font-size: 13.5px; color: var(--slate); margin: 4px 0 0; line-height: 1.45; }
.fixing__sets { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.fixing__sets li { display: flex; gap: 8px; align-items: baseline; }
.fixing__sets span { font-size: 12px; color: var(--slate); }

/* Start from a team (Phase 1, item 1.4, per brim-batch-1.html). Tiles with
   the club's badge, the name people say and where they play; tapping one
   draws the season under them. */
.fresh-start__door { font-size: 13px; color: var(--slate); margin: 14px 0 0; }
.teamlist { display: grid; gap: 8px; margin: 4px 0 0; }
.teamlist__league { font: 500 12px var(--mono); color: var(--slate); margin: 10px 0 2px; }
/* One column: the club's name is the tile. The badge beside it went, a badge
   only where no name is (NoBadgeBesideANameTest). */
.teamtile {
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  color: var(--ink); font: inherit;
}
.teamtile[aria-pressed="true"] { border-color: var(--field); box-shadow: 0 0 0 1px var(--field); }
.teamtile[hidden] { display: none; }
.teamtile .team-badge { width: 40px; height: 40px; font-size: 15px; border-radius: 10px; }
.teamtile__name { font: 800 17px var(--display); letter-spacing: -.02em; }
.teamtile__name small { display: block; font: 400 12.5px var(--ui); color: var(--slate); margin-top: 1px; letter-spacing: 0; }
/* The season, drawn the moment a club is tapped. One square per home night,
   grouped by month, at a size meant for looking at rather than tapping. */
.teamreveal { margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
/* One at a time: under the tiles on a phone, beside them on a wide screen. */
.guest__wide .teamreveal { display: none; }
@media (min-width: 820px) {
  .teamreveal--inline { display: none; }
  .guest__wide .teamreveal { display: block; margin-top: 0; position: sticky; top: 24px; }
}
.teamreveal[data-drawn="1"] { animation: brim-card-arrive var(--kit-move-sheet) var(--ease) both; }
.teamreveal__title { font: 500 13.5px var(--ui); margin: 0 0 10px; }
.teamreveal__grid { display: grid; gap: 10px; }
.teamreveal__month { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; }
.teamreveal__month span { font: 500 11px var(--mono); color: var(--slate); padding-top: 2px; }
.teamreveal__squares { display: flex; flex-wrap: wrap; gap: 4px; }
.teamreveal__squares i { width: 12px; height: 12px; border-radius: 3px; background: var(--ahead); display: block; }
.teamreveal .micro { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .teamreveal[data-drawn="1"] { animation: none; } }

/* Your Brim address, treated like the object it is: the three words big,
   the domain small under them, and what has arrived underneath. */
.addrcard { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.addrcard__words { font: 900 22px/1.15 var(--display); letter-spacing: -.03em; margin: 0; word-break: break-word; }
.addrcard__words small { display: block; font: 400 13px var(--ui); color: var(--slate); letter-spacing: 0; margin-top: 2px; }
.arrivals { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.arrivals li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.arrivals li:first-child { border-top: 0; }
.arrivals__mark { width: 10px; height: 10px; border-radius: 3px; background: var(--ahead); margin-top: 5px; }
.arrivals li[data-arrival="filed"] .arrivals__mark { background: var(--dusk); }
.arrivals li[data-arrival="waiting"] .arrivals__mark { background: var(--sodium); }
.arrivals__body b { display: block; font: 500 14px var(--ui); }
.arrivals__body small { display: block; font-size: 12.5px; color: var(--slate); margin-top: 1px; }

/* Adding a partner: the season splits in front of you. The bar's width is
   one of twenty-one fixed steps rather than an inline style, the same
   pattern the extras meter uses, because the policy drops inline styles. */
.partnersplit { margin: 4px 0 2px; }
.partnersplit[hidden] { display: none; }
/* Invite someone's share: Half, A third, A quarter or An
   amount, as the app draws it; the amount's field shows once An amount is
   picked, and is required only then (partner-split.js). */
.invite-share__amount { display: none; margin-top: 8px; }
.invite-share:has(input[name="share"][value="amount"]:checked) .invite-share__amount { display: block; }
.partnersplit__line { display: flex; justify-content: space-between; font: 500 13px var(--ui); margin: 0 0 6px; }
.partnersplit__line b { font-weight: 500; color: var(--dusk); }
.partnersplit__line span { color: var(--sage); }
.partnersplit__bar { height: 10px; border-radius: 999px; background: var(--sage); overflow: hidden; }
.partnersplit__bar i { display: block; height: 100%; background: var(--dusk); transition: width var(--kit-move-deeper) var(--ease, ease); width: 50%; }
.partnersplit__bar i[data-share="0"] { width: 0; }
.partnersplit__bar i[data-share="5"] { width: 5%; }
.partnersplit__bar i[data-share="10"] { width: 10%; }
.partnersplit__bar i[data-share="15"] { width: 15%; }
.partnersplit__bar i[data-share="20"] { width: 20%; }
.partnersplit__bar i[data-share="25"] { width: 25%; }
.partnersplit__bar i[data-share="30"] { width: 30%; }
.partnersplit__bar i[data-share="35"] { width: 35%; }
.partnersplit__bar i[data-share="40"] { width: 40%; }
.partnersplit__bar i[data-share="45"] { width: 45%; }
.partnersplit__bar i[data-share="50"] { width: 50%; }
.partnersplit__bar i[data-share="55"] { width: 55%; }
.partnersplit__bar i[data-share="60"] { width: 60%; }
.partnersplit__bar i[data-share="65"] { width: 65%; }
.partnersplit__bar i[data-share="70"] { width: 70%; }
.partnersplit__bar i[data-share="75"] { width: 75%; }
.partnersplit__bar i[data-share="80"] { width: 80%; }
.partnersplit__bar i[data-share="85"] { width: 85%; }
.partnersplit__bar i[data-share="90"] { width: 90%; }
.partnersplit__bar i[data-share="95"] { width: 95%; }
.partnersplit__bar i[data-share="100"] { width: 100%; }
.partnersplit__grid { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 0; }
.partnersplit__grid i { width: 12px; height: 12px; border-radius: 3px; background: var(--dusk); transition: background var(--kit-move-deeper) var(--ease, ease); }
.partnersplit__grid i[data-side="theirs"] { background: var(--sage); }

/* Recording a sale: two tiles, an amount typed big, and the money strip
   moving as it is typed. Phase 2, per brim-batch-1.html. */
.saletiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.saletile { position: relative; display: block; cursor: pointer; }
.saletile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.saletile span {
  display: grid; gap: 4px; justify-items: center; text-align: center;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 10px 12px;
}
.saletile b { font: 800 20px var(--display); letter-spacing: -.01em; }
.saletile small { font: 400 12px var(--ui); color: var(--slate); }
.saletile input:checked + span { border-color: var(--field); background: var(--field-tint); }
.saletile input:focus-visible + span { outline: 2px solid var(--field); outline-offset: 2px; }

.saleamount { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; }
.saleamount span { font: 800 30px var(--display); color: var(--slate); }
.saleamount input {
  font: 900 44px var(--display); letter-spacing: -.03em; color: var(--ink);
  border: 0; border-bottom: 2px solid var(--line); background: transparent;
  padding: 0 0 4px; width: 100%; min-width: 0; border-radius: 0;
}
.saleamount input:focus, .saleamount input:focus-visible { outline: none; border-bottom-color: var(--field); }

.salewhere { display: flex; flex-wrap: wrap; gap: 8px; }
.salechip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.salechip span {
  display: inline-block; font: 500 13px var(--ui); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer;
}
.salechip input:checked + span { background: var(--field); border-color: var(--field); color: var(--paper); }
.salechip input:focus-visible + span { outline: 2px solid var(--field); outline-offset: 2px; }

.salestrip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.salestrip div { padding: 10px 12px; border-right: 1px solid var(--line); }
.salestrip div:last-child { border-right: 0; }
.salestrip b { font: 800 17px/1 var(--display); display: block; letter-spacing: -.01em; transition: color var(--kit-move-sheet); }
.salestrip span { font-size: 11px; color: var(--slate); display: block; margin-top: 4px; }
/* Five-figure seasons fit a 320 phone: the cells share the width and the
   figures step down a size there. */
.salestrip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.salestrip div { min-width: 0; }
@media (max-width: 360px) {
  .salestrip div { padding: 10px 8px; }
  .salestrip b { font-size: 14px; }
}

/* The game page. The night drawn the way the pass draws it: a Sodium day
   emblem on Field, then what Brim knows about it. Phase 2, per
   brim-batch-1.html. */
.nighthero {
  background: var(--field); color: var(--paper);
  border-radius: 18px; padding: 16px 16px 14px; margin: 4px 0 0;
}
.nighthero__top { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.nighthero__day {
  width: 62px; height: 70px; border-radius: 14px; background: var(--sodium); color: var(--ink);
  display: grid; place-items: center; align-content: center;
  font: 900 30px/1 var(--display); letter-spacing: -.02em;
}
.nighthero__day small { display: block; font: 500 11px var(--ui); letter-spacing: .06em; margin-bottom: 2px; }
/* A night with its date to come: TBD in place of the day. */
.nighthero__day--tbd { font-size: 22px; }
.nighthero h1 { font: 900 26px/1.02 var(--display); letter-spacing: -.025em; margin: 0; color: var(--paper); }
.nighthero__when { font-size: 13px; color: rgba(245, 246, 243, .66); margin: 4px 0 0; }
.nighthero__yours { margin-top: 2px; color: var(--paper); font-weight: 600; }
/* The score is a keepsake, said in the card's own colour: Sodium is for time. */
.nighthero__final { font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); color: var(--kit-paper); margin: var(--s2) 0 0; }
.nighthero__notes { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(245, 246, 243, .16); display: grid; gap: 7px; }
.nighthero__notes li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.nighthero__mark { width: 8px; height: 8px; border-radius: 3px; background: var(--sodium); flex: none; margin-top: 6px; }

/* Four taps for the four ordinary answers. */
.planrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 4px; }
.planrow form { display: contents; }
.planrow__btn {
  font: 500 13px var(--ui); border: 1.5px solid var(--line); background: var(--white);
  border-radius: 12px; padding: 11px 4px; cursor: pointer; color: var(--ink);
  display: grid; justify-items: center; gap: 5px; width: 100%;
}
/* Each choice wears the calendar's legend square for the state it sets. */
.planrow__btn i { width: 13px; height: 13px; border-radius: 3px; display: block; background: var(--ahead); }
.planrow__btn[data-plan-key="going"] i { background: var(--dusk); }
.planrow__btn[data-plan-key="gift"] i { background: var(--kit-card); box-shadow: inset 0 0 0 1.5px var(--dusk-light); }
.planrow__btn[aria-pressed="true"] { border-color: var(--field); background: var(--field-tint); }
.planrow__line { margin-top: 2px; }

/* Numbers nobody asked for and everybody reads. */
.nightstats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); margin: 14px 0 0; }
.nightstats[data-night-stats="2"] { grid-template-columns: repeat(2, 1fr); }
.nightstats[data-night-stats="1"] { grid-template-columns: 1fr; }
.nightstat { padding: 10px 12px; border-right: 1px solid var(--line); }
.nightstat:last-child { border-right: 0; }
.nightstat b { font: 800 17px/1 var(--display); display: block; letter-spacing: -.01em; }
.nightstat span { font-size: 11px; color: var(--slate); display: block; margin-top: 4px; }

.nightpeople { display: flex; flex-wrap: wrap; gap: 8px; }
.nightperson { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px 6px 6px; font: 500 13px var(--ui); }
.nightperson i { width: 26px; height: 26px; border-radius: 9px; background: var(--ahead); color: var(--ink); display: grid; place-items: center; font: 800 12px var(--display); font-style: normal; }

.addguest { display: flex; gap: 8px; margin: 10px 0 0; }
/* width 0 so the field's own 20 characters never widen a 320 phone. */
.addguest input { flex: 1 1 0; width: 0; min-width: 0; }
.addguest .btn { flex: none; }

.nightmore { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; }

/* One question when a season collides with one already held: two answers,
   side by side, neither of them the loud one. */
.dupe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
.dupe form { display: contents; }
@media (max-width: 400px) { .dupe { grid-template-columns: 1fr; } }

/* "I have part of the season", under the tiles. Quiet on purpose: a full
   season is what most people hold, and this is the other case, not a
   choice to be weighed. */
.partpick {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  margin: 14px 0 0; padding: 12px 14px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
}
.partpick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--field); }
.partpick span { font-size: 12.5px; line-height: 1.45; color: var(--slate); }
.partpick b { display: block; font: 500 14px var(--ui); color: var(--ink); margin-bottom: 1px; }
.partpick:has(input:checked) { border-color: var(--field); }

/* Not out yet: a season Brim does not hold. No ghost grid, decided. The club
   it is waiting on, one field, and one door into the season they hold today. */
.waitclub {
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; margin: 4px 0 18px;
}
.waitclub .team-badge { width: 44px; height: 44px; font-size: 15px; border-radius: 11px; }
.waitclub__name { font: 800 17px var(--display); letter-spacing: -.02em; margin: 0; }
.waitclub__note { font-size: 12.5px; color: var(--slate); margin: 2px 0 0; }
/* The button, once it has answered. It says the month back, so it is the
   confirmation itself and no card follows it. */
.btn--said {
  background: var(--sodium); border-color: var(--sodium); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: default;
}
.waitmeanwhile { font: 800 17px var(--display); letter-spacing: -.01em; margin: 26px 0 8px; }
.waitdoor {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px;
}
.waitdoor b { display: block; font: 800 16px var(--display); letter-spacing: -.01em; }
.waitdoor small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--slate); margin-top: 2px; }
.waitdoor:hover { border-color: var(--field); }

/* Start from the schedule. */
.fresh-start { margin-top: 14px; }
.fresh-start summary { cursor: pointer; font-size: 13px; }
.fresh-start__form { display: grid; gap: 12px; margin-top: 12px; }
.fresh-start__seats { display: grid; grid-template-columns: 1.2fr 0.8fr 1.2fr; gap: 10px; }

/* Choosing nights on the guest preview (Phase 1, item 1.2, per
   brim-choose-nights.html). The question, one line under it, the packs as
   rounded rectangles with their counts, a status line, then the grid by
   month with day numbers; every square is a button, a night already played
   is not. A pack replaces what is on the grid. */
.guest-plan__q { font: 900 27px/1.05 var(--display); letter-spacing: -.03em; margin: 22px 0 0; }
.guest-plan { margin: 0 0 14px; }
.guest-plan__lede { font-size: 14px; line-height: 1.45; color: var(--slate); margin: 8px 0 0; }
.guest-plan__picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.guest-pack {
  display: inline-flex; align-items: baseline; gap: 7px;
  border: 1px solid var(--line); background: var(--white, #fff); color: var(--ink);
  border-radius: 10px; padding: 10px 12px;
  font: 500 13.5px var(--ui); cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.guest-pack[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.guest-pack--mine { background: none; border-style: dashed; }
.guest-plan__status { font-size: 13px; color: var(--slate); margin: 12px 0 0; min-height: 19px; }
.guest-plan__tally { margin: 22px 0 0; font-size: 13.5px; color: var(--slate); }
.guest-plan__tally b { color: var(--ink); font-weight: 500; }
/* A column of month blocks, on every width: the preview variant's twelve
   columns are for the plain grid, never for the months. */
.brim-season-mosaic--planning.brim-season-mosaic--months { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.brim-season-mosaic--planning .brim-season-month__label {
  font: 500 13px var(--ui); letter-spacing: 0; text-transform: none; margin-bottom: 8px;
}
.brim-season-mosaic--planning .brim-season-month__grid { display: flex; flex-wrap: wrap; gap: 7px; }
.brim-season-mosaic--planning .brim-season-square {
  width: 38px; height: 38px; border-radius: 10px; border: 0; padding: 0;
  background: var(--ahead); color: var(--slate); cursor: pointer;
  font: inherit; position: relative;
  transition: transform var(--kit-move-deeper) ease, background var(--kit-move-deeper) ease;
}
.brim-season-mosaic--planning .brim-season-square .brim-season-square__day {
  display: grid; font: 500 12px/1 var(--ui); color: var(--slate);
}
.brim-season-mosaic--planning .brim-season-square[data-plan="going"] { background: var(--dusk); }
.brim-season-mosaic--planning .brim-season-square[data-plan="going"] .brim-season-square__day { color: rgba(255, 255, 255, .92); }
.brim-season-mosaic--planning .brim-season-square:disabled { cursor: default; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.brim-season-mosaic--planning .brim-season-square:disabled .brim-season-square__day { color: rgba(105, 113, 127, .45); }
.brim-season-mosaic--planning .brim-season-square:active { transform: scale(.94); }
.brim-season-mosaic--planning .brim-season-square[data-hint="1"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--sodium); }
/* The introduction card under the first month, and the one-line key it
   becomes after the first tap. */
.guest-intro { margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; overflow: hidden; transition: padding var(--kit-move-sheet) ease; }
.guest-intro h3 { font: 800 17px var(--display); letter-spacing: -.015em; margin: 0; }
.guest-intro p { font-size: 13.5px; line-height: 1.45; color: var(--slate); margin: 6px 0 0; }
.guest-intro__demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.guest-intro__demo > span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.guest-intro__sq { width: 30px; height: 30px; border-radius: 8px; background: var(--ahead); color: var(--slate); display: grid; place-items: center; font: 500 11px var(--ui); font-style: normal; }
.guest-intro__sq--go { background: var(--dusk); color: rgba(255, 255, 255, .92); }
.guest-intro__demo > .guest-intro__ok { display: none; font-size: 13px; font-weight: 500; color: var(--ink); margin-left: auto; }
.guest-intro[data-done="1"] { padding: 10px 14px; }
.guest-intro[data-done="1"] h3, .guest-intro[data-done="1"] p { display: none; }
.guest-intro[data-done="1"] .guest-intro__demo { margin-top: 0; }
.guest-intro[data-done="1"] .guest-intro__demo > .guest-intro__ok { display: inline-flex; }
/* The night just tapped, under its month. */
.guest-night { margin-top: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; animation: guest-night-lift var(--kit-move-deeper) ease-out; }
.guest-night b { display: block; font-size: 13.5px; font-weight: 500; }
.guest-night__state { font-weight: 400; color: var(--slate); }
.guest-night small { display: block; font-size: 12.5px; color: var(--slate); margin-top: 2px; }
@keyframes guest-night-lift { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .guest-night { animation: none; } }
@media (min-width: 900px) {
  .brim-season-mosaic--planning.brim-season-mosaic--months { grid-template-columns: minmax(0, 1fr); }
  .brim-season-mosaic--planning .brim-season-square { width: 46px; height: 46px; border-radius: 11px; }
  .brim-season-mosaic--planning .brim-season-square .brim-season-square__day { font-size: 13px; }
}

/* Money and My seats. */
.money-lede { font-size: 16px; color: var(--ink); margin: 6px 0 0; }
.money-lede strong { color: var(--field); }
.tool-row--static { cursor: default; }
.tool-row--static:hover { transform: none; }
.brim-activity--embedded .pagehead { display: none; }
.seats-card .h2 { margin: 2px 0 10px; }
.brim-money-strip strong .micro { font-weight: 500; margin-left: 4px; }

/* The Brim mark as the Home icon keeps its own colours. Dim it when
   inactive; on a Field surface the cap goes Paper, as in the reverse mark. */
.rail nav a:not(.is-active) .brim-mark__cap, .shell-nav__link:not(.is-active) .brim-mark__cap { opacity: .55; }
.on-field .brim-mark__cap, .rail--field .brim-mark__cap { fill: #F5F6F3; }

/* Manage: the verbs. */
.manage-row { align-items: center; }
.manage-row__icon { width: 36px; height: 36px; border-radius: 11px; background: var(--paper); color: var(--field); display: inline-grid; place-items: center; flex: none; margin-right: 12px; }
.manage-row__icon svg { width: 20px; height: 20px; }

/* Manage: the clipboard. */
.manage .pagehead { margin-bottom: 14px; }
.manage-foryou { display: grid; gap: 10px; margin: 0 0 22px; }
.manage-card__title { margin: 0; font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); color: var(--kit-ink); }
.manage-card__body { margin: var(--s1) 0 var(--s3); font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.45 var(--kit-text-small-font); color: var(--kit-muted); max-width: 48ch; }
.manage-card__actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.manage-card__actions form { margin: 0; }
.manage-card__away { margin-left: auto !important; }
.manage-season .section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.manage-grid { padding: 14px; }
.manage-grid .season-edit { margin-top: 12px; }
.manage-grid .season-edit__top { display: none; }
.manage-else { margin-top: 22px; }
/* The tool-row flex rule expects two children; these rows have three (tile,
   text, chevron), so they get their own grid, the same shape as More's. */
.manage-list .manage-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 12px 14px; flex-wrap: nowrap; justify-content: start; }
.manage-list .manage-row > span:nth-child(2) { display: block; text-align: left; }
.manage-list .manage-row > span:nth-child(2) strong { display: block; font-size: 14px; }
.manage-list .manage-row > span:nth-child(2) span { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
.manage-list .manage-row .chev { text-align: center; }
.manage-row__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--field); display: grid; place-items: center; margin: 0; }
.manage-row__icon svg { width: 20px; height: 20px; display: block; }
@media (min-width: 900px) {
  .manage-foryou { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* More, rebuilt: one grid per row, the icon tile centred by construction.
   Settings and Manage's "Everything else" list are built on this too (Sept 2026).
   Any new list of icon rows uses more2; the older more-row / tool-row / manage-row rules are not the pattern. */
.more2 { display: grid; gap: 22px; }
.more2__group h2 { font: 600 12px var(--body); color: var(--slate); margin: 0 0 8px 2px; }
.more2__list { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.more2__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.more2__row:last-child { border-bottom: 0; }
.more2__row:hover { background: var(--paper); }
.more2__tile { width: 44px; height: 44px; border-radius: 13px; background: var(--paper); color: var(--field); display: grid; place-items: center; }
.more2__tile svg { width: 22px; height: 22px; display: block; }
.more2__text strong { display: block; font-size: 14px; }
.more2__text span { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
.more2__links { display: flex; gap: 12px; margin-top: 6px; }
/* More's rows with links of their own: the links sit under the row, lined
   up with its words, inside one bordered item. */
.more2__item { border-bottom: 1px solid var(--line); }
.more2__item:last-child { border-bottom: 0; }
.more2__item > .more2__row { border-bottom: 0; }
.more2__item > .more2__links { margin: -4px 0 0; padding: 0 14px 12px 70px; }
.more2__links a { font-size: 12px; font-weight: 600; color: var(--field); }
.more2__chev { color: var(--slate); font-size: 18px; text-align: center; }

/* Weather on the square: one small mark in the corner, a day or two out.
   Dusk for water, paper for snow, coral for heat, slate for cold and wind.
   Drawn, not emoji, so it prints the same on every phone. */
.brim-season-square__weather { position: absolute; right: 2px; top: 2px; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.brim-season-square__weather[data-weather="rain"] { background: var(--brim-dusk); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.brim-season-square__weather[data-weather="storm"] { background: var(--brim-dusk); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 1.5px var(--brim-sodium); }
.brim-season-square__weather[data-weather="snow"] { background: var(--white); box-shadow: 0 0 0 1.5px var(--slate); }
.brim-season-square__weather[data-weather="cold"] { background: transparent; box-shadow: inset 0 0 0 2px var(--slate); }
.brim-season-square__weather[data-weather="hot"] { background: var(--coral); }
.brim-season-square__weather[data-weather="wind"] { background: transparent; border-top: 2px solid var(--slate); border-bottom: 2px solid var(--slate); border-radius: 0; height: 6px; }
.brim-season-square[data-grid-state="went"] .brim-season-square__weather[data-weather="rain"], .brim-season-square[data-grid-state="sold"] .brim-season-square__weather[data-weather="rain"] { background: var(--paper); }

/* Moments: earned marks first, the ones still out there after, greyed. */
.moments__grid { display: grid; gap: 12px; margin-top: 14px; }
.moments__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.moments__item--big { background: var(--field); border-color: var(--field); color: var(--paper); }
.moments__item--big .moments__line, .moments__item--big .moments__meta { color: var(--on-field-mute); }
.moments__item--big .btn--quiet { color: var(--paper); }
.moments__tile { width: 56px; height: 56px; border-radius: 16px; background: var(--brim-sodium); color: var(--ink); display: grid; place-items: center; }
.moments__tile svg { width: 30px; height: 30px; display: block; }
.moments__tile--out { background: var(--paper); color: var(--slate); }

/* A moment's mark: twenty-five of the season's own squares, lit, ringed or
   resting. Decided, in place of an illustrated badge. A moment
   earned again warms the resting squares one step, up to three. */
.momentmark {
  display: grid; grid-template-columns: repeat(5, 8px); gap: 3px;
  width: max-content; padding: 6px; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
}
.momentmark i { width: 8px; height: 8px; border-radius: 2.5px; background: #D9DDD6; display: block; }
/*
 * Sodium for what happened, an outline for what is next or who else was
 * there, resting squares for the rest of the grid. Sep 21: the lit square
 * was Dusk, which is Goodfolk's accent and has no business on a Brim
 * screen; brim-batch-5.html draws this family in Sodium and Field.
 */
.momentmark i[data-cell="lit"] { background: var(--sodium); }
.momentmark i[data-cell="ring"] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--sodium); }
/* A square this moment will light, once it is reached. */
.momentmark i[data-cell="ghost"] { background: transparent; box-shadow: inset 0 0 0 1.5px #BFC7BD; }
/* A moment that has come round again warms the resting squares toward
   Sodium, one step per repeat, up to three. */
.momentmark[data-warm="1"] i[data-cell="rest"] { background: rgba(240, 180, 41, .16); }
.momentmark[data-warm="2"] i[data-cell="rest"] { background: rgba(240, 180, 41, .30); }
.momentmark[data-warm="3"] i[data-cell="rest"] { background: rgba(240, 180, 41, .44); }
.moments__item--out .momentmark { background: transparent; }
.moments__item--out { border-style: dashed; background: transparent; }
.moments__item--out .moments__name { color: var(--slate); }
.moments__name { margin: 2px 0 4px; font: 700 20px/1.1 var(--display); letter-spacing: -.02em; }
.moments__times { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--paper); color: var(--field); font: 600 12px var(--ui); letter-spacing: 0; vertical-align: middle; }
.moments__item--big .moments__times { background: rgba(245, 246, 243, .16); color: var(--paper); }
.moments__line { margin: 0; font-size: 14px; color: var(--ink); max-width: 48ch; }
.moments__meta { margin: 4px 0 0; font-size: 12px; color: var(--slate); }
.moments__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.moments__past { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--slate); display: flex; gap: 10px; flex-wrap: wrap; }
.moments__past a { color: var(--field); font-weight: 600; }
.moments__empty { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 14px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line); }
.moments__empty p { margin: 0; font-size: 14px; color: var(--slate); }
@media (min-width: 900px) {
  .moments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The year recap: the season's moments, in order. */
.year-moments__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.year-moments__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.year-moments__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brim-sodium); color: var(--ink); display: grid; place-items: center; font-size: 14px; }
.year-moments__list strong { display: block; font-size: 14px; }
.year-moments__list span:not(.year-moments__mark) { display: block; font-size: 13px; color: var(--slate); margin-top: 1px; }
.year-moments__list a, .year-moments__list em { font-size: 12px; font-style: normal; color: var(--field); font-weight: 600; }

/* Night pass: the one screen most guests ever see, so it gets the recap
   picture's care — Field ground, the real lockup — rather than reading as
   a receipt. */
.night-pass { max-width: 480px; margin: 0 auto; padding: 24px 16px 48px; }
.night-pass__card { background: var(--field); color: var(--paper); padding: 28px 24px; border: none; }
.night-pass__eyebrow { color: var(--brim-sodium); letter-spacing: .04em; font-size: 12px; font-weight: 700; margin: 0; }
.night-pass__title { font-family: var(--display); font-size: 32px; margin: 8px 0 0; }
.night-pass__meta { margin: 10px 0 0; opacity: .85; font-size: 14px; }
.night-pass__quantity { margin: 4px 0 0; opacity: .85; font-size: 14px; }
.night-pass__form { margin-top: 16px; }

/* The extras meter's fill, in 5% steps (Phase 0, item 0.3). A per-request
   style="width:N%" is dropped by the content security policy, exactly as
   .season-track solves it above. The exact value stays on data-value for
   anything that reads it. */
.extras-bar i[data-w="0"]   { width: 0%; }
.extras-bar i[data-w="5"]   { width: 5%; }
.extras-bar i[data-w="10"]  { width: 10%; }
.extras-bar i[data-w="15"]  { width: 15%; }
.extras-bar i[data-w="20"]  { width: 20%; }
.extras-bar i[data-w="25"]  { width: 25%; }
.extras-bar i[data-w="30"]  { width: 30%; }
.extras-bar i[data-w="35"]  { width: 35%; }
.extras-bar i[data-w="40"]  { width: 40%; }
.extras-bar i[data-w="45"]  { width: 45%; }
.extras-bar i[data-w="50"]  { width: 50%; }
.extras-bar i[data-w="55"]  { width: 55%; }
.extras-bar i[data-w="60"]  { width: 60%; }
.extras-bar i[data-w="65"]  { width: 65%; }
.extras-bar i[data-w="70"]  { width: 70%; }
.extras-bar i[data-w="75"]  { width: 75%; }
.extras-bar i[data-w="80"]  { width: 80%; }
.extras-bar i[data-w="85"]  { width: 85%; }
.extras-bar i[data-w="90"]  { width: 90%; }
.extras-bar i[data-w="95"]  { width: 95%; }
.extras-bar i[data-w="100"] { width: 100%; }

/* /admin/jobs: every step of the scheduled run, one line each (Phase 0,
   item 0.14). The state is a data attribute rather than a class per state,
   for the same reason the meter above is: the page writes what a thing is
   and the stylesheet decides how it looks, and a style attribute would be
   dropped by the content security policy anyway. */
.jobs-line { display: flex; gap: var(--s3, 12px); align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(23, 53, 44, .10); }
.jobs-line:first-child { border-top: 0; }
.jobs-line__dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: var(--field); }
.jobs-line[data-state="ok"] .jobs-line__dot { background: #2E7D62; }
.jobs-line[data-state="failed"] .jobs-line__dot { background: var(--coral); }
.jobs-line[data-state="stopped"] .jobs-line__dot { background: var(--coral); }
.jobs-line[data-state="running"] .jobs-line__dot { background: var(--sodium); }
.jobs-line[data-state="never"] .jobs-line__dot { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--slate); }
.jobs-line__body { flex: 1 1 auto; min-width: 0; }
.jobs-line__title { font-weight: 600; margin: 0; }
.jobs-line__does { font-size: 13px; line-height: 1.5; margin: 2px 0 0; color: var(--slate); }
.jobs-line__said { font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.jobs-line__error { font-size: 13px; line-height: 1.5; margin: 6px 0 0; color: var(--on-coral-tint, #8D3D31); background: var(--coral-tint, #FBEEEB); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
.jobs-line__when { flex: 0 0 auto; font-size: 13px; color: var(--slate); white-space: nowrap; }

/* Deleting a season: two screens, and a button that has to be held.
   The way out is the loud button on both screens;
   the way on is quiet. Coral appears once, on the fill, and nowhere else. */
.seasondelete .stephead h2 { text-wrap: balance; }
.deletegoes {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px 14px;
}
.deletegoes h3 { font: 500 12px var(--ui); letter-spacing: .04em; color: var(--slate); margin: 0 0 10px; }
.deletegoes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deletegoes li { display: flex; align-items: baseline; gap: 8px; }
.deletegoes li b { font: 800 22px var(--display); letter-spacing: var(--track-tight); min-width: 34px; }
.deletegoes li span { font: 400 14px var(--ui); color: var(--ink); }
.deletegoes__none { font: 400 14px var(--ui); color: var(--slate); margin: 0; }
.deletegoes__hard { font: 500 13px var(--ui); color: var(--on-coral-tint); margin: 14px 0 0; }
.deleteactions { display: grid; gap: 8px; margin-top: 4px; }

/* Delete my account: Brim's pictures 100 and 101, Goodfolk's 25 and 26. What
   goes in slate, what stays in Field, the held button solid once the password
   is in, Dusk Deep on Goodfolk. */
.acctdel { max-width: 560px; }
.acctdel__title { font: 800 30px/1.05 var(--display); letter-spacing: var(--track-tight); margin: 10px 0 0; text-wrap: balance; }
.acctdel__bar { display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--sodium); margin: 10px 0 0; }
.acctdel__sub { font: 400 14px/1.5 var(--ui); color: var(--slate); margin: 8px 0 0; }
.acctdel__label { font: 500 12px var(--ui); letter-spacing: .04em; color: var(--slate); margin: 20px 0 6px; }
.acctdel__card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-md); margin-top: 6px; }
.acctdel__list { list-style: none; margin: 0; padding: 2px 14px; }
.acctdel__list li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font: 400 14px/1.45 var(--ui); color: var(--ink); }
.acctdel__list li:last-child { border-bottom: 0; }
.acctdel__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; margin-top: 6px; background: var(--slate); }
.acctdel__list--stays li::before { background: var(--field); }
.acctdel__list--first li { flex-direction: column; gap: 6px; }
.acctdel__list--first li::before { display: none; }
.acctdel__list--first a { font: 600 13px var(--ui); color: var(--field); text-decoration: none; }
.acctdel--gf .acctdel__list--first a { color: var(--dusk-deep); }
.acctdel__card + .acctdel__hold { margin-top: 16px; }
.acctdel__export { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-top: 12px; }
.acctdel__export span { font: 500 14px/1.4 var(--ui); color: var(--ink); }
.acctdel__export small { display: block; font-weight: 400; font-size: 12.5px; color: var(--slate); }
.acctdel__form { margin-top: 18px; }
.acctdel .holdbtn.acctdel__hold {
  background: var(--field); border: 0; color: var(--paper); margin-top: 6px;
}
.acctdel .holdbtn.acctdel__hold .holdbtn__fill { background: rgba(255, 255, 255, .18); }
.acctdel .holdbtn.acctdel__hold[data-holding="done"] { color: var(--paper); }
.acctdel .holdbtn.acctdel__hold[aria-disabled="true"],
.acctdel .holdbtn.acctdel__hold:disabled { opacity: .4; cursor: default; }
.acctdel--gf .holdbtn.acctdel__hold { background: var(--dusk-deep); }
.acctdel__foot { text-align: center; margin: 24px 0 8px; }
.acctdel__foot a { font: 500 13px var(--ui); color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.acctdel__keep { display: block; text-align: center; font: 600 14px var(--ui); color: var(--ink); margin: 16px 0 0; text-decoration: none; }

/* Leaving Brim (delete-page-redraw.html): signed out, Before you go, and
   the goodbye. One heading, even gaps between blocks, the season's squares
   as a quiet picture of their nights. */
.leave { max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.leave__title { font: 900 28px/1.08 var(--display); letter-spacing: -.3px; color: var(--ink); margin: 6px 0 0; text-wrap: balance; }
.leave__nights { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.leave__sq { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--ahead); }
.leave__sq--went { background: var(--dusk); }
.leave__sq--sold { background: var(--field); }
.leave__sq--gifted { background: var(--dusk-light); }
.leave__line { font: 400 14px/1.5 var(--ui); color: var(--slate); margin: 0; }
.leave__card { background: var(--white); border-radius: 16px; padding: 12px 14px; }
.leave__label { font: 600 14px var(--ui); color: var(--ink); margin: 0 0 6px; }
.leave__label--out { margin: 0; }
.leave__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.leave__list li { display: flex; gap: 9px; font: 400 13px/1.45 var(--ui); color: var(--slate); }
.leave__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; margin-top: 6px; background: var(--field); }
.leave__list--stays li::before { background: var(--dusk-light); }
.leave__go { margin-top: 6px; }
.leave__small { font: 400 12.5px var(--ui); color: var(--slate); text-align: center; margin: -4px 0 0; }
.leave .leave__small a { font-weight: 600; color: var(--ink); text-decoration: none; }
.leave [data-hold-status]:empty { display: none; }
.leave__take { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; padding: 12px 14px; }
.leave__takeicon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #E9EEFB; color: var(--dusk-deep); font-weight: 700; }
.leave__taketext { display: flex; flex-direction: column; min-width: 0; }
.leave__taketext b { font: 600 13.5px var(--ui); color: var(--ink); }
.leave__taketext small { font: 400 12px var(--ui); color: var(--slate); }
.leave__takego { margin-left: auto; font: 600 13.5px var(--ui); color: var(--field); text-decoration: none; white-space: nowrap; }
.leave__stays { color: var(--ink); }
.leave__form { display: grid; gap: 10px; margin-top: 6px; }
.leave .holdbtn.leave__hold { background: var(--field); border: 0; border-radius: 14px; color: var(--paper); padding: 15px 16px; }
.leave .holdbtn.leave__hold .holdbtn__fill { background: rgba(255, 255, 255, .18); }
.leave .holdbtn.leave__hold[data-holding="done"] { color: var(--paper); }
.leave__keep { background: #E7ECE8; border-color: #E7ECE8; color: var(--ink); border-radius: 14px; margin-top: -6px; }
.leave--bye { min-height: calc(100dvh - 180px); }
.leave__bye { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
.leave__bye .leave__nights { width: 220px; margin: 0 auto 10px; }
.leave__nights--fade .leave__sq { animation: leave-fade 2.4s ease-in-out infinite alternate; }
.leave__nights--fade .leave__sq:nth-child(3n) { animation-delay: .4s; }
.leave__nights--fade .leave__sq:nth-child(4n) { animation-delay: .8s; }
@keyframes leave-fade { from { opacity: 1; } to { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .leave__nights--fade .leave__sq { animation: none; } }

.holdbtn {
  position: relative; display: block; width: 100%; overflow: hidden; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--coral); border-radius: var(--r-md);
  padding: 18px 16px; color: var(--on-coral-tint); font: 600 16px var(--ui);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.holdbtn:focus-visible { outline: none; box-shadow: var(--focus); }
.holdbtn__fill {
  position: absolute; inset: 0 auto 0 0; display: block; width: 0;
  background: var(--coral-tint); transition: width .1s linear;
}
.holdbtn__label { position: relative; }
.holdbtn[data-holding="done"] { border-color: var(--coral); color: var(--on-coral-tint); }
.holdbtn__fill[data-held="0"]   { width: 0; }
.holdbtn__fill[data-held="5"]   { width: 5%; }
.holdbtn__fill[data-held="10"]  { width: 10%; }
.holdbtn__fill[data-held="15"]  { width: 15%; }
.holdbtn__fill[data-held="20"]  { width: 20%; }
.holdbtn__fill[data-held="25"]  { width: 25%; }
.holdbtn__fill[data-held="30"]  { width: 30%; }
.holdbtn__fill[data-held="35"]  { width: 35%; }
.holdbtn__fill[data-held="40"]  { width: 40%; }
.holdbtn__fill[data-held="45"]  { width: 45%; }
.holdbtn__fill[data-held="50"]  { width: 50%; }
.holdbtn__fill[data-held="55"]  { width: 55%; }
.holdbtn__fill[data-held="60"]  { width: 60%; }
.holdbtn__fill[data-held="65"]  { width: 65%; }
.holdbtn__fill[data-held="70"]  { width: 70%; }
.holdbtn__fill[data-held="75"]  { width: 75%; }
.holdbtn__fill[data-held="80"]  { width: 80%; }
.holdbtn__fill[data-held="85"]  { width: 85%; }
.holdbtn__fill[data-held="90"]  { width: 90%; }
.holdbtn__fill[data-held="95"]  { width: 95%; }
.holdbtn__fill[data-held="100"] { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .holdbtn__fill { transition: none; }
}

/* The way in, at the foot of each season on My seats: quiet, and well
   away from anything else on the card. */
.seatsdelete { margin: 18px 0 0; }
.seatsdelete a { font: 400 13px var(--ui); color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.seatsdelete a:hover { color: var(--ink); }

/* The Inbox, rebuilt in Phase 3 per docs/mockups/brim-inbox.html: two
   boxes, rows rather than cards, and the answer on the row. */
.inboxtabs { display: flex; gap: 18px; border-bottom: 1.5px solid var(--line); margin: 0 0 6px; }
.inboxtab {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font: 500 14px var(--ui); color: var(--slate); text-decoration: none;
  padding: 10px 2px 12px;
}
.inboxtab:hover { color: var(--ink); }
.inboxtab.is-on { color: var(--ink); }
.inboxtab.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px;
  height: 3px; border-radius: 2px; background: var(--sodium);
}
.inboxtab__n { font: 600 12px var(--ui); color: var(--slate); }
.inboxtab.is-on .inboxtab__n { color: var(--ink); }
.inboxgrp { font: 500 12px var(--ui); letter-spacing: .04em; color: var(--slate); margin: 18px 0 8px; }
.inboxlist { display: grid; gap: 10px; }

.inboxrow {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px;
}
.inboxrow.is-settled { background: transparent; border-color: transparent; padding: 10px 16px; }
.inboxrow__top { display: flex; align-items: flex-start; gap: 12px; }
.inboxrow__mark { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--field-tint); color: var(--field); }
.inboxrow__mark svg { width: 18px; height: 18px; }
.inboxrow.is-settled .inboxrow__mark { background: transparent; color: var(--slate); }
.inboxrow__said { flex: 1 1 auto; display: grid; gap: 2px; min-width: 0; }
.inboxrow__title { font: 600 15px var(--ui); color: var(--ink); text-decoration: none; }
a.inboxrow__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.inboxrow.is-settled .inboxrow__title { font-weight: 500; color: var(--slate); }
.inboxrow__sub { font: 400 13px var(--ui); line-height: 1.5; color: var(--slate); }
.inboxrow__when { flex: 0 0 auto; font: 400 12px var(--ui); color: var(--slate); white-space: nowrap; padding-top: 2px; }

.inboxnights { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0 46px; }
.inboxnights__for { font: 400 12px var(--ui); color: var(--slate); }
.inboxnight {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px var(--ui); border: 1.5px solid var(--line); border-radius: 9px; padding: 4px 8px;
}
.inboxnight::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--dusk); }
.inboxnight--theirs::before { background: var(--sage); }

.inboxacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 46px; }
@media (max-width: 480px) {
  .inboxnights, .inboxacts { margin-left: 0; }
}

/* The trade picker: the season grid is the interface. Phase 3, per
   docs/mockups/brim-trade-desk.html. */
.tradepick__who { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.tradepick__whoone {
  font: 500 13px var(--ui); color: var(--slate); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; background: var(--white);
}
.tradepick__whoone.is-on { color: var(--ink); border-color: var(--field); background: var(--field-tint); }

.tradehero { text-align: center; margin: 4px 0 2px; }
.tradetally { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 0; }
.tradetally b { font: 900 46px var(--display); letter-spacing: var(--track-tight); }
.tradetally b:first-of-type { color: var(--dusk); }
.tradetally b:last-of-type { color: var(--sage); }
.tradetally span { font: 400 15px var(--ui); color: var(--slate); }
.traderead { font: 400 14px var(--ui); color: var(--slate); margin: 6px 0 0; min-height: 21px; }

.tradegrid { display: grid; grid-template-columns: 34px 1fr; gap: 8px 10px; align-items: start; margin: 14px 0 0; }
.tradegrid__mo { font: 500 12px var(--ui); color: var(--slate); margin: 6px 0 0; }
.tradegrid__row { display: flex; flex-wrap: wrap; gap: 6px; }
.tradesq {
  width: 34px; height: 34px; border-radius: 10px; border: 0; cursor: pointer;
  font: 600 13px var(--ui); color: var(--paper); background: var(--sage);
  display: grid; place-items: center; padding: 0;
}
.tradesq--mine { background: var(--dusk); }
.tradesq--theirs { background: var(--sage); }
.tradesq--off { background: var(--ahead); color: var(--slate); cursor: default; }
.tradesq[data-armed] { outline: 2px dashed var(--sodium); outline-offset: 2px; }
.tradesq[data-in] { box-shadow: inset 0 0 0 3px var(--sodium); }
.tradesq:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }

.tradedetail {
  font: 500 13px var(--ui); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 12px 0 0;
}
.tradedetail[data-armed] { border-color: var(--sodium); background: var(--sodium-tint); color: var(--on-sodium); }

.tradekey { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 0; }
.tradekey__one { display: inline-flex; align-items: center; gap: 6px; font: 400 12px var(--ui); color: var(--slate); }
.tradekey__one::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--dusk); }
.tradekey__one--theirs::before { background: var(--sage); }
.tradekey__one--off::before { background: var(--ahead); }

.tradepiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 0; }
.tradepiles__l { font: 500 12px var(--ui); color: var(--slate); margin: 0 0 6px; }
.tradechips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.tradechips__none { font: 400 12px var(--ui); color: var(--slate); opacity: .7; }
.tradechip {
  display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--ui);
  border: 1.5px solid var(--line); border-radius: 9px; padding: 4px 8px; background: var(--white);
}
.tradechip::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--dusk); }
.tradechip--get::before { background: var(--sage); }

/* The trade sheet, on the same picture pipeline as the recap. */
.tradesheet__frame { margin: 4px 0 0; }
.tradesheet__cost { margin: 10px 0 0; font: 400 13px var(--ui); }
.partners-set__trade { margin: 12px 0 0; font: 400 13px var(--ui); }

/* The draft board. Phase 3, per docs/mockups/brim-draft.html. The one
   deliberate break from the rest of the app: a draft is an event, so the
   board is on Field. */
.draftroom { display: grid; gap: 14px; }
.draftboard {
  background: var(--field); color: var(--paper); border-radius: var(--r-xl);
  padding: 18px 16px 20px; display: grid; gap: 14px;
}
.draftboard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.draftboard__round { font: 500 13px var(--ui); color: var(--on-field-mute); }
.draftboard__pause {
  font: 500 13px var(--ui); color: var(--paper); background: transparent;
  border: 1.5px solid rgba(245, 246, 243, .28); border-radius: 10px; padding: 6px 12px; cursor: pointer;
}
.draftboard__pause:hover { border-color: var(--sodium); color: var(--sodium); }
.draftboard__waiting { font: 400 14px var(--ui); color: var(--on-field-mute); margin: 0; }
.draftboard__banner { font: 500 13px var(--ui); color: var(--sodium); margin: 0; }

.draftturn { display: flex; align-items: center; gap: 14px; }
.draftdial { position: relative; width: 72px; height: 72px; flex: 0 0 auto; }
.draftdial svg { width: 72px; height: 72px; transform: rotate(-90deg); }
.draftdial__track { fill: none; stroke: #2A5347; stroke-width: 7; }
.draftdial__ring {
  fill: none; stroke: var(--sodium); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 257.6; transition: stroke-dashoffset .5s linear;
}
.draftdial__t {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 700 17px var(--display); color: var(--paper);
}
.draftturn__said { display: grid; gap: 2px; margin: 0; }
.draftturn__said b { font: 800 19px var(--display); letter-spacing: var(--track-tight); }
.draftturn__said span { font: 400 13px var(--ui); color: var(--on-field-mute); }
.draftturn.kit-card .draftdial__track { stroke: var(--kit-line); }
.draftturn.kit-card .draftdial__t,
.draftturn.kit-card .draftturn__said b { color: var(--kit-ink); }
.draftturn.kit-card .draftturn__said span { color: var(--kit-muted); }

.draftgrid { display: grid; grid-template-columns: 30px 1fr; gap: 8px 10px; align-items: start; }
.draftgrid__mo { font: 500 12px var(--ui); color: var(--on-field-mute); margin: 8px 0 0; }
.draftgrid__row { display: flex; flex-wrap: wrap; gap: 6px; }
.draftsq__form { display: contents; }
.draftsq {
  width: 34px; height: 34px; border-radius: 10px; border: 0; padding: 0;
  display: grid; place-items: center; font: 600 12px var(--ui);
  background: #2A5347; color: var(--on-field-dim);
}
.draftsq--open { background: #2A5347; color: var(--paper); cursor: pointer; }
.draftsq--out { background: rgba(245, 246, 243, .07); color: rgba(245, 246, 243, .3); }
.draftsq--taken { color: var(--field); }
.draftsq[data-draft-slot="0"] { background: var(--dusk); }
.draftsq[data-draft-slot="1"] { background: var(--sage); }
.draftsq[data-draft-slot="2"] { background: var(--sodium); }
.draftsq[data-draft-slot="3"] { background: var(--dusk-light); }
.draftsq[data-armed] { outline: 2px dashed var(--sodium); outline-offset: 2px; }
.draftsq:focus-visible { outline: 2px solid var(--sodium); outline-offset: 2px; }

.draftdetail {
  font: 500 13px var(--ui); color: var(--on-field-mute); margin: 0;
  border-top: 1px solid rgba(245, 246, 243, .12); padding-top: 12px;
}
.draftdetail[data-armed] { color: var(--sodium); }

.draftroster { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.draftrp {
  background: rgba(245, 246, 243, .06); border-radius: var(--r-md); padding: 12px;
  display: grid; gap: 2px; border: 1.5px solid transparent;
}
.draftrp.is-on { border-color: var(--sodium); }
.draftrp b { font: 600 14px var(--ui); display: flex; align-items: center; gap: 8px; }
.draftrp b::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--dusk); }
.draftrp[data-draft-slot="1"] b::before { background: var(--sage); }
.draftrp[data-draft-slot="2"] b::before { background: var(--sodium); }
.draftrp[data-draft-slot="3"] b::before { background: var(--dusk-light); }
.draftrp__n { font: 900 30px var(--display); letter-spacing: var(--track-tight); }
.draftrp__w { font: 400 12px var(--ui); color: var(--on-field-mute); }

.draftfeed { font: 500 14px var(--ui); color: var(--paper); margin: 0; }
.draftnotes { margin: 0; }
.draftpicks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.draftpicks li { display: flex; gap: 8px; font: 400 13px var(--ui); }
.draftpicks li b { font-weight: 600; }
.draftpicks li span { color: var(--slate); }
.draftnotes__list { margin: 10px 0 0; padding-left: 18px; font: 400 13px var(--ui); color: var(--slate); }
.draftnotes__add { display: grid; gap: 8px; margin-top: 12px; }
.draftdial__ring[data-left="0"] { stroke-dashoffset: 257.6; }
.draftdial__ring[data-left="5"] { stroke-dashoffset: 244.7; }
.draftdial__ring[data-left="10"] { stroke-dashoffset: 231.8; }
.draftdial__ring[data-left="15"] { stroke-dashoffset: 219.0; }
.draftdial__ring[data-left="20"] { stroke-dashoffset: 206.1; }
.draftdial__ring[data-left="25"] { stroke-dashoffset: 193.2; }
.draftdial__ring[data-left="30"] { stroke-dashoffset: 180.3; }
.draftdial__ring[data-left="35"] { stroke-dashoffset: 167.4; }
.draftdial__ring[data-left="40"] { stroke-dashoffset: 154.6; }
.draftdial__ring[data-left="45"] { stroke-dashoffset: 141.7; }
.draftdial__ring[data-left="50"] { stroke-dashoffset: 128.8; }
.draftdial__ring[data-left="55"] { stroke-dashoffset: 115.9; }
.draftdial__ring[data-left="60"] { stroke-dashoffset: 103.0; }
.draftdial__ring[data-left="65"] { stroke-dashoffset: 90.2; }
.draftdial__ring[data-left="70"] { stroke-dashoffset: 77.3; }
.draftdial__ring[data-left="75"] { stroke-dashoffset: 64.4; }
.draftdial__ring[data-left="80"] { stroke-dashoffset: 51.5; }
.draftdial__ring[data-left="85"] { stroke-dashoffset: 38.6; }
.draftdial__ring[data-left="90"] { stroke-dashoffset: 25.8; }
.draftdial__ring[data-left="95"] { stroke-dashoffset: 12.9; }
.draftdial__ring[data-left="100"] { stroke-dashoffset: 0.0; }
/* The night pass as an open offer. Phase 3, per brim-night-pass.html: the
   page a stranger opens is the night itself, on Field. */
.npcard {
  background: var(--field); color: var(--paper); border-radius: var(--r-xl);
  padding: 26px 22px; display: grid; gap: 4px; text-align: center;
}
.npcard__from { font: 400 13px var(--ui); color: var(--on-field-mute); margin: 0; }
.npcard__night { font: 900 34px var(--display); letter-spacing: var(--track-display); margin: 6px 0 0; }
.npcard__when { font: 500 15px var(--ui); margin: 6px 0 0; }
.npcard__where, .npcard__seats { font: 400 13px var(--ui); color: var(--on-field-mute); margin: 2px 0 0; }
/* What the night has to say, under the seats: a giveaway is a reason to say yes. */
.npcard__note { font: 500 13px var(--ui); color: var(--sodium); margin: 8px 0 0; }
.npsaid { text-align: center; margin: 18px 0 0; }
.npsaid h2 { font: 800 24px var(--display); letter-spacing: var(--track-tight); margin: 0; }
.npsaid p { font: 400 14px var(--ui); color: var(--slate); margin: 6px 0 0; }
.npask { display: grid; gap: 12px; margin: 18px 0 0; }

.nightpass__link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; }
.nightpass__link span { font: 500 13px var(--ui); word-break: break-all; }
.nightpass__asks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.nightpass__asks li { display: flex; align-items: center; gap: 10px; }
.nightpass__asks li span.grow { display: grid; gap: 2px; }
.nightpass__asks strong { font: 600 14px var(--ui); }
.nightpass__asks li span span { font: 400 12px var(--ui); color: var(--slate); }
.nightpass__picked { font: 600 12px var(--ui); color: var(--field); }
.nightpass__send { margin: 14px 0 0; display: grid; gap: 8px; }
.night-pass__named { margin-top: 16px; }

/* The night that is out there, on the Give it away screen.

   A new square state: open and dashed in Dusk while it is still going, and
   the existing gifted fill once somebody has it, because a night given away
   is a night gifted and Brim already has a colour for that. The dashed
   outline is the mockup's, and it reads as "not settled yet" next to the
   solid squares on the same screen. */
.square--giving {
  background: transparent;
  border: 2px dashed var(--dusk);
}
.give-square {
  display: flex; align-items: center; gap: var(--s3);
  margin-top: var(--s2);
}
.give-square .square { width: 28px; flex: 0 0 28px; }
.give-square strong { display: block; font-size: 13px; }

/* ---------------------------------------------------------------------------
   Where do you sit? A season saved without seats, asked for them once.
   The identity card is the season page's own; only the form is new here.
   --------------------------------------------------------------------------- */
.seats-card { max-width: none; margin: 0; }
/* The Season page keeps its column to 630px; this screen is that column
   asked a question, so it keeps to the same width on a wide screen. */
[data-seats-later] { max-width: 630px; }
.seatsform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seatcount { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.seatcount__tile { position: relative; display: block; cursor: pointer; }
.seatcount__tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seatcount__tile span {
  display: grid; gap: 2px; justify-items: center; text-align: center;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 6px 10px;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.seatcount__tile b { font: 800 22px/1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.seatcount__tile small { font: 400 11px var(--ui); color: var(--slate); }
.seatcount__tile input:checked + span { border-color: var(--field); background: var(--field-tint); }
.seatcount__tile input:focus-visible + span { outline: 2px solid var(--field); outline-offset: 2px; }
.seats-wait { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.seats-wait__night {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px 8px 8px;
}
.seats-wait__night .square { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 4px; }
.seats-wait__night b { font: 700 13px var(--ui); color: var(--ink); }
.seats-wait__night small { font: 400 12px var(--ui); color: var(--slate); }

/* ---------------------------------------------------------------------------
   Last call: the night, its clock, three doors.
   The doors take the row shape of More's list; each one is a screen Brim
   already has, so nothing here asks a question of its own.
   --------------------------------------------------------------------------- */
.lastcall { max-width: 630px; }
.lastcall .card--pad { display: flex; gap: 14px; align-items: center; }
.doors { display: grid; gap: 8px; margin-top: 8px; }
.door {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px;
  color: var(--ink); text-decoration: none;
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.door:hover, .door:focus-visible { border-color: var(--field); }
.door:active { transform: scale(.99); }
.door__mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--field-tint); color: var(--field);
}
.door__mark svg { width: 20px; height: 20px; }
.door--anyone .door__mark { background: var(--field); color: var(--paper); }
.door__words strong { display: block; font-size: 15px; }
.door__words span { display: block; font-size: 12.5px; color: var(--slate); margin-top: 2px; line-height: 1.4; }
.door__chev { font-size: 22px; color: var(--slate); line-height: 1; }
.lastcall__night { text-decoration: none; color: inherit; }
.lastcall__night .opponent { flex: 1 1 auto; min-width: 0; }

/* Someone you know: the night pass, in Give it away's shape. */
.nightpass-screen { max-width: 630px; }
/* Give it away draws its night as the other two doors do. */
.give-screen { max-width: 630px; }
.give-screen__night { display: flex; gap: 14px; align-items: center; }
.nightpass-screen__night { display: flex; gap: 14px; align-items: center; }
.nightpass-screen__named summary { cursor: pointer; font-size: 13px; }
.nightpass__picked { font-size: 12px; font-weight: 700; color: var(--field); }

/* Game day, on Home. docs/mockups/brim-game-day.html,
   second pass, approved. src/views/home/game-day.php. The hero is the Home
   lead card with the seats big enough to read at the gate and one button to
   the tickets; everything under it is small. */
.gd { display: grid; gap: 14px; }
.gd-hero { min-height: 0; padding-bottom: 18px; }
.gd-hero .home-lead__top { position: relative; z-index: 1; }
.gd-hero h2 { margin-top: 40px; }
.gd-hero__seats { position: relative; z-index: 1; margin: 14px 0 0; font: 500 17px/1.3 var(--ui); color: var(--paper); letter-spacing: -.01em; }
.gd-hero .brim-accent { position: relative; left: auto; bottom: auto; margin: 14px 0 0; }
.gd-tickets { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 0; padding: 13px 16px; border-radius: 14px; background: var(--paper); color: var(--field); text-decoration: none; }
.gd-tickets strong { font: 500 15px var(--ui); }
.gd-tickets span { font: 500 12px var(--ui); color: var(--slate); display: flex; align-items: center; gap: 6px; }
.gd-tickets--said { background: rgba(245, 246, 243, .12); color: var(--paper); }
.gd-tickets--said span { color: var(--paper); opacity: .75; }
.gd-leave { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.gd-leave__time { flex: 0 0 auto; }
.gd-leave__time small { display: block; font: 500 12px var(--ui); color: var(--slate); }
.gd-leave__time b { display: block; margin-top: 3px; font: 700 30px/1 var(--display); letter-spacing: -.04em; color: var(--field); }
.gd-leave__words { font-size: 13px; line-height: 1.45; color: var(--ink); }
.gd-leave__words a { color: var(--field); font-weight: 600; }
.gd-ask { padding: 16px 18px; }
.gd-ask p { margin: 0 0 10px; font: 600 15px var(--ui); color: var(--ink); }
.gd-ask small { display: block; margin-top: 10px; font-size: 12px; color: var(--slate); }
.gd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-chip { min-width: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: 600 13px var(--ui); color: var(--field); text-align: center; cursor: pointer; }
label.gd-chip { position: relative; padding: 0; border: 0; background: none; }
label.gd-chip input { position: absolute; opacity: 0; pointer-events: none; }
label.gd-chip span { display: block; min-width: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
label.gd-chip input:checked + span { background: var(--field); border-color: var(--field); color: var(--paper); }
label.gd-chip input:focus-visible + span, button.gd-chip:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; }
.gd-list { padding: 4px 0; }
.gd-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.gd-line:last-child { border-bottom: 0; }
.gd-line i { flex: 0 0 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--field); }
.gd-line i.gd-dusk { background: var(--brim-dusk); }
.gd-line i.gd-sodium { background: var(--brim-sodium); }
.gd-line b { font-weight: 600; }
.gd-line a, .gd-link { color: var(--field); font-weight: 600; white-space: nowrap; }
/* A tap target of 44px without the gap it would leave in a line of text. */
.gd-link { min-height: 0; margin: -10px 0; padding: 10px 0; border: 0; background: none; font: inherit; font-weight: 600; text-align: left; white-space: normal; cursor: pointer; }
.gd-want { display: block; margin: 4px 0 0; font-size: 13px; color: var(--slate); }
.gd-venue { display: grid; gap: 8px; padding: 2px 4px; }
.gd-venue div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.gd-venue span { color: var(--slate); font-weight: 500; }
.gd-cant { display: block; width: 100%; padding: 2px 4px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--slate); text-align: left; text-decoration: none; cursor: pointer; }
.gd-cant b { color: var(--field); font-weight: 600; }
.gd-rest { margin-top: 26px; }
.gd-score { position: relative; z-index: 1; margin: 34px 0 8px; }
.gd-score p { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font: 700 34px/1.12 var(--display); letter-spacing: -.04em; }
.gd-score span { opacity: .55; font-weight: 600; }
.gd-sheet-dim { position: fixed; inset: 0; z-index: 1000; background: rgba(21, 24, 28, .45); }
.gd-sheet { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1001; max-width: 560px; margin: 0 auto; padding: 22px 20px 30px; border-radius: 22px 22px 0 0; background: var(--paper); box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
.gd-sheet h3 { margin: 0 0 4px; font: 700 22px/1.1 var(--display); letter-spacing: -.03em; color: var(--field); }
.gd-sheet small { display: block; font-size: 12px; color: var(--slate); }
.gd-sheet p { margin: 16px 0 8px; font: 600 14px var(--ui); color: var(--ink); }
.gd-sheet .btn { width: 100%; margin-top: 22px; }
.reminder-where { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; }

/* /admin/venues. */
.venue-card__lines { display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; margin: 0; font-size: 13px; line-height: 1.45; }
.venue-card__lines dt { color: var(--slate); font-weight: 500; }
.venue-card__lines dd { margin: 0; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------------
   Home's season as a window. One season card: the numbers, the track, the line of the whole
   season, three months a row each, the key, and the two links. On a phone the
   season and the pulse come before Latest; on a wide screen Latest sits under
   the first column, beside them. */
.home-grid > .home-latest { min-width: 0; }
@media (min-width: 900px) {
  .home-grid { grid-template-rows: auto 1fr; }
  .home-grid > .home-main, .home-grid > .home-latest { max-width: 520px; }
  .home-grid > .home-main { grid-column: 1; grid-row: 1; }
  .home-grid > .home-side { grid-column: 2; grid-row: 1 / span 2; }
  .home-grid > .home-latest { grid-column: 1; grid-row: 2; align-self: start; }
}

.brim-money-strip--inset { border: 0; background: none; box-shadow: none; margin: -6px -6px 6px; }
.brim-money-strip--inset > div { padding: 6px 10px; }
.season-progress--window .season-track { margin: 4px 0 12px; }
.progress-link--split { justify-content: space-between; align-items: center; gap: var(--s3); }
.progress-link--split .home-focus { display: flex; align-items: center; margin: 0; text-align: left; }
.progress-link--split > a { display: inline-flex; align-items: center; }
.progress-link--split .home-focus__swap { padding-left: 0; }

.season-line { position: relative; margin: 0 0 10px; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.season-line:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--field); border-radius: 6px; }
/* The line is thin to look at and a finger's height to touch. */
/* The touch area reaches up, never down over the labels and Back to today. */
.season-line__ticks { position: relative; display: flex; gap: 2px; align-items: flex-end; height: 20px; padding: 14px 0 2px; margin: -14px 0 0; cursor: pointer; box-sizing: content-box; }
.season-line__tick { flex: 1 1 0; min-width: 0; min-height: 0; padding: 0; height: 12px; border-radius: 2px; background: var(--brim-ahead); box-shadow: inset 0 0 0 1px #D5D9D3; }
.season-line__tick.is-window { height: 16px; }
.season-line__tick[data-grid-state="went"] { background: var(--brim-dusk); box-shadow: none; }
.season-line__tick[data-grid-state="sold"] { background: var(--brim-field); box-shadow: none; }
.season-line__tick[data-grid-state="gifted"] { background: var(--brim-dusk-light); box-shadow: none; }
.season-line__tick[data-grid-state="swapped"] { background: var(--brim-sage); box-shadow: none; }
.season-line__tick[data-grid-state="empty"] { background: var(--brim-paper); box-shadow: inset 0 0 0 1.5px var(--brim-coral); }
.season-line__tick[data-grid-state="unresolved"] { background: var(--brim-paper); box-shadow: inset 0 0 0 1px #A7ADA7; }
.season-line__tick.is-touched { height: 20px; background: var(--brim-field); box-shadow: none; }
.season-line__tick { position: relative; }
.season-line__readout {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 2;
  white-space: nowrap; pointer-events: none;
  background: var(--field); color: var(--paper); font: 500 11px var(--ui);
  padding: 6px 9px; border-radius: 8px; box-shadow: 0 4px 12px rgba(21, 24, 28, .18);
}
.season-line__readout[data-edge="start"] { left: 0; transform: none; }
.season-line__readout[data-edge="end"] { left: auto; right: 0; transform: none; }
.season-line__labels { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; min-height: 24px; margin: 2px 0 0; font-size: 10.5px; color: var(--slate); }
.season-line__today { background: none; border: 0; padding: 4px 6px; min-height: 0; min-width: 0; font: 600 10.5px var(--ui); color: var(--field); cursor: pointer; }
.brim-season-square.is-touched { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--field); }

/* The window's months, a row each, the short name at the left. */
.brim-season-mosaic--window.brim-season-mosaic--months { gap: 6px; }
.brim-season-mosaic--window .brim-season-month { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; }
.brim-season-mosaic--window .brim-season-month[hidden] { display: none; }
.brim-season-mosaic--window .brim-season-month__label { margin: 0; padding-top: 7px; font-size: 10.5px; }
@media (prefers-reduced-motion: reduce) {
  .season-line__tick { transition: none; }
}
/* Home's window shows each night's day, as the approved picture draws it; the
   grid is small enough now to read them. */
.brim-season-mosaic--window .brim-season-square__day { display: grid; font-size: 10.5px; }

/* ------------------------------------------------------------------
   Every state is a fill; an outline only ever means the night you just
   touched. A night that went empty is
   struck through, For sale is outlined until it sells, and coral means
   only Needs attention. These come last so they win over the older rules
   above, which drew Went empty as a coral outline and For sale as grey.
   ------------------------------------------------------------------ */
:root {
  --brim-struck: linear-gradient(to top right, transparent calc(50% - .8px), #9AA0A6 calc(50% - .8px), #9AA0A6 calc(50% + .8px), transparent calc(50% + .8px));
}
.square--empty,
.mosaic--compact .square--empty,
.mosaic--preview .square--empty,
.brim-season-square[data-grid-state="empty"],
.year-square[data-grid-state="empty"] {
  background: var(--brim-struck), #F5F6F3;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.brim-season-square[data-grid-state="empty"] .brim-season-square__day { color: rgba(105, 113, 127, .8); }
.legend-swatch--empty,
.seat-history__grid i[data-state="empty"],
.season-line__tick[data-grid-state="empty"],
.export-thumb__grid i[data-grid-state="empty"] {
  background: var(--brim-struck), #F5F6F3;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.home-lead__state[data-grid-state="empty"] .home-lead__dot { background: var(--brim-struck), var(--brim-paper); box-shadow: inset 0 0 0 1px var(--line); }
[data-tip][data-grid-state="empty"]::after { border-left-color: #9AA0A6; }
[data-season-grid].is-editing .brim-season-square[data-plan="empty"]::before { background: var(--brim-struck), var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

.square--listed,
.brim-season-square[data-grid-state="listed"],
.year-square[data-grid-state="listed"] {
  background: var(--kit-card);
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--field);
  color: var(--field);
}
.brim-season-square[data-grid-state="listed"] .brim-season-square__day { color: var(--field); }
.legend-swatch--listed,
.seat-history__grid i[data-state="listed"],
.season-line__tick[data-grid-state="listed"],
.export-thumb__grid i[data-grid-state="listed"] {
  background: var(--kit-card);
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--field);
}
.home-lead__state[data-grid-state="listed"] .home-lead__dot { background: var(--kit-card); box-shadow: inset 0 0 0 1.5px var(--field); }
[data-tip][data-grid-state="listed"]::after { border-left-color: var(--field); }
[data-season-grid].is-editing .brim-season-square[data-plan="sell"]::before { background: var(--kit-card); box-shadow: inset 0 0 0 1.5px var(--field); }

/* Needs attention is a coral dot, on Home as on Season. */
.attention-icon,
.row .attention-icon {
  display: block;
  margin-top: 0;
  align-self: center;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--coral);
  color: transparent;
  font-size: 0;
  box-shadow: none;
}

/* The line, twice as tall, with the played part underlined in dark green ;
   the separate progress bar on Home goes. A named night's label is two lines,
   with Open, and a tap on it opens the night, so it takes taps. */
.season-line__ticks { height: 34px; padding: 14px 0 8px; }
.season-line__tick { height: 22px; }
.season-line__tick.is-window { height: 28px; }
.season-line__tick.is-touched { height: 32px; }
.season-line__tick::after { content: ""; position: absolute; left: 0; right: -2px; bottom: -6px; height: 3px; background: var(--brim-ahead); pointer-events: none; }
.season-line__tick:last-of-type::after { right: 0; }
.season-line__tick.is-played::after { background: var(--brim-field); }
.season-line__readout { pointer-events: auto; cursor: pointer; bottom: calc(100% + 10px); padding: 7px 10px; line-height: 1.35; text-align: left; }
.season-line__readout b { display: block; font: 600 11.5px var(--ui); }
.season-line__readout em { font-style: normal; opacity: .82; }
.season-line__readout strong { font-weight: 600; margin-left: 6px; }
/* Next season, a note at the bottom of Home. */
.next-season .eyebrow { margin: 0; font-size: 11px; color: var(--slate); }
.next-season__title { margin: 3px 0 3px; font: 700 15px var(--display); color: var(--ink); }
.next-season__line { margin: 0; font-size: 12.5px; color: var(--slate); line-height: 1.45; }
.next-season__link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 12.5px; color: var(--field); }
/* Every square shows its day now: the Dates toggle is gone. */
.brim-season-mosaic--dates .brim-season-square__day { display: grid; }
/* A half on sale, in a split square: Field, lightly (a gradient can't
   carry an outline). */
[data-split-a="listed"]{--brim-split-a:#D5DEDA}
[data-split-b="listed"]{--brim-split-b:#D5DEDA}
/* Inside Home's season card the three numbers share the width evenly and
   never push the card wider than a phone. */
.brim-money-strip--inset { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brim-money-strip--inset > div { min-width: 0; }
.brim-money-strip--inset small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Home's columns may shrink to the screen: the lead card's name is one line
   with an ellipsis, but as a grid item its full width still set the column,
   so a long opponent ("vs. Colorado Avalanche") pushed Home to 425px on a
   390px phone. */
.home-main, .home-side, .home-latest { min-width: 0; }
.home-lead { min-width: 0; max-width: 100%; }

/* The moment you can see: the picture beside the card, See it, All moments
   and Hide; one line with Undo after Hide; a row on Moments opens the moment. */
.moment-card--seen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.moment-card--seen .moment-card__body { margin-bottom: 0; }
.moment-card--seen .moment-card__actions { grid-column: 1 / -1; flex-wrap: nowrap; gap: 4px; }
.moment-card--seen .moment-card__actions .btn--quiet { padding-left: 12px; padding-right: 12px; }
.moment-card__text { min-width: 0; }
.moment-card__picture-link { display: block; width: 62px; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 16px rgba(23, 53, 44, .18); }
.moment-card__picture { display: block; width: 62px; height: 110px; object-fit: cover; background: var(--field); }
.moment-card__actions .moment-card__hide { margin-left: auto; }
.moment-card__hide .btn { color: var(--slate); }
.moment-card--big .moment-card__hide .btn { color: var(--on-field-mute); }
.moment-hidden { position: fixed; left: 50%; bottom: 84px; z-index: 900; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; width: min(360px, calc(100% - 32px)); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 500 13px var(--ui); box-shadow: 0 12px 30px rgba(21, 24, 28, .25); }
.moment-hidden form { margin: 0 0 0 auto; }
.moment-hidden button { padding: 4px 2px; border: 0; background: none; color: var(--paper); font: 600 13px var(--ui); cursor: pointer; }
.moment-share__all { margin: 14px 0 0; }
.moments__item { position: relative; }
/* Above the row's whole-card link, so Show on Home is its own tap. */
.moments__back { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font: 500 12.5px var(--ui); color: var(--slate); }
.moments__back .link { padding: 4px 0; border: 0; background: none; font: 600 12.5px var(--ui); color: var(--field); cursor: pointer; }
.moments__open { color: inherit; text-decoration: none; }
.moments__open::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.moments__open:focus-visible { outline: none; }
.moments__open:focus-visible::after { outline: 2px solid var(--dusk); outline-offset: 2px; }
.moments__past { position: relative; z-index: 1; }

/* Game day, walked through: the coral line under the ticket card, rows for
   Can't go tonight? and Who else was there?, the seats on the sheet, and Undo
   on Last call. */
.gd-attention { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.gd-attention strong { flex: 1; min-width: 0; font: 600 14px var(--ui); }
.gd-attention .chev { color: var(--slate); }
.gd-cant.gd-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); }
.gd-row > span:first-child { flex: 1; min-width: 0; }
.gd-row strong { display: block; font: 600 14px var(--ui); color: var(--ink); }
.gd-row small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--slate); }
.gd-row .chev { color: var(--slate); }
.gd-early { margin-top: 8px; }
.gd-seats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.gd-seat { position: relative; display: block; }
.gd-seat input { position: absolute; opacity: 0; pointer-events: none; }
.gd-seat > span { display: block; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: center; cursor: pointer; }
.gd-seat strong { display: block; font: 600 14px var(--ui); color: var(--ink); }
.gd-sheet .gd-seat small { margin-top: 2px; }
.gd-seat input:checked + span { background: var(--field); border-color: var(--field); }
.gd-seat input:checked + span strong, .gd-sheet .gd-seat input:checked + span small { color: var(--paper); }
.gd-seat input:focus-visible + span { outline: 2px solid var(--dusk); outline-offset: 2px; }
.gd-sheet__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.gd-sheet .gd-sheet__buttons .btn { margin-top: 0; }
.gd-sheet p.micro { margin: 12px 0 0; font: 400 12px/1.4 var(--ui); color: var(--slate); }
.gd-off { display: flex; align-items: center; gap: 12px; }
.gd-off form { margin: 0 0 0 auto; }

/* A night, as pictures 71 and 72 draw it: the state and
   seats in one line, the four choices as fills that say what they do, the
   offer after Gift, and the sale line. The hero no longer sets the page's
   width on a 320px phone. */
.nstate { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; font: 600 14px/1.35 var(--ui); color: var(--ink); }
.nstate .legend-swatch { flex: 0 0 13px; }
.planrow__btn { align-content: start; padding: 11px 5px 10px; }
.planrow__btn span { font: 600 13px var(--ui); }
.planrow__btn small { font: 400 10.5px/1.25 var(--ui); color: var(--slate); }
.planrow__btn[data-plan-key="sale"] i { background: var(--kit-card); box-shadow: inset 0 0 0 1.5px var(--field); }
.planrow__btn[aria-pressed="true"] { border-color: var(--field); background: var(--field); color: var(--paper); }
.planrow__btn[aria-pressed="true"] small { color: rgba(245, 246, 243, .72); }
/* A reminder's choice, ready and not pressed yet: the Sodium ring of something not landed. */
.planrow__btn.is-ready { box-shadow: 0 0 0 2px var(--sodium); }
.planrow__ready { margin: 6px 0 6px; }
/* The night page asks one thing, in blocks two by two drawn as the kit's choice blocks. */
.planrow__ask { margin: var(--s6) 0 var(--s3); color: var(--kit-ink); }
.planrow.planrow--ask { grid-template-columns: 1fr 1fr; gap: var(--s3); margin: 0 0 var(--s1); }
.planrow--ask .planrow__btn {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: var(--s2); row-gap: 2px;
  min-height: 56px; padding: var(--s3); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-block); background: var(--kit-card);
}
.planrow--ask .planrow__btn span:not(.kit-square) { font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); }
.planrow--ask .planrow__btn small { flex-basis: 100%; text-align: center; font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.3 var(--kit-text-small-font); }
.planrow--ask .planrow__btn[aria-pressed="true"] { background: var(--kit-field); border-color: var(--kit-field); color: var(--kit-card); }
.planrow--ask .planrow__btn[aria-pressed="true"] .kit-square { outline: 1.5px solid var(--kit-card); outline-offset: 1px; }
/* The rows under it: a card each, words on the left, the way in on the right. */
.night-row { display: flex; align-items: center; gap: var(--s3); }
.kit-card.night-row, .kit-card.night-open { margin-top: var(--s3); }
.night-row__words { flex: 1; min-width: 0; display: grid; gap: 2px; }
.night-row__line { color: var(--kit-muted); }
.night-cost__seats { flex: none; text-align: right; }
.night-open > summary { list-style: none; cursor: pointer; }
.night-open > summary::-webkit-details-marker { display: none; }
.night-open[open] > summary .kit-row__chevron { transform: rotate(90deg); }
.night-open > form, .night-open > .nightpeople, .night-open > .micro { margin-top: var(--s3); }
.gift-follow { margin: 10px 0 0; padding: 14px 16px; border-left: 4px solid var(--dusk-light); }
.gift-follow strong { display: block; font: 600 14px var(--ui); color: var(--ink); }
.gift-follow p { margin: 3px 0 10px; font-size: 13px; line-height: 1.4; color: var(--slate); }
.gift-follow__doors { display: flex; flex-wrap: wrap; gap: 8px; }
.night-record-sale { margin: 10px 0 0; }
.night-change-sale { margin: 0; }
.nighthero__top > div { min-width: 0; }
.nighthero h1 { overflow-wrap: anywhere; }

/* Record a sale says what the amount is, and the night says it was
   recorded. The hint follows How many with no script. */
.sale-hint { margin: 6px 0 0; }
.sale-hint__line { display: none; }
.sale-hint__line:first-child { display: inline; }
form:has(input[name="quantity"][value="1"]:checked) .sale-hint__line { display: none; }
form:has(input[name="quantity"][value="1"]:checked) .sale-hint__line[data-quantity="1"] { display: inline; }
.sale-undo { margin: 8px 0 0; }
.night-done { display: flex; align-items: center; gap: 12px; }
.night-done form { margin: 0 0 0 auto; }

/* Last call: no door drawn as already picked. Its doors are words alone,
   under the question, and going after all is one quiet button. */
.door--anyone .door__mark { background: var(--field-tint); color: var(--field); }
.lastcall__ask { margin: 22px 0 0; color: var(--kit-ink); }
.lastcall__doors .door { grid-template-columns: minmax(0, 1fr) auto; }
.lastcall-going { margin: 14px 0 0; }
.link-button { padding: 0; border: 0; background: none; font: 600 13px var(--ui); color: var(--field); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; }

/* Giving away: outlined light Dusk while a Brim link is out for a night
   nobody decided; it fills in solid once someone has the seats. */
.square--giving,
.brim-season-square[data-grid-state="giving"],
.year-square[data-grid-state="giving"] {
  background: var(--kit-card);
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--dusk-light);
  color: var(--dusk-deep, #5367D2);
}
.brim-season-square[data-grid-state="giving"] .brim-season-square__day { color: var(--dusk-deep, #5367D2); }
.legend-swatch--giving,
.seat-history__grid i[data-state="giving"],
.season-line__tick[data-grid-state="giving"],
.export-thumb__grid i[data-grid-state="giving"] {
  background: var(--kit-card);
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--dusk-light);
}
.home-lead__state[data-grid-state="giving"] .home-lead__dot { background: var(--kit-card); box-shadow: inset 0 0 0 1.5px var(--dusk-light); }
[data-tip][data-grid-state="giving"]::after { border-left-color: var(--dusk); }

/* Someone you know's three steps, and Give it away's two tiles. */
.npsteps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.npsteps li { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: center; }
.npsteps__n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--field-tint); color: var(--field); font: 600 11px var(--ui); }
.npsteps strong { font: 600 13px var(--ui); color: var(--ink); }
.npsteps small { font: 400 11px/1.35 var(--ui); color: var(--slate); }
.nightpass-screen__named summary { list-style: none; cursor: pointer; font: 600 13px var(--ui); color: var(--field); }
.nightpass-screen__named summary::-webkit-details-marker { display: none; }
.nightpass-screen__lead { color: var(--ink); font-weight: 600; }
.nightpass-screen__named input[type="text"] { width: 100%; }
.givetiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 6px 0 0; }
.givetile { display: grid; justify-items: center; gap: 3px; padding: 14px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-align: center; text-decoration: none; }
.givetile strong { font: 600 14px var(--ui); }
.givetile small { font: 400 11.5px var(--ui); color: var(--slate); }
.givetile.is-on { background: var(--field); border-color: var(--field); color: var(--paper); }
.givetile.is-on small { color: rgba(245, 246, 243, .72); }
.givetile:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; }
.givemodes { padding: 4px 14px; }
.givemodes .choice { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 12px 0; }
.givemodes .choice:last-child { border-bottom: 0; }
/* The way's name in ink over its slate line; `.choice span`
   greyed the whole label. */
.givemodes .choice strong { color: var(--ink); font-size: 14px; }
/* The steps read top down, whatever their length. */
.npsteps li { align-content: start; }
/* Nights like this one: the fill, the night, its date. */
.likethis { padding: 0 16px; }
.likethis__row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; color: var(--ink); text-decoration: none; }
.likethis__row + .likethis__row { border-top: 1px solid var(--line); }
.likethis__row .legend-swatch { margin-top: 3px; }
.likethis__text strong { display: block; font: 600 14px var(--ui); }
.likethis__text span { display: block; font: 400 12.5px var(--ui); color: var(--slate); margin-top: 2px; }
.likethis__date { font: 400 12px var(--ui); color: var(--slate); white-space: nowrap; }
.likethis__row:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; }
@media (max-width: 360px) {
  .npsteps { grid-template-columns: 1fr; }
}

/* A season before seats: one card over the grid saying what's left, edged in
   the going colour its picked nights wear. */
.seats-first { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--dusk); border-radius: 16px; padding: 16px 18px; margin: 0 0 18px; }
.seats-first__title { margin: 0; font: 700 18px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.seats-first__line { margin: 4px 0 12px; font-size: 14px; color: var(--slate); max-width: 44ch; }

/* A solid button means ready: while a form needs something, ready-buttons.js
   marks its buttons aria-disabled and they're drawn dimmed, and do nothing
   until it's there. */
button[aria-disabled="true"],
input[type="submit"][aria-disabled="true"],
.btn[aria-disabled="true"],
.gf-btn[aria-disabled="true"] {
  opacity: .4;
  cursor: default;
}

/* Tap-to-define stays off what you tap. Chrome looks up a word tapped in
   plain text; squares, the key, the tab bar and buttons are controls. Added
   to the home screen, Brim is an app, so none of its words are looked up;
   fields still select and type. */
.brim-season-mosaic, .brim-season-square, .brim-season-month__label, .legend, .bottom-nav, .rail, .navbtn, button, .btn {
  -webkit-user-select: none;
  user-select: none;
}
@media (display-mode: standalone) {
  body { -webkit-user-select: none; user-select: none; }
  input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
}

/* ---------------------------------------------------------------------------
   Change your seats. How many, where
   they are, and From today or The whole season, each choice with its line.
   --------------------------------------------------------------------------- */
.seatschange { max-width: 630px; }
.seatschange__sub { color: var(--slate); margin: 4px 0 0; }
.seatschange__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.seatschange__lbl { font: 600 14px var(--ui); color: var(--ink); padding: 0; margin: 0 2px 8px; }
.seatschange__count { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.seatschange__n { position: relative; display: block; cursor: pointer; }
.seatschange__n input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seatschange__n span { display: grid; place-items: center; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: 600 16px var(--ui); color: var(--ink); }
.seatschange__n input:checked + span { background: var(--field); border-color: var(--field); color: var(--paper); }
.seatschange__n input:focus-visible + span, .seatschange__scope input:focus-visible + span { outline: 2px solid var(--field); outline-offset: 2px; }
.seatschange__more { margin: 8px 2px 0; }
.seatschange__more summary { cursor: pointer; font-weight: 500; color: var(--field); list-style: none; }
.seatschange__more summary::-webkit-details-marker { display: none; }
.seatschange__morefield { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.seatschange__morefield input[type="number"] { width: 7em; min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.seatschange__where { display: flex; justify-content: space-between; font: 600 14px var(--ui); color: var(--ink); margin: 0 2px 8px; }
.seatschange__where small { font-weight: 400; color: var(--slate); }
.seatschange__fields { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; }
.seatschange__fields label { display: block; min-width: 0; }
.seatschange__fields span { display: block; font-size: .78rem; color: var(--slate); margin: 0 2px 3px; }
.seatschange__fields input { width: 100%; min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font: inherit; }
.seatschange__scopes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seatschange__scope { position: relative; display: grid; gap: 4px; cursor: pointer; }
.seatschange__scope input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seatschange__scope span { display: grid; place-items: center; min-height: 42px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: 600 14px var(--ui); color: var(--ink); }
.seatschange__scope input:checked + span { background: var(--field); border-color: var(--field); color: var(--paper); }
.seatschange__scope small { color: var(--slate); font-size: 12.5px; line-height: 1.4; margin: 0 2px; }
.seatschange__partners { color: var(--slate); margin: 0 2px; }
.seatschange__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 380px) { .seatschange__count { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tool-row__btns { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

/* Home asks how many seats, for a season saved before Brim asked. One tap
   answers it. */
.askcard { display: block; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sodium); border-radius: 14px; padding: 14px 14px 12px; margin: 0 0 16px; }
.askcard__title { display: block; font: 700 16px var(--display); color: var(--ink); margin-bottom: 2px; }
.askcard__line { font-size: 12.5px; color: var(--slate); margin: 0 0 10px; line-height: 1.45; }
.askcard__count { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; }
.askcard__count button { min-width: 0; min-height: 0; padding: 0; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font: 600 13px var(--ui); color: var(--ink); cursor: pointer; }
.askcard__count button:hover { border-color: var(--field); }
.askcard__count button:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }
.askcard__more { display: inline-flex; align-items: center; min-height: 32px; margin: 4px 0 -6px; font: 500 12.5px var(--ui); color: var(--field); }

/* ---------------------------------------------------------------------------
   Your seats and A season.
   --------------------------------------------------------------------------- */
.yourseats, .aseason { max-width: 630px; }
.yourseats .pagehead p:not(.eyebrow) { color: var(--slate); }
.yourseats__now { position: relative; padding: 16px; margin: 0 0 8px; }
.yourseats__open { display: grid; gap: 2px; color: inherit; text-decoration: none; padding-right: 18px; }
.yourseats__eyebrow { font: 400 13px var(--ui); color: var(--slate); }
.yourseats__team { font: 700 19px var(--display); color: var(--ink); }
.yourseats__line { font: 400 13px var(--ui); color: var(--slate); }
.yourseats__chev { position: absolute; right: 16px; top: 18px; color: var(--slate); font-style: normal; }
.yourseats__grid { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; margin: 14px 0 10px; }
.yourseats__grid .square { width: auto; height: auto; aspect-ratio: 1; border-radius: 4px; }
.yourseats__counts { font: 500 13.5px var(--ui); color: var(--ink); margin: 0 0 12px; }
.yourseats__money { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 12px; }
.yourseats__money > div { display: grid; gap: 4px; padding: 0 10px; border-left: 1px solid var(--line); }
.yourseats__money > div:first-child { border-left: 0; padding-left: 0; }
.yourseats__money span { font: 400 12px var(--ui); color: var(--slate); }
.yourseats__money strong { font: 700 17px var(--ui); color: var(--ink); }
.yourseats__rows { border-top: 1px solid var(--line); margin-top: 12px; }
.yourseats__rows a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); text-decoration: none; font: 400 14px var(--ui); }
.yourseats__rows small { color: var(--slate); font-size: 12px; }
.yourseats__rows i, .aseason__row i { font-style: normal; color: var(--slate); }
.yourseats__h2, .aseason__h2 { font: 700 17px var(--display); color: var(--ink); margin: 22px 2px 8px; }
.yourseats__earlier { padding: 0; }
.yourseats__past { position: relative; display: grid; gap: 4px; padding: 14px 34px 14px 16px; color: inherit; text-decoration: none; border-top: 1px solid var(--line); }
.yourseats__past:first-child { border-top: 0; }
.yourseats__past strong { font: 700 15px var(--display); color: var(--ink); }
.yourseats__past .yourseats__chev { top: 50%; transform: translateY(-50%); }
.yourseats__strip { display: flex; gap: 2px; margin: 4px 0 2px; flex-wrap: wrap; }
.yourseats__strip .square { width: 8px; height: 12px; border-radius: 2px; }
.yourseats__foot { margin: 14px 2px 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.yourseats__foot a { font: 600 14px var(--ui); color: var(--field); }
.yourseats__foot small { color: var(--slate); font-size: 12.5px; }
.aseason__picture { background: var(--field); color: var(--paper); border-radius: 18px; padding: 18px 18px 16px; margin: 0 0 10px; }
.aseason__top { display: flex; justify-content: space-between; font: 600 12px var(--ui); opacity: .62; }
.aseason__headline { display: grid; margin: 12px 0 8px; font: 900 22px/1.15 var(--display); letter-spacing: -.01em; }
.aseason__bar { display: block; width: 52px; height: 4px; border-radius: 2px; background: var(--sodium); margin: 0 0 14px; }
.aseason__grid { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.aseason__grid .square { width: auto; height: auto; aspect-ratio: 1; border-radius: 4px; }
.aseason__grid .square--ahead { background: rgba(245, 246, 243, .14); }
.aseason__picture figcaption { font: 400 12.5px var(--ui); opacity: .7; margin-top: 12px; }
.aseason__share { display: flex; gap: 8px; margin: 0 0 6px; }
.aseason__card { padding: 4px 16px; }
.aseason__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.aseason__row:first-child { border-top: 0; }
.aseason__row > span { display: grid; gap: 2px; }
.aseason__row strong { font: 600 14.5px var(--ui); color: var(--ink); }
.aseason__row small { font: 400 12.5px var(--ui); color: var(--slate); }
.aseason__row > a { font: 600 14px var(--ui); color: var(--field); }
.aseason__row--key > span { display: flex; align-items: center; gap: 10px; font: 400 14px var(--ui); }
.aseason__row--key .square { width: 14px; height: 14px; border-radius: 3px; flex: 0 0 14px; }
.aseason__row--key b { font: 600 14px var(--ui); }
.aseason__head { display: flex; justify-content: space-between; align-items: baseline; }
.aseason__head a { font: 600 13.5px var(--ui); color: var(--field); }
.aseason__money { padding: 12px 16px; }
.aseason__money { border-top: 1px solid var(--line); }
.aseason__add { display: block; padding: 12px 0; border-top: 1px solid var(--line); font: 600 13.5px var(--ui); color: var(--field); }
.aseason__card > .aseason__add:first-child { border-top: 0; }
.aseason__row--partner > span { display: flex; align-items: center; gap: 12px; }
.aseason__row--partner > span > span { display: grid; gap: 2px; }
.aseason__initials { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--field-tint); font: 700 12.5px var(--ui); color: var(--field); }
.aseason__row--partner em { font: 400 13.5px var(--ui); font-style: normal; color: var(--slate); }
.aseason__row--partner em.is-owed { font-weight: 600; color: var(--ink); }
.aseason__delete { text-align: center; margin-top: 22px; }
/* On the dark picture, sold is Paper, as the recap draws it (its own mapping). */
.aseason__grid .square--sold { background: var(--paper); }
/* Went empty is struck through here too: a light stroke on a faint fill, the
   dark card's own --brim-struck. It drew an outline, and an outline only ever
   marks the night you just touched. */
.aseason__grid .square--empty { background: linear-gradient(to top right, transparent calc(50% - .8px), rgba(245, 246, 243, .55) calc(50% - .8px), rgba(245, 246, 243, .55) calc(50% + .8px), transparent calc(50% + .8px)), rgba(245, 246, 243, .06); border: 0; box-shadow: none; }

/* Manage's bar: above the tabs the whole time you edit, so Done is always in
   view, naming the night just tapped. The nav is a side rail from 900px,
   where it sits at the foot. */
.season-edit__dock {
  position: fixed;
  left: 12px; right: 12px;
  /* The tab bar is 68px plus the safe area (product-shell.css's
     --shell-nav-height isn't loaded on these pages). */
  bottom: calc(var(--shell-nav-height, 68px) + env(safe-area-inset-bottom, 0px) + 10px);
  z-index: 95;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 16px; border-radius: 16px;
  background: var(--field); color: var(--paper);
  box-shadow: 0 12px 32px rgba(21, 24, 28, .22);
}
.season-edit__dock[hidden] { display: none !important; }
.season-edit__said { display: grid; gap: 2px; min-width: 0; flex: 1; }
.season-edit__said strong { font: 700 15px var(--ui); }
.season-edit__said small { font: 400 12.5px var(--ui); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.season-edit__undo { background: none; border: 0; color: var(--paper); font: 600 14px var(--ui); padding: 10px 8px; cursor: pointer; }
.season-edit__undo:disabled { opacity: .45; cursor: default; }
.season-edit__done { background: var(--sodium); color: var(--ink); border: 0; border-radius: 10px; font: 700 14px var(--ui); padding: 11px 18px; cursor: pointer; }
.season-edit__done:disabled { opacity: .5; cursor: default; }
.season-edit__undo:focus-visible, .season-edit__done:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
body.has-edit-dock .screen-inner { padding-bottom: 96px; }
@media (min-width: 900px) {
  .season-edit__dock { left: auto; right: 24px; bottom: 24px; width: min(520px, calc(100vw - 340px)); }
}

/* Settings: your Brim address. */
.addrset { padding: 14px 16px; margin: 0 0 14px; }
.addrset__title { font: 600 13px var(--ui); color: var(--slate); margin: 0 0 6px; }
.addrset__value { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.addrset__value code { font: 600 14px var(--ui); color: var(--ink); word-break: break-all; background: none; padding: 0; }
.addrset__line { font: 400 13px var(--ui); color: var(--slate); margin: 8px 0 0; }
.addrset__more { display: inline-flex; align-items: center; min-height: 32px; margin: 6px 0 -6px; font: 600 13.5px var(--ui); color: var(--field); }

/* Season, played and ahead. Played nights keep their fills, quieter, and come
   back to full under a pointer so the note on them reads. A Today line runs
   where today falls; the month it cuts is two blocks, the second with no
   name, so the words on the right keep to the right. PRE sits under the day
   of a preseason night, on every grid, and the key's PRE says what it means. */
.brim-season-mosaic--today .brim-season-square[data-played] { opacity: .55; }
.brim-season-mosaic--today .brim-season-square[data-played]:hover,
.brim-season-mosaic--today .brim-season-square[data-played]:focus-visible { opacity: 1; }
.brim-season-month__label span { margin-left: auto; }
.brim-season-month[data-month-half="ahead"] .brim-season-month__label { min-height: 1em; }
.brim-season-today {
  display: flex; align-items: center; gap: 8px;
  margin: 2px 0; font: 600 12px/1.2 var(--ui); color: var(--field);
}
.brim-season-today::before,
.brim-season-today::after { content: ""; flex: 1; height: 1.5px; background: var(--field); border-radius: 1px; }
.brim-season-today::before { flex: 0 0 10px; }
.brim-season-square__day--kind { align-content: center; gap: 2px; }
.brim-season-square__day--kind > span { line-height: 1; }
.brim-season-square__kind { display: block; font: 700 6.5px/1 var(--ui); letter-spacing: .08em; opacity: .85; }
.brim-season-mosaic--full .brim-season-square__kind,
.brim-season-mosaic--planning .brim-season-square__kind { font-size: 7px; }
.state-counts li b.state-counts__pre, .state-counts__pre { font: 700 7.5px/1 var(--ui); letter-spacing: .08em; color: var(--slate); background: var(--brim-ahead, #E9EBE6); border-radius: 4px; padding: 3px 4px; align-self: center; }

/* ------------------------------------------------------------------
   Home, the morning after the season's last home game. A Field card with the season's
   nights, the grid on Field (Sold is Paper there, Went empty struck in
   Paper), the key, the last night and two buttons; four tiles; the
   moments row; next season. The thin Sodium bar is the screen's one.
   The first time, the grid fills in night by night, about a second, and
   settles with the last night ringed (`season-end--fill`); never under
   reduced motion. Squares are visible by default: the fill only adds.
   ------------------------------------------------------------------ */
.season-end { display: grid; gap: 10px; margin: 0 0 var(--s4, 16px); }
.season-end__card { background: var(--field); color: var(--paper); border-radius: 20px; padding: 16px 16px 14px; min-width: 0; }
.season-end__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12.5px var(--ui); color: rgba(245, 246, 243, .72); }
.season-end__top form { margin: 0; }
.season-end__hide { border: 0; cursor: pointer; font: 600 12.5px var(--ui); color: var(--paper); background: rgba(245, 246, 243, .12); border-radius: 9px; padding: 6px 11px; min-height: 30px; }
.season-end__hide:hover { background: rgba(245, 246, 243, .2); }
.season-end__head { font: 900 31px/1.04 var(--display); letter-spacing: -.02em; margin: 12px 0 0; color: var(--paper); }
.season-end__bar { display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--sodium); margin: 12px 0 14px; }
.season-end__grid .brim-season-mosaic { max-width: none; gap: 4px; }
.season-end__grid .brim-season-mosaic--window .brim-season-month { grid-template-columns: 30px minmax(0, 1fr); align-items: center; }
.season-end__grid .brim-season-month__label { padding: 0; margin: 0; font: 500 10.5px var(--ui); color: rgba(245, 246, 243, .55); }
.season-end__grid .brim-season-month__grid { display: flex; flex-wrap: wrap; gap: 4px; }
.season-end__grid .brim-season-square { width: 22px; height: 22px; aspect-ratio: auto; border-radius: 5px; border: 0; background: rgba(245, 246, 243, .16); }
.season-end__grid .brim-season-square[data-grid-state="went"] { background: var(--dusk); }
.season-end__grid .brim-season-square[data-grid-state="gifted"] { background: var(--dusk-light); }
.season-end__grid .brim-season-square[data-grid-state="sold"] { background: var(--paper); }
.season-end__grid .brim-season-square[data-grid-state="swapped"] { background: var(--brim-sage, #9DB8A6); }
.season-end__grid .brim-season-square[data-grid-state="empty"],
.season-end__sw[data-grid-state="empty"] {
  background: linear-gradient(to top right, transparent calc(50% - .8px), rgba(245, 246, 243, .7) calc(50% - .8px), rgba(245, 246, 243, .7) calc(50% + .8px), transparent calc(50% + .8px)), rgba(245, 246, 243, .08);
  box-shadow: none; border: 0;
}
.season-end__grid .brim-season-month:last-child .brim-season-square:last-child { box-shadow: 0 0 0 2px var(--field), 0 0 0 3.5px var(--paper); }
.season-end__key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0 0; font: 500 11.5px var(--ui); color: rgba(245, 246, 243, .72); }
.season-end__key span { display: inline-flex; align-items: center; gap: 5px; }
.season-end__sw { display: inline-block; width: 9px; height: 9px; border-radius: 2.5px; background: rgba(245, 246, 243, .16); }
.season-end__sw[data-grid-state="went"] { background: var(--dusk); }
.season-end__sw[data-grid-state="gifted"] { background: var(--dusk-light); }
.season-end__sw[data-grid-state="sold"] { background: var(--paper); }
.season-end__last { font: 400 13px/1.4 var(--ui); color: rgba(245, 246, 243, .82); margin: 12px 0 14px; }
.season-end__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.season-end__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 11px; font: 600 13.5px var(--ui); white-space: nowrap; text-decoration: none; flex: 1 1 auto; }
.season-end__btn svg { width: 16px; height: 16px; }
.season-end__btn--paper { background: var(--paper); color: var(--field); }
.season-end__btn--line { border: 1.5px solid rgba(245, 246, 243, .45); color: var(--paper); }
.season-end__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.season-end__tile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; min-width: 0; }
.season-end__tile b { display: block; font: 800 22px/1.15 var(--display); color: var(--field); letter-spacing: -.01em; }
.season-end__tile small { display: block; font: 400 12px/1.35 var(--ui); color: var(--slate); margin-top: 2px; }
.season-end__moments { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.season-end__mhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -12px 0 0; }
/* All moments keeps its 44px target; it reaches into the card's padding. */
.season-end__mhead a { display: inline-flex; align-items: center; }
.season-end__mhead strong { font: 600 13.5px var(--ui); color: var(--ink); }
.season-end__mhead a { font: 600 12px var(--ui); color: var(--field); white-space: nowrap; }
.season-end__marks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 4px; }
.season-end__m { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; text-decoration: none; min-width: 0; }
.season-end__m small { display: block; max-width: 100%; font: 500 10px/1.25 var(--ui); color: var(--slate); overflow-wrap: normal; overflow: visible; }
/* A season label keeps its hyphen on one line: "2099-00", never "2099- / 00". */
.season-end__season { white-space: nowrap; }
.season-end__m .momentmark { grid-template-columns: repeat(5, 5px); gap: 2px; padding: 5px; border-radius: 9px; border: 0; background: var(--field-tint); }
.season-end__m .momentmark i { width: 5px; height: 5px; border-radius: 1px; background: rgba(23, 53, 44, .12); }
.season-end__m .momentmark i[data-cell="lit"] { background: var(--field); }
.season-end__m .momentmark i[data-cell="ring"] { background: var(--dusk); box-shadow: none; }
.season-end__next { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; }
.season-end__nexticon { width: 36px; height: 36px; border-radius: 9px; background: var(--field-tint); color: var(--field); display: grid; place-items: center; flex: none; }
.season-end__nexticon svg { width: 18px; height: 18px; }
.season-end__nexttext { flex: 1; min-width: 0; }
.season-end__nexttext strong { display: block; font: 600 13.5px var(--ui); color: var(--ink); }
.season-end__nexttext small { display: block; font: 400 12px/1.35 var(--ui); color: var(--slate); }
.season-end__next .btn { flex: none; }
/* The fill: each month a beat after the one before, each night a beat
   after its neighbour, about a second in all. */
@keyframes season-end-night { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes season-end-ring { from { box-shadow: 0 0 0 2px var(--field), 0 0 0 2px var(--paper); } to { box-shadow: 0 0 0 2px var(--field), 0 0 0 3.5px var(--paper); } }
.season-end--fill .brim-season-square { animation: season-end-night var(--kit-move-deeper) var(--ease, ease-out) both; animation-delay: calc(var(--se-row, 0) * 110ms + var(--se-col, 0) * 18ms); }
.season-end--fill .brim-season-month:last-child .brim-season-square:last-child { animation: season-end-night var(--kit-move-deeper) var(--ease, ease-out) both, season-end-ring var(--kit-move-sheet) ease-out both; animation-delay: calc(var(--se-row, 0) * 110ms + var(--se-col, 0) * 18ms), 1050ms; }
.season-end__grid .brim-season-month:nth-child(2) { --se-row: 1; } .season-end__grid .brim-season-month:nth-child(3) { --se-row: 2; }
.season-end__grid .brim-season-month:nth-child(4) { --se-row: 3; } .season-end__grid .brim-season-month:nth-child(5) { --se-row: 4; }
.season-end__grid .brim-season-month:nth-child(6) { --se-row: 5; } .season-end__grid .brim-season-month:nth-child(7) { --se-row: 6; }
.season-end__grid .brim-season-month:nth-child(8) { --se-row: 7; } .season-end__grid .brim-season-month:nth-child(n+9) { --se-row: 8; }
.season-end__grid .brim-season-square:nth-child(2) { --se-col: 1; } .season-end__grid .brim-season-square:nth-child(3) { --se-col: 2; }
.season-end__grid .brim-season-square:nth-child(4) { --se-col: 3; } .season-end__grid .brim-season-square:nth-child(5) { --se-col: 4; }
.season-end__grid .brim-season-square:nth-child(6) { --se-col: 5; } .season-end__grid .brim-season-square:nth-child(7) { --se-col: 6; }
.season-end__grid .brim-season-square:nth-child(8) { --se-col: 7; } .season-end__grid .brim-season-square:nth-child(n+9) { --se-col: 8; }
@media (prefers-reduced-motion: reduce) {
  .season-end--fill .brim-season-square,
  .season-end--fill .brim-season-month:last-child .brim-season-square:last-child { animation: none; }
}
@media (min-width: 900px) {
  .season-end__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* A tap on Manage: one tap opens the night in a sheet docked to the foot of
   the screen, over the tabs; Plan nights (107) on the season's heading paints
   many at once. */
.manage-season__head .btn { font: 600 14px var(--ui); padding: 9px 16px; }
.manage-season__head .btn--primary { color: var(--white); }
.manage-grid .state-counts { margin: 0 0 14px; }
.sheet-backdrop--dock { padding: 0; align-items: flex-end; }
.sheet-backdrop--dock[hidden] { display: none; }
.sheet--dock {
  width: min(100%, 560px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 26px 26px 0 0;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
}
.tapsheet__handle { display: block; border: 0; padding: 0; cursor: pointer; }
body.has-manage-sheet { overflow: hidden; }
.tapsheet__night { font: 400 14px var(--ui); color: var(--slate); margin: 0 0 6px; }
.tapsheet__state { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.tapsheet__state .legend-swatch { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 5px; }
.tapsheet__word { font: 800 25px/1.15 var(--display); letter-spacing: -.02em; color: var(--field); }
.tapsheet__line { font: 400 14.5px/1.45 var(--ui); color: var(--slate); margin: 0 0 16px; }
.tapsheet__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.tapsheet__choice {
  display: flex; align-items: flex-start; gap: 12px; min-width: 0;
  text-align: left; color: var(--ink); cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 15px 14px; min-height: 76px;
}
.tapsheet__choice .legend-swatch { margin-top: 3px; width: 15px; height: 15px; flex-basis: 15px; }
.tapsheet__choice strong { display: block; font: 700 15.5px var(--ui); color: var(--field); }
.tapsheet__choice small { display: block; font: 400 13px/1.35 var(--ui); color: var(--slate); margin-top: 2px; }
.tapsheet__choice[aria-pressed="true"] { border-color: var(--field); background: var(--field-tint); }
.tapsheet__choice:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }
.tapsheet__actions { display: grid; gap: 10px; }
.tapsheet__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.tapsheet__pair .btn { min-height: 46px; font-size: 14.5px; }
.tapsheet__big { min-height: 52px; font-size: 16px; }
.tapsheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.tapsheet__open { font: 700 15px var(--ui); color: var(--field); }
.tapsheet__many { font: 500 15px var(--ui); color: var(--slate); }
.tapsheet__ask { font: 800 24px/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); margin: 2px 0 14px; }
.tapsheet__sale { margin: 0; }
.tapsheet__sale .saletiles { margin-bottom: 10px; }
.tapsheet__sale .saleamount input { font-size: 40px; }
/* The amount's focus is its underline turning Field, as on Record a sale. */
.saleamount input:focus-visible { box-shadow: none; }
.tapsheet__where { font: 400 14px var(--ui); color: var(--slate); margin: 14px 0 8px; }
.tapsheet__after { font: 400 13.5px/1.4 var(--ui); color: var(--slate); margin: 12px 0 14px; }
.tapsheet__after b { color: var(--ink); font-weight: 700; }

/* Where it sold: the person's own names, dashed, with Edit and a × each
   ; Somewhere else opens a line to name it. */
.salechip-wrap { position: relative; display: inline-flex; }
.salechip--saved span { border-style: dashed; }
.salechip__remove {
  position: absolute; top: -7px; right: -7px;
  width: 22px; height: 22px; border-radius: 50%; padding: 0; border: 0;
  background: var(--ink); color: var(--paper); font: 600 13px/22px var(--ui); cursor: pointer;
}
.salechip__remove[hidden] { display: none; }
.salewhere__edit { background: none; border: 0; padding: 8px 4px; font: 600 13px var(--ui); color: var(--slate); text-decoration: underline; cursor: pointer; }
.salewhere-other { display: none; margin-top: 10px; background: var(--white); border: 1.5px solid var(--field); border-radius: 14px; padding: 12px 14px; }
form:has([data-chip="somewhere_else"] input:checked) .salewhere-other { display: block; }
.salewhere-other input { display: block; width: 100%; border: 0; padding: 0; background: transparent; font: 500 17px var(--ui); color: var(--ink); }
.salewhere-other input:focus { outline: none; }
.salewhere-other small { display: block; font: 400 12.5px var(--ui); color: var(--slate); margin-top: 4px; }

/* What the tap just did, with Undo: above the tabs a while. */
.manage-done {
  position: fixed; left: 12px; right: 12px; z-index: 95;
  bottom: calc(var(--shell-nav-height, 68px) + env(safe-area-inset-bottom, 0px) + 10px);
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 18px; border-radius: 14px;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 12px 32px rgba(21, 24, 28, .22);
}
.manage-done__said { flex: 1; min-width: 0; margin: 0; font: 400 14.5px var(--ui); }
.manage-done__said strong { font-weight: 700; }
.manage-done form { margin: 0; }
.manage-done__undo { background: none; border: 0; color: var(--paper); font: 700 15px var(--ui); padding: 8px 6px; cursor: pointer; }
.manage-done__undo:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.manage-done.is-leaving { opacity: 0; visibility: hidden; transition: opacity var(--kit-move-sheet) ease, visibility 0s linear var(--kit-move-sheet); }
.manage--done { padding-bottom: 96px; }
@media (min-width: 900px) {
  .manage-done { left: auto; right: 24px; bottom: 24px; width: min(520px, calc(100vw - 340px)); }
  .sheet--dock { border-radius: 26px; margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .manage-done.is-leaving { transition: none; }
}

/* ---------------------------------------------------------------------------
   Brim Plus, shown gently:
   the glimpse on a night, the renewal briefing peek on Money, the free
   month's end on Home and the Plus page. One Sodium mark on the page: the
   "Most people" tag.
   --------------------------------------------------------------------------- */
.plus-chip { display: inline-block; font: 700 11px/1.4 var(--ui); color: var(--field); background: var(--field-tint); border-radius: 6px; padding: 2px 6px; margin-right: 6px; vertical-align: 1px; }
.plus-card { display: block; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 0 12px; }
.plus-card.kit-card { border: 0; }
.plus-card__k { font: 600 12px/1.4 var(--ui); color: var(--slate); margin: 0 0 4px; }
.plus-card__h { display: block; font: 800 17px/1.25 var(--display); color: var(--field); margin: 6px 0 4px; }
.plus-card__p { font: 400 12.5px/1.45 var(--ui); color: var(--slate); margin: 0 0 12px; }
.plus-card__btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.plus-card__btns form { margin: 0; }
.plus-card__go { display: inline-flex; align-items: center; min-height: 40px; background: var(--field); color: var(--paper); font: 600 13px/1 var(--ui); border-radius: 11px; padding: 0 14px; text-decoration: none; }
.plus-card__quiet { background: none; border: 0; padding: 10px 2px; font: 600 13px/1 var(--ui); color: var(--slate); cursor: pointer; }
.plus-glimpse__ex { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font: 500 11.5px/1.3 var(--ui); }
.plus-glimpse__from { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; color: var(--slate); }
.plus-glimpse__arrow { color: var(--slate); }
.plus-glimpse__to { background: var(--field); color: var(--paper); border-radius: 9px; padding: 7px 9px; }
.plus-brief__h { font: 800 19px/1.2 var(--display); color: var(--field); margin: 0 0 10px; }
.plus-brief__rows { margin: 0 0 10px; }
.plus-brief__row { display: flex; justify-content: space-between; gap: 12px; font: 400 13px/1.4 var(--ui); color: var(--ink); border-bottom: 1px solid #EEF0EC; padding: 7px 0; margin: 0; }
.plus-brief__row b { font-weight: 600; }
/* Placeholders under a blur: nothing real is in the page to read. */
.plus-brief__row--blur { filter: blur(2.2px); opacity: .75; user-select: none; }
.plus-ending { border-left: 4px solid var(--field); border-radius: 14px; }
.plus-ending__h { font: 800 18px/1.25 var(--display); color: var(--field); margin: 0 0 4px; }
.plus-page { max-width: 560px; margin: 0 auto; }
.plus-page .back { display: inline-block; margin: 0 0 10px; color: var(--slate); font: 500 14px/1.4 var(--ui); text-decoration: none; }
.plus-page__eyebrow { font: 500 13px/1.4 var(--ui); color: var(--slate); margin: 0 0 2px; }
.plus-page h1 { font: 800 clamp(30px, 8vw, 40px)/1.05 var(--display); color: var(--field); margin: 0 0 16px; }
.plus-did { background: var(--field); border-radius: 16px; padding: 14px; margin: 4px 0 18px; }
/* Sentence case: the house style has no all-caps labels (HouseStyleTest). */
.plus-did__k { font: 600 12px/1.4 var(--ui); color: rgba(245, 246, 243, .7); margin: 0 0 8px; }
.plus-did__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plus-did__row span { font: 400 11.5px/1.3 var(--ui); color: rgba(245, 246, 243, .8); }
.plus-did__row b { display: block; font: 800 24px/1.2 var(--display); color: var(--paper); }
.plus-plans__h { font: 600 13px/1.4 var(--ui); color: var(--ink); margin: 0 2px 8px; }
.plus-plans { display: grid; gap: 10px; }
.plus-plan-form { margin: 0; }
.plus-plan { position: relative; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; margin: 0; color: var(--ink); font: inherit; cursor: pointer; }
div.plus-plan { cursor: default; }
.plus-plan--on { border: 2px solid var(--field); padding: 12px 13px; }
.plus-plan__name { min-width: 0; }
.plus-plan__name b { display: block; font: 600 14.5px/1.3 var(--ui); color: var(--ink); }
.plus-plan__name small { display: block; font: 400 11.5px/1.35 var(--ui); color: var(--slate); }
.plus-plan__price { font: 800 20px/1.1 var(--display); color: var(--field); white-space: nowrap; text-align: right; flex: none; }
.plus-plan__price small { display: inline; font: 500 11px/1 var(--ui); }
.plus-plan__price--yours { font: 600 12.5px/1.2 var(--ui); }
.plus-plan__tag { position: absolute; top: -9px; left: 12px; font: 700 10px/1.4 var(--ui); font-style: normal; background: var(--sodium); color: var(--ink); border-radius: 6px; padding: 2px 7px; }
.plus-plans__p { font: 400 12px/1.5 var(--ui); color: var(--slate); margin: 10px 2px 0; }

/* Season notes on the partner sign-up: opt-in, unticked. */
.optin { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 2px 0 14px; font-size: 13px; line-height: 1.5; color: var(--slate); cursor: pointer; }
.optin input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--field); }

/* ---------------------------------------------------------------------------
   Whose seats, at a glance. One season at a time with a tab for each; someone else's night
   pale, no outline, their initials in the square; the night sheet says whose
   first. Outlines still mean only the night you just touched.
   --------------------------------------------------------------------------- */
.season-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0 0 14px; max-width: 630px; }
.season-tab {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 9px 10px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.season-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.season-tab:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }
.season-tab__mark {
  position: relative; flex: 0 0 32px; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--field); color: var(--paper); font: 700 14px var(--ui);
}
.season-tab.is-active .season-tab__mark { background: var(--paper); color: var(--ink); }
.season-tab__title { font: 700 14px var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.whose-face {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font: 700 11px var(--ui); letter-spacing: .04em;
}
.whose-face--tiny { position: absolute; right: -7px; bottom: -7px; width: 19px; height: 19px; font-size: 7px; box-shadow: 0 0 0 2px var(--white); }
.season-tab.is-active .whose-face--tiny { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.whose-face--big { width: 52px; height: 52px; font-size: 16px; }
.whose-face--hero { display: grid; width: 76px; height: 76px; margin: 4px auto 14px; font-size: 24px; }
.whose-face--ring { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

.whose-head { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; max-width: 630px; min-width: 0; }
.whose-head > div { min-width: 0; }
.whose-head__eyebrow { margin: 0; font: 500 13px var(--ui); color: var(--slate); }
.whose-head__title { margin: 0; font: 800 26px/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); }
.whose-head__line { margin: 2px 0 0; font: 400 13px var(--ui); color: var(--slate); }

.whose-money { flex: 1 0 100%; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font: 400 13px/1.6 var(--ui); color: var(--slate); }
.whose-money b { color: var(--ink); font-weight: 700; }
.whose-money__cell { white-space: nowrap; }
.whose-note, .whose-add { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font: 400 13px/1.5 var(--ui); color: var(--slate); max-width: 630px; }
.whose-add .link { font-weight: 700; color: var(--field); }

/* Someone else's night takes their face colour, whatever its state: what
   happened to a night shows only on your own. The key's row for each person
   is the same colour. */
.brim-season-square[data-whose][data-person],
.season-line__tick[data-whose][data-person],
.legend-swatch--person { border: 0; box-shadow: none; background: var(--kit-person-1); }
.brim-season-square[data-whose][data-person="2"], .season-line__tick[data-whose][data-person="2"], .legend-swatch--person[data-person="2"] { background: var(--kit-person-2); }
.brim-season-square[data-whose][data-person="3"], .season-line__tick[data-whose][data-person="3"], .legend-swatch--person[data-person="3"] { background: var(--kit-person-3); }
.brim-season-square[data-whose][data-person="4"], .season-line__tick[data-whose][data-person="4"], .legend-swatch--person[data-person="4"] { background: var(--kit-person-4); }
.brim-season-square[data-whose][data-person="5"], .season-line__tick[data-whose][data-person="5"], .legend-swatch--person[data-person="5"] { background: var(--kit-person-5); }
.brim-season-square[data-whose][data-person] .brim-season-square__day { color: var(--kit-card); }
.person-face { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; color: #FFFFFF; font: 700 9px/1 var(--ui); letter-spacing: .02em; background: var(--person-1); }
.person-face[data-person="2"] { background: var(--person-2); }
.person-face[data-person="3"] { background: var(--person-3); }
.person-face[data-person="4"] { background: var(--person-4); }
.person-face[data-person="5"] { background: var(--person-5); }
.person-face--you { background: var(--ink); }
.brim-season-square__whose {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px;
  pointer-events: none; color: rgba(105, 113, 127, .75); font: 500 10px/1 var(--ui);
}
.brim-season-square__whose small { font: 700 8px/1 var(--ui); letter-spacing: .08em; color: rgba(21, 24, 28, .62); }
.state-counts li b.state-counts__whose, .state-counts__whose {
  display: inline-grid; place-items: center; min-width: 22px; padding: 3px 4px; border-radius: 4px;
  background: #FBFBF9; box-shadow: inset 0 0 0 1px var(--line);
  font: 700 8px/1 var(--ui); letter-spacing: .08em; color: rgba(21, 24, 28, .62); align-self: center;
}
.game-row[data-whose] { opacity: .8; }
.game-row[data-whose] .state-counts__whose { margin-right: 6px; }
/* Home's season line draws someone else's night as pale as its square. */
/* Option C: a tick keeps its state's colour on a shared season too. */

/* The night sheet, whose first. */
.tapsheet__whose { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.tapsheet__whose-heading { margin: 0; font: 800 21px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.tapsheet__whose-line { margin: 1px 0 0; font: 400 13.5px var(--ui); color: var(--slate); }
.tapsheet__check { margin-left: auto; font: 700 16px var(--ui); color: var(--field); }
.tapsheet__theirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.tapsheet__theirs form { margin: 0; }
.tapsheet__theirs .btn { min-height: 48px; }
.tapsheet__why { margin: 8px 2px 0; font: 400 12.5px/1.4 var(--ui); color: var(--slate); }

/* The moment someone shares, once. */
.whose-moment { z-index: 220; }
.whose-moment__sheet { text-align: center; }
.whose-moment__title { margin: 0 0 8px; font: 800 24px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.whose-moment__line { margin: 0 auto 16px; max-width: 420px; font: 400 14px/1.55 var(--ui); color: var(--slate); }
.whose-moment__nights { display: flex; justify-content: center; gap: 6px; margin: 0 0 18px; }
.whose-moment__nights i { width: 26px; height: 26px; border-radius: 7px; background: var(--brim-dusk-light); animation: whose-tumble var(--kit-move-earned) var(--ease) both; }
.whose-moment__nights i:nth-child(2n) { background: var(--brim-dusk); }
.whose-moment__nights i[data-at="1"] { animation-delay: .05s; } .whose-moment__nights i[data-at="2"] { animation-delay: .1s; }
.whose-moment__nights i[data-at="3"] { animation-delay: .15s; } .whose-moment__nights i[data-at="4"] { animation-delay: .2s; }
.whose-moment__nights i[data-at="5"] { animation-delay: .25s; } .whose-moment__nights i[data-at="6"] { animation-delay: .3s; }
.whose-moment__nights i[data-at="7"] { animation-delay: .35s; } .whose-moment__nights i[data-at="8"] { animation-delay: .4s; }
.whose-moment__nights i[data-at="9"] { animation-delay: .45s; }
@keyframes whose-tumble { from { opacity: 0; transform: translateY(-14px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .whose-moment__nights i { animation: none; } }

/* Home: a night's season mark. */
.home-lead__whose { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 500 13px var(--ui); color: rgba(245, 246, 243, .85); }
.home-lead__whose .whose-face { width: 24px; height: 24px; font-size: 8px; background: var(--paper); color: var(--ink); }

/* Give it away with the partners first
   , and a partner as a gift or for an amount. The amount is
   on the page only while For an amount is chosen, so ready-buttons.js
   counts it only then. */
.givetiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.givemoney__amount { display: none; padding: 0 0 12px; }
.givemoney:has(input[name="money"][value="amount"]:checked) .givemoney__amount { display: block; }
.givemoney__amount label { display: block; font: 500 12px var(--ui); color: var(--slate); margin: 0 0 4px; }
.inboxrow__note { margin: 8px 0 0 44px; padding: 8px 10px; border-radius: 10px; background: var(--paper); font: 400 13px var(--ui); color: var(--ink); }
.inboxrow__fine { margin: 6px 0 0; font: 400 12px var(--ui); color: var(--slate); }
.partner-ask { max-width: 630px; }
.partner-ask__note { width: 100%; min-height: 84px; }

/* ------------------------------------------------------------------ */
/* Slice D: Sign-in and Devices (brim-settings-rebuilt.html */
/* sc-sec and sc-dev; 121a to 121c). Rows open in place to change them.  */
/* ------------------------------------------------------------------ */
.signin { max-width: 560px; }
.signin-label { font: 600 12px var(--ui); color: var(--slate); margin: 20px 0 4px; }
.signin-rows { border-top: 1px solid var(--line); }
.vrow { border-bottom: 1px solid var(--line); }
.vrow > summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; min-height: 48px; }
.vrow > summary::-webkit-details-marker { display: none; }
.vrow > summary:focus-visible { box-shadow: var(--focus); border-radius: 8px; }
.vrow > summary b { font: 500 14.5px var(--ui); color: var(--ink); display: flex; align-items: center; gap: 8px; min-width: 0; }
.vrow__v { margin-left: auto; font: 400 14px var(--ui); color: var(--slate); text-align: right; overflow-wrap: anywhere; }
.vrow__go { font: 600 13px var(--ui); color: var(--field); }
.vrow__ch { color: var(--slate); font-size: 18px; line-height: 1; transition: transform var(--kit-move-deeper) ease; }
.vrow[open] > summary .vrow__ch { transform: rotate(90deg); }
.vrow__tag { font: 500 12px var(--ui); color: var(--field); background: var(--ahead); border-radius: 6px; padding: 2px 8px; }
.vrow__body { padding: 0 0 16px; display: grid; gap: 10px; }
.vrow__body p { margin: 0; }
.signin-form { display: grid; gap: 8px; }
.signin-form input { width: 100%; min-height: 50px; border: 1px solid #D5DAD6; border-radius: 14px; background: var(--white); padding: 0 14px; outline: none; font: 400 15px var(--ui); color: var(--ink); }
.signin-form input:focus { border-color: var(--field); box-shadow: 0 0 0 3px rgba(23, 53, 44, .1); }
.bigrow { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 0; padding: 15px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); font: 500 14.5px var(--ui); cursor: pointer; text-align: left; }
.bigrow:hover { border-color: #C2C8C1; }
.bigrow:disabled { opacity: .45; cursor: default; }
.bigrow .vrow__ch { margin-left: auto; }
.bigrow__g { width: 30px; height: 30px; border-radius: 8px; background: var(--ahead); display: grid; place-items: center; font-size: 15px; color: var(--field); }
.bigrow--coral { border-color: var(--coral); color: var(--coral); }
.bigrow--coral .bigrow__g { background: var(--coral-tint); color: var(--coral); }
.signin-note { font: 400 12.5px/1.5 var(--ui); color: var(--slate); margin: 12px 0 0; }
.signin-note b { color: var(--ink); font-weight: 600; }
.signin-says { margin: 8px 0 0; }
.signin-check { display: grid; gap: 10px; padding: 16px; }
.signin-check h2 { font: 800 18px var(--display); margin: 0; }
.signin-check p { margin: 0; }
/* Whose, on the night's own page: the header sits on Field. */
.nighthero .tapsheet__whose { margin-bottom: 14px; }
.nighthero .tapsheet__whose-heading { color: var(--paper); }
.nighthero .tapsheet__whose-line { color: rgba(245, 246, 243, .72); }
.nighthero .whose-face { background: var(--paper); color: var(--ink); }
.nighthero .whose-face--ring { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.night-theirs { margin: 18px 0 8px; }
.season-identity[data-whose-card] { row-gap: 10px; }

/* ---------------------------------------------------------------------------
   The season you share. The
   team is the title; everyone's faces overlap beside it, yours first and
   filled; a night nobody has picked carries a small two-circle mark.
   --------------------------------------------------------------------------- */
.ours-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; max-width: 630px; min-width: 0; }
.ours-faces { display: inline-flex; flex: none; }
.ours-face {
  position: relative; display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font: 700 13px var(--ui); letter-spacing: .02em;
  box-shadow: 0 0 0 2.5px var(--paper), inset 0 0 0 1.5px var(--ink);
}
.ours-face + .ours-face { margin-left: -4px; }
.ours-face--you { z-index: 1; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 2.5px var(--paper); }
.ours-faces:has(.ours-face:nth-child(4)) .ours-face { width: 34px; height: 34px; font-size: 11px; }
/* 128c: someone from the sheet who isn't on Brim yet. A dashed ring, the
   initials in slate, until they open their link. */
.ours-face--pending { background: var(--paper); color: var(--slate); box-shadow: 0 0 0 2.5px var(--paper); outline: 1.5px dashed var(--slate); outline-offset: -1.5px; }
.not-on-brim { display: flex; align-items: center; gap: 12px; max-width: 630px; margin: 0 0 12px; padding: 14px 16px; min-width: 0; }
.not-on-brim__text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.not-on-brim__text strong { font: 600 15px/1.3 var(--ui); color: var(--ink); }
.not-on-brim__text span { font: 400 13px/1.4 var(--ui); color: var(--slate); }
.not-on-brim .btn { flex: none; }
@media (max-width: 420px) { .not-on-brim { flex-wrap: wrap; } .not-on-brim .btn { margin-left: 52px; } }
.ours-head__text { min-width: 0; }
.ours-head__line { margin: 0; font: 500 12.5px/1.35 var(--ui); color: var(--slate); }
.ours-head__title { margin: 0; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.ours-head__where { margin: 2px 0 0; font: 400 12.5px/1.35 var(--ui); color: var(--slate); }

/* The two circles: on an ours square, on the shared tab's tile, in the key. */
.ours-pair { display: inline-flex; font-style: normal; }
.ours-pair b { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ours-pair b + b { margin-left: -2px; opacity: .5; }
.brim-season-square__ours { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); pointer-events: none; color: #5F665E; }
.brim-season-square[data-grid-state="went"] .brim-season-square__ours,
.brim-season-square[data-grid-state="sold"] .brim-season-square__ours,
.brim-season-square[data-grid-state="swapped"] .brim-season-square__ours { color: #FFFFFF; }
.brim-season-square[data-grid-state="gifted"] .brim-season-square__ours,
.brim-season-square[data-grid-state="giving"] .brim-season-square__ours,
.brim-season-square[data-grid-state="listed"] .brim-season-square__ours { color: var(--ink); }
.brim-season-mosaic--compact .brim-season-square__ours,
.brim-season-mosaic--preview .brim-season-square__ours { bottom: 2px; }
.brim-season-mosaic--compact .brim-season-square__ours b,
.brim-season-mosaic--preview .brim-season-square__ours b { width: 5px; height: 5px; }
.ours-tag {
  position: absolute; right: -7px; bottom: -6px; display: grid; place-items: center;
  width: 22px; height: 14px; border-radius: 7px;
  background: var(--paper); box-shadow: 0 0 0 2px var(--white);
}
.season-tab.is-active .ours-tag { box-shadow: 0 0 0 2px var(--ink); }
.ours-tag .ours-pair { color: var(--ink); }
.legend-swatch.ours-swatch { position: relative; width: 14px; height: 14px; flex-basis: 14px; }
.ours-swatch .ours-pair { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); color: #5F665E; }
.ours-swatch .ours-pair b { width: 5px; height: 5px; }

/* 126e: a tap on an ours night. Both faces with the heading; four choices
   of equal weight; Ask for it outlined, it changes nothing by itself. */
.tapsheet__whose--ours .ours-face { width: 26px; height: 26px; font-size: 9px; }
.tapsheet__whose--ours .ours-face + .ours-face { margin-left: -3px; }
.nighthero .tapsheet__whose--ours .ours-face { box-shadow: 0 0 0 2px var(--field), inset 0 0 0 1.5px var(--paper); background: transparent; color: var(--paper); }
.nighthero .tapsheet__whose--ours .ours-face--you { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--field); }
.tapsheet__ours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
a.tapsheet__choice { text-decoration: none; }
.legend-swatch--ask { background: transparent; box-shadow: inset 0 0 0 1.5px var(--brim-dusk); }

/* --- Draft night's setup in four taps
   (brim-draft.html) and the waiting room with the coin toss
   (brim-batch-2.html, draftwait). The room is on Field, as the board is. --- */
.draftset { display: grid; gap: 12px; }
.draftset__form { display: grid; gap: 14px; }
.draftset__where { margin: 0; font: 600 14px var(--ui); color: var(--ink); }
.draftset__lbl { margin: 0 0 6px; padding: 0; font: 600 12px var(--ui); color: var(--slate); }
.draftset__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.draftset__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.draftset__ch { display: grid; gap: 2px; text-align: center; padding: 10px 8px; }
.draftset__ch small { font: 400 11px var(--ui); color: var(--slate); }
.draftset__ch:has(input:checked) small { color: var(--on-field-dim); }
.draftset__ch:has(input:focus-visible) { outline: 2px solid var(--sodium); outline-offset: 2px; }
.draftset__rules { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 4px; border-radius: var(--r-md); background: #ECEFEA; font: 400 13px var(--ui); color: var(--ink); }
.draftset__rhead { font-weight: 600; margin-bottom: 2px; }
.draftset__form:has(input[name="mode"][value="snake"]:checked) [data-rule="normal"],
.draftset__form:has(input[name="mode"][value="normal"]:checked) [data-rule="snake"],
.draftset__form:has(input[name="pick_seconds"][value="60"]:checked) [data-rule="120"],
.draftset__form:has(input[name="pick_seconds"][value="60"]:checked) [data-rule="300"],
.draftset__form:has(input[name="pick_seconds"][value="120"]:checked) [data-rule="60"],
.draftset__form:has(input[name="pick_seconds"][value="120"]:checked) [data-rule="300"],
.draftset__form:has(input[name="pick_seconds"][value="300"]:checked) [data-rule="60"],
.draftset__form:has(input[name="pick_seconds"][value="300"]:checked) [data-rule="120"],
.draftset__form:has(input[name="clock_rule"][value="brim_picks"]:checked) [data-rule="everyone_waits"],
.draftset__form:has(input[name="clock_rule"][value="everyone_waits"]:checked) [data-rule="brim_picks"],
.draftset__form:has(input[name="when"][value="live"]:checked) [data-only-whenever],
.draftset__form:has(input[name="when"][value="whenever"]:checked) [data-only-live] { display: none; }

.draftwho { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.draftwho__p {
  display: grid; gap: 2px; padding: 12px; border-radius: var(--r-md);
  background: rgba(245, 246, 243, .06); color: var(--paper);
}
.draftwho__p b { font: 600 14px var(--ui); display: flex; align-items: center; gap: 8px; }
.draftwho__p b::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--dusk); }
.draftwho__p[data-draft-slot="1"] b::before { background: var(--sage); }
.draftwho__p span { font: 400 12px var(--ui); color: var(--on-field-mute); }
.draftwho__p[data-waiting] { animation: draftwho-pulse var(--kit-wait-pulse) ease-in-out infinite; }
@keyframes draftwho-pulse { 0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(245, 246, 243, .08); } 50% { box-shadow: inset 0 0 0 1.5px rgba(240, 180, 41, .55); } }
.draftwho--paper .draftwho__p { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.draftwho--paper .draftwho__p span { color: var(--slate); }

.draftrules { margin: 0; display: grid; gap: 0; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.draftrules > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.draftrules > div + div { border-top: 1px solid var(--line); }
.draftrules dt { font: 400 13px var(--ui); color: var(--slate); }
.draftrules dd { margin: 0; font: 600 13px var(--ui); color: var(--ink); text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .draftwho__p[data-waiting] { animation: none; }
}

/* The lobby (design-pass/batch-7.html): one field card for the event, the
   nights to pick from, and rows. The squares take the winner's colour as
   the coin lands, one after another. */
.dlobby { display: grid; gap: var(--s3); }
.dlobby .kit-header { padding-bottom: var(--s2); }
.dlobby__event { display: grid; gap: var(--s4); }
.dlobby__title { margin: 0; font: var(--kit-text-title-weight) var(--kit-text-title-size)/1.1 var(--kit-text-title-font); letter-spacing: var(--track-display); color: var(--kit-card); }
.dlobby__faces { display: flex; flex-wrap: wrap; gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.dlobby__faces li { display: flex; align-items: center; gap: var(--s2); font: var(--kit-text-row-title-weight) var(--kit-text-body-size)/1.2 var(--kit-text-body-font); }
.dlobby__faces .kit-face { width: 32px; height: 32px; box-shadow: none; font-size: var(--kit-text-body-size); }
.dlobby__faces li[data-away] { opacity: .7; }
.dlobby__faces li[data-away] .kit-face { background: transparent; box-shadow: inset 0 0 0 1.5px var(--kit-card); }
.dlobby__go {
  width: 100%; min-height: 54px; border: 0; border-radius: var(--kit-corner-button);
  font: 700 var(--kit-text-body-size)/1.2 var(--kit-text-body-font); cursor: pointer;
}
.dlobby__go--toss { background: var(--kit-sodium); color: var(--kit-field); }
.dlobby__go--send { background: var(--kit-card); color: var(--kit-field); }
.dlobby__line { margin: 0; text-align: center; font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-card); opacity: .75; }
.dlobby__rank { display: flex; align-items: center; gap: var(--s4); }
.dlobby__rank > div { flex: 1; min-width: 0; }
.dlobby__rank p { margin: 0; }
.dlobby__count { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); }
.dlobby__count b { font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); }
.dlobby__count span { font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-muted); }
.dlobby__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 6px; }
.dlobby__grid i { aspect-ratio: 1; border-radius: 6px; background: var(--kit-ahead); transition: background var(--kit-move-earned) var(--kit-ease-earned); }
.dlobby__grid[data-lit="1"] i { background: var(--kit-person-1); }
.dlobby__grid[data-lit="2"] i { background: var(--kit-person-2); }
.dlobby__grid[data-lit="3"] i { background: var(--kit-person-3); }
.dlobby__grid[data-lit="4"] i { background: var(--kit-person-4); }
.dlobby__grid[data-lit="5"] i { background: var(--kit-person-5); }
.dlobby[data-landing] .dlobby__grid i { animation: dlobby-light var(--kit-move-earned) var(--kit-ease-earned) both; }
.dlobby[data-landing] .dlobby__grid i:nth-child(4n+2) { animation-delay: var(--kit-move-deeper); }
.dlobby[data-landing] .dlobby__grid i:nth-child(4n+3) { animation-delay: var(--kit-move-sheet); }
.dlobby[data-landing] .dlobby__grid i:nth-child(4n) { animation-delay: var(--kit-move-earned); }
@keyframes dlobby-light { from { background: var(--kit-ahead); } }
.kit-card.dlobby__row { padding: 0 var(--s5); }
.kit-card.dlobby__rules { padding: 0 var(--s5); }
.dlobby__rules > summary { list-style: none; cursor: pointer; }
.dlobby__rules > summary::-webkit-details-marker { display: none; }
.dlobby__rules[open] > summary .kit-row__chevron { transform: rotate(90deg); }
.dlobby__rules .draftrules { margin-bottom: var(--s4); }
/* --- End of slice B's block. --- */

/* Slice D: Add it to mine (brim-gift-and-add-to-mine.html 89, 90). */
.addmine-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 12px; }
.addmine-file__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--ahead); color: var(--field); display: grid; place-items: center; font-weight: 600; }
.addmine-file strong, .addmine-opt strong { display: block; font: 600 14px var(--ui); color: var(--ink); }
.addmine-file small, .addmine-opt small { display: block; font: 400 12.5px/1.45 var(--ui); color: var(--slate); margin-top: 2px; }
.addmine-choices { display: grid; gap: 10px; }
.addmine-opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; }
.addmine-opt:has(input:checked) { border-color: var(--field); background: var(--field-tint); }
.addmine-opt input { margin: 3px 0 0; accent-color: var(--field); }
.addmine-adds { display: grid; gap: 8px; padding: 14px; }
.addmine-adds p { display: flex; gap: 10px; margin: 0; font: 400 14px/1.45 var(--ui); color: var(--ink); }
.addmine-adds__plus { flex: 0 0 22px; height: 22px; border-radius: 6px; background: var(--field-tint); color: var(--field); display: grid; place-items: center; font-weight: 700; }
.addmine-adds__plus--same { background: var(--ahead); color: var(--slate); }
.addmine-h { font: 800 18px var(--display); margin: 18px 0 8px; }
.addmine-diffs { padding: 0; overflow: hidden; margin: 0 0 14px; }
.addmine-diff { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 12px 14px; }
.addmine-diff:last-child { border-bottom: 0; }
.addmine-diff legend { float: left; width: 100%; font: 600 13px var(--ui); color: var(--ink); padding: 0; margin: 0 0 8px; }
.addmine-diff__pick { clear: both; }
.addmine-diff__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.addmine-diff__pick label { display: block; cursor: pointer; }
.addmine-diff__pick input { position: absolute; opacity: 0; }
.addmine-diff__pick span { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1.5px solid var(--line); border-radius: 11px; min-height: 52px; }
.addmine-diff__pick input:checked + span { border-color: var(--field); background: var(--field-tint); }
.addmine-diff__pick input:focus-visible + span { box-shadow: var(--focus); }
.addmine-diff__pick em { font: 500 13.5px var(--ui); font-style: normal; color: var(--ink); }
.addmine-diff__pick small { display: block; font: 400 11.5px var(--ui); color: var(--slate); }
.addmine-sw { flex: 0 0 14px; height: 14px; border-radius: 4px; background: var(--ahead); }
.addmine-sw--going { background: var(--dusk); }
.addmine-sw--sold { background: var(--field); }
.addmine-sw--gifted { background: var(--dusk-light); }
.addmine-sw--swapped { background: var(--sage); }
.addmine-sw--listed { background: repeating-linear-gradient(135deg, var(--field) 0 3px, var(--white) 3px 6px); }
.addmine-sw--split { background: linear-gradient(90deg, var(--field) 50%, var(--dusk) 50%); }
.addmine-unmatched { margin: 12px 0 0; font: 400 13px var(--ui); color: var(--slate); }
.addmine-unmatched ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 380px) { .addmine-diff__pick { grid-template-columns: 1fr; } }

/* Split the nights, Already decided: the draft board without a clock. A
   person's tile picks who you're marking for; a night nobody marked stays
   ours, in the board's own colour. */
.splitroster { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.splitroster .draftrp { text-align: left; color: inherit; cursor: pointer; font: inherit; }
.splitroster .draftrp:disabled { cursor: default; }
.splitroster .draftrp[data-draft-slot="ours"] b::before { background: #2A5347; box-shadow: inset 0 0 0 1px rgba(245, 246, 243, .3); }
.splitform { display: grid; gap: 14px; }
.splitform .draftsq { cursor: pointer; position: relative; }
.splitform .draftsq:disabled { cursor: default; }
.splitsq--wk { font-weight: 800; }
.draftsq[data-changed]::after {
  content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--paper);
}
.inboxstrip { display: flex; flex-wrap: wrap; gap: 2px; margin: 8px 0 0; }
.inboxstrip i { width: 8px; height: 14px; border-radius: 2px; background: var(--line); }
.inboxstrip i[data-draft-slot="0"] { background: var(--dusk); }
.inboxstrip i[data-draft-slot="1"] { background: var(--sage); }
.inboxstrip i[data-draft-slot="2"] { background: var(--sodium); }
.inboxstrip i[data-draft-slot="3"] { background: var(--dusk-light); }
/* On the dark board, the ready button is Paper. */
.splitform .btn--primary { background: var(--paper); color: var(--field); border-color: var(--paper); }
.draftboard .splitanswer .btn { background: transparent; color: var(--paper); border: 1.5px solid rgba(245, 246, 243, .4); }
.splitform .field__label { color: var(--on-field-mute); font: 500 13px var(--ui); }
.splitform .field__input {
  background: rgba(245, 246, 243, .08); color: var(--paper); border: 1px solid rgba(245, 246, 243, .18);
  border-radius: var(--r-md); padding: 10px 12px; font: 400 15px var(--ui); width: 100%;
}
.splitform .micro { color: var(--on-field-mute); }

/* Partners in an import: who each name is, then their share. */
.peopleask { display: grid; gap: 14px; }
.peopleask__t { font: 900 24px var(--display); letter-spacing: var(--track-tight); margin: 0; }
.peopleask__l { color: var(--slate); margin: 0; }
.peopleask__choices { display: grid; border-radius: var(--r-md); background: var(--paper); }
.peopleask__c { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.peopleask__c:last-child { border-bottom: 0; }
.peopleask__c span { display: grid; gap: 2px; }
.peopleask__c small { color: var(--slate); }
.peopleask__lbl { margin: 0; color: var(--slate); display: flex; justify-content: space-between; gap: 8px; }
.peopleask__sheet { background: var(--field-tint); color: var(--field); border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.peopleask__sum { margin: 0; display: grid; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.peopleask__sum div { display: flex; justify-content: space-between; }
.peopleask__sum dt { color: var(--slate); }
.peopleask__sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.peopleask__sum .is-total { border-top: 1px solid var(--line); padding-top: 8px; }
.peopleask__sum .is-total dt { color: var(--ink); font-weight: 600; }

/* The tester's second round. */
/* 130a: Your seats, the seats line ends with Change. */
.yourseats__seats { display: flex; align-items: baseline; gap: 10px; margin: 2px 18px 0 0; }
.yourseats__seats .yourseats__line { flex: 1; min-width: 0; text-decoration: none; }
.yourseats__change { flex: none; font: 600 13px var(--ui); color: var(--field); text-decoration: none; }
.yourseats__change:hover { text-decoration: underline; }
/* 130b: A season, the spreadsheet and year-end summary under the picture. */
.aseason__files { margin: 10px 0 4px; }
.aseason__files .more2__row { grid-template-columns: 38px minmax(0, 1fr) 16px; gap: 11px; padding: 11px 12px; }
.aseason__files .more2__tile { width: 38px; height: 38px; border-radius: 11px; }
.aseason__files .more2__tile svg { width: 20px; height: 20px; }
.aseason__files .more2__text strong { font-size: 13.5px; font-weight: 600; }
/* What Withdraw does, under it. */
.partners-withdraw__line { margin: 0; }
form:has(> .partners-withdraw__line) > button.micro { margin: 0; }

/* ---------------------------------------------------------------------------
   : the five Plus moments (170 to 174) and the
   address early (175 to 179), drawn in brim-plus-moments.html and
   brim-address-first.html. Field green and Sodium only.
   --------------------------------------------------------------------------- */
.pm .plus-card__h { font-size: 20px; }
.pm-kept, .pm-paused { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 10px 0; }
.pm-kept b, .pm-paused b { display: block; font: 600 12px/1.4 var(--ui); color: var(--slate); margin: 0 0 6px; }
.pm-kept span { display: block; font: 500 13px/1.45 var(--ui); color: var(--field); margin: 3px 0; }
.pm-paused { background: var(--sodium-tint); border-color: #EFDDAE; }
.pm-paused span { display: block; font: 400 12.5px/1.45 var(--ui); color: var(--ink); margin: 3px 0; }
.pm-wait { display: flex; gap: 12px; align-items: center; background: var(--field); color: var(--paper); border-radius: 14px; padding: 12px 14px; margin: 6px 0 10px; }
.pm-wait > b { font: 900 34px/1 var(--display); color: var(--sodium); }
.pm-wait span { font: 600 14px/1.35 var(--ui); }
.pm-wait small { display: block; font: 400 11.5px/1.4 var(--ui); color: var(--on-field-mute); }
.pm-mail { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; margin: 0 0 6px; }
.pm-mail > i { flex: none; width: 28px; height: 28px; border-radius: 7px; background: var(--field-tint); color: var(--field); font: 400 14px/28px var(--ui); text-align: center; font-style: normal; }
.pm-mail span { flex: 1; min-width: 0; }
.pm-mail b { display: block; font: 600 12.5px/1.35 var(--ui); }
.pm-mail small { font: 400 11px/1.35 var(--ui); color: var(--slate); }
.pm-mail em { font: 600 10.5px/1.4 var(--ui); font-style: normal; color: var(--on-sodium); background: var(--sodium-tint); border-radius: 6px; padding: 2px 6px; }
.pm-two { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0; }
.pm-two span { text-align: center; }
.pm-two .team-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; font: 800 15px/1 var(--display); font-style: normal; }
.pm-two__new .team-badge { box-shadow: 0 0 0 3px var(--sodium); }
.pm-two small { display: block; font: 400 11px/1.4 var(--ui); color: var(--slate); margin-top: 4px; }
.pm-two > b { font: 800 22px/1 var(--display); color: var(--slate); }
.pm-sheetprev { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px 54px; margin: 8px 0 12px; overflow: hidden; }
.pm-th, .pm-tr { display: grid; grid-template-columns: 2fr 1fr 1fr; font: 400 12px/1.4 var(--ui); padding: 6px 0; border-bottom: 1px solid #EFEFEC; }
.pm-th { font-weight: 600; color: var(--slate); }
.pm-tr--2 { opacity: .5; }
.pm-tr--3 { opacity: .2; }
.pm-lock { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 40%); font: 600 12.5px/1.4 var(--ui); color: var(--field); text-align: center; }
.pm-brief { display: grid; gap: 8px; margin: 10px 0; }
.pm-brief div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pm-brief small { display: block; font: 400 11.5px/1.4 var(--ui); color: var(--slate); }
.pm-blur { font: 800 22px/1.2 var(--display); color: var(--field); filter: blur(7px); user-select: none; }
.pm-bonus { background: var(--sodium-tint); border: 1px solid #EFDDAE; border-radius: 14px; padding: 10px 12px; margin: 10px 0; }
.pm-bonus b { display: block; font: 600 14px/1.4 var(--ui); color: var(--on-sodium); }
.pm-bonus small { font: 400 12.5px/1.45 var(--ui); color: var(--ink); }
.pm-tally { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 8px 0 12px; }
.pm-tally__n { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.pm-tally__n b { font: 900 34px/1 var(--display); color: var(--field); }
.pm-tally__n small { font: 600 13px/1.3 var(--ui); color: var(--ink); }
.pm-tally--big .pm-tally__n b { font-size: 48px; }
.pm-tally__rows span { display: block; font: 400 12px/1.4 var(--ui); color: var(--ink); margin: 4px 0; }
.pm-tally__foot { display: block; font: 400 11.5px/1.4 var(--ui); color: var(--slate); margin-top: 6px; }
.af-addr { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--field); border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.af-addr b { flex: 1; min-width: 0; font: 600 13px/1.4 var(--ui); color: var(--field); overflow-wrap: anywhere; }
.af-addr__host { white-space: nowrap; }
.reminder-kinds { display: block; font-size: 12px; margin-top: 4px; }
/* What a removed partner still owes. */
.partners-owes { display: grid; gap: 6px; margin-top: 8px; }
.partners-owes__choice { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1.5px solid #ECEFEA; border-radius: 10px; cursor: pointer; }
.partners-owes__choice:has(input:checked) { border-color: var(--field); }
.partners-owes__choice input { margin-top: 3px; }
.partners-owes__choice span { display: grid; }
.partners-owes__choice b { font: 600 14px/1.3 var(--ui); }
.partners-owes__choice small { font: 400 12px/1.3 var(--ui); color: var(--slate); }
.af-addr__copy { font: 600 12px/1 var(--ui); color: var(--field); background: var(--sodium); border: 0; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.af-clock { background: var(--field); color: var(--paper); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.af-clock b { display: block; font: 700 15px/1.4 var(--ui); color: var(--sodium); }
.af-clock small { font: 400 12px/1.45 var(--ui); color: var(--on-field-mute); }
.af-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 12px; margin: 12px 0; }
.af-list span { display: block; padding: 8px 0; border-bottom: 1px solid #EFEFEC; font: 600 13px/1.4 var(--ui); color: var(--ink); }
.af-list span:last-child { border: 0; }
.af-list small { display: block; font: 400 11px/1.4 var(--ui); color: var(--slate); }
.af-page { max-width: 520px; margin: 0 auto; }
/* "Who shares these seats?", right after a save: the address step's width. */
.pstep { max-width: 520px; margin: 0 auto; }
.af-page h1 { font: 800 clamp(24px, 6vw, 30px)/1.15 var(--display); color: var(--field); margin: 4px 0 8px; }
.af-steps { list-style: none; padding: 0; margin: 10px 0; }
.af-steps li { display: flex; gap: 10px; align-items: center; font: 400 13px/1.45 var(--ui); color: var(--ink); margin: 8px 0; }
.af-steps i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--field-tint); color: var(--field); font: 700 11px/22px var(--ui); text-align: center; font-style: normal; }
.af-listen { display: flex; gap: 10px; align-items: center; background: var(--field-tint); border-radius: 12px; padding: 10px 12px; margin: 14px 0 4px; font: 600 12.5px/1.4 var(--ui); color: var(--field); }
.af-listen i { width: 10px; height: 10px; border-radius: 50%; background: var(--field); box-shadow: 0 0 0 5px rgba(23, 53, 44, .18); animation: af-pulse var(--kit-wait-pulse) var(--ease) infinite; }
@keyframes af-pulse { 50% { box-shadow: 0 0 0 9px rgba(23, 53, 44, .06); } }
@media (prefers-reduced-motion: reduce) { .af-listen i { animation: none; } }
.af-skip { display: block; width: 100%; text-align: center; border: 1.5px solid var(--field); color: var(--field); background: transparent; border-radius: 12px; padding: 14px; font: 600 15px/1 var(--ui); margin-top: 14px; cursor: pointer; }
.af-later { text-align: center; font: 400 12px/1.45 var(--ui); color: var(--slate); margin: 8px 0 0; }
.af-win { text-align: center; padding: 12px 0 4px; }
.af-check { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--field); color: var(--sodium); font: 800 30px/1 var(--display); }
.af-svc { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 70px 10px 12px; margin: 0 0 8px; color: var(--ink); text-decoration: none; }
.af-svc--on { border: 1.5px solid var(--field); }
.af-svc b { display: block; font: 600 13px/1.4 var(--ui); }
.af-svc small { font: 400 11.5px/1.4 var(--ui); color: var(--slate); }
.af-svc em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 12px/1 var(--ui); font-style: normal; color: var(--field); }
.af-svc--on em { background: var(--sodium); border-radius: 8px; padding: 6px 10px; }
.legal { max-width: 680px; margin: 0 auto; }
.legal h1 { font: 800 clamp(30px, 7vw, 40px)/1.05 var(--display); color: var(--field); margin: 0 0 6px; }
.legal h2 { font: 800 19px/1.3 var(--display); color: var(--field); margin: 26px 0 8px; }
.legal p, .legal li { font: 400 14px/1.6 var(--ui); color: var(--ink); }
.legal__meta { color: var(--slate); }
.legal__short { background: var(--field-tint); border-radius: 14px; padding: 12px 16px; }
.legal__table { width: 100%; border-collapse: collapse; font: 400 13px/1.45 var(--ui); }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.legal__table th { font-weight: 600; color: var(--slate); }
.legal--gf h1, .legal--gf h2 { color: var(--dusk-deep, #5367D2); }
.legal--gf .legal__short { background: var(--dusk-tint); }
.delpick { display: grid; gap: 8px; margin: 10px 0 14px; }
.delpick__opt { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; color: var(--ink); text-decoration: none; }
.delpick__opt > i { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--slate); }
.delpick__opt--on { border-color: var(--field); }
.delpick__opt--on > i { border-color: var(--field); box-shadow: inset 0 0 0 3px #fff; background: var(--field); }
.delpick b { display: block; font: 600 14px/1.4 var(--ui); color: var(--ink); }
.delpick small { font: 400 12.5px/1.45 var(--ui); color: var(--slate); }
.acctdel--gf .delpick__opt--on { border-color: var(--dusk-deep, #5367D2); }
.acctdel--gf .delpick__opt--on > i { border-color: var(--dusk-deep, #5367D2); background: var(--dusk-deep, #5367D2); }
.delstore { font: 400 12.5px/1.45 var(--ui); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.sitefoot { display: flex; justify-content: center; gap: 16px; padding: 18px 16px 28px; font: 400 12px/1.4 var(--ui); }
.sitefoot a { color: var(--slate); text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.af-month { margin: 4px 0 14px; }
.af-list small { display: block; }

/* How partners split the nights, the draft prompt, whose cost, Plus on Free,
   Someone you know, Needs attention's money rows, Sold. Saved., and About
   Brim. Every animation is CSS keyframes and stops under reduced motion on
   its finished state. */
.invite-split__opt { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 11px 12px; margin: 8px 0; }
.invite-split__opt.is-on { border-color: var(--field); box-shadow: inset 0 0 0 1px var(--field); }
.invite-split__opt.is-soon { opacity: .55; }
.invite-split__t { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 13.5px var(--ui); }
.invite-split__tag { font: 600 10.5px var(--ui); background: var(--sodium-tint, #FFF4D6); color: #7A5A00; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.invite-split__tag--soon { background: var(--ahead, #ECEFEA); color: var(--slate); }
.invite-split__fine { margin: 4px 0 0; color: var(--slate); }
.partners-row__becomes { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
.draft-prompt { border-radius: 16px; background: var(--white); border: 1px solid var(--line); padding: 16px; margin: 0 0 16px; }
.draft-prompt__h { font: 800 20px/1.15 var(--display); color: var(--field); margin: 2px 0 8px; }
.draft-prompt__who { display: flex; align-items: center; gap: 6px; margin: 4px 0 10px; }
.draft-prompt__who i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--ui); font-style: normal; color: #fff; background: var(--dusk); }
.draft-prompt__who i.draft-prompt__them { background: var(--sage); }
.draft-prompt__who b { font-size: 18px; color: var(--slate); font-weight: 400; }
.draft-prompt__who small { color: var(--slate); font-size: 12px; margin-left: 4px; }
.draft-prompt__card { border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; margin: 8px 0; }
.draft-prompt__card b { display: block; font: 600 13.5px var(--ui); }
.draft-prompt__card small { color: var(--slate); font-size: 12px; }
.draft-prompt__later { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--slate); font: 500 13px var(--ui); cursor: pointer; }
.cost-seg { display: flex; gap: 3px; background: #E8EAE5; border-radius: 11px; padding: 3px; margin: 0 0 8px; border: 0; }
.cost-seg__opt { flex: 1; position: relative; text-align: center; cursor: pointer; }
.cost-seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cost-seg__opt span { display: block; padding: 7px 4px; border-radius: 8px; font: 600 12.5px var(--ui); color: #4A5160; }
.cost-seg__opt input:checked + span { background: var(--white); color: var(--field); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.cost-seg__opt input:focus-visible + span { outline: 2px solid var(--dusk); outline-offset: 1px; }
.cost-ask__amount { width: 100%; font: 600 15px var(--ui); }
.cost-ask [data-cost-hint] { display: none; }
.cost-ask:has(input[name="cost_basis"][value="season"]:checked) [data-cost-hint="season"],
.cost-ask:has(input[name="cost_basis"][value="share"]:checked) [data-cost-hint="share"] { display: block; }
.cost-ask__card { border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; margin: 8px 0; }
.cost-ask__card b { display: block; font: 600 13.5px var(--ui); }
.cost-ask__card small { color: var(--slate); font-size: 12px; }
.money-share-line { margin: 6px 0 0; }
.money-pernight { margin-top: 12px; }
.money-pernight b { display: block; font: 600 14px var(--ui); }
.money-pernight small { display: block; color: var(--slate); font-size: 12.5px; margin-top: 2px; }
/* Plus on Free (section 3): the waiting tray, the Plus page's moving
   example, the three lines, and the Sodium button that tries Plus. */
.btn--sodium { background: var(--sodium); border-color: var(--sodium); color: var(--ink); }
.plus-off { opacity: .55; cursor: default; pointer-events: none; }
.pm-stage { position: relative; height: 196px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0 10px; }
.pm-fly { position: absolute; left: 50%; width: 170px; margin-left: -85px; top: -60px; opacity: 0; animation: pm-fly 5s ease-in-out infinite; }
.pm-fly--two { animation-delay: 2.5s; }
.pm-fly__mail { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: 11px; line-height: 1.35; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.pm-fly__mail b { display: block; font-size: 11.5px; }
@keyframes pm-fly { 0% { top: -60px; opacity: 0; } 12% { opacity: 1; } 30%, 40% { top: 12px; opacity: 1; transform: scale(1); } 58% { top: 84px; opacity: 0; transform: scale(.4); } 100% { top: 84px; opacity: 0; } }
.pm-stage__addr { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); background: var(--field); color: var(--white); border-radius: 10px; padding: 6px 10px; font: 600 11px var(--ui); white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.pm-stage__addr small { display: block; font-weight: 400; color: #C9D6CF; font-size: 9.5px; }
.pm-tray { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; background: #FFF6DC; border: 1.5px dashed #E2C164; border-radius: 10px; padding: 6px 9px; font-size: 11px; color: var(--ink); }
.pm-tray__n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sodium); font: 700 11px/22px var(--ui); text-align: center; animation: pm-pop 5s infinite; }
@keyframes pm-pop { 0%, 45% { transform: scale(1); } 52% { transform: scale(1.25); } 60%, 100% { transform: scale(1); } }
.pm-byhand { text-align: center; margin: 6px 0 0; color: var(--slate); }
.plus-free { max-width: 420px; }
.plus-free__line { font-size: 13.5px; color: #3A3F46; margin: 0 0 6px; }
.plus-free__then { text-align: center; font-size: 12px; color: var(--slate); margin: 6px 0 0; }
.plus-free__go { margin: 12px 0 0; }
.plus-demo { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin: 8px 0; overflow: hidden; }
.plus-demo__mail { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: 11px; line-height: 1.35; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); animation: plus-mailin 6s ease-in-out infinite; }
.plus-demo__mail b { display: block; font-size: 11.5px; }
@keyframes plus-mailin { 0% { transform: translateY(-8px); opacity: 0; } 10%, 32% { transform: none; opacity: 1; } 42%, 100% { transform: translateY(34px) scale(.5); opacity: 0; } }
.plus-demo__season { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 8px 0; }
.plus-demo__sq { display: block; aspect-ratio: 1; border-radius: 5px; background: var(--ahead, #ECEFEA); }
.plus-demo__sq--went { background: var(--dusk); }
.plus-demo__sq--sold { background: var(--field); }
.plus-demo__sq--given { background: var(--dusk-light, #A7B5EC); }
.plus-demo__sq--target { animation: plus-flip 6s infinite; }
@keyframes plus-flip { 0%, 40% { background: #ECEFEA; transform: scale(1); } 46% { background: #17352C; transform: scale(1.35); } 52%, 100% { background: #17352C; transform: scale(1); } }
.plus-demo__label { display: inline-block; margin: 0 0 6px; font: 600 10.5px var(--ui); background: var(--field); color: var(--white); border-radius: 6px; padding: 2px 6px; animation: plus-tick 6s infinite; }
.plus-demo__kv { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--slate); }
.plus-demo__tick { font: 800 16px var(--display); color: var(--field); animation: plus-tick 6s infinite; }
@keyframes plus-tick { 0%, 44% { opacity: .35; } 50%, 100% { opacity: 1; } }
.plus-gets { list-style: none; margin: 8px 0 0; padding: 0; }
.plus-gets li { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; font-size: 13px; }
.plus-gets__sw { flex: none; width: 12px; height: 12px; border-radius: 3px; margin-top: 4px; }
.plus-gets__sw--sold { background: var(--field); }
.plus-gets__sw--went { background: var(--dusk); }
.plus-gets__sw--sodium { background: var(--sodium); }
.plus-did__recovered { margin: 6px 0 0; font: 600 14px var(--ui); color: var(--field); }
.pm-sold { text-align: center; padding: 8px 0 4px; }
.plus-card .pm-sold__sq { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--field); color: var(--white); font: 800 16px var(--display); }
.pm-sold .plus-card__h { margin: 10px 0 2px; }
.pm-sold__next { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 8px 0; }
.pm-sold__icon { flex: none; font-size: 18px; }
.pm-sold__icon em { font-style: normal; color: #B08A1E; margin-left: 2px; }
.pm-sold__icon i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--field); margin-left: 3px; vertical-align: -1px; }
.pm-sold__next small { color: var(--slate); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) {
  .pm-fly, .pm-tray__n, .plus-demo__mail, .plus-demo__sq--target, .plus-demo__label, .plus-demo__tick { animation: none; }
  .pm-fly { top: 12px; opacity: 1; }
  .pm-fly--two { display: none; }
  .plus-demo__sq--target { background: var(--field); }
}
/* Someone you know (section 4): three cards drop into the night, whose
   square turns lilac, and "Given to Nadia" appears. */
.give-demo { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; height: 196px; overflow: hidden; }
.give-demo__slot { position: relative; height: 58px; }
.give-demo__mail { position: absolute; left: 0; right: 0; top: 0; opacity: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: 11px; line-height: 1.35; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.give-demo__mail b { display: block; font-size: 11.5px; }
.give-demo__mail--1 { animation: give-g1 9s infinite; }
.give-demo__mail--2 { animation: give-g2 9s infinite; }
.give-demo__mail--3 { animation: give-g3 9s infinite; }
@keyframes give-g1 { 0% { transform: translateY(-8px); opacity: 0; } 4%, 24% { transform: none; opacity: 1; } 31%, 100% { transform: translateY(40px) scale(.5); opacity: 0; } }
@keyframes give-g2 { 0%, 32% { transform: translateY(-8px); opacity: 0; } 36%, 56% { transform: none; opacity: 1; } 63%, 100% { transform: translateY(40px) scale(.5); opacity: 0; } }
@keyframes give-g3 { 0%, 64% { transform: translateY(-8px); opacity: 0; } 68%, 84% { transform: none; opacity: 1; } 90%, 100% { transform: translateY(40px) scale(.5); opacity: 0; } }
.give-demo__night { display: flex; align-items: center; gap: 10px; background: var(--field); color: var(--white); border-radius: 12px; padding: 10px; margin-top: 8px; }
.give-demo__date { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--sodium); color: var(--ink); text-align: center; font: 700 9px/1.1 var(--ui); display: grid; place-items: center; }
.give-demo .give-demo__date b { display: block; font: 800 16px/1 var(--display); }
.give-demo__t { flex: 1; min-width: 0; font: 600 12.5px var(--ui); }
.give-demo__t small { display: block; font: 400 10.5px var(--ui); color: #C9D6CF; }
.give-demo__sq { flex: none; width: 22px; height: 22px; border-radius: 5px; background: var(--ahead, #ECEFEA); animation: give-given 9s infinite; }
@keyframes give-given { 0%, 86% { background: #ECEFEA; transform: scale(1); } 90% { background: #A7B5EC; transform: scale(1.3); } 94%, 100% { background: #A7B5EC; transform: scale(1); } }
.give-demo__tag { display: inline-block; margin-top: 8px; font: 600 10.5px var(--ui); background: var(--dusk-light, #A7B5EC); color: var(--ink); border-radius: 6px; padding: 2px 7px; opacity: 0; animation: give-tag 9s infinite; }
@keyframes give-tag { 0%, 88% { opacity: 0; } 92%, 100% { opacity: 1; } }
.give-skip__link { border-top: 1px solid var(--line); padding-top: 10px; }
.give-skip__sent { text-align: center; margin: 10px 0 0; }
.give-skip__sent .link { background: none; border: 0; padding: 0; font: 600 13px var(--ui); color: var(--field); text-decoration: underline; text-decoration-color: var(--sodium); text-underline-offset: 3px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .give-demo__mail, .give-demo__sq, .give-demo__tag { animation: none; }
  .give-demo__mail--3 { opacity: 1; }
  .give-demo__sq { background: var(--dusk-light, #A7B5EC); }
  .give-demo__tag { opacity: 1; }
}
/* Needs attention's money rows (section 5): who owes it, and Got it. */
.att-owed { align-items: center; }
.att-owed__t { flex: 1; min-width: 0; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.att-owed__t span { color: var(--slate); font-size: 12.5px; }
.att-owed form { flex: none; }
/* Add a guest above the phone's keyboard: guest-picker.js sets
   data-kb to how much of the screen the keyboard covers, in steps of 20px. */
.gpick-sheet.is-keyboard .sheet--dock { overflow-y: auto; }
.gpick-sheet.is-keyboard[data-kb="80"] .sheet--dock { margin-bottom: 80px; max-height: calc(100dvh - 80px - 12px); }
.gpick-sheet.is-keyboard[data-kb="100"] .sheet--dock { margin-bottom: 100px; max-height: calc(100dvh - 100px - 12px); }
.gpick-sheet.is-keyboard[data-kb="120"] .sheet--dock { margin-bottom: 120px; max-height: calc(100dvh - 120px - 12px); }
.gpick-sheet.is-keyboard[data-kb="140"] .sheet--dock { margin-bottom: 140px; max-height: calc(100dvh - 140px - 12px); }
.gpick-sheet.is-keyboard[data-kb="160"] .sheet--dock { margin-bottom: 160px; max-height: calc(100dvh - 160px - 12px); }
.gpick-sheet.is-keyboard[data-kb="180"] .sheet--dock { margin-bottom: 180px; max-height: calc(100dvh - 180px - 12px); }
.gpick-sheet.is-keyboard[data-kb="200"] .sheet--dock { margin-bottom: 200px; max-height: calc(100dvh - 200px - 12px); }
.gpick-sheet.is-keyboard[data-kb="220"] .sheet--dock { margin-bottom: 220px; max-height: calc(100dvh - 220px - 12px); }
.gpick-sheet.is-keyboard[data-kb="240"] .sheet--dock { margin-bottom: 240px; max-height: calc(100dvh - 240px - 12px); }
.gpick-sheet.is-keyboard[data-kb="260"] .sheet--dock { margin-bottom: 260px; max-height: calc(100dvh - 260px - 12px); }
.gpick-sheet.is-keyboard[data-kb="280"] .sheet--dock { margin-bottom: 280px; max-height: calc(100dvh - 280px - 12px); }
.gpick-sheet.is-keyboard[data-kb="300"] .sheet--dock { margin-bottom: 300px; max-height: calc(100dvh - 300px - 12px); }
.gpick-sheet.is-keyboard[data-kb="320"] .sheet--dock { margin-bottom: 320px; max-height: calc(100dvh - 320px - 12px); }
.gpick-sheet.is-keyboard[data-kb="340"] .sheet--dock { margin-bottom: 340px; max-height: calc(100dvh - 340px - 12px); }
.gpick-sheet.is-keyboard[data-kb="360"] .sheet--dock { margin-bottom: 360px; max-height: calc(100dvh - 360px - 12px); }
.gpick-sheet.is-keyboard[data-kb="380"] .sheet--dock { margin-bottom: 380px; max-height: calc(100dvh - 380px - 12px); }
.gpick-sheet.is-keyboard[data-kb="400"] .sheet--dock { margin-bottom: 400px; max-height: calc(100dvh - 400px - 12px); }
.gpick-sheet.is-keyboard[data-kb="420"] .sheet--dock { margin-bottom: 420px; max-height: calc(100dvh - 420px - 12px); }
.gpick-sheet.is-keyboard[data-kb="440"] .sheet--dock { margin-bottom: 440px; max-height: calc(100dvh - 440px - 12px); }
.gpick-sheet.is-keyboard[data-kb="460"] .sheet--dock { margin-bottom: 460px; max-height: calc(100dvh - 460px - 12px); }
.gpick-sheet.is-keyboard[data-kb="480"] .sheet--dock { margin-bottom: 480px; max-height: calc(100dvh - 480px - 12px); }
.gpick-sheet.is-keyboard[data-kb="500"] .sheet--dock { margin-bottom: 500px; max-height: calc(100dvh - 500px - 12px); }
.gpick-sheet.is-keyboard[data-kb="520"] .sheet--dock { margin-bottom: 520px; max-height: calc(100dvh - 520px - 12px); }
.gpick-sheet.is-keyboard[data-kb="540"] .sheet--dock { margin-bottom: 540px; max-height: calc(100dvh - 540px - 12px); }
.gpick-sheet.is-keyboard[data-kb="560"] .sheet--dock { margin-bottom: 560px; max-height: calc(100dvh - 560px - 12px); }
.gpick-sheet.is-keyboard[data-kb="580"] .sheet--dock { margin-bottom: 580px; max-height: calc(100dvh - 580px - 12px); }
.gpick-sheet.is-keyboard[data-kb="600"] .sheet--dock { margin-bottom: 600px; max-height: calc(100dvh - 600px - 12px); }
/* Forwarding to the Brim address: Goodfolk's walkthrough in Brim's colours. */
.copy-scratch { position: fixed; top: -1000px; left: -1000px; opacity: 0; }
.brfw-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 900px) { .brfw-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; } }
.brfw .brfw-h { font: 800 24px/1.15 var(--display); color: var(--field); margin: 4px 0 10px; letter-spacing: -.01em; }
.brfw .back { display: block; margin: 0 0 8px; }
.brfw-lede { font-size: 14px; margin: 0 0 12px; }
.brfw-eye { font: 600 11.5px var(--ui); color: var(--slate); margin: 0 0 2px; }
.brfw-k { font: 600 11.5px var(--ui); color: var(--slate); margin: 0 0 6px; }
.brfw-connected { font: 600 13px var(--ui); color: var(--field); margin: 0 0 10px; }
.brfw-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }
.brfw-svc { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 6px 0; color: var(--ink); text-decoration: none; }
.brfw-svc--on { border-color: var(--field); box-shadow: inset 0 0 0 1px var(--field); }
.brfw-svc b { display: block; font: 600 14px var(--ui); }
.brfw-svc small { display: block; color: var(--slate); font-size: 12px; overflow-wrap: anywhere; }
.brfw-tag { font-style: normal; font: 600 10.5px var(--ui); background: var(--sodium-tint, #FFF4D6); color: #7A5A00; border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.brfw-other summary { cursor: pointer; font: 500 13px var(--ui); color: var(--slate); padding: 8px 2px; }
.brfw-addr { display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 10px; padding: 8px 10px; font-weight: 600; margin: 6px 0; }
.brfw-addr > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.brfw-addr small { display: block; font-weight: 400; color: var(--slate); font-size: 11.5px; }
.brfw-copy { flex: none; font: 600 12px var(--ui); background: var(--sodium); border: 0; border-radius: 7px; padding: 5px 10px; color: var(--ink); cursor: pointer; }
.brfw-stepbar { display: flex; gap: 4px; margin: 6px 0 10px; }
.brfw-stepbar i { height: 5px; flex: 1; border-radius: 2px; background: var(--kit-line); }
.brfw-stepbar i.on { background: var(--kit-field); }
.brfw-stepbar i.now { background: linear-gradient(var(--kit-sodium), var(--kit-sodium)) left / 34px 100% no-repeat, var(--kit-line); }
.brfw-under { display: block; font-size: 12px; color: var(--slate); margin: 4px 0 0; }
.brfw-steps { margin: 12px 0; padding: 0; list-style: none; counter-reset: brfw; }
.brfw-steps li { counter-increment: brfw; position: relative; padding-left: 32px; margin: 10px 0; font-size: 13.5px; min-height: 22px; }
.brfw-steps li::before { content: counter(brfw); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #E8EAE5; font: 700 11px/22px var(--ui); text-align: center; }
.brfw-steps li.brfw-done::before { content: "✓"; background: var(--field); color: var(--white); }
.brfw-warn { display: flex; gap: 10px; background: #FFF6DC; border: 1.5px solid #E9CF7C; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin: 10px 0 14px; }
.brfw-warn b { display: block; }
.brfw .btn.is-dim { opacity: .4; pointer-events: none; }
.brfw-file { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 10px; padding: 8px 10px; margin-top: 6px; }
.brfw-file b { flex: 1; font-size: 13px; }
.brfw-rule { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 5px 0; margin: 0; border-bottom: 1px solid #EEF0EC; }
.brfw-rule span { color: var(--slate); }
.brfw-code { display: flex; align-items: center; gap: 10px; }
.brfw-code b { white-space: nowrap; font: 800 24px var(--display); letter-spacing: .06em; color: var(--field); }
.brfw-wait { display: flex; align-items: center; gap: 10px; }
.brfw-dots { flex: none; white-space: nowrap; }
.brfw-dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sodium); margin-right: 3px; animation: brfw-dot var(--kit-wait-pulse) infinite; }
.brfw-dots i:nth-child(2) { animation-delay: .2s; } .brfw-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes brfw-dot { 50% { opacity: .25; } }
.brfw-band { background: var(--sodium-tint, #FFF4D6); border-radius: 10px; padding: 8px 10px; font-size: 13px; margin: 0 0 10px; }
.brfw-conn { text-align: center; padding: 16px 0 6px; }
.brfw-trip { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 14px; }
.brfw-trip__end { font: 700 12px var(--ui); background: var(--white); border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; }
.brfw-trip__end--brim { background: var(--field); color: var(--white); border-color: var(--field); }
.brfw-trip__lane { position: relative; width: 180px; border-top: 2px dashed #C9CDC7; }
.brfw-trip__env { position: absolute; top: -13px; left: 0; font-size: 16px; animation: brfw-env 6s infinite; }
@keyframes brfw-env { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 40% { left: 150px; opacity: 1; } 48%, 100% { left: 150px; opacity: 0; } }
.brfw-season { display: inline-grid; grid-template-columns: repeat(10, 16px); gap: 4px; margin: 6px 0 10px; }
.brfw-season i { display: block; width: 16px; height: 16px; border-radius: 4px; background: var(--ahead, #ECEFEA); }
.brfw-season i.w { background: var(--dusk); } .brfw-season i.s { background: var(--field); } .brfw-season i.g { background: var(--dusk-light, #A7B5EC); }
.brfw-season i.t { animation: brfw-tsq 6s infinite; }
@keyframes brfw-tsq { 0%, 46% { background: #ECEFEA; transform: scale(1); } 52% { background: #17352C; transform: scale(1.4); } 58%, 100% { background: #17352C; transform: scale(1); } }
.brfw .brfw-bigh { font: 900 30px var(--display); color: var(--field); margin: 4px 0; }
.brfw-hand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 14px; }
.brfw-hand__p { width: 22px; height: 38px; border-radius: 6px; border: 2px solid var(--field); background: var(--white); }
.brfw-hand__c { width: 58px; height: 38px; border-radius: 5px; border: 2px solid var(--field); background: var(--white); position: relative; }
.brfw-hand__c::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -8px; height: 4px; border-radius: 2px; background: var(--field); }
.brfw-hand__a { width: 70px; border-top: 2px dashed #C9CDC7; position: relative; }
.brfw-hand__a::after { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--sodium); animation: brfw-hop var(--kit-wait-pulse) ease-in-out infinite; }
@keyframes brfw-hop { to { left: 60px; } }
.brfw-c { text-align: center; margin: 6px 0; }
.brfw-linkbtn { background: none; border: 0; padding: 0; font: 600 13px var(--ui); color: var(--field); text-decoration: underline; text-decoration-color: var(--sodium); text-underline-offset: 3px; cursor: pointer; }
.brfw-track { list-style: none; margin: 0 0 10px; padding: 0; }
.brfw-track li { display: flex; gap: 10px; padding: 7px 2px; font-size: 13px; }
.brfw-track li i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #D6D9D4; background: var(--white); color: var(--white); font: 700 10px/16px var(--ui); text-align: center; font-style: normal; }
.brfw-track li.brfw-track--done i { background: var(--field); border-color: var(--field); }
.brfw-track li.brfw-track--now i { border-color: var(--sodium); box-shadow: 0 0 0 4px #FFF6DC; }
.brfw-track b { display: block; } .brfw-track small { color: var(--slate); font-size: 11.5px; }
/* Gmail's settings need a computer: the hand-off (B5) leads below 720px
   for step 1, the steps (B2 to B4) above, as Goodfolk's do. */
.brfw-phone { display: none; }
@media (max-width: 719px) {
  .brfw[data-brfw-phase="waiting"] .brfw-phone, .brfw[data-brfw-phase="code"] .brfw-phone, .brfw[data-brfw-phase="testing"] .brfw-phone { display: block; }
  .brfw[data-brfw-phase="waiting"][data-brfw-step="1"] .brfw-desk, .brfw[data-brfw-phase="code"][data-brfw-step="1"] .brfw-desk, .brfw[data-brfw-phase="testing"][data-brfw-step="1"] .brfw-desk { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brfw-dots i, .brfw-trip__env, .brfw-season i.t, .brfw-hand__a::after { animation: none; }
  .brfw-season i.t { background: var(--field); }
  .brfw-trip__env { left: 150px; }
}
.nightpass-screen__night[hidden] { display: none; }
.brfw-svc .btn { flex: none; white-space: nowrap; }

/* Add a partner's two ways, Set nights' squares and card, and
   What does Priya pay?'s bar and card. The squares are the draft board's
   (`.draftgrid`, `.draftsq`) on a light card: ahead is grey, theirs is
   sage, as the draft draws them. */
.invite-for-set[hidden] { display: none; }
.invite-split__opt:has(.invite-split__radio:checked) { border-color: var(--field); box-shadow: inset 0 0 0 1px var(--field); }
.invite-split__pick { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.invite-split__pick .invite-split__t { flex: 1; }
.invite-split__radio { accent-color: var(--field); margin: 0; flex: none; }
.invite-setnights { display: none; margin-top: 10px; }
.invite-split__opt:has(.invite-split__radio[value="set_nights"]:checked) .invite-setnights { display: block; }
.invite-setnights__t { margin: 0; font: 600 13.5px var(--ui); color: var(--field); }
.setnights__grid { grid-template-columns: 30px 1fr; }
.setnights__mo { color: var(--slate); }
.draftsq.setnight { position: relative; background: #ECEFEA; color: var(--slate); cursor: pointer; }
.draftsq.setnight input { position: absolute; opacity: 0; pointer-events: none; }
.draftsq.setnight:has(input:checked) { background: var(--sage); color: #fff; }
.draftsq.setnight:has(input:focus-visible) { outline: 2px solid var(--dusk); outline-offset: 2px; }
.draftsq.setnight.is-locked { cursor: default; }
.invite-pay__amount { display: none; margin-top: 8px; }
.invite-pay:has(input[name="pay"][value="amount"]:checked) .invite-pay__amount { display: block; }
.invite-pay__bar { margin: 12px 0 0; }
.invite-pay__card { border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; margin: 10px 0 0; background: var(--white); }
.invite-pay__kv { display: flex; justify-content: space-between; gap: 10px; margin: 2px 0; font: 500 13px var(--ui); color: var(--ink); }
.invite-pay__kv b { font-weight: 600; }
.invite-pay__kv--whole { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; }
.invite-go__line { display: block; margin: 8px 0 0; }
.invite-go__line[hidden] { display: none; }
.setnights-page .draftgrid { margin-top: 12px; }
.partners-row__nights { display: block; margin-top: 4px; }
.invite-setnights--page { display: block; margin-top: 0; }

/* Numbers' two questions: Quebec's one question, or About you, as one card at
   the foot of the page. Goodfolk's wears Dusk; Brim's wears Field. */
.numq { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); margin: 0 auto; max-width: 380px; border: 1px solid var(--line, #E3E6E1); border-radius: 14px; background: #FFFFFF; color: var(--ink, #15181C); padding: 16px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgba(21, 24, 28, .1); font-size: 14px; }
.numq p { margin: 0; font-size: 13px; color: var(--slate); }
.numq__row { display: flex; flex-wrap: wrap; gap: 8px; }
.numq__go { background: var(--field, #17352C); border-color: var(--field, #17352C); color: #FFFFFF; }
.numq--gf .numq__go { background: var(--dusk-deep, #5367D2); border-color: var(--dusk-deep, #5367D2); }
.numq__form { display: grid; gap: 10px; }
.numq__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.numq__legend { font-size: 12px; font-weight: 600; color: var(--slate); padding: 0; margin-bottom: 4px; width: 100%; }
.numq__chip { position: relative; display: inline-flex; }
.numq__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.numq__chip span { font-size: 12px; border: 1px solid var(--line, #E3E6E1); border-radius: 8px; padding: 6px 10px; line-height: 1.2; white-space: nowrap; }
.numq__chip input:checked + span { background: var(--ink, #15181C); color: #FFFFFF; border-color: var(--ink, #15181C); }
.numq__chip input:focus-visible + span { outline: 3px solid var(--dusk, #6E7FD9); outline-offset: 2px; }
.numq .numq__fine { font-size: 11.5px; }
.numq__lead { margin: 0; color: var(--slate); font-size: 14px; max-width: 60ch; }
.numq__form--page { max-width: 560px; }
/* About you's backdrop is only there on a wide screen, where it holds the
   card in the middle; a phone keeps the card at the foot of the page. */
/* As specific as .sheet-backdrop.is-open, which would otherwise make it a scrim over a phone's Home. */
.sheet-backdrop.numq-backdrop { display: contents; }
@media (min-width: 1000px) {
  .sheet-backdrop.numq-backdrop { display: flex; }
  .numq-backdrop .numq { position: static; margin: 0; width: min(100%, 440px); max-width: none; animation: kit-sheet-in var(--kit-move-sheet) var(--kit-ease-sheet) both; }
}

/* ---------------------------------------------------------------------------
   Show on every password field. The word sits inside the field, on one line.
   --------------------------------------------------------------------------- */
.pw { position: relative; display: block; min-width: 0; }
.pw > input, .field > .pw > input { width: 100%; padding-right: 76px; }
.field > .pw > input {
  min-height: 50px; border: 1px solid #D5DAD6; border-radius: 14px; background: var(--white);
  padding-left: 14px; outline: none;
}
.field > .pw > input:focus { border-color: var(--field); box-shadow: 0 0 0 3px rgba(23, 53, 44, .1); }
.pw-show {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 36px; min-width: 56px; padding: 0 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--field); font: 600 13px var(--ui); white-space: nowrap; cursor: pointer;
}
.pw-show:hover { background: var(--field-tint); }
.pw-show:focus-visible { outline: 2px solid var(--field); outline-offset: 1px; }

/* Option C: everyone else's face in the season header is in
   their colour, the same as the bar under the date on their nights. */
.ours-face[data-person] { color: #FFFFFF; box-shadow: 0 0 0 2.5px var(--paper); background: var(--person-1); }
.ours-face[data-person="2"] { background: var(--person-2); }
.ours-face[data-person="3"] { background: var(--person-3); }
.ours-face[data-person="4"] { background: var(--person-4); }
.ours-face[data-person="5"] { background: var(--person-5); }
.ours-face--you[data-person] { background: var(--ink); }
.state-counts li b.state-counts__whose[data-person] { color: #FFFFFF; box-shadow: none; background: var(--person-1); border-radius: 50%; min-width: 20px; height: 20px; padding: 0; }
.state-counts li b.state-counts__whose[data-person="2"] { background: var(--person-2); }
.state-counts li b.state-counts__whose[data-person="3"] { background: var(--person-3); }
.state-counts li b.state-counts__whose[data-person="4"] { background: var(--person-4); }
.state-counts li b.state-counts__whose[data-person="5"] { background: var(--person-5); }

/* ---------------------------------------------------------------------------
   A partner's first run on Season: the banner when it's your turn in
   the draft, a first-time tip, and the other person's moves.
   --------------------------------------------------------------------------- */
.turn-banner {
  position: relative; display: flex; align-items: center; gap: 12px; max-width: 630px; margin: 0 0 12px;
  padding: 12px 14px; border-radius: 14px; background: var(--field); color: var(--paper); text-decoration: none;
}
.turn-banner::before { content: ""; position: absolute; left: 14px; top: 0; width: 36px; height: 3px; border-radius: 0 0 2px 2px; background: var(--sodium); }
.turn-banner__text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.turn-banner__text strong { font: 700 15px/1.3 var(--ui); }
.turn-banner__text span { font: 400 13px/1.35 var(--ui); opacity: .85; }
.turn-banner__go { flex: none; padding: 8px 12px; border-radius: 10px; background: var(--paper); color: var(--field); font: 600 13px var(--ui); white-space: nowrap; }
.season-tip { position: relative; max-width: 630px; margin: 0 0 14px; padding: 14px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.season-tip strong { display: block; font: 700 15px/1.3 var(--ui); }
.season-tip p { margin: 4px 0 0; font: 400 13.5px/1.5 var(--ui); opacity: .88; }
.season-tip__row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.season-tip__count { flex: 1 1 auto; font: 500 12px var(--ui); opacity: .7; }
.season-tip__skip { margin: 0; }
.season-tip .btn--quiet { color: var(--dusk-light); }
.season-tip__next { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.moves { list-style: none; display: grid; gap: 8px; max-width: 630px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.moves__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.moves__row--needs { border-color: var(--coral); }
.moves__text { display: grid; gap: 1px; min-width: 0; color: var(--ink); text-decoration: none; }
.moves__text strong { font: 600 14px/1.3 var(--ui); }
.moves__text span { font: 400 12.5px/1.35 var(--ui); color: var(--slate); }
.moves .person-face { width: 26px; height: 26px; font-size: 10px; }
.moves__row--needs .person-face { background: var(--coral); }

/* "You're on Nadia's seats". */
.partner-welcome { max-width: 520px; }
.welcome-key { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; padding: 0; font: 500 13px var(--ui); color: var(--slate); }
.welcome-key li { display: inline-flex; align-items: center; gap: 6px; }
.welcome-key__open { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ahead); color: #5F665E; font-style: normal; }
.welcome-steps { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; padding: 0; }
.welcome-steps__row { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.welcome-steps__n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ahead); color: var(--ink); font: 700 12px var(--ui); }
.welcome-steps__row.is-now .welcome-steps__n { background: var(--field); color: var(--paper); }
.welcome-steps__text { display: grid; gap: 2px; min-width: 0; }
.welcome-steps__text strong { font: 600 15px/1.3 var(--ui); color: var(--ink); }
.welcome-steps__text span { font: 400 13px/1.45 var(--ui); color: var(--slate); }

/* Asking for a draft. */
.draft-ask { max-width: 520px; }
.draft-ask__starts { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font: 500 14px var(--ui); color: var(--ink); }
.draft-ask__not-now { margin-top: 8px; }

/* The record from the seats, under the Season header. Tapping it opens the details. */
.season-record { margin-top: 10px; font-size: 14px; }
.season-record summary { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; list-style: none; }
.season-record summary::-webkit-details-marker { display: none; }
.season-record__mark { width: 10px; height: 10px; background: var(--sodium); flex: none; }
.season-record p { margin: 6px 0 0 18px; color: var(--slate); }

/* Public giveaway nights, team by team, with Brim's card at the foot. */
.gn-page { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; display: grid; gap: 16px; }
.gn-title { font: 900 clamp(26px, 5vw, 36px)/1.1 var(--display); margin: 0; text-wrap: balance; }
.gn-sub { color: var(--slate); margin: 0; }
.gn-scroll { overflow-x: auto; }
.gn-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.gn-table th, .gn-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gn-table th { font-size: 13px; font-weight: 600; color: var(--slate); }
.gn-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gn-teams { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gn-teams li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gn-teams span { color: var(--slate); }
.gn-brim { background: var(--field); color: var(--paper); border-radius: 14px; padding: 18px 20px; display: grid; gap: 8px; margin-top: 8px; }
.gn-brim p { margin: 0; }
.gn-brim__title { font: 900 20px var(--display); }
.gn-brim__btn { justify-self: start; background: var(--sodium); color: var(--field); }

/* Give Plus, and the gift opened. */
.gift-page { max-width: 520px; margin: 0 auto; padding: 32px 16px 48px; display: grid; gap: 14px; }
.gift-page__title { font: 900 30px/1.1 var(--display); margin: 0; }
.gift-form { display: grid; gap: 8px; }
.gift-form label { font-weight: 600; margin-top: 6px; }
.gift-form input { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.gift-form__fine { color: var(--slate); margin: 4px 0 8px; }
.gift-moment { background: var(--field); color: var(--paper); min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 16px; padding: 40px 16px; }
.gift-moment__mark svg { width: 70px; height: auto; }
.gift-moment__bar { width: 34px; height: 3px; background: var(--sodium); border-radius: 2px; }
.gift-moment__title { font: 900 clamp(26px, 6vw, 34px)/1.1 var(--display); margin: 0; max-width: 16ch; text-wrap: balance; }
.gift-moment__note { font-size: 17px; margin: 0; }
.gift-moment__line { color: var(--paper); opacity: .8; margin: 0; }
.gift-moment__btn { background: var(--sodium); color: var(--field); min-width: 240px; }

/* --- Draft night (draft-night-and-launch.html, idea 1): the countdown,
   who is in the room, the TV and the calendar, on Paper above the coin. --- */
.dnight { display: grid; gap: 10px; padding: 18px 16px; border-radius: var(--r-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.dnight__eye { margin: 0; display: flex; align-items: center; gap: 8px; font: 500 13px var(--ui); color: var(--slate); }
.dnight__mark { display: inline-grid; width: 20px; height: 20px; }
.dnight__mark svg { width: 20px; height: 20px; }
.dnight__t { margin: 0; font: 700 26px/1.15 var(--display); letter-spacing: var(--track-tight); color: var(--ink); }
.dnight__l { margin: 0; font: 400 13px var(--ui); color: var(--slate); }
.dnight__count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.dnight__count > * { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: var(--r-sm); background: #ECEFEA; }
.dnight__count b { font: 700 28px var(--ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.dnight__count span { font: 400 12px var(--ui); color: var(--slate); }
.dnight__lbl { margin: 4px 0 0; font: 500 13px var(--ui); color: var(--slate); }
.dnight__faces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dnight__face { width: 40px; height: 40px; transition: opacity var(--kit-move-sheet) ease; }
.dnight__face svg { width: 40px; height: 40px; display: block; }
.dnight__face text { fill: var(--white); font: 600 14px var(--ui); }
.dnight__face.is-out { opacity: .35; }
.dnight__miss { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font: 400 13px var(--ui); color: var(--slate); }
.dnight__nudge { border: 0; background: none; padding: 0; font: 600 13px var(--ui); color: var(--ink); cursor: pointer; }
.dnight__nudge:hover, .dnight__nudge:focus-visible { text-decoration: underline; }
.dnight__acts { display: grid; gap: 10px; margin-top: 4px; }
.dnight-more { display: grid; gap: 12px; }
.dnight-time { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.dnight-time .field__label { grid-column: 1 / -1; }
.dnight-tv { margin: 0; font: 400 13px var(--ui); color: var(--slate); }
.dnight-tv b { color: var(--ink); font-weight: 600; }
.dnight-tv__code { letter-spacing: .12em; }
.dnight-list { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
.dnight-list b { font: 600 15px var(--ui); }
.dnight-list span { font: 400 13px var(--ui); color: var(--slate); }
a.dnight--home { text-decoration: none; color: var(--ink); }
.dnight--home .dnight__t { font-size: 22px; }
.dnight__open { font: 600 14px var(--ui); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .dnight__face { transition: none; } }

/* --- Your list (draft-night-and-launch.html, idea 3). --- */
.dlist { display: grid; gap: 12px; max-width: 560px; }
.dlist__lean { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md); background: #EEF0FB; }
.dlist__pic { flex: 0 0 auto; width: 84px; height: 84px; border-radius: var(--r-sm); background: var(--white); display: grid; place-items: center; padding: 10px; }
.dlist__pic svg { width: 100%; height: 100%; }
.dlist__leanw { display: grid; gap: 2px; }
.dlist__says { font: 400 13px var(--ui); color: var(--slate); }
.dlist__leanw b { font: 600 19px var(--ui); color: var(--ink); }
.dlist__leanw span:last-child { font: 400 13px var(--ui); color: var(--slate); }
.dlist__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dcard {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  touch-action: pan-y; user-select: none; cursor: grab;
}
.dcard:first-child { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dcard.is-dragging { cursor: grabbing; box-shadow: 0 8px 24px rgba(23, 53, 44, .18), inset 0 0 0 1.5px var(--ink); position: relative; z-index: 1; }
.dcard__day { display: grid; justify-items: center; align-content: center; height: 64px; border-radius: var(--r-sm); background: #ECEFEA; color: var(--ink); }
.dcard__day b { font: 700 20px/1.1 var(--ui); }
.dcard__day span { font: 400 12px var(--ui); }
.dcard__day.is-weekend { background: var(--field); color: var(--white); }
.dcard__w { display: grid; gap: 6px; min-width: 0; }
.dcard__club { font: 600 17px var(--ui); color: var(--ink); }
.dcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dcard__tag { padding: 2px 8px; border-radius: 6px; background: #ECEFEA; font: 500 12px var(--ui); color: var(--ink); }
.dcard__heat { display: block; width: 100%; height: 5px; border-radius: 3px; overflow: hidden; }
.dcard__n { font: 500 20px var(--ui); color: var(--slate); min-width: 1.5em; text-align: center; }
.dcard__move { display: grid; gap: 2px; }
.dcard__move button { width: 32px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--slate); cursor: pointer; }
.dcard__move button:hover, .dcard__move button:focus-visible { background: #ECEFEA; color: var(--ink); }
.dcard__move svg { width: 16px; height: 16px; }
.dlist__bold { margin: 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--field); color: var(--white); font: 600 15px var(--ui); text-align: center; }
.dlist__lbl { margin: 4px 0 0; font: 500 13px var(--ui); color: var(--slate); }
.dlist__fill { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.dlist__way {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-md); border: 0;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px var(--ui); color: var(--ink); text-align: left; cursor: pointer;
}
.dlist__waypic { flex: 0 0 auto; width: 40px; height: 28px; display: grid; place-items: center; }
.dlist__waypic svg { width: 100%; height: 100%; }

/* --- Titles, with their own pictures, and the recap made to be posted
   (draft-night-and-launch.html, idea 4). --- */
.draftrecap { display: grid; gap: 14px; }
.dtitles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dtitle { display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: var(--r-xl); background: var(--field); color: var(--paper); }
.dtitle__pic { width: 104px; height: 104px; display: grid; place-items: center; padding: 16px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); margin-bottom: 10px; }
.dtitle__pic svg { width: 100%; height: 100%; }
.dtitle__t { font: 700 20px var(--display); color: var(--white); }
.dtitle__b { font: 400 14px var(--ui); color: var(--on-field-mute); }
.dtitle__l { margin-top: 8px; font: 500 14px var(--ui); color: var(--paper); }
.dtitle__r { font: 400 13px var(--ui); color: var(--on-field-mute); }
.dshare { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.dshare__one { display: grid; gap: 10px; }
.dshare__frame .strip-preview { max-height: 520px; width: auto; margin: 0 auto; display: block; }

/* Season Pulse, "Split {N} ways": yours in Field, each partner's in their
   own colour, nobody's yet the ahead grey behind them. Widths come from
   these steps, since CSP keeps style attributes out. */
.split-bar { display: flex; height: 10px; margin: 9px 0 6px; border-radius: 5px; overflow: hidden; background: var(--ahead); }
.split-bar__part { display: block; height: 100%; background: var(--person-1); }
.split-bar__part--yours { background: var(--field); }
.split-bar__part[data-person="2"] { background: var(--person-2); }
.split-bar__part[data-person="3"] { background: var(--person-3); }
.split-bar__part[data-person="4"] { background: var(--person-4); }
.split-bar__part[data-person="5"] { background: var(--person-5); }
.split-bar__part[data-w="1"] { width: 1%; }
.split-bar__part[data-w="2"] { width: 2%; }
.split-bar__part[data-w="3"] { width: 3%; }
.split-bar__part[data-w="4"] { width: 4%; }
.split-bar__part[data-w="5"] { width: 5%; }
.split-bar__part[data-w="6"] { width: 6%; }
.split-bar__part[data-w="7"] { width: 7%; }
.split-bar__part[data-w="8"] { width: 8%; }
.split-bar__part[data-w="9"] { width: 9%; }
.split-bar__part[data-w="10"] { width: 10%; }
.split-bar__part[data-w="11"] { width: 11%; }
.split-bar__part[data-w="12"] { width: 12%; }
.split-bar__part[data-w="13"] { width: 13%; }
.split-bar__part[data-w="14"] { width: 14%; }
.split-bar__part[data-w="15"] { width: 15%; }
.split-bar__part[data-w="16"] { width: 16%; }
.split-bar__part[data-w="17"] { width: 17%; }
.split-bar__part[data-w="18"] { width: 18%; }
.split-bar__part[data-w="19"] { width: 19%; }
.split-bar__part[data-w="20"] { width: 20%; }
.split-bar__part[data-w="21"] { width: 21%; }
.split-bar__part[data-w="22"] { width: 22%; }
.split-bar__part[data-w="23"] { width: 23%; }
.split-bar__part[data-w="24"] { width: 24%; }
.split-bar__part[data-w="25"] { width: 25%; }
.split-bar__part[data-w="26"] { width: 26%; }
.split-bar__part[data-w="27"] { width: 27%; }
.split-bar__part[data-w="28"] { width: 28%; }
.split-bar__part[data-w="29"] { width: 29%; }
.split-bar__part[data-w="30"] { width: 30%; }
.split-bar__part[data-w="31"] { width: 31%; }
.split-bar__part[data-w="32"] { width: 32%; }
.split-bar__part[data-w="33"] { width: 33%; }
.split-bar__part[data-w="34"] { width: 34%; }
.split-bar__part[data-w="35"] { width: 35%; }
.split-bar__part[data-w="36"] { width: 36%; }
.split-bar__part[data-w="37"] { width: 37%; }
.split-bar__part[data-w="38"] { width: 38%; }
.split-bar__part[data-w="39"] { width: 39%; }
.split-bar__part[data-w="40"] { width: 40%; }
.split-bar__part[data-w="41"] { width: 41%; }
.split-bar__part[data-w="42"] { width: 42%; }
.split-bar__part[data-w="43"] { width: 43%; }
.split-bar__part[data-w="44"] { width: 44%; }
.split-bar__part[data-w="45"] { width: 45%; }
.split-bar__part[data-w="46"] { width: 46%; }
.split-bar__part[data-w="47"] { width: 47%; }
.split-bar__part[data-w="48"] { width: 48%; }
.split-bar__part[data-w="49"] { width: 49%; }
.split-bar__part[data-w="50"] { width: 50%; }
.split-bar__part[data-w="51"] { width: 51%; }
.split-bar__part[data-w="52"] { width: 52%; }
.split-bar__part[data-w="53"] { width: 53%; }
.split-bar__part[data-w="54"] { width: 54%; }
.split-bar__part[data-w="55"] { width: 55%; }
.split-bar__part[data-w="56"] { width: 56%; }
.split-bar__part[data-w="57"] { width: 57%; }
.split-bar__part[data-w="58"] { width: 58%; }
.split-bar__part[data-w="59"] { width: 59%; }
.split-bar__part[data-w="60"] { width: 60%; }
.split-bar__part[data-w="61"] { width: 61%; }
.split-bar__part[data-w="62"] { width: 62%; }
.split-bar__part[data-w="63"] { width: 63%; }
.split-bar__part[data-w="64"] { width: 64%; }
.split-bar__part[data-w="65"] { width: 65%; }
.split-bar__part[data-w="66"] { width: 66%; }
.split-bar__part[data-w="67"] { width: 67%; }
.split-bar__part[data-w="68"] { width: 68%; }
.split-bar__part[data-w="69"] { width: 69%; }
.split-bar__part[data-w="70"] { width: 70%; }
.split-bar__part[data-w="71"] { width: 71%; }
.split-bar__part[data-w="72"] { width: 72%; }
.split-bar__part[data-w="73"] { width: 73%; }
.split-bar__part[data-w="74"] { width: 74%; }
.split-bar__part[data-w="75"] { width: 75%; }
.split-bar__part[data-w="76"] { width: 76%; }
.split-bar__part[data-w="77"] { width: 77%; }
.split-bar__part[data-w="78"] { width: 78%; }
.split-bar__part[data-w="79"] { width: 79%; }
.split-bar__part[data-w="80"] { width: 80%; }
.split-bar__part[data-w="81"] { width: 81%; }
.split-bar__part[data-w="82"] { width: 82%; }
.split-bar__part[data-w="83"] { width: 83%; }
.split-bar__part[data-w="84"] { width: 84%; }
.split-bar__part[data-w="85"] { width: 85%; }
.split-bar__part[data-w="86"] { width: 86%; }
.split-bar__part[data-w="87"] { width: 87%; }
.split-bar__part[data-w="88"] { width: 88%; }
.split-bar__part[data-w="89"] { width: 89%; }
.split-bar__part[data-w="90"] { width: 90%; }
.split-bar__part[data-w="91"] { width: 91%; }
.split-bar__part[data-w="92"] { width: 92%; }
.split-bar__part[data-w="93"] { width: 93%; }
.split-bar__part[data-w="94"] { width: 94%; }
.split-bar__part[data-w="95"] { width: 95%; }
.split-bar__part[data-w="96"] { width: 96%; }
.split-bar__part[data-w="97"] { width: 97%; }
.split-bar__part[data-w="98"] { width: 98%; }
.split-bar__part[data-w="99"] { width: 99%; }
.split-bar__part[data-w="100"] { width: 100%; }
.split-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font: 400 11px/1.4 var(--ui); color: var(--slate); }
.split-key b { color: var(--ink); font-weight: 600; }
.split-key__dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 2px; background: var(--person-1); }
.split-key__dot--yours { background: var(--field); }
.split-key__dot--nobody { background: var(--ahead); box-shadow: inset 0 0 0 1px var(--line); }
.split-key__dot[data-person="2"] { background: var(--person-2); }
.split-key__dot[data-person="3"] { background: var(--person-3); }
.split-key__dot[data-person="4"] { background: var(--person-4); }
.split-key__dot[data-person="5"] { background: var(--person-5); }
.split-draft { display: inline-block; margin-top: 7px; font: 600 12.5px var(--ui); color: var(--field); text-decoration: none; }
/* The line under a split season's money: whose half it is. */
.money-split-line { margin: 6px 0 0; font: 400 11.5px/1.45 var(--ui); color: var(--slate); }

/* Whose night is it?, on a night nobody picked: Mine, a partner's, Still
   ours, each with its faces. The one chosen is a Field fill, never an
   outline (shared-seats-fixes.html, screen 3). */
.whose-pick { margin: 14px 0 0; }
.whose-pick__label { margin: 14px 0 6px; font: 600 12px var(--ui); color: var(--slate); }
.whose-pick .whose-pick__label { margin-top: 0; }
.whose-pick__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.whose-pick__choices form { margin: 0; }
.whose-pick__choice { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; min-height: 64px; padding: 9px 4px 8px; border: 0; border-radius: 10px; background: var(--white); color: var(--ink); font: 600 13px var(--ui); cursor: pointer; }
.whose-pick__choice.is-on { background: var(--field); color: var(--white); cursor: default; }
.whose-pick__choice.is-on .ours-face { box-shadow: 0 0 0 2px var(--field); }
.whose-pick__faces { display: flex; }
.whose-pick__faces .ours-face + .ours-face { margin-left: -7px; }

/* Who's it for? (shared-seats-fixes.html, screen 1): the faces of people
   this account has given to, then + New; the one picked full strength. */
.whos-people { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 4px; }
.whos-person { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 52px; flex: none; color: var(--ink); text-decoration: none; opacity: .45; font: 600 11px var(--ui); }
.whos-person.is-on { opacity: 1; }
.whos-person__face { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--person-1); color: var(--white); font: 600 13px var(--ui); flex: none; }
.whos-person__face[data-person="2"] { background: var(--person-2); }
.whos-person__face[data-person="3"] { background: var(--person-3); }
.whos-person__face[data-person="4"] { background: var(--person-4); }
.whos-person__face[data-person="5"] { background: var(--person-5); }
.whos-person__face--new { background: var(--white); color: var(--field); font-size: 20px; box-shadow: inset 0 0 0 1px var(--line); }
/* The night as a ticket with their name on it: notched where it tears. */
.whos-ticket { padding: 11px 12px; border-radius: 12px; background: var(--field); color: var(--white);
  -webkit-mask: radial-gradient(circle 7px at 0 64%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 64%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 7px at 0 64%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 64%, #0000 98%, #000) right / 51% 100% no-repeat; }
.whos-ticket__night { display: flex; gap: 10px; align-items: center; }
.whos-ticket .datebox { background: var(--sodium); color: var(--field); }
.whos-ticket__t strong { display: block; font: 900 16px var(--display); }
.whos-ticket__t small { display: block; font: 400 11px var(--ui); opacity: .8; }
.whos-ticket__tear { margin: 10px -2px 8px; border-top: 1px dashed rgba(255, 255, 255, .28); }
.whos-ticket__for { display: flex; align-items: center; gap: 8px; margin: 0; font: 400 12px var(--ui); }
.whos-ticket__for .whos-person__face { width: 24px; height: 24px; font-size: 9.5px; }
.whos-ticket__for b { font: 900 15px var(--display); }
.whos-ticket__for small { margin-left: auto; opacity: .75; font-size: 11px; }
.whos-typed { width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: var(--white); font: 600 14px var(--ui); color: var(--ink); }
/* What someone new gets: their side of the night, with their name. */
.whos-preview { padding: 10px; border-radius: 14px; background: var(--ahead); }
.whos-preview__label { margin: 0 0 6px; font: 600 11px var(--ui); color: var(--slate); }
.whos-preview__phone { padding: 10px; border-radius: 12px; background: var(--white); box-shadow: 0 6px 18px rgba(21, 24, 28, .10); }
.whos-preview__phone b { display: block; font: 900 15px/1.15 var(--display); color: var(--ink); }
.whos-preview__phone small { display: block; margin: 3px 0 7px; font: 400 11px var(--ui); color: var(--slate); }
.whos-preview__button { display: block; padding: 6px; border-radius: 8px; background: var(--field); color: var(--white); font: 600 11px var(--ui); text-align: center; }

/* A draft that stalls, in the draft board's look (shared-seats-fixes.html,
   screen 4). Sodium is the board's own here: the clock, Make your pick,
   Start the draft. */
.stall-board { margin: 0 0 var(--s4); }
.stall-board__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); font: 500 var(--kit-text-small-size) var(--kit-text-small-font); color: var(--kit-muted); }
.stall-board__clock { padding: var(--s1) var(--s2); border-radius: var(--kit-corner-button-small); background: var(--kit-paper); color: var(--kit-ink); text-align: center; line-height: 1; }
.stall-board__clock b { display: block; font: var(--kit-text-number-weight) var(--kit-text-title-size) var(--kit-text-number-font); font-variant-numeric: tabular-nums; }
.stall-board__clock small { font-size: var(--kit-smallest); color: var(--kit-muted); }
.stall-board__title { margin: var(--s3) 0 var(--s1); font: var(--kit-text-title-weight) var(--kit-text-title-size)/1.1 var(--kit-text-title-font); color: var(--kit-ink); }
.stall-board__line { margin: 0; font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.45 var(--kit-text-small-font); color: var(--kit-muted); }
.stall-board__best-form { margin: var(--s3) 0 0; }
.stall-board__best { display: block; width: 100%; padding: var(--s3); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-block); background: var(--kit-card); color: var(--kit-ink); text-align: left; cursor: pointer; }
.stall-board__best b { display: block; font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size) var(--kit-text-row-title-font); }
.stall-board__best small { display: block; font: var(--kit-text-small-weight) var(--kit-text-small-size) var(--kit-text-small-font); color: var(--kit-muted); }
.stall-board__players { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.stall-board__player { padding: var(--s2) var(--s3); border-radius: var(--kit-corner-block); background: var(--kit-paper); font: var(--kit-text-small-weight) var(--kit-text-small-size) var(--kit-text-small-font); color: var(--kit-muted); }
.stall-board__player b { display: block; font: var(--kit-text-number-weight) var(--kit-text-number-size)/1.1 var(--kit-text-number-font); color: var(--kit-ink); }
.stall-board__player.is-on { box-shadow: inset 0 0 0 1px var(--kit-line); background: var(--kit-card); }
.stall-board__player em { font-style: normal; font-weight: 600; color: var(--kit-ink); }
.stall-board__go { margin-top: var(--s3); }
.stall-board form { margin: 0; }
.stall-board__soft { display: block; width: 100%; min-height: 44px; margin-top: var(--s3); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-button); background: var(--kit-card); color: var(--kit-ink); font: 600 var(--kit-text-body-size) var(--kit-text-body-font); cursor: pointer; }
.stall-board__soft[aria-disabled="true"] { opacity: .45; cursor: default; }
.stall-board__months { display: grid; grid-template-columns: 32px 1fr; gap: var(--s1) var(--s2); margin-top: var(--s3); align-items: center; font: var(--kit-text-small-weight) var(--kit-smallest) var(--kit-text-small-font); }
.stall-board__months > span { color: var(--kit-muted); }
.stall-board__chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.stall-board__chips i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--s1); background: var(--kit-card); color: var(--kit-muted); font: 600 var(--kit-smallest) var(--kit-text-small-font); font-style: normal; }
.stall-board__chips i.is-big { color: var(--kit-ink); font-weight: 800; }
.stall-board__fine { margin: var(--s2) 0 0; font: var(--kit-text-small-weight) var(--kit-text-small-size) var(--kit-text-small-font); color: var(--kit-muted); }

/* Admin > Notices: one line on sign-in and Home, both sites. Neutral, so it
   reads on Brim and Goodfolk alike. */
.site-notice { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid #D8DCD6; background: #FFFFFF; color: var(--ink, #15181C); font: 500 13.5px/1.45 var(--ui, 'Poppins', sans-serif); }

/* A link inside a sentence is underlined, so it isn't told apart by colour
   alone (WCAG 1.4.1; the help pages' link to Bring in my season read 1.34:1
   against its text). Links with a class of their own (buttons, rows, cards)
   keep their own look. */
:where(p, li, dd, td, blockquote, figcaption) a:not([class]) { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* Contrast (WCAG 1.4.3, from the axe scan before launch). Small Slate text
   on a tinted ground reads a shade darker; Slate itself is kept wherever it
   already passes on Paper and white. */
.seg a:not(.is-active), .seg button:not(.is-active) { color: #5C6370; }
.dlist__says, [data-lean-line], .dlist__leanw span:last-child { color: #5C6370; }
.profile span.profile-avatar { color: var(--paper); }
.more2__row--coral strong, .partners-row__net.is-owing { color: #C2412D; }
.brim-season-square__day { color: rgba(21, 24, 28, .66); }
.brim-season-square[data-grid-state="ahead"] .brim-season-square__day { color: #5C6370; }
.brim-season-square[data-grid-state="empty"] .brim-season-square__day { color: #B83A26; }
/* Going from page to page cross-fades on the deeper motion, where the browser can. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: var(--kit-move-deeper); animation-timing-function: var(--kit-ease-deeper); }
.kit-wash__line { margin: 0; display: grid; gap: var(--s1); font: var(--kit-text-small-weight) var(--kit-text-small-size) var(--kit-text-small-font); color: var(--kit-muted); }
.kit-wash__line strong { font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size) var(--kit-text-row-title-font); color: var(--kit-ink); }

/* The draft room as cards (design-pass/batch-10.html): the turn on a field
   card, one game big on your turn, Call it on theirs, a pick landing full
   screen in the picker's colour, and the squares only at the end. */
.dcards { display: grid; gap: var(--s3); }
.dcards__back { margin-bottom: var(--s1); }
.dcards__head { display: flex; align-items: center; gap: var(--s4); }
.dcards__ring { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; box-shadow: inset 0 0 0 4px var(--kit-card); }
.dcards__ring.is-running { box-shadow: inset 0 0 0 4px var(--kit-sodium); }
.dcards__ring .kit-face { width: 58px; height: 58px; box-shadow: none; font: var(--kit-text-title-weight) var(--kit-text-title-size)/1 var(--kit-text-title-font); }
.dcards__who { flex: 1; min-width: 0; }
.dcards__title { margin: 0; font: var(--kit-text-title-weight) var(--kit-text-row-title-size)/1.2 var(--kit-text-title-font); font-size: 1.35rem; letter-spacing: var(--track-display); color: var(--kit-card); }
.dcards__title--end { font-size: var(--kit-text-title-size); }
.dcards__clock { margin: 0; font: var(--kit-text-number-weight) var(--kit-text-number-size)/1.1 var(--kit-text-number-font); letter-spacing: var(--track-display); color: var(--kit-card); }
.dcards__line { margin: 0; font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-card); opacity: .75; }
.dcards__control { align-self: flex-start; }
.dcards__small { min-height: 36px; padding: 0 var(--s3); border: 1px solid var(--kit-card); border-radius: var(--kit-corner-button-small); background: transparent; color: var(--kit-card); font: 600 var(--kit-text-small-size)/1 var(--kit-text-small-font); cursor: pointer; }
.dcards__small--light { border-color: var(--kit-line); background: var(--kit-card); color: var(--kit-field); min-height: 44px; }
.dcards__small:disabled { opacity: .55; cursor: default; }
.dgame__top { display: flex; align-items: flex-start; gap: var(--s3); }
.dgame__when { flex: 1; display: grid; gap: 2px; }
.dgame__when b { font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); }
.dgame__when span, .dgame__pos { font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-muted); }
.dgame__team { margin: var(--s4) 0 var(--s1); font: var(--kit-text-number-weight) var(--kit-text-number-size)/1.05 var(--kit-text-number-font); letter-spacing: var(--track-display); color: var(--kit-field); }
.dgame__line { margin: 0; font: var(--kit-text-body-weight) var(--kit-text-body-size)/1.4 var(--kit-text-body-font); }
.dgame__facts { margin: var(--s2) 0 0; font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-muted); }
.dgame__rank { margin: var(--s3) 0 0; font: 600 var(--kit-text-small-size)/1.4 var(--kit-text-small-font); display: flex; align-items: center; gap: var(--s2); }
.dgame__rank::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kit-sodium); }
.dcards__take { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); margin-top: var(--s3); }
.dcards__take .kit-button { min-height: 50px; }
.dcards__next { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 var(--s5); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-button); background: var(--kit-card); color: var(--kit-field); font: 700 var(--kit-text-body-size)/1.2 var(--kit-text-body-font); text-decoration: none; cursor: pointer; }
.dcards__filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0; }
.dcards__filter { min-height: 40px; padding: 0 var(--s3); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-button-small); background: var(--kit-card); color: var(--kit-ink); font: 600 var(--kit-text-small-size)/1 var(--kit-text-small-font); cursor: pointer; }
.dcards__filter[aria-pressed="true"] { background: var(--kit-field); border-color: var(--kit-field); color: var(--kit-card); }
.dcards__rows { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.dcards__rows li[hidden], .dgame[hidden] { display: none; }
.kit-card.dcards__row { width: 100%; display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); text-align: left; font: inherit; cursor: pointer; }
div.kit-card.dcards__row { cursor: default; }
.dcards__row .kit-date { width: 44px; min-height: 48px; }
.dcards__row .kit-row__words { flex: 1; min-width: 0; }
.dcards__ask { margin: var(--s2) 0 0; font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-title-font); font-weight: 800; color: var(--kit-field); }
.dcards__call { min-height: 40px; padding: 0 var(--s3); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-button-small); background: var(--kit-card); color: var(--kit-field); font: 700 var(--kit-text-small-size)/1 var(--kit-text-small-font); cursor: pointer; white-space: nowrap; }
.dcards__call.is-mine { background: var(--kit-field); border-color: var(--kit-field); color: var(--kit-card); }
.kit-card.dcards__nextcard { padding: 0 var(--s4); }
.dcards__nudge { display: flex; justify-content: center; }
.dcards__squares { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 6px; margin: var(--s4) 0 var(--s3); }
.dcards__squares i { aspect-ratio: 1; border-radius: 6px; background: var(--kit-ahead); animation: dcards-fill var(--kit-move-earned) var(--kit-ease-earned) both; }
.dcards__squares i:nth-child(3n+2) { animation-delay: var(--kit-move-deeper); }
.dcards__squares i:nth-child(3n) { animation-delay: var(--kit-move-sheet); }
.dcards__squares i[data-person="1"] { background: var(--kit-person-1); }
.dcards__squares i[data-person="2"] { background: var(--kit-person-2); }
.dcards__squares i[data-person="3"] { background: var(--kit-person-3); }
.dcards__squares i[data-person="4"] { background: var(--kit-person-4); }
.dcards__squares i[data-person="5"] { background: var(--kit-person-5); }
@keyframes dcards-fill { from { background: var(--kit-ahead); } }
.dcards__legend { display: flex; flex-wrap: wrap; gap: var(--s4); margin: 0; font: 600 var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-card); }
.dcards__legend span { display: inline-flex; align-items: center; gap: var(--s1); }
.kit-card.dcards__noticedcard { padding: var(--s3) var(--s4); }
.dcards__noticed { margin: 0; font: 600 var(--kit-text-small-size)/1.4 var(--kit-text-small-font); }
.dcards__endbuttons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s2); }
.dland { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: var(--s2); padding: var(--s6) var(--s5) calc(var(--s6) + env(safe-area-inset-bottom)); background: var(--kit-person-1); color: var(--kit-card); animation: dland-in var(--kit-move-earned) var(--kit-ease-earned) both; }
.dland[hidden] { display: none; }
.dland[data-person="2"] { background: var(--kit-person-2); }
.dland[data-person="3"] { background: var(--kit-person-3); }
.dland[data-person="4"] { background: var(--kit-person-4); }
.dland[data-person="5"] { background: var(--kit-person-5); }
.dland p { margin: 0; }
.dland__who, .dland__when { font: var(--kit-text-body-weight) var(--kit-text-body-size)/1.4 var(--kit-text-body-font); }
.dland__team { font: var(--kit-text-number-weight) clamp(2.6rem, 14vw, 4.5rem)/1 var(--kit-text-number-font); letter-spacing: var(--track-display); }
.dland__noticed { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid currentColor; display: grid; gap: var(--s1); font: var(--kit-text-body-weight) var(--kit-text-body-size)/1.4 var(--kit-text-body-font); }
.dland__called { font-weight: 800; font-size: 1.15rem; }
.dland__go { margin-top: auto; min-height: 54px; border: 0; border-radius: var(--kit-corner-button); background: var(--kit-card); color: var(--kit-field); font: 700 var(--kit-text-body-size)/1.2 var(--kit-text-body-font); cursor: pointer; }
@keyframes dland-in { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) {
  .dcards__squares i, .dland { animation: none; }
}

/* Put the draft on a TV, from a phone: the code leads. */
.dtvcode { display: grid; gap: var(--s4); }
.dtvcode__where { margin: 0; font: var(--kit-text-body-weight) var(--kit-text-body-size)/1.5 var(--kit-text-body-font); }
.dtvcode__code { margin: var(--s3) 0 0; font: var(--kit-text-number-weight) clamp(44px, 14vw, 64px)/1 var(--kit-text-number-font); letter-spacing: .08em; white-space: nowrap; }

/* Who is watching, on the TV's code page. */
.dtvcode__label { margin: 0 0 var(--s1); font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); }
.dtvcode__watcher { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--kit-line); }
.dtvcode__new { display: grid; gap: var(--s2); justify-items: start; margin-top: var(--s4); }
.dnight-tv__watch { display: inline-block; margin-top: var(--s2); font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-muted); text-decoration: none; }

/* A friend watching on their phone. */
.dwatch { display: grid; gap: var(--s4); }
.dwatch__clock { margin: var(--s1) 0 0; display: flex; align-items: baseline; gap: var(--s3); font: var(--kit-text-number-weight) var(--kit-text-number-size)/1.1 var(--kit-text-number-font); }
.dwatch__clock span { font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-muted); }
.dwatch__last { margin: var(--s2) 0; display: flex; align-items: center; gap: var(--s2); font: var(--kit-text-body-weight) var(--kit-text-body-size)/1.4 var(--kit-text-body-font); }
.dwatch__face { width: 28px; height: 28px; flex: 0 0 auto; }
.dwatch__face text { fill: var(--kit-paper); font: 700 18px var(--kit-text-body-font); }
.dwatch__title { margin: 0 0 var(--s2); font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); }
.dwatch__games { list-style: none; margin: 0; padding: 0; }
.dwatch__games li { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--kit-line); }
.dwatch__mine { font: var(--kit-text-row-title-weight) var(--kit-text-small-size)/1.4 var(--kit-text-row-title-font); color: var(--kit-field); white-space: nowrap; }
.dwatch__say { display: grid; gap: var(--s2); }
.dwatch__sayrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.dwatch__sayrow button { width: 100%; }
.dwatch__small { margin: 0; font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); color: var(--kit-muted); }

/* Season's gathered card: past nights with no answer, asked once, with no
   default, so its three answers are the same white blocks. */
.past-nights { margin: 0 0 var(--s4); }
.past-nights__title { margin: 0; color: var(--kit-ink); }
.past-nights__ask { margin: var(--s1) 0 0; color: var(--kit-muted); }
.past-nights__answers { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.past-nights__answer {
  min-height: 44px; padding: 0 var(--s4); display: inline-flex; align-items: center;
  border: 1px solid var(--kit-line); border-radius: var(--kit-corner-button-small); background: var(--kit-card);
  color: var(--kit-ink); text-decoration: none; cursor: pointer;
  font: var(--kit-text-row-title-weight) var(--kit-text-small-size)/1 var(--kit-text-row-title-font);
}
.past-nights__answer:focus-visible { outline: 2px solid var(--kit-field); outline-offset: 2px; }
.past-nights__answer[aria-busy="true"] { opacity: .55; }

/* Season as a list: a month's nights in one card. Each row wears its
   square with its day inside, and speaks only when it has something to say. */
.game-list--season .season-rows { padding: 0 var(--s4); margin-bottom: var(--s3); }
.game-list--season .season-row { padding: var(--s3) 0; border-radius: 0; border-bottom: 1px solid var(--kit-line); grid-template-columns: auto minmax(0, 1fr) auto; background: none; }
.game-list--season .season-row:last-child { border-bottom: 0; }
.season-row .season-row__square {
  width: 34px; height: 34px; border-radius: var(--kit-corner-button-small);
  display: grid; place-items: center; color: var(--kit-ink);
  font: var(--kit-text-row-title-weight) var(--kit-text-small-size)/1 var(--kit-text-row-title-font);
}
.season-row .season-row__square.kit-square--went, .season-row .season-row__square.kit-square--sold, .season-row .season-row__square.kit-square--decide,
.season-row .season-row__square[class*="kit-square--person-"] { color: var(--kit-card); }
.season-row .season-row__square.kit-square--listed { color: var(--kit-field); }
.season-row .season-row__square.kit-square--look { color: var(--kit-muted); }
.season-row .opponent strong { font: var(--kit-text-row-title-weight) var(--kit-text-row-title-size)/1.3 var(--kit-text-row-title-font); }
.season-row .opponent span { color: var(--kit-muted); font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); }
.season-row__says { color: var(--kit-muted); font: var(--kit-text-small-weight) var(--kit-text-small-size)/1.4 var(--kit-text-small-font); white-space: nowrap; }
.season-row__says--decide { color: var(--kit-coral); font-weight: var(--kit-text-row-title-weight); }

/* Needs attention, in context: a card a night, its one-tap answers under it. */
.att-night__head { display: flex; align-items: center; gap: var(--s3); color: var(--kit-ink); text-decoration: none; }
.att-night__words { display: grid; gap: var(--s1); min-width: 0; }
.att-night__words .kit-text--small { color: var(--kit-muted); }
.att-night__day {
  flex: none; width: 34px; height: 34px; border-radius: var(--kit-corner-button-small); background: var(--kit-ahead);
  display: grid; place-items: center; color: var(--kit-ink);
  font: var(--kit-text-row-title-weight) var(--kit-text-small-size)/1 var(--kit-text-row-title-font);
}
.att-night__answers { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.att-night__answers form { margin: 0; }
.att-night__answer {
  min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--kit-line); border-radius: var(--kit-corner-button-small);
  background: var(--kit-card); color: var(--kit-ink); cursor: pointer;
  font: var(--kit-text-row-title-weight) var(--kit-text-small-size)/1 var(--kit-text-row-title-font);
}
.att-night__answer:focus-visible { outline: 2px solid var(--kit-field); outline-offset: 2px; }
/* Home's one row for the next night waiting: its day on a coral square. */
.row .att-home__day {
  margin-top: 0;
  flex: none; width: 34px; height: 34px; border-radius: var(--kit-corner-button-small); background: var(--kit-coral);
  display: grid; place-items: center; color: var(--kit-card);
  font: var(--kit-text-row-title-weight) var(--kit-text-small-size)/1 var(--kit-text-row-title-font);
}

/* Inbox beside the message you opened (kit_split). Under 1000 wide the list
   is the phone's, each row its own answer. From 1000 a row is its summary,
   a link over it opens the message in the pane, and the open one is Field. */
.inboxitem { position: relative; }
.inboxitem__open { display: none; }
.inbox-pane .inboxrow,
.inbox-pane .inbox-card { border: 0; padding: 0; margin: 0; background: none; }
@media (min-width: 1000px) {
  .inboxitem__open { display: block; position: absolute; inset: 0; z-index: 1; border-radius: var(--kit-corner-block); }
  .inboxitem__open:focus-visible { outline: 2px solid var(--kit-field); outline-offset: 2px; }
  .kit-split__list .inboxrow > :not(.inboxrow__top),
  .kit-split__list .inbox-card > :not(.source):not(h2) { display: none; }
  .kit-split__list .inboxlist { gap: var(--s1); }
  .kit-split__list .inboxrow,
  .kit-split__list .inbox-card { border-radius: var(--kit-corner-block); margin: 0; }
  .kit-split__list .inboxitem:hover .inboxrow.is-settled { background: var(--kit-card); }
  .kit-split__list .inboxitem:has(.inboxitem__open[aria-current="page"]) :is(.inboxrow, .inbox-card) { background: var(--kit-field); border-color: var(--kit-field); }
  .kit-split__list .inboxitem:has(.inboxitem__open[aria-current="page"]) :is(.inboxrow__title, .inboxrow__sub, .inboxrow__when, .source b, .source span, .inbox-card h2) { color: var(--kit-card); }
  .kit-split__list .inboxitem:has(.inboxitem__open[aria-current="page"]) .inboxrow__mark { background: none; color: var(--kit-card); }
}

/* More and Settings beside the page you opened (kit_split). The chosen row
   is Field from 1000 wide, with its ring drawn inside the list's edge. */
.more-pane .screen-inner { padding: 0; }
@media (min-width: 1000px) {
  .kit-split__list .more2__row:focus-visible { outline: 2px solid var(--kit-field); outline-offset: -2px; box-shadow: none; border-radius: 0; }
  .kit-split__list .more2__row[aria-current="page"] { background: var(--kit-field); color: var(--kit-card); }
  .kit-split__list .more2__row[aria-current="page"] :is(.more2__text strong, .more2__text span, .more2__chev) { color: var(--kit-card); }
  .kit-split__list .more2__row[aria-current="page"] .more2__tile { background: var(--kit-card); }
  .kit-split__list .more2__row[aria-current="page"]:focus-visible { outline-color: var(--kit-card); }
  .more-pane .back { display: none; }
}
