:root{font-family:Trebuchet MS,Avenir Next,Arial,sans-serif;color:#254c4b;font-synthesis:none;background:#94deea;font-weight:600}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{outline-offset:4px}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #eb7854}button:disabled{cursor:wait;filter:grayscale(.6);opacity:.65}[hidden]{display:none!important}#stage{position:fixed;inset:0 424px 0 0}#stage canvas{display:block;width:100%;height:100%}.brand{position:fixed;top:33px;left:38px;pointer-events:none;z-index:2}.eyebrow{font-size:10px;font-weight:900;letter-spacing:2.3px;color:#588478}.brand .eyebrow{display:inline-block;background:#fff8d9;border:2px solid #fffdf4;border-radius:30px;padding:8px 13px;box-shadow:0 3px #29696922;color:#37756c;transform:rotate(-2deg)}h1{margin:9px 0 4px;font-size:clamp(32px,4.1vw,62px);line-height:.91;letter-spacing:-3.5px;font-weight:1000;filter:drop-shadow(0 5px 0 #1b716342)}h1>span{color:#ffdb5f;-webkit-text-stroke:1px #efb544;text-shadow:2px 2px 0 #fff6bd,3px 5px 0 #30736b;display:block}h1 strong{display:block;color:#fffbea;font-size:.73em;letter-spacing:-2px;line-height:1.2;text-shadow:2px 3px 0 #328678}.title-ball{color:#e8f25c;font-size:.55em;vertical-align:middle;margin-left:6px}.brand p{font-size:12px;color:#347b77;margin:8px 0}.panel{position:fixed;right:20px;top:20px;bottom:20px;width:386px;border-radius:28px;background:#fffdf3;border:3px solid #fff;box-shadow:0 14px #3b918b1f,0 12px 36px #286d7f1a;padding:23px;overflow-y:auto;scrollbar-width:thin;z-index:3}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h2{margin:5px 0 16px;font-size:26px;letter-spacing:-.9px;color:#254e4d}.club-stamp{display:grid;place-content:center;background:#f5ce60;border:2px dashed #fff3b5;border-radius:50%;width:48px;height:48px;font-size:11px;text-align:center;line-height:1.2;transform:rotate(12deg);color:#8f7534}.slots{display:flex;background:#edf2e5;border-radius:10px;padding:3px;margin:2px 0 13px;gap:3px}.slot{flex:1;min-width:0;border:0;border-radius:8px;padding:7px 2px;background:transparent;color:#758980;font-size:10px}.slot.active{background:#fffef9;color:#347968;box-shadow:0 2px 4px #34412d16}.characters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.character{position:relative;border:2px solid transparent;background:#f1f1e6;border-radius:16px;display:flex;flex-direction:column;align-items:center;padding:7px 3px 8px;transition:transform .15s,background .15s}.character:hover{transform:translateY(-3px);background:#faedcd}.character.selected{border-color:var(--kit);background:color-mix(in srgb,var(--kit) 15%,#fffefa);box-shadow:0 3px color-mix(in srgb,var(--kit) 30%,transparent)}.character img{width:65px;height:65px;object-fit:contain;filter:drop-shadow(0 3px 0 #172d2814)}.character span{color:#476359;font-size:11px;font-weight:900;margin-top:2px}.selected-tick{position:absolute;top:5px;right:5px;font-size:10px;background:var(--kit);border-radius:50%;height:17px;width:17px;color:#fff;line-height:17px}.character-line{margin:12px 0 0;font-size:10px;display:flex;gap:7px;align-items:center}.character-line b{font-size:12px;color:#397c6c}.character-line span{color:#819386}.divider{height:1px;background:#e6ecdd;margin:17px 0}.section-label{font-size:9px;font-weight:900;letter-spacing:1.4px;color:#8b9d8d;margin-bottom:8px}.courts{display:flex;gap:8px}.court-card{flex:1;border:2px solid transparent;background:#edf2e9;border-radius:12px;overflow:hidden;padding:3px 3px 6px;color:#638071;font-size:10px}.court-card.selected{border-color:#47a891;background:#d7f1df;color:#27775e}.court-swatch{height:44px;border-radius:7px;display:block;position:relative;overflow:hidden;font-size:27px;text-align:left;padding-left:7px;background:linear-gradient(#a8e8e3 50%,#7cbc67 50%)}.court-swatch i{position:absolute;right:2px;bottom:4px;width:39px;height:19px;background:#f49c77;border:1px solid white;transform:skew(-25deg)}.court-swatch i:before{content:"";position:absolute;inset:0 50% 0 auto;border-left:1px solid white}.court-swatch.beach{background:linear-gradient(#98ddf2 50%,#f9daa0 50%)}.court-swatch.beach i{background:#5ed1df}.court-swatch.snow{background:linear-gradient(#a8cdda 50%,#e5f6f4 50%)}.court-swatch.snow i{background:#a992d5}.court-card b{display:block;margin-top:5px}.settings-row{display:flex;gap:10px;margin-top:15px}.settings-row label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#789380;flex:1;min-width:0}.settings-row select{width:100%;appearance:auto;border:1px solid #dde7d8;border-radius:9px;background:#f3f6ec;color:#476b5b;font-size:11px;padding:9px 5px}.settings-row.compact{align-items:center;margin-top:10px}.compact>label:first-child{flex:0 0 106px}.settings-row .check{flex-direction:row;align-items:center;font-size:10px;line-height:1.3;gap:4px;padding-top:12px}.check input{accent-color:#3cac83;width:16px;height:16px;flex-shrink:0}.play-button{display:flex;align-items:center;justify-content:center;gap:15px;background:#ffcf55;color:#60501f;border:2px solid #ffe491;border-bottom:5px solid #e9ae35;border-radius:15px;width:100%;font-size:19px;letter-spacing:-.5px;font-weight:900;padding:13px 16px;margin-top:18px;box-shadow:0 4px 12px #e8bc6330;transition:transform .12s,filter .12s}.play-button:hover{filter:brightness(1.06);transform:translateY(-2px)}.play-button:active{transform:translateY(2px)}.play-button span{font-size:25px}.start-note{font-size:10px;color:#99a595;text-align:center;margin:10px 0 14px}footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eaf0e3;padding-top:12px;font-size:8px;color:#99a996}footer button,footer a{border:0;padding:0;color:#6e9783;text-decoration:none;background:none;font-size:9px}footer button:hover,footer a:hover{text-decoration:underline}.scene-caption{position:fixed;left:35px;bottom:29px;display:grid;grid-template-columns:12px auto;column-gap:7px;align-items:center;color:#27796e;font-size:19px;text-shadow:0 2px #d9faf177}.scene-caption small{grid-column:2;font-size:8px;font-weight:900;letter-spacing:2px;margin-top:6px}.location-dot{height:9px;width:9px;border-radius:50%;background:#ffdb6b;border:2px solid #fff7cb}.playing #stage{right:0}.playing #stage canvas{touch-action:none}#hud{position:fixed;inset:20px 25px auto;pointer-events:none;z-index:3}#scoreboard{display:flex;align-items:center;gap:10px;width:max-content;margin:auto;background:#fffcedf5;border:3px solid white;border-radius:20px;padding:8px 18px;box-shadow:0 5px #38787025}.score-team{display:flex;align-items:center;gap:10px;min-width:175px}.score-team img{width:44px;height:44px;object-fit:contain}.score-team>div{display:flex;flex-direction:column}.score-team span{font-size:13px;font-weight:900}.score-team small{font-size:8px;letter-spacing:1px;color:#91a78e;margin-top:5px}.score-team b{font-size:37px;color:#3b9b89;margin-left:auto}.score-team.far b{color:#d9896c}.score-vs{font-size:21px;color:#c3c9a5;margin:0 9px}.match-tools{position:absolute;right:0;top:7px;display:flex;gap:9px;pointer-events:auto}.match-tools button{border:2px solid white;border-radius:14px;width:42px;height:42px;background:#fffcef;color:#5b9484;font-size:20px;box-shadow:0 3px #377a6f22}#rally{display:flex;flex-direction:column;align-items:center;gap:4px;margin:14px auto 0;width:max-content;text-align:center;background:#fffceae8;border-radius:12px;padding:7px 17px;font-size:10px;color:#477c71}#rally:empty{display:none}#rally b{font-size:16px}#rally small{font-size:8px;letter-spacing:.6px;color:#83a193}.power{width:110px;height:5px;background:#e1e5cd;border-radius:5px;overflow:hidden}.power i{display:block;height:100%;background:#efbd3c;border-radius:5px}#controls{position:fixed;bottom:18px;left:50%;transform:translate(-50%);display:flex;gap:18px;align-items:center;justify-content:center;background:#fffceded;border:2px solid #ffffffa3;border-radius:16px;padding:11px 20px;font-size:10px;white-space:nowrap;color:#719383;box-shadow:0 4px #337b7020}kbd{font-family:inherit;font-size:9px;background:#e7eedb;color:#56836c;border-radius:4px;padding:4px;margin-right:4px}#p2help:empty{display:none}#callout{position:fixed;top:33%;left:50%;transform:translate(-50%,-20px) scale(.9);display:flex;flex-direction:column;align-items:center;gap:5px;color:#fffef2;pointer-events:none;z-index:4;opacity:0;transition:opacity .18s,transform .18s;text-align:center;text-shadow:0 3px 0 #35796a,0 4px 12px #316b7988;width:90%}#callout strong{font-size:clamp(26px,3vw,43px);font-weight:1000;letter-spacing:-1px}#callout span{font-size:13px}#callout.show{opacity:1;transform:translate(-50%) scale(1)}#modal{position:fixed;inset:0;background:#226d6877;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;z-index:10;padding:20px}.modal-card{background:#fffcee;border:4px solid white;border-radius:28px;box-shadow:0 12px #32605b30;max-width:440px;width:100%;padding:36px;text-align:center}.modal-card h2{font-size:34px;letter-spacing:-1.2px;margin:14px 0;color:#2d7464}.modal-card p{font-size:13px;color:#829482;line-height:1.7}.secondary{display:block;margin:15px auto 0;background:transparent;border:0;color:#6c9b86;font-size:12px;padding:8px}.secondary:hover{text-decoration:underline}.modal-card .arcade-link{display:inline-block;padding:10px;color:#467c64;font-size:14px;text-underline-offset:3px}.trophy{display:block;font-size:62px;margin-bottom:15px}.final-score{font-size:58px;color:#e4af33;letter-spacing:3px}.final-score span{color:#d0d7be}.help-card{max-width:540px;padding:25px 35px}.help-card h2{font-size:27px}.help-grid{display:grid;grid-template-columns:90px 1fr;gap:13px;text-align:left;font-size:12px;background:#edf4e5;border-radius:15px;padding:18px;color:#69927c;line-height:1.6}.help-grid b{color:#3e775e}.help-card p{font-size:12px}#loading{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#97dfeb;color:#367d75;text-align:center}#loading h2{font-size:29px;letter-spacing:-1px}#loading p{font-size:13px}#loading .play-button{max-width:200px}.loader-ball{width:40px;height:40px;border-radius:50%;background:#eff781;border:3px solid #fff6c2;box-shadow:0 12px #377f7222;animation:bounce .7s infinite alternate}@keyframes bounce{to{transform:translateY(-25px)}}#touch{display:none;position:fixed;bottom:20px;left:20px;right:20px;justify-content:space-between;pointer-events:none;z-index:5}.dpad{display:grid;grid-template-columns:repeat(3,43px);gap:4px}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1}.dpad button{width:43px;height:43px}.touch-actions{display:flex;gap:7px;align-items:flex-end}#touch button{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;border:2px solid #fffcef88;border-radius:14px;background:#fffcedc9;color:#4b8976;font-size:13px;padding:8px}#touch .touch-hit{width:68px;height:68px;border-radius:50%;background:#ffce59e8;font-size:19px;font-weight:900}.touch-actions>button:not(.touch-hit){width:44px;height:44px}@media(min-height:900px)and (min-width:901px){.panel{top:35px;bottom:35px;padding:24px}.characters{gap:11px}.character{padding:8px 3px}.character img{width:76px;height:76px}.divider{margin:18px 0}.court-swatch{height:52px}.settings-row{margin-top:15px}.play-button{margin-top:20px;padding:16px}}@media(max-width:1100px){#stage{right:370px}.panel{width:340px;padding:19px;right:15px}.brand{left:23px;top:25px}.character img{width:57px;height:57px}.character-line{font-size:9px}.panel-heading h2{font-size:23px}.scene-caption{left:22px}.score-team{min-width:150px}.match-tools{top:85px}}@media(max-height:720px)and (min-width:901px){.panel{top:10px;bottom:10px;padding:15px 21px}.character img{width:49px;height:49px}.character{padding:4px 2px}.panel-heading h2{font-size:22px;margin-bottom:8px}.divider{margin:10px 0}.character-line{margin-top:9px}.court-swatch{height:32px}.settings-row{margin-top:9px}.play-button{margin-top:12px;padding:9px}.start-note{margin:7px 0}.brand h1{font-size:47px}}@media(max-width:760px){body:not(.playing){background:#94deea}#stage{position:absolute;inset:0 0 auto;height:360px}.brand{position:absolute;top:18px;left:19px}.brand h1{font-size:43px}.brand p{font-size:10px;margin-top:6px}.brand .eyebrow{font-size:7px;padding:6px 9px;letter-spacing:1.5px}.panel{position:relative;top:auto;right:auto;bottom:auto;width:calc(100% - 28px);max-width:460px;margin:345px auto 20px;padding:20px;overflow:visible}.scene-caption{position:absolute;top:303px;bottom:auto;left:22px;font-size:15px}.scene-caption small{font-size:7px}.character img{width:65px;height:65px}.playing #stage{position:fixed;inset:0;height:auto}.playing{overflow:hidden}#hud{inset:12px 10px auto}#scoreboard{width:100%;max-width:460px;gap:5px;padding:8px 11px;border-radius:16px}.score-team{min-width:0;flex:1;gap:5px}.score-team img{width:32px;height:32px}.score-team span{font-size:10px}.score-team small{font-size:7px}.score-team b{font-size:29px}.score-vs{margin:0 4px}.match-tools{top:82px;right:2px}.match-tools button{width:33px;height:33px;border-radius:10px;font-size:16px}#rally{font-size:10px;margin-top:9px;max-width:230px}#controls{display:none}#touch:not([hidden]){display:flex}#callout{top:34%}.modal-card{padding:26px}.modal-card h2{font-size:28px}.help-card{max-height:90vh;overflow:auto}.help-card p{font-size:11px}}@media(pointer:coarse){.playing #controls{display:none}#touch:not([hidden]){display:flex}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.world-courts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.world-courts .court-card:first-child{grid-column:span 2}.world-courts .court-card{min-width:0;font-size:10px}.world-courts .court-swatch{height:34px;font-size:23px}.world-courts .court-swatch i{width:43px;height:22px}.court-swatch.montecarlo{background:linear-gradient(165deg,#adc1a0 28%,#b6dfeb 29%,#65bfd4 65%,#d8c6a2 66%)}.court-swatch.montecarlo i,.court-swatch.rolandgarros i{background:#c97449}.court-swatch.australian{background:linear-gradient(#b7dfed 48%,#4382a1 49%)}.court-swatch.australian i{background:#258cbe}.court-swatch.rolandgarros{background:linear-gradient(#dce8e6 48%,#aaa18d 49%)}.court-swatch.wimbledon{background:linear-gradient(#d3e5df 48%,#335946 49%)}.court-swatch.wimbledon i{background:repeating-linear-gradient(#75a143 0 4px,#68953a 4px 8px)}.court-swatch.usopen{background:linear-gradient(#b7cfe7 48%,#43627e 49%)}.court-swatch.usopen i{background:#397baa;box-shadow:0 0 0 3px #80a884}.venue-detail{display:flex;justify-content:space-between;gap:6px;font-size:10px;color:#557e6b;margin:9px 1px}.venue-detail span{color:#8e9c7a}.family-courts{font-size:10px;color:#72907b}.family-courts summary{cursor:pointer;padding:5px 0}.family-courts .courts{margin:6px 0}.family-courts .court-swatch{height:30px}.match-length{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#789380;margin-top:10px}.match-length select{background:#f3f6ec;border:1px solid #dde7d8;color:#476b5b;border-radius:8px;padding:6px;font-size:11px}#match-status{width:max-content;max-width:90%;margin:5px auto 0;background:#fffcedec;border-radius:20px;padding:4px 12px;font-size:10px;color:#4e7a69}.score-team .score-stats{display:flex;flex-direction:row;align-items:center;gap:10px;margin-left:10px}.score-stats>span{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:24px}.score-stats small{font-size:7px;letter-spacing:.4px;margin:0}.score-stats em{font-style:normal;font-size:20px;color:#6f8978}.score-stats .current-points{min-width:42px}.score-stats b{font-size:29px;margin:0}@media(min-width:761px){.panel{padding:18px}.character img{width:53px;height:53px}.divider{margin:12px 0}.panel-heading{margin-bottom:12px}}@media(max-width:760px){#scoreboard{flex-direction:column;align-items:stretch;max-width:360px;gap:0;padding:5px 11px}.score-vs{display:none}.score-team{min-height:39px}.score-team .score-stats{margin-left:auto}.score-stats small{font-size:7px}.score-stats b{font-size:24px}.score-stats em{font-size:18px}#match-status{font-size:8px}.match-tools{top:132px}}
