:root{color-scheme:dark;--bg:#111411;--panel:#1b201c;--panel-2:#202621;--line:#343b34;--muted:#959d91;--text:#f5f2e7;--orange:#f16d3c;--orange-bright:#ff8050;--lime:#c0da8e;--heading:"Barlow Condensed",Barlow,"Arial Narrow",Impact,sans-serif;--body:DM,Arial,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{min-width:320px;scroll-behavior:smooth}
body{margin:0;background:radial-gradient(ellipse at 13% 17%,#24281d 0%,transparent 35%),var(--bg);color:var(--text);font-family:var(--body);font-size:14px;min-height:100vh}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #d6ef9d;outline-offset:3px}
button:disabled{cursor:not-allowed}
button{color:inherit}
a{color:inherit}
.site-shell{overflow:hidden;min-height:100vh;display:flex;flex-direction:column}
.wrap{width:min(1280px,calc(100% - 104px));margin-inline:auto}
.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #343a33;gap:20px}
.brand{display:inline-flex;align-items:center;gap:12px;background:transparent;padding:0;border:0;text-align:left}
.brand-mark{height:42px;width:42px;display:grid;place-items:center;background:var(--orange);border-radius:5px;position:relative;color:#1b1c17;font:800 35px/1 var(--heading)}
.brand-mark i{height:6px;width:6px;background:var(--text);position:absolute;border-radius:50%;right:6px;bottom:6px}
.brand-text{font:800 26px/.8 var(--heading);letter-spacing:.035em;white-space:nowrap}
.brand-text>span{color:var(--orange)}
.brand-text small{display:block;color:#a3aa9d;font:600 7px/1 var(--body);letter-spacing:.16em;margin-top:8px}
.top-actions{display:flex;align-items:center;gap:30px}
.top-indicator{color:#a7aea2;font-size:9px;letter-spacing:.12em;font-weight:600;white-space:nowrap}
.top-indicator i,.orange-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--orange);margin-right:7px;vertical-align:middle;box-shadow:0 0 10px #f16d3c70}
.help-button,.back-button,.text-button,.close-dialog,.share-button{border:0;background:none}
.help-button{font-weight:600;color:#dedfd4;font-size:12px;padding:8px 0;white-space:nowrap}
.help-button>span{display:inline-grid;place-items:center;border:1px solid #80887b;border-radius:50%;height:18px;width:18px;margin-right:6px;font-size:11px}
.help-button:hover{color:var(--orange)}
main{flex:1}
.home-view{display:grid;grid-template-columns:minmax(0,1fr) minmax(460px,550px);gap:9%;align-items:center;padding-top:52px;padding-bottom:60px}
.hero-copy{min-width:0}
.eyebrow,.section-kicker{font-size:9px;letter-spacing:.17em;color:#bdc7b3;font-weight:600}
.eyebrow{display:flex;align-items:center;gap:10px;white-space:nowrap}
.tiny-ball{color:var(--orange);font-size:16px}
.eyebrow-line{width:44px;height:1px;background:#5c6858}
h1,h2,h3,p{margin:0}
.hero-copy h1{font:800 clamp(68px,7vw,108px)/.82 var(--heading);letter-spacing:-.015em;margin-top:29px}
.hero-copy h1>span{color:var(--orange)}
.period{color:#f9efe0}
.hero-description{max-width:395px;color:#b7bdb0;font-size:15px;line-height:1.7;margin-top:24px}
.hero-legend{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:25px}
.hero-legend>span{background:#262d25;color:#dce2d4;border:1px solid #424b3d;border-radius:3px;padding:6px 8px;font:800 14px/1 var(--heading);letter-spacing:.06em}
.hero-legend small{font-size:8px;font-weight:600;letter-spacing:.12em;color:#7e8879;margin-left:9px}
.court-graphic{position:relative;overflow:hidden;margin-top:34px;width:min(440px,100%);height:140px;border:1px solid #485047;border-radius:4px;background:repeating-linear-gradient(0deg,transparent 0,transparent 27px,#b3c2a20d 28px),linear-gradient(110deg,#313b2d,#283328 60%,#222b22)}
.court-graphic:before,.court-graphic:after{content:"";position:absolute;top:0;bottom:0;width:90px;border:1px solid #a0ad8e60}
.court-graphic:before{left:-1px;border-radius:0 90px 90px 0}.court-graphic:after{right:-1px;border-radius:90px 0 0 90px}
.court-center{position:absolute;left:50%;width:140px;height:140px;border:1px solid #a0ad8e60;border-radius:50%;top:-1px;transform:translateX(-50%)}
.court-center:after{content:"";height:140px;position:absolute;left:50%;border-left:1px solid #a0ad8e60}
.court-side{position:absolute;top:38px;width:24px;height:64px;border:1px solid #a0ad8e60}.court-left{left:0;border-left:0}.court-right{right:0;border-right:0}
.court-label{position:absolute;top:34px;left:30px;display:flex;flex-direction:column;gap:4px;color:#e5ead9;text-shadow:0 1px 8px #1b241b}
.court-label span{font-size:8px;letter-spacing:.17em;font-weight:600}.court-label strong{font:800 33px/.9 var(--heading);letter-spacing:.03em}.court-label strong span{font:inherit;color:var(--orange)}
.court-index{position:absolute;right:17px;bottom:15px;font-size:9px;letter-spacing:.15em;color:#b0baaa}
.home-note{display:flex;gap:10px;align-items:center;color:#929c8e;font-size:11px;line-height:1.5;margin-top:20px}
.home-note strong{color:#d4dbce;font-weight:600}.note-icon{font-size:20px;color:var(--orange)}
.setup-panel{background:#1d231e;border:1px solid #384139;border-radius:6px;box-shadow:0 24px 60px #0004;padding:30px 32px 24px}
.setup-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:29px}
.setup-heading h2,.sidebar-header h2{font:800 31px/1 var(--heading);letter-spacing:.015em;margin-top:9px}
.setup-intro{font-size:12px;line-height:1.5;color:#aeb9aa;margin-top:9px}
.panel-index{font:800 14px/1 var(--heading);letter-spacing:.08em;color:#7b8679}
.setup-section+.setup-section{margin-top:27px}
.setup-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#d7ddcf;font-size:10px;font-weight:600;letter-spacing:.1em;margin-bottom:11px}
.setup-label b{color:var(--orange);font-size:10px;margin-right:7px}.setup-caption{color:#788273;font-size:8px;white-space:nowrap}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.answer-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.answer-card{display:flex;align-items:center;gap:9px;min-width:0;min-height:70px;padding:10px;background:#252c26;border:1px solid #3b443a;border-radius:4px;text-align:left;font:800 17px/1 var(--heading);letter-spacing:.035em;transition:border-color .18s,background .18s}
.answer-card:hover{border-color:#839078}.answer-card.active{border-color:var(--orange);background:#302820;box-shadow:inset 0 0 0 1px #f16d3c35}
.answer-copy{display:flex;flex-direction:column;min-width:0;gap:5px}.answer-copy strong{font:inherit}.answer-copy small{color:#b6c0b1;font:400 11px/1.35 var(--body);letter-spacing:0}
.answer-icon{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #687563;border-radius:3px;font:800 16px/1 var(--heading);color:#c3d0b4}.answer-card.active .answer-icon{border-color:#f16d3c80;color:var(--orange)}
.choice-card{background:#252c26;border:1px solid #3b443a;border-radius:4px;padding:16px;text-align:left;min-width:0;min-height:153px;display:flex;flex-direction:column;transition:border-color .18s,background .18s,transform .18s}
.choice-card:hover,.difficulty-card:hover{border-color:#839078}.choice-card.active,.difficulty-card.active{border-color:var(--orange);background:#302820}
.choice-card.active{box-shadow:inset 0 0 0 1px #f16d3c35}
.choice-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
.choice-icon{display:grid;place-items:center;width:27px;height:27px;border:1px solid #687563;border-radius:4px;font-size:20px;line-height:1;color:#c3d0b4}.choice-card.active .choice-icon{border-color:#f16d3c80;color:var(--orange)}
.points-icon{font:800 23px/1 var(--heading)}
.choice-check{display:grid;place-items:center;width:17px;height:17px;border:1px solid #636e5f;border-radius:50%;font-size:10px;color:transparent}.choice-card.active .choice-check{border-color:var(--orange);color:#1a1d18;background:var(--orange)}
.choice-card>strong{font:800 24px/1 var(--heading);letter-spacing:.015em}.choice-card>small{font-size:11px;line-height:1.5;color:#b2bcad;margin-top:6px}
.card-footer{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:.12em;font-weight:600;color:#899484;margin-top:auto;padding-top:15px}.card-footer i{font-style:normal;font-size:14px;color:var(--orange)}
.difficulty-list{display:grid;grid-template-columns:1fr;gap:8px}
.difficulty-card{background:#252c26;border:1px solid #3b443a;border-radius:4px;display:flex;gap:10px;align-items:center;text-align:left;padding:12px 11px;min-height:62px;min-width:0;transition:border-color .18s,background .18s}
.noob-card{grid-column:1/-1;align-items:center}.noob-card .radio-dot{margin-top:0}.noob-card .difficulty-content{gap:5px}
.radio-dot{border:1px solid #777f72;border-radius:50%;height:13px;width:13px;flex:none}.difficulty-card.active .radio-dot{border:4px solid var(--orange)}
.difficulty-content{display:flex;flex-direction:column;min-width:0;gap:5px}.difficulty-content strong{font:800 20px/.9 var(--heading);letter-spacing:.04em}.difficulty-content small{font-size:11px;color:#b6c0b1;line-height:1.4}
.difficulty-meta{color:var(--orange);font-size:10px;white-space:nowrap;margin-left:auto}.hard-meta{font:800 16px/1 var(--heading);letter-spacing:.02em}
.setup-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin-top:23px;padding:11px 12px;background:#273127;border:1px solid #3d4b3b;border-radius:4px}.setup-summary>span{font-size:9px;font-weight:600;letter-spacing:.12em;color:#aebea7}.setup-summary>strong{font:800 15px/1.3 var(--heading);letter-spacing:.03em;color:#e3ebdc}
.primary-button{min-height:57px;border:1px solid var(--orange);background:var(--orange);color:#1b1b17;border-radius:4px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;font:800 23px/1 var(--heading);letter-spacing:.035em;transition:background .18s,transform .18s}
.primary-button:hover:not(:disabled){background:var(--orange-bright);transform:translateY(-1px)}.primary-button:disabled{opacity:.45}
.button-arrow{position:relative;display:block;flex:none;width:17px;height:17px;font-size:0;line-height:0}.button-arrow:before{content:"";position:absolute;right:1px;top:1px;width:10px;height:10px;border-top:2px solid currentColor;border-right:2px solid currentColor}.button-arrow:after{content:"";position:absolute;left:1px;top:14px;width:16px;height:2px;background:currentColor;transform:rotate(-45deg);transform-origin:left center}.start-button{width:100%;margin-top:12px}
.setup-foot{display:flex;justify-content:space-between;gap:8px;color:#8e9989;font-size:8px;font-weight:600;letter-spacing:.09em;margin-top:16px;white-space:nowrap}.foot-check{color:#bdd88f;margin-right:3px}
.load-error{color:#ffad94;margin-top:12px;font-size:11px;line-height:1.5}
.footer{border-top:1px solid #343a33;padding:22px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#818b7d;font-size:9px;letter-spacing:.04em;line-height:1.6}
.footer>div{display:flex;align-items:baseline;gap:12px;white-space:nowrap}.footer strong{font:800 17px/1 var(--heading);letter-spacing:.04em;color:#d9ded1}.footer strong span{color:var(--orange)}.footer a{color:#aebaa9;text-decoration:none}.footer a:hover{color:var(--orange)}.footer p{text-align:right}
.game-view{padding:37px 0 65px}.game-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}
.back-button{padding:5px 0;color:#abb5a7;font-size:10px;font-weight:600;letter-spacing:.12em}.back-button span{font-size:18px;vertical-align:-1px;margin-right:8px}.back-button:hover{color:var(--text)}
.game-tags,.round-indicator{font-size:10px;color:#aab4a6;font-weight:600;letter-spacing:.12em}.game-tags span:first-child,.round-indicator strong{color:#f1f0e4}.tag-sep{color:#697567;margin:0 7px}
.score-strip{display:grid;grid-template-columns:1fr 1fr 1fr;background:#242b24;border:1px solid #3b463a;border-radius:5px;margin-bottom:15px}
.score-cell{min-height:80px;padding:16px 23px;display:flex;flex-direction:column;gap:7px;border-right:1px solid #3b463a}.score-cell:last-child{border:0}.score-cell>span{color:#97a292;font-size:9px;font-weight:600;letter-spacing:.12em}.score-cell strong{font:800 27px/1 var(--heading);letter-spacing:.03em}.score-cell em{font:normal 15px/1 var(--body)}.score-cell .hearts{color:var(--orange);font-size:21px;letter-spacing:.1em}.score-cell .hearts .lost{color:#576054}.last-score-cell{align-items:flex-start}
.game-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr);gap:15px}.challenge-card,.game-sidebar{background:#1d231e;border:1px solid #394239;border-radius:5px}
.challenge-card{padding:27px 30px 30px;min-width:0}.challenge-top{display:flex;justify-content:space-between;align-items:center}.challenge-kicker{font-size:10px;color:#aeb7a8;font-weight:600;letter-spacing:.13em}.challenge-id{font:800 15px/1 var(--heading);color:#768374;letter-spacing:.08em}
.target-area{height:204px;display:flex;align-items:center;position:relative;overflow:hidden;padding:8px 20px;margin-top:16px;background:radial-gradient(ellipse at 60% 50%,#384335,transparent 65%),#273227;border:1px solid #455343;border-radius:4px}
.target-decoration{position:absolute;width:200px;height:200px;border:1px solid #95a58d48;border-radius:50%;right:5%;top:0}.target-decoration:before{content:"";position:absolute;left:50%;top:-20px;height:240px;border-left:1px solid #95a58d48}.target-decoration:after{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #95a58d48}
.target-number{font:800 clamp(112px,12vw,176px)/.8 var(--heading);letter-spacing:.015em;color:var(--orange);position:relative;z-index:1;min-width:135px}
.target-copy{display:flex;flex-direction:column;align-items:flex-start;position:relative;z-index:1;margin-left:26px}.target-copy>span{font:800 14px/1 var(--heading);color:#b9c8af;letter-spacing:.13em;border:1px solid #7e9077;padding:4px 6px;border-radius:3px}.target-copy h1{font:800 clamp(38px,5vw,60px)/.85 var(--heading);letter-spacing:.025em;margin-top:10px}.target-copy small{font-size:9px;letter-spacing:.14em;color:#b8c3b1;font-weight:600;margin-top:11px}
.target-prompt{font-size:13px;color:#c1c9bb;margin:17px 0 21px}.target-divider{height:1px;background:#3a4539;margin-bottom:21px}
.noob-help{margin:-7px 0 19px}.hint-toggle{border:0;background:none;color:#b9c9ad;padding:4px 0;font-size:10px;font-weight:600;letter-spacing:.06em;text-align:left}.hint-toggle>span{color:var(--orange);font-size:14px;margin-right:5px}.hint-toggle strong{color:#d8ebc0;margin-left:5px;text-decoration:underline;text-underline-offset:3px}.hint-toggle:hover strong{color:var(--orange)}.noob-hint{background:#293529;border:1px solid #4c6048;border-radius:4px;padding:11px 12px}.noob-hint p{color:#c7d5c0;font-size:10px;line-height:1.5;margin:0 0 8px}.hint-players{display:flex;gap:7px;flex-wrap:wrap}.hint-player{background:#354634;color:#e5eddf;border:1px solid #6b8062;border-radius:3px;padding:7px 9px;font-size:11px;font-weight:600}.hint-player:hover{background:#42573e;border-color:#d2e7b1}
.guess-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:600;letter-spacing:.11em;color:#e6e9df;margin-bottom:10px}.guess-label span{font-size:9px;color:#abb9a5}
.input-wrap{position:relative;display:flex;align-items:center;background:#151b16;border:1px solid #566451;border-radius:4px}.input-wrap:focus-within{border-color:var(--orange)}
.input-search-icon{position:absolute;left:17px;top:18px;width:14px;height:14px;border:1.5px solid #9aa797;border-radius:50%;pointer-events:none}.input-search-icon:after{content:"";position:absolute;width:6px;border-top:1.5px solid #9aa797;right:-5px;bottom:-2px;transform:rotate(45deg)}
#player-search{width:100%;height:52px;border:0;background:transparent;color:var(--text);padding:0 45px;font-size:13px;outline:none}#player-search::placeholder{color:#7d887b}#player-search::-webkit-search-cancel-button{display:none}.clear-search{position:absolute;right:13px;border:0;background:transparent;color:#aab5a5;font-size:22px;line-height:1}
.player-options{position:absolute;z-index:10;top:calc(100% + 5px);left:-1px;right:-1px;background:#222a23;border:1px solid #5c6a58;border-radius:4px;max-height:255px;overflow:auto;list-style:none;margin:0;padding:5px;box-shadow:0 16px 35px #0009}
.player-options li{margin:0}.player-option{display:flex;align-items:center;text-align:left;width:100%;gap:10px;padding:8px;border:0;background:transparent;border-radius:3px}.player-option:hover:not(:disabled),.player-option.highlighted{background:#394538}.player-option:disabled{opacity:.43}.player-initials{width:31px;height:31px;display:grid;place-items:center;flex:none;border-radius:3px;background:#3b493b;color:#d8e0d3;font:800 15px/1 var(--heading)}.player-option-name{font-weight:600;font-size:12px}.player-option-years{display:block;font-size:9px;margin-top:3px;color:#a4afa0}.option-disabled{margin-left:auto;font-size:9px;color:#aab2a5;white-space:nowrap}
.no-players{padding:14px;font-size:11px;color:#aeb9a9;line-height:1.5}.input-hint{font-size:10px;color:#929f8e;line-height:1.4;margin-top:8px;min-height:16px}.guess-button,.next-button{width:100%;margin-top:18px}
.four-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quiz-choice{display:flex;align-items:center;gap:10px;min-width:0;min-height:58px;padding:10px;background:#252e26;border:1px solid #52604e;border-radius:4px;text-align:left;transition:border-color .18s,background .18s}.quiz-choice:hover{border-color:#a8bb9c;background:#303c30}.quiz-choice.active{border-color:var(--orange);background:#3a2d24;box-shadow:inset 0 0 0 1px #f16d3c66}.quiz-choice-letter{display:grid;place-items:center;width:25px;height:25px;flex:none;background:#344134;border:1px solid #60705b;border-radius:3px;color:#c3d0b4;font:800 15px/1 var(--heading)}.quiz-choice.active .quiz-choice-letter{background:var(--orange);border-color:var(--orange);color:#1b1b17}.quiz-choice-name{font-size:12px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.round-result{margin-top:20px;padding:20px;background:#263127;border:1px solid #52664a;border-radius:4px}.round-result.near{background:#312d23;border-color:#756642}.round-result.miss{background:#302724;border-color:#775448}.result-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-end}.result-kicker{font-size:9px;letter-spacing:.12em;color:#c0d9a7;font-weight:600}.round-result.near .result-kicker{color:#e3c990}.round-result.miss .result-kicker{color:#f3a588}.result-heading h2{font:800 42px/.85 var(--heading);color:#d0e9a9;letter-spacing:.02em;margin-top:8px}.round-result.near h2{color:#f2d69a}.round-result.miss h2{color:#ffad91}.result-points{font:800 29px/1 var(--heading);color:#d0e9a9}.round-result.near .result-points{color:#f2d69a}.round-result.miss .result-points{color:#ffad91}.round-result p{color:#c5d0c0;line-height:1.6;font-size:12px;margin-top:13px}.other-answers-button{padding:12px 0 0;font-size:11px;color:#e6eddf;text-decoration:underline;text-underline-offset:3px}.other-answers-button span{color:var(--orange)}.other-answers{font-size:11px;line-height:1.7;margin-top:10px;color:#d2dbcd}.next-button{margin-top:16px}
.game-sidebar{padding:27px 23px;display:flex;flex-direction:column;min-height:420px}.sidebar-header{display:flex;align-items:start;justify-content:space-between;gap:10px}.sidebar-header h2{font-size:27px}.sidebar-header h2 span{color:var(--orange)}.history-count{color:#899589;font:800 18px/1 var(--heading)}.history-empty{margin:auto 0;text-align:center;padding:30px 10px;color:#a6b2a1}.history-empty-icon{height:44px;width:44px;display:grid;place-items:center;margin:0 auto 15px;border:1px solid #52604e;border-radius:50%;font-size:20px;color:#a7b49f}.history-empty strong{font:800 21px/1 var(--heading);color:#e5e8dd;letter-spacing:.03em}.history-empty p{font-size:11px;line-height:1.5;margin-top:7px}.history-list{list-style:none;padding:12px 0;margin:8px 0 auto;max-height:320px;overflow:auto}.history-list li{padding:11px 0;border-bottom:1px solid #3a443a;display:grid;grid-template-columns:32px 1fr auto;gap:8px;align-items:center}.history-round{font:800 17px/1 var(--heading);color:#82907f}.history-person strong{display:block;color:#e7e9df;font-size:11px}.history-person small{display:block;color:#95a192;font-size:9px;margin-top:4px}.history-result{font:800 15px/1 var(--heading);color:#d1e8a4;letter-spacing:.03em}.history-result.near{color:#eed298}.history-result.miss{color:#f6a68a}.sidebar-note{border-top:1px solid #3a443a;margin-top:20px;padding-top:15px;display:flex;gap:10px;align-items:start;color:#a6b0a1}.sidebar-note span{border:1px solid #7a8974;border-radius:50%;height:17px;width:17px;display:grid;place-items:center;flex:none;font-size:10px}.sidebar-note p{font-size:10px;line-height:1.55}
.finish-view{padding:55px 0 75px;display:grid;place-items:center}.finish-card{width:min(700px,100%);background:#1d231e;border:1px solid #3f493d;border-radius:5px;padding:40px;text-align:center}.finish-card h1{font:800 clamp(70px,9vw,102px)/.85 var(--heading);margin-top:22px}.finish-card h1 span{color:var(--orange)}.finish-card>p{color:#aab5a5;font-size:13px;line-height:1.6;margin-top:13px}.finish-score{display:flex;flex-direction:column;gap:5px;margin:30px 0 25px}.finish-score span,.finish-score small,.finish-stats span{font-size:9px;letter-spacing:.13em;color:#a6b2a1;font-weight:600}.finish-score strong{font:800 86px/.82 var(--heading);color:var(--orange)}.finish-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #3d483b;border-radius:4px}.finish-stats>div{display:flex;flex-direction:column;gap:9px;padding:17px 8px;border-right:1px solid #3d483b}.finish-stats>div:last-child{border:0}.finish-stats strong{font:800 26px/1 var(--heading)}.finish-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.secondary-button{border:1px solid #687663;background:transparent;color:#dce4d9;border-radius:4px;font:800 19px/1 var(--heading);letter-spacing:.05em}.secondary-button:hover{border-color:var(--text)}.share-button{grid-column:1/-1;color:#c3cebf;font-size:10px;font-weight:600;letter-spacing:.1em;padding:14px 0}.share-button:hover{color:var(--orange)}.share-message{min-height:14px!important;margin-top:0!important;font-size:10px!important}
.rules-dialog{width:min(630px,calc(100% - 32px));max-height:min(82vh,780px);border:1px solid #52604e;border-radius:6px;background:#202820;color:var(--text);padding:30px;box-shadow:0 25px 80px #0009}.rules-dialog::backdrop{background:#090c0ad9;backdrop-filter:blur(4px)}.rules-head{display:flex;justify-content:space-between;align-items:start;gap:16px}.rules-head h2{font:800 43px/.95 var(--heading);margin-top:8px}.rules-head h2 span{color:var(--orange)}.close-dialog{font-size:30px;line-height:1;color:#c4cdc1;padding:0 5px}.rules-body{font-size:12px;line-height:1.7;color:#c5cec1;margin-top:20px}.rules-body p+p{margin-top:12px}.rules-grid{display:grid;gap:8px;margin:18px 0}.rules-grid>div{display:grid;grid-template-columns:85px 1fr;gap:10px;background:#2b352b;border:1px solid #414e3f;padding:11px}.rules-grid strong{font:800 18px/1 var(--heading);color:#d9edb7;letter-spacing:.04em}.rules-body h3{font:800 19px/1 var(--heading);color:#e9ebe0;margin-bottom:6px;letter-spacing:.04em}.rules-source{font-size:10px;color:#aab5a5}.dialog-done{width:100%;margin-top:19px}
@media(max-width:1050px){.wrap{width:min(100% - 64px,1200px)}.home-view{gap:5%;grid-template-columns:minmax(0,1fr) minmax(400px,500px)}.hero-copy h1{font-size:clamp(66px,8.3vw,92px)}.setup-panel{padding:27px 25px 22px}.hero-legend small{width:100%;margin:7px 0 0}.target-number{font-size:140px}}
@media(max-width:800px){.wrap{width:min(100% - 40px,680px)}.topbar{height:77px}.top-indicator{display:none}.home-view{grid-template-columns:1fr;gap:28px;padding-top:36px;padding-bottom:45px}.hero-copy h1{font-size:clamp(70px,13vw,100px);margin-top:20px}.hero-description{margin-top:17px}.court-graphic{height:105px;margin-top:23px;width:100%}.court-graphic:before,.court-graphic:after{width:75px}.court-center{height:105px;width:105px}.court-center:after{height:105px}.court-side{height:54px;top:25px}.court-label{top:21px}.court-label strong{font-size:30px}.home-note{display:none}.setup-panel{padding:26px}.game-layout{grid-template-columns:1fr}.game-sidebar{min-height:200px}.history-empty{padding:23px 10px}.history-list{max-height:210px}.footer{align-items:flex-start;flex-direction:column;gap:8px}.footer p{text-align:left}}
@media(max-width:480px){.wrap{width:calc(100% - 30px)}.brand-mark{height:37px;width:37px;font-size:31px}.brand-text{font-size:23px}.brand-text small{font-size:6px}.help-button{font-size:0}.help-button>span{font-size:11px;height:22px;width:22px;margin:0}.home-view{padding-top:27px;gap:23px}.eyebrow{font-size:8px;letter-spacing:.1em}.eyebrow-line{width:25px}.hero-copy h1{font-size:clamp(66px,16vw,86px)}.hero-description{font-size:13px;max-width:330px}.hero-legend{margin-top:18px}.hero-legend small{display:none}.court-graphic{height:90px;margin-top:20px}.court-center{height:90px;width:90px}.court-center:after{height:90px}.court-label{top:18px;left:20px}.court-label strong{font-size:26px}.setup-panel{padding:22px 17px 20px}.setup-heading{margin-bottom:23px}.setup-heading h2{font-size:29px}.setup-section+.setup-section{margin-top:22px}.choice-card{padding:12px;min-height:145px}.choice-card>strong{font-size:22px}.choice-card>small{font-size:9px}.difficulty-card{padding:11px 8px;gap:7px}.difficulty-content strong{font-size:18px}.difficulty-content small{font-size:9px}.difficulty-meta{font-size:9px}.setup-foot{font-size:7px;letter-spacing:.04em}.game-view{padding-top:22px}.game-topline{margin-bottom:13px}.game-tags,.round-indicator,.back-button{font-size:9px}.score-cell{min-height:68px;padding:12px 10px;gap:7px}.score-cell>span{font-size:7px;letter-spacing:.08em}.score-cell strong{font-size:23px}.score-cell .hearts{font-size:16px}.challenge-card{padding:20px 16px 18px}.target-area{height:175px;padding:8px 14px}.target-number{font-size:115px;min-width:100px}.target-copy{margin-left:16px}.target-copy h1{font-size:39px}.target-copy small{font-size:8px}.target-decoration{height:155px;width:155px;top:10px;right:-15px}.target-decoration:before{height:195px}.game-sidebar{padding:22px 18px}.finish-card{padding:30px 19px}.finish-stats span{font-size:8px;letter-spacing:.06em}.finish-actions{grid-template-columns:1fr}.secondary-button{min-height:49px}.share-button{grid-column:auto}.rules-dialog{padding:22px}.rules-head h2{font-size:38px}.rules-grid>div{grid-template-columns:70px 1fr}}
@media(max-width:480px){.answer-card{font-size:15px;gap:6px;padding:8px}.answer-copy small,.difficulty-content small,.choice-card>small{font-size:10px}.quiz-choice{gap:7px;padding:8px}.quiz-choice-name{font-size:11px}.quiz-choice-letter{width:22px;height:22px}}

/* HIGH FIVE v2 — three choices and a multiplier visible in both difficulties */
.setup-personal-best{display:block;flex-basis:100%;margin-top:4px;color:#c9d99c;font-size:10px;font-weight:700;letter-spacing:.08em}
.difficulty-list{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.difficulty-card{min-height:80px;padding:12px;align-items:flex-start}
.difficulty-meta{font-size:12px}
.multiplier-tag{display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;background:#3b2d22;border:1px solid #915e3e;border-radius:3px;font:800 13px/1 var(--heading);color:#ffae70;letter-spacing:.05em}
.choice-card{min-height:151px}
.choice-card>small{line-height:1.55}
@media(max-width:610px){.difficulty-list{grid-template-columns:1fr}.difficulty-card{min-height:59px;align-items:center}.setup-personal-best{font-size:9px}}

/* Language selector — fixed width, always visible in the header. */
.top-actions{gap:18px}
.language-picker{display:inline-flex;align-items:center;gap:3px;border:1px solid var(--line);background:#202821;border-radius:5px;padding:3px;flex:none}
.language-button{border:0;border-radius:3px;color:#b4c1b2;background:transparent;padding:7px 9px;min-width:32px;font-size:10px;font-family:var(--body);font-weight:700;letter-spacing:.03em;white-space:nowrap}
.language-button:hover{background:#334033;color:#fff}
.language-button.active{background:var(--orange);color:#191d18}
.language-button:focus-visible{outline:2px solid #d6ef9d;outline-offset:1px}
.choice-card small,.answer-card small,.difficulty-card small,.setup-summary,.setup-label,.footer,.target-copy,.result-description{overflow-wrap:anywhere}
/* Chinese characters need a CJK-capable font; Latin condensed fonts lack these glyphs. */
:lang(zh-CN) body{font-family:'Microsoft YaHei','PingFang SC','Noto Sans CJK SC',var(--body)}
:lang(zh-CN) h1,:lang(zh-CN) h2,:lang(zh-CN) h3,:lang(zh-CN) .choice-card strong,:lang(zh-CN) .answer-card strong,:lang(zh-CN) .difficulty-card strong,:lang(zh-CN) .primary-button,:lang(zh-CN) .brand-text,:lang(zh-CN) .target-copy h1,:lang(zh-CN) .score-cell strong,:lang(zh-CN) .setup-summary strong{font-family:'Microsoft YaHei','PingFang SC','Noto Sans CJK SC',sans-serif;letter-spacing:0}
:lang(zh-CN) .hero-copy h1{font-size:clamp(56px,6vw,88px);line-height:1.16}
:lang(zh-CN) .court-label strong{font-family:'Microsoft YaHei','PingFang SC',sans-serif}
:lang(de) .hero-copy h1{font-size:clamp(54px,5.5vw,86px)}
:lang(de) .brand-text small{font-size:6px;letter-spacing:.08em}
@media(max-width:900px){.top-actions{gap:10px}.language-button{padding:7px 6px}.top-indicator{display:none}}
@media(max-width:530px){.language-picker{gap:1px;padding:2px}.language-button{min-width:27px;padding:6px 4px;font-size:9px}.top-actions{gap:8px}.help-button{font-size:10px}.brand-text{font-size:20px}.brand-mark{width:35px;height:35px;font-size:28px}}

/* V4 — unobtrusive sound control next to the language selector. */
.sound-toggle{width:34px;height:34px;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#202821;border:1px solid #465044;border-radius:5px;color:#c3d0b9;padding:6px}
.sound-toggle:hover{border-color:var(--orange);color:var(--orange)}
.sound-toggle[aria-pressed="false"]{color:#88958b}
.sound-toggle svg{display:block;width:19px;height:19px}
.sound-toggle svg[hidden]{display:none}
@media(max-width:530px){.sound-toggle{width:29px;height:29px;padding:5px}.sound-toggle svg{width:17px;height:17px}.top-actions{gap:5px}}
@media(max-width:390px){.brand-text{font-size:18px}.brand-mark{width:31px;height:31px;font-size:25px}.language-button{min-width:24px;padding:6px 3px;font-size:9px}}

@media(max-width:530px){.help-button{font-size:0}.help-button>span{font-size:11px}.top-actions{gap:4px}}
@media(max-width:355px){.brand{gap:7px}.brand-text{font-size:16px}.brand-text small{font-size:5px}.top-actions{gap:2px}}

/* V5.3 — visibly labeled, always-available sound switch. */
.sound-toggle{width:auto;min-width:105px;height:35px;gap:7px;padding:0 10px;border-radius:5px;background:#263226;border-color:#58704d;color:#e0eccf;white-space:nowrap;transition:border-color .15s,background .15s}
.sound-toggle .sound-label{font:700 10px/1 var(--body);letter-spacing:.055em}
.sound-toggle[aria-pressed="false"]{background:#262b28;border-color:#525a55;color:#adb8ae}
.sound-toggle:hover{border-color:var(--orange);background:#34382d}
@media(max-width:650px){.sound-toggle{min-width:76px;height:30px;gap:4px;padding:0 6px}.sound-toggle .sound-label{font-size:9px;letter-spacing:0}.sound-toggle svg{width:15px;height:15px}}
@media(max-width:385px){.sound-toggle{min-width:68px;padding:0 4px;gap:3px}.sound-toggle .sound-label{font-size:8px}}
/* On very narrow phones, keep the sound switch fully visible by wrapping header controls. */
@media(max-width:480px){
  .topbar{height:auto;min-height:77px;padding-block:10px;gap:5px}
  .top-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:0}
}

/* V6 — Daily challenge alongside the original eight unlimited modes */
.daily-card{margin-top:22px;padding:21px 23px 19px;background:linear-gradient(120deg,#2b3123 0%,#232a22 70%);border:1px solid #81946a;border-radius:7px;box-shadow:0 12px 32px #0004}
.daily-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.daily-pill{font:800 13px/1 var(--heading);letter-spacing:.08em;color:#202318;background:var(--lime);border-radius:3px;padding:6px 8px}
.daily-date{font:600 11px/1.2 var(--body);color:#b9c7ae}
.daily-card h2{font:800 34px/1 var(--heading);letter-spacing:.035em;margin-top:14px}
.daily-description{font-size:12px;line-height:1.55;color:#d0d8cb;margin-top:9px}
.daily-status{color:#c0da8e;font-size:11px;margin-top:11px;font-weight:600;line-height:1.5}
.daily-button{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding:12px 15px;background:#c0da8e;color:#1e281b;border:0;border-radius:4px;font:800 19px/1 var(--heading);letter-spacing:.04em;min-height:49px}
.daily-button:hover:not(:disabled){background:#d6efa5}
.daily-button:disabled{opacity:.48}
.daily-button span:last-child{font-size:23px}
.daily-reset{font-size:9px;letter-spacing:.09em;color:#a5b69c;margin-top:11px}
@media(max-width:800px){.daily-card{margin-top:17px}}
@media(max-width:480px){.daily-card{padding:17px 17px 15px}.daily-card h2{font-size:29px}.daily-description{font-size:11px}}

/* Keep long game-mode names within small mobile cards */
@media(max-width:480px){.choice-card>strong{font-size:clamp(16px,4.8vw,22px);overflow-wrap:anywhere}.panel-index{white-space:nowrap;font-size:11px}}

/* Daily results: a tiny, readable Wordle-style share card. */
.daily-share-card{margin-top:24px;padding:21px 20px 20px;text-align:left;background:linear-gradient(135deg,#263026,#1d271f);border:1px solid #58694c;border-radius:6px}
.daily-share-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.daily-share-kicker{font-weight:700;font-size:10px;letter-spacing:.12em;color:#d1e5b2}
.daily-share-date{color:#98ad90;font-size:11px;font-weight:600}
.daily-share-card h2{font:800 28px/1 var(--heading);letter-spacing:.035em;margin-top:12px}
.daily-share-subtitle{font-size:11px;color:#b5c6ae;margin-top:8px}
.daily-share-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;margin-top:19px}
.daily-share-tile{display:grid;place-items:center;min-width:0;aspect-ratio:1;border-radius:3px;font:800 15px/1 var(--heading);color:#132019;box-shadow:inset 0 1px 0 #ffffff20}
.daily-share-tile.perfect{background:#78c998}.daily-share-tile.near{background:#edbe68}.daily-share-tile.miss{background:#e8786e}.daily-share-tile.pending{background:#414b41;color:#b2bdb0}
.daily-share-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:15px;color:#aabfa5;font-size:10px}
.daily-share-legend>span{display:inline-flex;align-items:center;gap:6px}.daily-dot{width:9px;height:9px;display:inline-block;border-radius:2px}
.daily-dot.perfect{background:#78c998}.daily-dot.near{background:#edbe68}.daily-dot.miss{background:#e8786e}.daily-dot.pending{background:#414b41}
@media(max-width:520px){.daily-share-card{padding:18px 12px}.daily-share-card h2{font-size:23px}.daily-share-grid{gap:4px}.daily-share-tile{font-size:12px}.daily-share-legend{font-size:9px;gap:8px}}
@media(max-width:350px){.daily-share-grid{gap:3px}.daily-share-tile{font-size:10px}}

/* V8: quick, non-blocking feedback. All content is visible without animation. */
@media (prefers-reduced-motion: no-preference){
  .challenge-card.question-enter{animation:hf-question-in 260ms cubic-bezier(.2,.7,.2,1) both}
  .question-enter .target-number{animation:hf-number-in 370ms cubic-bezier(.2,.75,.25,1) both}
  .round-result.feedback-perfect{animation:hf-perfect-flash 620ms ease-out both}
  .feedback-perfect .result-heading h2{transform-origin:left center;animation:hf-perfect-title 400ms cubic-bezier(.16,1.35,.3,1) both}
  .feedback-perfect .result-points{animation:hf-reward 480ms cubic-bezier(.2,.75,.2,1) both}
  .round-result.feedback-near{animation:hf-near-glow 460ms ease-out both}
  .feedback-near .result-heading h2{animation:hf-near-title 300ms ease-out both}
  .round-result.feedback-miss{animation:hf-miss 400ms ease-out both}
  .heart-lost{display:inline-block;animation:hf-heart-lost 550ms ease-out both}
  .multiplier-up{animation:hf-multiplier 620ms ease-out both}
  .daily-share-tile.tile-reveal{animation:hf-tile-reveal 270ms cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms) both}
  .finish-score-reveal{animation:hf-finish-score 550ms ease-out both}

  @keyframes hf-question-in{from{opacity:.82;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
  @keyframes hf-number-in{from{opacity:0;transform:translateY(13px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
  @keyframes hf-perfect-flash{0%{box-shadow:inset 0 0 0 transparent}24%{box-shadow:0 0 0 1px #eead624d,inset 0 0 35px #f2a24a33}100%{box-shadow:inset 0 0 0 transparent}}
  @keyframes hf-perfect-title{0%{opacity:0;transform:translateY(9px) scale(.95)}65%{opacity:1;transform:translateY(0) scale(1.035)}100%{opacity:1;transform:scale(1)}}
  @keyframes hf-reward{0%{opacity:0;transform:translateY(8px) scale(.92)}65%{opacity:1;transform:translateY(-2px) scale(1.04)}100%{opacity:1;transform:translateY(0) scale(1)}}
  @keyframes hf-near-glow{0%{box-shadow:inset 0 0 0 transparent}35%{box-shadow:inset 0 0 25px #edbe681f}100%{box-shadow:inset 0 0 0 transparent}}
  @keyframes hf-near-title{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
  @keyframes hf-miss{0%,100%{transform:translateX(0);box-shadow:inset 0 0 0 transparent}20%{transform:translateX(-4px);box-shadow:inset 0 0 25px #e8786e30}40%{transform:translateX(4px)}60%{transform:translateX(-2px)}80%{transform:translateX(1px)}}
  @keyframes hf-heart-lost{0%{color:#ffad91;transform:scale(1)}35%{color:#ffb3a1;transform:scale(1.22)}100%{color:#576054;transform:scale(1)}}
  @keyframes hf-multiplier{0%,100%{transform:scale(1);box-shadow:none}35%{transform:scale(1.12);box-shadow:0 0 16px #f4a25788}}
  @keyframes hf-tile-reveal{from{opacity:0;transform:translateY(6px) scale(.82)}to{opacity:1;transform:translateY(0) scale(1)}}
  @keyframes hf-finish-score{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Keep the additional answer-format label readable on narrow screens. */
@media(max-width:480px){
  .game-topline.has-choices-tag{flex-wrap:wrap;row-gap:8px}
  .game-topline.has-choices-tag .game-tags{order:3;flex-basis:100%}
}

/* Exact answers appear only after the player has submitted a response. */
.answer-reveal{margin-top:16px;padding:12px 14px;background:#1c2b20;border:1px solid #526a4a;border-radius:4px}
.answer-reveal-title{font-size:9px;font-weight:700;letter-spacing:.12em;line-height:1.4;color:#c9dda8}
.answer-reveal-list{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:9px 0 0;padding:0}
.answer-reveal-list li{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;min-width:0;max-width:100%;padding:7px 9px;background:#304030;border:1px solid #526c4d;border-radius:3px;line-height:1.35}
.answer-reveal-list strong{color:#eff5e9;font-size:12px;overflow-wrap:anywhere}
.answer-reveal-list span{color:#c4d5ba;font-size:10px;white-space:nowrap}
@media(max-width:480px){.answer-reveal{padding:11px}.answer-reveal-list strong{font-size:11px}}
/* V11 — compact, readable phone layout. Desktop styling remains unchanged. */
@media (max-width:600px){
  html{scroll-behavior:auto;overflow-anchor:none}
  .topbar{height:auto;min-height:64px;padding-block:8px;gap:5px}
  .brand{gap:7px;flex:none}
  .brand-mark{width:30px;height:30px;font-size:25px}
  .brand-text{font-size:18px}
  .brand-text small{display:none}
  .top-actions{flex-wrap:nowrap;gap:4px}
  .sound-toggle{min-width:68px;height:32px}
  .help-button{padding:5px 0}

  .home-view{padding-top:20px;padding-bottom:38px;gap:18px}
  .hero-copy h1,:lang(de) .hero-copy h1,:lang(zh-CN) .hero-copy h1{font-size:clamp(43px,12vw,58px);line-height:.92;margin-top:14px}
  :lang(zh-CN) .hero-copy h1{line-height:1.12}
  .hero-description{font-size:13px;line-height:1.5;margin-top:11px;max-width:100%}
  .hero-legend{margin-top:13px;gap:6px}
  .hero-legend>span{padding:5px 8px}
  .court-graphic{display:none}
  .daily-card{margin-top:16px;padding:15px 16px}
  .daily-pill{display:none}
  .daily-topline{justify-content:flex-end}
  .daily-card h2{font-size:27px;margin-top:0}
  .daily-description{font-size:12px;line-height:1.45;margin-top:7px}
  .daily-status{margin-top:8px;font-size:11px}
  .daily-button{margin-top:10px;min-height:48px}
  .daily-reset{margin-top:9px}

  .setup-panel{padding:20px 16px}
  .setup-heading{margin-bottom:19px}
  .setup-heading h2{font-size:28px}
  .setup-intro{font-size:12px;margin-top:6px}
  .setup-section+.setup-section{margin-top:18px}
  .setup-label{font-size:11px;letter-spacing:.06em;margin-bottom:9px}
  .setup-caption{display:none}
  .choice-card{min-height:132px;padding:12px}
  .choice-top{margin-bottom:8px}
  .choice-card>small,.answer-copy small,.difficulty-content small{font-size:11px;line-height:1.4}
  .card-footer{padding-top:9px;letter-spacing:.07em}
  .setup-summary{margin-top:18px}
  .setup-foot{flex-wrap:wrap;font-size:9px;line-height:1.5;white-space:normal}

  .game-view{padding-top:16px}
  .game-topline{margin-bottom:10px}
  .score-strip{margin-bottom:12px}
  .score-cell{min-height:62px;padding:10px 9px}
  .score-cell>span{font-size:9px;letter-spacing:.06em}
  .challenge-card{padding:17px 15px 18px}
  .target-area{height:142px;margin-top:11px}
  .target-number{font-size:98px;min-width:92px}
  .target-copy{margin-left:14px}
  .target-copy h1{font-size:clamp(24px,7.1vw,32px)}
  .target-copy small{font-size:9px;letter-spacing:.09em}
  .target-prompt{font-size:13px;line-height:1.4;margin:12px 0 14px}
  .target-divider{margin-bottom:14px}
  .quiz-choice{min-height:52px}
  .quiz-choice-name{font-size:12px}
  #player-search{font-size:16px}
  .input-hint{font-size:11px}
  .round-result{margin-top:14px;padding:16px}
  .guess-button,.next-button{min-height:52px;margin-top:14px}
}
@media (max-width:360px){
  html{min-width:0}
  .wrap{width:calc(100% - 20px)}
  .brand-mark{display:none}
  .brand{gap:0}
  .brand-text{font-size:16px}
  .top-actions{gap:3px}
  .four-choices{grid-template-columns:1fr;gap:7px}
  .quiz-choice{min-height:48px}
}

/* V11.1 — mobile feedback: the continue action stays directly after the
   answer summary, ahead of any optional list of alternative solutions. */
.mobile-next-button{display:none}
@media (max-width:600px){
  .round-result{scroll-margin-top:12px}
  .target-area{scroll-margin-top:12px}
  .round-result .mobile-next-button{display:flex;width:100%;min-height:52px;margin-top:14px}
  .round-result #next-round{display:none}
}

/* HIGH FIVE V12 — Arena link, unaffected by existing game layout */
.duel-home-link{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;margin-top:18px;padding:14px 16px;background:linear-gradient(110deg,#412b22,#2a3023);border:1px solid #9d633f;border-radius:6px;text-decoration:none;color:#f7e2d0;font-size:11px;letter-spacing:.08em}.duel-home-link strong{font:800 23px/1 var(--heading);color:#f16d3c;letter-spacing:0}.duel-home-link b{color:#f16d3c;font-size:18px}.duel-home-link:hover{border-color:#f16d3c}

/* Personal profile and optional franchise-inspired accents. */
.profile-feature-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:18px}
.profile-feature-links .duel-home-link{margin:0;min-width:0}
.profile-home-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:14px 16px;text-align:left;background:#252e25;border:1px solid #566c50;border-radius:6px;color:var(--text)}
.profile-home-link span{display:flex;flex-direction:column;min-width:0;gap:6px}.profile-home-link strong{font:800 23px/1 var(--heading);color:var(--orange)}.profile-home-link small{font-size:10px;line-height:1.35;color:#c2cebc}.profile-home-link b{font-size:18px;color:var(--orange)}.profile-home-link:hover{border-color:var(--orange)}
.profile-dialog{width:min(860px,calc(100% - 32px));max-height:88vh;max-height:88dvh;overflow:auto;border:1px solid #53614e;border-radius:9px;background:#1b231d;color:var(--text);padding:28px;box-shadow:0 25px 80px #000a}
.profile-dialog::backdrop{background:#090c0ae8;backdrop-filter:blur(4px)}.profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.profile-head h2{font:800 clamp(38px,6vw,58px)/1 var(--heading);margin-top:7px;color:var(--orange)}.profile-intro{color:#bdc8b9;line-height:1.55;margin:10px 0 20px;font-size:13px}
.profile-theme-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);align-items:center;gap:18px;padding:16px;border:1px solid #546550;background:#242f25;border-radius:6px}.profile-theme-card h3,.profile-panel h3{font:800 20px/1.1 var(--heading);letter-spacing:.03em}.profile-theme-card p,.profile-panel>p{color:#aebca9;font-size:11px;line-height:1.5;margin-top:7px}.profile-select-wrap label{display:block;font-size:10px;font-weight:700;color:#c4d0bc;margin-bottom:6px}.profile-select-wrap select{font:600 13px/1.3 var(--body);color:#f4f5ee;background:#111a13;border:1px solid #687b62;border-radius:4px;width:100%;min-height:43px;padding:8px 9px}.profile-select-wrap select:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.profile-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.profile-overview>div{display:flex;flex-direction:column;gap:8px;min-width:0;padding:14px;background:#263027;border:1px solid #3e4b3d;border-radius:5px}.profile-overview span,.profile-best-score span{color:#adbaaa;font-size:9px;font-weight:700;letter-spacing:.06em;line-height:1.4}.profile-overview strong{font:800 34px/1 var(--heading);color:var(--orange);font-variant-numeric:tabular-nums}
.profile-best-score{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:12px 14px;background:#232d23;border:1px solid #3e4b3d;border-radius:5px}.profile-best-score strong{font:800 25px/1 var(--heading);color:#e7efdf}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.profile-panel{min-width:0;padding:16px;background:#222c23;border:1px solid #3e4b3d;border-radius:5px}.profile-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px}.profile-result-grid div{display:flex;flex-direction:column;gap:7px;min-width:0}.profile-result-grid span{font-size:9px;line-height:1.3;font-weight:700;color:#aebca9}.profile-result-grid strong{font:800 28px/1 var(--heading);color:#d2e9ad}.profile-result-grid div:nth-child(2) strong{color:#ead193}.profile-result-grid div:nth-child(3) strong{color:#f6a68a}
.profile-mode-row{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:12px;color:#c4d0bf}.profile-mode-row strong{color:#f5f2e7}.profile-duel-record{overflow-wrap:anywhere}.profile-categories{display:grid;gap:9px;margin-top:14px}.profile-category-row{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:10px}.profile-category-row strong{font:800 16px/1 var(--heading);color:#ebefe5}.profile-category-row small{white-space:nowrap;color:#c1cbbc;font-size:10px}.profile-bar{height:6px;border-radius:6px;background:#3a473a;overflow:hidden}.profile-bar span{display:block;height:100%;background:var(--orange);border-radius:inherit}
.profile-empty{margin-top:14px!important}.profile-players{list-style:none;padding:0;margin:13px 0 0;display:grid;gap:7px}.profile-players li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;background:#2a352a;border-radius:4px}.profile-players strong{overflow-wrap:anywhere;font-size:12px}.profile-players small{white-space:nowrap;color:#b7c7af;font-size:9px;font-weight:700}.profile-info{margin-top:16px;color:#9eae9a;font-size:11px;line-height:1.55}
html[data-team-theme] body{background:radial-gradient(ellipse at 13% 17%,var(--team-panel) 0%,transparent 40%),var(--bg)}
html[data-team-theme] .setup-panel,html[data-team-theme] .profile-dialog,html[data-team-theme] .profile-home-link,html[data-team-theme] .duel-home-link{background:var(--team-panel);border-color:var(--orange)}
html[data-team-theme] .duel-home-link strong,html[data-team-theme] .duel-home-link b{color:var(--orange)}
html[data-team-theme] .court-graphic{background:linear-gradient(110deg,var(--team-panel),#171d19);border-color:var(--orange)}
@media(max-width:600px){.profile-dialog{padding:20px 16px;width:calc(100% - 24px);max-height:90vh;max-height:90dvh}.profile-theme-card,.profile-grid{grid-template-columns:1fr}.profile-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-head h2{font-size:38px}.profile-panel{padding:14px}.profile-feature-links .duel-home-link{padding:12px}.profile-home-link{padding:12px}}
@media(max-width:370px){.profile-feature-links{grid-template-columns:1fr}.profile-home-link strong,.profile-feature-links .duel-home-link strong{font-size:20px}}
@media(max-width:500px){.duel-home-link{margin-top:15px}.duel-home-link strong{font-size:20px}}

/* ===========================================================================
   V12.8 — New home screen. Solo / 1v1 / daily / profile have equal prominence.
   Replaces the previous large daily marketing card and buried profile links.
   =========================================================================== */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.home-view{grid-template-columns:minmax(0,1fr) minmax(390px,520px);column-gap:clamp(24px,5vw,72px);row-gap:32px;align-items:start;padding-top:30px}
.home-launcher{grid-column:1/-1;min-width:0}
.home-launcher-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:14px}
.home-launcher-head h2{font:800 clamp(28px,3.5vw,38px)/1 var(--heading);letter-spacing:.02em;margin-top:8px}
.launcher-hint{font:700 10px/1.4 var(--body);letter-spacing:.10em;color:#a9b8a4;text-align:right}
.hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
.hub-card{position:relative;isolation:isolate;min-width:0;min-height:148px;display:flex;flex-direction:column;justify-content:space-between;padding:16px 17px;text-decoration:none;text-align:left;background:#212a23;border:1px solid #485849;border-radius:9px;color:var(--text);box-shadow:0 8px 25px #0002;transition:border-color .15s,background .15s,transform .15s,box-shadow .15s}
.hub-card:hover:not(:disabled){transform:translateY(-2px);border-color:var(--orange);box-shadow:0 13px 35px #0005}
.hub-card:active:not(:disabled){transform:translateY(0)}
.hub-card:focus-visible,.hub-card .daily-button:focus-visible{outline:3px solid #d6ef9d;outline-offset:3px}
.hub-top{display:flex;align-items:start;justify-content:space-between;gap:10px}
.hub-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:8px;background:#ffffff0d;border:1px solid #ffffff29;color:var(--orange);font:800 25px/1 var(--heading)}
.hub-arrow{color:var(--orange);font:800 23px/1 var(--heading);line-height:1}
.hub-content{display:flex;flex-direction:column;gap:7px}
.hub-content strong{font:800 clamp(26px,2.8vw,34px)/.94 var(--heading);letter-spacing:.02em;color:var(--text)}
.hub-content small{font:600 11px/1.35 var(--body);color:#bac6b5;letter-spacing:0}
.hub-solo{background:linear-gradient(130deg,#402a21,#262923 88%);border-color:#956346}
.hub-solo .hub-icon{color:var(--orange)}
.hub-duel{background:linear-gradient(130deg,#2b3025,#202d2b);border-color:#658170}
.hub-duel .hub-icon{color:#c6e4ad}
.hub-duel .hub-content strong{color:#c6e4ad}
.hub-profile{background:linear-gradient(130deg,#2b292c,#222927);border-color:#6a666d}
.hub-profile .hub-icon,.hub-profile .hub-content strong{color:var(--orange)}
/* Daily is a compact member of the four-tile navigation, not a hero banner. */
.home-launcher .hub-daily{margin:0;min-height:148px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;padding:12px 14px 13px;border:1px solid #84926a;border-radius:9px;background:linear-gradient(130deg,#2d3425,#252e24);box-shadow:0 8px 25px #0002}
.hub-daily-head{display:flex;justify-content:space-between;align-items:center;gap:6px}
.hub-daily-symbol{color:var(--lime);font-size:18px;line-height:1}
.home-launcher .daily-date{font-size:10px;color:#c4cdbb;white-space:nowrap}
.home-launcher .daily-card h2{font:800 clamp(20px,2.25vw,27px)/.96 var(--heading);letter-spacing:.015em;margin:1px 0 0;color:#e2efc5}
.home-launcher .daily-card .daily-status{font-size:10px;line-height:1.25;margin:0;min-height:12px;color:#bfd5a2;font-weight:600}
.home-launcher .daily-card .daily-button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;margin:3px 0 0;padding:6px 10px;border-radius:5px;font:800 15px/1 var(--heading);letter-spacing:.02em}
.home-launcher .daily-card .daily-button span:last-child{font-size:18px;line-height:1}
.home-launcher .daily-card .daily-button:disabled{opacity:.65}
/* The marketing hero remains visible alongside Solo setup on desktop only. */
.home-view .hero-copy{padding-top:15px}
.home-view .hero-copy h1{font-size:clamp(60px,6.7vw,90px);margin-top:21px}
.home-view .hero-description{margin-top:20px}
.home-view .court-graphic{height:120px;margin-top:25px}
.home-view .court-center,.home-view .court-center:after{height:120px}
.home-view .court-center{width:120px}
.home-view .court-side{top:28px}
#solo-setup{scroll-margin-top:14px}
html[data-team-theme] .hub-solo,html[data-team-theme] .hub-duel,html[data-team-theme] .hub-profile{border-color:var(--orange);background:linear-gradient(130deg,var(--team-panel),#1a211b)}
html[data-team-theme] .hub-icon,html[data-team-theme] .hub-arrow,html[data-team-theme] .hub-profile .hub-content strong,html[data-team-theme] .hub-duel .hub-content strong{color:var(--orange)}
@media(max-width:1050px){.home-view{grid-template-columns:minmax(0,1fr) minmax(350px,470px);column-gap:24px;row-gap:25px}.hub-card{min-height:138px;padding:13px}.hub-content strong{font-size:27px}}
@media(max-width:800px){
  .home-view{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding-top:24px}
  .home-welcome{grid-template-columns:1fr;gap:16px;padding:18px 18px 16px;margin-bottom:18px}
  .home-welcome-visual{padding-top:0}
  .home-mini-court{min-height:118px}
  .home-launcher{order:0}.setup-panel{order:1}.hero-copy{display:none}
  .hub-grid{gap:10px}.hub-card{min-height:145px}
  .home-launcher-head{margin-bottom:12px}
}
@media(max-width:600px){
  .home-view{padding-top:16px;gap:17px}
  .home-welcome{padding:16px 14px 14px;border-radius:10px}
  .home-welcome-copy .section-kicker{margin-bottom:10px}
  .home-welcome-copy h1{font-size:clamp(34px,11vw,48px)}
  .home-welcome-description{font-size:13px;line-height:1.5;margin-top:12px}
  .home-mini-court{min-height:96px;border-radius:10px}
  .home-stat-pills{gap:6px}
  .home-stat-pills span{min-width:42px;padding:7px 9px;font-size:12px}
  .home-launcher-head h2{font-size:30px;margin-top:5px}
  .launcher-hint{font-size:9px}
  .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hub-card{min-height:128px;padding:12px 13px;border-radius:8px}
  .hub-icon{width:30px;height:30px;font-size:20px;border-radius:6px}
  .hub-arrow{font-size:21px}
  .hub-content strong{font-size:clamp(23px,6.4vw,29px)}
  .hub-content small{font-size:10px;line-height:1.25}
  .home-launcher .hub-daily{min-height:128px;padding:10px 11px 11px}
  .home-launcher .daily-card h2{font-size:clamp(20px,5.4vw,24px);line-height:1}
  .home-launcher .daily-card .daily-status{font-size:9px;line-height:1.2}
  .home-launcher .daily-card .daily-button{min-height:31px;font-size:13px;padding:6px 9px}
  .home-launcher .daily-date{font-size:9px}
  .setup-panel{width:100%}
}
@media(max-width:360px){
  .home-welcome{padding:14px 12px}
  .home-welcome-copy h1{font-size:32px}
  .home-mini-court{min-height:86px}
  .hub-grid{gap:7px}.hub-card{padding:10px;min-height:128px}
  .hub-content strong{font-size:22px}.hub-content small{font-size:9px}
  .home-launcher .hub-daily{padding:9px}.home-launcher .daily-card h2{font-size:20px}
  .home-launcher .daily-card .daily-button{font-size:12px}
  .launcher-hint{display:none}
}
@media(prefers-reduced-motion:reduce){.hub-card{transition:none}.hub-card:hover:not(:disabled){transform:none}}

/* Long localized titles remain inside their navigation tiles. */
.hub-card .hub-content strong,.home-launcher .daily-card h2{overflow-wrap:anywhere}

/* HIGH FIVE V12.9 — one real screen per home menu entry. */
.home-view{display:block;min-height:min(470px,67vh);padding-top:clamp(25px,4vw,55px);padding-bottom:40px}
.home-welcome{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:22px;align-items:stretch;max-width:1180px;margin:0 auto 22px;padding:22px 24px;border:1px solid #465446;border-radius:12px;background:linear-gradient(145deg,#1d241f,#121714 70%);box-shadow:0 18px 50px #00000033;overflow:hidden;position:relative}
.home-welcome::before{content:"";position:absolute;inset:auto auto -42px -42px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,var(--orange-soft),transparent 68%);opacity:.12;pointer-events:none}
.home-welcome-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;min-width:0}
.home-welcome-copy .section-kicker{margin-bottom:14px}
.home-welcome-copy h1{font:800 clamp(44px,6vw,78px)/.92 var(--heading);letter-spacing:.01em;margin:0;color:#f3efe0}
.home-welcome-copy h1 span{color:var(--orange)}
.home-welcome-description{max-width:38rem;margin:16px 0 0;color:#c6d0c1;font:500 clamp(14px,1.6vw,16px)/1.6 var(--body)}
.home-welcome-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-width:0;padding:8px 0 0}
.home-mini-court{position:relative;flex:1;min-height:160px;border:1px solid #3f4b40;border-radius:12px;background:linear-gradient(180deg,#182019,#131915);overflow:hidden}
.home-mini-court::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,#ffffff08 0%,transparent 58%)}
.home-mini-side{position:absolute;top:28px;bottom:28px;width:72px;border:1px solid #304031;border-radius:14px}
.home-mini-left{left:-36px}.home-mini-right{right:-36px}
.home-mini-center{position:absolute;inset:18px 50% 18px auto;transform:translateX(50%);width:128px;border:1px solid #304031;border-radius:50%}
.home-mini-center::before{content:"";position:absolute;top:-18px;bottom:-18px;left:50%;width:1px;background:#304031}
.home-stat-pills{display:flex;flex-wrap:wrap;gap:8px}
.home-stat-pills span{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:8px 11px;border:1px solid #556356;border-radius:999px;background:#ffffff08;color:#ecf1e6;font:800 13px/1 var(--heading);letter-spacing:.08em}

.home-landing-message{display:flex;justify-content:space-between;gap:15px;align-items:center;max-width:740px;margin:34px auto 0;padding:13px 18px;border-top:1px solid #53614e;border-bottom:1px solid #53614e;color:#acbba5;font:700 10px/1.4 var(--body);letter-spacing:.14em}
.home-view .hub-daily .hub-content strong{font:800 clamp(26px,2.8vw,34px)/.94 var(--heading);color:#e2efc5}
.home-view .hub-daily .hub-content small{font-size:11px;line-height:1.35;color:#bfd5a2}
.solo-view,.daily-screen,.profile-screen{padding:20px 0 48px}
.screen-back{display:inline-flex;align-items:center;gap:10px;border:1px solid #6c795f;background:#1f2a23;color:#e7ede2;border-radius:6px;padding:11px 16px;margin:0 0 26px;cursor:pointer;font:700 11px/1.2 var(--body);letter-spacing:.08em}
.screen-back span:first-child{font-size:17px;color:var(--orange)}
.screen-back:hover,.screen-back:focus-visible{border-color:var(--orange);background:#29352b}
.solo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,520px);gap:clamp(25px,5vw,72px);align-items:start}
.solo-layout .hero-copy{padding-top:22px}
.solo-layout .hero-copy h1{font-size:clamp(60px,6.7vw,90px);margin-top:20px}
.solo-layout .hero-description{margin-top:20px}
.solo-layout .court-graphic{height:120px;margin-top:25px}
.solo-layout .court-center,.solo-layout .court-center:after{height:120px}
.solo-layout .court-center{width:120px}
.solo-layout .court-side{top:28px}
.daily-screen-panel{position:relative;overflow:hidden;max-width:750px;margin:0 auto;background:linear-gradient(135deg,#303a29,#1c2822 75%);border:1px solid #91a276;border-radius:12px;padding:clamp(24px,5vw,44px);box-shadow:0 18px 65px #0003}
.daily-screen-panel:after{content:'★';position:absolute;right:-15px;top:25px;font:800 250px/1 var(--heading);color:#a3c27d0a;pointer-events:none}
.daily-screen-intro{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#c8dbb6;font-size:11px;letter-spacing:.08em}
.daily-screen-intro .daily-date{color:#d9e7c8;font-size:12px;white-space:nowrap}
.daily-screen-star{font-size:29px;color:var(--lime);margin:25px 0 8px}
.daily-screen-panel h1{font:800 clamp(46px,8vw,84px)/.98 var(--heading);color:#e4f3d2;max-width:530px}
.daily-screen-description{margin:16px 0;color:#c6d3bf;font-size:15px;line-height:1.65;max-width:540px}
.daily-screen-status{padding:14px 16px;margin:25px 0 14px;background:#141e18;border:1px solid #6e835d;border-radius:6px;font-size:13px;font-weight:700;color:#d9ebc4}
.daily-screen-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px}
.profile-screen>.profile-dialog{display:block;position:relative;inset:auto;transform:none;margin:0 auto;width:100%;max-width:980px;max-height:none;overflow:visible;box-shadow:0 15px 55px #0004;border-radius:11px}
.profile-screen .screen-profile-back{display:none}
@media(max-width:850px){.solo-layout{grid-template-columns:1fr;gap:20px}.solo-layout .hero-copy{display:none}.solo-layout .setup-panel{width:100%}}
@media(max-width:600px){
  .home-view{min-height:0;padding:24px 0 48px}
  .home-landing-message{margin-top:24px;padding:11px 4px;font-size:8px;letter-spacing:.05em}
  .home-view .hub-daily .hub-content strong{font-size:clamp(23px,6.4vw,29px)}
  .home-view .hub-daily .hub-content small{font-size:10px}
  .solo-view,.daily-screen,.profile-screen{padding:13px 0 25px}
  .screen-back{margin-bottom:18px;padding:9px 13px;font-size:10px}
  .daily-screen-panel{padding:23px 18px}.daily-screen-star{margin:15px 0 8px}
  .daily-screen-panel h1{font-size:clamp(42px,12vw,65px)}
  .daily-screen-description{font-size:13px}
  .profile-screen>.profile-dialog{width:100%;max-height:none;padding:18px 14px}
}
@media(prefers-reduced-motion:reduce){.screen-back{transition:none}}

/* V12.15 — PWA installation entry: below menu, no extra topbar clutter. */
.home-install-area{display:flex;flex-direction:column;align-items:center;gap:7px;margin:22px 0 0}
.home-install-area[hidden]{display:none}
.home-install-button{display:inline-flex;align-items:center;gap:10px;border:1px solid #ed815a;border-radius:7px;background:#292e25;color:#fff0e5;font:700 12px/1.2 var(--body);letter-spacing:.09em;padding:12px 16px;cursor:pointer;transition:border-color .15s,background .15s}
.home-install-button:hover{background:#3c352b;border-color:#f3aa8d}
.home-install-button:focus-visible{outline:3px solid #f16d3c;outline-offset:4px}
.home-install-area small{color:#adb9a9;font-size:11px;line-height:1.4;text-align:center}
.pwa-install-dialog{width:min(420px,calc(100vw - 36px));max-width:100%;padding:26px;border:1px solid #6c705d;border-radius:12px;background:#171d18;color:#f4f2e7;box-shadow:0 20px 80px #0009}
.pwa-install-dialog::backdrop{background:#000b}
.pwa-install-dialog h2{font:800 27px/1.1 var(--heading);letter-spacing:.02em;color:#f16d3c;margin:0 0 16px}
.pwa-install-dialog p{font:500 14px/1.6 var(--body);margin:0 0 24px;color:#e0e5d9}
.pwa-install-dialog button{padding:11px 16px;border:0;border-radius:6px;background:#f16d3c;color:#1b1c17;font:800 12px var(--body);cursor:pointer}
@media(max-width:600px){.home-install-area{margin:14px 0 0}.home-install-button{font-size:11px;padding:11px 14px}.home-install-area small{font-size:10px}}
