:root{font-family:Inter,Helvetica Neue,PingFang SC,Microsoft YaHei,sans-serif;color:#252824;background:#f4f1ea;font-synthesis:none;--muted:#71766c;--line:#dbddd2;--orange:#dc4b28;--green:#193f35}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;opacity:.55}button,select,summary,a{touch-action:manipulation}button{transition:background .16s,transform .12s,box-shadow .16s}button:active:not(:disabled){transform:translateY(2px)}button:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #df663e;outline-offset:5px}button svg{width:20px;height:20px;stroke-width:1.6}button{color:inherit}button[hidden],[hidden]{display:none!important}.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}.skip-link{position:fixed;top:-100px;left:16px;background:#fff;padding:12px;z-index:20}.skip-link:focus{top:12px}.app-shell{max-width:1320px;margin:auto;padding:0 54px}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:#243f34;text-decoration:none;font-size:31px;font-weight:800;letter-spacing:-1.5px}.brand-period{font-size:12px;align-self:flex-start;margin:7px 0 0 -7px;letter-spacing:0}.brand-mark{width:29px;height:31px;position:relative;margin-right:2px}.brand-mark i{position:absolute;width:12px;height:12px;background:#e65e3b;border-radius:50%}.brand-mark i:nth-child(1){left:9px;top:0}.brand-mark i:nth-child(2){left:0;top:17px}.brand-mark i:nth-child(3){right:0;top:17px}.header-right{display:flex;align-items:center;gap:25px}.local-label{font-size:12px;color:#636e60;display:flex;align-items:center;gap:7px}.local-label i,.stage-footer i{width:5px;height:5px;border-radius:50%;background:#6a8a63;display:inline-block}.icon-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d9ddcf;border-radius:50%;background:transparent}.icon-button:hover{background:#e9eadd}main{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:76px;align-items:center;padding:37px 0 35px}.play-area{min-width:0}.stage-heading,.stage-footer{display:flex;justify-content:space-between;color:#777d70;font-size:10px;font-weight:600;letter-spacing:1.7px}.stage-heading{padding:0 12px}.stage{position:relative;width:100%;height:min(690px,calc(100svh - 235px));min-height:480px;margin:8px 0 0}#board{width:100%;height:100%;display:block}.slot-labels{position:absolute;inset:0;pointer-events:none}.slot-value{position:absolute;transform:translate(-50%,-50%);font-size:12px;font-weight:800;color:#16342b;font-variant-numeric:tabular-nums;letter-spacing:-.7px;text-shadow:0 1px 0 #ffffff33;transition:color .15s}.slot-value.hit{color:#fff}.stage-footer{font-size:9px;letter-spacing:1.1px;padding:0 12px;margin-top:4px}.stage-footer>span:first-child{display:flex;align-items:center;gap:8px}.stage-footer>span:last-child{letter-spacing:.5px}.stage-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;background:#f4f1eaef;border-radius:20px;font-size:13px;color:var(--green);z-index:3}.stage-message button{padding:12px 20px;border:1px solid #b5c1b2;border-radius:8px;background:#fff}.loading-ball{width:20px;height:20px;background:#eb5b36;border-radius:50%;box-shadow:inset -4px -4px 7px #94311355;animation:breathe .8s ease-in-out infinite alternate}.score-pop{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);font-size:28px;pointer-events:none;color:#fff3d6;font-weight:800;opacity:0;text-shadow:0 2px 8px #10342e;letter-spacing:-1px}.score-pop.show{animation:score .8s ease-out both}.score-pop.big{font-size:40px;color:#ffe09b}.controls{outline:none}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#6c786b}h1{font-size:48px;line-height:1.3;font-weight:650;letter-spacing:-2px;margin:15px 0 13px}h1 span{color:var(--orange)}.intro p{font-size:12px;color:#747a70;margin:0}.scoreboard{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:1px solid var(--line);padding:26px 0 22px;margin-bottom:16px}.field-label{font-size:11px;letter-spacing:.5px;color:#687364}.score-main{display:flex;flex-direction:column;gap:7px}.score-main strong{font-size:47px;line-height:1;letter-spacing:-2px;font-weight:500;font-variant-numeric:tabular-nums}.score-main strong span{font-size:27px;color:#899081}.best{display:flex;flex-direction:column;gap:10px;text-align:right;padding-bottom:3px}.best strong{font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}.ball-picker{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.swatches{display:flex;gap:5px}.swatch{width:44px;height:44px;background:none;border:1px solid transparent;border-radius:50%;display:grid;place-items:center;padding:0}.swatch[aria-pressed=true]{border-color:#9aa28f;background:#e8e8dc}.swatch i{width:23px;height:23px;border-radius:50%;box-shadow:inset -3px -4px 6px #0003,0 2px 3px #0001;border:1px solid #00000012;background:radial-gradient(circle at 32% 25%,#ffffff99 0%,transparent 50%),var(--ball)}.coral{--ball:#eb5b36}.cream{--ball:#fff3db}.mint{--ball:#8ac9ad}.mode-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;height:44px}.segmented{display:flex;border:1px solid #d8dccc;background:#eaece2;padding:3px;border-radius:9px}.segmented button{min-width:65px;min-height:38px;border:0;border-radius:6px;background:transparent;font-size:12px;color:#6b7566}.segmented button[aria-pressed=true]{background:#fffef8;color:#243b30;box-shadow:0 1px 3px #0000000b}.key-hint{font-size:10px;color:#79816e;display:flex;gap:6px;align-items:center}kbd{font-family:inherit;border:1px solid #d5d9cb;padding:4px 5px;border-radius:4px;font-size:9px;letter-spacing:.2px}select{background:#faf9f3;border:1px solid #d3d8c9;border-radius:7px;min-height:44px;padding:0 10px;font-size:12px;color:var(--green)}.drop-button{border:1px solid #b94727;background:#e65d37;color:#fff8e8;border-radius:12px;width:100%;height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;font-size:17px;font-weight:600;box-shadow:0 4px #b84425,0 8px 18px #ad482319}.drop-button:hover:not(:disabled){background:#ef6843;box-shadow:0 4px #b84425,0 10px 22px #ad482328}.drop-button:active:not(:disabled){box-shadow:0 1px #b84425;transform:translateY(3px)}.drop-button.stopping{background:#234d3e;border-color:#18392e;box-shadow:0 4px #143126}.drop-button.stopping:hover{background:#315f4c}.drop-button svg{width:22px;height:22px}.drop-button>span:last-child{display:flex}.play-status{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#737d6c;margin:16px 0 24px;min-height:15px}.history-title{display:flex;justify-content:space-between;align-items:center}.history-title>span:last-child{font-size:8px;letter-spacing:1.6px;color:#868c7e}#history{display:flex;gap:5px;list-style:none;padding:0;margin:11px 0 0;min-height:32px;overflow:auto;scrollbar-width:none}#history li:not(.history-empty){min-width:30px;height:30px;border-radius:5px;background:#dfe5d7;display:grid;place-items:center;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;color:#35503e}#history li.high{background:#edc5a4;color:#6b3925}#history .history-empty{font-size:11px;color:#7d8575;padding:7px 0}details{margin-top:18px;border-top:1px solid var(--line);font-size:11px;color:#6c7765}summary{list-style:none;cursor:pointer;min-height:44px;display:flex;justify-content:space-between;align-items:center}summary::-webkit-details-marker{display:none}summary svg{width:15px;height:15px}details[open] summary svg{transform:rotate(45deg)}details p{line-height:1.9;margin:2px 0 12px}.page-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:20px 0 24px;font-size:9px;letter-spacing:1.4px;color:#899080}.page-footer>span:last-child{letter-spacing:.5px}@keyframes breathe{to{transform:translateY(-10px)}}@keyframes score{0%{opacity:0;transform:translate(-50%)}20%{opacity:1}80%{opacity:1}to{opacity:0;transform:translate(-50%,-45px)}}@media(min-width:1500px){main{gap:90px;padding-top:45px}.stage{height:710px}.app-shell{max-width:1370px}}@media(max-width:1050px)and (min-width:701px){.app-shell{padding:0 28px}main{gap:28px;grid-template-columns:minmax(0,1fr) 260px}.stage{min-height:470px}h1{font-size:42px}}@media(max-width:700px){.app-shell{padding:0 19px}.topbar{height:66px}.brand{font-size:25px;gap:8px}.brand-mark{transform:scale(.83);margin-left:-3px;margin-right:-2px}.brand-period{font-size:10px}.header-right{gap:13px}.local-label{font-size:10px}.icon-button{width:40px;height:40px}main{display:flex;flex-direction:column;gap:0;padding:12px 0 0;position:relative}.play-area{width:calc(100% + 20px);margin-top:64px}.stage-heading{font-size:8px;letter-spacing:1.2px;padding:0 16px}.stage{height:auto;aspect-ratio:.86;min-height:0;margin-top:0}.stage-footer{display:none}.controls{width:100%}.intro{display:none}.scoreboard{position:absolute;top:9px;left:0;right:0;margin:0;border:0;padding:0 2px;align-items:center}.score-main{gap:4px}.score-main strong{font-size:31px;letter-spacing:-1px}.score-main strong span{font-size:19px}.field-label{font-size:10px}.best{gap:4px;padding:0}.best strong{font-size:22px}.ball-picker{margin-top:0;margin-bottom:5px}.swatch{width:44px;height:44px}.mode-row{margin-bottom:10px}.segmented button{min-width:65px}.key-hint{display:none}.drop-button{height:54px;border-radius:10px;font-size:16px}.play-status{margin:12px 0 14px}.history-title>span:last-child{font-size:8px}.history-section{padding-top:1px}#history{margin-top:7px;min-height:30px}details{margin-top:12px}.page-footer{padding:16px 0 calc(18px + env(safe-area-inset-bottom));font-size:7px;letter-spacing:.8px}.page-footer>span:last-child{font-size:8px}.slot-value{font-size:12px;letter-spacing:-.8px}.score-pop{font-size:24px}}@media(max-width:360px){.app-shell{padding:0 12px}.header-right{gap:5px}.local-label{font-size:9px}.play-area{width:calc(100% + 16px)}.stage-heading{padding:0 10px}.page-footer{letter-spacing:0}.slot-value{font-size:12px;letter-spacing:-1px}}@media(min-width:701px){.app-shell{max-width:1500px;padding:0 32px}.topbar{height:76px}main{gap:36px;padding:20px 0}.stage{height:max(560px,calc(100svh - 175px))}}@media(max-width:700px){.icon-button{width:44px;height:44px}.stage{aspect-ratio:.8}}.stage{overflow:hidden}.segmented button{min-height:44px}.mode-row{height:52px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.score-pop{display:none}}
