/* The one look (Nov 10, 2026, branch claude-app). Loaded last. Step 1 of moving the redesign into the app:
   every older color, corner and shadow name is pointed at the one set of values from docs/redesign/STAGE-1-ONE-LOOK.md.
   Flat: a white page (near-black at night), thin lines, no shadows, one blue. Nothing is rearranged here. */
html:root, html:root #app, html:root #app.app-shell, html:root #dialog-root, html:root .gc-shell, html:root #cheer-experience {
  --ol-page: #0e1015; --ol-card: #181b23; --ol-sunken: #232733; --ol-line: #343a4a; --ol-text: #f2f4f9; --ol-text-2: #aab1c2;
  --ol-brand: #3a5cf5; --ol-on-brand: #ffffff; --ol-link: #a9bbff; --ol-soft: #1d2850; --ol-ok: #8fdbab;
}
html:root[data-appearance=light], html:root[data-appearance=light] #app, html:root[data-appearance=light] #app.app-shell, html:root[data-appearance=light] #dialog-root, html:root[data-appearance=light] .gc-shell, html:root[data-appearance=light] #cheer-experience {
  --ol-page: #f3f4f8; --ol-card: #ffffff; --ol-sunken: #e9ebf2; --ol-line: #d5d9e4; --ol-text: #12151c; --ol-text-2: #4d5466;
  --ol-brand: #2447d8; --ol-on-brand: #ffffff; --ol-link: #1f3fc4; --ol-soft: #e3e9ff; --ol-ok: #0f6b3a;
}
html:root, html:root #app, html:root #app.app-shell, html:root #dialog-root, html:root .gc-shell, html:root #cheer-experience {
  --bg: var(--ol-page); --canvas: var(--ol-page); --gc-bg: var(--ol-page); --sheet-surface: var(--ol-page);
  --surface: var(--ol-card); --surface-card: var(--ol-card); --s1: var(--ol-card); --gc-card: var(--ol-card); --field: var(--ol-card); --sheet-card-surface: var(--ol-card); --floating-surface: var(--ol-card);
  --surface2: var(--ol-sunken); --surface-raised: var(--ol-sunken); --surface-higher: var(--ol-sunken); --s2: var(--ol-sunken); --fill: var(--ol-sunken); --gc-inset: var(--ol-sunken); --soft: var(--ol-sunken);
  --line: var(--ol-line); --ln: var(--ol-line); --l2: var(--ol-line); --edge: var(--ol-line); --semantic-divider: var(--ol-line); --soft-line: var(--ol-line);
  --text: var(--ol-text); --tx: var(--ol-text); --text-primary: var(--ol-text); --gc-text: var(--ol-text);
  --muted: var(--ol-text-2); --sc: var(--ol-text-2); --text-secondary: var(--ol-text-2); --gc-muted: var(--ol-text-2); --fb: var(--ol-text-2);
  --blue: var(--ol-brand); --act: var(--ol-brand); --ac: var(--ol-brand); --accent: var(--ol-brand); --gc-blue: var(--ol-brand); --action-blue: var(--ol-brand);
  --on-accent: var(--ol-on-brand); --on: var(--ol-on-brand); --gc-onblue: var(--ol-on-brand);
  --link: var(--ol-link); --action-link: var(--ol-link);
  --selection-surface: var(--ol-soft); --desktop-selection: var(--ol-soft);
  --green: var(--ol-ok); --success: var(--ol-ok);
  --radius-card: 20px; --radius-control: 12px; --radius-action: 12px;
  --shadow: transparent; --sh: transparent; --shadow-raised: none;
}
/* Flat: no shadows on anything but the floating tab bar. Cards get a thin line instead. */
#app *, #dialog-root * { box-shadow: none !important; }
#app nav.nav { border: 1px solid var(--ol-line); }
body { background: var(--ol-page); }
#app .card, #dialog-root .card, #app .ch-sec, #app .cs-box { border: 1px solid var(--ol-line); border-radius: 20px; }

/* ---- Page and cards (step 1b) ---- */
html, body, html[data-appearance=light] body, html[data-appearance=dark] body, #app.app-shell, #app, .boot-state { background: var(--ol-page); }
#dialog-root .sheet, #dialog-root [role=dialog], #dialog-root .sheet-body, #dialog-root .sheet-scroll { background: var(--ol-page); }
#app *, #dialog-root * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; text-shadow: none !important; }
#app :is(.card, .row-group, .race-card, .keep-card, .ch-sec, .cs-box, .who-guide), #app :not(.card, .row-group, .sheet-list) > .home-row, #dialog-root :is(.card, .row-group, .sheet-list) { background: var(--ol-card); border: 1px solid var(--ol-line); border-radius: 20px; }
#app :is(input, select, textarea), #dialog-root :is(input, select, textarea) { background: var(--ol-card); border: 1px solid var(--ol-line); border-radius: 12px; color: var(--ol-text); }
/* Person colors: one flat color each instead of a glossy ball. */
#app [class*="person-c"], #dialog-root [class*="person-c"], #app .avatar, #dialog-root .runner-dot, #app .runner-dot, #app .avatar--spectator, #app #cheer-experience .gc-runner-avatar { background-image: none; }
#app .person-c0, #dialog-root .person-c0 { background-color: #2447d8; } #app .person-c1, #dialog-root .person-c1 { background-color: #b34700; }
#app .person-c2, #dialog-root .person-c2 { background-color: #1a7a45; } #app .person-c3, #dialog-root .person-c3 { background-color: #b02a6a; }
#app .person-c4, #dialog-root .person-c4 { background-color: #6a45c4; } #app .person-c5, #dialog-root .person-c5 { background-color: #12787a; }
#app .person-c6, #dialog-root .person-c6 { background-color: #8a6400; color: #fff; } #app .person-c7, #dialog-root .person-c7 { background-color: #b3261e; }
#app .avatar, #dialog-root .runner-dot, #app .runner-dot { background-color: #2447d8; } #app .avatar--spectator { background-color: #6a45c4; }

/* ---- Buttons (step 2) ---- */
#app .primary, #dialog-root .primary, #app button.primary, #app a.primary { background: var(--ol-brand); color: var(--ol-on-brand); border: 0; border-radius: 12px; min-height: 48px; box-shadow: none; background-image: none; }
#app :is(.secondary, .quiet), #dialog-root :is(.secondary, .quiet) { background: var(--ol-sunken); color: var(--ol-text); border: 0; border-radius: 12px; min-height: 48px; background-image: none; }
#app :is(.text-btn, .who-guide a, .link), #dialog-root .text-btn { color: var(--ol-link); background: none; border: 0; }
#app a:not(.primary):not(.secondary):not(.row):not([role=button]), #dialog-root a:not(.primary):not(.secondary) { color: var(--ol-link); }

/* ---- Tab bar and top bar (step 3) ---- */
#app nav.nav { background: var(--ol-card); border: 1px solid var(--ol-line); }
#app nav.nav button, #app nav.nav button[aria-current="page"], #app nav.nav > button.add-nav[aria-current="page"] { background: none !important; color: var(--ol-text-2); font-size: 13px !important; }
#app nav.nav button[aria-current="page"], #app nav.nav button[aria-current="page"] span { color: var(--ol-link) !important; }
#app nav.nav span, #app nav.nav .nav-label, #app nav.nav.nav-simple button { font-size: 13px !important; }
#app .signin-pill { background: none; border: 0; color: var(--ol-link); border-radius: 12px; }

#app .me-btn .me-face { background: var(--ol-card) !important; background-image: none !important; color: var(--ol-text) !important; border: 1px solid var(--ol-line); box-shadow: none !important; }

/* ---- Amber is only the underline under headlines: amber text becomes secondary text (step 4) ---- */
#app :is(.week-strip .is-race small, .week-strip .is-race b, .map-daybar .is-race small, .map-daybar .is-race:not([aria-pressed="true"]) b, .fit-when, .route-leg.is-tight, .pick-leg.is-tight, .glance-gap.is-clash, .rh-race .rh-kick, h2.archive-day, .rh-kick),
#dialog-root :is(.behind, .sheet-warn, .route-leg.is-tight, .pick-leg.is-tight) { color: var(--ol-text-2) !important; }
#app .explore-detail-card .sheet-warn { color: var(--ol-text-2) !important; }

/* ---- Text sizes (step 5): nothing under 13px ---- */
#app :is(small, .eyebrow, .pick-transit, .pick-note, .photo-credit, .pick-hero__eb, .pick-hero__note, .pick-more__h, .pick-tag, .map-credit-text, .race-pill, .text-btn), #dialog-root :is(small, .eyebrow, .text-btn) { font-size: 13px; }
#app .race-pill { font-size: 13px; background: var(--ol-sunken); color: var(--ol-text-2); }
#app .race-pill.is-next { background: var(--ol-soft); color: var(--ol-link); }

/* Amber fills become the one blue (amber is only the headline underline). */
#app :is(.week-strip, .map-daybar) .is-race[aria-pressed="true"] b { background: var(--ol-brand); color: var(--ol-on-brand); }
#app :is(.route-row .mile.is-now, .route-row .mile.is-now small) { background: var(--ol-brand); color: var(--ol-on-brand); }
#app .pick-tag, #dialog-root .pick-tag { background: var(--ol-soft); color: var(--ol-link); border-radius: 12px; }
#app .step-bar i.on { background: var(--ol-brand); }
#app .type-tabs [aria-pressed="true"]::after { background: var(--ol-brand); }
#app .map-tool .filter-active-dot { background: var(--ol-brand); }
#app .course-end--finish { border-color: var(--ol-brand); }
#app :is(small, .eyebrow, .field-help, .pick-transit, .race-pill) , #app :is(span, p).eyebrow, #app .person-c1 { font-size: 13px !important; }
#app span:is([class*="-sub"], [class*="-meta"], [class*="-note"]) { font-size: max(13px, 1em); }
#app .stop-who span, #app .stop-who small, #dialog-root :is(small, .eyebrow, .rp-band span, .rp-stub small), #app button > span.sub { font-size: 13px !important; }

/* An older rule zeroes every border (#app * { border-width: 0 !important }), so cards get their line back here. */
#app :is(.card, .row-group, .race-card, .keep-card, .ch-sec, .cs-box, .who-guide, :not(.card, .row-group, .sheet-list) > .home-row, .pick-hero__tile, .home-race-card),
#dialog-root :is(.card, .row-group, .sheet-list), #app nav.nav { border-width: 1px !important; border-style: solid !important; border-color: var(--ol-line) !important; border-radius: 20px !important; }
#app :is(input, select, textarea), #dialog-root :is(input, select, textarea) { border-width: 1px !important; border-radius: 12px !important; }
#app nav.nav { border-radius: 24px !important; }
/* the people circle in the top bar: surface with a line, dark letter */
#app .appbar .avatar-stack .avatar, #app .appbar .avatar { background: var(--ol-card) !important; background-image: none !important; color: var(--ol-text) !important; border: 1px solid var(--ol-line) !important; }
#app.look-c .race-pill.is-next, #app .race-pill.is-next { background: var(--ol-soft) !important; color: var(--ol-link) !important; }
#app .week-strip .is-race[aria-pressed="true"] b, #app .map-daybar .is-race[aria-pressed="true"] b { background: var(--ol-brand) !important; color: var(--ol-on-brand) !important; }
#app .map-pin, #app .map-pin.cheer.map-pin--spot, #app .map-course, #app button.map-pin--cluster { box-shadow: none !important; }
#app .map-pin.cheer.map-pin--spot { outline: 2px solid var(--ol-brand); outline-offset: 1px; }
#app :is(span.eyebrow, .eyebrow) { font-size: 13px !important; }
#app :is(.pick-coming__src, .pick-hero__bar > span, .crew-trow > span, .race-stop-pin, .msd-wk, .msd-n) { font-size: 13px !important; }
#app .map-side-day.is-race:not([aria-pressed="true"]) { color: var(--ol-text-2) !important; }
@media (min-width: 1024px) {
  #app nav.nav { border-width: 0 1px 0 0 !important; border-radius: 0 !important; box-shadow: none !important; }
}
@media (max-width: 1023px) { #app nav.nav { box-shadow: 0 6px 18px rgba(16, 22, 40, 0.10) !important; } }

/* Keep what the older rules guarded: the pin numbers stay small inside their pins; the first screen keeps its two buttons in view. */
#app .map-pin__mile { font-size: 11px !important; }
#app .desktop-suggestion, #app .desktop-suggestion *, #app .desktop-stop-copy, #app .desktop-stop-copy * { white-space: normal; min-width: 0; }
@media (max-width: 360px) { #app nav.nav { left: 4px !important; right: 4px !important; } #app nav.nav.nav-simple button { padding-left: 0 !important; padding-right: 0 !important; letter-spacing: -0.02em; } }
#app .pick-hero { margin-bottom: 6px; }

/* ---- Top bar with a plan: Share, and the round initial (OVERNIGHT item 2) ---- */
#app .top-share { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 10px; background: none; border: 0; color: var(--ol-link); font: 600 16px/1 Inter, sans-serif; border-radius: 12px; }
#app .top-share .icon, #app .top-share img { width: 24px; height: 24px; flex: none; }
#app .top-initial { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 4px; padding: 0; border-radius: 50%; background: var(--ol-card); color: var(--ol-text); border: 1px solid var(--ol-line); font: 600 17px/1 Inter, sans-serif; }
@media (min-width: 1024px) {
  #app:has(>nav.nav) .appbar .top-share { position: fixed; z-index: 31; left: 0; bottom: 80px; width: var(--rail); flex-direction: column; gap: 4px; padding: 6px 0; min-height: 56px; font-size: 13px; }
  #app:has(>nav.nav) .appbar .top-initial { position: fixed; z-index: 31; left: calc((var(--rail) - 44px) / 2); bottom: 22px; margin: 0; }
}
html[data-appearance] #app .appbar .top-initial { background: var(--ol-card) !important; border: 1px solid var(--ol-line) !important; color: var(--ol-text) !important; border-radius: 50% !important; }
html[data-appearance] #app .appbar .top-share { background: none !important; border: 0 !important; color: var(--ol-link) !important; }

/* ---- More (OVERNIGHT item 3): two titled groups of rows like mock/more.html ---- */
#dialog-root .more-h:first-child { margin-top: 4px; }
#dialog-root .sheet-row > .grow strong { font-size: 17px; font-weight: 600; }
#dialog-root .sheet-row > .grow small { font-size: 15px; color: var(--ol-text-2); }
#dialog-root .sheet-row .chev { color: var(--ol-text-2); }

/* ---- Today's race photo with the flat navy tint (OVERNIGHT item 4a) ---- */
#app .tripphoto-wrap { margin: 0 0 16px; }
#app .tripphoto { position: relative; display: flex; align-items: flex-end; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--ol-sunken); }
#app .tripphoto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#app .tripphoto::after { content: ""; position: absolute; inset: 0; background: rgba(29, 40, 80, 0.66); }
#app .tripphoto__name { position: relative; z-index: 1; margin: 0; padding: 16px; width: 100%; color: #fff; font: 600 30px/1.05 Barlow, "Arial Narrow", Impact, sans-serif; }
#app .tripphoto__name small { display: block; margin-bottom: 8px; color: #fff; font: 600 13px/1.3 Inter, sans-serif !important; letter-spacing: 0.07em; text-transform: uppercase; }
#app .tripphoto__credit { margin: 6px 2px 0; color: var(--ol-text-2); font-size: 13px; }
#app .tripphoto__credit summary { cursor: pointer; font-size: 13px; color: var(--ol-link); }
#app .tripphoto__credit span { display: block; margin-top: 4px; font-size: 13px; }
@media (min-width: 960px) { #app .tripphoto { aspect-ratio: 16 / 6; } #app .tripphoto__name { font-size: 38px; padding: 24px; } }
/* The day-at-a-glance lines may wrap onto a second line rather than be cut with "..." at the larger text size. */
#app .glance-item small, #app .glance-item small .keep-end { white-space: normal; overflow: visible; text-overflow: clip; }
/* Top bar: the initial matches Share's height; the photo tint is real color so contrast checks see what people see. */
#app .top-initial { width: 48px; height: 48px; }
#app .tripphoto { background: #1d2850; }
#app .tripphoto > img { opacity: 0.22; }
#app .tripphoto::after { content: none; }
#app .tripphoto__credit a { display: inline-block; min-height: 44px; line-height: 44px; }
#app .top-initial { flex: none; min-width: 48px; }
#app .top-share { flex: none; }

/* ---- Keep your plan: a quiet row at the bottom of Today (mock/today.html) ---- */
#app .keep-card { background: var(--ol-sunken) !important; border-color: var(--ol-sunken) !important; box-shadow: none !important; margin: 24px 0 12px; padding: 12px 56px 12px 16px; align-items: center; }
#app .keep-card .keep-art { width: 32px; height: 32px; }
#app .keep-card small { margin: 2px 0 0; font-size: 15px; color: var(--ol-text-2); }
#app .keep-card .primary { width: auto; min-height: 44px; margin-top: 2px; padding: 0; background: none; color: var(--ol-link); justify-content: flex-start; text-align: left; }

/* ---- Race Day: a slim photo band above the race card (OVERNIGHT item 6) ---- */
#app .tripphoto--band { aspect-ratio: 16 / 4; }
#app .tripphoto--band .tripphoto__name { font-size: 22px; padding: 12px 16px; }
#app .tripphoto--band .tripphoto__name small { margin-bottom: 4px; }
@media (min-width: 960px) { #app .tripphoto--band { aspect-ratio: 16 / 3; } #app .tripphoto--band .tripphoto__name { font-size: 26px; } }

/* ---- First screen: "How it works", centered (mock/home.html) ---- */
#app .how-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; margin: 8px auto 28px; padding: 0; max-width: 900px; }
#app .how-steps li { display: flex; align-items: center; gap: 12px; text-align: left; }
#app .how-steps .icon, #app .how-steps img { width: 32px; height: 32px; flex: none; }
#app .how-steps strong { display: block; font-size: 17px; font-weight: 600; }
#app .how-steps small { display: block; font-size: 15px; color: var(--ol-text-2); }
#app .pick-more { text-align: center; }
/* The picked event's pin on the What's On map: filled blue with a white ring. */
#detail-map .map-pin.is-picked { outline: 3px solid var(--ol-brand); outline-offset: 2px; border-radius: 50%; }

/* ---- Screens built to the approved mocks (Nov 10, 2026). Sizes from mock/tokens.css; colors from the --ol set above. ---- */
/* Today (mock/today.html) */
#app .tm-head { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 20px; }
#app .eyebrow.tm-eyebrow { margin: 0; font: 600 13px/1.3 Inter, system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ol-text-2); }
#app .tm-display { margin: 0; font: 600 38px/1.05 Barlow, "Arial Narrow", sans-serif; color: var(--ol-text); letter-spacing: 0; }
#app .tm-count { color: var(--ol-link); }
#app .tm-rule { width: 48px; height: 4px; border-radius: 999px; background: #ffb020; }
#app .tm-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding-bottom: 32px; }
#app .tm-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 8px; border: 0; border-radius: 12px; background: var(--ol-sunken); color: var(--ol-text); font: 600 15px/1.3 Inter, system-ui, sans-serif; cursor: pointer; }
#app .tm-quiet :is(img, svg) { width: 24px; height: 24px; flex: none; }
#app .tm-sec { display: flex; flex-direction: column; gap: 16px; }
#app .tm-line { list-style: none; margin: 0; padding: 0; }
#app .tm-day { padding-bottom: 32px; }
#app .tm-day:last-child { padding-bottom: 8px; }
#app .tm-day-title { margin: 0; font: 600 20px/1.3 Inter, system-ui, sans-serif; color: var(--ol-text); }
#app .card.tm-card { margin-top: 8px; padding: 0 !important; overflow: hidden; background: var(--ol-card); border: 1px solid var(--ol-line); border-radius: 20px; }
#app .tm-row { display: flex; align-items: center; width: 100%; min-height: 72px; margin: 0; padding: 0 16px 0 0; gap: 4px; background: none; border: 0; border-radius: 0; color: var(--ol-text); text-align: left; }
#app .tm-card > .tm-row + .tm-row { border-top: 1px solid var(--ol-line) !important; }
#app .tm-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 0 12px 16px; background: none; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
#app .tm-open > .grow, #app .tm-addto > .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#app .tm-row :is(.tm-icon, .state-art) { width: 32px; height: 32px; flex: none; }
#app .tm-when { font: 600 15px/1.4 Inter, system-ui, sans-serif; color: var(--ol-link); }
#app .tm-title { font: 600 17px/1.3 Inter, system-ui, sans-serif; color: var(--ol-text); }
#app .tm-sub { font: 400 15px/1.5 Inter, system-ui, sans-serif; color: var(--ol-text-2); }
#app .tm-mile { flex: none; width: 48px; min-height: 48px; border-radius: 12px; background: var(--ol-soft); color: var(--ol-link); display: grid; place-content: center; text-align: center; font: 600 20px/1.05 Barlow, "Arial Narrow", sans-serif; }
#app .tm-mile small { display: block; font: 600 13px/1.2 Inter, system-ui, sans-serif; letter-spacing: .07em; color: var(--ol-link); }
#app .tm-add { flex: none; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; background: none; border: 0; border-radius: 999px; cursor: pointer; }
#app .tm-add :is(img, svg) { width: 32px; height: 32px; }
#app .tm-addto { padding: 12px 16px; gap: 12px; cursor: pointer; font: inherit; }
#app .tm-row .chev { color: var(--ol-text-2); font-size: 20px; flex: none; }
#app .tm-row.is-past .tm-open { opacity: .6; }
#app .tm-sec + .more-link, #app .tm-sec ~ .more-link { display: block; margin: 8px auto 16px; }
/* First screen (mock/home-phone.html) */
#app .pick-hero.fs-head { display: flex; flex-direction: column; gap: 8px; text-align: left; margin: 0; padding: 24px 0 32px; }
#app .pick-hero.fs-head .tm-rule { margin: 4px 0 0; }
#app .eyebrow.fs-pick { margin: 0 0 16px; }
#app .ch-sec.fs-race { padding: 0 !important; overflow: hidden; margin-bottom: 16px; }
#app .fs-race .ch-photo.fs-photo { position: relative; height: auto; aspect-ratio: 16 / 8; margin: 0; border-radius: 0; }
#app .fs-race .fs-photo::after { content: ""; position: absolute; inset: 0; background: rgba(29, 40, 80, .66); }
#app .fs-race .fs-name { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; margin: 0; color: #fff; font: 600 28px/1.05 Barlow, "Arial Narrow", sans-serif; }
#app .fs-race .fs-body { display: block; margin: 0; padding: 16px 16px 8px; }
#app .fs-race .fs-name-plain { display: block; font: 600 20px/1.3 Inter, system-ui, sans-serif; margin-bottom: 4px; }
#app .fs-race .fs-line { margin: 0; }
#app .fs-race .ch-doors { gap: 12px; padding: 8px 16px 16px; }
#app .fs-race .ch-door { min-height: 48px; border-radius: 12px; background: var(--ol-soft); color: var(--ol-link); }
#app .fs-race .ch-door strong { font: 600 15px/1.3 Inter, system-ui, sans-serif; color: var(--ol-link); }
#app .fs-race .ch-door :is(img, svg) { width: 24px; height: 24px; }
#app .fs-race .ch-door.is-on { background: var(--ol-brand); color: var(--ol-on-brand); box-shadow: none; }
#app .fs-race .ch-door.is-on strong { color: var(--ol-on-brand); }
@media (min-width: 900px) { #app #page-content.app-content:has(>.pick-hero) > .ch-sec.fs-race .ch-photo.fs-photo { aspect-ratio: auto; } }
#app #page-content .pick-coming { display: block; padding: 4px 16px 12px !important; margin: 16px 0; }
#app .pick-coming h2 { margin: 12px 0 4px; font: 600 13px/1.3 Inter, system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ol-text-2); }
#app .pick-coming .coming-block + .coming-block { border-top: 1px solid var(--ol-line); }
#app .pick-coming .coming-row { min-height: 64px; padding: 10px 0; gap: 12px; }
#app .pick-coming .coming-row strong { font: 600 17px/1.3 Inter, system-ui, sans-serif; }
#app .pick-coming .coming-row small { font-size: 15px; color: var(--ol-text-2); }
#app .pick-coming :is(.coming-block, .coming-row) { border: 0 !important; background: none !important; border-radius: 0 !important; }
#app .pick-coming .coming-block + .coming-block { border-top: 1px solid var(--ol-line) !important; }
/* Race Day for a runner (mock/race-day.html) */
#app .card.rd-card { padding: 0 !important; overflow: hidden; position: relative; margin: 0 0 12px; }
#app .rd-card .rd-photo { position: relative; aspect-ratio: 16 / 6; border-radius: 0; overflow: hidden; margin: 0; }
#app .rd-card .rd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#app .rd-card .rd-photo::after { content: ""; position: absolute; inset: 0; background: rgba(29, 40, 80, .66); }
#app .rd-card .rd-photo .tripphoto__name { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; margin: 0; color: #fff; font: 600 22px/1.05 Barlow, "Arial Narrow", sans-serif; }
#app .rd-card .rd-photo .tripphoto__name small { display: block; font: 600 13px/1.3 Inter, system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 6px; }
#app .rd-card .rd-who { position: relative; padding: 16px 16px 12px; }
#app .rd-card .rd-name { margin: 6px 0 0; font: 600 38px/1.05 Barlow, "Arial Narrow", sans-serif; color: var(--ol-text); }
#app .rd-card .racepass-edit { position: absolute; right: 12px; top: 12px; }
#app .rd-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ol-line); }
#app .rd-cell { padding: 12px 16px; min-height: 64px; }
#app .rd-cell:nth-child(3n+2), #app .rd-cell:nth-child(3n+3) { border-left: 1px solid var(--ol-line); }
#app .rd-cell:nth-child(n+4) { border-top: 1px solid var(--ol-line); }
#app .rd-cell dt { margin: 0; font: 600 13px/1.3 Inter, system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ol-text-2); }
#app .rd-cell dd { margin: 4px 0 0; font: 600 17px/1.3 Inter, system-ui, sans-serif; color: var(--ol-text); }
#app .rd-add { padding: 0; min-height: 0; background: none; border: 0; color: var(--ol-link); font: 600 17px/1.3 Inter, system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#app .primary.rd-share { width: 100%; margin: 0 0 32px; }
#app .rd-sec { margin-bottom: 32px; }
#app .tm-card > .rd-row + .rd-row { border-top: 1px solid var(--ol-line) !important; }
#app div.rd-row { padding: 12px 16px; gap: 12px; }
#app button.rd-row:not(.tm-addto) { padding: 12px 16px; gap: 12px; cursor: pointer; font: inherit; }
#app .rd-row > .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
/* What's On (mock/whats-on.html) */
#app .wo-search { margin: 0 0 16px; }
#app .wo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
#app .wo-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ol-line); border-radius: 999px; background: var(--ol-card); color: var(--ol-text); font: 600 15px/1.3 Inter, system-ui, sans-serif; cursor: pointer; }
#app .wo-chip .wo-chip-ico, #app .wo-chip :is(img, svg) { width: 22px; height: 22px; flex: none; }
#app .wo-chip[aria-pressed="true"] { background: var(--ol-brand); border-color: var(--ol-brand); color: var(--ol-on-brand); }
#app .wo-day { margin-bottom: 32px; gap: 8px; }
#app button.wo-chip { border: 1px solid var(--ol-line) !important; background: var(--ol-card) !important; color: var(--ol-text) !important; border-radius: 999px !important; min-height: 44px !important; padding: 8px 16px !important; }
#app button.wo-chip[aria-pressed="true"] { background: var(--ol-brand) !important; border-color: var(--ol-brand) !important; color: var(--ol-on-brand) !important; }
#app form.wo-search { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px !important; background: var(--ol-sunken) !important; border: 0 !important; border-radius: 12px !important; }
#app form.wo-search input { background: transparent !important; border: 0 !important; min-height: 46px; font-size: 17px; }
/* More (mock/more.html): on a phone the More menu is a whole page with the mock's heading; the same entries, unchanged. */
/* Crew (mock/crew.html) */
#app .primary.crew-copy { width: 100%; margin: 12px 0 8px; }
#app .eyebrow.crew-h { margin: 32px 0 8px; }
#app .crew-list > :is(.home-row, .home-add) + :is(.home-row, .home-add) { border-top: 1px solid var(--ol-line); }
#app .crew-list .home-add { min-height: 64px; padding: 12px 16px; font-size: 17px; font-weight: 600; }
#app .crew-list > * + * { border-top: 1px solid var(--ol-line) !important; border-radius: 0 !important; }
/* The two ways in, as the mock's quiet pair; text on photos gets the tint's own color behind it (contrast checks). */
#app .fs-head .ways-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 16px 0 0; max-width: 560px; }
#app .fs-head .way-in, #app .fs-head .way-in:first-child { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-height: 56px; padding: 8px 12px; border: 0 !important; border-radius: 12px !important; background: var(--ol-sunken) !important; color: var(--ol-text) !important; text-align: left; }
#app .fs-head .way-in strong { font: 600 15px/1.3 Inter, system-ui, sans-serif; color: var(--ol-text) !important; }
#app .fs-head .way-in small { font-size: 13px; color: var(--ol-text-2) !important; }
#app .fs-race .fs-photo, #app .rd-card .rd-photo, #app .tripphoto { background-color: #1d2850; }
#app .eyebrow.tm-races-h { margin: 16px 0 8px; }
#app .tm-card .explore-row.is-selected { background: var(--ol-soft); }
/* Keep the first race's buttons on the first screen of a small phone (personas, rules); a picked door is outlined, not filled. */
#app .pick-hero.fs-head { padding: 12px 0 20px; gap: 6px; }
#app .fs-head .ways-in { margin-top: 12px; }
#app .fs-head .way-in, #app .fs-head .way-in:first-child { min-height: 48px; }
@media (max-width: 899px) { #app .fs-race .ch-photo.fs-photo { aspect-ratio: 16 / 6; } #app .eyebrow.fs-pick { margin-bottom: 12px; } }
@media (max-width: 379px) { #app .fs-head .way-in small { display: none; } #app .fs-head .tm-display { font-size: 32px; } }
#app .fs-race .ch-door.is-on { background: var(--ol-soft) !important; color: var(--ol-link); box-shadow: inset 0 0 0 2px var(--ol-brand) !important; }
#app .fs-race .ch-door.is-on strong { color: var(--ol-link); }
#app .rd-add { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
#app .rd-add .state-art, #app .rd-add :is(img, svg) { width: 22px; height: 22px; }
@media (max-width: 379px) { #app .fs-head .way-in small { display: none !important; } }
/* A long place name in an event's sheet wraps instead of being cut off on a 320 px phone (crew_share D1, Nov 10). */
#dialog-root .home-row .grow strong { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; display: block; overflow-wrap: anywhere; max-height: none !important; }
@media (max-width: 379px) { #app .fs-head .way-in { padding: 6px 8px !important; gap: 6px !important; } #app .fs-head .way-in > span { min-width: 0; } #app .fs-head .way-in strong { white-space: normal !important; font-size: 14px !important; line-height: 1.2 !important; } #app .fs-head .way-in :is(img, svg) { width: 22px !important; height: 22px !important; } }
#app .tm-day-title .day-medal { width: 22px; height: 22px; margin-left: 6px; vertical-align: -3px; }
#app .day-race { white-space: nowrap; }
#app .rd-cell { min-width: 0; } #app .rd-cell dd { overflow-wrap: anywhere; }
/* The race search on the laptop first screen (mock/home.html) */
#app form.fs-search { display: none !important; }
@media (min-width: 1024px) {
  #app form.fs-search { display: flex !important; align-items: center; gap: 10px; max-width: 560px; min-height: 52px; margin: 16px 0 0; padding: 0 16px !important; background: var(--ol-sunken) !important; border: 0 !important; border-radius: 12px !important; }
  #app form.fs-search :is(img, svg) { width: 24px; height: 24px; flex: none; }
  #app form.fs-search input { flex: 1; min-width: 0; min-height: 50px; background: transparent !important; border: 0 !important; font-size: 17px; color: var(--ol-text); }
}
/* ---- First screen on a laptop (mock/home.html), Nov 10 ---- */
#app .fs-toplinks { display: none; }
@media (min-width: 1024px) {
  #app .fs-toplinks { display: flex; gap: 8px; margin-right: 8px; }
  #app .fs-toplinks button { background: none; border: 0; padding: 10px 12px; font: 600 17px/1.3 Inter, system-ui, sans-serif; color: var(--ol-text); cursor: pointer; border-radius: 12px; }
  #app .fs-toplinks button:hover { background: var(--ol-sunken); }
  #app #page-content.app-content:has(>.fs-wide) { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: 24px !important; row-gap: 0 !important; align-items: start; }
  #app #page-content.app-content:has(>.fs-wide) > * { grid-column: 1 / -1 !important; grid-row: auto !important; max-width: none; margin-left: 0; margin-right: 0; }
  #app #page-content.app-content:has(>.fs-wide) > .ch-sec.fs-wide-race { grid-column: span 2 !important; display: grid !important; grid-template-columns: 36% minmax(0, 1fr); margin: 0 0 24px !important; min-height: 164px; }
  #app #page-content.app-content:has(>.fs-wide) > .fs-coming { grid-column: span 1 !important; margin: 0 0 24px !important; }
  #app .pick-hero.fs-wide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px 0 40px; text-align: left; margin: 0; }
  #app .fs-wide__panel { display: flex; flex-direction: column; gap: 12px; }
  #app .fs-giant { font-size: 56px !important; line-height: 1.05 !important; }
  #app .fs-wide form.fs-search { display: flex !important; max-width: none; min-height: 72px; margin: 0; padding: 0 24px !important; border-radius: 999px !important; }
  #app .fs-wide form.fs-search input { font-size: 22px !important; min-height: 70px; }
  #app .fs-sechead { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 16px; }
  #app .fs-title { margin: 0; font: 600 28px/1.05 Barlow, "Arial Narrow", sans-serif; color: var(--ol-text); }
  #app .fs-all { font: 600 17px/1.3 Inter, system-ui, sans-serif; color: var(--ol-link); padding: 8px 0; }
  #app .fs-wide-race .ch-photo.fs-photo { aspect-ratio: auto !important; height: 100% !important; min-height: 164px !important; flex: none !important; }
  #app .fs-wide-race .fs-photo .fs-name { font-size: 28px; }
  #app .fs-wide-race .fs-wbody { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; gap: 12px; min-width: 0; }
  #app .fs-wide-race .fs-body { padding: 0 !important; }
  #app .fs-wide-race .fs-body .tm-eyebrow { margin: 0 0 4px; }
  #app .fs-wide-race .ch-doors { padding: 0 !important; display: flex !important; gap: 8px; }
  #app .fs-wide-race .ch-door { padding: 0 16px; }
  #app .card.fs-tile { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
  #app .fs-tphoto { position: relative; aspect-ratio: 2 / 1; background: #1d2850; }
  #app .fs-tphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
  #app .fs-tphoto::after { content: ""; position: absolute; inset: 0; background: rgba(29, 40, 80, .66); }
  #app .fs-tphoto .fs-name { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; margin: 0; color: #fff; font: 600 28px/1.05 Barlow, "Arial Narrow", sans-serif; }
  #app .fs-tbody { display: flex; flex-direction: column; gap: 16px; padding: 16px; flex: 1; }
  #app .fs-tbody .fs-line { margin: 0; flex: 1; }
  #app .fs-bell { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; font: 600 15px/1.3 Inter, system-ui, sans-serif; }
  #app .fs-bell :is(img, svg) { width: 24px; height: 24px; }
  #app .fs-asked { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 15px/1.3 Inter, system-ui, sans-serif; color: var(--ol-ok); }
  #app .fs-asked :is(img, svg) { width: 22px; height: 22px; }
  #app .fs-src { margin: 0 0 8px; color: var(--ol-text-2); }
}
@media (min-width: 1024px) {
  #app #page-content.app-content:has(>.fs-wide) { grid-auto-rows: auto !important; grid-template-rows: none !important; }
  #app .pick-hero.fs-wide h1.tm-display.fs-giant { font-size: 56px !important; line-height: 1.05 !important; }
  #app #page-content.app-content:has(>.fs-wide) > .photo-credit { margin: 0 0 24px !important; }
}
@media (min-width: 1024px) {
  #app .fs-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 24px; }
  #app .fs-tiles > .fs-coming { margin: 0 !important; }
}
/* Laptop type sizes from the mock (mock/tokens.css, 960 px and up): xs 14, sm 16, md 18, lg 22, xl 32, 2xl 52, 3xl 80. */
@media (min-width: 960px) {
  #app .pick-hero.fs-wide h1.tm-display.fs-giant { font-size: 80px !important; }
  #app .fs-title { font-size: 32px !important; }
  #app :is(.tm-sub, .tm-when, .wo-chip, .tm-quiet, .fs-bell, .fs-asked) { font-size: 16px !important; }
  #app :is(.tm-title, .fs-all, .fs-toplinks button, .rd-cell dd, .rd-add) { font-size: 18px !important; }
  #app :is(.tm-day-title) { font-size: 22px !important; }
  #app .fs-wide form.fs-search input { font-size: 22px !important; }
  #app :is(.fs-name, .fs-tphoto .fs-name, .fs-wide-race .fs-photo .fs-name) { font-size: 32px !important; }
  #app .rd-card .rd-name { font-size: 52px !important; }
  #app .rd-cell dt { font-size: 14px !important; }
  #app .ch-door strong { font-size: 16px !important; }
}
@media (min-width: 1024px) {
  #app:has(#page-content > .fs-wide) .appbar, #app #page-content.app-content:has(>.fs-wide) { max-width: 1224px !important; margin-left: auto !important; margin-right: auto !important; }
  #app:has(#page-content > .fs-wide) .appbar > .icon-btn[data-action="settings"] { display: none; }
  #app:has(#page-content > .fs-wide) .appbar .signin-pill span { font-size: 18px !important; }
}
@media (min-width: 1024px) { #app #page-content.app-content:has(>.fs-wide) { padding-left: 0 !important; padding-right: 0 !important; } #app:has(#page-content > .fs-wide) .appbar { padding-left: 0 !important; padding-right: 0 !important; } }
/* What's On on a laptop (mock/whats-on.html): a tall map of every place with events, numbered pins, a note under it. */
@media (min-width: 1024px) {
  #app .explore-detail-card > .detail-map-wrap { height: min(56vh, 520px) !important; border-radius: 16px !important; }
  #detail-map .map-pin.map-pin--count { width: 32px !important; height: 32px !important; border-radius: 999px !important; background: var(--ol-brand) !important; color: #fff !important; box-shadow: 0 0 0 2px #fff !important; font: 600 15px/1 Inter, system-ui, sans-serif; display: grid; place-items: center; }
  #app .detail-map-note { margin: -8px 22px 18px; font-size: 14px; color: var(--ol-text-2); }
}
/* Laptop: Share and the initial sit in the top right corner, as in every laptop mock (Nov 10). */
@media (min-width: 1024px) {
  #app:has(>nav.nav) .appbar .top-share { left: auto !important; bottom: auto !important; top: 20px !important; right: 88px !important; width: auto !important; flex-direction: row !important; gap: 6px !important; padding: 0 10px !important; min-height: 48px !important; }
  #app:has(>nav.nav) .appbar .top-initial, #app:has(>nav.nav) .appbar .me-btn { position: fixed !important; z-index: 31; left: auto !important; bottom: auto !important; top: 20px !important; right: 32px !important; margin: 0 !important; }
  #app:has(>nav.nav) #page-content.app-content { padding-top: 76px !important; }
}
/* More on a laptop (mock/more.html): a page beside the side menu, the two groups side by side. */
/* Crew on a laptop (mock/crew.html) */
@media (min-width: 1024px) {
  #app .crew-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1180px; }
  #app .crew-r > .eyebrow.crew-h:first-child { margin-top: 0; }
  #app .crew-l .primary.crew-copy { margin-top: 16px; }
}
#app .rd-cells { border-top: 1px solid var(--ol-line) !important; }
#app .rd-cell:nth-child(3n+2), #app .rd-cell:nth-child(3n+3) { border-left: 1px solid var(--ol-line) !important; }
#app .rd-cell:nth-child(n+4) { border-top: 1px solid var(--ol-line) !important; }
/* The side menu on a laptop, at the mock's size */
@media (min-width: 1024px) { #app nav.nav button span { font-size: 14px !important; } #app nav.nav button :is(img, svg) { width: 30px !important; height: 30px !important; } }
@media (min-width: 1024px) { #app .fs-toplinks button.way-in { display: inline-block !important; flex: none !important; min-height: 44px !important; padding: 10px 12px !important; border: 0 !important; border-radius: 12px !important; background: none !important; box-shadow: none !important; color: var(--ol-text) !important; font: 600 17px/1.3 Inter, system-ui, sans-serif !important; } #app .fs-toplinks button.way-in:hover { background: var(--ol-sunken) !important; } #app .fs-all.who-all { display: inline; min-height: 0; padding: 8px 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; width: auto !important; } }
@media (min-width: 1024px) {
  #app .fs-sechead .fs-all.who-all { display: inline-block !important; flex: none !important; white-space: nowrap !important; width: auto !important; max-width: none !important; }
  #app .rd-card .rd-photo { aspect-ratio: 16 / 3.2 !important; }
}
/* The map's "Open in Map" is the label only, so the numbered pins are not under a button (look rules, Nov 10). */
@media (min-width: 1024px) { #app .detail-map-open { inset: auto !important; top: 0 !important; left: 0 !important; width: auto !important; height: auto !important; } }
@media (min-width: 1024px) { #app .fs-sechead .fs-all.who-all { color: var(--ol-link) !important; font: 600 18px/1.3 Inter, system-ui, sans-serif !important; } }
/* ---- Wide screens, from the mock (mock/mock.css: 1600 px and 2200 px; Ethan, Nov 10: "not optimized for wider desktop yet") ---- */
@media (min-width: 1024px) { :root { --rail: 120px; } }
@media (min-width: 1600px) {
  #app #page-content.app-content > .race-cols, #app #page-content.app-content > .explore-cols { max-width: 1480px !important; }
  #app .race-cols { grid-template-columns: minmax(0, 692px) minmax(320px, 1fr) !important; gap: 48px !important; }
  #app .explore-cols { grid-template-columns: minmax(0, 692px) minmax(340px, 1fr) !important; gap: 48px !important; max-width: 1480px !important; }
  #app:has(#page-content > .fs-wide) .appbar { max-width: 1504px !important; }
  /* The page scrolls at the window's right edge: the content keeps its 1504 px width through padding, not a narrower scroll box (Ethan, Nov 11, 2026: "don't like how the scroll bar lingers on the page"; DECISIONS #242). */
  #app #page-content.app-content:has(>.fs-wide) { max-width: none !important; margin-inline: 0 !important; padding-inline: max(0px, calc((100% - 1504px) / 2)) !important; }
  #app #page-content.app-content:has(>.fs-wide) { column-gap: 32px !important; }
  #app .fs-tiles { gap: 32px; }
  #app #page-content.app-content:has(>.crew-cols) { max-width: 1384px !important; margin-left: auto !important; margin-right: auto !important; }
  #app .crew-cols { max-width: none; gap: 72px; }
}
@media (min-width: 2200px) {
  #app #page-content.app-content > .race-cols, #app #page-content.app-content > .explore-cols { max-width: 1960px !important; }
  #app .race-cols { grid-template-columns: minmax(0, 836px) minmax(320px, 1fr) !important; gap: 72px !important; }
  #app .explore-cols { grid-template-columns: minmax(0, 836px) minmax(340px, 1fr) !important; gap: 72px !important; max-width: 1960px !important; }
  #app:has(#page-content > .fs-wide) .appbar, #app #page-content.app-content:has(>.fs-wide) { max-width: 1984px !important; }
  #app #page-content.app-content:has(>.crew-cols) { max-width: 1456px !important; }
  #app .explore-detail-card > .detail-map-wrap { height: min(62vh, 760px) !important; }
  /* the mock's bigger type: xs 15, sm 18, md 20, lg 24, xl 36, 2xl 60 */
  #app .fs-title { font-size: 36px !important; }
  #app :is(.tm-sub, .tm-when, .wo-chip, .tm-quiet, .fs-bell, .fs-asked, .ch-door strong) { font-size: 18px !important; }
  #app :is(.tm-title, .fs-all, .fs-toplinks button, .rd-cell dd, .rd-add, .fs-sechead .fs-all.who-all) { font-size: 20px !important; }
  #app .tm-day-title { font-size: 24px !important; }
  #app :is(.fs-name, .fs-tphoto .fs-name, .fs-wide-race .fs-photo .fs-name) { font-size: 36px !important; }
  #app nav.nav button span { font-size: 15px !important; }
  #app .top-share span { font-size: 18px; }
  #app .rd-card .rd-photo .tripphoto__name { font-size: 28px; }
}
/* What's On on a laptop: the side panel never scrolls on its own (Ethan, Nov 10: no scroll bars on cards on desktop). */
@media (min-width: 1024px) {
  #app aside.explore-detail, #app .explore-detail, #app .explore-detail-card { max-height: none !important; overflow: visible !important; position: static !important; }
  #app .card, #app aside, #app section { scrollbar-width: none; }
  #app .card::-webkit-scrollbar, #app aside::-webkit-scrollbar { display: none; }
  #app nav.nav { width: var(--rail) !important; }
  #app nav.nav button { width: 100% !important; }
  #app nav.nav button span { white-space: nowrap; }
}
/* All Races and its Coming Up list: one clean card per race, no box inside the box (Ethan, Nov 10: "this looks bad"). */
#app .race-list .coming-block .coming-row, #app .race-list .coming-block .home-row { border: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
#app .race-list .race-photo { position: relative; background: #1d2850; }
#app .race-list .race-photo::after { content: ""; position: absolute; inset: 0; background: rgba(29, 40, 80, .35); pointer-events: none; }
#app .race-list .race-photo .race-date { z-index: 1; }
#app .race-others .look-search.setup-search { background: var(--ol-sunken) !important; border: 0 !important; border-radius: 999px !important; min-height: 52px; padding: 0 18px !important; }
#app .race-others .look-search.setup-search input { background: transparent !important; border: 0 !important; }
/* All Races on a laptop: the same list as a phone, centered, with the mock's heading and search (no mock for this page). */
@media (min-width: 1024px) { #app .race-others .race-section > .section-heading h2 { font: 600 28px/1.05 Barlow, "Arial Narrow", sans-serif !important; color: var(--ol-text); } }
/* ---- Frame for screens built from the mock's own files (.m, see test/app/mock-ui.css) ---- */
#app:has(#page-content > .m .m-has-tabbar) > .appbar > :not(.appbrand) { display: none !important; }
@media (max-width: 1023px) { #app:has(#page-content > .m .m-has-tabbar) > .appbar { display: none !important; } }

#app #page-content.app-content:has(> .m) { padding: 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; display: block !important; }
@media (min-width: 1024px) { #app #page-content.app-content:has(> .m) { padding-top: 0 !important; } }
#app.app-shell:has(>nav.nav) #page-content.app-content:has(> .m), #app:has(>nav.nav) #page-content.app-content:has(> .m) { padding: 0 !important; margin: 0 !important; max-width: none !important; }

/* More (mock/more.html): the sheet is drawn as the mock's page. It leaves the menu showing (the bottom bar on a phone,
   the side menu on a laptop), so it works like a tab, and its own sheet header is not shown. */
#dialog-root .sheet-shade:has(.more-page) { background: transparent !important; padding: 0 !important; }
#dialog-root .sheet.more-page { position: fixed !important; inset: 0 0 96px 0 !important; width: auto !important; max-width: none !important; max-height: none !important; height: auto !important; transform: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; overflow-y: auto !important; background: var(--ol-page) !important; box-shadow: none !important; }
#dialog-root .sheet.more-page > .sheet-head { display: none !important; }
@media (min-width: 1024px) { #dialog-root .sheet.more-page { inset: 0 0 0 var(--rail, 120px) !important; } }
/* The last setup step's second buttons (Copy Link, Text the Link) are the quiet gray button, never white on white (look rule flatButton) */
#app .setup-crew .step-stack :is(button, a).secondary, #app .step-stack :is(button, a).secondary.illustrated-action { background: var(--ol-sunken) !important; color: var(--ol-text) !important; }
/* How it works under the races on a laptop (mock/home.html .howrow): three items in a centered row; the pictures follow */
#app .how-row { display: none; }
@media (min-width: 1024px) {
  #app .how-row { display: flex; justify-content: center; gap: 48px; margin: 8px 0 32px; grid-column: 1 / -1; }
  #app .how-row__item { display: flex; align-items: center; gap: 12px; }
  #app .how-row__item :is(img, svg) { width: 32px; height: 32px; flex: none; }
  #app .how-row__item strong { display: block; font: 600 18px/1.3 Inter, system-ui, sans-serif; color: var(--ol-text); }
  #app .how-row__item small { display: block; font-size: 16px; color: var(--ol-text-2); }
  #app #page-content:has(> .how-row) > .pick-more .how-steps, #app #page-content:has(> .how-row) > .pick-more > .pick-more__h:first-child { display: none !important; }
}
/* Dark mode: the fallback map panel is dark too (the mock's map panel is dark; review item 4) */
html[data-appearance=dark] #app .grc-raster-map, html[data-appearance=dark] #app .m-citymap { background: #12151c !important; }
html[data-appearance=dark] #app .m-citymap .grc-raster-tiles { filter: invert(1) hue-rotate(180deg) brightness(.8) !important; }
/* The map inside the mock's Map page: it fills the frame; its own corner buttons give way to the mock's round buttons */
#app .m .map-host { position: absolute; inset: 0; z-index: auto; }
#app .m .m-fullmap.is-list .map-host { position: static; }
#app .m .map-host .map-canvas { position: absolute !important; inset: 0 !important; height: auto !important; margin: 0 !important; border-radius: 0 !important; }
#app .m .map-host .map-surface { position: absolute !important; inset: 0 !important; height: 100% !important; width: 100% !important; }
#app .m .map-host .map-buttons, #app .m .map-host .course-label { display: none !important; }
#app.map-page:has(#page-content > .m) #page-content.app-content { overflow: hidden !important; }
/* The fallback street map's notice sits at the bottom left, clear of the day strip, course chips and round buttons; the mock has no zoom buttons */
#app .m .map-host .desktop-tile-status { inset: auto auto 24px 16px !important; max-width: min(360px, calc(100% - 96px)); }
#app .m .map-host .grc-raster-controls { display: none !important; }
#app .m .map-host .desktop-tile-status { left: 16px !important; right: auto !important; top: auto !important; bottom: 24px !important; transform: none !important; }
#app.map-page:has(#page-content > .m) #page-content { padding-top: 0 !important; margin-top: 0 !important; top: 0 !important; }
/* The place preview on the full map stays clear of the tab bar on phones, and of the rail on laptops */
#app.map-page .m .map-host .map-selection { position: fixed !important; left: 12px !important; right: 12px !important; bottom: calc(108px + env(safe-area-inset-bottom)) !important; }
@media (min-width: 1024px) { #app.map-page .m .map-host .map-selection { left: calc(var(--rail, 120px) + 20px) !important; right: auto !important; width: min(440px, calc(100vw - var(--rail, 120px) - 120px)) !important; bottom: 24px !important; } }
/* The street map's credit stays clear of the tab bar on the full map (DECISIONS #155) */
#app.map-page .m .map-host .map-credit { position: fixed !important; bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
@media (min-width: 1024px) { #app.map-page .m .map-host .map-credit { bottom: 12px !important; } }
/* An opened place sits above the day strip and course chips, and stays under the top bar */
#app.map-page .m .map-host .map-selection { z-index: 7 !important; max-height: calc(100vh - 108px - 88px) !important; overflow: auto !important; }
@media (min-width: 1024px) { #app.map-page .m .map-host .map-selection { max-height: calc(100vh - 48px) !important; } }
/* More on its own (review round 2): the page under it is hidden, so nothing shows through around the tab bar; the
   shade stops above the tab bar (phone) or beside the rail (laptop), so the tab bar and rail stay tappable. */
html:has(#dialog-root .more-page) #page-content { visibility: hidden !important; }
#dialog-root .sheet-shade.more-shade { inset: 0 0 96px 0 !important; background: transparent !important; }
@media (min-width: 1024px) { #dialog-root .sheet-shade.more-shade { inset: 0 0 0 var(--rail, 120px) !important; } }
/* Behind the floating tab bar and under a short More, the same color as the More page itself (one tone in dark mode) */
html:has(#dialog-root .more-page) #app, #dialog-root .sheet.more-page { background: var(--ol-card) !important; }
/* Laptop first screen (review round 3, notes 2 and 9): a smaller search on the right, with matches under it as you type */
@media (min-width: 1024px) {
  #app .fs-wide .fs-searchwrap { position: relative; justify-self: end; width: min(100%, 420px); }
  #app .fs-wide form.fs-search { min-height: 52px !important; padding: 0 18px !important; }
  #app .fs-wide form.fs-search input, #app .pick-hero.fs-wide form.fs-search input { font-size: 17px !important; min-height: 50px !important; }
  #app .fs-wide form.fs-search :is(img, svg) { width: 20px; height: 20px; }
  #app .fs-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; padding: 8px; background: var(--ol-sunken); border-radius: 20px; }
  #app .fs-results .race-list { margin: 0; box-shadow: none; }
  #app .fs-results .fs-none { margin: 8px 12px; color: var(--ol-text-2); font-size: 16px; }
  #app .fs-results .fs-seeall { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ol-link); font-weight: 600; }
}
/* Continue after I'm Running / I'm Cheering (review round 3, note 7): a lighter, smaller bar, soft blue with a small
   blue Continue button, instead of a solid blue band; the in-page Continue is a normal-size button, not full width. */
#app .keep-bar.pick-bar { min-height: 56px !important; padding: 6px 6px 6px 14px !important; gap: 10px !important; background: var(--ol-soft) !important; color: var(--ol-text) !important; border-radius: 18px !important; }
#app .keep-bar.pick-bar :is(strong) { color: var(--ol-text) !important; font-size: 15px !important; }
#app .keep-bar.pick-bar :is(small) { color: var(--ol-text-2) !important; }
#app .keep-bar.pick-bar .keep-go { background: var(--ol-brand) !important; color: var(--ol-on-brand) !important; min-height: 44px !important; padding: 0 16px !important; border-radius: 14px !important; }
#app .keep-bar.pick-bar :is(.icon, img, svg) { width: 26px !important; height: 26px !important; }
@media (min-width: 600px) { #app .keep-bar.pick-bar { left: 50% !important; right: auto !important; width: 380px !important; transform: translateX(-50%) !important; } }
@media (min-width: 1024px) { #app button.who-go { width: auto !important; min-width: 220px; padding-left: 28px !important; padding-right: 28px !important; margin-left: auto !important; margin-right: auto !important; display: flex !important; } }
#app:has(.pick-bar) button.who-go { display: none !important; }
#app .pick-hero__swipe .pv-desc { display: none; }
/* Laptop first screen (review round 3, notes 6 and 8): the three phone pictures in a row instead of the laptop picture
   (its map panel was empty), and the Where to Watch link at a readable width, not the full page. */
@media (min-width: 1024px) {
  /* See What You Get, Ethan's pick A (Nov 11, 2026; DECISIONS #244): three cards as wide as the race cards, each a
     picture of the app in use over its title and one line on what it does. */
  #app .pick-more:has(.pick-hero__swipe) { text-align: left !important; }
  #app .pick-more:has(.pick-hero__swipe) > .pick-more__h:not(:first-child) { text-align: left !important; margin: 0 0 14px !important; }
  #app .pick-more .pick-hero__swipe { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0 !important; padding: 0 !important; }
  #app .pick-more .pick-hero__swipe figure { flex: none; margin: 0; background: var(--ol-card); border-radius: 20px; overflow: hidden; }
  #app .pick-more .pick-hero__tile { height: 380px !important; padding: 24px 40px 0; background: var(--ol-sunken) !important; border-radius: 0 !important; box-shadow: none !important; overflow: hidden; }
  #app .pick-more .pick-hero__tile img { border-radius: 16px 16px 0 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
  #app .pick-more .pick-hero__swipe figcaption { margin: 0 !important; padding: 18px 22px 22px; }
  #app .pick-more .pick-hero__swipe .pv-title { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ol-text); }
  #app .pick-more .pick-hero__swipe .pv-desc { display: block !important; margin-top: 4px; font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--ol-text); opacity: .72; }
  #app .pick-more .pick-hero__note { text-align: left !important; margin: 10px 0 0 !important; max-width: none !important; width: 100% !important; padding: 0 !important; align-self: stretch !important; }
  #app a.who-guide { max-width: 520px; margin-left: auto !important; margin-right: auto !important; }
}
/* Sources sheet (DECISIONS #235) and the small Sources link that replaces every on-screen source and date */
#dialog-root .sources-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 14px; }
#dialog-root .sources-list li { display: grid; gap: 2px; font-size: 15px; line-height: 1.4; color: var(--ol-text); }
#dialog-root .sources-list li span { color: var(--ol-text-2); font-size: 14px; }
#dialog-root .sources-list a { color: var(--ol-link); }
#dialog-root .sources-more summary, :is(#app, #dialog-root) .photo-credits summary { cursor: pointer; color: var(--ol-link); font-weight: 600; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
:is(#app, #dialog-root) .photo-credits p { font-size: 13px; color: var(--ol-text-2); margin: 0 0 8px; }
:is(#app, #dialog-root) .sources-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ol-link) !important; font: inherit; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; }
/* The live app's course buttons on the mock's Map (review round 3, note 12): flat (no shadow), under the day strip */
#app .m .map-coursehost { margin-top: 8px; }
#app .m .map-coursehost .map-courses { box-shadow: none !important; }
#app .m .map-coursehost .map-courses { background: var(--ol-card) !important; padding: 5px !important; border-radius: 18px !important; }
#app .m .map-coursehost .map-course { border: 0 !important; }
/* All Races on a laptop (review round 3, note 4): built from the first screen's parts (allRacesWide) */
@media (min-width: 1024px) {
  #app .fs-wide div.fs-search { display: flex !important; align-items: center; gap: 10px; min-height: 52px; padding: 0 8px 0 18px !important; border-radius: 999px !important; background: var(--ol-sunken) !important; }
  #app .fs-wide div.fs-search input { flex: 1; min-width: 0; min-height: 50px; font-size: 17px !important; background: transparent !important; border: 0 !important; color: var(--ol-text); outline: none; }
  #app .fs-wide div.fs-search :is(img, svg) { width: 20px; height: 20px; flex: none; }
  #app .ar-head .pick-back { align-self: flex-start; margin: 0 0 8px; }
  #app button.ar-tile { cursor: pointer; text-align: left; border: 0 !important; width: 100%; font: inherit; color: inherit; }
  #app .ar-tile .fs-tbody { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  #app .fs-tiles > .race-pick[hidden] { display: none !important; }
  #app .ar-lead { margin: -8px 0 16px; color: var(--ol-text-2); font-size: 16px; }
  #app .ar-season { margin: 0 0 12px; font: 600 14px/1.3 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); }
}

/* No outlines where the fill already sets a thing apart (review round 3, note 13): a soft gray page in light mode,
   white cards, buttons and bars on it, no line around them. Lines between rows inside a card stay. */
html:root #app nav.nav,html:root #app .card,html:root #dialog-root .card,html:root #app .ch-sec,html:root #app .cs-box,html:root #app .card.tm-card,html:root #app .wo-chip,html:root #app button.wo-chip,html:root #app .me-btn .me-face,html:root #app .appbar .avatar,html:root[data-appearance] #app .appbar .top-initial,html:root #app .top-initial,html:root #app .who-guide,html:root #app .keep-card,html:root #app .fs-tile,html:root #app .ch-door,html:root #dialog-root .sheet-list,html:root #app .row-group,html:root #app .race-card { border-color: transparent !important; box-shadow: none !important; }
#app :is(input, select, textarea), #dialog-root :is(input, select, textarea) { border-color: transparent !important; background: var(--ol-sunken) !important; }
#app .look-search input, #dialog-root .look-search input { background: transparent !important; }
#dialog-root .sheet { background: var(--ol-page) !important; }
html:has(#dialog-root .more-page) #app, #dialog-root .sheet.more-page { background: var(--ol-page) !important; }
#app .look-search, #app form.fs-search, #app .fs-wide form.fs-search, #app .fs-wide div.fs-search, #dialog-root .look-search { background: var(--ol-card) !important; border-color: transparent !important; }
#app .fs-results { background: var(--ol-card) !important; }
@media (min-width: 1024px) { #app .ar-sec { margin: 0 0 8px; } #app .ar-sec[hidden], #app .coming-season[hidden] { display: none !important; } }

/* The first screen's top menu has icons, like every other word button (Ethan, Nov 11, 2026: "on top menu, why no
   icons"; DECISIONS #242). */
@media (min-width: 1024px) {
  #app .fs-toplinks button, #app .fs-toplinks button.way-in, #app .appbar .signin-pill { display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; text-align: left !important; }
  #app .fs-toplinks button.way-in > :is(span, strong, small) { display: inline !important; margin: 0 !important; }
  #app .fs-toplinks button img, #app .appbar .signin-pill img { display: block !important; width: 24px !important; height: 24px !important; flex: none !important; }
}
/* Every button on a race card is the same gray as Tell Me When It's Ready: I'm Cheering and I'm Running too; a picked
   one turns brand blue (Ethan, Nov 11, 2026: "I want the grey buttons for I'm cheering and I'm running. Make all of
   them look like the current tell me when it's ready"; DECISIONS #242). */
#app .fs-race .ch-door:not(.is-on) { background: var(--ol-sunken) !important; color: var(--ol-text) !important; }
#app .fs-race .ch-door:not(.is-on) strong { color: var(--ol-text) !important; }

/* Choose Your Cheer Spot in the redesign's look (Ethan, Nov 11, 2026: "icons are blue when they are on blue background, the
   map is light in dark mode, the search bar has layers which looks weird, it isn't wide enough on desktop"; DECISIONS #243).
   The page title is the redesign's eyebrow, Barlow title and amber rule (.title-row); the search is one rounded field;
   the choices are pills like every other chip; on a laptop the page is as wide as the rest of the app (1180px). */
#app .gc-shell .gc-page-heading.title-row { display: block !important; padding: 0 0 20px !important; }
#app .gc-shell .gc-page-heading.title-row .gc-back { margin-bottom: 14px; }
#app .gc-shell .gc-page-heading.title-row h1 { font-family: Barlow, Inter, sans-serif !important; font-weight: 600 !important; font-size: 42px !important; line-height: 1 !important; letter-spacing: -.3px !important; margin: 8px 0 0 !important; color: var(--ol-text) !important; }
#app .gc-shell .gc-page-heading.title-row h1::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 2px; background: #ffb020; margin-top: 8px; }
#app .gc-shell .gc-page-heading.title-row .sub { display: block !important; margin: 12px 0 0 !important; font-size: 15px !important; letter-spacing: 0 !important; color: var(--ol-text) !important; opacity: .72; }
#app .gc-mobile .gc-page-heading.title-row { padding: 0 4px 16px !important; }
#app .gc-mobile .gc-page-heading.title-row h1 { font-size: 32px !important; }
#app .gc-shell .ce-address-form { background: var(--ol-sunken) !important; border: 0 !important; box-shadow: none !important; border-radius: 999px !important; padding: 0 6px 0 16px !important; min-height: 50px; gap: 10px !important; }
#app .gc-shell .ce-address-form:focus-within { outline: 2px solid var(--ol-brand); outline-offset: 2px; }
#app .gc-shell .ce-address-form input { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; outline: none !important; padding: 12px 0 !important; min-height: 0 !important; color: var(--ol-text) !important; }
#app .gc-shell .ce-address-form img { width: 22px !important; height: 22px !important; flex: none; }
#app .gc-shell .ce-address-form button[type="submit"] { color: var(--ol-link) !important; font-weight: 600; font-size: 14px !important; padding: 8px 12px !important; background: transparent !important; }
#app .gc-shell .gc-intents { gap: 8px !important; }
#app .gc-shell .gc-intents button { border: 0 !important; border-radius: 999px !important; background: var(--ol-sunken) !important; color: var(--ol-text) !important; font-size: 13px !important; font-weight: 600 !important; min-height: 44px !important; padding: 8px 14px !important; }
#app .gc-shell .gc-intents [aria-pressed="true"] { background: var(--ol-brand) !important; color: var(--ol-on-brand) !important; }
@media (min-width: 1024px) {
  #app:not(.home-page):not(.map-page) #page-content.app-content > #cheer-host { max-width: 1180px !important; }
  #app .gc-shell:not(.gc-mobile) .gc-workspace { display: grid !important; grid-template-columns: minmax(340px, 400px) minmax(0, 1fr) !important; gap: 36px !important; padding: 0 !important; }
  #app .gc-shell:not(.gc-mobile) .gc-map { min-height: 560px; }
}
#app .gc-shell .gc-other button .gc-other-mile { font: 600 24px/1 Barlow, Inter, sans-serif !important; font-variant-numeric: tabular-nums; width: 52px !important; }
#app .gc-shell .gc-other button strong { font-size: 14px !important; }
#app .gc-shell .gc-other button small { font-size: 13px !important; }
/* Choose Your Cheer Spot on a phone (Ethan, Nov 12, 2026, 9:20 PM; DECISIONS #267). The search hint is whole: the clear
   button only takes room once there is something to clear. The map is as tall as the screen allows, so the mile slider
   and Set My Spot Here (one panel, moved there by cheer-experience.js) show on the first screen above the bottom menu;
   on a short phone the panel stays pinned above the menu (the page keeps 110px of room at the bottom, the menu's strip is
   92px plus the safe area, so the panel's bottom is set 18px into that room). The note about the colors goes under the panel. */
#app .gc-shell .ce-address-form input:placeholder-shown ~ .search-clear { display: none !important; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) { overflow: clip; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-course { display: flex; flex-direction: column; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-course > :is(.ce-message, .ce-address-results):empty { display: none; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .ce-map { height: clamp(200px, calc(100dvh - 618px), 335px); }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .ce-legend { order: 2; margin: 2px 0 0; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) - 18px); z-index: 3; background: var(--ol-page); padding: 10px 0 8px; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: '. mile .' 'prev range next' '. labels .' 'go go go'; column-gap: 10px; align-items: center; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control-heading { display: contents; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control-heading > div { grid-area: mile; flex-direction: column; align-items: center; gap: 3px; }
/* On a phone the place's name sits with its mile here, not on the map, so it never covers a pin (DECISIONS #267). */
#app .gc-shell.gc-mobile .ce-map-label, #app .gc-shell:not(.gc-mobile) .gc-mile-place { display: none; }
#app .gc-shell.gc-mobile .gc-mile-place { font-size: 13px; font-weight: 600; color: var(--ol-text); text-align: center; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control [data-ui="prev"] { grid-area: prev; width: 44px; min-height: 44px; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control [data-ui="next"] { grid-area: next; width: 44px; min-height: 44px; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control [data-ui="range"] { grid-area: range; margin: 0; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control .gc-range-labels { grid-area: labels; margin-top: 2px; }
#app .gc-shell.gc-mobile:not(.gc-route-mode) .gc-mile-control .gc-primary { grid-area: go; margin-top: 10px; min-height: 48px; font-size: 15px; white-space: nowrap; }
#app .gc-shell .ce-map-label.is-low { top: auto; bottom: 12px; }
/* The next step's card scrolls into view clear of the bottom menu. */
#app .gc-shell.gc-mobile :is(.gc-precision, .gc-save-form, .gc-receipt) { scroll-margin-bottom: 104px; }

/* The race search box shows where the keyboard is, like every other control (WCAG 2.4.7; Nov 11 UX review). */
#app .fs-search input:focus-visible, #app .fs-search input:focus { outline: 2px solid var(--ol-brand) !important; outline-offset: 2px !important; border-radius: 999px; }
/* "Free and unofficial" at a readable size on every screen (DECISIONS #248). */
#app .fs-free { font-size: 13px !important; letter-spacing: .12em; margin: 0 0 6px !important; }
/* Race Day's Next card stays blue with white words; the flat card rule above made it white on white (Ethan, Nov 12, 2026; DECISIONS #251). */
#app .card.rh-next:not(.is-free) { background: #2f54eb; color: #fff; border: 0; }
/* Privacy and Sources stay together, so neither sits alone on a line (DESIGN.md section 0 #40; #252). */
#app .footer-links, #dialog-root .footer-links { white-space: nowrap; }
/* Nothing peeks out around the phone's floating bottom menu: a band of page color fills the gap at its sides and under it (DESIGN.md section 0 #7; reviewer, Nov 12, 2026; #252). */
@media (max-width: 1023px) { html:root #app:has(> nav.nav)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(92px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, transparent 0, var(--ol-page) 34px); z-index: 4; pointer-events: none; } }
/* Ethan, Nov 12, 9:20 PM: "there's like a black background behind menu on all screens". The band now fades in over its
   first 34 px, so content fades out above the floating menu instead of stopping at a hard dark edge. */
:is(#app, #dialog-root) p .sources-link { display: inline; min-height: 0; padding: 14px 4px; margin: -14px 0; }
/* Privacy looks like Sources beside it: same color and weight, no underline (rule 26; #252). */
:is(#app, #dialog-root) .privacy-link { color: var(--ol-link) !important; font-weight: 600 !important; text-decoration: none !important; }

/* No visible scroll bars anywhere (Ethan, Nov 12, 2026: "I don't like the visible scroll bar"). Lists and pages still
   scroll by swipe, wheel or trackpad; redesign_rules.py's scrollbar check fails if a bar shows again. */
html, body, :is(#app, #dialog-root), :is(#app, #dialog-root) * { scrollbar-width: none !important; }
html::-webkit-scrollbar, body::-webkit-scrollbar, :is(#app, #dialog-root)::-webkit-scrollbar, :is(#app, #dialog-root) ::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* A button's words never wrap (Ethan, Nov 12, 2026, from Mobbin: Klarna, Superpower, ChatGPT, Fresha). On small phones
   the first screen's buttons get a little tighter instead; redesign_rules.py's wrapLabel check fails on a wrapped label. */
@media (max-width: 360px) {
  .ch-doors { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 8px; padding: 8px 12px 14px; }
  .ch-door strong { white-space: nowrap; }
  #app .fs-head .ways-in { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  #app .fs-head .way-in strong { white-space: nowrap; }
}
/* "Tell Me When It's Ready" keeps its words on one line (rule 76) */
#app .fs-bell, #app .coming-bell { white-space: nowrap; }
#app .fs-bell span, #app .coming-bell span { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1279px) {
  #app .fs-tbody .coming-bell { font-size: 13px !important; padding-left: 8px !important; padding-right: 8px !important; gap: 6px !important; width: 100%; justify-content: center; }
  #app .fs-tbody .coming-bell :is(img, svg) { width: 20px !important; height: 20px !important; }
}
/* First screen on a phone (Ethan, Nov 12: "these descriptions also look weird on phone"): How It Works lines up in one
   left-aligned column, and the three pictures stack instead of running off the right edge (no strips off the edge). */
@media (max-width: 1023px) {
  #app .pick-more { text-align: left !important; }
  #app .pick-more > .pick-more__h { text-align: left !important; }
  #app .how-steps { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 16px; margin: 8px 0 28px; max-width: none; }
  #app .how-steps li { justify-content: flex-start; }
  #app .pick-hero__swipe { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: visible !important; scroll-snap-type: none !important; margin: 14px 0 0 !important; padding: 0 !important; }
  #app .pick-hero__swipe figure { margin: 0; min-width: 0; width: auto !important; }
  #app .pick-hero__swipe .pick-hero__tile { height: 300px !important; overflow: hidden; }
}

/* ===== Buttons, option 2: soft tint (Ethan's pick, Nov 12, 2026; like Apple and Luma; DECISIONS #257). One style for every
   kind of button, set here once instead of screen by screen. What each button does and says is unchanged.
   - Main: solid blue, round ends. Second (secondary, quiet): a soft blue tint with blue words. Text: blue words only.
   - Round icon buttons and close ✕: a soft gray circle. Add at the end of a row: a soft blue circle with a blue plus
     (drawn in main.js's statusArt), solid blue with a white check once added.
   - Chips: soft gray, solid blue when picked. Segmented controls: a soft gray track, the picked part white.
   Buttons floating on a map stay white so they can be seen on the streets. ===== */
html:root:not(#_) :is(#app, #dialog-root) :is(button, a):is(.primary, .sheet-main), html:root:not(#_) :is(#app, #dialog-root) .cs-btn.primary, html:root:not(#_) #app .gx :is(.gx-btn--primary) { background: var(--ol-brand) !important; color: var(--ol-on-brand) !important; border: 0 !important; border-radius: 999px !important; min-height: 50px; background-image: none !important; }
html:root:not(#_) :is(#app, #dialog-root) :is(button, a):is(.secondary, .quiet, .sheet-go-btn), html:root:not(#_) #app .gx .gx-btn--second, html:root:not(#_) #app .setup-crew .step-stack :is(button, a).secondary, html:root:not(#_) #app .step-stack :is(button, a).secondary.illustrated-action { background: var(--ol-soft) !important; color: var(--ol-link) !important; border: 0 !important; border-radius: 999px !important; background-image: none !important; }
html:root:not(#_) :is(#app, #dialog-root) :is(button, a):is(.secondary, .quiet, .sheet-go-btn) :is(span, strong, b), html:root:not(#_) #app .gx a.gx-btn--second, html:root:not(#_) #app .gx a.gx-btn--second:visited { color: var(--ol-link) !important; }
html:root:not(#_) :is(#app, #dialog-root) .cs-tiles .cs-btn { background: var(--ol-soft) !important; color: var(--ol-link) !important; border: 0 !important; border-radius: 18px !important; }
html:root:not(#_) :is(#app, #dialog-root) .danger-text { color: #c0362a; }
html[data-appearance=dark]:not(#_) :is(#app, #dialog-root) .danger-text { color: #ffb4ab; }
/* Standards check, Nov 26: the button that deletes an account is red, not the blue of every other main button. White on #c0362a is 5.6:1 in both modes. */
html:root:not(#_) :is(#app, #dialog-root) button.primary.danger-primary { background: #c0362a !important; border-color: #c0362a !important; color: #fff !important; }
/* Round icon buttons and close buttons: a soft gray circle, at least 44 px. */
html:root:not(#_) :is(#app, #dialog-root) :is(.icon-btn, .icon-action, .sheet-close, .wo-detail-close, .review-detail-close, .map-place-close, .edit-icon-btn, .keep-x), html:root:not(#_) #app .gx .gx-close { background: var(--ol-sunken) !important; border: 0 !important; border-radius: 999px !important; min-width: 44px; min-height: 44px; color: var(--ol-text) !important; box-shadow: none !important; }
/* Add at the end of a row (statusArt in main.js): the circle and its plus or check. */
html:root:not(#_) :is(#app, #dialog-root) svg.soft-add { display: block; flex: none; overflow: visible; }
html:root:not(#_) :is(#app, #dialog-root) svg.soft-add .soft-add__disc { fill: var(--ol-soft); }
html:root:not(#_) :is(#app, #dialog-root) svg.soft-add .soft-add__mark { fill: none; stroke: var(--ol-link); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
html:root:not(#_) :is(#app, #dialog-root) svg.soft-add.is-on .soft-add__disc { fill: var(--ol-brand); }
html:root:not(#_) :is(#app, #dialog-root) svg.soft-add.is-on .soft-add__mark { stroke: #fff; }
/* Chips: soft gray, solid blue when picked. */
html:root:not(#_) :is(#app, #dialog-root) :is(button, a):is(.wo-chip, .pf-chip, .cs-chip, .archive-chip, .gc-runner-chip), html:root:not(#_) #app button.wo-chip, html:root:not(#_) #app .gx .gx-chip, html:root:not(#_) #app .gc-shell .gc-intents button { background: var(--ol-sunken) !important; color: var(--ol-text) !important; border: 0 !important; border-color: transparent !important; border-radius: 999px !important; }
html:root:not(#_) :is(#app, #dialog-root) :is(button, a):is(.wo-chip, .pf-chip, .cs-chip, .archive-chip, .gc-runner-chip):is([aria-pressed="true"], [aria-current="true"], .on, .is-on), html:root:not(#_) #app button.wo-chip[aria-pressed="true"], html:root:not(#_) #app .gx .gx-chip.is-on, html:root:not(#_) #app .gc-shell .gc-intents [aria-pressed="true"] { background: var(--ol-brand) !important; color: var(--ol-on-brand) !important; }
/* Small words inside a picked chip (the race tab's dates) follow the chip's own color, never the page's gray (Ethan, Nov 12, 11:49 PM: "dates are grey and hard to see"). */
html:root:not(#_) :is(#app, #dialog-root) :is(button, a):is(.wo-chip, .pf-chip, .cs-chip, .archive-chip, .gc-runner-chip):is([aria-pressed="true"], [aria-current="true"], .on, .is-on) small { color: inherit !important; }
html:root:not(#_) #app .setup-chip:not(.is-on) { background: var(--ol-sunken) !important; color: var(--ol-text) !important; }
html:root:not(#_) #app .setup-chip.is-on { background: var(--ol-brand) !important; color: var(--ol-on-brand) !important; }
/* Segmented controls: a soft gray track with round ends; the picked part is white. */
html:root:not(#_) :is(#app, #dialog-root) :is(.seg-control, .segmented) { background: var(--ol-sunken) !important; border: 0 !important; border-radius: 999px !important; padding: 4px !important; gap: 4px !important; }
html:root:not(#_) :is(#app, #dialog-root) :is(.seg-control, .segmented) button { border-radius: 999px !important; background: transparent !important; color: var(--ol-text-2) !important; font-weight: 600 !important; min-height: 44px; }
html:root:not(#_) :is(#app, #dialog-root) :is(.seg-control, .segmented) button:is([aria-pressed="true"], [aria-checked="true"], .is-on, .on) { background: var(--ol-card) !important; color: var(--ol-text) !important; }
/* A small phone (320 px) can't fit I'm Cheering and I'm Running side by side without cutting one off, so they stack, full
   width (Ethan's rule: buttons that don't fit side by side stack instead of wrapping or running past the edge). */
@media (max-width: 359px) { html:root #app .fs-race .ch-doors { grid-template-columns: minmax(0, 1fr) !important; } html:root #app .fs-race .ch-door { width: 100% !important; justify-content: center !important; } }

/* Small phones: the menu's five words never touch ("What's OnRace Day" at 320 px, the second reviewer, Nov 12) */
@media (max-width: 359px) {
  #app nav.nav span, #app nav.nav .nav-label { font-size: 12px !important; letter-spacing: -0.3px !important; }
  #app nav.nav button { padding-left: 1px !important; padding-right: 1px !important; min-width: 0 !important; }
}

/* A short label over a value never breaks: "Your spots", "Goal time" (320 px phones) */
:is(#app, #dialog-root) :is(.rp-facts small, .rd-cell dt) { white-space: nowrap; }
@media (max-width: 359px) {
  :is(#app, #dialog-root) .rd-cell dt { font-size: 11px; letter-spacing: .03em; }
  :is(#app, #dialog-root) .rd-cell { padding-left: 10px; padding-right: 8px; }
}

/* Switching races reloads the app: the page fades out first so it doesn't flash (Ethan, Nov 12) */
html.is-switching #app, html.is-switching #dialog-root { opacity: 0; transition: opacity .14s ease; }
@media (prefers-reduced-motion: reduce) { html.is-switching #app, html.is-switching #dialog-root { transition: none; } }

/* The Keep card's button: a full-width pill with room around its words (Ethan, Nov 12, 9:20 PM: "weird button side on
   keep my plan"; the soft-tint button styles had turned the old text link into a pill with no padding). */
#app .keep-card button.primary { display: flex !important; width: 100% !important; min-height: 48px !important; margin: 12px 0 0 !important; padding: 0 20px !important; justify-content: center !important; align-items: center !important; gap: 10px !important; text-align: center !important; white-space: nowrap !important; }
#app .keep-card { align-items: flex-start !important; }
