:root {
  color-scheme: light;
  --concrete: #ede7dc;
  --line-white: #fbf8f1;
  --asphalt: #191510;
  --faded: #625a4e;
  --court-green: #14604f;
  --ball-orange: #a52f0a;
  --rule-muted: #bdb4a4;
  font-family: Barlow, "Arial Narrow", Arial, sans-serif;
  color: var(--asphalt);
  background: var(--concrete);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; background: var(--concrete); }
body { min-height: 100vh; min-height: 100dvh; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a, button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ball-orange); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; min-height: 44px; padding: 10px 14px; color: var(--line-white); background: var(--asphalt); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { width: 100%; min-height: 100vh; min-height: 100dvh; background: var(--concrete); }
.brand-bar { display: flex; align-items: center; min-height: 52px; gap: 9px; padding: max(8px, env(safe-area-inset-top)) 20px 4px; }
.brand-mark { width: 13px; height: 13px; background: var(--ball-orange); }
.brand-name, .display-type { font-family: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand-name { font-size: 18px; }
.brand-descriptor { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
main { min-height: calc(100vh - 52px); min-height: calc(100dvh - 52px); }
.loading-state { display: grid; place-content: center; justify-items: center; min-height: calc(100vh - 52px); min-height: calc(100dvh - 52px); padding: 24px; text-align: center; font-weight: 700; }
.loading-mark { width: 42px; height: 42px; border: 4px solid var(--rule-muted); border-top-color: var(--ball-orange); border-radius: 50%; animation: spin 900ms linear infinite; }
.loading-state p { margin: 14px 0 0; }
.all-courts-link { display: inline-flex; align-items: center; min-height: 44px; margin: -4px 0 4px; color: var(--asphalt); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.surface-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.surface-navigation--directory { justify-content: flex-end; }
.directory-page { min-height: calc(100vh - 52px); min-height: calc(100dvh - 52px); padding: 6px 20px max(28px, env(safe-area-inset-bottom)); }
.directory-kicker, .directory-area, .directory-board-label { margin: 0; color: var(--faded); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.directory-title { max-width: 9ch; margin: 4px 0 0; font-size: clamp(4rem, 20vw, 6.3rem); line-height: .74; letter-spacing: -.035em; }
.directory-intro { max-width: 35rem; margin: 18px 0 0; font-weight: 700; line-height: 1.45; }
.directory-board { margin-top: 24px; padding: 14px 16px 16px; color: var(--line-white); background: var(--asphalt); }
.directory-board-label { color: #d5ccbd; }
.directory-board-value { margin: 5px 0 0; font-size: clamp(1.8rem, 8vw, 2.5rem); line-height: 1; }
.directory-failure { margin-top: 24px; padding: 18px; color: var(--line-white); background: var(--asphalt); }
.directory-failure-title { margin: 0; font-size: 2rem; line-height: 1; }
.directory-failure p { margin: 10px 0 0; color: #ded6c7; }
.directory-list { display: grid; gap: 16px; margin-top: 18px; }
.directory-card { display: block; min-height: 44px; padding: 16px; border: 3px solid var(--asphalt); border-radius: 12px; color: var(--asphalt); background: transparent; text-decoration: none; box-shadow: 3px 3px 0 var(--asphalt); }
.directory-card:active { box-shadow: 1px 1px 0 var(--asphalt); transform: translate(2px, 2px); }
.directory-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.directory-card-identity { min-width: 0; }
.directory-court-name { margin: 2px 0 0; font-size: clamp(2.2rem, 11vw, 3.2rem); line-height: .82; letter-spacing: -.02em; overflow-wrap: anywhere; }
.directory-capability { flex: 0 0 auto; max-width: 11rem; padding: 5px 7px; border: 2px solid var(--asphalt); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.directory-capability--heading { color: var(--faded); border-color: var(--faded); }
.directory-capability--unavailable { color: #79230a; border-color: #79230a; }
.directory-rule { height: 3px; margin: 14px 0; border: 0; background: var(--asphalt); }
.directory-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; }
.directory-metric { display: grid; grid-template-columns: 14px min-content 1fr; align-items: center; gap: 8px; min-width: 0; }
.directory-metric-mark { width: 12px; height: 12px; }
.directory-metric--verified .directory-metric-mark { background: var(--court-green); }
.directory-metric--heading .directory-metric-mark { border: 2px solid var(--faded); transform: rotate(45deg); }
.directory-metric-number { font-size: 2.9rem; line-height: .8; }
.directory-metric-words { display: flex; min-width: 0; flex-direction: column; }
.directory-metric-label { font-size: 1.15rem; line-height: 1; }
.directory-metric-note { color: var(--faded); font-size: .67rem; font-weight: 700; }
.directory-freshness, .directory-capability-copy { margin: 14px 0 0; color: var(--faded); font-size: .78rem; font-weight: 650; line-height: 1.45; }
.directory-capability-copy { color: var(--asphalt); }
.directory-status-unavailable { display: grid; gap: 4px; padding: 14px; color: var(--line-white); background: var(--asphalt); }
.directory-status-unavailable span { color: #ded6c7; font-size: .8rem; }
.directory-open { display: block; margin-top: 16px; color: var(--ball-orange); font-size: 1.05rem; }
.directory-footer { margin: 24px 4px 0; color: var(--faded); font-size: .78rem; font-weight: 650; text-align: center; }
.privacy-page { width: 100%; max-width: 760px; margin: 0 auto; padding: 2px 20px max(36px, env(safe-area-inset-bottom)); }
.privacy-nav { display: flex; align-items: center; min-height: 44px; }
.privacy-nav a, .privacy-action { display: inline-flex; align-items: center; min-height: 44px; color: var(--court-green); font-weight: 800; text-underline-offset: 4px; }
.privacy-kicker { margin: 8px 0 0; color: var(--faded); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.privacy-title { max-width: 8ch; margin: 3px 0 0; font-size: clamp(3.4rem, 16vw, 5rem); line-height: .82; letter-spacing: -.025em; }
.privacy-intro { max-width: 40rem; margin: 18px 0 0; font-size: 1.05rem; font-weight: 650; line-height: 1.55; }
.privacy-section { margin-top: 24px; padding-top: 18px; border-top: 3px solid var(--asphalt); }
.privacy-heading { margin: 0; font-size: 1.9rem; line-height: 1; }
.privacy-section p { margin: 12px 0 0; line-height: 1.6; }
.privacy-section--choice { padding: 18px; border: 3px solid var(--asphalt); background: var(--line-white); box-shadow: 3px 3px 0 var(--asphalt); }
.privacy-action { margin-top: 10px; }
.player-card-page { min-height: calc(100vh - 52px); min-height: calc(100dvh - 52px); padding: 2px 20px max(32px, env(safe-area-inset-bottom)); }
.player-card-nav { display: flex; align-items: center; min-height: 44px; }
.player-card-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--court-green); font-weight: 800; text-underline-offset: 4px; }
.player-card-offline { display: grid; gap: 3px; margin: 0 -20px 12px; padding: 10px 20px; color: var(--line-white); background: var(--asphalt); font-size: .90625rem; }
.player-card-offline span { color: #ded6c7; }
.player-card-kicker { margin: 6px 0 0; color: var(--faded); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.player-card-title { margin: 2px 0 0; font-size: clamp(2.8rem, 14vw, 4rem); line-height: .9; }
.player-card-object { width: min(100%, 350px); margin: 20px auto 0; perspective: 1200px; }
.player-card-stage { position: relative; min-height: 510px; transform-style: preserve-3d; transition: transform .5s ease; }
.player-card-stage--flipped { transform: rotateY(180deg); }
.player-card-face { position: absolute; inset: 0; padding: 10px; border: 1px solid rgb(25 21 16 / 28%); border-radius: 14px; background-color: #f6efdf; background-image: radial-gradient(rgb(25 21 16 / 7%) 1px, transparent 1px); background-size: 6px 6px; box-shadow: 0 16px 34px rgb(25 21 16 / 28%); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.player-card-edition { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px 7px; color: var(--asphalt); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.player-card-artwork-frame { position: relative; height: 450px; padding: 4px; overflow: hidden; border: 3px solid var(--asphalt); border-radius: 9px; background: var(--ball-orange); }
.player-card-illustration { position: relative; height: 100%; overflow: hidden; border-radius: 4px; background-color: #d8caa9; background-image: linear-gradient(165deg, rgb(251 248 241 / 65%) 0 38%, transparent 38%), radial-gradient(circle at 76% 24%, rgb(20 96 79 / 22%) 0 22%, transparent 22%), repeating-radial-gradient(circle at 20% 76%, rgb(25 21 16 / 8%) 0 1px, transparent 1px 6px); }
.player-card-sun { position: absolute; top: 42px; right: 34px; width: 86px; height: 86px; border: 4px solid var(--ball-orange); border-radius: 50%; background: rgb(246 239 223 / 45%); }
.player-card-court-lines { position: absolute; right: 26px; bottom: 38px; left: 26px; height: 230px; border: 5px solid var(--line-white); box-shadow: 0 0 0 2px var(--asphalt); transform: perspective(360px) rotateX(57deg); transform-origin: bottom; }
.player-card-court-lines::before, .player-card-court-lines::after { content: ""; position: absolute; }
.player-card-court-lines::before { top: 50%; right: 0; left: 0; border-top: 4px solid var(--line-white); box-shadow: 0 -2px 0 var(--asphalt); }
.player-card-court-lines::after { top: 28%; bottom: 0; left: 50%; border-left: 4px solid var(--line-white); box-shadow: -2px 0 0 var(--asphalt); }
.player-card-ball { position: absolute; top: 112px; left: 38px; width: 74px; height: 74px; border: 4px solid var(--asphalt); border-radius: 50%; background: var(--ball-orange); box-shadow: inset 0 0 0 5px #d47a45; transform: rotate(-12deg); }
.player-card-ball::before, .player-card-ball::after { content: ""; position: absolute; background: var(--asphalt); }
.player-card-ball::before { top: 32px; right: 0; left: 0; height: 3px; }
.player-card-ball::after { top: 0; bottom: 0; left: 33px; width: 3px; }
.private-plate { padding: 3px 5px; border: 1px solid var(--line-white); text-align: center; }
.player-card-private-plate { position: absolute; z-index: 2; top: 14px; right: 14px; color: #f6efdf; background: var(--asphalt); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.player-card-crest { position: absolute; z-index: 2; bottom: 17px; left: 15px; display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid var(--asphalt); border-radius: 50%; color: #f6efdf; background: var(--court-green); box-shadow: inset 0 0 0 3px #f6efdf; font-size: 1rem; }
.player-card-nameplate { position: absolute; z-index: 2; right: 15px; bottom: 20px; left: 84px; padding: 8px 11px 9px; border: 3px solid var(--asphalt); color: var(--line-white); background: var(--ball-orange); box-shadow: 4px 4px 0 var(--asphalt); transform: skewX(-5deg); }
.player-card-handle { margin: 0; font-size: clamp(2rem, 10vw, 2.7rem); line-height: .86; overflow-wrap: anywhere; transform: skewX(5deg); }
.player-card-identity-state { margin: 4px 0 0; font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transform: skewX(5deg); }
.player-card-front-footer { margin: 7px 0 0; color: var(--faded); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.player-card-back { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 3px solid var(--asphalt); transform: rotateY(180deg); }
.player-card-back-plate { display: flex; align-items: center; gap: 11px; padding: 12px 14px; color: #f6efdf; background: var(--court-green); }
.player-card-series-mark { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 2px solid #f6efdf; border-radius: 50%; font-size: 1rem; }
.player-card-back-identity { min-width: 0; font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; overflow-wrap: anywhere; }
.player-card-stat-table { margin: 16px 14px 0; overflow: hidden; border: 2px solid var(--asphalt); border-radius: 5px; }
.player-card-stat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 62px; padding: 10px 12px; }
.player-card-stat-row + .player-card-stat-row { border-top: 2px solid #c9c1b0; }
.player-card-stat-row--estimate { color: var(--asphalt); background: rgb(25 21 16 / 6%); }
.player-card-metric-value { flex: 0 0 auto; font-size: 2rem; line-height: .82; }
.player-card-metric-label { font-size: .75rem; font-weight: 800; letter-spacing: .09em; line-height: 1.25; text-transform: uppercase; }
.estimate-mark { align-self: flex-end; margin: -2px 10px 0 0; padding: 4px 8px; border: 4px double var(--asphalt); color: var(--asphalt); background: rgb(246 239 223 / 92%); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-5deg); }
.player-card-stamps { margin: 12px 14px 0; padding-top: 9px; border-top: 3px solid var(--asphalt); }
.player-card-stamps-title { margin: 0; font-size: 1rem; }
.stamp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.stamp { display: flex; min-height: 62px; flex-direction: column; justify-content: center; padding: 7px; border: 3px double var(--court-green); color: var(--court-green); text-align: center; transform: rotate(-1deg); }
.stamp:nth-child(even) { transform: rotate(1deg); }
.stamp-name { font-size: .95rem; line-height: .95; }
.stamp-detail { margin-top: 5px; font-size: .75rem; font-weight: 700; line-height: 1.25; }
.player-card-back-footer { display: flex; justify-content: space-between; gap: 8px; margin: auto 14px 12px; padding-top: 8px; border-top: 2px dashed #a9a190; color: var(--faded); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.player-card-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%, 350px); margin: 12px auto 0; }
.player-card-flip { min-width: 112px; min-height: 44px; padding: 6px 14px; border: 2px solid var(--asphalt); border-radius: 8px; color: var(--asphalt); background: transparent; font-size: 1rem; cursor: pointer; }
.player-card-side-note { color: var(--faded); font-size: .75rem; font-weight: 700; text-align: right; }
.player-card-summary { width: min(100%, 350px); margin: 12px auto 0; color: var(--faded); font-size: .90625rem; font-weight: 650; line-height: 1.45; }
.player-card-summary p { margin: 5px 0 0; }
.player-card-personalization { display: grid; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 2px dashed var(--rule-muted); }
.player-card-personalization .action-button:disabled { opacity: .62; cursor: not-allowed; }
.player-card-photo { position: absolute; z-index: 1; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 4px; object-fit: cover; }
.player-card-photo-input { width: 100%; min-height: 54px; padding: 9px; border: 3px solid var(--asphalt); border-radius: 8px; background: transparent; font: inherit; }
.player-card-photo-input--hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.player-card-photo-state { margin: 0; color: var(--faded); font-size: .82rem; font-weight: 700; text-align: center; }
.player-card-save { display: grid; gap: 9px; margin-top: 20px; }
.player-card-privacy-link { min-height: 44px; margin-top: 14px; padding: 0; border: 0; color: var(--court-green); background: transparent; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.player-card-device-data { display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--rule-muted); }
.player-card-device-data p { margin: 0; color: var(--faded); font-size: .82rem; font-weight: 650; text-align: center; }
.player-card-zero { margin-top: 24px; padding: 22px; border: 3px solid var(--asphalt); background: var(--line-white); }
.player-card-zero.player-card-state-object { display: flex; flex-direction: column; justify-content: center; margin: 20px auto 0; background-color: #f6efdf; background-image: radial-gradient(rgb(25 21 16 / 7%) 1px, transparent 1px); background-size: 6px 6px; }
.player-card-zero-title { max-width: 9ch; margin: 0; font-size: 2.8rem; line-height: .9; }
.player-card-zero p { margin: 14px 0 0; line-height: 1.55; }
.player-card-concealed { margin-top: 20px; }
.player-card-concealed .player-card-artwork-frame--signed-out { height: 190px; margin-top: 16px; }
.player-card-concealed .player-card-court-lines { height: 120px; }
.player-card-concealed .player-card-zero-title { margin-top: 16px; }
.player-card-concealed .action-button { margin-top: 18px; }
.private-plate--ink { display: inline-block; border-color: var(--asphalt); color: var(--line-white); background: var(--asphalt); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.player-card-state-object { width: min(100%, 350px); min-height: 460px; margin: 20px auto 0; overflow: hidden; border: 3px solid var(--asphalt); border-radius: 14px; background-color: #f6efdf; background-image: radial-gradient(rgb(25 21 16 / 7%) 1px, transparent 1px); background-size: 6px 6px; box-shadow: 0 16px 34px rgb(25 21 16 / 20%); }
.player-card-loading { display: flex; flex-direction: column; padding: 4px 18px 18px; }
.player-card-loading-plate { height: 34px; margin: 0 -18px; background: var(--asphalt); }
.player-card-loading-line { display: block; background: var(--rule-muted); animation: card-pulse 1.6s ease-in-out infinite; }
.player-card-loading-line--handle { width: 72%; height: 48px; margin-top: 22px; }
.player-card-loading-line--metrics { height: 82px; margin-top: 18px; }
.player-card-loading p { margin: 20px 0 0; color: var(--faded); font-size: .90625rem; font-weight: 700; }
.court-page { display: flex; flex-direction: column; min-height: calc(100vh - 52px); min-height: calc(100dvh - 52px); }
.court-content { flex: 1; padding: 8px 20px 28px; }
.court-meta, .freshness { margin: 0; color: var(--faded); font-size: .78rem; font-weight: 700; }
.court-meta { letter-spacing: .12em; text-transform: uppercase; }
.freshness { margin-top: 6px; }
.freshness--stale { color: #79230a; }
.court-name { max-width: 12ch; margin: 5px 0 0; font-family: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif; font-size: clamp(2.8rem, 13vw, 4.4rem); font-weight: 800; line-height: .9; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
.paint-rule { height: 3px; margin: 18px 0 0; border: 0; background: var(--asphalt); }
.empty-state { padding-top: 28px; }
.empty-court-mark { position: relative; height: 92px; margin-bottom: 24px; }
.empty-court-mark::before, .empty-court-mark::after { content: ""; position: absolute; top: 50%; }
.empty-court-mark::before { right: 0; left: 0; height: 3px; background: var(--rule-muted); }
.empty-court-mark::after { left: 50%; width: 86px; height: 86px; border: 3px solid var(--rule-muted); border-radius: 50%; background: var(--concrete); transform: translate(-50%, -50%); }
.empty-title { max-width: 11ch; margin: 0; font-size: clamp(2.35rem, 10vw, 3.2rem); line-height: .95; }
.empty-copy { max-width: 37rem; margin: 16px 0 0; line-height: 1.6; }
.counts { padding-top: 18px; }
.verified-count { display: grid; grid-template-columns: min-content 1fr; align-items: start; column-gap: 18px; }
.count-number { grid-row: 1 / span 3; font-size: clamp(7.5rem, 34vw, 10rem); line-height: .76; letter-spacing: -.04em; }
.count-label { align-self: end; font-size: 1.85rem; line-height: 1; }
.verified-badge { justify-self: start; margin-top: 8px; padding: 4px 8px; color: var(--line-white); background: var(--court-green); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.heading-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 12px; border-top: 3px solid var(--ball-orange); }
.heading-number { font-size: 2.4rem; line-height: 1; }
.heading-label { font-size: 1.35rem; }
.heading-note { color: var(--faded); font-size: .78rem; font-weight: 600; }
.activity-copy { margin: 16px 0 0; font-weight: 700; }
.participants { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule-muted); }
.section-title { margin: 0; font-size: 1.75rem; }
.participant-group-title { margin: 18px 0 6px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.participant-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.participant { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--rule-muted); }
.participant-handle { max-width: 100%; font-weight: 700; overflow-wrap: anywhere; }
.participant-recency { color: var(--faded); font-size: .78rem; }
.action-bar { display: grid; gap: 9px; padding: 14px 16px max(18px, env(safe-area-inset-bottom)); border-top: 3px solid var(--asphalt); background: var(--concrete); }
.action-button { display: grid; place-items: center; width: 100%; min-height: 54px; padding: 8px 16px; border-radius: 8px; font-family: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: .05em; text-align: center; text-decoration: none; text-transform: uppercase; }
.action-button--primary { border: 0; color: var(--line-white); background: var(--ball-orange); }
.action-button--secondary { border: 3px solid var(--asphalt); color: var(--asphalt); background: transparent; }
.action-button--danger { border: 3px solid #79230a; color: #79230a; background: transparent; }
.action-note { margin: 0; color: var(--faded); font-size: .78rem; font-weight: 600; text-align: center; }
.active-presence { padding: 4px 4px 10px; }
.active-title { margin: 0; font-size: 1.8rem; }
.active-court, .active-expiry { margin: 2px 0 0; }
.active-expiry { color: var(--faded); font-size: .85rem; font-weight: 700; }
.unavailable-state { display: flex; flex-direction: column; }
.offline-notice { margin-top: 26px; padding: 20px; color: var(--line-white); background: var(--asphalt); }
.offline-title { margin: 0; font-size: 1.8rem; line-height: 1.1; }
.offline-copy { margin: 12px 0 0; color: #ded6c7; }
.retry-button { min-width: 44px; min-height: 44px; margin-top: 16px; padding: 8px 14px; border: 2px solid var(--line-white); border-radius: 8px; color: var(--line-white); background: transparent; font-weight: 700; cursor: pointer; }
.flow-dialog { width: min(100% - 24px, 500px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 12px; color: var(--asphalt); background: var(--concrete); box-shadow: 0 24px 80px rgb(0 0 0 / 35%); }
.flow-dialog::backdrop { background: rgb(25 21 16 / 70%); }
.dialog-sheet { margin: 0; padding: 24px; }
.dialog-title { margin: 0; font-size: clamp(2rem, 9vw, 2.8rem); line-height: .95; }
.dialog-copy { margin-top: 16px; }
.dialog-copy p { margin: 0 0 12px; }
.dialog-copy a { color: var(--court-green); font-weight: 700; }
.provider-unavailable { display: grid; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--rule-muted); }
.provider-unavailable p { color: var(--faded); font-size: .82rem; }
.privacy-details summary { display: flex; align-items: center; min-height: 44px; color: var(--court-green); font-weight: 700; cursor: pointer; }
.privacy-details p { padding-left: 18px; }
.dialog-field-label { display: block; margin-top: 20px; font-weight: 700; }
.dialog-field { width: 100%; min-height: 48px; margin-top: 6px; padding: 8px 10px; border: 2px solid var(--asphalt); border-radius: 6px; background: var(--line-white); font: inherit; }
.dialog-error { min-height: 1.5em; margin: 6px 0 0; color: #79230a; font-weight: 700; }
.dialog-actions { display: grid; gap: 8px; margin-top: 20px; }
.dialog-primary, .dialog-secondary, .dialog-close { min-height: 48px; padding: 10px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.dialog-primary { border: 0; color: var(--line-white); background: var(--ball-orange); }
.dialog-secondary { border: 2px solid var(--asphalt); color: var(--asphalt); background: transparent; }
.dialog-close { width: 100%; margin-top: 8px; border: 0; color: var(--faded); background: transparent; }
.dialog-primary:disabled, .dialog-secondary:disabled { opacity: .55; cursor: wait; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes card-pulse { 50% { opacity: .45; } }
@media (min-width: 640px) { body { padding: 28px; } .app-shell { max-width: 540px; min-height: calc(100vh - 56px); margin: 0 auto; border: 1px solid var(--rule-muted); box-shadow: 0 22px 60px rgb(25 21 16 / 14%); } .app-shell.privacy-shell { max-width: 760px; } main, .court-page { min-height: calc(100vh - 108px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .player-card-stage { transition: none !important; } }
