/* PlayRank home only. No styles applied outside .pr-home-* */
.pr-home-hero{position:relative;isolation:isolate;overflow:hidden;background:#0b1520;padding:36px 24px;--pr-text:#e8f5f7;--pr-muted:#a9bdc8;--pr-accent:#5eead4;--pr-panel:#10212ce8;--pr-inset:#0a1720;--pr-border:#ffffff22;--pr-control:#152733;--pr-halo1:#00b6a055;--pr-halo2:#2564cc3b}
html[data-theme=light] .pr-home-hero{background:#eef7f6;--pr-text:#19343d;--pr-muted:#48616b;--pr-accent:#087f74;--pr-panel:#ffffffed;--pr-inset:#eef6f5;--pr-border:#94b9b64f;--pr-control:#e9f4f3;--pr-halo1:#53d8bc5e;--pr-halo2:#75aef44a}
.pr-home-hero .hero-inner{position:relative;z-index:1;max-width:1320px;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:32px;align-items:center}
.pr-home-hero .hero-text{isolation:isolate;position:relative;min-width:0}
.pr-home-hero .hero-text h1{position:relative;color:var(--pr-text);font-family:var(--pr-font-heading, Manrope, Inter, system-ui, sans-serif);font-size:clamp(36px,4.2vw,68px);line-height:1.04;letter-spacing:-.045em}
.pr-home-hero .hero-accent,.pr-home-hero .eyebrow{color:var(--pr-accent)}.pr-home-hero .hero-sub{color:var(--pr-muted);position:relative}.pr-home-hero .hero-cta-group{position:relative}
.pr-home-ambient{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.pr-home-ambient i{position:absolute;display:block;width:85%;height:110%;border-radius:50%;background:radial-gradient(ellipse,var(--pr-halo1),transparent 65%);filter:blur(64px);animation:prHomeDrift 5s ease-in-out infinite alternate;left:0;top:-60%;will-change:transform}
.pr-home-ambient i:nth-child(2){left:45%;top:20%;background:radial-gradient(ellipse,var(--pr-halo2),transparent 64%);animation:prHomeDrift2 6s ease-in-out infinite alternate}
.pr-home-ambient i:nth-child(3){left:-40%;top:20%;opacity:.55;animation:prHomeDrift2 7s ease-in-out infinite alternate}
@keyframes prHomeDrift{from{transform:translate(-12%,-8%) scale(.9)}to{transform:translate(33%,35%) scale(1.24)}}@keyframes prHomeDrift2{from{transform:translate(14%,-15%) scale(1.12)}to{transform:translate(-27%,12%) scale(.85)}}
.pr-home-hero.pr-home-offscreen .pr-home-ambient i{animation-play-state:paused}
.pr-home-hero .pr-plasma{position:absolute;z-index:-1;pointer-events:none;left:-38%;top:-48%;width:176%;height:184%;opacity:.62;mix-blend-mode:screen;mask-image:radial-gradient(ellipse at 48% 45%,#000 15%,#000d 40%,transparent 75%)}
html[data-theme=light] .pr-home-hero .pr-plasma{mix-blend-mode:multiply;opacity:.52}
.pr-home-hero .pr-plasma canvas{display:block;width:100%;height:100%;position:static}
.pr-home-hero .game-console{font:13px/1.45 'Inter',system-ui,sans-serif;color:var(--pr-text);min-width:0;position:relative;border:1px solid var(--pr-border);border-radius:18px;background:var(--pr-panel);box-shadow:0 18px 50px #0002;overflow:visible;--accent:var(--pr-accent)}
.pr-home-hero .game-console *{box-sizing:border-box}
.pr-home-hero .game-console button,.pr-home-hero .game-console select{font:inherit;color:var(--pr-text);background:var(--pr-control);border:1px solid var(--pr-border);border-radius:7px;cursor:pointer}
.pr-home-hero .game-console button:focus-visible,.pr-home-hero .game-console select:focus-visible{outline:2px solid var(--pr-accent);outline-offset:2px}
.pr-home-hero .game-console button:disabled{cursor:default;opacity:.55}
.pr-home-hero .game-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 15px;border-bottom:1px solid var(--pr-border)}
.pr-home-hero .game-name{font-size:14px;font-weight:800}.pr-home-hero .game-name small{display:block;font-size:10px;color:var(--pr-muted);letter-spacing:1px;font-weight:500}
.pr-home-hero .game-help{position:relative;flex-shrink:0;z-index:5}
.pr-home-hero .help-trigger{display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:12px}
.pr-home-hero .help-trigger b{display:grid;place-items:center;border:1px solid var(--pr-muted);width:16px;height:16px;border-radius:50%;font-size:10px}
.pr-home-hero .help-popup{display:none;position:absolute;top:100%;right:0;width:min(350px,calc(100vw - 64px));max-height:65vh;overflow:auto;z-index:20;padding:15px;background:var(--pr-inset);color:var(--pr-text);border:1px solid var(--pr-border);border-radius:12px;box-shadow:0 16px 42px #0004;font-size:12px}
.pr-home-hero .game-help[data-open=true] .help-popup,.pr-home-hero .game-help:focus-within:not([data-dismissed=true]) .help-popup{display:block}
@media(hover:hover){.pr-home-hero .game-help:hover:not([data-dismissed=true]) .help-popup{display:block}}
.pr-home-hero .help-popup h3{font-size:15px;margin:0 0 10px;color:var(--pr-accent)}.pr-home-hero .help-popup dl{margin:0;display:grid;grid-template-columns:70px 1fr;gap:8px}.pr-home-hero .help-popup dt{font-weight:700}.pr-home-hero .help-popup dd{margin:0;color:var(--pr-muted)}.pr-home-hero .help-popup p{margin:10px 0 0;padding-top:8px;border-top:1px solid var(--pr-border);color:var(--pr-muted)}
.pr-home-hero .scorebar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 15px;border-bottom:1px solid var(--pr-border)}
.pr-home-hero .score-summary{display:flex;align-items:center;gap:14px;min-width:0}.pr-home-hero .score-group{display:flex;flex-direction:column;gap:2px}.pr-home-hero .score-group small,.pr-home-hero .serve-group small{font-size:10px;color:var(--pr-muted)}
.pr-home-hero .score-group strong{font-size:23px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--pr-accent);line-height:1.2}.pr-home-hero .score-group.games{border-left:1px solid var(--pr-border);padding-left:12px}.pr-home-hero .score-group.games strong{font-size:17px;color:var(--pr-text)}
.pr-home-hero .match-history{font-size:10px;color:var(--pr-muted)}.pr-home-hero .match-history:empty{display:none}
.pr-home-hero .serve-group{display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex-shrink:0}.pr-home-hero .box-choices{display:flex;gap:3px;padding:3px;background:var(--pr-inset);border:1px solid var(--pr-border);border-radius:8px}
.pr-home-hero .box-choices button{padding:5px 9px;font-size:11px;min-height:26px;background:transparent;border:1px solid transparent}.pr-home-hero .box-choices button[aria-pressed=true]{background:#0d948828;border-color:#2dd4bf80;color:var(--pr-accent)}.pr-home-hero .box-choices button[aria-pressed=true]:disabled{opacity:.85}
.pr-home-hero .game-message{display:grid;gap:3px;min-height:58px;padding:9px 15px;border-bottom:1px solid var(--pr-border)}.pr-home-hero .game-message .hud{font-size:12px;font-weight:700;color:var(--pr-accent)}.pr-home-hero .game-message .hint{font-size:11px;color:var(--pr-muted);min-height:16px;overflow-wrap:anywhere}.pr-home-hero .game-message .hint:empty::after{content:"Следите за мячом и готовьтесь к удару"}
.pr-home-hero .stage{position:relative;min-width:0;height:clamp(340px,34vw,460px);overflow:hidden;background:radial-gradient(ellipse at center,#2dd4bf12,transparent 66%);isolation:isolate}
.pr-home-hero .stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:pan-y;cursor:crosshair;user-select:none;-webkit-tap-highlight-color:transparent}
.pr-home-hero .hud-bottom{position:absolute;z-index:2;bottom:10px;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}
.pr-home-hero .rally{font-size:11px;color:var(--pr-muted);pointer-events:none}.pr-home-hero .stage-actions{display:flex;gap:8px;pointer-events:auto}.pr-home-hero .stage-actions button{min-height:32px;padding:7px 12px;font-size:12px}.pr-home-hero .stage-actions .strike{color:var(--pr-accent);border-color:#2dd4bf80;background:#0d948820}
.pr-home-hero .error:not([hidden]){position:absolute;inset:0;display:grid;place-items:center;background:var(--pr-inset);text-align:center;padding:24px;z-index:3}
.pr-home-hero .game-controls{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:12px;padding:11px 15px;border-top:1px solid var(--pr-border)}
.pr-home-hero .game-settings{display:grid;gap:7px;min-width:0}.pr-home-hero .game-settings label{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:6px;font-size:11px;color:var(--pr-muted)}.pr-home-hero .game-settings select{width:100%;min-width:0;font-size:11px;padding:5px 7px;min-height:30px}
.pr-home-hero .game-restart{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;padding-left:12px;border-left:1px solid var(--pr-border)}.pr-home-hero .game-restart button{width:100%;min-height:36px;font-size:12px;padding:6px;white-space:normal}.pr-home-hero .restart-note{text-align:center;font-size:10px;color:var(--pr-muted)}
.pr-home-hero .touch-options{display:none}
@media(max-width:1100px){.pr-home-hero .hero-inner{grid-template-columns:1fr;gap:22px;max-width:680px}.pr-home-hero{padding:28px 18px}.pr-home-hero .stage{height:420px}}
@media(max-width:700px){.pr-home-hero{padding:22px 10px}.pr-home-hero .hero-inner{gap:20px}.pr-home-hero .hero-text h1{font-size:clamp(34px,8vw,50px)}.pr-home-hero .pr-plasma{left:-31%;width:162%;opacity:.5}.pr-home-hero .stage{height:390px}.pr-home-hero .scorebar{padding:10px}.pr-home-hero .score-summary{gap:8px}.pr-home-hero .score-group.games{padding-left:8px}.pr-home-hero .box-choices button{padding:5px 6px}.pr-home-hero .game-controls{padding:10px;gap:8px}.pr-home-hero .game-settings label{grid-template-columns:1fr;gap:3px}.pr-home-hero .game-restart{padding-left:8px}.pr-home-hero .game-message{padding:9px 12px;min-height:62px}}
@media(max-width:380px){.pr-home-hero .stage{height:345px}.pr-home-hero .score-group strong{font-size:20px}.pr-home-hero .score-group.games strong{font-size:16px}.pr-home-hero .score-group small{font-size:9px}.pr-home-hero .score-summary{gap:6px}}
@media(any-pointer:coarse){.pr-home-hero .game-console[data-playing=true] #prh-court{touch-action:none}.pr-home-hero .stage-actions .strike{min-width:80px;min-height:49px;font-size:15px}.pr-home-hero .stage-actions button,.pr-home-hero .help-trigger{min-height:44px}.pr-home-hero .box-choices button{min-height:36px}.pr-home-hero .game-settings select,.pr-home-hero .game-restart button{min-height:40px}.pr-home-hero .touch-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 15px;border-top:1px solid var(--pr-border);font-size:12px;color:var(--pr-muted)}.pr-home-hero .touch-options label{display:flex;align-items:center;gap:7px}.pr-home-hero .touch-options input{width:20px;height:20px;accent-color:#0d9488}.pr-home-hero .touch-note{flex:1;min-width:110px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.pr-home-ambient i{animation:none!important}}

.pr-intelligence{--p-bg:#edf6f4;--p-card:#fff;--p-line:#7fa69e;--p-text:#174640;--p-accent:#008b79;--p-shadow:#008b7955;width:100%;padding:20px;border:1px solid #008b7930;border-radius:20px;background:radial-gradient(ellipse at 75% 55%,#c8ede4,transparent 70%),var(--p-bg);box-shadow:0 18px 45px #102f3012;color:var(--p-text);overflow:hidden}
html[data-theme=dark] .pr-intelligence{--p-bg:#101e29;--p-card:#172a36;--p-line:#3a6f77;--p-text:#e2f7f4;--p-accent:#6ef7d4;--p-shadow:#6ef7d466;background:radial-gradient(ellipse at 75% 55%,#1a4447,transparent 70%),var(--p-bg);box-shadow:0 18px 45px #0004}
.pr-top{display:flex;justify-content:space-between;font:700 10px/1.4 Arial,sans-serif;letter-spacing:1px;gap:8px;color:var(--p-accent)}.pr-top i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--p-accent);box-shadow:0 0 12px var(--p-accent);margin-right:6px}.pr-intelligence svg{display:block;width:100%;height:auto;overflow:visible;margin:8px 0}.pr-lines path{fill:none;stroke:var(--p-line);stroke-width:1.5}.pr-pulse{fill:var(--p-accent);filter:drop-shadow(0 0 5px var(--p-accent))}.pr-node rect{fill:var(--p-card);stroke:var(--p-line);stroke-width:1}.pr-node text{font:600 11px Arial,sans-serif;fill:var(--p-text)}.pr-dot,.pr-node .pr-result{fill:var(--p-accent)}.pr-final rect{stroke:var(--p-accent);stroke-width:2}.pr-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--p-line);padding-top:13px}.pr-bottom small{display:block;font:10px Arial,sans-serif;opacity:.7}.pr-bottom strong{font-size:19px;color:var(--p-accent)}.org-promo-section .org-promo-img{min-width:0}.org-promo-img .pr-intelligence{box-sizing:border-box}.pr-intelligence:focus-within{outline:2px solid var(--p-accent)}@media(max-width:600px){.pr-intelligence{padding:12px}.pr-top{font-size:9px}}

.pr-intelligence.pr-home-offscreen .pr-pulse{visibility:hidden}

.pr-home-hero .game-message .hud,.pr-home-hero .game-message .hint{position:static;inset:auto;display:block;margin:0}.pr-home-hero{container-type:inline-size}@container (max-width:800px){.pr-home-hero .hero-inner{grid-template-columns:1fr;max-width:680px;gap:22px}.pr-home-hero .stage{height:410px}}@container (max-width:350px){.pr-home-hero .stage{height:345px}.pr-home-hero .game-settings label{grid-template-columns:1fr}.pr-home-hero .score-summary{gap:5px}.pr-home-hero .score-group.games{padding-left:5px}.pr-home-hero .box-choices button{padding:4px 5px}}

/* Compact home game / optional joystick / fullscreen. */
.pr-home-hero .game-console{--pr-game-height:clamp(250px,23vw,340px)}
.pr-home-hero .game-top{padding:7px 10px;gap:6px}.pr-home-hero .game-name small{display:none}.pr-home-hero .game-name{font-size:13px}.pr-home-hero .game-top-actions{display:flex;align-items:center;gap:5px}.pr-home-hero .game-top-actions button{padding:5px 8px;min-height:30px;font-size:11px}.pr-home-hero .help-trigger b{display:none}
.pr-home-hero .scorebar{padding:7px 10px}.pr-home-hero .game-message{min-height:0;padding:6px 10px;gap:2px}.pr-home-hero .game-message .hint{font-size:10px;min-height:14px}.pr-home-hero .stage{height:var(--pr-game-height);background:radial-gradient(ellipse at center,#2dd4bf12,transparent 66%)}
.pr-home-hero .hud-bottom{position:static;inset:auto;display:flex;padding:6px 10px;border-top:1px solid var(--pr-border);background:var(--pr-panel);pointer-events:auto;min-height:44px}.pr-home-hero .stage-actions button{padding:5px 10px;min-height:32px}.pr-home-hero .game-controls{padding:8px 10px;gap:8px}.pr-home-hero .game-controls[hidden],.pr-home-hero .touch-options[hidden],.pr-home-hero .pr-expand[hidden],.pr-home-hero .pr-joy[hidden]{display:none!important}
.pr-home-hero .game-settings label{font-size:10px;grid-template-columns:68px minmax(0,1fr)}.pr-home-hero .game-settings select{font-size:11px;min-height:29px;padding:4px 6px}.pr-home-hero .game-restart button{min-height:32px;font-size:11px}.pr-home-hero .restart-note{display:none}
.pr-home-hero .touch-options{display:flex;padding:7px 10px;font-size:11px;min-height:0;gap:6px;border-top:1px solid var(--pr-border);color:var(--pr-muted)}.pr-home-hero .touch-options label{display:flex;align-items:center;gap:6px}.pr-home-hero .touch-options input{width:18px;height:18px;accent-color:#0d9488}.pr-home-hero .touch-note{font-size:10px;flex:1}
.pr-home-hero .pr-game-settings-panel{border-top:1px solid var(--pr-border)}.pr-home-hero .pr-game-settings-panel[hidden]{display:none}.pr-home-hero .pr-layout-select{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:8px 10px}.pr-home-hero .pr-layout-select label{display:grid;gap:3px;color:var(--pr-muted);font-size:10px;min-width:0}.pr-home-hero .pr-layout-select select{min-width:0;width:100%;font-size:11px;padding:5px;min-height:32px}
.pr-home-hero .pr-joy{position:relative;display:grid;place-items:center;width:76px;height:76px;flex:0 0 76px;touch-action:none;user-select:none;border:1px solid var(--pr-border);border-radius:50%;background:radial-gradient(circle,var(--pr-control) 0 30%,var(--pr-inset) 31% 100%);color:var(--pr-accent);cursor:grab}.pr-home-hero .pr-joy:before{content:'↕';position:absolute;inset:5px;text-align:center;font-size:10px;opacity:.45}.pr-home-hero .pr-joy:after{content:'↔';position:absolute;left:4px;right:4px;text-align:center;font-size:11px;opacity:.45}.pr-home-hero .pr-joy-knob{position:relative;z-index:1;display:block;width:29px;height:29px;border-radius:50%;border:1px solid var(--pr-accent);background:var(--pr-control);box-shadow:0 0 13px #2dd4bf44;pointer-events:none;transform:translate(var(--jx,0px),var(--jy,0px))}.pr-home-hero .game-console[data-control=joystick] #prh-court{touch-action:pan-y!important;cursor:default}.pr-home-hero .game-console[data-control=joystick] .hud-bottom{min-height:86px}.pr-home-hero .game-console[data-control=joystick] .rally{flex:1;font-size:10px}.pr-home-hero .game-console[data-control=joystick] .stage-actions{flex-wrap:wrap;justify-content:flex-end;max-width:150px}
.pr-home-hero .pr-expand{display:block;margin:7px 10px 10px;width:calc(100% - 20px);min-height:42px;background:#0d948828!important;border-color:#2dd4bf80!important;color:var(--pr-accent)!important;font-weight:700!important}.pr-home-hero .game-console[data-layout=fullscreen]:not([data-expanded=true]) .stage{height:clamp(165px,19vw,225px)}.pr-home-hero .game-console[data-layout=fullscreen]:not([data-expanded=true]) .hud-bottom,.pr-home-hero .game-console[data-layout=fullscreen]:not([data-expanded=true]) .game-message{display:none}.pr-home-hero .game-console[data-layout=fullscreen]:not([data-expanded=true]) #prh-court{touch-action:pan-y!important;cursor:default}
.pr-home-hero .pr-game-dialog{padding:0;border:0;background:transparent;max-width:none;max-height:none;width:min(100vw,760px);height:min(100dvh,900px);overflow:auto;color:var(--pr-text);margin:auto}.pr-home-hero .pr-game-dialog::backdrop{background:#050c14c9;backdrop-filter:blur(5px)}.pr-home-hero .pr-game-dialog .game-console{min-height:100%;display:flex;flex-direction:column;border-radius:12px;--pr-game-height:clamp(210px,calc(100dvh - 245px),640px)}.pr-home-hero .pr-game-dialog .stage{flex:1 0 var(--pr-game-height)}.pr-home-hero .pr-game-dialog .game-top{flex-shrink:0}.pr-home-hero .pr-game-dialog .hud-bottom{flex-shrink:0}.pr-home-hero .pr-close[hidden]{display:none}
@media(max-width:700px){.pr-home-hero .game-console{--pr-game-height:clamp(220px,38dvh,290px)}.pr-home-hero .game-top-actions button{font-size:10px;min-height:36px;padding:5px 6px}.pr-home-hero .game-settings label{grid-template-columns:60px minmax(0,1fr);font-size:10px}.pr-home-hero .game-message .hint{font-size:10px}.pr-home-hero .game-controls{gap:6px}.pr-home-hero .game-restart{padding-left:6px}.pr-home-hero .stage-actions button{min-height:44px}.pr-home-hero .game-console[data-control=joystick] .stage-actions{max-width:150px}.pr-home-hero .pr-game-dialog{width:100%;height:100dvh}.pr-home-hero .pr-game-dialog .game-console{border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px);--pr-game-height:clamp(190px,calc(100dvh - 245px),640px)}}
@media(max-width:380px){.pr-home-hero .game-settings label{grid-template-columns:1fr;gap:2px}.pr-home-hero .game-top-actions{gap:3px}.pr-home-hero .game-top-actions button{padding:4px 5px}.pr-home-hero .game-name{font-size:12px}.pr-home-hero .pr-joy{width:68px;height:68px;flex-basis:68px}.pr-home-hero .game-console[data-control=joystick] .rally{max-width:65px}}

/* Keep the fullscreen court inside the available viewport, reserving controls. */
.pr-home-hero .pr-game-dialog .game-console{height:100%;min-height:0;overflow:auto;display:flex;flex-direction:column}.pr-home-hero .pr-game-dialog .stage{flex:1 1 0px;min-height:180px;height:auto}.pr-home-hero .pr-game-dialog .game-top,.pr-home-hero .pr-game-dialog .scorebar,.pr-home-hero .pr-game-dialog .game-message,.pr-home-hero .pr-game-dialog .hud-bottom,.pr-home-hero .pr-game-dialog .pr-game-settings-panel{flex-shrink:0}
.pr-home-hero .game-console[data-control=joystick] .stage-actions{max-width:none;flex-wrap:nowrap}.pr-home-hero .game-console[data-control=joystick] .stage-actions #prh-strike{min-width:66px;padding:5px 9px}.pr-home-hero .game-console[data-control=joystick] .stage-actions #prh-pause{padding:5px 9px}.pr-home-hero .game-console[data-control=joystick] .rally{min-width:0;font-size:10px;overflow-wrap:anywhere}
@media(max-width:350px){.pr-home-hero .game-console[data-control=joystick] .stage-actions{flex-direction:column;gap:4px}.pr-home-hero .game-console[data-control=joystick] .stage-actions button{min-height:39px}}

/* Independent layout and input; larger desktop court. */
.pr-home-hero .game-top-actions{display:flex;align-items:center;gap:6px}
.pr-home-hero .game-top-actions #prh-game-help{order:0}.pr-home-hero .game-top-actions #prh-settings{order:1}.pr-home-hero .game-top-actions #prh-expand-top,.pr-home-hero .game-top-actions #prh-close{order:2}
.pr-home-hero #prh-expand-top{min-width:32px;min-height:32px;padding:5px 8px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.pr-home-hero #prh-expand-top svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pr-home-hero #prh-expand-top[hidden],.pr-home-hero #prh-close[hidden]{display:none!important}
.pr-home-hero .game-console[data-expanded=true] .game-top{padding:10px 12px}.pr-home-hero .game-console[data-expanded=true] .game-name{display:none}.pr-home-hero .game-console[data-expanded=true] .game-top-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.pr-home-hero .game-console[data-expanded=true] .game-top-actions #prh-game-help{justify-self:start}.pr-home-hero .game-console[data-expanded=true] .game-top-actions #prh-settings{justify-self:center}.pr-home-hero .game-console[data-expanded=true] .game-top-actions #prh-close{justify-self:end}.pr-home-hero .game-console[data-expanded=true] .help-popup{left:0;right:auto;width:min(350px,calc(100vw - 36px))}
@media(min-width:1101px){.pr-home-hero .game-console{--pr-game-height:clamp(370px,32vw,460px)}.pr-home-hero .hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,min(48%,560px));gap:32px}}
@media(max-width:380px){.pr-home-hero .game-top-actions{gap:3px}.pr-home-hero #prh-expand-top{min-width:27px;padding:4px 5px}.pr-home-hero #prh-expand-top svg{width:14px;height:14px}}

/* Desktop sidebar may reduce the actual hero width below the viewport breakpoint. */
@media(min-width:1101px){@container (max-width:800px){.pr-home-hero .hero-inner{grid-template-columns:minmax(0,1fr);gap:22px;max-width:680px}.pr-home-hero .hero-inner>.game-console{width:100%;max-width:560px;justify-self:center}}}

/* Premium motion scenes: full-hero canvas, independent of text and gameplay. */
.pr-home-hero .pr-motion-bg{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0;opacity:.94}
.pr-home-hero .hero-inner{position:relative;z-index:1}
.pr-home-hero .hero-text{position:relative}
.pr-home-hero .hero-text h1,.pr-home-hero .hero-sub,.pr-home-hero .eyebrow{text-shadow:0 0 14px #0b1520,0 0 5px #0b1520}
html[data-theme=light] .pr-home-hero{background:linear-gradient(125deg,#f8fafb 0%,#f1f7f7 58%,#e8f2f2 100%)}
html[data-theme=light] .pr-home-hero .hero-text h1,html[data-theme=light] .pr-home-hero .hero-sub,html[data-theme=light] .pr-home-hero .eyebrow{text-shadow:0 0 14px #f7fafb,0 0 5px #f7fafb}
.pr-home-hero .pr-background-picker{position:relative;display:inline-flex;align-items:center;gap:7px;margin-top:20px;font-size:11px;color:var(--pr-muted);line-height:1.2;max-width:100%;padding:5px 8px;border:1px solid var(--pr-border);border-radius:8px;background:var(--pr-panel);backdrop-filter:blur(8px)}
.pr-home-hero .pr-background-picker svg{width:15px;height:15px;stroke:var(--pr-accent);stroke-width:1.5;fill:none;flex-shrink:0}
.pr-home-hero .pr-background-picker select{font:inherit;color:var(--pr-text);background:var(--pr-control);border:1px solid var(--pr-border);border-radius:5px;min-height:28px;max-width:100%;padding:4px 6px;cursor:pointer;outline-offset:2px}.pr-home-hero .pr-background-picker select:focus-visible{outline:2px solid var(--pr-accent)}.pr-home-hero .pr-background-picker option{background:var(--pr-control);color:var(--pr-text)}
@media(max-width:700px){.pr-home-hero .pr-background-picker{margin-top:12px}.pr-home-hero .pr-background-picker select{min-height:36px}.pr-home-hero .pr-motion-bg{opacity:.82}}

/* Approved WebGL Motion v2: background only, existing game UI remains intact. */
.pr-home-hero .pr-shader-gpu,.pr-home-hero .pr-shader-orbit{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0}
.pr-home-hero .pr-shader-orbit{z-index:0}
.pr-home-hero .hero-inner{position:relative;z-index:1}
.pr-home-hero .hero-text::before{content:"";position:absolute;inset:-50px -10px -40px -100px;background:radial-gradient(ellipse at 28% 50%,#091520e8 0%,#09152088 45%,#09152000 74%);z-index:-1;pointer-events:none}
html[data-theme=light] .pr-home-hero .hero-text::before{background:radial-gradient(ellipse at 28% 50%,#f9fdfde8 0%,#f5faf9aa 45%,#f5faf900 74%)}
.pr-home-hero[data-background=off] .hero-text::before{display:none}
@media(max-width:850px){.pr-home-hero .hero-text::before{inset:-25px -30px}}

/* Quiet background control: independent of the copy and the game layout. */
.pr-home-hero{padding-bottom:48px}
.pr-home-hero .pr-background-picker{position:absolute;left:12px;bottom:7px;z-index:2;display:inline-flex;align-items:center;gap:4px;margin:0;padding:2px 5px;max-width:calc(100% - 24px);border:1px solid transparent;border-radius:6px;background:transparent;backdrop-filter:none;opacity:.72;transition:opacity .2s,border-color .2s,background .2s;cursor:pointer}
.pr-home-hero .pr-background-picker:hover,.pr-home-hero .pr-background-picker:focus-within{opacity:1;border-color:var(--pr-border);background:var(--pr-panel)}
.pr-home-hero .pr-background-picker svg{width:14px;height:14px;stroke:var(--pr-muted)}
.pr-home-hero .pr-background-picker select{appearance:none;-webkit-appearance:none;border:0;border-radius:4px;min-height:26px;font-size:11px;line-height:1.3;color:var(--pr-muted);background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='m2 4 3 3 3-3' fill='none' stroke='%237f969e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center;padding:2px 15px 2px 2px;cursor:pointer}
@media(max-width:700px){.pr-home-hero{padding-bottom:58px}.pr-home-hero .pr-background-picker{left:8px;bottom:5px;opacity:.88}.pr-home-hero .pr-background-picker select{min-height:44px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.pr-home-hero .pr-background-picker{transition:none}}

/* Homepage only: full first-screen background in the main column.
   Preserve the existing inner grid and leave the sidebar/header in normal flow. */
.main-content:has(> .page-content-wrapper > .pr-home-hero) > .header-bar{margin-bottom:0}
@media(min-width:981px){
  .pr-home-hero{--pr-home-gutter:32px;--pr-home-header:86px;box-sizing:border-box;min-height:calc(100vh - var(--pr-home-header));min-height:calc(100svh - var(--pr-home-header));margin-inline:calc(-1 * var(--pr-home-gutter));padding-inline:calc(24px + var(--pr-home-gutter));display:grid;align-content:center}
  .pr-home-hero>.hero-inner{width:100%}
  .pr-home-hero>.pr-background-picker{left:calc(var(--pr-home-gutter) + 12px)}
}
@media(min-width:981px) and (max-width:1280px){.pr-home-hero{--pr-home-gutter:24px;--pr-home-header:90px}}
@media(min-width:981px) and (max-width:1100px){.pr-home-hero{padding-inline:calc(18px + var(--pr-home-gutter))}}
@media(max-width:980px){.pr-home-hero{box-sizing:border-box;min-height:calc(100svh - 141px)}}

/* Extend only the homepage background behind the existing top navigation. */
.main-content:has(> .page-content-wrapper > .pr-home-hero:first-of-type)>.header-bar{position:relative;z-index:6;background:color-mix(in srgb,var(--surface) 65%,transparent);backdrop-filter:blur(10px);border-radius:12px}
.main-content:has(> .page-content-wrapper > .pr-home-hero:first-of-type) .pr-home-hero:first-of-type{--pr-home-overlap:var(--pr-home-header-overlap,var(--pr-home-header,141px));margin-top:calc(-1 * var(--pr-home-overlap));padding-top:calc(36px + var(--pr-home-overlap));min-height:100vh;min-height:100svh}
@media(min-width:981px) and (max-width:1100px){.main-content:has(> .page-content-wrapper > .pr-home-hero:first-of-type) .pr-home-hero:first-of-type{padding-top:calc(28px + var(--pr-home-overlap))}}
@media(max-width:980px){
  body:has(.page-content-wrapper > .pr-home-hero:first-of-type) .app-shell{margin-top:0!important}
  body:has(.page-content-wrapper > .pr-home-hero:first-of-type) .app-shell .main-content{padding-top:calc(76px + env(safe-area-inset-top,0px))!important}
  body:has(.page-content-wrapper > .pr-home-hero:first-of-type) .mobile-navbar{background:color-mix(in srgb,var(--surface) 65%,transparent)}
  .main-content:has(> .page-content-wrapper > .pr-home-hero:first-of-type)>.header-bar{border-radius:0}
  .main-content:has(> .page-content-wrapper > .pr-home-hero:first-of-type) .pr-home-hero:first-of-type{padding-top:calc(28px + var(--pr-home-overlap))}
}
@media(max-width:700px){.main-content:has(> .page-content-wrapper > .pr-home-hero:first-of-type) .pr-home-hero:first-of-type{padding-top:calc(22px + var(--pr-home-overlap))}}

/* Homepage glass navigation: keep the WebGL canvas in the main column.
   A lightweight ambient underlay gives the sidebar real translucency without
   duplicating the animated scene or reducing the opacity of menu content. */
.app-shell:has(.page-content-wrapper>.pr-home-hero){--pr-nav-glass:48%;--pr-side-glass:50%;background-image:radial-gradient(ellipse at 12% 18%,#91d9d9 0%,transparent 53%),radial-gradient(ellipse at 0% 87%,#a7cde7 0%,transparent 54%),linear-gradient(150deg,#e5f3f4,#edf3f8);background-size:100% 100svh;background-repeat:no-repeat}
html[data-theme=dark] .app-shell:has(.page-content-wrapper>.pr-home-hero){--pr-nav-glass:44%;--pr-side-glass:49%;background-image:radial-gradient(ellipse at 12% 18%,#124b52 0%,transparent 53%),radial-gradient(ellipse at 0% 87%,#1c3353 0%,transparent 54%),linear-gradient(150deg,#102b37,#091520)}
.app-shell:has(.page-content-wrapper>.pr-home-hero)>.main-content>.header-bar{background:color-mix(in srgb,var(--surface) var(--pr-nav-glass),transparent);backdrop-filter:blur(8px)}
@media(min-width:981px){.app-shell:has(.page-content-wrapper>.pr-home-hero)>.sidebar{background:color-mix(in srgb,var(--surface) var(--pr-side-glass),transparent);backdrop-filter:blur(12px);border-right-color:color-mix(in srgb,var(--surface-border) 70%,transparent)}}
@media(max-width:980px){body:has(.page-content-wrapper>.pr-home-hero) .mobile-navbar{background:color-mix(in srgb,var(--surface) 50%,transparent)}}

/* Frosted glass for the inline game only; the fullscreen game stays solid. */
.pr-home-hero .hero-inner>.game-console{background:rgba(16,33,44,.62);backdrop-filter:blur(7px);border-color:#b7e8e63b;box-shadow:0 18px 50px #0002,inset 0 1px 0 #ffffff15}
html[data-theme=light] .pr-home-hero .hero-inner>.game-console{background:rgba(255,255,255,.64);border-color:#ffffffb8;box-shadow:0 18px 50px #154c5e1f,inset 0 1px 0 #ffffffd9}
.pr-home-hero .hero-inner>.game-console .hud-bottom{background:transparent}
.pr-home-hero .hero-inner>.game-console .stage{background:radial-gradient(ellipse at center,#2dd4bf0c,transparent 72%)}
@media(max-width:700px){.pr-home-hero .hero-inner>.game-console{backdrop-filter:blur(5px)}}

/* Home details: minimal, scoped to homepage content only. */
.pr-home-details {
  --pr-details-bg:#0b1520; --pr-details-panel:#10212c; --pr-details-inset:#0b1923;
  --pr-details-text:#e8f5f7; --pr-details-muted:#a9bdc8;
  --pr-details-accent:#5eead4; --pr-details-line:#ffffff20;
  background:var(--pr-details-bg); color:var(--pr-details-text);
  padding:24px clamp(12px,2.1vw,32px) 36px;
}
html[data-theme=light] .pr-home-details {
  --pr-details-bg:#edf6f5; --pr-details-panel:#fff; --pr-details-inset:#eef6f5;
  --pr-details-text:#19343d; --pr-details-muted:#48616b;
  --pr-details-accent:#087f74; --pr-details-line:#94b9b64f;
}
.pr-home-details > section {max-width:1200px;margin:0 auto;min-width:0}
.pr-home-stats-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;
  background:var(--pr-details-line);border:1px solid var(--pr-details-line);
  border-radius:16px;overflow:hidden;
}
.pr-home-stat {display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:18px 23px;min-width:0;background:var(--pr-details-panel)}
.pr-home-stat-value {display:flex;align-items:center;gap:10px;min-width:0}
.pr-home-stat-value svg,.pr-home-feature-icon svg {width:24px;height:24px;flex:none;fill:none;stroke:var(--pr-details-accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pr-home-stat-value strong {font-size:clamp(27px,3vw,38px);line-height:1.1;letter-spacing:-.045em;color:var(--pr-details-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pr-home-stat > span {padding-left:34px;font-size:13px;line-height:1.3;color:var(--pr-details-muted)}
.pr-home-stats-note {font-size:11px;margin:8px 0 0;color:var(--pr-details-muted)}
.pr-home-features {padding-top:42px}
.pr-home-section-header {margin-bottom:18px}
.pr-home-details .pr-home-kicker {font-size:11px;line-height:1.4;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--pr-details-accent);margin:0 0 8px}
.pr-home-section-header h2,.pr-home-details .org-promo-text h2 {font-size:clamp(24px,3vw,39px);line-height:1.15;letter-spacing:-.035em;margin:0 0 10px;color:var(--pr-details-text)}
.pr-home-section-header > p:last-child,.pr-home-details .org-promo-text > p:not(.pr-home-kicker) {color:var(--pr-details-muted);font-size:15px;line-height:1.55;margin:0}
.pr-home-features-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pr-home-feature {min-width:0;padding:20px 22px;background:var(--pr-details-panel);border:1px solid var(--pr-details-line);border-radius:16px}
.pr-home-feature-head {display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:8px}
.pr-home-feature-icon {display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid var(--pr-details-line);border-radius:11px;background:var(--pr-details-inset)}
.pr-home-feature-head h3 {font-size:18px;line-height:1.25;letter-spacing:-.015em;margin:0;min-width:0;overflow-wrap:anywhere;color:var(--pr-details-text)}
.pr-home-feature p {font-size:14px;line-height:1.5;color:var(--pr-details-muted);margin:0;overflow-wrap:anywhere}
.pr-home-details .org-promo-section {background:transparent;padding:48px 0 0}
.pr-home-details .org-promo-inner {gap:32px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.pr-home-details .org-promo-text {min-width:0}
.pr-home-details .org-promo-text > .btn {margin-top:20px}
@media(max-width:900px) {
  .pr-home-details .org-promo-inner {grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(max-width:700px) {
  .pr-home-details {padding:20px 12px 28px}
  .pr-home-stats-grid {border-radius:13px}
  .pr-home-stat {padding:13px 8px 11px;align-items:center;gap:6px}
  .pr-home-stat-value {gap:5px;justify-content:center}
  .pr-home-stat-value svg {width:20px;height:20px}
  .pr-home-stat-value strong {font-size:27px}
  .pr-home-stat > span {font-size:12px;padding:0;text-align:center}
  .pr-home-stats-note {font-size:10px}
  .pr-home-features {padding-top:30px}
  .pr-home-section-header {margin-bottom:14px}
  .pr-home-section-header > p:last-child {font-size:13px}
  .pr-home-features-grid {gap:9px}
  .pr-home-feature {padding:13px 12px;border-radius:13px}
  .pr-home-feature-head {gap:8px;margin-bottom:6px}
  .pr-home-feature-icon {width:32px;height:32px;border-radius:9px}
  .pr-home-feature-icon svg {width:19px;height:19px}
  .pr-home-feature-head h3 {font-size:15px}
  .pr-home-feature p {font-size:12px;line-height:1.45}
  .pr-home-details .org-promo-section {padding-top:32px}
  .pr-home-details .org-promo-img {order:2}
}
@media(max-width:350px) {
  .pr-home-stat {padding:12px 5px 10px}
  .pr-home-stat-value {gap:4px}
  .pr-home-stat-value svg {width:18px;height:18px}
  .pr-home-stat-value strong {font-size:23px}
  .pr-home-stat > span {font-size:11px}
  .pr-home-feature {padding:11px 9px}
  .pr-home-feature-head h3 {font-size:14px}
  .pr-home-feature p {font-size:11.5px}
}


/* Initial game invitation. Only the court is clickable before the first start. */
.pr-home-hero .game-console .pr-game-invite {
  position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:16px;width:100%;height:100%;
  padding:16px 10px;border:0;border-radius:0;
  background:radial-gradient(ellipse at center,rgba(5,20,28,.76) 0%,rgba(5,20,28,.36) 51%,rgba(5,20,28,.06) 90%);
  color:#e8f5f7;cursor:pointer;touch-action:pan-y;text-align:center;
}
.pr-home-hero .game-console .pr-game-invite[hidden] {display:none!important}
.pr-home-hero .pr-game-invite-label {
  color:#a9fff0;font-size:10px;line-height:1.3;font-weight:750;letter-spacing:.15em;
  text-shadow:0 1px 5px #001b20;
}
.pr-home-hero .pr-game-invite-cta {
  position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;
  gap:9px;min-height:50px;min-width:148px;padding:10px 24px;border-radius:12px;
  background:#5eead4;color:#092a27;font-size:19px;line-height:1.15;font-weight:800;
  box-shadow:0 5px 24px #05202599,0 0 25px #5eead440;
}
.pr-home-hero .pr-game-invite-cta svg {width:21px;height:21px;fill:currentColor;flex:none}
.pr-home-hero .pr-game-invite-cta::before,.pr-home-hero .pr-game-invite-cta::after {
  content:"";position:absolute;z-index:-1;inset:0;border:1px solid #5eead4;
  border-radius:inherit;pointer-events:none;opacity:0;
  animation:prGameInviteWave 2.8s ease-out infinite;
}
.pr-home-hero .pr-game-invite-cta::after {animation-delay:1.4s}
@keyframes prGameInviteWave {
  0% {transform:scale(1);opacity:.65}
  80%,100% {transform:scale(1.36,1.8);opacity:0}
}
.pr-home-hero .pr-game-invite-caption {
  max-width:100%;font-size:12px;line-height:1.4;font-weight:600;
  color:#e8f5f7;text-shadow:0 1px 5px #001b20;
}
.pr-home-hero .game-console .pr-game-invite:focus-visible {outline:0}
.pr-home-hero .pr-game-invite:focus-visible .pr-game-invite-cta {outline:2px solid #fff;outline-offset:5px}
@media(hover:hover) {
  .pr-home-hero .pr-game-invite:hover .pr-game-invite-cta {background:#99f6e4;box-shadow:0 5px 24px #05202599,0 0 32px #5eead480}
}
.pr-home-hero .pr-game-invite.pr-invite-offscreen .pr-game-invite-cta::before,
.pr-home-hero .pr-game-invite.pr-invite-offscreen .pr-game-invite-cta::after {animation-play-state:paused}
@media(prefers-reduced-motion:reduce) {
  .pr-home-hero .pr-game-invite-cta::before,.pr-home-hero .pr-game-invite-cta::after {animation:none}
}
@media(max-width:700px) {
  .pr-home-hero .game-console .pr-game-invite {gap:13px}
  .pr-home-hero .pr-game-invite-cta {min-height:48px;min-width:138px;font-size:18px}
  .pr-home-hero .pr-game-invite-caption {font-size:11px}
}


/* Serving: a selectable box and an automatically assigned box are distinct states. */
.pr-home-hero .serve-group #prh-serve-label {max-width:100%;white-space:nowrap;font-size:10px}
.pr-home-hero .box-choices button:not(:disabled) {cursor:pointer;border-color:var(--pr-border)}
.pr-home-hero .box-choices button:not(:disabled)[aria-pressed=true] {border-color:var(--pr-accent)}
.pr-home-hero .box-choices button:disabled:not([aria-pressed=true]) {opacity:.42;cursor:default}
.pr-home-hero .box-choices button:disabled[aria-pressed=true] {opacity:1;cursor:default}
@media(hover:hover) {
  .pr-home-hero .box-choices button:not(:disabled):hover {border-color:var(--pr-accent);color:var(--pr-accent)}
}
@media(max-width:350px) {
  .pr-home-hero .serve-group #prh-serve-label {font-size:9px;letter-spacing:-.015em}
}

/* Ultra squash game: approved Court Lab v5 integration, home page only. */
.pr-home-hero .pr-game-pad-row{padding:6px 10px 4px;border-top:1px solid var(--pr-border);flex-shrink:0}
.pr-home-hero .pr-game-pad{position:relative;display:grid;place-items:center;height:76px;overflow:hidden;touch-action:none;user-select:none;cursor:grab;border:1px solid var(--pr-border);border-radius:12px;color:var(--pr-accent);background:radial-gradient(circle at var(--pad-x,50%) var(--pad-y,50%),#2dd4bf16,transparent 52%),repeating-linear-gradient(90deg,transparent 0 25px,#89a6a909 25px 26px),repeating-linear-gradient(0deg,transparent 0 25px,#89a6a909 25px 26px),var(--pr-inset)}
.pr-home-hero .pr-game-pad:active{cursor:grabbing;border-color:var(--pr-accent)}
.pr-home-hero .pr-game-pad-label{pointer-events:none;text-align:center;letter-spacing:1px;font-size:11px;font-weight:700}
.pr-home-hero .pr-game-pad-label small{display:block;color:var(--pr-muted);font-size:10px;font-weight:400;letter-spacing:0;margin-top:4px}
.pr-home-hero .pr-game-pad-dot{position:absolute;left:var(--pad-x,50%);top:var(--pad-y,50%);width:28px;height:28px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid var(--pr-accent);background:#2dd4bf33;opacity:0;pointer-events:none}
.pr-home-hero .pr-game-pad[data-active=true] .pr-game-pad-dot{opacity:1}.pr-home-hero .pr-game-pad[data-active=true] .pr-game-pad-label{opacity:.45}
.pr-home-hero .game-console[data-control=trackpad] #prh-court{touch-action:pan-y!important;cursor:default}
.pr-home-hero .game-console[data-control=trackpad] .stage-actions #prh-strike{min-width:78px}
@media(max-height:480px) and (orientation:landscape){.pr-home-hero .pr-game-pad{height:58px}.pr-home-hero .pr-game-dialog .stage{min-height:170px}}

/* Visible, in-flow game controls. No popovers cover the court. */
.pr-home-hero .game-console .game-top{display:flex;flex-wrap:nowrap;gap:6px;padding:8px 10px}
.pr-home-hero .game-console .game-name{display:block;font-size:14px;min-width:0;line-height:1.2}
.pr-home-hero .game-console .game-top-actions{display:flex;width:auto;gap:5px;align-items:center;flex-shrink:0}
.pr-home-hero .game-console .game-top-actions button{min-width:36px;min-height:36px;padding:5px 8px;justify-self:auto}
.pr-home-hero .game-console #prh-restart{font-size:11px;white-space:nowrap}
.pr-home-hero .game-console #prh-help-trigger{font-size:11px;white-space:nowrap}
.pr-home-hero .pr-game-quick{display:grid;grid-template-columns:1.15fr 1fr 1fr auto;gap:7px;padding:8px 10px;border-bottom:1px solid var(--pr-border);flex-shrink:0;align-items:end;background:var(--pr-panel)}
.pr-home-hero .pr-game-quick-field{display:grid;gap:4px;min-width:0;color:var(--pr-muted);font-size:10px;font-weight:600}
.pr-home-hero .pr-game-quick-field select{width:100%;min-width:0;min-height:36px;padding:5px 6px;background:var(--pr-control);color:var(--pr-text);border:1px solid var(--pr-border);border-radius:7px;font-size:12px}
.pr-home-hero .pr-game-auto{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:36px;color:var(--pr-text);font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap}
.pr-home-hero .pr-game-auto small{display:block;color:var(--pr-muted);font-size:10px;font-weight:400;line-height:1.3}
.pr-home-hero .pr-game-auto input{position:absolute;width:100%;height:100%;inset:0;opacity:0;margin:0;cursor:pointer}
.pr-home-hero .pr-game-switch{flex:0 0 31px;height:19px;position:relative;border:1px solid var(--pr-muted);border-radius:20px;background:var(--pr-inset);pointer-events:none}
.pr-home-hero .pr-game-switch:after{content:'';position:absolute;width:11px;height:11px;top:3px;left:3px;border-radius:50%;background:var(--pr-muted)}
.pr-home-hero .pr-game-auto input:checked+.pr-game-switch{border-color:var(--pr-accent);background:#158478}
.pr-home-hero .pr-game-auto input:checked+.pr-game-switch:after{transform:translateX(12px);background:#fff}
.pr-home-hero .pr-game-auto input:focus-visible+.pr-game-switch{outline:2px solid var(--pr-accent);outline-offset:3px}
.pr-home-hero .game-console .help-popup{position:static;display:block;width:100%;max-height:none;border:0;border-bottom:1px solid var(--pr-border);border-radius:0;box-shadow:none;flex-shrink:0;padding:12px 14px}
.pr-home-hero .game-console .help-popup[hidden]{display:none!important}
.pr-home-hero .game-console .box-choices{gap:4px;padding:3px}
.pr-home-hero .game-console .box-choices button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:15px;font-weight:750;line-height:1}
.pr-home-hero .game-console .serve-group>small{font-size:10px;text-align:right;max-width:135px}
.pr-home-hero .game-console[data-expanded=true] .game-name{display:block}
.pr-home-hero .game-console[data-expanded=true] .game-top-actions{display:flex;width:auto;grid-template-columns:none}
.pr-home-hero .pr-game-dialog .game-console{width:100%;max-width:none}
@media(max-width:600px){
.pr-home-hero .game-console .game-top{flex-wrap:wrap}
.pr-home-hero .game-console .game-name{font-size:13px;flex:1 1 100%}
.pr-home-hero .game-console .game-top-actions{width:100%;justify-content:space-between;gap:5px}
.pr-home-hero .game-console .game-top-actions button{min-height:44px;min-width:44px}
.pr-home-hero .pr-game-quick{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 9px}
.pr-home-hero .pr-game-quick-field select{min-height:44px;font-size:13px}
.pr-home-hero .pr-game-auto{min-height:44px;padding-left:4px;gap:8px}
.pr-home-hero .pr-game-switch{flex-basis:36px;height:22px}
.pr-home-hero .pr-game-switch:after{width:14px;height:14px}
.pr-home-hero .pr-game-auto input:checked+.pr-game-switch:after{transform:translateX(14px)}
.pr-home-hero .game-console .scorebar{gap:6px;padding:6px 8px}
.pr-home-hero .game-console .score-summary{min-width:0}
}
@media(max-height:500px) and (orientation:landscape){.pr-home-hero .pr-game-dialog .game-console .game-top{padding:4px 8px}.pr-home-hero .pr-game-dialog .pr-game-quick{grid-template-columns:1.15fr 1fr 1fr auto;padding:5px 8px}.pr-home-hero .pr-game-dialog .stage{min-height:180px}}

@media(min-width:360px) and (max-width:600px){
.pr-home-hero .game-console .game-top{flex-wrap:nowrap}
.pr-home-hero .game-console .game-name{flex:1 1 auto;font-size:12px}
.pr-home-hero .game-console .game-top-actions{width:auto;justify-content:flex-end;gap:4px}
.pr-home-hero .game-console #prh-help-trigger,.pr-home-hero .game-console #prh-restart{padding:5px 6px;font-size:10px}
}
.pr-home-hero .game-console .game-top-actions #prh-expand-top,.pr-home-hero .game-console .game-top-actions #prh-close{min-width:44px;min-height:44px}

/* Full viewport layout: one projection, the stage gets the remaining height. */
.pr-home-hero .pr-game-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;width:min(620px,100vw);height:min(900px,100dvh);max-height:100dvh;max-width:100vw;overflow:hidden;background:var(--pr-panel)}
.pr-home-hero .pr-game-dialog .game-console{box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:none;height:100%;min-height:0;max-height:100%;margin:0;overflow:hidden;border-radius:12px;gap:0;padding:0}
.pr-home-hero .pr-game-dialog .game-top,.pr-home-hero .pr-game-dialog .pr-game-quick,.pr-home-hero .pr-game-dialog .scorebar,.pr-home-hero .pr-game-dialog .game-message,.pr-home-hero .pr-game-dialog .pr-game-pad-row,.pr-home-hero .pr-game-dialog .hud-bottom{flex:0 0 auto}
.pr-home-hero .pr-game-dialog .stage{height:auto;min-height:0;flex:1 1 0;min-width:0;overflow:hidden}
.pr-home-hero .pr-game-dialog .pr-game-pad{height:66px}
.pr-home-hero .pr-game-dialog .game-top{padding:5px 8px}
.pr-home-hero .pr-game-dialog .game-top .game-top-actions button{min-height:40px}
.pr-home-hero .pr-game-dialog .pr-game-quick{padding:5px 8px;gap:5px 7px}
.pr-home-hero .pr-game-dialog .pr-game-quick-field{gap:2px}
.pr-home-hero .pr-game-dialog .game-message{padding:4px 8px;min-height:0}
.pr-home-hero .pr-game-dialog .scorebar{padding:4px 8px}
.pr-home-hero .pr-game-dialog .hud-bottom{padding:4px 8px}
.pr-home-hero .pr-game-dialog .pr-game-pad-row{padding:4px 8px}
.pr-home-hero .pr-game-dialog .game-console[data-help=true] .stage,.pr-home-hero .pr-game-dialog .game-console[data-help=true] .pr-game-pad-row{display:none!important}
.pr-home-hero .pr-game-dialog .help-popup:not([hidden]){flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain}
.pr-home-hero .pr-game-dialog .game-console[data-help=true] .game-message{display:none}
@media(max-width:700px){.pr-home-hero .pr-game-dialog{width:100vw;height:100dvh;border-radius:0}.pr-home-hero .pr-game-dialog .game-console{border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px)}}
@media(max-height:740px) and (orientation:portrait){
.pr-home-hero .pr-game-dialog .game-console .game-top{flex-wrap:nowrap;gap:4px}
.pr-home-hero .pr-game-dialog .game-console .game-name{display:none}
.pr-home-hero .pr-game-dialog .game-console .game-top-actions{width:100%;justify-content:space-between}
.pr-home-hero .pr-game-dialog .pr-game-quick-field select{min-height:38px}
.pr-home-hero .pr-game-dialog .pr-game-auto{min-height:38px}
.pr-home-hero .pr-game-dialog .pr-game-pad{height:54px}
.pr-home-hero .pr-game-dialog .hud-bottom{min-height:46px}
.pr-home-hero .pr-game-dialog .game-console[data-control=joystick] .pr-joy{width:60px;height:60px;flex-basis:60px}
.pr-home-hero .pr-game-dialog .game-console[data-control=joystick] .hud-bottom{min-height:68px}
}
@media(max-height:360px) and (orientation:landscape){
.pr-home-hero .pr-game-dialog .game-message .hint{line-height:1.15}
.pr-home-hero .pr-game-dialog .game-console .scorebar .score-group small{font-size:8px}
.pr-home-hero .pr-game-dialog .game-console .box-choices button{width:44px;height:44px}
.pr-home-hero .pr-game-dialog .game-console .game-top-actions #prh-close{min-height:36px}
.pr-home-hero .pr-game-dialog .pr-game-pad{height:46px}
}

/* Keep the court unobstructed when the visitor explicitly expands the game. */
.pr-home-hero .pr-game-dialog .pr-game-invite{display:none!important}
@media(max-height:740px) and (orientation:portrait){
.pr-home-hero .pr-game-dialog .game-console[data-expanded=true] .game-top{padding:3px 6px;gap:2px}
.pr-home-hero .pr-game-dialog .game-console[data-expanded=true] .game-top-actions{gap:3px}
.pr-home-hero .pr-game-dialog .game-console[data-expanded=true] .game-top-actions button{padding:3px 7px;min-height:38px;line-height:1.15}
.pr-home-hero .pr-game-dialog .game-console[data-expanded=true] .game-top-actions #prh-close{min-height:40px}
.pr-home-hero .pr-game-dialog .game-console .pr-game-quick{padding:4px 6px;gap:3px 6px}
.pr-home-hero .pr-game-dialog .game-console .pr-game-quick-field{gap:2px;line-height:1.12}
.pr-home-hero .pr-game-dialog .game-console .pr-game-quick-field select{padding:3px 5px;min-height:34px;line-height:1.15}
.pr-home-hero .pr-game-dialog .game-console .pr-game-auto{min-height:34px}
.pr-home-hero .pr-game-dialog .game-console .scorebar{padding:3px 6px;gap:4px;min-height:0}
.pr-home-hero .pr-game-dialog .game-console .serve-group{gap:1px}
.pr-home-hero .pr-game-dialog .game-console .serve-group>small{font-size:9px;line-height:1.1}
.pr-home-hero .pr-game-dialog .game-console .box-choices{padding:2px;gap:3px}
.pr-home-hero .pr-game-dialog .game-console .game-message{display:flex;flex-direction:row;align-items:center;gap:6px;padding:4px 6px;min-height:0}
.pr-home-hero .pr-game-dialog .game-console .game-message .hud{flex:0 0 auto;font-size:10px;line-height:1.15}
.pr-home-hero .pr-game-dialog .game-console .game-message .hint{flex:1 1 0;min-width:0;min-height:0;line-height:1.15;font-size:10px}
.pr-home-hero .pr-game-dialog .game-console[data-help=true] .game-message{display:none}
.pr-home-hero .pr-game-dialog .game-console .pr-game-pad-row{padding:3px 6px}
.pr-home-hero .pr-game-dialog .game-console .pr-game-pad{height:50px}
.pr-home-hero .pr-game-dialog .game-console .hud-bottom{padding:3px 6px;gap:4px;min-height:46px}
.pr-home-hero .pr-game-dialog .game-console .stage-actions button{min-height:44px;font-size:11px;padding:4px 8px}
}
.pr-home-hero .pr-game-pad-serve-hint{display:none}
.pr-home-hero .game-console[data-serve-ready=true] .pr-game-pad-move-hint{display:none}
.pr-home-hero .game-console[data-serve-ready=true] .pr-game-pad-serve-hint{display:inline}
.pr-home-hero .game-console[data-serve-ready=true] .pr-game-pad{border-color:var(--pr-accent)}
.pr-home-hero .game-console[data-serve-ready=true] #prh-strike{background:#148477!important;color:#fff!important;border-color:#48cfbe!important}
.pr-home-hero .game-console[data-serve-ready=true] #prh-court{cursor:pointer}
.pr-home-hero .game-console[data-serve-ready=true] .game-message .hint{color:var(--pr-accent)}


/* Compact game controls also fit when the desktop sidebar narrows the main column. */
.pr-home-hero .game-console{container-type:inline-size;container-name:pr-court}
.pr-home-hero .game-console [hidden]{display:none!important}
.pr-home-hero .game-console .pr-game-quick-field>span{overflow-wrap:anywhere}
.pr-home-hero .game-console .pr-game-auto{min-width:0}
@container pr-court (max-width:460px){
.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-quick-field select{min-height:40px}
.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-auto{min-height:40px}
.pr-home-hero .game-console:not([data-expanded=true]) .game-top{flex-wrap:wrap}
.pr-home-hero .game-console:not([data-expanded=true]) .game-name{flex:1 1 auto}
.pr-home-hero .game-console:not([data-expanded=true]) .game-top-actions{max-width:100%;justify-content:flex-end}
}
@container pr-court (max-width:310px){
.pr-home-hero .game-console:not([data-expanded=true]) .game-name{flex:1 1 100%}
.pr-home-hero .game-console:not([data-expanded=true]) .game-top-actions{width:100%;justify-content:space-between}
}
@media(any-pointer:coarse){
.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-quick-field select,.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-auto{min-height:44px}
}

/* Compact controls: fit the actual game width, not just the viewport. */
.pr-home-hero .game-console .pr-game-quick,
.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-quick,
.pr-home-hero .pr-game-dialog .game-console .pr-game-quick {
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) minmax(0,.78fr) minmax(52px,.82fr);
  align-items:end;gap:4px;padding:5px 6px;min-width:0;
}
.pr-home-hero .game-console .pr-game-quick-field {
  display:grid;grid-template-rows:13px var(--pr-quick-control-h,36px);gap:3px;min-width:0;line-height:1.2;
  font-size:10px;font-size:clamp(9px,3cqi,11px);font-weight:600;
}
.pr-home-hero .game-console .pr-game-quick-field>span {
  white-space:nowrap;overflow-wrap:normal;letter-spacing:-.02em;
}
.pr-home-hero .game-console .pr-game-quick-field select,
.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-quick-field select,
.pr-home-hero .pr-game-dialog .game-console .pr-game-quick-field select {
  appearance:none;-webkit-appearance:none;min-width:0;width:100%;height:100%;min-height:0;
  padding:3px 13px 3px 5px;font-size:11px!important;font-size:clamp(10px,3.7cqi,12px)!important;font-weight:600;
  line-height:1.2;text-overflow:ellipsis;border-radius:6px;
  background-color:var(--pr-control);
  background-image:linear-gradient(45deg,transparent 50%,var(--pr-muted) 50%),linear-gradient(135deg,var(--pr-muted) 50%,transparent 50%);
  background-position:calc(100% - 8px) 50%,calc(100% - 5px) 50%;
  background-size:3px 3px;background-repeat:no-repeat;
}
.pr-home-hero .game-console .pr-game-auto,
.pr-home-hero .game-console:not([data-expanded=true]) .pr-game-auto,
.pr-home-hero .pr-game-dialog .game-console .pr-game-auto {
  display:grid;grid-template-rows:13px var(--pr-quick-control-h,36px);justify-items:center;align-items:center;
  gap:3px;min-height:0;min-width:0;padding:0;line-height:1.2;font-size:10px;
  font-size:clamp(9px,3cqi,11px);font-weight:600;color:var(--pr-muted);white-space:nowrap;
}
.pr-home-hero .game-console .pr-game-auto>span:last-child{grid-row:1;grid-column:1;letter-spacing:-.02em}
.pr-home-hero .game-console .pr-game-auto small{display:none}
.pr-home-hero .game-console .pr-game-auto .pr-game-switch{grid-row:2;grid-column:1;align-self:center;width:35px;height:21px;flex:none}
.pr-home-hero .game-console .pr-game-switch:after{width:13px;height:13px;left:3px;top:3px}
.pr-home-hero .game-console .pr-game-auto input:checked+.pr-game-switch:after{transform:translateX(14px)}
.pr-home-hero .game-console .pr-game-auto input{z-index:1}
@media(any-pointer:coarse){
 .pr-home-hero .game-console{--pr-quick-control-h:44px}
 .pr-home-hero .pr-game-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
 .pr-home-hero .pr-game-dialog .game-console{border-radius:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
 .pr-home-hero .pr-game-dialog .game-console .game-top{padding:3px 6px;gap:4px}
 .pr-home-hero .pr-game-dialog .game-console .game-top-actions button{min-height:44px;padding:4px 6px}
 .pr-home-hero .pr-game-dialog .game-console .scorebar{padding:3px 6px;gap:5px}
 .pr-home-hero .pr-game-dialog .game-console .serve-group{gap:1px}
 .pr-home-hero .pr-game-dialog .game-console .box-choices{padding:2px;gap:3px}
 .pr-home-hero .pr-game-dialog .game-console .game-message{display:flex;flex-direction:row;align-items:center;gap:6px;padding:4px 6px;min-height:0}
 .pr-home-hero .pr-game-dialog .game-console .game-message .hud{flex:0 0 auto;font-size:10px;line-height:1.2}
 .pr-home-hero .pr-game-dialog .game-console .game-message .hint{flex:1 1 0;min-width:0;min-height:0;font-size:10px;line-height:1.2}
 .pr-home-hero .pr-game-dialog .game-console[data-help=true] .game-message{display:none}
 .pr-home-hero .pr-game-dialog .game-console .pr-game-pad-row{padding:3px 6px}
 .pr-home-hero .pr-game-dialog .game-console .pr-game-pad{height:58px}
 .pr-home-hero .pr-game-dialog .game-console .hud-bottom{padding:3px 6px;gap:4px}
 .pr-home-hero .pr-game-dialog .game-console .stage-actions button{min-height:44px;padding:4px 8px;font-size:12px}
}
/* Landscape layout follows the measured visual viewport. */
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console{
   display:grid;grid-template-columns:minmax(212px,min(36%,330px)) minmax(0,1fr);
   grid-template-rows:auto auto auto minmax(0,1fr) auto;align-items:stretch;align-content:stretch
 }
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .game-top{grid-column:1;grid-row:1;padding:3px 5px;align-items:center;flex-wrap:nowrap}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .game-top .game-name{display:none}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .game-top-actions{width:100%;justify-content:space-between;gap:3px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .game-top-actions button{font-size:10px;min-height:40px;padding:3px 5px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .pr-game-quick{grid-column:2;grid-row:1}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .scorebar{grid-column:1;grid-row:2;min-width:0;padding:3px 5px;gap:4px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .score-summary{min-width:0;gap:5px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .score-group.games{padding-left:5px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .score-group small{font-size:9px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .score-group strong{font-size:17px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .score-group.games strong{font-size:15px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .serve-group>small{font-size:9px;max-width:90px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .game-message{grid-column:1;grid-row:3;align-self:start;display:grid;gap:2px;padding:3px 5px;min-width:0}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .stage,
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console:not([data-control=trackpad]) .stage{grid-column:2;grid-row:2/6;height:auto;min-height:0;min-width:0;border-left:1px solid var(--pr-border)}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .pr-game-pad-row{grid-column:1;grid-row:4;display:flex;align-items:stretch;min-height:0;padding:3px 5px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .pr-game-pad{height:100%;width:100%;min-height:0}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .hud-bottom{grid-column:1;grid-row:5;min-height:44px;padding:3px 5px;gap:4px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .hud-bottom .rally{min-width:0;font-size:9px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .stage-actions{gap:3px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console .stage-actions button{min-height:44px;font-size:10px;padding:4px 5px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console[data-control=joystick] .pr-joy{width:48px;height:48px;flex-basis:48px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console[data-control=joystick] .hud-bottom{min-height:54px}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console[data-control=joystick] .rally{display:none}
 .pr-home-hero .pr-game-dialog[data-fit-landscape=true] .game-console[data-help=true] .help-popup{grid-column:2;grid-row:2/6;min-height:0;width:100%;overflow:auto}


/* Modal viewport contract. No page scrollbar, no scrollbar-inclusive 100vw. */
html.pr-game-modal-open,html.pr-game-modal-open body{
  overflow:hidden!important;overscroll-behavior:none;scrollbar-gutter:auto!important;
}
.pr-home-hero .pr-game-dialog[open]{
  position:fixed;inset:auto;left:var(--pr-dialog-x,0px);top:var(--pr-dialog-y,0px);
  width:var(--pr-dialog-w,100%);height:var(--pr-dialog-h,100dvh);
  min-width:0;min-height:0;max-width:calc(100% - var(--pr-dialog-x,0px));max-height:calc(100dvh - var(--pr-dialog-y,0px));
  margin:0!important;padding:0!important;border:0;box-sizing:border-box;
  overflow:hidden!important;overscroll-behavior:contain;
}
.pr-home-hero .pr-game-dialog[open] .game-console{
  box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;
  margin:0;overflow:hidden!important;gap:0;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console{
  border:0;border-radius:0;
  padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
}
.pr-home-hero .pr-game-dialog[open] .game-console>.stage{
  flex:1 1 0px;min-width:0;min-height:0;height:auto;max-height:none;overflow:hidden;
}
.pr-home-hero .pr-game-dialog[open] .game-console>.game-top,
.pr-home-hero .pr-game-dialog[open] .game-console>.pr-game-quick,
.pr-home-hero .pr-game-dialog[open] .game-console>.scorebar,
.pr-home-hero .pr-game-dialog[open] .game-console>.game-message,
.pr-home-hero .pr-game-dialog[open] .game-console>.pr-game-pad-row,
.pr-home-hero .pr-game-dialog[open] .game-console>.hud-bottom{
  box-sizing:border-box;min-width:0;max-width:100%;flex:0 0 auto;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-top{
  flex-wrap:nowrap;gap:5px;padding:4px 8px;min-height:0;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-name{
  flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-top-actions{
  display:flex;flex:0 1 auto;min-width:0;width:auto;max-width:100%;gap:4px;justify-content:flex-end;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-top-actions button{
  flex:0 0 auto;min-height:44px;padding:4px 6px;white-space:nowrap;font-size:11px;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-message{
  display:flex;flex-direction:row;align-items:center;gap:6px;padding:4px 8px;min-height:0;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-message .hud{
  flex:0 0 auto;font-size:10px;line-height:1.2;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .game-message .hint{
  flex:1 1 0;min-width:0;min-height:0;font-size:10px;line-height:1.2;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .hud-bottom{
  padding:4px 8px;gap:5px;min-width:0;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .hud-bottom .rally{
  flex:1 1 0;min-width:0;overflow-wrap:anywhere;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .stage-actions{
  flex:0 0 auto;min-width:0;max-width:100%;gap:4px;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .stage-actions button{
  min-height:44px;padding:4px 7px;font-size:11px;
}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true] .game-console .pr-game-pad-row{padding:3px 8px}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true][data-short-viewport=true][data-fit-landscape=false] .game-console .pr-game-pad{height:48px}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true][data-short-viewport=true][data-fit-landscape=false] .game-console .game-name{display:none}
.pr-home-hero .pr-game-dialog[open][data-fit-viewport=true][data-short-viewport=true][data-fit-landscape=false] .game-console .game-top-actions{flex:1 1 100%;justify-content:space-between}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .game-top{padding:3px 5px}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .game-top-actions{flex:1 1 100%;gap:3px;justify-content:space-between}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .game-top-actions button{min-height:40px;padding:3px 5px;font-size:10px}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .game-message{display:grid;align-items:start;gap:2px;padding:3px 5px}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .pr-game-pad-row{padding:3px 5px}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .hud-bottom{padding:3px 5px;gap:4px}
.pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .stage-actions button{padding:4px 5px;font-size:10px}
.pr-home-hero .pr-game-dialog[open] .game-console[data-help=true] .game-message{display:none}
.pr-home-hero .pr-game-dialog[open] .game-console[data-help=true] .help-popup{min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain}

/* Mobile/tablet audit 2026-11-27: readable embedded controls, compact fullscreen. */
@media(max-width:900px) {
  .pr-home-hero .game-console #prh-help-trigger,
  .pr-home-hero .game-console #prh-restart { font-size:12px; }
  .pr-home-hero .game-console .pr-game-quick-field { font-size:12px; }
  .pr-home-hero .game-console .score-group small,
  .pr-home-hero .game-console .serve-group #prh-serve-label { font-size:12px; white-space:normal; line-height:1.2; }
  .pr-home-hero .game-console .score-summary,
  .pr-home-hero .game-console .serve-group { min-width:0; }
  .pr-home-hero .game-console .game-top { flex-wrap:wrap; }
  .pr-home-hero .game-console .game-name { flex:1 1 100%; font-size:13px; }
  .pr-home-hero .game-console .game-top-actions { flex:1 1 100%; justify-content:space-between; }
  .pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .score-group small,
  .pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console .serve-group #prh-serve-label,
  .pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console #prh-help-trigger,
  .pr-home-hero .pr-game-dialog[open][data-fit-landscape=true] .game-console #prh-restart { font-size:11px; }
}
@media (min-width:901px) and (max-width:1100px) {
  .pr-home-hero .game-console #prh-help-trigger,
  .pr-home-hero .game-console #prh-restart,
  .pr-home-hero .game-console .pr-game-quick-field,
  .pr-home-hero .game-console .score-group small,
  .pr-home-hero .game-console .serve-group #prh-serve-label { font-size:12px; line-height:1.2; }
}

/* Homepage calendar preview: scoped, light/dark, responsive. */
.pr-home-tournaments{padding-top:38px}
.pr-home-tour-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}
.pr-home-tour-head h2{font-size:clamp(24px,3vw,36px);line-height:1.15;letter-spacing:-.035em;margin:0;color:var(--pr-details-text)}
.pr-home-tour-all{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--pr-details-accent);font-size:13px;font-weight:750;white-space:nowrap}
.pr-home-tour-all:hover{text-decoration:underline;color:var(--pr-details-accent)}
.pr-home-tour-tabs{display:inline-flex;gap:4px;border:1px solid var(--pr-details-line);border-radius:999px;padding:4px;background:var(--pr-details-inset);margin-bottom:16px;max-width:100%}
.pr-home-tour-tabs button{border:0;border-radius:999px;background:transparent;color:var(--pr-details-muted);font:700 13px/1.3 inherit;font-family:inherit;padding:11px 19px;min-height:42px;cursor:pointer;transition:background .18s,color .18s}
.pr-home-tour-tabs button[aria-selected=true]{color:#06251f;background:#5eead4;box-shadow:0 2px 12px #0002}
html[data-theme=light] .pr-home-tour-tabs button[aria-selected=true]{background:#087f74;color:#fff}
.pr-home-tour-tabs button:focus-visible,.pr-home-tour-card:focus-visible,.pr-home-tour-all:focus-visible{outline:2px solid var(--pr-details-accent);outline-offset:3px}
.pr-home-tour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pr-home-tour-grid[hidden]{display:none!important}
.pr-home-tour-card{display:flex;align-items:center;gap:14px;padding:17px 15px;text-decoration:none;border:1px solid var(--pr-details-line);background:var(--pr-details-panel);color:var(--pr-details-text);border-radius:16px;min-width:0;transition:transform .18s,border-color .18s}
.pr-home-tour-card:hover{color:var(--pr-details-text);border-color:var(--pr-details-accent);transform:translateY(-2px)}
.pr-home-tour-date{flex:none;display:flex;flex-direction:column;justify-content:center;align-items:center;width:55px;min-height:57px;border-radius:12px;background:var(--pr-details-inset);border:1px solid var(--pr-details-line);color:var(--pr-details-accent);line-height:1.1}
.pr-home-tour-date strong{font-size:25px;letter-spacing:-.04em}.pr-home-tour-date small{font-size:11px;margin-top:3px}
.pr-home-tour-copy{min-width:0;display:flex;flex-direction:column;gap:7px}
.pr-home-tour-copy strong{font-size:14px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.pr-home-tour-copy small{font-size:12px;line-height:1.4;color:var(--pr-details-muted);overflow-wrap:anywhere}
.pr-home-tour-arrow{margin-left:auto;color:var(--pr-details-accent);font-size:20px;flex:none}
.pr-home-tournaments-empty{grid-column:1/-1;color:var(--pr-details-muted);padding:23px;border:1px dashed var(--pr-details-line);border-radius:14px;margin:0}
.pr-home-tour-all-bottom{display:none;margin-top:15px}
@media(max-width:930px){.pr-home-tour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pr-home-tournaments{padding-top:29px}.pr-home-tour-head{align-items:start}.pr-home-tour-head .pr-home-tour-all{display:none}.pr-home-tour-tabs{display:flex;width:100%}.pr-home-tour-tabs button{flex:1;min-width:0;font-size:12px;padding:11px 8px}.pr-home-tour-grid{grid-template-columns:1fr;gap:9px}.pr-home-tour-card{padding:12px}.pr-home-tour-all-bottom{display:inline-flex}}
@media(prefers-reduced-motion:reduce){.pr-home-tour-card,.pr-home-tour-tabs button{transition:none}.pr-home-tour-card:hover{transform:none}}
