:root{font-family:Inter,system-ui,sans-serif;color:#eaf0f5;background:#0b1420}*{box-sizing:border-box}body{margin:0}main{max-width:540px;margin:auto;padding:24px 20px 60px}header,.brand,.scoretop,.sectionhead,.foot{display:flex;align-items:center;justify-content:space-between}.brand{justify-content:start;gap:12px}.logo{display:grid;place-items:center;background:#c9f65d;color:#111e19;width:42px;height:42px;border-radius:14px;font-size:25px;font-weight:900}.brand small,.sectionhead small{display:block;color:#8292a4;font-size:10px;font-weight:800;letter-spacing:.13em}.brand strong{display:block;font-size:15px;margin-top:4px}.icon{background:#1b2a39;color:white;border:0;border-radius:50%;width:40px;height:40px;font-size:20px}.score{margin:28px 0 32px;background:linear-gradient(140deg,#223947,#172735);border:1px solid #344957;border-radius:24px;padding:22px;box-shadow:0 18px 40px #0003}.scoretop{font-size:10px;letter-spacing:.1em;color:#a5b3bd;font-weight:800}.live{color:#c9f65d}.board{display:flex;justify-content:center;align-items:end;gap:25px;text-align:center;margin:26px 0 20px}.board span{display:block;color:#a3b4be;font-size:10px;font-weight:700;letter-spacing:.1em}.board strong{display:block;font-size:70px;line-height:1.1;letter-spacing:-.05em}.divider{font-size:35px;color:#637987;padding-bottom:13px}.serve{border-top:1px solid #425563;padding-top:15px;text-align:center;font-size:13px;color:#c9f65d}.sectionhead{align-items:end}h1{font-size:25px;margin:8px 0 0;letter-spacing:-.03em}.badge{font-size:11px;color:#9aabb6;background:#1d2b39;border-radius:20px;padding:8px 10px}.hint{color:#9aabb6;font-size:14px;line-height:1.5;margin:12px 0 22px}.choices{display:grid;gap:10px}.choice{display:flex;align-items:center;text-align:left;gap:15px;width:100%;border:1px solid #2b3a49;background:#172433;color:#eff5f6;border-radius:17px;padding:16px;font:inherit;cursor:pointer}.choice:hover{border-color:#b8e85c}.choice .emoji{font-size:22px;background:#263746;border-radius:12px;width:44px;height:44px;display:grid;place-items:center}.choice b{font-size:15px;display:block}.choice small{display:block;color:#93a3b1;font-size:12px;margin-top:4px}.choice:after{content:'›';margin-left:auto;color:#7f929e;font-size:24px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.grid button,.input,.primary{border:1px solid #344655;background:#182837;color:#fff;border-radius:14px;padding:17px;font-size:17px}.input{width:100%;margin-bottom:12px}.primary{background:#c9f65d;color:#152118;font-weight:800;width:100%;border:0}.foot{gap:10px;margin-top:24px}.secondary{flex:1;background:transparent;color:#9facb7;border:1px solid #2b3a49;border-radius:13px;padding:13px;font-size:13px}.history{color:#8497a4;font-size:12px;margin-top:24px;line-height:1.7}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #c9f65d}
.court-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:0 0 18px;padding:8px;border:2px solid #496f64;border-top:5px solid #c9f65d;border-radius:10px;background:#234a42}.court-grid button{border:1px solid #548577;background:#1b3635;color:#eef5ef;padding:15px 4px;border-radius:7px;font:inherit}.court-grid button:disabled{opacity:.65;cursor:default}
.court-net{text-transform:uppercase;letter-spacing:.2em;font-size:11px;font-weight:800;color:#c9f65d;text-align:center;margin:0 0 8px}
.lineup-court{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;border:2px solid #628778;border-top:5px solid #c9f65d;border-radius:10px;background:#244b40}
.lineup-cell{aspect-ratio:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:#18372e;border:1px solid #527b69;border-radius:8px;color:#b9d0c4;font-size:12px;font-weight:700}
.lineup-cell:focus-within{border-color:#c9f65d;background:#24473a}
.lineup-cell input{width:78%;min-width:0;text-align:center;background:transparent;color:#f2faf5;border:1px solid transparent;border-radius:6px;padding:4px;font:800 clamp(21px,7vw,38px)/1.15 system-ui}
.lineup-cell input::placeholder{color:#a0b6a9}
.lineup-cell input[aria-invalid=true]{border-color:#ff9986}
.lineup-error{color:#ffb6a7;font-size:13px;min-height:1em}
