/* PHONE LAYOUT — html[data-oc-layout="phone"] + phone.css (2026-08-27)
 *
 * Separate phone app. Loaded last (after trophy-room.css / perf-online.css).
 * ALL rules scoped under html[data-oc-layout="phone"] so ≥720 / desk never change.
 * Beats WAVE 1–5d + Tailwind sm: via the html attribute (not more media-query !important).
 * Arena Night solid hex. No glass. No user-agent. No PDC.
 */

html[data-oc-layout="phone"] {
  font-size: 18px;
  background-color: #050d0a;
  --desk-kicker: 15px;
  --desk-chip: 16px;
  --desk-title: 22px;
  --app-dock-h: var(--app-dock-collapsed);
}

html[data-oc-layout="phone"],
html[data-oc-layout="phone"] body {
  font-size: 18px;
  background-color: #050d0a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Live dock 6.55rem must not pad Home on phone. */
html[data-oc-layout="phone"]:has(.app-dock--live),
html[data-oc-layout="phone"][data-app-dock="collapsed"]:has(.app-dock--live),
html[data-oc-layout="phone"]:has(.app-dock--live) body:has(.app-secondary-dock),
html[data-oc-layout="phone"]:has(.match-shell--scorer) {
  --app-dock-expanded: var(--app-dock-collapsed);
  --app-dock-h: var(--app-dock-collapsed);
}

/* ── Type: body 18 · kickers ≥15 · titles ≥22 · scores huge ── */
html[data-oc-layout="phone"] .ui-title,
html[data-oc-layout="phone"] .ui-hero,
html[data-oc-layout="phone"] h1:not(.match-hero-score),
html[data-oc-layout="phone"] h2,
html[data-oc-layout="phone"] h3,
html[data-oc-layout="phone"] .bc-title,
html[data-oc-layout="phone"] .cstr-modal__title,
html[data-oc-layout="phone"] .cstr-tile__title,
html[data-oc-layout="phone"] .match-chrome-title,
html[data-oc-layout="phone"] .match-player-name,
html[data-oc-layout="phone"] .home-pitch__t,
html[data-oc-layout="phone"] .home-mode-card__title,
html[data-oc-layout="phone"] .home-seo-mast__title,
html[data-oc-layout="phone"] .ced-type-card__title,
html[data-oc-layout="phone"] .ced-type-head__title,
html[data-oc-layout="phone"] .cfmt-round__name,
html[data-oc-layout="phone"] .olobby-card__hostname,
html[data-oc-layout="phone"] .olobby-card__title {
  font-size: 22px !important;
  line-height: 1.2;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

html[data-oc-layout="phone"] .ui-kicker,
html[data-oc-layout="phone"] .bc-kicker,
html[data-oc-layout="phone"] .cstr-tile__kicker,
html[data-oc-layout="phone"] .cstr-modal-head__kicker,
html[data-oc-layout="phone"] .cstr-tile__sub,
html[data-oc-layout="phone"] .cstr-hint,
html[data-oc-layout="phone"] .home-pitch__k,
html[data-oc-layout="phone"] .home-seo-mast__kicker,
html[data-oc-layout="phone"] .menu-section-label,
html[data-oc-layout="phone"] .ced-type-card__kicker,
html[data-oc-layout="phone"] .ced-type-head__kicker,
html[data-oc-layout="phone"] .cfmt-round__kicker,
html[data-oc-layout="phone"] .cfmt-round__lab,
html[data-oc-layout="phone"] .match-rest-kicker,
html[data-oc-layout="phone"] .match-pad-rest-kicker,
html[data-oc-layout="phone"] .olobby-card__hostlab,
html[data-oc-layout="phone"] .club-dock__kicker,
html[data-oc-layout="phone"] .app-shell-nav-label,
html[data-oc-layout="phone"] [class*="kicker"] {
  font-size: 15px !important;
  letter-spacing: 0.08em;
}

/* LAYOUT 5: compact rest on cards — 6rem hero killed (was LAYOUT 1). */
html[data-oc-layout="phone"] .match-hero-score {
  font-size: 40px !important;
  min-height: 40px !important;
  line-height: 0.88 !important;
}

/* ── Touch ≥48px · primary CTA ≥52px full width ── */
html[data-oc-layout="phone"] button,
html[data-oc-layout="phone"] [role="button"],
html[data-oc-layout="phone"] [role="tab"],
html[data-oc-layout="phone"] [role="tablist"] button,
html[data-oc-layout="phone"] .tap-target,
html[data-oc-layout="phone"] .chip,
html[data-oc-layout="phone"] .cstr-chip,
html[data-oc-layout="phone"] .md-rail__btn,
html[data-oc-layout="phone"] .app-shell-nav-item,
html[data-oc-layout="phone"] .app-dock-peek,
html[data-oc-layout="phone"] .app-dock-fold,
html[data-oc-layout="phone"] .home-mode-card__tab,
html[data-oc-layout="phone"] .home-mode-btn,
html[data-oc-layout="phone"] .cdraw__act,
html[data-oc-layout="phone"] .cnight__btn,
html[data-oc-layout="phone"] .cupc__gochip,
html[data-oc-layout="phone"] .olobby-finder-signed__go,
html[data-oc-layout="phone"] .club-dock__tab,
html[data-oc-layout="phone"] .club-dock__strip,
html[data-oc-layout="phone"] a.cta-primary,
html[data-oc-layout="phone"] a.cta-secondary {
  min-height: 48px !important;
}

html[data-oc-layout="phone"] .app-dock-peek,
html[data-oc-layout="phone"] .app-dock-fold {
  font-size: 15px !important;
}

html[data-oc-layout="phone"] .cta-primary,
html[data-oc-layout="phone"] .home-mode-btn--gold,
html[data-oc-layout="phone"] [data-testid*="play"],
html[data-oc-layout="phone"] .match-confirm-btn,
html[data-oc-layout="phone"] [data-testid="confirm-visit"],
html[data-oc-layout="phone"] [data-testid="confirm-visit-dart"],
html[data-oc-layout="phone"] .match-confirm-btn--dart,
html[data-oc-layout="phone"] [data-testid="bot-skip"],
html[data-oc-layout="phone"] .match-bot-skip,
html[data-oc-layout="phone"] .app-modal__foot button,
html[data-oc-layout="phone"] .app-modal__foot .cta-primary,
html[data-oc-layout="phone"] .app-modal__foot a {
  min-height: 52px !important;
  width: 100% !important;
  font-size: 18px !important;
}

/* ── ONE column (not dart pad) ── */
html[data-oc-layout="phone"] .home-desk,
html[data-oc-layout="phone"] .home-pitch__grid,
html[data-oc-layout="phone"] .cfmt-round__board,
html[data-oc-layout="phone"] .cseries-field,
html[data-oc-layout="phone"] .cfield-kinds,
html[data-oc-layout="phone"] .cstudio__grid,
html[data-oc-layout="phone"] .cfield-row,
html[data-oc-layout="phone"] .cseed-game__row,
html[data-oc-layout="phone"] .cwhen__row {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

html[data-oc-layout="phone"] .ced-type-grid,
html[data-oc-layout="phone"] .cstr__tiles,
html[data-oc-layout="phone"] .cstr-grid,
html[data-oc-layout="phone"] .cstr-tiles,
html[data-oc-layout="phone"] .home-mode-card__actions {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

html[data-oc-layout="phone"] .ced-type-grid > *,
html[data-oc-layout="phone"] .cstr__tiles > .cstr-tile,
html[data-oc-layout="phone"] .cstr__tiles > .cstr-tile--lead,
html[data-oc-layout="phone"] .cstr-grid > .cstr-tile {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

html[data-oc-layout="phone"] .app-modal [class*="grid-cols-2"],
html[data-oc-layout="phone"] .app-modal [class*="grid-cols-3"],
html[data-oc-layout="phone"] .app-modal [class*="sm:grid-cols"] {
  grid-template-columns: 1fr !important;
}

/* Dual scoreboard: A then VS then B */
html[data-oc-layout="phone"] .match-dual-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas: "a" "vs" "b";
  gap: 0.4rem;
}

html[data-oc-layout="phone"] .match-player-card[data-player="a"] {
  grid-area: a;
}

html[data-oc-layout="phone"] .match-player-card[data-player="b"] {
  grid-area: b;
}

html[data-oc-layout="phone"] .match-dual-grid::after {
  grid-area: vs;
  content: "VS";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  min-height: 1.75rem;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid #d4af37;
  background-color: #0c0b0a;
  color: #d4af37;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* ── Sheets: every AppModal is an almost-fullscreen bottom sheet ── */
html[data-oc-layout="phone"] .app-modal {
  align-items: flex-end !important;
  justify-content: stretch !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .app-modal__panel {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 72dvh !important;
  max-height: 92dvh !important;
  height: auto;
  border-radius: 16px 16px 0 0 !important;
  background-color: #050d0a !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .app-modal__handle {
  display: flex !important;
}

html[data-oc-layout="phone"] .app-modal__head,
html[data-oc-layout="phone"] .app-modal__foot,
html[data-oc-layout="phone"] .app-modal .modal-body-scroll {
  background-color: #050d0a !important;
}

html[data-oc-layout="phone"] .app-modal__head button,
html[data-oc-layout="phone"] .app-modal__head .tap-target {
  min-width: 48px !important;
  min-height: 48px !important;
  width: 48px !important;
  height: 48px !important;
}

html[data-oc-layout="phone"] .app-modal__foot {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
}

html[data-oc-layout="phone"] .app-modal__foot button:last-of-type,
html[data-oc-layout="phone"] .app-modal__foot .cta-primary {
  width: 100% !important;
}

/* ── Dart pad (WAVE 5c reaffirm). 5×4 keys stay. S/D/T is 3-col. ── */
html[data-oc-layout="phone"] .match-mult-btn {
  min-height: 54px !important;
  font-size: 22px !important;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.4rem !important;
}

html[data-oc-layout="phone"] .match-special-btn {
  min-height: 54px !important;
  font-size: 20px !important;
}

html[data-oc-layout="phone"] .match-mult-row,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] .grid.grid-cols-3,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] [class*="grid-cols-3"] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  flex-direction: row !important;
}

html[data-oc-layout="phone"] .match-dart-segments,
html[data-oc-layout="phone"] [data-testid="dart-segment-grid"] {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(56px, 1fr)) !important;
  background-color: #071812;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-dart-segments button,
html[data-oc-layout="phone"] [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .match-dart-key,
html[data-oc-layout="phone"] .match-num-key,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] .match-num-key,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] .grid.grid-cols-3 button {
  min-height: 56px !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  background-color: #0f2a22 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-pad,
html[data-oc-layout="phone"] .match-pad-grow,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] {
  background-color: #071812;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-pad-dart-value,
html[data-oc-layout="phone"] .match-dart-slot .match-pad-dart-value {
  font-size: 22px !important;
}

/* Names wrap — no 3-letter ellipsis. Empty darts are not ···. */
html[data-oc-layout="phone"] .truncate,
html[data-oc-layout="phone"] .rkd-row__name,
html[data-oc-layout="phone"] .rkd-row__name.truncate,
html[data-oc-layout="phone"] .match-player-name.truncate,
html[data-oc-layout="phone"] [class*="player-name"],
html[data-oc-layout="phone"] .olobby-finder-signed__name,
html[data-oc-layout="phone"] .cdraw__name,
html[data-oc-layout="phone"] .cg-tv__name {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
}

html[data-oc-layout="phone"] .match-dart-slot:empty::after,
html[data-oc-layout="phone"] .match-pad-dart-value:empty::after {
  content: "—" !important;
}

/* ── Solid Arena Night chrome — no glass ── */
html[data-oc-layout="phone"] .app-shell-header,
html[data-oc-layout="phone"] .app-shell-nav-inner,
html[data-oc-layout="phone"] .career-hub-header,
html[data-oc-layout="phone"] .career-nav-bottom-inner {
  background-color: #050d0a !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── Finale / cup: cup on top, teams below (WAVE 2 reaffirm) ── */
html[data-oc-layout="phone"] .cdraw__hero.is-final,
html[data-oc-layout="phone"] .cdraw--desk .cdraw__hero.is-final,
html[data-oc-layout="phone"] .cdraw__hero.is-final.is-doubles {
  overflow: visible !important;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair[data-doubles="1"],
html[data-oc-layout="phone"] .cdraw--desk .cdraw__hero.is-final .cdraw__hero-pair.is-doubles {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "mid mid"
    "a b" !important;
  align-items: start !important;
  justify-items: center !important;
  gap: 0.7rem 0.45rem !important;
  width: 100%;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair > .cdraw__side:first-of-type,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles > .cdraw__side:first-of-type {
  grid-area: a !important;
  width: 100%;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair > .cdraw__final-mid,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles > .cdraw__final-mid,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles > .cdraw__board,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles > .cdraw__vs {
  grid-area: mid !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair > .cdraw__side:last-of-type,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles > .cdraw__side:last-of-type {
  grid-area: b !important;
  width: 100%;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__cup,
html[data-oc-layout="phone"] .cdraw--desk .cdraw__hero.is-final .cdraw__cup {
  width: min(62vw, 15.5rem);
  max-width: 100%;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__poster-name,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__side-name {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* PHONE LAYOUT 2 — Home: fat stacked thumbs, not a TV desk row (2026-08-27)
 * Still Arena Night solid hex. No glass. No PDC. CSS only — no PhoneHome.tsx.
 */
html[data-oc-layout="phone"] .home-tv .home-desk {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  gap: 0.75rem;
}

html[data-oc-layout="phone"] .home-tv .home-desk > *,
html[data-oc-layout="phone"] .home-tv .home-mode-card,
html[data-oc-layout="phone"] .home-tv .home-mode-card--stack,
html[data-oc-layout="phone"] .home-tv .home-mode-card--primary {
  width: 100% !important;
  max-width: 100% !important;
}

html[data-oc-layout="phone"] .home-mode-card__actions,
html[data-oc-layout="phone"] .home-tv .home-mode-card__actions,
html[data-oc-layout="phone"] .home-mode-more {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  width: 100%;
  gap: 0.45rem;
}

html[data-oc-layout="phone"] .home-mode-btn,
html[data-oc-layout="phone"] .home-tv .home-mode-btn {
  width: 100% !important;
  min-height: 52px !important;
  font-size: 18px !important;
}

html[data-oc-layout="phone"] .home-mode-btn--gold,
html[data-oc-layout="phone"] .home-tv .home-mode-btn--gold {
  min-height: 56px !important;
  font-size: 20px !important;
  background-color: color-mix(in oklab, #d4af37 42%, #0b140f);
  border-color: #d4af37;
  color: #f8f0d4;
}

html[data-oc-layout="phone"] .home-seo-mast,
html[data-oc-layout="phone"] .home-pitch__body .home-seo-mast {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  columns: auto !important;
  column-count: 1 !important;
}

html[data-oc-layout="phone"] .home-seo-mast__title,
html[data-oc-layout="phone"] .home-seo-mast__lead {
  font-size: 22px !important;
  line-height: 1.25;
}

html[data-oc-layout="phone"] .home-pitch__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

/* PHONE LAYOUT 3 — Ü60 type + bracket names (2026-08-27)
 * Pub-league dart players 60+. Thumb-first. Cream on charcoal. One column.
 * Names never 3-letter ellipsis. CSS only under html[data-oc-layout="phone"].
 * Arena Night solid hex. No glass. No parchment. No PDC. No user-agent.
 * Desktop/TV ≥720 / html[data-oc-layout="desk"] unchanged. No PhoneHome.tsx.
 * Dart pad keys stay 24px / 48px min — do not shrink.
 */

/* ── Type floor: body 20 · kickers 16 · titles 24 ── */
html[data-oc-layout="phone"] {
  font-size: 20px;
  background-color: #050d0a;
  color: #f4eee0;
  --desk-kicker: 16px;
  --desk-chip: 20px;
  --desk-title: 24px;
  --app-dock-h: var(--app-dock-collapsed);
}

html[data-oc-layout="phone"],
html[data-oc-layout="phone"] body {
  font-size: 20px;
  background-color: #050d0a;
  color: #f4eee0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-oc-layout="phone"] .ui-kicker,
html[data-oc-layout="phone"] .bc-kicker,
html[data-oc-layout="phone"] .cstr-tile__kicker,
html[data-oc-layout="phone"] .cstr-modal-head__kicker,
html[data-oc-layout="phone"] .cstr-tile__sub,
html[data-oc-layout="phone"] .cstr-hint,
html[data-oc-layout="phone"] .home-pitch__k,
html[data-oc-layout="phone"] .home-seo-mast__kicker,
html[data-oc-layout="phone"] .menu-section-label,
html[data-oc-layout="phone"] .ced-type-card__kicker,
html[data-oc-layout="phone"] .ced-type-head__kicker,
html[data-oc-layout="phone"] .cfmt-round__kicker,
html[data-oc-layout="phone"] .cfmt-round__lab,
html[data-oc-layout="phone"] .match-rest-kicker,
html[data-oc-layout="phone"] .match-pad-rest-kicker,
html[data-oc-layout="phone"] .olobby-card__hostlab,
html[data-oc-layout="phone"] .club-dock__kicker,
html[data-oc-layout="phone"] .app-shell-nav-label,
html[data-oc-layout="phone"] [class*="kicker"] {
  font-size: 16px !important;
  letter-spacing: 0.08em;
  color: #d4af37;
}

html[data-oc-layout="phone"] .ui-title,
html[data-oc-layout="phone"] .ui-hero,
html[data-oc-layout="phone"] h1:not(.match-hero-score),
html[data-oc-layout="phone"] h2,
html[data-oc-layout="phone"] h3,
html[data-oc-layout="phone"] .bc-title,
html[data-oc-layout="phone"] .cstr-modal__title,
html[data-oc-layout="phone"] .app-modal__title,
html[data-oc-layout="phone"] .app-modal__head,
html[data-oc-layout="phone"] .app-modal__head h1,
html[data-oc-layout="phone"] .app-modal__head h2,
html[data-oc-layout="phone"] .app-modal__head h3,
html[data-oc-layout="phone"] .match-chrome-title,
html[data-oc-layout="phone"] .home-pitch__t,
html[data-oc-layout="phone"] .home-mode-card__title,
html[data-oc-layout="phone"] .home-seo-mast__title,
html[data-oc-layout="phone"] .home-seo-mast__lead,
html[data-oc-layout="phone"] .ced-type-card__title,
html[data-oc-layout="phone"] .ced-type-head__title,
html[data-oc-layout="phone"] .cfmt-round__name {
  font-size: 24px !important;
  line-height: 1.2;
  font-weight: 800;
  color: #f4eee0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

html[data-oc-layout="phone"] .cstr-tile__title {
  font-size: 22px !important;
  line-height: 1.2;
  font-weight: 800;
  color: #f4eee0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* ── Touch: generic 52 · primary CTA 56/20 · gold home 60 ── */
html[data-oc-layout="phone"] button,
html[data-oc-layout="phone"] [role="button"],
html[data-oc-layout="phone"] [role="tab"],
html[data-oc-layout="phone"] [role="tablist"] button,
html[data-oc-layout="phone"] .tap-target,
html[data-oc-layout="phone"] .chip,
html[data-oc-layout="phone"] .cstr-chip,
html[data-oc-layout="phone"] .md-rail__btn,
html[data-oc-layout="phone"] .app-shell-nav-item,
html[data-oc-layout="phone"] .app-dock-peek,
html[data-oc-layout="phone"] .app-dock-fold,
html[data-oc-layout="phone"] .home-mode-card__tab,
html[data-oc-layout="phone"] .cdraw__act,
html[data-oc-layout="phone"] .cnight__btn,
html[data-oc-layout="phone"] .cupc__gochip,
html[data-oc-layout="phone"] .olobby-finder-signed__go,
html[data-oc-layout="phone"] .club-dock__tab,
html[data-oc-layout="phone"] .club-dock__strip,
html[data-oc-layout="phone"] a.cta-primary,
html[data-oc-layout="phone"] a.cta-secondary,
html[data-oc-layout="phone"] .career-nav-item,
html[data-oc-layout="phone"] .career-main-nav-item,
html[data-oc-layout="phone"] .cdraw__tafel-tab {
  min-height: 52px !important;
}

html[data-oc-layout="phone"] .cta-primary,
html[data-oc-layout="phone"] .home-mode-btn,
html[data-oc-layout="phone"] .home-tv .home-mode-btn,
html[data-oc-layout="phone"] [data-testid*="play"],
html[data-oc-layout="phone"] .match-confirm-btn,
html[data-oc-layout="phone"] [data-testid="confirm-visit"],
html[data-oc-layout="phone"] [data-testid="confirm-visit-dart"],
html[data-oc-layout="phone"] .match-confirm-btn--dart,
html[data-oc-layout="phone"] [data-testid="bot-skip"],
html[data-oc-layout="phone"] .match-bot-skip,
html[data-oc-layout="phone"] .app-modal__foot button,
html[data-oc-layout="phone"] .app-modal__foot .cta-primary,
html[data-oc-layout="phone"] .app-modal__foot a {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .home-mode-btn--gold,
html[data-oc-layout="phone"] .home-tv .home-mode-btn--gold {
  min-height: 60px !important;
  font-size: 20px !important;
  background-color: #d4af37;
  border-color: #d4af37;
  color: #050d0a;
}

/* Dart pad stays large — 24px / 48px min. Do not shrink. */
html[data-oc-layout="phone"] .match-dart-segments,
html[data-oc-layout="phone"] [data-testid="dart-segment-grid"] {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(56px, 1fr)) !important;
  background-color: #071812;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-dart-segments button,
html[data-oc-layout="phone"] [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .match-dart-key,
html[data-oc-layout="phone"] .match-num-key,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] .match-num-key,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] .grid.grid-cols-3 button {
  min-height: 56px !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  background-color: #0f2a22 !important;
  color: #f4eee0;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-mult-btn {
  min-height: 54px !important;
  font-size: 22px !important;
}

html[data-oc-layout="phone"] .match-special-btn {
  min-height: 54px !important;
  font-size: 20px !important;
}

/* ── Names: wrap, overflow visible, 20px / 800. Never 3-letter ellipsis. ── */
html[data-oc-layout="phone"] .cdraw__name,
html[data-oc-layout="phone"] .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__pair-who strong,
html[data-oc-layout="phone"] .cdraw__poster-name,
html[data-oc-layout="phone"] .cdraw__poster-family,
html[data-oc-layout="phone"] .cdraw__poster-given,
html[data-oc-layout="phone"] .cdraw__chip,
html[data-oc-layout="phone"] .cg-tv__name,
html[data-oc-layout="phone"] .rkd-row__name,
html[data-oc-layout="phone"] .rkd-row__name.truncate,
html[data-oc-layout="phone"] .prc-name,
html[data-oc-layout="phone"] [class*="player-name"],
html[data-oc-layout="phone"] .olobby-finder-signed__name,
html[data-oc-layout="phone"] .cpurse__name,
html[data-oc-layout="phone"] .bcast-row [class*="name"],
html[data-oc-layout="phone"] .bcast-row__copy,
html[data-oc-layout="phone"] .bcast-row__copy strong,
html[data-oc-layout="phone"] .cnation-cup__copy strong,
html[data-oc-layout="phone"] .cdraw__tree [class*="name"],
html[data-oc-layout="phone"] [class*="dko"] [class*="name"],
html[data-oc-layout="phone"] [class*="bracket"] [class*="name"],
html[data-oc-layout="phone"] .dko-card__name,
html[data-oc-layout="phone"] .cdraw__quad-name,
html[data-oc-layout="phone"] .cdraw__recap-name,
html[data-oc-layout="phone"] .cdraw__jdg-seat-name,
html[data-oc-layout="phone"] .cdraw__podium-who,
html[data-oc-layout="phone"] .match-player-name {
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #f4eee0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
}

html[data-oc-layout="phone"] .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__pair-who strong {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* ── Tree / Tafel / KO+DKO rails: vertical match cards, not a squeezed TV tree ── */
html[data-oc-layout="phone"] .cdraw__tree,
html[data-oc-layout="phone"] .cdraw__tafel,
html[data-oc-layout="phone"] .dko-board__rails,
html[data-oc-layout="phone"] .dko-tree,
html[data-oc-layout="phone"] .dko-tree--finale {
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden !important;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

html[data-oc-layout="phone"] .cdraw__tree .cdraw__row,
html[data-oc-layout="phone"] .cdraw__tree .cdraw__chip,
html[data-oc-layout="phone"] .cdraw__tree .cdraw__pair,
html[data-oc-layout="phone"] .cdraw__tree .dko-card,
html[data-oc-layout="phone"] .cdraw__tafel .cdraw__row,
html[data-oc-layout="phone"] .cdraw__tafel .cdraw__chip,
html[data-oc-layout="phone"] .cdraw__tafel .cdraw__pair,
html[data-oc-layout="phone"] .dko-card,
html[data-oc-layout="phone"] .dko-tree__col,
html[data-oc-layout="phone"] .dko-tree__stack,
html[data-oc-layout="phone"] .dko-board__rail,
html[data-oc-layout="phone"] .dko-board__round,
html[data-oc-layout="phone"] .cdraw__quad-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 56px;
  padding: 0.55rem 0.7rem;
  box-sizing: border-box;
}

html[data-oc-layout="phone"] .dko-tree__col {
  max-width: 100% !important;
}

html[data-oc-layout="phone"] .cdraw__tree .cdraw__pair,
html[data-oc-layout="phone"] .cdraw__tafel .cdraw__pair,
html[data-oc-layout="phone"] .cdraw__quad-grid,
html[data-oc-layout="phone"] .dko-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.35rem;
}

html[data-oc-layout="phone"] .dko-card__who,
html[data-oc-layout="phone"] .dko-card__slot,
html[data-oc-layout="phone"] .cdraw__tree .cdraw__side,
html[data-oc-layout="phone"] .cdraw__tafel .cdraw__side {
  display: flex !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100%;
}

html[data-oc-layout="phone"] .dko-card,
html[data-oc-layout="phone"] .cdraw__tree .cdraw__row,
html[data-oc-layout="phone"] .cdraw__tafel .cdraw__row,
html[data-oc-layout="phone"] .cdraw__quad-card {
  background-color: #0c1c16;
  border: 1px solid #2a4f42;
  border-radius: 12px;
  color: #f4eee0;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Finale already has cup-on-top — keep LAYOUT 1 grid. Names 22px wrap. */
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair.is-doubles,
html[data-oc-layout="phone"] .cdraw--desk .cdraw__hero.is-final .cdraw__hero-pair.is-doubles {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "mid mid"
    "a b" !important;
  align-items: start !important;
  justify-items: center !important;
  gap: 0.7rem 0.45rem !important;
  width: 100%;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__pair-who strong,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__poster-name,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__poster-family,
html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__poster-given {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* ── Sheets: keep 92dvh. Head 24 · body 20 · foot primary 56. One column. ── */
html[data-oc-layout="phone"] .app-modal {
  align-items: flex-end !important;
  justify-content: stretch !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .app-modal__panel {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 72dvh !important;
  max-height: 92dvh !important;
  border-radius: 16px 16px 0 0 !important;
  background-color: #050d0a !important;
  color: #f4eee0;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .app-modal__head,
html[data-oc-layout="phone"] .app-modal__foot,
html[data-oc-layout="phone"] .app-modal .modal-body-scroll {
  background-color: #050d0a !important;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .app-modal .modal-body-scroll,
html[data-oc-layout="phone"] .app-modal__body,
html[data-oc-layout="phone"] .app-modal p,
html[data-oc-layout="phone"] .app-modal li {
  font-size: 20px !important;
  line-height: 1.35;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .app-modal [class*="grid-cols-2"],
html[data-oc-layout="phone"] .app-modal [class*="grid-cols-3"],
html[data-oc-layout="phone"] .app-modal [class*="sm:grid-cols"],
html[data-oc-layout="phone"] .cstr__tiles,
html[data-oc-layout="phone"] .cstr-grid,
html[data-oc-layout="phone"] .ced-type-grid {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
}

html[data-oc-layout="phone"] .cstr__tiles > .cstr-tile,
html[data-oc-layout="phone"] .cstr__tiles > .cstr-tile--lead,
html[data-oc-layout="phone"] .cstr-grid > .cstr-tile,
html[data-oc-layout="phone"] .ced-type-grid > * {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Career / Custom / Lobby cards: 18–20px wrap, taps 52 ── */
html[data-oc-layout="phone"] .olobby-card__title,
html[data-oc-layout="phone"] .olobby-card__hostname,
html[data-oc-layout="phone"] .career-nav-item,
html[data-oc-layout="phone"] .career-main-nav-item,
html[data-oc-layout="phone"] .career-nav-label,
html[data-oc-layout="phone"] .app-shell-nav-label {
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.2;
  color: #f4eee0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

html[data-oc-layout="phone"] .olobby-card__title,
html[data-oc-layout="phone"] .olobby-card__hostname {
  font-size: 20px !important;
}

html[data-oc-layout="phone"] .career-nav-item,
html[data-oc-layout="phone"] .career-main-nav-item,
html[data-oc-layout="phone"] .olobby-card {
  min-height: 52px !important;
  background-color: #050d0a;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* PHONE LAYOUT 4 — portraits, name wrap, match Ü60, phone menu (2026-08-27)
 * Pub-league dart players 60+. Thumb-first. Cream on charcoal. One column.
 * Names wrap at spaces, never letter-stack. Host-profile tiles never flex-grow.
 * Arena Night solid hex. No glass. No parchment. No PDC. No user-agent.
 * Desktop/TV ≥720 / html[data-oc-layout="desk"] unchanged. No PhoneHome.tsx.
 * Dart pad keys stay 24px / 48px min — do not shrink.
 */

/* ── A. Name wrap reaffirm — spaces only, never anywhere / break-word ── */
html[data-oc-layout="phone"] .cdraw__name,
html[data-oc-layout="phone"] .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__pair-who strong,
html[data-oc-layout="phone"] .cdraw__pair-who em,
html[data-oc-layout="phone"] .cdraw__poster-name,
html[data-oc-layout="phone"] .cdraw__poster-family,
html[data-oc-layout="phone"] .cdraw__poster-given,
html[data-oc-layout="phone"] .cdraw__chip,
html[data-oc-layout="phone"] .cg-tv__name,
html[data-oc-layout="phone"] .rkd-row__name,
html[data-oc-layout="phone"] .match-player-name,
html[data-oc-layout="phone"] .cstr-tile__title,
html[data-oc-layout="phone"] .cstr-tile__value,
html[data-oc-layout="phone"] .cstr-tile__value--word,
html[data-oc-layout="phone"] .oc-phone-person__name,
html[data-oc-layout="phone"] .cprof-preview__name,
html[data-oc-layout="phone"] .olobby-finder-signed__name {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

html[data-oc-layout="phone"] .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__pair-who strong {
  font-size: 22px !important;
  font-weight: 800 !important;
}

/* ── B. Host-profile / person rows: never flex-grow squeeze ── */
html[data-oc-layout="phone"] .cstr-tiles,
html[data-oc-layout="phone"] .cstr-tiles[data-testid="host-profile-list"],
html[data-oc-layout="phone"] [data-testid="host-profile-list"] {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  overflow-y: auto !important;
  gap: 10px !important;
  min-height: 0;
  width: 100%;
}

html[data-oc-layout="phone"] .cstr-tiles > .cstr-tile,
html[data-oc-layout="phone"] .cstr-tiles > .oc-phone-person,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] > .cstr-tile,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] > * {
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  min-height: 76px !important;
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  overflow: visible !important;
  box-sizing: border-box;
  background-color: #0c1c16;
  border: 1px solid #2a4f42;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .oc-phone-person .olobby__me,
html[data-oc-layout="phone"] .cstr-tiles .olobby__me {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  width: auto;
}

html[data-oc-layout="phone"] .oc-phone-person [data-testid="player-avatar"],
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid="host-profile-list"] [data-testid="player-avatar"] {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  flex: 0 0 56px !important;
  border-radius: 50% !important;
  overflow: hidden;
}

html[data-oc-layout="phone"] .oc-phone-person [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .oc-phone-person [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] [data-testid="player-avatar"] img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .oc-phone-person__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

html[data-oc-layout="phone"] .oc-phone-person__name,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile__value,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile__value--word {
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #f4eee0;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  max-height: 2.45em;
  overflow: hidden;
  text-overflow: unset !important;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}

html[data-oc-layout="phone"] .oc-phone-person__meta,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile__kicker,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile__sub {
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d4af37 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

html[data-oc-layout="phone"] .cprof-preview [data-testid="player-avatar"],
html[data-oc-layout="phone"] .cprof-preview [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .cprof-preview [data-testid="player-avatar"] img {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  flex: 0 0 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Avatar selection grid: 3 × 72px circles, gold ring when selected */
html[data-oc-layout="phone"] .avatar-pick--mobile,
html[data-oc-layout="phone"] .avatar-pick__grid,
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile,
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid,
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile [class*="grid"],
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile [class*="grid-cols"] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(72px, 1fr)) !important;
  gap: 12px !important;
  flex-direction: unset !important;
  justify-content: center;
  width: 100%;
}

html[data-oc-layout="phone"] .avatar-pick__grid > *,
html[data-oc-layout="phone"] .avatar-pick--mobile [class*="grid"] > *,
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid > * {
  flex: 0 0 auto !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  border-radius: 50% !important;
  overflow: hidden;
  box-sizing: border-box;
}

html[data-oc-layout="phone"] .avatar-pick__grid > *.is-on,
html[data-oc-layout="phone"] .avatar-pick__grid > *[aria-pressed="true"],
html[data-oc-layout="phone"] .avatar-pick__grid > *[data-selected="true"],
html[data-oc-layout="phone"] .avatar-pick--mobile [aria-pressed="true"],
html[data-oc-layout="phone"] .avatar-pick--mobile .is-on {
  box-shadow: 0 0 0 3px #d4af37;
}

html[data-oc-layout="phone"] .avatar-pick__grid img,
html[data-oc-layout="phone"] .avatar-pick--mobile img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Draw / tableau portraits: names under/beside circle, never a 12px column */
html[data-oc-layout="phone"] .cdraw__hero:not(.is-final) .cdraw__hero-pair,
html[data-oc-layout="phone"] .cdraw__hero:not(.is-final) .cdraw__hero-pair.is-doubles {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: 0.75rem !important;
  width: 100%;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}

html[data-oc-layout="phone"] .cdraw__hero .cdraw__side,
html[data-oc-layout="phone"] .cdraw__hero .cdraw__side.is-poster,
html[data-oc-layout="phone"] .cdraw__poster {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html[data-oc-layout="phone"] .cdraw__hero .cdraw__plate,
html[data-oc-layout="phone"] .cdraw__hero .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__hero .cdraw__poster-name,
html[data-oc-layout="phone"] .cdraw__hero .cdraw__pair-who,
html[data-oc-layout="phone"] .cdraw__hero .cdraw__pair-seat {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center;
}

html[data-oc-layout="phone"] .cdraw__hero .cdraw__face,
html[data-oc-layout="phone"] .cdraw__hero .cdraw__face [data-testid="player-avatar"],
html[data-oc-layout="phone"] .cdraw__hero .cdraw__avatar {
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .cdraw__hero.is-final .cdraw__hero-pair {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "mid mid"
    "a b" !important;
}

/* ── C. Match screen Ü60 (LAYOUT 4, patched LAYOUT 5) ──
 * 4.5–6rem stacked hero on BOTH player cards killed.
 * Compact 2-col scorer; pad-rest stays modest ~1.75rem.
 */
html[data-oc-layout="phone"] .match-hero-score,
html[data-oc-layout="phone"] .match-shell--scorer .match-hero-score,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-hero-score,
html[data-oc-layout="phone"] .match-player-card .match-hero-score {
  font-size: 40px !important;
  min-height: 40px !important;
  line-height: 0.88 !important;
  font-weight: 800 !important;
  color: #f4eee0;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .match-pad-rest-value {
  font-size: 1.75rem !important;
  min-height: 0 !important;
  line-height: 0.9 !important;
  font-weight: 800 !important;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .match-score-band,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-score-band {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  flex-direction: unset !important;
  align-items: center !important;
  min-height: 0 !important;
  overflow: visible !important;
  gap: 0.35rem;
  padding: 0.2rem 0.4rem !important;
}

html[data-oc-layout="phone"] .match-score-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%;
  min-width: 0 !important;
}

html[data-oc-layout="phone"] .match-rest-kicker,
html[data-oc-layout="phone"] .match-pad-rest-kicker {
  font-size: 16px !important;
  color: #d4af37 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-oc-layout="phone"] .match-pad-rest {
  /* LAYOUT 5: chip, do not steal pad keys */
  width: auto !important;
  max-width: 5.5rem !important;
  min-width: 3.25rem !important;
  flex: 0 0 auto !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

html[data-oc-layout="phone"] .match-stat-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-around;
  gap: 0.45rem 0.7rem !important;
}

html[data-oc-layout="phone"] .match-pill {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  white-space: normal !important;
  line-height: 1.15;
}

html[data-oc-layout="phone"] .match-pill em {
  display: block;
  font-style: normal !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37 !important;
  margin: 0 0 0.15rem !important;
  order: -1;
}

html[data-oc-layout="phone"] .match-legs-badge,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-legs-badge {
  position: static !important;
  display: grid !important;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  width: 100% !important;
  min-width: 0 !important;
  pointer-events: auto;
  padding: 0.4rem 0.5rem !important;
  gap: 0.15rem 0.75rem;
}

html[data-oc-layout="phone"] .match-legs-badge--sets {
  grid-template-columns: 1fr 1fr;
}

html[data-oc-layout="phone"] .match-legs-lab {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37 !important;
  grid-row: 1;
}

html[data-oc-layout="phone"] .match-legs-val,
html[data-oc-layout="phone"] .match-inset-legs {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  grid-row: 2;
  line-height: 1.1 !important;
}

html[data-oc-layout="phone"] .match-recent-visits span,
html[data-oc-layout="phone"] .match-chrome-race,
html[data-oc-layout="phone"] .match-chrome-score {
  font-size: 22px !important;
  font-weight: 800;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .match-player-card {
  display: flex !important;
  flex-direction: column !important;
  background-color: #0c1c16 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-shell--scorer .match-input-zone,
html[data-oc-layout="phone"] .match-pad,
html[data-oc-layout="phone"] .match-pad-grow,
html[data-oc-layout="phone"] [data-testid="visit-score-pad"] {
  padding-bottom: calc(12px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  background-color: #071812 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .match-confirm-btn,
html[data-oc-layout="phone"] .match-bot-skip,
html[data-oc-layout="phone"] [data-testid="confirm-visit"],
html[data-oc-layout="phone"] [data-testid="confirm-visit-dart"],
html[data-oc-layout="phone"] [data-testid="bot-skip"] {
  min-height: 60px !important;
  width: 100% !important;
}

/* Dart pad keys stay 24px / 48px / 5×4 — do not shrink */
html[data-oc-layout="phone"] .match-dart-segments,
html[data-oc-layout="phone"] [data-testid="dart-segment-grid"] {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(56px, 1fr)) !important;
}

html[data-oc-layout="phone"] .match-dart-segments button,
html[data-oc-layout="phone"] [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .match-dart-key,
html[data-oc-layout="phone"] .match-num-key {
  min-height: 56px !important;
  font-size: 26px !important;
}

/* ── D. Lobby / Save: full-width above dock, not overlaying tableau ── */
html[data-oc-layout="phone"] .app-secondary-dock,
html[data-oc-layout="phone"] .sticky-cta-bar.sticky-cta-bar--dock {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  gap: 8px;
  margin: 0.5rem 0 0;
  padding: 8px 12px;
  padding-bottom: calc(12px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  background-color: #050d0a !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: auto;
}

html[data-oc-layout="phone"] .app-secondary-dock > *,
html[data-oc-layout="phone"] .sticky-cta-bar.sticky-cta-bar--dock > * {
  width: 100% !important;
  min-height: 56px !important;
  flex: 0 0 auto !important;
}

/* Phone nav sheet — Arena Night, fat rows, gold foot CTA */
html[data-oc-layout="phone"] .phone-nav-sheet .phone-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

html[data-oc-layout="phone"] .phone-nav-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px !important;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #2a4f42;
  background-color: #0c1c16;
  color: #f4eee0;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .phone-nav-row.is-on {
  border-color: #d4af37;
  box-shadow: inset 3px 0 0 #d4af37;
}

html[data-oc-layout="phone"] .phone-nav-row__sub {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.06em;
}

html[data-oc-layout="phone"] .phone-nav-confirm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f4eee0;
  font-size: 20px;
  line-height: 1.35;
}

html[data-oc-layout="phone"] .phone-nav-cta,
html[data-oc-layout="phone"] [data-testid="phone-nav-new-event"] {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800;
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
  color: #050d0a !important;
}

html[data-oc-layout="phone"] .phone-nav-stay {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800;
  background-color: #0c1c16 !important;
  border: 1px solid #2a4f42 !important;
  color: #f4eee0 !important;
}

html[data-oc-layout="phone"] .match-pad-visit-strip {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0.45rem !important;
}

html[data-oc-layout="phone"] .match-pad-dart-kicker {
  font-size: 16px !important;
  color: #d4af37 !important;
}

html[data-oc-layout="phone"] .match-pad-dart-value {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
}

/* ==========================================================================
 * PHONE LAYOUT 5 — match pad-first (2026-08-27)
 * Pad is the product. Chrome yields. 2-col scorebug. Keys ≥56px.
 * Every rule under html[data-oc-layout="phone"]. Desk/TV ≥720 unchanged.
 * Arena Night: #050d0a charcoal · #f4eee0 cream · #3d9b6e mint · #d4af37 gold.
 * ========================================================================== */

/* Shell: 100dvh column. Dock overlays; pad keeps its floor. */
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit {
  display: flex !important;
  flex-direction: column !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background-color: #050d0a !important;
  padding: 0 0.4rem 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-fit-body,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-fit-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  gap: 0.25rem !important;
}

/* Top MAY shrink so the pad always gets room. */
html[data-oc-layout="phone"] .phone-match-compact .match-fit-top,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-fit-top {
  flex: 0 1 auto !important;
  max-height: 38dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  gap: 0.25rem !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-scoreboard,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-scoreboard {
  flex: 0 1 auto !important;
  min-height: 0 !important;
  gap: 0.25rem !important;
}

/* Pad is anchored. Never shrink below 52dvh. */
html[data-oc-layout="phone"] .phone-match-compact .match-fit-main,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-fit-main,
html[data-oc-layout="phone"] .phone-match-compact .match-pad,
html[data-oc-layout="phone"] .match-shell--scorer .match-pad {
  flex: 1 1 auto !important;
  min-height: 52dvh !important;
  display: flex !important;
  flex-direction: column !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-fit-aux {
  display: none !important;
}

/* ── 1. Chrome bar ≤ 48px ── */
html[data-oc-layout="phone"] .phone-match-compact .match-board-chrome,
html[data-oc-layout="phone"] .match-shell--scorer .match-board-chrome {
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-chrome-bar,
html[data-oc-layout="phone"] .match-shell--scorer .phone-match-chrome .match-chrome-bar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.2rem !important;
  height: 48px !important;
  max-height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  overflow: hidden;
}

html[data-oc-layout="phone"] .phone-match-compact .match-chrome-icon,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-icon--danger,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="match-abandon"],
html[data-oc-layout="phone"] .phone-match-compact [data-testid="match-undo"],
html[data-oc-layout="phone"] .phone-match-compact [data-testid="phone-match-more"],
html[data-oc-layout="phone"] .phone-match-compact .phone-match-more-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  padding: 0 !important;
  box-sizing: border-box;
}

html[data-oc-layout="phone"] .phone-match-compact .match-chrome-summary,
html[data-oc-layout="phone"] .phone-match-compact .phone-match-chrome-mid {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 48px !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0 0.25rem !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-chrome-title,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-score,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-race,
html[data-oc-layout="phone"] .match-shell--scorer .match-chrome-title,
html[data-oc-layout="phone"] .match-shell--scorer .match-chrome-score,
html[data-oc-layout="phone"] .match-shell--scorer .match-chrome-race {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  overflow: hidden !important;
  text-overflow: unset !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-chrome-title,
html[data-oc-layout="phone"] .match-shell--scorer .match-chrome-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  max-height: 2.4em;
  color: #f4eee0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html[data-oc-layout="phone"] .phone-match-compact .match-chrome-score,
html[data-oc-layout="phone"] .match-shell--scorer .match-chrome-score {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #d4af37 !important;
  letter-spacing: 0;
}

/* Hide cam / clock / chips / caret / stream / stats from the default 48px bar. */
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-bar > .bclock,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-chip,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-caret-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-live,
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-bar [data-testid="open-match-stats"],
html[data-oc-layout="phone"] .phone-match-compact .match-chrome-bar [data-testid="match-stream-overlay"],
html[data-oc-layout="phone"] .phone-match-compact .match-board-chrome--dock .match-chrome-bar > [data-testid="match-stream-overlay"],
html[data-oc-layout="phone"] .phone-match-compact .match-fit-top > .match-cam-dock--top,
html[data-oc-layout="phone"] .phone-match-compact .match-fit-top .match-cam-dock--top,
html[data-oc-layout="phone"] .phone-match-compact .match-cam-flyout,
html[data-oc-layout="phone"] .phone-match-compact .match-fit-top [data-testid="match-rule-banner"],
html[data-oc-layout="phone"] .phone-match-compact .match-race-line {
  display: none !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* ── 2. Scorebug: TWO COLUMNS (dart scorer, not stacked TV poster) ── */
html[data-oc-layout="phone"] .phone-match-compact .match-dual-grid,
html[data-oc-layout="phone"] .match-shell--scorer .match-dual-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-areas: "a b" !important;
  gap: 0.4rem !important;
  position: relative;
  min-height: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-player="a"],
html[data-oc-layout="phone"] .match-shell--scorer .match-player-card[data-player="a"] {
  grid-area: a;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-player="b"],
html[data-oc-layout="phone"] .match-shell--scorer .match-player-card[data-player="b"] {
  grid-area: b;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dual-grid::after,
html[data-oc-layout="phone"] .match-shell--scorer .match-dual-grid::after {
  grid-area: unset !important;
  content: "VS";
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  min-height: 28px !important;
  min-width: 28px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d4af37;
  background-color: #050d0a;
  color: #d4af37;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  z-index: 3;
  pointer-events: none;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card,
html[data-oc-layout="phone"] .match-shell--scorer .match-player-card {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "avatar name"
    "rest rest"
    "legs legs";
  align-items: center;
  gap: 2px 8px;
  padding: 6px 8px 8px !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  background-color: #0c1c16 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="false"] {
  opacity: 0.62;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px #d4af37, 0 0 12px rgba(61, 155, 110, 0.35);
}

html[data-oc-layout="phone"] .phone-match-compact .match-card-head {
  grid-area: name;
  padding: 0 !important;
  min-width: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-band,
html[data-oc-layout="phone"] .phone-match-compact .match-shell--scorer.match-shell--fit .match-score-band {
  display: contents !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar {
  grid-area: avatar;
  width: 40px;
  height: 40px;
  padding: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar [data-testid="player-avatar"],
html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .phone-match-compact .match-player-avatar,
html[data-oc-layout="phone"] .phone-match-compact .match-pair-cam,
html[data-oc-layout="phone"] .phone-match-compact .match-pair-cam--solo,
html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar video {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-hero {
  grid-area: rest;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100%;
  min-width: 0 !important;
  padding-top: 2px;
}

html[data-oc-layout="phone"] .phone-match-compact .match-rest-kicker,
html[data-oc-layout="phone"] .phone-match-compact .match-legs-lab {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37 !important;
  line-height: 1.1;
  margin: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card .match-hero-score,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="false"] .match-hero-score {
  font-size: 40px !important;
  min-height: 0 !important;
  line-height: 0.9 !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  text-align: left !important;
  width: auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="true"] .match-hero-score {
  font-size: 52px !important;
  min-height: 0 !important;
  line-height: 0.9 !important;
  color: #f4eee0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-name,
html[data-oc-layout="phone"] .phone-match-compact .match-player-name.truncate {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #f4eee0 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  max-height: 2.3em;
  text-transform: none;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge,
html[data-oc-layout="phone"] .phone-match-compact .match-shell--scorer.match-shell--fit .match-legs-badge {
  grid-area: legs;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  gap: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-val,
html[data-oc-layout="phone"] .phone-match-compact .match-inset-legs {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  line-height: 1.1 !important;
  grid-row: unset;
}

/* LAYOUT 6: Rest + 3DA/F9/CO stay visible. Do not hide .match-card-foot / .match-stat-pills. */
html[data-oc-layout="phone"] .phone-match-compact .match-recent-visits,
html[data-oc-layout="phone"] .phone-match-compact .match-bot-lvl,
html[data-oc-layout="phone"] .phone-match-compact .match-set-opener,
html[data-oc-layout="phone"] .phone-match-compact .match-leave-preview,
html[data-oc-layout="phone"] .phone-match-compact .match-checkout-inline,
html[data-oc-layout="phone"] .phone-match-compact .match-no-out,
html[data-oc-layout="phone"] .phone-match-compact .match-scoreboard-footer > :not(.match-turn-callout) {
  display: none !important;
}

/* Pair faces stay 40px row, never a second poster. */
html[data-oc-layout="phone"] .phone-match-compact .match-pair-faces {
  display: flex !important;
  flex-direction: row !important;
  gap: 2px;
  width: 40px;
  height: 40px;
}
html[data-oc-layout="phone"] .phone-match-compact .match-pair-face {
  width: 20px;
  height: 20px;
  overflow: hidden;
}
html[data-oc-layout="phone"] .phone-match-compact .match-pair-face__n {
  display: none !important;
}

/* ── 3. Turn banner ≤ 40px ── */
html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout {
  max-height: 40px !important;
  min-height: 0 !important;
  height: 40px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  background-color: #0c1c16 !important;
  border: 1px solid #d4af37 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout p {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #f4eee0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  margin: 0 !important;
}

/* ── 4. PAD keys — 5×4, each ≥56px, cream on #0f2a22 ── */
html[data-oc-layout="phone"] .phone-match-compact .match-input-zone,
html[data-oc-layout="phone"] .phone-match-compact .match-pad,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-grow,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] {
  padding-bottom: 8px !important;
  background-color: #071812 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"] {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(56px, 1fr)) !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
  min-height: 0;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments button,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .phone-match-compact .match-dart-key,
html[data-oc-layout="phone"] .phone-match-compact .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .grid.grid-cols-3 button {
  min-height: 56px !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  background-color: #0f2a22 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-mult-btn {
  min-height: 56px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-special-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials button {
  min-height: 52px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-visit-strip {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0.4rem !important;
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-dart-kicker {
  font-size: 12px !important;
  color: #d4af37 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-dart-value {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-rest {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 3.25rem !important;
  max-width: 5.5rem;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-rest-value {
  font-size: 1.75rem !important;
  min-height: 0 !important;
  line-height: 0.95 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-rest-kicker {
  font-size: 12px !important;
  color: #d4af37 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-confirm-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-bot-skip,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="confirm-visit"],
html[data-oc-layout="phone"] .phone-match-compact [data-testid="confirm-visit-dart"],
html[data-oc-layout="phone"] .phone-match-compact [data-testid="bot-skip"] {
  min-height: 60px !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  margin-bottom: calc(8px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tab {
  min-height: 48px !important;
  font-size: 16px !important;
}

/* ── 5. Cams stay out of the default scorer ── */
html[data-oc-layout="phone"] .phone-match-compact .match-opponent-cam,
html[data-oc-layout="phone"] .phone-match-compact .match-fit-top video {
  max-height: 0 !important;
}

/* ⋯ sheet: cam bar + stats/settings as fat rows */
html[data-oc-layout="phone"] .phone-match-more .phone-match-more-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

html[data-oc-layout="phone"] .phone-match-more .phone-nav-row,
html[data-oc-layout="phone"] .phone-match-more button.phone-nav-row {
  min-height: 56px !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .phone-match-more .match-cam-dock--top {
  display: flex !important;
  flex-direction: column !important;
  max-height: none !important;
  width: 100%;
}

html[data-oc-layout="phone"] .phone-match-more .match-cam-dock--top button {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 18px !important;
}

html[data-oc-layout="phone"] .phone-match-more .match-chrome-race {
  font-size: 18px !important;
  color: #f4eee0;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
}


/* ==========================================================================
 * PHONE LAYOUT 6 — dart-counter rest+stats+pad (2026-08-27)
 * Canonical phone scorer: Rest is the product, 3DA/F9/CO ride with it,
 * pad is the bottom half. Copy DartConnect / N01 / MyDartTraining.
 * Every rule under html[data-oc-layout="phone"]. Desk/TV ≥720 unchanged.
 * Arena Night: #050d0a charcoal · #f4eee0 cream · #3d9b6e mint · #d4af37 gold.
 * ========================================================================== */

/* ── A. Unclip the scorebug ── */
html[data-oc-layout="phone"] .phone-match-compact .match-fit-top,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-fit-top {
  flex: 0 0 auto !important;
  max-height: 46dvh !important;
  min-height: auto !important;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-scoreboard,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-scoreboard {
  flex: 0 0 auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dual-grid,
html[data-oc-layout="phone"] .match-shell--scorer .match-dual-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-areas: "a b" !important;
  gap: 0.4rem !important;
  overflow: visible !important;
}

/* Kill LAYOUT 5 display:contents — WebKit can drop Rest. Real box. */
html[data-oc-layout="phone"] .phone-match-compact .match-score-band,
html[data-oc-layout="phone"] .phone-match-compact .match-shell--scorer.match-shell--fit .match-score-band {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  grid-template-areas: none !important;
  align-items: end !important;
  gap: 6px !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card,
html[data-oc-layout="phone"] .match-shell--scorer .match-player-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: none !important;
  grid-template-rows: auto auto auto !important;
  align-items: end;
  gap: 4px 8px;
  padding: 6px 8px 8px !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  background-color: #0c1c16 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-card-head {
  grid-area: unset !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  padding: 0 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-band {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge,
html[data-oc-layout="phone"] .phone-match-compact .match-shell--scorer.match-shell--fit .match-legs-badge {
  grid-area: unset !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 0 2px !important;
  border: none !important;
  background: transparent !important;
  gap: 0 !important;
  align-self: end !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-card-foot {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  display: block !important;
  padding: 4px 0 0 !important;
  border-top: 1px solid rgba(244, 238, 224, 0.12) !important;
  overflow: visible !important;
}

/* ── B. Rest is the hero (both players) ── */
html[data-oc-layout="phone"] .phone-match-compact .match-score-hero {
  grid-area: unset !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100%;
  min-width: 0 !important;
  padding-top: 0;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-rest-kicker {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37 !important;
  line-height: 1.1;
  margin: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card .match-hero-score,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="false"] .match-hero-score {
  font-size: 72px !important;
  min-height: 0 !important;
  line-height: 0.9 !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: #f4eee0 !important;
  text-align: left !important;
  width: auto !important;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="true"] .match-hero-score {
  font-size: 88px !important;
  min-height: 0 !important;
  line-height: 0.9 !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-lab {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37 !important;
  line-height: 1.1;
  margin: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-val,
html[data-oc-layout="phone"] .phone-match-compact .match-inset-legs {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  line-height: 1.1 !important;
  grid-row: unset;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar {
  grid-area: unset !important;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  align-self: end;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar [data-testid="player-avatar"],
html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .phone-match-compact .match-player-avatar,
html[data-oc-layout="phone"] .phone-match-compact .match-pair-cam,
html[data-oc-layout="phone"] .phone-match-compact .match-pair-cam--solo,
html[data-oc-layout="phone"] .phone-match-compact .match-score-avatar video {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pair-faces {
  display: flex !important;
  flex-direction: row !important;
  gap: 2px;
  width: 32px;
  height: 32px;
}
html[data-oc-layout="phone"] .phone-match-compact .match-pair-face {
  width: 16px;
  height: 16px;
  overflow: hidden;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-name,
html[data-oc-layout="phone"] .phone-match-compact .match-player-name.truncate {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #f4eee0 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  max-height: 2.3em;
  text-transform: none;
}

/* ── C. Key stats back — only 3DA / F9 / CO ── */
html[data-oc-layout="phone"] .phone-match-compact .match-stat-pills {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pill--avg,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--primary,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--f9,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--co {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 4px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  white-space: nowrap !important;
  line-height: 1.1;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pill--avg em,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--primary em,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--f9 em,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--co em {
  display: inline !important;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4af37 !important;
  margin: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pill--muted,
html[data-oc-layout="phone"] .phone-match-compact .match-pill--high {
  display: none !important;
}

/* ── D. Pad always visible, does not steal Rest ── */
html[data-oc-layout="phone"] .phone-match-compact .match-fit-main,
html[data-oc-layout="phone"] .match-shell--scorer.match-shell--fit .match-fit-main,
html[data-oc-layout="phone"] .phone-match-compact .match-pad,
html[data-oc-layout="phone"] .match-shell--scorer .match-pad {
  flex: 1 1 auto !important;
  min-height: 42dvh !important;
  display: flex !important;
  flex-direction: column !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"] {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(52px, 1fr)) !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
  min-height: 0;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments button,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .phone-match-compact .match-dart-key,
html[data-oc-layout="phone"] .phone-match-compact .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .grid.grid-cols-3 button {
  min-height: 52px !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  background-color: #0f2a22 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-mult-btn {
  min-height: 52px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-special-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials button {
  min-height: 52px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-rest {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 3rem !important;
  max-width: 5rem;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-rest-value {
  font-size: 1.5rem !important;
  min-height: 0 !important;
  line-height: 0.95 !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-confirm-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-bot-skip,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="confirm-visit"],
html[data-oc-layout="phone"] .phone-match-compact [data-testid="confirm-visit-dart"],
html[data-oc-layout="phone"] .phone-match-compact [data-testid="bot-skip"] {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  margin-bottom: calc(8px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  flex: 0 0 auto !important;
}

/* ── E. Chrome (LAYOUT 5 bar kept) + turn ≤36px, no Elo/Form ── */
html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout {
  max-height: 36px !important;
  min-height: 0 !important;
  height: 36px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout p {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #f4eee0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  margin: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-scoreboard-footer > :not(.match-turn-callout) {
  display: none !important;
}


/* ==========================================================================
 * PHONE LAYOUT 7 — scorepad digits only (2026-08-27)
 * Bigger TYPE on the pad. Do not grow the keys / windows.
 * min-height, grid rows, padding stay LAYOUT 6 (52px / 42dvh).
 * Every rule under html[data-oc-layout="phone"]. Desk/TV unchanged.
 * ========================================================================== */
html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments button,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .phone-match-compact .match-dart-key,
html[data-oc-layout="phone"] .phone-match-compact .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .grid.grid-cols-3 button {
  font-size: 36px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-mult-btn {
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-special-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials button {
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-dart-value,
html[data-oc-layout="phone"] .phone-match-compact .match-dart-slot .match-pad-dart-value {
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

/* ==========================================================================
 * PHONE LAYOUT 8 — profile menus + large avatars (2026-09-05)
 * LAYOUT 3 stacked every grid-cols-2 in sheets to one column.
 * LAYOUT 4 put display:grid / 3×72px circles on the OUTER .avatar-pick--mobile
 * wrapper (toolbar + preview + grid share three 72px cells) and clipped
 * names with border-radius:50% + overflow:hidden on the buttons.
 * Wrapper stays a column. Only .avatar-pick__grid is a 2-col card grid.
 * Desk/TV ≥720 / html[data-oc-layout="desk"] unchanged.
 * ========================================================================== */

/* Outer picker is a stack, never a 3-col grid. */
html[data-oc-layout="phone"] .avatar-pick--mobile,
html[data-oc-layout="phone"] [data-testid="avatar-select-grid"],
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile,
html[data-oc-layout="phone"] .app-modal [data-testid="avatar-select-grid"] {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Real portrait grid: 2 large cards. Beats LAYOUT 3 flex-col on grid-cols-2. */
html[data-oc-layout="phone"] .avatar-pick__grid,
html[data-oc-layout="phone"] [data-testid="avatar-select-options"],
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid,
html[data-oc-layout="phone"] .app-modal [data-testid="avatar-select-options"],
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile .avatar-pick__grid,
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile [class*="grid-cols"],
html[data-oc-layout="phone"] .app-modal [data-testid="avatar-select-options"][class*="grid-cols-2"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  flex-direction: unset !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: min(52dvh, 30rem) !important;
  justify-content: stretch;
}

/* Cards, not 72px circles. Names stay visible under the portrait. */
html[data-oc-layout="phone"] .avatar-pick__grid > *,
html[data-oc-layout="phone"] [data-testid="avatar-select-options"] > *,
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid > *,
html[data-oc-layout="phone"] .app-modal [data-testid="avatar-select-options"] > *,
html[data-oc-layout="phone"] .avatar-pick--mobile [class*="grid"] > *,
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile [class*="grid"] > * {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 10.5rem !important;
  padding: 10px 8px 8px !important;
  border-radius: 14px !important;
  overflow: visible !important;
  box-sizing: border-box;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .avatar-pick__grid > *[aria-pressed="true"],
html[data-oc-layout="phone"] .avatar-pick__grid > *.is-on,
html[data-oc-layout="phone"] .avatar-pick__grid > *[data-selected="true"],
html[data-oc-layout="phone"] [data-testid="avatar-select-options"] > *[aria-pressed="true"],
html[data-oc-layout="phone"] .avatar-pick--mobile [aria-pressed="true"],
html[data-oc-layout="phone"] .avatar-pick--mobile .is-on {
  box-shadow: 0 0 0 3px #d4af37;
}

html[data-oc-layout="phone"] .avatar-pick__grid picture,
html[data-oc-layout="phone"] [data-testid="avatar-select-options"] picture,
html[data-oc-layout="phone"] .avatar-pick--mobile picture,
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid picture {
  display: block !important;
  width: 112px !important;
  height: 112px !important;
  flex: 0 0 112px !important;
}

html[data-oc-layout="phone"] .avatar-pick__grid img,
html[data-oc-layout="phone"] [data-testid="avatar-select-options"] img,
html[data-oc-layout="phone"] .avatar-pick--mobile img,
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid img,
html[data-oc-layout="phone"] .app-modal .avatar-pick--mobile img {
  width: 112px !important;
  height: 112px !important;
  min-width: 112px !important;
  min-height: 112px !important;
  max-width: 112px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: 50% 22% !important;
}

html[data-oc-layout="phone"] .avatar-pick__grid > * > span:last-child,
html[data-oc-layout="phone"] [data-testid="avatar-select-options"] > * > span:last-child,
html[data-oc-layout="phone"] .app-modal .avatar-pick__grid > * > span:last-child {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden !important;
  max-width: 100%;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #f4eee0 !important;
  text-align: center;
  white-space: normal !important;
}

/* Host list + current-player chip: large portraits, fat rows. */
html[data-oc-layout="phone"] [data-testid="host-profile-list"] > .cstr-tile,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] > *,
html[data-oc-layout="phone"] [data-testid="home-profile-menu"] .oc-phone-person {
  min-height: 108px !important;
  padding: 12px 14px !important;
  gap: 14px !important;
}

html[data-oc-layout="phone"] [data-testid="home-profile-menu"] [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid="host-profile-pick"] [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid="host-profile-list"] [data-testid="player-avatar"],
html[data-oc-layout="phone"] .oc-phone-person [data-testid="player-avatar"],
html[data-oc-layout="phone"] .cprof-preview [data-testid="player-avatar"],
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .cstr-tile [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .oc-phone-person [data-testid="player-avatar"],
html[data-oc-layout="phone"] .app-modal [data-testid="host-profile-list"] [data-testid="player-avatar"] {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
  flex: 0 0 96px !important;
  border-radius: 50% !important;
  overflow: hidden;
}

html[data-oc-layout="phone"] [data-testid="home-profile-menu"] [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] [data-testid="home-profile-menu"] [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid="host-profile-pick"] [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] [data-testid="host-profile-pick"] [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .oc-phone-person [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .oc-phone-person [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .cprof-preview [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .cprof-preview [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .cstr-tiles .cstr-tile [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .cstr-tile [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .cstr-tile [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .oc-phone-person [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .oc-phone-person [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .app-modal [data-testid="host-profile-list"] [data-testid="player-avatar"] img {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .cprof-preview {
  min-height: 112px !important;
  gap: 14px !important;
  padding: 12px 14px !important;
}

html[data-oc-layout="phone"] .cprof-preview__name,
html[data-oc-layout="phone"] [data-testid="host-profile-list"] .oc-phone-person__name,
html[data-oc-layout="phone"] [data-testid="home-profile-menu"] .cstr-tile__value--word {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

/* Name field + primary CTA: thumb-sized. */
html[data-oc-layout="phone"] [data-testid="host-profile-name"],
html[data-oc-layout="phone"] .cstr-guide--poster .cstr-custom__in,
html[data-oc-layout="phone"] [data-testid="home-profile-menu"] .cstr-custom__in {
  min-height: 52px !important;
  height: 52px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: 0 0.9rem !important;
}

html[data-oc-layout="phone"] [data-testid="host-profile-save"],
html[data-oc-layout="phone"] [data-testid="host-profile-use"],
html[data-oc-layout="phone"] .cprof-cta,
html[data-oc-layout="phone"] [data-testid="home-profile-menu"] .cstr-guide__path--lead {
  min-height: 56px !important;
  font-size: 18px !important;
}

html[data-oc-layout="phone"] [data-testid="avatar-select-grid"] button {
  min-height: 44px;
}

/* ==========================================================================
 * PHONE LAYOUT 9 — format cards stack + large (2026-09-05)
 * Table setup .ctable__formats is 2-col at every width (4-col ≥640).
 * Type-pick .ced-type-grid wraps 2-col from 520px. User: all undereinander,
 * bigger type. Desk/TV ≥720 unchanged. Avatar picker stays LAYOUT 8 2-col.
 * ========================================================================== */

html[data-oc-layout="phone"] .ctable__formats,
html[data-oc-layout="phone"] [data-testid="table-formats"] .ctable__formats,
html[data-oc-layout="phone"] .ced-type-grid,
html[data-oc-layout="phone"] .app-modal .ced-type-grid,
html[data-oc-layout="phone"] .app-modal .cstr__tiles,
html[data-oc-layout="phone"] .app-modal .cstr-grid {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .ctable__formats > *,
html[data-oc-layout="phone"] .ctable__fmt,
html[data-oc-layout="phone"] .ced-type-grid > *,
html[data-oc-layout="phone"] .ced-type-card {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 220px !important;
  height: auto !important;
}

html[data-oc-layout="phone"] .ctable__fmt-copy,
html[data-oc-layout="phone"] .ced-type-card__copy {
  min-height: 220px !important;
  padding: 16px 16px 18px !important;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .ctable__lab {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #d4af37 !important;
}

html[data-oc-layout="phone"] .ctable__hint,
html[data-oc-layout="phone"] [data-testid="table-format-blurb"] {
  font-size: 18px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

html[data-oc-layout="phone"] .ctable__fmt-kicker,
html[data-oc-layout="phone"] .ced-type-card__kicker {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
}

html[data-oc-layout="phone"] .ctable__fmt-title,
html[data-oc-layout="phone"] .ced-type-card__title {
  font-size: 26px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: normal !important;
}

html[data-oc-layout="phone"] .ctable__fmt-blurb,
html[data-oc-layout="phone"] .ced-type-card__blurb {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  max-width: none !important;
  width: 100% !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #f4eee0 !important;
  white-space: normal !important;
}

html[data-oc-layout="phone"] .ctable__fmt .cfmt-cup,
html[data-oc-layout="phone"] .ced-type-card .cfmt-cup {
  width: 2.4rem !important;
  height: 3.1rem !important;
}

html[data-oc-layout="phone"] .ctable__board {
  padding-bottom: calc(12px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
 * PHONE LAYOUT 10 — lobby / join / field / guest (2026-09-05)
 * Field·Draw used auto-fill minmax(11.5rem) + overflow-wrap:anywhere, so
 * seat names letter-stacked in a ~12px column. Join-board and guest facts
 * still key off max-width 480/520, which misses iOS Request Desktop Website.
 * Stack under html[data-oc-layout="phone"]. Fat rows, large avatars, wrap
 * at spaces only. Desk/TV ≥720 unchanged. Avatar picker stays LAYOUT 8.
 * ========================================================================== */

html[data-oc-layout="phone"] .olobby__field-lab,
html[data-oc-layout="phone"] .olobby-card__hostname,
html[data-oc-layout="phone"] .olobby-finder-signed__name,
html[data-oc-layout="phone"] .cfield-name,
html[data-oc-layout="phone"] .cfield-name__in,
html[data-oc-layout="phone"] .ghsb__val,
html[data-oc-layout="phone"] .ghsb__title,
html[data-oc-layout="phone"] .olobby-join-board__body h3,
html[data-oc-layout="phone"] .olobby-desk__title,
html[data-oc-layout="phone"] [data-testid^="olobby-seat-"],
html[data-oc-layout="phone"] [data-testid^="field-seat-"] {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

html[data-oc-layout="phone"] .olobby__field-list,
html[data-oc-layout="phone"] [data-testid="olobby-field-rail"] .olobby__field-list,
html[data-oc-layout="phone"] .cfield-list,
html[data-oc-layout="phone"] .ghsb__facts,
html[data-oc-layout="phone"] .olobby-join-board,
html[data-oc-layout="phone"] .olobby-desk__codes,
html[data-oc-layout="phone"] .olobby-desk__tools,
html[data-oc-layout="phone"] .olobby-join-ways,
html[data-oc-layout="phone"] ul.grid.sm\:grid-cols-2 {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .olobby__field-seat,
html[data-oc-layout="phone"] [data-testid^="olobby-seat-"],
html[data-oc-layout="phone"] [data-testid^="field-seat-"] {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 88px !important;
  height: auto !important;
  padding: 12px 14px !important;
  box-sizing: border-box;
}

html[data-oc-layout="phone"] .olobby__field-lab,
html[data-oc-layout="phone"] [data-testid^="olobby-seat-"] .olobby__field-lab,
html[data-oc-layout="phone"] [data-testid^="field-seat-"] .font-display {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #f4eee0 !important;
}

html[data-oc-layout="phone"] .olobby__field-seat [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid="olobby-field-rail"] [data-testid="player-avatar"],
html[data-oc-layout="phone"] [data-testid^="field-seat-"] [data-testid="player-avatar"],
html[data-oc-layout="phone"] .olobby-join__you [data-testid="player-avatar"],
html[data-oc-layout="phone"] .ghsb__host [data-testid="player-avatar"] {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  flex: 0 0 72px !important;
  border-radius: 50% !important;
  overflow: hidden;
}

html[data-oc-layout="phone"] .olobby__field-seat [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid="olobby-field-rail"] [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] [data-testid^="field-seat-"] [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .olobby-join__you [data-testid="player-avatar"] img,
html[data-oc-layout="phone"] .ghsb__host [data-testid="player-avatar"] img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .olobby-join-board {
  padding: 16px !important;
}

html[data-oc-layout="phone"] .olobby-join-board__step {
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
}

html[data-oc-layout="phone"] .olobby-join-board__body h3,
html[data-oc-layout="phone"] .olobby-join-inline .cstr__title {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

html[data-oc-layout="phone"] .olobby-join-board__hint {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

html[data-oc-layout="phone"] .olobby-join__you {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
}

html[data-oc-layout="phone"] .olobby-join__id,
html[data-oc-layout="phone"] [data-testid="online-guest-name"] {
  width: 100% !important;
}

html[data-oc-layout="phone"] [data-testid="online-guest-name"] {
  min-height: 52px !important;
  font-size: 18px !important;
}

html[data-oc-layout="phone"] .ghsb__top,
html[data-oc-layout="phone"] .ghsb__host {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

html[data-oc-layout="phone"] .ghsb__title {
  font-size: 24px !important;
}

html[data-oc-layout="phone"] .ghsb__val {
  font-size: 20px !important;
}

html[data-oc-layout="phone"] .cfield-row__main {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

html[data-oc-layout="phone"] .cfield-face {
  width: 72px !important;
  height: 72px !important;
}

html[data-oc-layout="phone"] .cfield-name__in,
html[data-oc-layout="phone"] .cfield-nudge,
html[data-oc-layout="phone"] .cfield-kind {
  min-height: 44px !important;
  font-size: 16px !important;
}

html[data-oc-layout="phone"] .olobby__field {
  padding-bottom: calc(12px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
 * PHONE LAYOUT 11 — Super Mobile, all levels (2026-09-05)
 * Home, Custom, Lobby, Career chrome, sheets, submenus.
 * size=sm confirm stays compact. Job sheets 88dvh.
 * Stack every 2-col except avatar-pick (LAYOUT 8) and the dart pad.
 * Names wrap at spaces. Desk/TV ≥720 unchanged.
 * ========================================================================== */

/* Sheets: compact vs job. Beats LAYOUT 1/3 72dvh on every .app-modal__panel. */
html[data-oc-layout="phone"] .app-modal__panel[data-oc-sheet-kind="compact"] {
  min-height: 0 !important;
  max-height: min(64dvh, 100%) !important;
  height: auto !important;
}

html[data-oc-layout="phone"] .app-modal__panel[data-oc-sheet-kind="job"] {
  min-height: 88dvh !important;
  max-height: 92dvh !important;
}

html[data-oc-layout="phone"] .app-modal__panel[data-oc-sheet-kind="job"] .modal-body-scroll,
html[data-oc-layout="phone"] .app-modal__panel[data-oc-sheet-kind="job"] .app-modal__body {
  font-size: 18px !important;
  line-height: 1.35;
}

html[data-oc-layout="phone"] .app-modal__foot {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

html[data-oc-layout="phone"] .app-modal__foot button,
html[data-oc-layout="phone"] .app-modal__foot .cta-primary,
html[data-oc-layout="phone"] .app-modal__foot a,
html[data-oc-layout="phone"] .phone-nav-cta,
html[data-oc-layout="phone"] .phone-nav-stay {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

/* Stack Tailwind 2-col everywhere except picker + match scorer. */
html[data-oc-layout="phone"] [class*="grid-cols-2"]:not(.avatar-pick__grid):not([data-testid="avatar-select-options"]):not(.match-dual-grid):not(.match-input-tabs),
html[data-oc-layout="phone"] [class*="sm:grid-cols-2"]:not(.avatar-pick__grid):not(.match-dual-grid),
html[data-oc-layout="phone"] [class*="md:grid-cols-2"]:not(.match-dual-grid) {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

/* Named 2-col desks that never used Tailwind grid-cols. */
html[data-oc-layout="phone"] .cshow-pair__grid,
html[data-oc-layout="phone"] .cstamm__grid,
html[data-oc-layout="phone"] .fmt-grid,
html[data-oc-layout="phone"] .fmt-grid--3,
html[data-oc-layout="phone"] .rkd-split,
html[data-oc-layout="phone"] .rkd-kpis,
html[data-oc-layout="phone"] .ctour-card__facts,
html[data-oc-layout="phone"] .csw__ticker,
html[data-oc-layout="phone"] .cstr-guide__nav,
html[data-oc-layout="phone"] .cfield-bar__acts,
html[data-oc-layout="phone"] .olobby-finder-grid,
html[data-oc-layout="phone"] .trophy-grid,
html[data-oc-layout="phone"] .career-hub-grid,
html[data-oc-layout="phone"] .home-mode-more,
html[data-oc-layout="phone"] .phone-nav-list {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .cstamm__grid > li,
html[data-oc-layout="phone"] .cshow-pair__tile,
html[data-oc-layout="phone"] .cstamm__card,
html[data-oc-layout="phone"] .fmt-grid > * {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 88px !important;
}

html[data-oc-layout="phone"] .cshow-pair__word {
  font-size: 28px !important;
  font-weight: 900 !important;
}

html[data-oc-layout="phone"] .cshow-pair__hint,
html[data-oc-layout="phone"] .cstamm__sub {
  font-size: 16px !important;
  white-space: normal !important;
}

html[data-oc-layout="phone"] .cstamm__label,
html[data-oc-layout="phone"] .cstamm__title {
  font-size: 22px !important;
  font-weight: 800 !important;
}

/* Home + submenu (Mehr). */
html[data-oc-layout="phone"] .home-mode-card,
html[data-oc-layout="phone"] .home-tv .home-mode-card {
  width: 100% !important;
  min-height: 13.5rem !important;
}

html[data-oc-layout="phone"] .home-mode-card__title {
  font-size: 26px !important;
}

html[data-oc-layout="phone"] .home-mode-more,
html[data-oc-layout="phone"] .home-mode-more[open] {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .home-mode-more > summary,
html[data-oc-layout="phone"] details > summary {
  min-height: 52px !important;
  width: 100% !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .home-mode-more .home-mode-btn,
html[data-oc-layout="phone"] .home-mode-more button,
html[data-oc-layout="phone"] .home-mode-more a {
  width: 100% !important;
  min-height: 52px !important;
  font-size: 18px !important;
}

/* Phone menu sheet rows. */
html[data-oc-layout="phone"] .phone-nav-row,
html[data-oc-layout="phone"] .phone-nav-sheet .phone-nav-row {
  min-height: 64px !important;
  font-size: 22px !important;
  gap: 14px !important;
  padding: 12px 16px !important;
}

html[data-oc-layout="phone"] .phone-nav-row svg {
  width: 28px !important;
  height: 28px !important;
}

/* Table builder leftover: name, chips, field stepper. */
html[data-oc-layout="phone"] .ctable__name,
html[data-oc-layout="phone"] .ctable__name input,
html[data-oc-layout="phone"] [data-testid="table-lobby-name"],
html[data-oc-layout="phone"] .cstr-custom__in,
html[data-oc-layout="phone"] .cfmt-num__in,
html[data-oc-layout="phone"] input.cstr-custom__in {
  width: 100% !important;
  min-height: 52px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Phone hamburger. Desktop header stays the capsule. */
.phone-menu-btn {
  display: none;
}

html[data-oc-layout="phone"] .phone-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 0.85rem;
  border: 1px solid #d4af37;
  background: #08120e;
  color: #d4af37;
  box-shadow: none;
}

html[data-oc-layout="phone"] .phone-menu-btn--float {
  position: fixed;
  top: calc(0.45rem + env(safe-area-inset-top, 0px));
  right: 0.55rem;
  z-index: 45;
  margin-left: 0;
}

.phone-menu-btn__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.15rem;
}

.phone-menu-btn__bars i {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #d4af37;
}

.phone-menu-btn__bars i:nth-child(2) {
  width: 72%;
}

html[data-oc-layout="phone"] [data-testid="phone-nav-sheet"] {
  align-items: stretch !important;
  justify-content: flex-end !important;
  padding: 0 !important;
  background: #050d0a !important;
}

html[data-oc-layout="phone"] [data-testid="phone-nav-sheet"] .app-modal__panel.phone-nav-sheet {
  width: min(22.5rem, 100%) !important;
  max-width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 0 0 auto !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-left: 1px solid #d4af37 !important;
  background: #071510 !important;
  box-shadow: none !important;
}

html[data-oc-layout="phone"] [data-testid="phone-nav-sheet"] .app-modal__handle {
  display: none !important;
}

html[data-oc-layout="phone"] [data-testid="phone-nav-sheet"] .app-modal__head,
html[data-oc-layout="phone"] [data-testid="phone-nav-sheet"] .app-modal__foot {
  background: #071510 !important;
}

html[data-oc-layout="phone"] .phone-menu-kicker {
  margin: 0.85rem 0.15rem 0.15rem;
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-oc-layout="phone"] .phone-nav-row--lead {
  border-color: #d4af37 !important;
  background: #10281f !important;
}

html[data-oc-layout="phone"] .phone-menu-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #2a4f42;
  background: #0c1c16;
  color: #f4eee0;
  font-size: 20px;
  font-weight: 800;
}

html[data-oc-layout="phone"] .phone-menu-lang [data-testid="language-switcher"] button {
  min-height: 44px;
  min-width: 44px;
  font-size: 16px;
}

html[data-oc-layout="phone"] .phone-menu-legal {
  display: flex;
  gap: 16px;
  padding: 4px 4px 8px;
}

html[data-oc-layout="phone"] .phone-menu-legal button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d4af37;
  font-size: 15px;
  font-weight: 700;
}

/* Round desk — last board, this round, event bar. Phone only. */
.prund {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prund-kicker {
  margin: 0;
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prund-empty {
  margin: 0;
  color: #f4eee0;
  font-size: 0.95rem;
}

.prund-last,
.prund-round,
.prund-tools {
  padding: 0.75rem;
  border: 1px solid #2a4f42;
  border-radius: 14px;
  background: #0c1c16;
}

.prund-last__pair {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4eee0;
  text-align: center;
}

.prund-last__mid b {
  display: block;
  font-family: var(--font-display, ui-sans-serif);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.prund-last__mid span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}

.prund-stats {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
}

.prund-stats div {
  padding: 0.4rem 0.35rem;
  border-radius: 10px;
  background: #071510;
}

.prund-stats dt {
  color: #d4af37;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prund-stats dd {
  margin: 0.1rem 0 0;
  color: #f4eee0;
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.prund-round__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.prund-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}

.prund-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.prund-row.is-you .prund-row__main {
  border-color: #d4af37;
}

.prund-you {
  padding: 0.85rem;
  border: 1px solid #d4af37;
  border-radius: 14px;
  background: #10281f;
}

.prund-you__faces {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.prund-you__faces > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  color: #f4eee0;
  font-weight: 800;
  text-align: center;
}

.prund-you__faces b {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.95rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prund-you__faces em {
  margin-top: 1.5rem;
  color: #d4af37;
  font-style: normal;
  font-weight: 800;
}

.prund-you__acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.prund-you__acts button {
  min-height: 3rem;
  border: 0;
  border-radius: 12px;
  background: #071510;
  color: #f4eee0;
  font-weight: 800;
}

.prund-you__acts button:first-child {
  background: #d4af37;
  color: #071510;
}

.prund-you__status {
  margin: 0.55rem 0 0;
  color: #f4eee0;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.prund-hop__who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  color: #f4eee0;
  font-weight: 800;
  text-align: center;
}

.prund-quarter {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem;
  border: 1px solid #2a4f42;
  border-radius: 14px;
  background: #0c1c16;
}

.prund-quarter__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.prund-note {
  margin: 0;
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prund-ladder {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.45rem 0;
  padding: 0;
  list-style: none;
}

.prund-ladder li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  color: #f4eee0;
  font-size: 0.85rem;
  font-weight: 800;
}

.prund-ladder li.is-locked {
  opacity: 0.55;
}

.prund-ladder .prund-chips {
  margin: 0;
}

.prund-chips button:disabled {
  opacity: 0.7;
}

.prund-other {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #2a4f42;
  border-radius: 12px;
  background: #071510;
  color: #f4eee0;
  font-size: 0.85rem;
  font-weight: 750;
  text-align: left;
}

.prund-round > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: 2.75rem;
  list-style: none;
  cursor: pointer;
}

.prund-round > summary::-webkit-details-marker {
  display: none;
}

.prund-faces {
  display: flex;
  gap: 0.2rem;
}

.prund-row.is-done {
  opacity: 0.7;
}

.prund-row__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 3.25rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #2a4f42;
  border-radius: 12px;
  background: #071510;
  color: #f4eee0;
  text-align: left;
}

.prund-row__names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.prund-row__names b {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prund-row__score {
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.prund-text {
  min-height: 2.75rem;
  padding: 0 0.55rem;
  border: 0;
  background: transparent;
  color: #d4af37;
  font-size: 0.82rem;
  font-weight: 800;
}

.prund-face {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 999px;
}

.prund-face--hero {
  width: 4.5rem;
  height: 4.5rem;
}

.prund-face [data-testid="player-avatar"],
.prund-face [data-testid="player-avatar"] > span,
.prund-face img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .md-fix [data-testid="player-avatar"],
html[data-oc-layout="phone"] .md-fix [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .md-fix img,
html[data-oc-layout="phone"] .cg-tv__faces [data-testid="player-avatar"],
html[data-oc-layout="phone"] .cg-tv__faces [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .cg-tv__faces img {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

.prund-tools__len {
  margin: 0.35rem 0 0;
  color: #f4eee0;
  font-weight: 800;
}

.prund-chips {
  display: flex;
  gap: 0.4rem;
  margin: 0.45rem 0;
}

.prund-chips button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid #2a4f42;
  border-radius: 999px;
  background: #071510;
  color: #f4eee0;
  font-weight: 800;
}

.prund-chips button.is-on {
  border-color: #d4af37;
  background: #d4af37;
  color: #071510;
}

.prund-bar {
  position: sticky;
  bottom: calc(var(--app-dock-h, 4rem) + 0.35rem);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.4rem;
  border: 1px solid #d4af37;
  border-radius: 14px;
  background: #071510;
}

.prund-bar button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 10px;
  background: #10281f;
  color: #f4eee0;
  font-size: 0.78rem;
  font-weight: 800;
}

.prund-bar button:first-child {
  background: #d4af37;
  color: #071510;
}

.prund-bar button:disabled {
  opacity: 0.45;
}

/* The Draw stays on the phone, under the round desk. */
html[data-oc-layout="phone"][data-abend="shut"] .cphone-later,
html[data-oc-layout="phone"][data-abend="shut"] .cphone-draw {
  display: none !important;
}

html[data-oc-layout="phone"] .cphone-abend {
  margin: 0.35rem 0 0.5rem;
}

html[data-oc-layout="phone"] .cphone-draw {
  border: 1px solid #d4af37;
  border-radius: 14px;
  background: #071510;
  padding: 0.35rem 0.75rem 0.75rem;
}

html[data-oc-layout="phone"] .cphone-draw > summary {
  min-height: 3rem;
  color: #d4af37;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

html[data-oc-layout="phone"] .cphone-draw > summary::-webkit-details-marker {
  display: none;
}

html[data-oc-layout="phone"] .cphone-draw .cnews,
html[data-oc-layout="phone"] .cphone-draw .cdraw__cup,
.prund-trophy .cnews-win {
  display: block !important;
}

.prund-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.prund-final__cup,
.prund-final__cup img {
  width: min(11rem, 62vw) !important;
  height: auto !important;
  max-height: 14rem;
  object-fit: contain !important;
}

.prund-you--final {
  border-color: #d4af37;
  background: #10281f;
}

.prund-trophy .cnews-win {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.prund-trophy .cnews-win__cup,
.prund-trophy .cnews-win__cup img {
  width: min(14rem, 70vw) !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Match report and preview stay two columns and a readable size. */
html[data-oc-layout="phone"] .app-modal__panel.mr-tv {
  min-height: 0 !important;
}

html[data-oc-layout="phone"] .mr-tv,
html[data-oc-layout="phone"] .mr-tv p,
html[data-oc-layout="phone"] .mr-tv li,
html[data-oc-layout="phone"] .mr-tv dt,
html[data-oc-layout="phone"] .mr-tv dd,
html[data-oc-layout="phone"] .mr-tv span,
html[data-oc-layout="phone"] .mpv,
html[data-oc-layout="phone"] .mpv p,
html[data-oc-layout="phone"] .mpv li,
html[data-oc-layout="phone"] .mpv dt,
html[data-oc-layout="phone"] .mpv dd {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

html[data-oc-layout="phone"] .mr-tv [class*="grid-cols-2"],
html[data-oc-layout="phone"] .mr-tv [class*="grid-cols-3"] {
  display: grid !important;
  flex-direction: unset !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.broadcast-stat-legend {
  display: none;
}

/* Score, then a stat table, then key moments. Names sit over their column. */
html[data-oc-layout="phone"] .broadcast-scoreboard > .grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .broadcast-scoreboard .items-end,
html[data-oc-layout="phone"] .broadcast-scoreboard .items-start {
  align-items: center !important;
}

html[data-oc-layout="phone"] .broadcast-scoreboard .items-end > .flex {
  flex-direction: column-reverse !important;
  align-items: center !important;
}

html[data-oc-layout="phone"] .broadcast-scoreboard .items-start > .flex {
  flex-direction: column !important;
  align-items: center !important;
}

html[data-oc-layout="phone"] .broadcast-scoreboard .text-right,
html[data-oc-layout="phone"] .broadcast-scoreboard p {
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

html[data-oc-layout="phone"] .broadcast-scoreboard .flex-col.items-center > p:first-child {
  font-size: 2.2rem !important;
  line-height: 1 !important;
}

html[data-oc-layout="phone"] .broadcast-stat-legend,
html[data-oc-layout="phone"] .broadcast-stat-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 3.6rem 3.6rem !important;
  grid-template-areas: "lab va vb" !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 10px !important;
}

html[data-oc-layout="phone"] .broadcast-stat-legend {
  background: #10281f;
  border-top: 1px solid #2a4f42;
  border-bottom: 1px solid #2a4f42;
}

html[data-oc-layout="phone"] .broadcast-stat-legend > span:nth-child(1),
html[data-oc-layout="phone"] .broadcast-stat-row > :nth-child(2) {
  grid-area: lab;
  min-width: 0 !important;
  text-align: left !important;
  letter-spacing: 0.04em !important;
  font-size: 12px !important;
}

html[data-oc-layout="phone"] .broadcast-stat-legend > span:nth-child(2),
html[data-oc-layout="phone"] .broadcast-stat-row > :nth-child(1) {
  grid-area: va;
  align-items: center !important;
  text-align: center !important;
}

html[data-oc-layout="phone"] .broadcast-stat-legend > span:nth-child(3),
html[data-oc-layout="phone"] .broadcast-stat-row > :nth-child(3) {
  grid-area: vb;
  align-items: center !important;
  text-align: center !important;
}

html[data-oc-layout="phone"] .broadcast-stat-legend > span {
  color: #d4af37;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.2 !important;
  text-align: center;
}

html[data-oc-layout="phone"] .broadcast-stat-row p,
html[data-oc-layout="phone"] .broadcast-stat-row span {
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

html[data-oc-layout="phone"] .mr-tv__hero .flex.items-center {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: start !important;
}

html[data-oc-layout="phone"] .mr-tv__side,
html[data-oc-layout="phone"] .mr-tv__side.text-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

html[data-oc-layout="phone"] .mr-tv__side .justify-end {
  justify-content: center !important;
}

html[data-oc-layout="phone"] .mr-brief {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #2a4f42;
  border-radius: 12px;
  overflow: hidden;
  background: #0c1c16;
}

html[data-oc-layout="phone"] .mr-brief__names,
html[data-oc-layout="phone"] .mr-brief__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.6rem 3.6rem;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
}

html[data-oc-layout="phone"] .mr-brief__names {
  background: #10281f;
  color: #d4af37;
  font-size: 12px;
  font-weight: 800;
}

html[data-oc-layout="phone"] .mr-brief__names span:first-child {
  grid-column: 2;
  text-align: center;
}

html[data-oc-layout="phone"] .mr-brief__names span:last-child {
  grid-column: 3;
  text-align: center;
}

html[data-oc-layout="phone"] .mr-brief__row span {
  color: #f4eee0;
  font-size: 13px;
  font-weight: 750;
}

html[data-oc-layout="phone"] .mr-sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.6rem;
  border: 1px solid #2a4f42;
  border-radius: 14px;
  background: #0c1c16;
  overflow: hidden;
}

html[data-oc-layout="phone"] .mr-sheet__who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0.6rem 0.7rem;
  background: #10281f;
  text-align: center;
}

html[data-oc-layout="phone"] .mr-sheet__who > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

html[data-oc-layout="phone"] .mr-sheet__who b,
html[data-oc-layout="phone"] .mr-sheet__who small {
  display: block;
  max-width: 100%;
  font-size: 1.15rem !important;
  font-weight: 800;
  line-height: 1.2 !important;
  text-align: center !important;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .mr-sheet__who small {
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
}

html[data-oc-layout="phone"] .mr-sheet__who [data-testid="player-avatar"],
html[data-oc-layout="phone"] .mr-sheet__who [data-testid="player-avatar"] > span,
html[data-oc-layout="phone"] .mr-sheet__who img {
  width: 4.5rem !important;
  height: 4.5rem !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

html[data-oc-layout="phone"] .mr-sheet__row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 1fr 1fr;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.65rem;
  border-top: 1px solid #2a4f42;
}

html[data-oc-layout="phone"] .mr-sheet__row span {
  text-align: left !important;
  font-size: 0.92rem !important;
  font-weight: 750;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .mr-sheet__row b {
  text-align: center !important;
  font-size: 1.05rem !important;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .mr-brief__names span {
  font-size: 1rem !important;
}

html[data-oc-layout="phone"] .mr-brief__row b {
  text-align: center;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: #f4eee0;
}

html:not([data-oc-layout="phone"]) .mr-more > summary {
  display: none;
}

html[data-oc-layout="phone"] .mr-more {
  border: 1px solid #d4af37;
  border-radius: 12px;
  background: #071510;
  padding: 0.35rem 0.75rem 0.75rem;
}

html[data-oc-layout="phone"] .mr-more > summary {
  min-height: 3rem;
  color: #d4af37;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

html[data-oc-layout="phone"] .mr-tv__hero .text-5xl {
  font-size: 2.2rem !important;
  line-height: 1 !important;
}

html[data-oc-layout="phone"] .mpv__stats,
html[data-oc-layout="phone"] .mpv__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .mpv__vs {
  grid-column: 1 / -1;
  text-align: center;
}

html[data-oc-layout="phone"] .mpv footer .bk-act,
html[data-oc-layout="phone"] .mpv .bk-act {
  min-height: 48px !important;
  font-size: 15px !important;
}

/* Bracket cards keep play, sim and the cup. */
html[data-oc-layout="phone"] [data-testid="bracket-round-tabs"] .bk-match-card,
html[data-oc-layout="phone"] [data-testid^="bracket-round-list"] .bk-match-card,
html[data-oc-layout="phone"] .bk-match-card {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

html[data-oc-layout="phone"] .bk-match-actions {
  display: flex !important;
}

html[data-oc-layout="phone"] .bk-act {
  min-height: 44px !important;
  font-size: 12px !important;
}

html[data-oc-layout="phone"] [data-testid="custom-ko-bracket"] > .flex.flex-wrap {
  display: flex !important;
}

html[data-oc-layout="phone"] .bk-final-trophy-frame,
html[data-oc-layout="phone"] .bk-final-card .bk-final-trophy-frame img {
  display: block !important;
  width: 2.4rem !important;
  height: auto !important;
  object-fit: contain !important;
}

html[data-oc-layout="phone"] .ctable__tiers,
html[data-oc-layout="phone"] .ctable__tiers--wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html[data-oc-layout="phone"] .ctable__tier,
html[data-oc-layout="phone"] .cstr-chip,
html[data-oc-layout="phone"] .cfmt-num__btn {
  min-height: 48px !important;
  min-width: 48px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

html[data-oc-layout="phone"] .cfield__n {
  font-size: 28px !important;
  font-weight: 900 !important;
}

/* Names never letter-stack — WAVE overflow-wrap:anywhere is the trap. */
html[data-oc-layout="phone"] .cstr-tile__value,
html[data-oc-layout="phone"] .cstr-tile__value--word,
html[data-oc-layout="phone"] .oc-phone-person__name,
html[data-oc-layout="phone"] .club-dock__name,
html[data-oc-layout="phone"] .rkd-row__name,
html[data-oc-layout="phone"] .match-player-name {
  writing-mode: horizontal-tb !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  white-space: normal !important;
}

/* In-flow CTA above the dock. */
html[data-oc-layout="phone"] .cstr-guide__path--lead,
html[data-oc-layout="phone"] .cprof-cta,
html[data-oc-layout="phone"] [data-testid="table-start-night"],
html[data-oc-layout="phone"] [data-testid="host-profile-save"],
html[data-oc-layout="phone"] [data-testid="host-profile-use"] {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
}

html[data-oc-layout="phone"] .ctable,
html[data-oc-layout="phone"] .olobby-desk,
html[data-oc-layout="phone"] .home-tv .home-desk {
  padding-bottom: calc(16px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px));
}

/* Keep the dart pad 3-col. LAYOUT 6/7 win on keys; restate so L11 cannot flatten. */
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .grid.grid-cols-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  flex-direction: unset !important;
}

html[data-oc-layout="phone"] .avatar-pick__grid,
html[data-oc-layout="phone"] [data-testid="avatar-select-options"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  flex-direction: unset !important;
}

/* ==========================================================================
 * PHONE LAYOUT 12 — match scorer unbreak (2026-09-05)
 * LAYOUT 11 stacked .match-dual-grid (grid-cols-2) and .match-input-tabs,
 * and forced dart-segment-grid to 3-col. Result: stacked player cards,
 * VISIT TOTAL / DART BY DART as two fat rows, 1–20 pad as 3-col so
 * keys 10–12 sit under CONFIRM VISIT. Restate LAYOUT 6 pad-first.
 * ========================================================================== */

html[data-oc-layout="phone"] .phone-match-compact .match-dual-grid,
html[data-oc-layout="phone"] .match-shell--scorer .match-dual-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-areas: "a b" !important;
  flex-direction: unset !important;
  gap: 0.4rem !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  flex-direction: unset !important;
  gap: 6px !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tab {
  min-height: 44px !important;
  width: auto !important;
  font-size: 14px !important;
}

html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"],
html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(44px, 1fr)) !important;
  flex-direction: unset !important;
  gap: 4px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-visit-strip .grid.grid-cols-3,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-chrome.grid-cols-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  flex-direction: unset !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials,
html[data-oc-layout="phone"] .phone-match-compact .match-visit-quick {
  display: grid !important;
  flex-direction: unset !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-visit-quick {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-confirm-btn:not(.match-confirm-btn--tel),
html[data-oc-layout="phone"] .phone-match-compact [data-testid="confirm-visit-dart"] {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  min-height: 52px !important;
  width: 100% !important;
  margin-top: 6px !important;
  margin-bottom: calc(10px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-fit-main {
  overflow: hidden !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad--dart {
  overflow: visible !important;
  min-height: 0 !important;
}

/* ==========================================================================
 * PHONE LAYOUT 13 — telephone keypad (2026-09-05)
 * Visit pad is a phone numpad: 1–9, then ⌫ 0 ✓. Keys ≥72px like iOS Dial.
 * Dart-by-dart stays 5×4 with the same key height. Scorebug shrinks so the
 * pad owns the screen. Desk/TV unchanged.
 * ========================================================================== */

html[data-oc-layout="phone"] .phone-match-compact .match-fit-top {
  max-height: 22dvh !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card .match-hero-score,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="false"] .match-hero-score {
  font-size: 44px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="true"] .match-hero-score {
  font-size: 52px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tabs {
  padding: 4px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tab {
  min-height: 40px !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-visit-quick {
  display: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad--tel .match-pad-keys,
html[data-oc-layout="phone"] .phone-match-compact [data-phone-pad="tel"] .match-pad-keys,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .match-pad-keys {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(72px, 1fr)) !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-height: 304px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad--tel .match-num-key,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] .match-num-key {
  min-height: 72px !important;
  height: 100% !important;
  font-size: 40px !important;
  font-weight: 900 !important;
  border-radius: 16px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-num-key.match-confirm-btn--tel,
html[data-oc-layout="phone"] .phone-match-compact .match-pad--tel [data-testid="confirm-visit"] {
  min-height: 72px !important;
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 16px !important;
  background: #3d9b6e !important;
  background-color: #3d9b6e !important;
  color: #04150f !important;
  border-color: #5ecf94 !important;
  font-size: 28px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad--tel {
  padding-bottom: calc(8px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px));
}

html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"],
html[data-oc-layout="phone"] .phone-match-compact .match-dart-segments {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  gap: 6px !important;
}

html[data-oc-layout="phone"] .phone-match-compact [data-testid="dart-segment-grid"] button,
html[data-oc-layout="phone"] .phone-match-compact .match-dart-key {
  min-height: 0 !important;
  height: 100% !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  border-radius: 14px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-visit-strip {
  min-height: 0 !important;
  padding: 6px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-dart-kicker {
  font-size: 10px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-dart-value {
  font-size: 18px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-mult-btn {
  min-height: 48px !important;
  font-size: 16px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials {
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-special-btn,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-specials button {
  min-height: 48px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad--dart {
  padding-bottom: 0 !important;
}

/* ==========================================================================
 * PHONE LAYOUT 14 — TV scorebug + broadcast input (2026-09-05)
 * Rest and Legs no longer share a row (they collided at 390px).
 * Sky/PDC scorebug: NAME | LEGS chip on row 1, REST full-width on row 2.
 * Input zone as lower-third: gold hairline, LIVE turn stripe, pad owns the
 * floor. Do not shrink L13 tel keys or clip dart 1–20. Desk/TV ≥720 unchanged.
 * ========================================================================== */

@keyframes oc-phone-live-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.55);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 6px rgba(0, 200, 83, 0);
  }
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card,
html[data-oc-layout="phone"] .match-shell--scorer .match-player-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto !important;
  align-items: start !important;
  column-gap: 6px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-card-head {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  padding-right: 4px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-name,
html[data-oc-layout="phone"] .phone-match-compact .match-player-name.truncate {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge,
html[data-oc-layout="phone"] .phone-match-compact .match-shell--scorer.match-shell--fit .match-legs-badge {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  min-width: 28px !important;
  max-width: 42px !important;
  padding: 2px 4px 3px !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 6px !important;
  background-color: #071510 !important;
  background-image: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-val,
html[data-oc-layout="phone"] .phone-match-compact .match-inset-legs {
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #f4eee0 !important;
  text-align: center !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge {
  max-height: 36px !important;
  min-height: 0 !important;
  height: auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-lab {
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #d4af37 !important;
  line-height: 1.15 !important;
  margin: 1px 0 0 !important;
  text-align: center !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge--sets {
  min-width: 44px !important;
  max-width: 64px !important;
  padding: 2px 5px 3px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge--sets .match-legs-val,
html[data-oc-layout="phone"] .phone-match-compact .match-legs-badge--sets .match-inset-legs {
  font-size: 15px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-band,
html[data-oc-layout="phone"] .phone-match-compact .match-shell--scorer.match-shell--fit .match-score-band {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-card-foot {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-score-hero {
  width: 100% !important;
  min-width: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card .match-hero-score,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="false"] .match-hero-score {
  font-size: 48px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card[data-active="true"] .match-hero-score {
  font-size: 56px !important;
}

/* ── Broadcast lower-third: gold join, LIVE stripe, TV-matte pad ── */
html[data-oc-layout="phone"] .phone-match-compact .match-scoreboard-footer {
  margin-top: 4px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  border: none !important;
  border-top: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-bottom: 2px solid #d4af37 !important;
  background-color: #0d281f !important;
  background-image: linear-gradient(
    90deg,
    #12352a 0%,
    #0d281f 42%,
    #071510 100%
  ) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #00c853;
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.8);
  animation: oc-phone-live-pulse 1.4s ease-out infinite;
}

html[data-oc-layout="phone"] .phone-match-compact .match-turn-callout p {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #f4eee0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-fit-main {
  background-color: #071510 !important;
  box-shadow: inset 0 1px 0 rgba(243, 239, 230, 0.08);
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-zone,
html[data-oc-layout="phone"] .phone-match-compact .match-pad,
html[data-oc-layout="phone"] .phone-match-compact .match-pad-grow,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="visit-score-pad"] {
  background-color: #071510 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tabs {
  background-color: #050d0a !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  border-radius: 12px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tab[aria-selected="true"] {
  background-color: #0d281f !important;
  color: #5ecf94 !important;
  box-shadow: inset 0 -2px 0 #d4af37;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tab[aria-selected="false"] {
  color: rgba(244, 238, 224, 0.55) !important;
}

/* Dual scorebug must actually be two columns at 390px. `1fr 1fr` lets
 * min-content (Rest digits + Legs chip) blow the track; B becomes a sliver.
 * Beat L6/L12 (0,3,1) with the compact+shell+fit stack. */
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-dual-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas: "a b" !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer .match-player-card {
  min-width: 0 !important;
  max-width: 100% !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer .match-dual-grid::after {
  grid-area: unset !important;
  position: absolute !important;
  pointer-events: none;
}

/* Desk sticky confirm sits on 16–20. Phone: in-flow, opaque, above the dock. */
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit [data-testid="confirm-visit-dart"],
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-confirm-btn.match-confirm-btn--dart {
  position: static !important;
  inset: auto !important;
  bottom: auto !important;
  top: auto !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  min-height: 48px !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  background-color: #3d9b6e !important;
  color: #04150f !important;
  border-color: #5ecf94 !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-input-zone:has([data-testid="confirm-visit-dart"]) {
  padding-bottom: calc(8px + var(--app-dock-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-pad,
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-pad--dart {
  min-height: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit [data-testid="dart-segment-grid"],
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-dart-segments {
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer .match-input-zone > .flex.flex-col {
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit:has(.match-pad--dart) .match-card-foot {
  display: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit:has(.match-pad--dart) .match-fit-top {
  max-height: 26dvh !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-pad-visit-strip {
  padding: 4px !important;
  min-height: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-mult-btn {
  min-height: 40px !important;
}

html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-special-btn,
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer.match-shell--fit .match-pad-specials button {
  min-height: 40px !important;
}

/* ==========================================================================
 * PHONE PRODUCT — thrower hero + pad owns the floor (2026-09)
 * Tokens. Sit/throw cards. Rankings as list. Format tiles. 4-tab dock.
 * Desk/TV ≥720 unchanged. Beats LAYOUT 1 / 11 / 12 / 14 contradictions.
 * ========================================================================== */

html[data-oc-layout="phone"] {
  --p-hero: 80px;
  --p-score: 44px;
  --p-title: 24px;
  --p-body: 17px;
  --p-meta: 13px;
  --p-tap: 56px;
  --p-key: 72px;
}

html[data-oc-layout="phone"] .phone-match-compact .match-fit-body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-fit-top {
  max-height: none !important;
  flex: 0 0 auto !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-zone,
html[data-oc-layout="phone"] .phone-match-compact .match-input-zone--bot {
  flex: 1 1 auto !important;
  min-height: 55dvh !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dual-grid,
html[data-oc-layout="phone"] .phone-match-compact.match-shell--scorer .match-dual-grid {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  gap: 6px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-dual-grid::after {
  display: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  grid-template-rows: auto !important;
  grid-template-areas: "head legs rest" !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 4px 10px 4px 8px !important;
  column-gap: 8px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-card-head {
  grid-area: head !important;
  padding: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-legs-badge {
  grid-area: legs !important;
  position: static !important;
  min-width: 2.4rem !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-score-band {
  grid-area: rest !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-score-avatar,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-rest-kicker,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-card-foot,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-leave-preview,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-checkout-inline,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-no-out,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .absolute {
  display: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-hero-score {
  font-size: 28px !important;
  min-height: 0 !important;
  line-height: 1 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--sit .match-player-name {
  font-size: 16px !important;
  white-space: nowrap !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  padding-bottom: 8px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-card-head {
  padding: 8px 10px 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-player-name {
  font-size: 18px !important;
  white-space: nowrap !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-score-band {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 2px 12px 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-score-avatar {
  display: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-hero-score,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw[data-active="true"] .match-hero-score {
  font-size: var(--p-hero) !important;
  min-height: var(--p-hero) !important;
  line-height: 0.9 !important;
  font-weight: 900 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-rest-kicker {
  font-size: var(--p-meta) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-card-foot {
  padding: 4px 10px 0 !important;
  border-top: 0 !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-stat-pills {
  justify-content: flex-start !important;
  gap: 10px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-pill {
  font-size: var(--p-meta) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-pill--high,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-pill--muted,
html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-recent-visits {
  display: none !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-player-card--throw .match-legs-badge {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-confirm-btn,
html[data-oc-layout="phone"] .phone-match-compact [data-testid="confirm-visit-dart"] {
  margin-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-pad--tel {
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
}

html[data-oc-layout="phone"] .phone-match-compact .match-input-tab {
  min-height: 44px !important;
  font-size: 15px !important;
}

/* Rankings → list: place · name · the one number */
html[data-oc-layout="phone"] .cg-tv__table thead {
  display: none !important;
}

html[data-oc-layout="phone"] .cg-tv__table,
html[data-oc-layout="phone"] .cg-tv__table tbody {
  display: block !important;
  width: 100% !important;
}

html[data-oc-layout="phone"] .cg-tv__table tr {
  display: grid !important;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 56px !important;
  margin: 0 0 8px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  background: #08120e !important;
  border: 1px solid color-mix(in oklab, #d4af37 22%, transparent) !important;
}

html[data-oc-layout="phone"] .cg-tv__table td {
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  white-space: normal !important;
}

html[data-oc-layout="phone"] .cg-tv__table td:nth-child(n + 4) {
  display: none !important;
}

html[data-oc-layout="phone"] .cg-tv__table td:first-child {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #d4af37 !important;
}

/* Custom start: format tiles as the job */
html[data-oc-layout="phone"] .ced-type-head__lede,
html[data-oc-layout="phone"] .ced-type-head__kicker {
  display: none !important;
}

html[data-oc-layout="phone"] .ced-type-card {
  min-height: 5.75rem !important;
  padding: 0.9rem 1rem !important;
}

html[data-oc-layout="phone"] .ced-type-card__title {
  font-size: 24px !important;
  font-weight: 900 !important;
}

html[data-oc-layout="phone"] .ced-type-card__blurb,
html[data-oc-layout="phone"] .ced-type-card__kicker {
  font-size: 14px !important;
  white-space: normal !important;
}

html[data-oc-layout="phone"] .cfmt-round__cta,
html[data-oc-layout="phone"] [data-testid="custom-start"],
html[data-oc-layout="phone"] [data-testid="start-event"] {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
}

/* Bracket: names readable, tree becomes a vertical round stack */
html[data-oc-layout="phone"] .cdraw__tree,
html[data-oc-layout="phone"] .dko-tree {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}

html[data-oc-layout="phone"] .cdraw__side-name,
html[data-oc-layout="phone"] .cdraw__pair-who,
html[data-oc-layout="phone"] .dko-card__name {
  font-size: 16px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

/* Phone Custom start */
html[data-oc-layout="phone"] .cphone-start {
  display: grid;
  gap: 12px;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

html[data-oc-layout="phone"] .cphone-start__k {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4af37;
}

html[data-oc-layout="phone"] .cphone-start__title {
  margin: 0.15rem 0 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}

html[data-oc-layout="phone"] .cphone-start__formats {
  display: grid;
  gap: 8px;
}

html[data-oc-layout="phone"] .cphone-start__fmt {
  display: grid;
  gap: 4px;
  text-align: left;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, #d4af37 28%, transparent);
  background: #0a1611;
  color: #f4eee0;
}

html[data-oc-layout="phone"] .cphone-start__fmt.is-on {
  border-color: #d4af37;
  box-shadow: inset 0 0 0 1px #d4af37;
}

html[data-oc-layout="phone"] .cphone-start__fmt-t {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

html[data-oc-layout="phone"] .cphone-start__fmt-b,
html[data-oc-layout="phone"] .cphone-start__meta {
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in oklab, #f4eee0 72%, transparent);
  white-space: normal;
}

html[data-oc-layout="phone"] .cphone-start__check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 17px;
  font-weight: 700;
}

html[data-oc-layout="phone"] .cphone-start .cfield .cstr-chip {
  min-height: 56px !important;
  min-width: 3.5rem;
  font-size: 20px !important;
  font-weight: 900 !important;
}

html[data-oc-layout="phone"] .cphone-start__foot {
  position: sticky;
  bottom: calc(var(--app-dock-h, 64px) + 8px);
  z-index: 4;
  display: grid;
  gap: 8px;
  padding: 10px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, #050d0a 28%);
}

html[data-oc-layout="phone"] .cphone-start__foot .cta-primary {
  min-height: 56px !important;
  width: 100% !important;
  font-size: 20px !important;
}

/* Phone KO round cards */
html[data-oc-layout="phone"] [data-testid="bracket-round-tabs"] .bk-match-card,
html[data-oc-layout="phone"] [data-testid^="bracket-round-list"] .bk-match-card {
  min-height: 92px !important;
  padding: 12px 14px !important;
}

html[data-oc-layout="phone"] [data-testid="bracket-round-tabs"] button[role="tab"] {
  min-height: 48px !important;
  font-size: 15px !important;
}

html[data-oc-layout="phone"] [data-testid="custom-ko-bracket"] > .flex.flex-wrap {
  display: none !important;
}

html[data-oc-layout="phone"] [data-testid="stage-zoom-out"],
html[data-oc-layout="phone"] [data-testid="stage-zoom-in"],
html[data-oc-layout="phone"] [data-testid="stage-zoom-fit"],
html[data-oc-layout="phone"] [data-testid="stage-zoom-100"] {
  display: none !important;
}

html[data-oc-layout="phone"] .cnewgame {
  flex-direction: column;
  align-items: stretch;
}
html[data-oc-layout="phone"] .cnewgame__go {
  width: 100%;
  min-height: 64px !important;
  font-size: 22px !important;
}
html[data-oc-layout="phone"] .home-career-card,
html[data-oc-layout="phone"] [data-testid="home-career-card"] {
  order: 2;
  opacity: 0.92;
}

.oc-nav-hint {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  color: color-mix(in oklab, #f4eee0 74%, transparent);
}

html[data-oc-layout="phone"] .cdraw__tafel,
html[data-oc-layout="phone"] .cnews,
html[data-oc-layout="phone"] .cdraw__act--watch,
html[data-oc-layout="phone"] .cdraw__act--next,
html[data-oc-layout="phone"] .cdraw__dot,
html[data-oc-layout="phone"] .cdraw__lede,
html[data-oc-layout="phone"] .cdraw__skipall,
html[data-oc-layout="phone"] .cdraw__meta,
html[data-oc-layout="phone"] .cdraw .nnight-cd,
html[data-oc-layout="phone"] .cdraw__act-kicker,
html[data-oc-layout="phone"] .cdraw .oc-event-mark {
  display: none !important;
}
html[data-oc-layout="phone"] .cdraw__nav-btn {
  display: none !important;
}
html[data-oc-layout="phone"] .cdraw__dots {
  display: flex !important;
  justify-content: center !important;
  min-height: 0 !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html[data-oc-layout="phone"] .cdraw__count {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: color-mix(in oklab, #f4eee0 70%, transparent) !important;
}
html[data-oc-layout="phone"] .cdraw__act--play {
  width: 100% !important;
  min-height: 3.4rem !important;
}
html[data-oc-layout="phone"] .cdraw--desk .cdraw__face [data-testid="player-avatar"] > span:first-of-type,
html[data-oc-layout="phone"] .cdraw--desk .cdraw__avatar > span:first-of-type,
html[data-oc-layout="phone"] .cdraw--desk .cdraw__face img,
html[data-oc-layout="phone"] .cdraw--desk .cdraw__avatar img {
  width: 4.5rem !important;
  height: 4.5rem !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}
html[data-oc-layout="phone"] .cdraw__hero {
  display: grid !important;
  grid-template-columns: auto auto !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  column-gap: 0.75rem !important;
}
html[data-oc-layout="phone"] .cdraw__hero-pair,
html[data-oc-layout="phone"] .cdraw__you {
  grid-column: 1 / -1 !important;
}
html[data-oc-layout="phone"] .cdraw__chip,
html[data-oc-layout="phone"] .cdraw__pre {
  margin: 0.2rem 0 0 !important;
}
html[data-oc-layout="phone"] .cdraw__poster-name {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.28rem !important;
}
html[data-oc-layout="phone"] .cdraw__poster-given,
html[data-oc-layout="phone"] .cdraw__poster-family {
  font-size: 0.95rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.15 !important;
}
html[data-oc-layout="phone"] .cdraw__close {
  display: none !important;
}
html[data-oc-layout="phone"] .cdraw__act-kicker {
  display: none !important;
}
html[data-oc-layout="phone"] .cphone-dock-quiet {
  display: none !important;
}
html[data-oc-layout="phone"] .custom-desk-wide.space-y-4 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
html[data-oc-layout="phone"] .custom-desk-wide.space-y-4 > * {
  margin-top: 0 !important;
}
html[data-oc-layout="phone"] .custom-desk-wide > .desk-shell {
  order: 1;
}
html[data-oc-layout="phone"] .custom-desk-wide > .cphone-later {
  order: 5;
}
html[data-oc-layout="phone"] .cphone-later {
  margin: 0.35rem 0;
}
html[data-oc-layout="phone"] .cphone-later > summary,
html[data-oc-layout="phone"] .cphone-draw > summary,
html[data-oc-layout="phone"] .cphone-abend > summary,
.prund-round > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid #d4af37;
  background: #0a1611;
  color: #d4af37;
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

html[data-oc-layout="phone"] .cphone-fold-label {
  flex: 1 1 auto;
  min-width: 0;
}

html[data-oc-layout="phone"] .cphone-fold-hint {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d4af37;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-oc-layout="phone"] .cphone-fold-hint--shut {
  background: #d4af37;
  color: #071510;
}

html[data-oc-layout="phone"] .cphone-fold-hint--shut::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.35rem;
  border-right: 2px solid #071510;
  border-bottom: 2px solid #071510;
  transform: rotate(45deg) translateY(-1px);
}

html[data-oc-layout="phone"] .cphone-fold-hint--open {
  display: none;
  background: transparent;
  color: #d4af37;
}

html[data-oc-layout="phone"] details[open] > summary > .cphone-fold-hint--shut {
  display: none;
}

html[data-oc-layout="phone"] details[open] > summary > .cphone-fold-hint--open {
  display: inline-flex;
}
html[data-oc-layout="phone"] .cphone-later > summary::-webkit-details-marker {
  display: none;
}
html[data-oc-layout="phone"] [data-testid="open-friends-lobby-dock"],
html[data-oc-layout="phone"] .cdesk-rail__lobby {
  display: none !important;
}
html[data-oc-layout="phone"] .home-hero-shell {
  max-height: none;
  min-height: 0;
  aspect-ratio: 1080 / 463;
  overflow: hidden;
}
html[data-oc-layout="phone"] .home-hero-shell__img {
  object-fit: contain;
  object-position: center center;
}
html[data-oc-layout="phone"] .home-pitch,
html[data-oc-layout="phone"] .menu-section-label {
  display: none !important;
}
html[data-oc-layout="phone"] .home-desk {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.cwho {
  display: grid;
  gap: 8px;
}
.cwho__k,
.cwho__lead {
  margin: 0;
}
.cwho__k {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4af37;
}
.cwho__lead {
  font-size: 15px;
  font-weight: 650;
  color: color-mix(in oklab, #f4eee0 78%, transparent);
}
.cwho__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.cwho__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, #d4af37 28%, transparent);
  background: #0a1611;
  color: #f4eee0;
  text-align: left;
}
.cwho__row.is-on {
  border-color: #d4af37;
}
.cwho__name {
  font-size: 18px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cwho__tag,
.cwho__swap {
  font-size: 13px;
  font-weight: 800;
}
.cwho__swap {
  color: #d4af37;
}
.cwho__err {
  margin: 0;
  color: #ff8a80;
  font-weight: 700;
}
.cpub-home {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 1rem;
  background: #d4af37;
  color: #04150f;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 900;
}
.cpub-home span {
  font-size: 0.9rem;
  font-weight: 700;
}
.cpub-home--night {
  background: #10281f;
  color: #f4eee0;
  border: 1px solid #d4af37;
}
html[data-oc-layout="phone"] .home-desk,
html[data-oc-layout="phone"] .home-career-quiet {
  display: none !important;
}
html[data-oc-layout="phone"] .phone-menu-later {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0.4rem 0.2rem;
  border: 0;
  background: transparent;
  color: color-mix(in oklab, #f4eee0 62%, transparent);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
}
.cpub {
  display: grid;
  gap: 0.7rem;
}
.cpub__name {
  display: grid;
  gap: 0.25rem;
  font-weight: 800;
}
.cpub__name input {
  min-height: 3rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, #d4af37 35%, transparent);
  background: #08120e;
  color: #f4eee0;
  font-size: 1.05rem;
  font-weight: 800;
}
.cpub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cpub__seat {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  grid-template-areas:
    "face name"
    "who who"
    "pics pics";
  gap: 0.45rem 0.7rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, #d4af37 28%, transparent);
  background: #0a1611;
}
.cpub__picked {
  grid-area: face;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #d4af37;
}
.cpub__picked > *,
.cpub__face > * {
  width: 100%;
  height: 100%;
}
.cpub__picked img,
.cpub__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cpub__profile > * {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
}
.cpub__name {
  grid-area: name;
  min-width: 0;
}
.cpub__profiles {
  grid-area: who;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cpub__profile {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  min-height: 2.4rem;
  padding: 0.1rem 0.55rem 0.1rem 0.15rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, #d4af37 35%, transparent);
  background: #08120e;
  color: #f4eee0;
  font-size: 0.82rem;
  font-weight: 800;
}
.cpub__profile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 7rem;
}
.cpub__profile.is-on {
  border-color: #d4af37;
  background: color-mix(in oklab, #d4af37 22%, #08120e);
}
.cpub__faces {
  grid-area: pics;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  overflow: visible;
}
.cpub__face {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  padding: 0;
  border-radius: 999px;
  border: 2px solid transparent;
  background: #08120e;
  overflow: hidden;
}
.cpub__face.is-on {
  border-color: #d4af37;
}
.cpub__len {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
.cpub__len-btn {
  min-height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, #d4af37 32%, transparent);
  background: #08120e;
  color: #f4eee0;
  font-size: 0.95rem;
  font-weight: 800;
}
.cpub__len-btn.is-on {
  border-color: #d4af37;
  color: #d4af37;
}
.cpub__face.is-on {
  border-color: #d4af37;
}
.cpub__hint {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: color-mix(in oklab, #f4eee0 74%, transparent);
}
.cpub__go {
  min-height: 3.5rem;
  border: 0;
  border-radius: 0.9rem;
  background: #d4af37;
  color: #04150f;
  font-size: 1.2rem;
  font-weight: 900;
}

.cwho__find {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, #d4af37 35%, transparent);
  background: #08120e;
  color: #f4eee0;
  font-size: 16px;
  font-weight: 700;
}
