:root{font-family:ui-rounded,"Avenir Next",Avenir,system-ui,-apple-system,sans-serif;color:#233c38;background:#f6f4ec;font-synthesis:none;font-weight:600;--teal:#087f8c;--orange:#c85a3b;--ink:#233c38;--line:#dce0d4;--cream:#f6f4ec}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 0%,#e8eee0 0,transparent 55%),#f6f4ec;min-width:280px}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:1px solid transparent;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;transition:background .16s,box-shadow .16s,transform .16s}button:hover{background:#e9ede2}button:active{transform:scale(.96)}button:focus-visible,a:focus-visible{outline:3px solid #d59d16;outline-offset:4px}button:disabled{cursor:default;opacity:1}button:disabled:active{transform:none}svg{display:inline-block;vertical-align:middle;flex-shrink:0}.icon{width:24px;height:24px}.ball{width:26px;height:26px}.shape{width:30px;height:30px;color:transparent}.pair{display:inline-flex;gap:5px;align-items:center;justify-content:center}.pair .shape{width:23px;height:23px}.shell{max-width:1040px;padding:28px 36px 16px;margin:auto}.toolbar{display:flex;align-items:center;gap:20px;margin-bottom:22px}.brand{display:flex;align-items:center;gap:0;margin-right:auto;width:74px;color:#2d6659}.brand .icon{width:42px;height:42px;transform:rotate(-12deg)}.brand .ball{width:23px;height:23px;align-self:flex-end;margin-left:-5px}.modes,.tools{display:flex;gap:4px;align-items:center}.modes{padding:4px;border:1px solid var(--line);border-radius:15px;background:#fff9}.toolbar button{border-radius:11px;min-width:44px}.modes button:first-child{padding:0 12px}.modes button.active,.tools button.active{background:#204d43;color:#fff;box-shadow:0 2px 5px #204d4322}.tools button{color:#587065}.scoreboard{background:#ffffffe0;border:1px solid #e5e7dc;border-radius:22px;padding:18px 28px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;margin-bottom:16px;box-shadow:0 5px 24px #263b2610}.team-score{display:flex;gap:20px;align-items:center}.team-score b{font-size:36px;letter-spacing:-1.5px;line-height:1}.team-score .pair .shape{width:28px;height:28px}.team-score.orange{justify-content:flex-end;flex-direction:row-reverse}.teal{color:var(--teal)}.orange{color:var(--orange)}.call-wrap{text-align:center}.call{display:flex;align-items:center;justify-content:center;gap:10px;font-size:30px;font-variant-numeric:tabular-nums;font-weight:750;line-height:1.2}.call i,.ready-call i,.small-call i{font-style:normal;font-weight:400;color:#9ca99b}.number-server{color:var(--ink);background:#edf0e7;border-radius:8px;min-width:32px;padding:1px 5px}.serve-order{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:6px;font-size:12px}.serve-order .ball{width:17px;height:17px}.serve-dot{width:19px;height:19px;border-radius:50%;background:#eef0e8;color:#879285;line-height:19px}.serve-dot.on{background:#365d50;color:#fff}.play-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:20px;align-items:stretch}.court-card{background:#e8eee0;border:1px solid #dce3d2;border-radius:27px;padding:14px 15px 12px;position:relative;overflow:hidden}.court{position:relative;aspect-ratio:400/460;width:100%;max-width:440px;margin:auto;isolation:isolate}.court-lines{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 8px 5px #23493615)}.player{position:absolute;width:58px;height:58px;left:var(--x);top:var(--y);transform:translate(-50%,-50%);border-radius:50%;background:#fafaf0;border:3px solid #fff;box-shadow:0 5px 0 #102f2e33,0 6px 12px #123b3555;z-index:3}.player:hover{background:#fafaf0}.player:active{transform:translate(-50%,-50%) scale(.96)}.player:disabled:active{transform:translate(-50%,-50%)}.player .shape{width:31px;height:31px}.player.server{box-shadow:0 0 0 4px #eacd5b,0 5px 0 #102f2e33,0 6px 12px #123b3555}.player-ball{position:absolute;right:-10px;bottom:-8px}.player-ball .ball{width:24px;height:24px}.player.selectable{outline:2px dashed #fff7;outline-offset:5px;cursor:pointer}.player.selectable:hover{box-shadow:0 0 0 5px #f4d555;transform:translate(-50%,-50%) scale(1.08)}.direction{position:absolute;left:50%;transform:translateX(-50%);font-size:22px;font-weight:400;color:#e9eee294;pointer-events:none}.direction.top{top:12.4%}.direction.bottom{bottom:12.4%}.court-status{height:30px;display:flex;align-items:center;justify-content:center;gap:13px;margin-top:4px}.court-status .icon{width:21px;height:21px}.court-status>.ball{width:20px;height:20px}.court-status>.shape{width:23px;height:23px}.court-status>.icon:first-child{color:#9c7820}.action-card{min-width:0;background:#fffefa;border:1px solid #e2e5da;border-radius:27px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;box-shadow:0 7px 24px #233c3807}.primary{background:#234f43;color:#fff;border-radius:16px;min-height:62px;min-width:80px;padding:0 26px;box-shadow:0 4px 0 #16372e;transition:background .16s,transform .16s}.primary:hover{background:#2d6654}.primary .icon{width:32px;height:32px}.secondary{border:1px solid #d9dfd1;border-radius:15px;min-height:60px;min-width:60px;padding:0 17px;background:#f2f4ea}.ready-icon{display:flex;align-items:center;gap:12px;margin-bottom:19px}.ready-icon .ball{width:32px;height:32px}.ready-icon .shape{width:38px;height:38px}.ready-icon .icon{color:#92a08e;width:22px}.ready-call{display:flex;align-items:center;justify-content:center;font-size:40px;gap:12px;font-weight:750;letter-spacing:-1px;font-variant-numeric:tabular-nums}.ready-order{display:flex;align-items:center;gap:12px;margin:15px 0 25px}.ready-order .icon{width:18px;color:#98a58f}.marked-number{display:grid;place-items:center;background:#e7ecdf;border-radius:50%;width:30px;height:30px}.muted-number{text-decoration:line-through;color:#a9b39f}.play-button{width:100%;max-width:210px}.play-button .icon{width:35px;height:35px}.ready-flow{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:27px;color:#9aa38e;font-size:12px}.ready-flow .icon,.ready-flow .ball{width:18px;height:18px}.ready-flow b{margin-left:-5px;font-weight:600}.ready-flow span{white-space:nowrap}.step-progress{display:flex;justify-content:center;gap:22px;margin-bottom:28px;width:100%}.step-progress>span{width:42px;height:32px;display:flex;justify-content:center;align-items:center;border-radius:8px;color:#a2ac98;font-size:12px;position:relative;opacity:.55}.step-progress>span:not(:last-child):after{content:'';position:absolute;height:1px;width:12px;right:-17px;background:#cbd2bf}.step-progress .icon,.step-progress .ball{width:20px;height:20px}.step-progress>span.current{opacity:1;background:#e5ecdd;color:#2c5449}.step-progress>span.done{opacity:.85;background:#f2f4ec}.prompt{display:flex;gap:14px;align-items:center;justify-content:center;margin:2px 0 24px;font-size:32px;color:#415c4e}.prompt>.ball,.prompt>.icon{width:39px;height:39px}.prompt b{font-weight:500;color:#84947a}.score-icon{font-size:29px;letter-spacing:-.8px}.choices{width:100%;display:grid;gap:12px}.player-choices{grid-template-columns:repeat(4,1fr)}.choice{border:1.5px solid #dfe5d5;border-radius:16px;background:#f8f9f2;min-height:76px;position:relative}.choice:hover{background:#eef2e6;border-color:#9aae9b}.player-choices .shape{width:37px;height:37px}.swap-choices{grid-template-columns:repeat(3,1fr)}.mini-court{width:65px;height:81px;margin:11px 0}.score-choices{gap:10px}.score-choices .choice{font-size:26px;min-height:58px;letter-spacing:2px;font-variant-numeric:tabular-nums}.hint{outline:3px solid #d2ad32!important;outline-offset:3px}.hint:after{content:'';position:absolute;width:9px;height:9px;background:#e3bc3f;border:2px solid #fff;border-radius:50%;right:1px;top:1px}.back-button{border-radius:10px;margin-top:16px;color:#87967c;min-height:38px}.back-button .icon{width:21px}.feedback-mark{width:50px;height:50px;border-radius:50%;display:flex;justify-content:center;align-items:center;margin:0 0 18px}.feedback-mark.good{background:#e7f0da;color:#52723b}.feedback-mark.try-again{background:#f9e8dc;color:#c36c44}.feedback-mark .icon{width:29px;height:29px}.answer-summary{display:flex;flex-direction:column;gap:15px;max-width:280px;width:100%;align-items:flex-start}.answer-summary>div{display:flex;gap:12px;align-items:center;width:100%;min-height:33px}.answer-summary>div>.icon:first-child{margin-right:5px;width:20px;height:20px}.good{color:#628044}.bad{color:#c36c44}.small-call{display:flex;align-items:center;font-size:26px;gap:8px;line-height:1.1;font-variant-numeric:tabular-nums}.small-call .number-server{padding:2px 7px;min-width:0}.answer-summary .pair .shape{width:24px;height:24px}.answer-summary>div>.shape{width:31px;height:31px}.explanation{width:100%;border-top:1px solid #e5e9dd;margin-top:21px;padding-top:20px;display:flex;justify-content:center;align-items:center;gap:8px;min-height:60px}.explanation .shape{width:21px;height:21px}.explanation .ball{width:22px;height:22px}.explanation .icon{width:20px;height:20px}.explanation .pair{gap:2px}.explanation b{font-size:20px;white-space:nowrap}.mini-zero{font-size:12px;align-self:flex-start;margin-top:3px;color:#8c9c7c}.feedback-actions{display:flex;gap:15px;margin-top:22px;width:100%;justify-content:center}.feedback-actions .primary{flex:1;max-width:190px}.swap-overlay{position:absolute;left:50%;transform:translateX(-50%);color:#e9cf63;z-index:2;animation:fade-in .7s}.swap-overlay .icon{width:58px;height:58px}.swap-overlay.team0{bottom:8%}.swap-overlay.team1{top:8%}.rally-pulse .ball{width:68px;height:68px;animation:bounce .5s infinite alternate}.rally-dots{font-size:14px;letter-spacing:12px;color:#a7b59c;margin-top:24px}.rally-ball{position:absolute;width:26px;height:26px;left:var(--sx);top:var(--sy);transform:translate(-50%,-50%);z-index:4;animation:rally 2.25s ease-in-out forwards}.rally-ball .ball{width:26px;height:26px}footer{display:flex;align-items:center;gap:15px;padding:20px 7px 5px;color:#8b9980;font-size:12px;font-weight:500}footer .icon{width:19px;height:19px}.accuracy{display:flex;align-items:center;gap:7px;min-width:70px}.accuracy span{font-size:14px;font-variant-numeric:tabular-nums}.accuracy small{margin:0 5px;color:#b1baa5}.rules-symbols{display:flex;align-items:center;gap:6px;margin:auto}.rules-symbols .ball{width:18px;height:18px}.rules-symbols .divider{height:16px;width:1px;background:#d1d9c6;margin:0 8px}.gap-symbol{margin-left:8px}footer a{color:inherit;display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border-radius:10px}.modal-backdrop{position:fixed;inset:0;background:#163a32aa;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:20}.modal{background:#fffef7;border-radius:28px;box-shadow:0 25px 80px #09271d4d;padding:27px;position:relative;max-width:440px;width:100%;min-height:360px;display:flex;flex-direction:column}.close-modal{position:absolute;right:13px;top:13px;border-radius:50%;color:#8b9a80}.help-steps{display:flex;gap:7px;justify-content:center;margin:3px 0 29px}.help-steps span{display:grid;place-items:center;font-size:12px;width:25px;height:25px;border-radius:50%;background:#edf0e4;color:#a3af99}.help-steps span.on{background:#345e4d;color:#fff}.tutorial-flow,.rule-demo{display:flex;flex-direction:column;gap:27px;flex:1;justify-content:center;padding:8px 0 25px}.tutorial-flow>div,.rule-demo>div{display:flex;align-items:center;justify-content:center;gap:14px}.tutorial-flow .icon{width:27px;height:27px}.tutorial-flow .shape{width:28px;height:28px}.tutorial-flow b{font-size:20px;color:#849577}.tutorial-flow .icon:nth-child(2){color:#8b9a80}.tutorial-score{font-size:20px}.modal-actions{display:flex;gap:13px;margin-top:20px;justify-content:center}.modal-actions .primary{flex:1;max-width:200px}.rule-demo{gap:22px}.rule-demo .pair{gap:3px}.rule-demo>div{gap:10px}.rule-demo b{font-size:22px;white-space:nowrap}.rule-demo .icon{width:23px;height:23px}.rule-demo .shape{width:21px;height:21px}.score-demo{padding:2px 0 12px;flex:1;display:flex;flex-direction:column;justify-content:center;gap:25px}.example-call{display:flex;justify-content:center;align-items:center;gap:19px}.example-call>div{display:flex;flex-direction:column;gap:10px;align-items:center;min-width:50px}.example-call b{font-size:39px}.example-call>span{font-size:28px;color:#a8b19c;padding-top:30px}.example-call>div:first-child{color:var(--teal)}.example-call>div:nth-child(3){color:var(--orange)}.opening-demo,.win-demo{display:flex;align-items:center;gap:15px;justify-content:center}.opening-demo b{font-size:28px;letter-spacing:3px}.win-demo{color:#829173;font-size:18px}.win-demo .icon{width:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes bounce{to{transform:translateY(-20px) rotate(30deg)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes rally{0%{left:var(--sx);top:var(--sy)}25%{left:var(--ex);top:var(--ey)}55%{left:var(--sx);top:var(--sy)}80%{left:var(--ex);top:var(--ey)}100%{left:51%;top:48%}}
@media(min-width:1150px){.shell{padding-top:40px}.court-card{padding:18px 22px 14px}.action-card{padding:36px}}
@media(max-width:720px){.shell{max-width:460px;padding:14px 14px 12px}.toolbar{gap:8px;margin-bottom:12px}.brand{width:44px}.brand .icon{width:32px;height:32px}.brand .ball{width:18px;height:18px}.modes{padding:2px;gap:1px;border-radius:13px}.modes button:first-child{padding:0 8px}.modes .icon,.tools .icon{width:21px;height:21px}.tools{gap:1px}.tools button{min-width:40px}.toolbar button{min-height:40px}.scoreboard{padding:12px 16px;margin-bottom:12px;border-radius:19px;grid-template-columns:1fr 1.4fr 1fr}.team-score{flex-direction:column;gap:6px}.team-score.orange{flex-direction:column}.team-score b{font-size:25px}.team-score .pair .shape{width:19px;height:19px}.team-score .pair{gap:3px}.call{font-size:27px;gap:7px}.number-server{min-width:28px;border-radius:7px}.serve-order{margin-top:5px}.serve-dot{width:17px;height:17px;line-height:17px;font-size:11px}.play-layout{display:flex;flex-direction:column;gap:12px}.court-card{border-radius:23px;padding:5px 10px 7px}.court{max-width:330px;aspect-ratio:400/380}.court-lines{height:100%}.player{width:52px;height:52px}.player .shape{width:28px;height:28px}.court-status{margin-top:0;height:25px}.court-status .pair .shape{width:20px;height:20px}.court-status>.ball{width:18px;height:18px}.court-status>.icon{width:19px;height:19px}.action-card{border-radius:23px;padding:20px;min-height:215px}.action-card.ready{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;column-gap:16px;min-height:165px}.ready-icon{margin:0 0 8px}.ready-icon .ball{width:25px;height:25px}.ready-icon .shape{width:30px;height:30px}.ready-call{font-size:29px;grid-column:1;grid-row:2;gap:8px;align-self:start}.ready-order{display:none}.play-button{grid-column:2;grid-row:1/3;width:100%;height:67px;align-self:center;justify-self:end;max-width:140px}.ready-flow{grid-column:1/3;margin-top:18px;gap:10px}.ready-flow .icon,.ready-flow .ball{width:16px;height:16px}.step-progress{margin-bottom:12px;gap:22px}.step-progress>span{height:25px;width:34px}.step-progress .icon,.step-progress .ball{width:18px;height:18px}.prompt{margin:0 0 16px;font-size:27px}.prompt>.ball,.prompt>.icon{width:31px;height:31px}.score-icon{font-size:25px}.player-choices{gap:10px}.choice{min-height:64px;border-radius:14px}.player-choices .shape{width:32px;height:32px}.swap-choices .choice{min-height:83px}.mini-court{height:71px;width:60px;margin:8px 0}.score-choices{grid-template-columns:repeat(3,1fr);gap:8px}.score-choices .choice{font-size:19px;letter-spacing:0;min-height:57px}.back-button{margin-top:8px;min-height:30px}.feedback-mark{width:39px;height:39px;margin:0 0 12px}.feedback-mark .icon{width:24px}.answer-summary{gap:9px;max-width:none;align-items:center}.answer-summary>div{justify-content:center;min-height:29px}.small-call{font-size:24px}.explanation{margin-top:13px;padding-top:12px;min-height:44px}.feedback-actions{margin-top:14px;gap:13px}.feedback-actions .primary,.feedback-actions .secondary{min-height:52px}.feedback-actions .primary{max-width:200px}.feedback-actions .primary .icon{width:28px}.swap-overlay .icon{width:43px;height:43px}.swap-overlay.team0{bottom:7%}.swap-overlay.team1{top:7%}footer{padding:9px 0 0;gap:7px}.accuracy{min-width:53px;gap:3px}.accuracy span{font-size:12px}.accuracy small{margin:0 3px}.rules-symbols{gap:4px;font-size:11px}.rules-symbols .divider{margin:0 3px}.rules-symbols .gap-symbol{margin-left:4px}footer a{min-width:34px}.rules-symbols .icon{width:17px}.modal{padding:24px 20px}.tutorial-flow>div{gap:10px}}
@media(max-width:359px){.shell{padding-left:9px;padding-right:9px}.toolbar{gap:4px}.brand{width:32px}.brand .icon{width:28px}.brand .ball{display:none}.tools button{min-width:36px}.modes button{min-width:38px}.modes button:first-child{padding:0 5px}.court{max-width:280px}.scoreboard{padding:10px}.call{font-size:25px;gap:5px}.action-card{padding:17px}.score-choices .choice{font-size:17px}.gap-symbol{display:none}.rule-demo>div{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rally-ball{left:50%;top:50%}}

/* Keep every primary navigation control finger-friendly at narrow widths. */
@media(max-width:720px){.toolbar button,.tools button{min-width:44px;min-height:44px}.back-button{min-height:44px}footer a{min-width:44px}.modes button:first-child{min-width:58px}.toolbar{gap:6px}}
@media(max-width:359px){.modes button:first-child{padding:0 4px}.toolbar{gap:4px}.brand{width:28px}}
/* Bilingual teaching layer: the court remains visual, with concise labels. */
:root{font-family:ui-rounded,"Avenir Next",Avenir,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;font-weight:500}h1,h2,h3,p{margin:0}h1{font-size:25px;line-height:1.25;letter-spacing:-.5px}h2{font-size:22px;line-height:1.35;text-wrap:balance}h3{font-size:17px;line-height:1.45}.title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.site-title{display:flex;align-items:center;gap:15px;min-width:0}.site-title .brand{width:60px;margin:0;flex-shrink:0}.site-title p{font-size:13px;font-weight:400;color:#687a68;margin-top:5px}.language-toggle{display:flex;align-items:center;gap:2px;border:1px solid #cfd8c7;padding:3px;border-radius:12px;flex-shrink:0;background:#fff9}.language-toggle button{border-radius:8px;font-size:13px;padding:0 10px;min-height:38px;min-width:42px;font-weight:600}.language-toggle [aria-pressed=true]{background:#234f43;color:#fff}.toolbar{justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}.toolbar button{gap:7px;padding:0 11px;min-height:44px}.toolbar button span{font-size:13px;white-space:nowrap}.tools{gap:7px}.scoring-mode{font-size:12px;font-weight:500;color:#66765e;margin:3px 3px 13px}.scoreboard{grid-template-columns:1fr 1.4fr 1fr;padding:16px 24px}.team-score,.team-score.orange{flex-direction:column;justify-content:center;gap:5px}.team-name{font-size:12px;font-weight:600}.team-score b{font-size:31px}.call-title{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#7a8a71;display:block;margin-bottom:6px}.call-labels{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;font-size:10px;line-height:1.3;margin:6px auto 0;max-width:210px;color:#657a5c;font-weight:500}.call{max-width:210px;margin:auto;justify-content:space-around;gap:6px}.call>span{min-width:33px}.call i{font-size:21px}.court-caption{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;min-height:57px;font-size:12px;padding:4px 8px 10px}.court-caption strong{font-size:13px}.court-caption span{color:#617159}.court-status{height:auto;min-height:44px;gap:7px;padding:7px 5px 0;font-size:12px;line-height:1.5;text-align:center}.court-status span{font-weight:500}.court-status .pair{flex-shrink:0}.court-status>.ball{flex-shrink:0}.action-card{text-align:center;padding:27px}.action-card.ready{display:flex;flex-direction:column;min-height:420px}.intro-text{font-size:14px;line-height:1.65;color:#6c7c65;margin:10px 0 22px;font-weight:400;max-width:330px}.ready-icon{gap:8px;margin:0 0 14px}.ready-icon strong{font-size:15px}.ready-call{font-size:32px}.rule-tip{font-size:13px;line-height:1.6;padding:13px 15px;background:#edf1e5;color:#596e4f;border-radius:12px;margin:18px 0;max-width:360px;text-align:left;font-weight:400}.rule-tip strong{font-weight:650}.rule-tip p{margin-top:6px}.play-button{width:auto;max-width:none;min-width:205px;font-size:16px;font-weight:650;margin-top:3px}.play-button .icon{width:27px}.rally-text{margin-top:28px;font-size:16px;color:#6b7c5b}.rally-result{font-size:13px;display:flex;align-items:center;justify-content:center;gap:9px;background:#f2f1e5;color:#6c653e;border-radius:10px;padding:10px 12px;margin-bottom:22px;width:100%}.rally-result .icon{width:21px;height:21px}.rally-result strong{font-weight:600}.step-progress{gap:15px;margin-bottom:19px}.step-progress>span{width:auto;min-width:70px;height:auto;min-height:44px;padding:6px 8px;font-size:12px;flex-direction:column;gap:3px}.step-progress>span small{font-size:10px;line-height:1.1}.step-progress>span:not(:last-child):after{right:-11px;width:7px}.question{font-size:22px;line-height:1.4}.question-hint{font-size:13px;color:#75856a;line-height:1.6;margin:9px 0 20px;font-weight:400}.player-choices{grid-template-columns:repeat(2,1fr);gap:11px}.player-choices .choice{flex-direction:column;gap:8px;padding:13px 9px;min-height:99px}.player-choices .choice>span{font-size:12px;line-height:1.35}.swap-choices{gap:10px}.swap-choices .choice{flex-direction:column;gap:0;padding:4px 7px 12px}.swap-choices .choice>span{font-size:12px;line-height:1.35}.score-choices .choice{font-size:24px}.back-button{margin-top:17px;gap:6px;font-size:13px;min-height:44px}.feedback-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.feedback-heading h2{font-size:21px;text-align:left}.feedback-mark{width:39px;height:39px;flex-shrink:0;margin:0}.feedback-mark .icon{width:24px;height:24px}.answer-summary{max-width:none;gap:13px;align-items:stretch;text-align:left}.answer-summary>div{gap:9px;justify-content:flex-start;flex-wrap:wrap}.answer-summary>div>.icon:first-child{margin-right:0;flex-shrink:0}.summary-label{font-size:11px;width:52px;flex-shrink:0;color:#7b8a6c}.answer-summary strong:not(.small-call){font-size:13px;line-height:1.35}.answer-summary>div>.shape{width:25px;height:25px}.small-call{font-size:25px}.explanation{margin-top:20px;padding-top:17px}.explanation-copy{margin-top:13px;text-align:left;width:100%}.explanation-copy h3{margin-bottom:7px}.explanation-copy p{font-size:13px;line-height:1.7;color:#697b5e;font-weight:400}.explanation-copy p+p{margin-top:8px}.feedback-actions{gap:10px;margin-top:23px}.feedback-actions button{font-size:13px;gap:7px;padding:0 14px;min-width:0;min-height:54px}.feedback-actions .primary{max-width:none;flex:1}.feedback-actions .icon{width:23px;height:23px}.feedback-actions span{line-height:1.3}.feedback-actions .secondary{flex:1}.accuracy{gap:7px}.accuracy>span:last-child{font-size:11px}.footer-rule{margin:auto;font-size:11px}footer{flex-wrap:wrap;font-size:11px;gap:8px}footer a{gap:6px;text-decoration:none;font-size:11px}footer a:hover{text-decoration:underline}.modal{max-height:calc(100dvh - 34px);overflow:auto;max-width:490px;padding:25px 27px}.modal-language{align-self:flex-start;margin-bottom:15px}.modal-language .language-toggle button{min-height:34px}.help-steps{margin:0 0 18px}.modal h2{text-align:center;font-size:23px}.tutorial-flow{flex:none;padding:20px 0;gap:0}.rule-demo{flex:none;gap:14px;padding:18px 0}.score-demo{flex:none;padding:18px 0}.help-text{font-size:14px;line-height:1.8;color:#4b6246;font-weight:400}.help-small{font-size:12px;line-height:1.7;color:#7a886c;margin-top:14px;font-weight:400}.modal-actions{margin-top:22px;gap:12px}.modal-actions button{font-size:13px;gap:7px;padding:0 14px;min-height:52px;min-width:0;flex:1}.modal-actions .icon{width:22px;height:22px}.modal-actions .primary{max-width:none}.modal .rule-tip{margin-bottom:0}.example-call{gap:15px}.example-call>div{gap:5px}.example-call>div>small{font-size:11px;font-weight:500}.example-call>span{padding-top:0}.example-call b{font-size:34px}.close-modal{right:12px;top:12px}
@media(max-width:720px){.shell{padding-top:18px}.title-row{gap:9px;margin-bottom:16px;align-items:flex-start}.site-title{gap:8px}.site-title .brand{width:29px}.site-title .brand>.ball{display:none}.site-title .brand>.icon{width:29px;height:34px}.site-title h1{font-size:19px;letter-spacing:-.3px}.site-title p{font-size:11px;line-height:1.45;max-width:180px}.language-toggle{padding:2px}.language-toggle button{min-width:34px;padding:0 7px;font-size:12px;min-height:36px}.toolbar{gap:7px;justify-content:space-between;margin-bottom:10px}.toolbar button{padding:0 9px;min-height:44px;gap:5px}.toolbar button span{font-size:12px}.modes{gap:2px}.modes button:first-child{padding:0 9px}.tools{gap:4px;justify-content:space-between;flex:1}.tools button{flex:1;padding:0 7px}.toolbar .icon{width:18px;height:18px}.scoring-mode{font-size:10px;line-height:1.5;margin:0 3px 10px}.scoreboard{padding:12px 13px;grid-template-columns:1fr 2.1fr 1fr}.team-name{font-size:11px}.team-score b{font-size:25px}.team-score .pair .shape{width:17px;height:17px}.call{font-size:26px;max-width:160px;gap:4px}.call>span{min-width:24px}.call-title{font-size:10px;letter-spacing:.2px;margin-bottom:5px}.call-labels{font-size:9px;gap:2px;margin-top:5px;max-width:160px}.court-caption{min-height:54px;padding:7px 7px 8px;gap:3px}.court-caption strong{font-size:12px}.court-caption span{font-size:11px}.court-status{font-size:11px;min-height:43px;padding:7px 4px 3px}.court-status .pair .shape{width:18px}.action-card,.action-card.ready{display:flex;flex-direction:column;padding:23px 19px;min-height:0}.action-card.ready h2{font-size:20px}.intro-text{font-size:13px;margin:9px 0 17px}.ready-icon{margin:0 0 12px}.ready-icon strong{font-size:14px}.ready-call{align-self:center;font-size:30px;gap:10px}.rule-tip{font-size:12px;margin:15px 0;padding:12px 14px;max-width:none}.play-button{max-width:none;width:100%;min-width:0;height:auto;min-height:56px;margin-top:1px;align-self:auto}.question{font-size:20px}.question-hint{font-size:12px;margin:8px 0 16px}.rally-result{font-size:12px;margin-bottom:17px;padding:9px 10px}.step-progress{margin-bottom:16px;gap:13px}.step-progress>span{min-width:65px;min-height:42px;padding:5px}.step-progress>span small{font-size:10px}.player-choices{grid-template-columns:repeat(2,1fr);gap:10px}.player-choices .choice{min-height:90px;padding:11px}.player-choices .shape{width:30px;height:30px}.swap-choices .choice{padding:0 5px 11px}.swap-choices .choice>span{font-size:11px}.score-choices{grid-template-columns:1fr;gap:9px}.score-choices .choice{font-size:23px;letter-spacing:1px;min-height:51px}.back-button{margin-top:12px}.answer-summary{gap:10px}.answer-summary>div{justify-content:flex-start;gap:8px}.summary-label{font-size:10px;width:45px}.answer-summary strong:not(.small-call){font-size:12px}.feedback-heading{margin-bottom:18px}.feedback-heading h2{font-size:19px}.explanation-copy h3{font-size:16px}.explanation-copy p{font-size:12px}.feedback-actions{margin-top:18px}.feedback-actions button{min-height:53px;font-size:12px;padding:0 12px}.feedback-actions .primary{max-width:none}.feedback-actions .primary .icon{width:23px}.accuracy{min-width:0;font-size:10px}.accuracy>span:last-child{font-size:10px}footer{justify-content:space-between;padding-top:14px;gap:2px 8px}.footer-rule{font-size:10px;margin:0}footer a{font-size:10px;min-height:38px}.modal{padding:20px;max-height:calc(100dvh - 24px);border-radius:22px}.modal-backdrop{padding:12px}.modal h2{font-size:21px}.help-text{font-size:13px;line-height:1.75}.help-small{font-size:11px}.modal-actions button{font-size:12px;padding:0 10px}.modal-language{margin-bottom:12px}.example-call{gap:12px}.example-call>div{min-width:49px}}
@media(max-width:420px){.toolbar{display:block}.modes{display:inline-flex;margin-bottom:7px}.tools{display:flex;width:100%}.tools button{border:1px solid #dce2d3;border-radius:11px;background:#ffffff70}.tools button.active{background:#234f43}.site-title .brand{display:none}.site-title h1{font-size:18px}.site-title p{max-width:165px}.language-toggle button{padding:0 6px}.team-score .pair{gap:1px}.team-name{font-size:10px}.call-labels{font-size:8.5px}.scoreboard{padding:11px 9px;grid-template-columns:1fr 2.5fr 1fr}.footer-rule{flex-basis:auto}.accuracy>span:last-child{display:none}}

/* Named players and an end-of-game paddle on its pedestal. */
.player-name{position:absolute;top:100%;left:50%;transform:translateX(-50%);font-size:11px;line-height:1.5;letter-spacing:0;color:#fff;background:#183e38;padding:1px 6px;border-radius:5px;white-space:nowrap;pointer-events:none}.award{width:100%;margin-top:22px;padding:14px 10px 18px;border-radius:18px;background:#f5f2e6;text-align:center}.award.gold{--metal:#d9a62c;--metal-light:#fff1ac;--metal-dark:#8c6315}.award.silver{--metal:#a8b6bf;--metal-light:#f5fbff;--metal-dark:#637782}.award.bronze{--metal:#bf8151;--metal-light:#f6c59b;--metal-dark:#764321}.trophy-stage{position:relative;width:220px;height:220px;margin:0 auto 8px;display:grid;place-items:center}.trophy-picture{display:block;width:192px;height:192px}.paddle-trophy{display:block;width:192px;height:192px;image-rendering:pixelated;object-fit:contain}.cucumber-marquee{position:absolute;inset:0;animation:cucumber-orbit 18s linear infinite}.cucumber-marquee span{position:absolute;left:calc(50% - 12px);top:calc(50% - 12px);font-size:23px;line-height:24px;transform:rotate(var(--angle)) translateY(-99px) rotate(calc(-1 * var(--angle)))}@keyframes cucumber-orbit{to{transform:rotate(360deg)}}.award h3{font-size:20px}.award p{font-size:13px;line-height:1.6;margin-top:6px}.award .medal-rules{font-size:11px;color:#64715d}.no-medal{background:#eef2e8}@media(prefers-reduced-motion:reduce){.cucumber-marquee{animation:none}}

/* User's original vector artwork: no path, colour or proportion changes. */
.site-title .logo-brand{width:96px;display:block}.logo-brand img{display:block;width:100%;height:auto}.site-title>div:last-child{min-width:0}
.logo-splash{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:#f6f4eceb;backdrop-filter:blur(3px);opacity:1;transition:opacity .28s ease-out;overscroll-behavior:contain}
.logo-dismiss{width:100%;height:100%;border:0;border-radius:0;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:30px;padding:max(28px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.logo-dismiss:focus-visible{outline:none}.logo-dismiss:focus-visible .logo-prompt{outline:3px solid #234f43;outline-offset:4px}.splash-logo{width:min(640px,80vw);height:auto;max-height:65dvh;object-fit:contain;transform-origin:50% 65%;animation:logo-boing .88s both;filter:drop-shadow(0 12px 0 #234f4314)}.logo-prompt{font-size:14px;letter-spacing:.08em;color:#294d40;background:#fff9;border:1px solid #cdd8c5;border-radius:99px;padding:10px 22px}.logo-splash.is-leaving{opacity:0}.logo-splash.is-leaving .splash-logo{animation:none}
@keyframes logo-boing{0%{opacity:0;transform:translateY(-34vh) scale(.25,.2) rotate(-12deg)}48%{opacity:1;transform:translateY(12px) scale(1.08,.85) rotate(3deg)}65%{transform:translateY(-16px) scale(.94,1.09) rotate(-2deg)}79%{transform:translateY(5px) scale(1.035,.97) rotate(1deg)}91%{transform:translateY(-3px) scale(.99,1.02)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:720px){.site-title .logo-brand{width:72px}.site-title{gap:10px}.title-row{gap:10px}.splash-logo{width:86vw}.logo-dismiss{gap:24px}}
@media(prefers-reduced-motion:reduce){.splash-logo{animation:none}.logo-splash{transition:none}}
