@font-face{font-family:system;src:local("Arial")}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#101b19;background-image:radial-gradient(ellipse at 25% 30%,#263a30 0,transparent 65%);color:#f3f1e7;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100dvh}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d5f898;outline-offset:5px}[hidden]{display:none!important}main{max-width:1240px;margin:auto;padding:calc(26px + env(safe-area-inset-top)) 36px calc(20px + env(safe-area-inset-bottom))}.header{display:flex;justify-content:space-between;align-items:center;padding-bottom:25px;border-bottom:1px solid #ffffff18}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:15px;letter-spacing:.07em}.brand b{font-weight:800}.brand small{display:block;font-size:9px;letter-spacing:.22em;color:#9cae9f;margin-top:5px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border:1px solid #c7ec8b;border-radius:50%;font-size:30px;color:#c7ec8b}.header-actions{display:flex;gap:8px}.quiet{border:1px solid #ffffff25;border-radius:25px;padding:10px 15px;background:#ffffff06;color:#e1e8d9;font-size:12px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:55px;padding-top:34px}.intro{text-align:center}.eyebrow{font-size:10px;letter-spacing:.2em;color:#c7ec8b;font-weight:700}h1{font-size:clamp(28px,3.5vw,44px);letter-spacing:-.055em;margin:8px 0 7px;font-weight:650}.intro p{color:#9cae9f;font-size:14px;margin:0}.stage{position:relative;max-width:590px;margin:14px auto 4px;perspective:1100px}.stage svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 22px 15px #0009);transform:rotateX(7deg)}.arena-foot{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:.12em;color:#93a398;max-width:520px;margin:16px auto 0}.arena-foot i{display:inline-block;width:5px;height:5px;background:#c7ec8b;border-radius:50%;margin-right:6px}.sidebar{padding-top:8px}.play-panel,.results-panel{border:1px solid #ffffff16;background:linear-gradient(135deg,#24352dbb,#182820);border-radius:20px;padding:24px;box-shadow:0 14px 35px #0002}.section-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.pill{font-size:9px;letter-spacing:.1em;border:1px solid #c7ec8b40;border-radius:20px;padding:5px 9px;color:#c7ec8b}label{font-size:12px;color:#aebeaf;display:block;margin-bottom:9px}select{width:100%;background:#101f18;border:1px solid #52634e;border-radius:9px;color:#f3f1e7;padding:12px;font-size:16px}.turn{padding:24px 0 20px}.turn>span{font-size:9px;letter-spacing:.16em;color:#9cae9f}.turn strong{display:block;font-size:28px;letter-spacing:-.04em;margin:5px 0}.turn p{font-size:12px;color:#b9cbb2;margin:0;min-height:32px;line-height:1.5}.primary,.secondary{width:100%;border-radius:10px;min-height:50px;border:0;padding:13px 17px;font-weight:750;font-size:15px}.primary{background:#c7ec8b;color:#182616;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 0 #698c46}.primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #698c46}.primary span:last-child{font-size:23px;line-height:1}.secondary{background:transparent;color:#bbc9b7;border:1px solid #ffffff20;margin-top:13px;font-size:12px}.rule{font-size:11px;line-height:1.65;color:#91a38f;margin:18px 0 0}.results-panel{margin-top:18px;padding:20px 24px}.results-panel .section-top{margin-bottom:12px}h2{font-size:15px;margin:0;font-weight:600}#counter{font-size:12px;color:#c7ec8b;font-variant-numeric:tabular-nums}.progress{background:#ffffff0b;height:3px;border-radius:3px;overflow:hidden}#progress-fill{background:#c7ec8b;height:100%;transition:width .3s;width:0}#scores{padding:0;list-style:none;margin:10px 0 0;max-height:310px;overflow:auto;scrollbar-width:thin}#scores li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff0c;font-size:12px}#scores li:last-child{border-bottom:0}#scores .dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}#scores strong{margin-left:auto;color:#e6f6d0;font-size:21px;font-variant-numeric:tabular-nums}#empty{font-size:12px;color:#91a38f;padding:12px 0 3px}.connection{text-align:center;font-size:10px;color:#93a398;margin:14px 0}footer{display:flex;justify-content:space-between;gap:12px;margin-top:36px;border-top:1px solid #ffffff18;padding-top:17px;color:#738b7b;font-size:9px;letter-spacing:.1em}footer span:nth-child(2){letter-spacing:0}.notice{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;background:#324332;border-radius:9px;padding:12px;margin-top:16px}.notice button{background:#c7ec8b;color:#182616;border:0;border-radius:6px;padding:9px}.dart{filter:url(#dart-shadow)}.dart-flight{transform-box:fill-box;transform-origin:center;animation:fly .85s cubic-bezier(.16,.65,.27,1) both}@keyframes fly{0%{opacity:0;transform:translate(155px,360px) scale(3.5) rotate(-18deg)}12%{opacity:1}87%{transform:translate(-3px,-6px) scale(1.08) rotate(2deg)}100%{opacity:1;transform:translate(0,0) scale(1)}}@media(max-width:850px){main{padding-left:20px;padding-right:20px}.layout{gap:22px;grid-template-columns:minmax(0,1fr) 290px}.play-panel,.results-panel{padding:20px}.arena-foot{font-size:8px}}@media(max-width:650px){main{padding:calc(16px + env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom))}.header{padding-bottom:17px}.brand{font-size:12px;gap:8px}.brand-mark{width:32px;height:32px;font-size:24px}.brand small{font-size:8px}.quiet{font-size:11px;padding:9px 11px}.layout{grid-template-columns:1fr;gap:20px;padding-top:24px}.intro h1{font-size:32px}.intro p{font-size:12px}.stage{max-width:450px;margin-top:10px}.arena-foot{max-width:380px;margin-top:6px}.sidebar{padding-top:0}.play-panel{position:relative}.play-panel .section-top{margin-bottom:16px}.turn{padding:18px 0}.turn p{min-height:18px}.turn strong{font-size:26px}.rule{margin-top:15px}.results-panel{margin-top:14px}footer{margin-top:20px}footer span:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){.dart-flight{animation-duration:.06s}#progress-fill{transition:none}.stage svg{transform:none}}
/* Keep the board and touch controls together on phone screens, including Safari's toolbars. */
.dock-turn{display:none}
@media(max-width:650px){
  main{padding-bottom:calc(130px + env(safe-area-inset-bottom))}
  .stage{width:min(100%,max(180px,calc(100svh - 360px)))}
  .controls{position:fixed;z-index:10;inset:auto 0 0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px 12px;padding:10px max(16px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#101b19f5;border-top:1px solid #c7ec8b30;box-shadow:0 -8px 24px #0004;backdrop-filter:blur(12px)}
  .dock-turn{display:block;grid-column:1/-1;font-size:12px;color:#d7e8c2;text-align:center;min-height:16px}
  .controls .primary,.controls .secondary{margin:0;min-height:50px}
  .controls .secondary{background:#233329}
}
