:root{--bg:#f6f7f3;--paper:#fff;--ink:#233a32;--muted:#89918b;--green:#174d3d;--deep:#153f35;--line:#e9ede6;--font:"Inter","Segoe UI","Microsoft YaHei",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button,a,input,summary,canvas{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.43}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,canvas:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #a7c691;outline-offset:4px;border-radius:8px}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:218px;border-right:1px solid var(--line);background:#fbfcf9;display:flex;flex-direction:column;padding:36px 22px;z-index:10}.brand{display:flex;align-items:center;gap:11px;margin:0 0 55px 3px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--deep);border-radius:14px;color:#edf3d7}.brand-mark svg{width:32px;height:32px;stroke-width:1.2}.brand strong{font-size:18px;letter-spacing:1px;display:block;line-height:1.4}.brand small{font-size:9px;letter-spacing:2.9px;color:#9baba1}.nav-caption{font-size:10px;letter-spacing:1.5px;color:#a8b0a7;margin:0 12px 16px}nav{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:14px;border-radius:9px;height:48px;padding:0 13px;font-size:13px;color:#89978e;text-align:left;transition:background .2s}.nav-item:hover{background:#f0f3ec}.nav-item.active{color:var(--green);background:#e9efe4;font-weight:600}.nav-item svg{width:18px;height:18px}.nav-dot{display:none;width:5px;height:5px;background:#477f58;border-radius:50%;margin-left:auto}.nav-item.active .nav-dot{display:block}.nav-count{margin-left:auto;font-size:10px;background:#e9ede7;padding:1px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:25px 10px 0}.tiny-wheel{height:50px;width:50px;border:1px solid #d6decf;border-radius:50%;display:grid;place-items:center;position:relative;color:#b0bea0;font-size:31px}.tiny-wheel:before{content:"";position:absolute;border:1px solid #e1e6dc;inset:6px;border-radius:50%}.sidebar-bottom p{font-size:12px;color:#8b978d;line-height:1.9;margin:18px 0 30px}.version{color:#9aa69a;font-size:8px;letter-spacing:.6px;white-space:nowrap;display:flex;align-items:center;gap:6px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#76a478}
main{margin-left:218px;padding:0 44px;max-width:1660px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:#a4aea5;display:flex;gap:14px;align-items:center}.breadcrumb span{color:#c4ccc2}.breadcrumb strong{font-weight:500;color:#617568}.top-actions{display:flex;align-items:center;gap:20px}.sound-button{display:flex;align-items:center;gap:8px;font-size:11px;color:#76857b;padding:7px 0}.sound-button svg{width:15px;height:15px}.top-divider{height:15px;width:1px;background:#dce3d9}.local-badge{font-size:10px;color:#96a292}.view{animation:appear .25s ease}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:35px 0 28px;gap:24px}.eyebrow{font-size:9px;letter-spacing:2.1px;font-weight:600;color:#98a790}.page-heading h1{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.3;margin:9px 0 8px}.title-star{font-size:25px;color:#abb897;margin-left:13px;vertical-align:3px;font-weight:400}.page-heading p{color:#8a968c;font-size:12px;margin:0}.rule-pill{font-size:10px;color:#748369;display:flex;gap:10px;align-items:center;border:1px solid #e1e7da;background:#f0f4e9;border-radius:24px;padding:9px 14px;margin-top:23px;white-space:nowrap}.rule-dot{background:#a4b58d;width:5px;height:5px;border-radius:50%}.rule-pill>span:not(.rule-dot){color:#c0cbb5}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:22px;align-items:start}.machine-panel,.control-panel,.result-panel,.history-panel,.about-card{background:var(--paper);border:1px solid var(--line);border-radius:16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 25px 18px}.panel-heading h2{font-size:14px;margin:0;font-weight:600}.panel-heading p{font-size:10px;color:#a0aca0;margin:4px 0 0}.engine-status{font-size:9px;border:1px solid #e5ebdf;padding:5px 9px;border-radius:20px;color:#8da080;display:flex;align-items:center;gap:6px;white-space:nowrap}.engine-status.running{color:var(--green);background:#edf4e8}.engine-status.running .status-dot{animation:blink 1.3s infinite}.stage{height:382px;position:relative;margin:0 17px;border-radius:11px;background-color:#f5f7f1;background-image:radial-gradient(#dce3d5 .7px,transparent .7px);background-size:16px 16px;overflow:hidden}.stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 25%,#f5f7f1d9 75%);pointer-events:none}.stage-label{position:absolute;top:21px;left:23px;display:flex;align-items:center;gap:9px;z-index:1}.stage-label>span{font-size:30px;line-height:1.2;font-weight:300;letter-spacing:-1px;color:#c1cbb4}.stage-label strong{font-size:11px;display:block;font-weight:500;color:#7e8d74}.stage-label small{font-size:8px;color:#a8b29f;display:block}.stage-reference{position:absolute;top:26px;right:20px;font-size:8px;color:#9aa68c;display:flex;gap:5px;align-items:center}.stage-reference span{height:8px;width:8px;border:1px solid #a9b396;transform:rotate(45deg)}#main-wheel{display:block;position:absolute;top:-3px;left:50%;transform:translateX(-50%);width:356px;height:356px;max-width:100%;touch-action:none;cursor:default;border-radius:50%}.manual #main-wheel{cursor:grab}.manual #main-wheel:active{cursor:grabbing}.drag-hint{position:absolute;left:0;right:0;bottom:53px;display:flex;justify-content:center;align-items:center;gap:5px;pointer-events:none;color:#a0aa93;font-size:9px}.drag-hint svg{width:12px;height:12px}.stage-meters{position:absolute;bottom:0;left:0;right:0;height:44px;border-top:1px solid #e5eade;display:flex;align-items:center;justify-content:center;gap:24px;background:#f4f6eff0}.stage-meters div{display:flex;align-items:baseline;gap:10px}.stage-meters div>span{font-size:8px;color:#a1ac96}.stage-meters strong{font-family:Consolas,monospace;font-size:13px;font-weight:400;color:#5b7053;font-variant-numeric:tabular-nums}.stage-meters small{font-family:var(--font);font-size:8px;color:#a2ad97}.meter-divider{height:12px;width:1px;background:#d9e1d2}.wheel-state{font-size:8px;color:#91a080;border:1px solid #dbe3d2;border-radius:3px;padding:0 5px}.wheel-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:17px 20px 15px}.mini-wheel{border:1px solid transparent;border-radius:9px;display:flex;flex-direction:column;align-items:center;padding:6px 0 5px;background:#f8faf6;transition:background .2s;min-width:0}.mini-wheel:hover{background:#eef3e8}.mini-wheel.selected{border-color:#b0c1a0;background:#eff4e9}.mini-caption{font-size:8px;color:#9aa68f;line-height:1.4}.mini-wheel.selected .mini-caption{color:#6f875f}.mini-wheel canvas{width:100%;max-width:72px;aspect-ratio:1;display:block}.mini-value{font-size:12px;font-family:Consolas,monospace;line-height:1.4;color:#6a825b;min-height:16px}.mini-wheel:last-child .mini-value{color:#b28352}.mini-wheel.spinning .mini-value{color:#a9b699;animation:blink 1s infinite}.machine-footer{border-top:1px solid #eff2eb;margin:0 22px;padding:11px 0 13px;display:flex;justify-content:space-between;font-size:8px;color:#a3ada0}.machine-footer>span:first-child{display:flex;align-items:center;gap:5px}.machine-footer i{border:1px solid #a4b399;width:6px;height:6px;border-radius:2px}.control-panel{padding:26px 24px 18px}.control-panel .eyebrow{font-size:7px;letter-spacing:1.5px}.control-panel h2{font-size:22px;letter-spacing:-.7px;font-weight:500;line-height:1.4;margin:13px 0}.control-intro{font-size:11px;line-height:1.9;color:#97a393;margin:0 0 23px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:#f4f6f0;border:1px solid #eef1e9;border-radius:7px;padding:3px;gap:3px;margin-bottom:14px}.mode-switch button{font-size:10px;padding:7px;border-radius:4px;color:#99a68f}.mode-switch button.active{background:white;box-shadow:0 1px 4px #2035200a;color:#55774b;font-weight:600}.start-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:49px;color:#f3f7eb;background:var(--green);border-radius:8px;font-size:12px;transition:background .2s,transform .15s;box-shadow:0 4px 10px #153f3511}.start-button:hover{background:#22644e}.start-button:active{transform:scale(.98)}.start-button>svg{width:21px;height:21px;stroke-width:1.1}.start-button .start-arrow{width:14px;height:14px;margin-left:auto;stroke-width:1.5}.start-button>svg:first-child{margin-right:auto}.start-button:disabled{opacity:.8;background:#557764;cursor:wait}.session-message{font-size:9px;text-align:center;color:#a3ae9b;min-height:18px;margin-top:12px}.control-divider{height:1px;background:var(--line);margin:22px 0}.parameter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.parameter-heading h3{font-size:11px;font-weight:500;margin:0}.text-button{font-size:9px;color:#8f9e85;padding:0;display:inline-flex;align-items:center;gap:6px}.text-button:hover{color:var(--green)}.text-button svg{width:13px;height:13px}.range-label{display:flex;justify-content:space-between;font-size:10px;align-items:center;margin:0 0 8px}.range-label>span{color:#768970}.range-label output{font-size:9px;background:#f1f5ec;border:1px solid #e8edde;border-radius:4px;padding:1px 6px;color:#8a9d76}.range-ends{display:flex;justify-content:space-between;font-size:8px;color:#b1baab;margin-top:2px}.second-range{margin-top:19px}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:17px;margin:0;background:transparent;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:10px;background:linear-gradient(to right,#819e69 var(--fill,50%),#e5eadf var(--fill,50%))}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:3px solid #678d51;height:13px;width:13px;border-radius:50%;margin-top:-5px;box-shadow:0 0 0 3px #eff4e8}input[type=range]::-moz-range-track{height:3px;border-radius:10px;background:#e5eadf}input[type=range]::-moz-range-progress{background:#819e69;height:3px}input[type=range]::-moz-range-thumb{background:#fff;border:3px solid #678d51;width:8px;height:8px;border-radius:50%}.physics-details{margin-top:24px;padding-top:13px;border-top:1px solid var(--line);font-size:9px;color:#94a38a}.physics-details summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none}.physics-details summary::-webkit-details-marker{display:none}.physics-details summary span{color:#a5b29d;font-size:13px}.physics-details[open] summary span{transform:rotate(45deg)}.physics-details dl{margin:13px 0 0}.physics-details dl div{display:flex;justify-content:space-between;padding:4px 0;font-size:8px}.physics-details dd{margin:0;font-family:Consolas,monospace;color:#728569}.note-panel{display:flex;gap:11px;padding:18px 14px 0}.note-icon{font-size:26px;line-height:1;color:#afbf95}.note-panel strong{display:block;font-size:10px;font-weight:500;color:#8c9c7c}.note-panel p{font-size:9px;line-height:1.9;color:#a3ad98;margin:5px 0 0}
.result-panel{margin-top:22px;padding:22px 25px 25px}.result-head{display:flex;justify-content:space-between;align-items:center}.result-head .eyebrow{font-size:7px;letter-spacing:1.8px}.result-head h2{font-size:14px;font-weight:500;margin:5px 0 0}.result-actions{display:flex;gap:20px}.icon-button{display:flex;gap:5px;align-items:center;padding:4px 0;font-size:10px;color:#9aa78e}.icon-button:hover{color:var(--green)}.icon-button svg{width:13px;height:13px}.result-body{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:23px}.result-numbers{display:flex;align-items:center;gap:9px}.result-ball{width:45px;height:48px;display:grid;place-items:center;background:#f0f4e9;border:1px solid #e2e9d6;border-radius:10px;color:#92a580;font-family:Consolas,monospace;font-size:26px;transition:color .3s,background .3s}.result-ball.revealed{color:#345c39;background:#e9f0df;border-color:#d7e2c6;animation:reveal .35s ease}.result-ball.spinning{color:#acb99e;animation:blink 1.5s infinite}.result-ball.back{background:#faf2e7;border-color:#f0e0c9;color:#c7ab80;width:51px}.result-ball.back.revealed{color:#b07e3f;background:#f9eddc;border-color:#ead3ac}.result-plus{color:#bac6ac;font-size:18px;margin:0 2px}.result-meta strong{display:block;font-weight:400;font-size:10px;color:#9ba98f}.result-meta span{display:block;font-size:8px;color:#b1bbaa;margin-top:5px}.recent-panel{margin-top:27px}.recent-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px}.recent-head h2{margin:0;font-size:12px;font-weight:500}.recent-head h2>span,.history-panel-heading h2 span{font-size:9px;margin-left:6px;color:#a5b19c;background:#eaf0e3;border-radius:4px;padding:2px 5px}.history-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-top:1px solid #e5eade;gap:15px}.history-id{font-size:9px;color:#a6b09b;width:55px;font-family:Consolas,monospace}.history-numbers{display:flex;gap:7px;align-items:center;margin-right:auto}.history-numbers span{width:23px;height:25px;display:grid;place-items:center;background:#eaf0e2;border-radius:5px;color:#6d8758;font-size:11px;font-family:Consolas,monospace}.history-numbers .back{background:#f5eadb;color:#b28c5a;width:29px}.history-numbers i{font-style:normal;color:#b4c2a5;font-size:12px;margin:0 2px}.history-mode{font-size:8px;color:#9fab96;border:1px solid #dfe7d5;border-radius:4px;padding:1px 5px}.history-time{font-size:9px;color:#a3ad98;font-family:Consolas,monospace}.history-copy{color:#9dab8e;padding:4px}.history-copy svg{width:13px;height:13px}.empty-history{height:76px;border-top:1px solid #e5eade;display:flex;justify-content:center;align-items:center;gap:8px;color:#abb59f;font-size:10px}.empty-history svg{width:15px;height:15px}.page-footer{display:flex;justify-content:space-between;font-size:8px;color:#b2bcaa;border-top:1px solid var(--line);margin-top:25px;padding:18px 0 25px}.outline-button{border:1px solid #dce5d3;border-radius:7px;display:flex;gap:8px;align-items:center;padding:10px 14px;font-size:11px;color:#759265}.outline-button:hover{background:#edf2e7}.outline-button svg{width:15px;height:15px}.history-panel{padding:24px}.history-panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.history-panel-heading h2{font-size:14px;font-weight:500;margin:0}.history-panel-heading>span{font-size:9px;color:#9da991}.history-panel .history-row{padding:17px 0}.history-panel .history-id{width:65px}.history-panel .history-numbers span{width:30px;height:33px;font-size:14px}.history-panel .history-numbers .back{width:38px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding-bottom:40px}.about-card{padding:32px}.about-number{font-family:Consolas,monospace;font-size:9px;color:#99aa87;letter-spacing:2px}.about-card h2{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:18px 0}.about-card p{color:#859879;font-size:12px;line-height:2}.about-equation{font-size:12px;color:#66814f;padding:20px;background:#f1f5eb;border-radius:8px;margin-top:25px;text-align:center;word-spacing:8px}.text-link{display:inline-flex;gap:8px;align-items:center;color:#588147;font-size:11px;margin-top:10px}.text-link svg{width:15px;height:15px}.about-wide{grid-column:1/-1}.howto-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.howto-columns h3{font-size:13px;font-weight:500;color:#6b8556}.about-footnote{border-top:1px solid var(--line);padding-top:20px;font-size:10px!important;color:#a0ae96!important}.toast{position:fixed;bottom:30px;left:calc(50% + 109px);transform:translateX(-50%) translateY(15px);background:#234b39;color:#f6f9f0;padding:11px 20px;border-radius:8px;box-shadow:0 5px 25px #153f3533;z-index:99;font-size:12px;opacity:0;pointer-events:none;transition:all .2s}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
.manual #main-wheel,.manual #main-wheel:active{cursor:default}.mobile-start-button{display:none}
@keyframes blink{50%{opacity:.5}}@keyframes reveal{from{transform:translateY(5px);opacity:.3}to{transform:translateY(0);opacity:1}}@keyframes appear{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){main{padding:0 60px}.workspace{grid-template-columns:minmax(0,1fr) 330px}.stage{height:415px}#main-wheel{width:389px;height:389px}.control-panel{padding:30px 29px}.control-panel h2{font-size:24px}.control-divider{margin:26px 0}.second-range{margin-top:23px}.physics-details{margin-top:28px}.mini-wheel canvas{max-width:82px}.result-ball{width:51px;height:53px}.result-ball.back{width:58px}}
@media(max-width:1240px){.sidebar{width:190px;padding:30px 16px}main{margin-left:190px;padding:0 25px}.workspace{grid-template-columns:minmax(0,1fr) 278px;gap:18px}.control-panel{padding:25px 21px 17px}.stage-label{left:15px;top:15px}.stage-reference{right:15px;top:20px;font-size:7px}.stage-label>span{font-size:25px}.stage-label small{font-size:7px}.result-meta{max-width:190px}.result-numbers{gap:7px}.result-ball{width:39px;height:44px;font-size:24px}.result-ball.back{width:45px}.toast{left:calc(50% + 95px)}}
@media(max-width:1060px){.sidebar{width:77px;align-items:center;padding:28px 10px}.brand{margin:0 0 48px}.brand>span:last-child,.nav-caption,.nav-item>span,.sidebar-bottom{display:none}.nav-item{padding:0;width:47px;justify-content:center}.nav-item.active .nav-dot{display:none}.brand-mark{width:41px;height:41px;border-radius:12px}main{margin-left:77px;padding:0 27px}.topbar{height:73px}.page-heading{padding-top:28px}.page-heading h1{font-size:29px}.workspace{grid-template-columns:minmax(0,1fr) 272px;gap:17px}.stage-label{opacity:.75}.stage-reference{display:none}.result-meta{display:none}.toast{left:calc(50% + 38px)}}
@media(max-width:820px){.sidebar{width:67px}.nav-item{width:43px}main{margin-left:67px;padding:0 22px}.workspace{grid-template-columns:minmax(0,1fr)}.stage{height:397px}#main-wheel{width:369px;height:369px}.stage-reference{display:flex}.mini-wheel canvas{max-width:78px}.control-panel{padding:25px;display:block}.control-intro br{display:none}.control-panel .control-intro{margin-bottom:15px}.rule-pill{font-size:8px;padding:7px 10px;gap:7px}.page-heading{gap:10px}.result-panel{padding:20px}.result-ball{width:45px;height:47px}.result-numbers{gap:9px}.top-actions{gap:13px}.history-mode{display:none}.note-panel{padding:15px 7px 0}.toast{left:calc(50% + 33px)}}
@media(max-width:590px){.sidebar{position:sticky;width:100%;height:65px;padding:0 18px;flex-direction:row;justify-content:space-between;border-bottom:1px solid var(--line);border-right:0}.brand{margin:0}.brand-mark{height:35px;width:35px;border-radius:10px}.brand-mark svg{width:28px;height:28px}.brand>span:last-child{display:block}.brand strong{font-size:14px;letter-spacing:.5px}.brand small{font-size:6px;letter-spacing:2px}nav{flex-direction:row;gap:5px}.nav-item{height:37px;width:38px;border-radius:8px}.nav-item svg{height:17px;width:17px}main{margin:0;padding:0 16px}.topbar{height:53px}.top-actions{gap:0}.top-divider,.local-badge{display:none}.sound-button{font-size:9px}.breadcrumb{font-size:10px;gap:10px}.page-heading{display:block;padding:25px 0 20px}.page-heading h1{font-size:28px;margin-top:7px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.7px}.page-heading p{font-size:10px}.rule-pill{display:inline-flex;margin-top:14px;font-size:8px}.panel-heading{padding:18px 18px 15px}.panel-heading h2{font-size:12px}.panel-heading p{font-size:8px}.engine-status{font-size:8px;padding:4px 7px}.machine-panel{border-radius:13px}.stage{margin:0 10px;height:349px}#main-wheel{width:321px;height:321px;top:-3px}.stage-label{top:15px;left:14px}.stage-label>span{font-size:23px}.stage-label strong{font-size:9px}.stage-label small{font-size:6px}.stage-reference{font-size:6px;top:18px;right:12px}.stage-reference span{height:6px;width:6px}.drag-hint{bottom:51px;font-size:8px}.stage-meters{height:41px;gap:17px}.stage-meters div{gap:7px}.stage-meters strong{font-size:11px}.stage-meters div>span{font-size:7px}.stage-meters small{font-size:7px}.wheel-strip{gap:3px;margin:12px 10px 11px}.mini-wheel{border-radius:7px;padding:5px 0 4px}.mini-caption{font-size:6px}.mini-value{font-size:10px}.machine-footer{margin:0 15px;font-size:7px;padding:10px 0 11px}.control-panel{border-radius:13px;padding:23px}.control-panel h2{font-size:23px}.control-intro{font-size:11px}.note-panel strong{font-size:10px}.result-panel{padding:19px 16px;margin-top:21px;border-radius:13px}.result-head h2{font-size:12px}.result-actions{gap:12px}.icon-button{font-size:8px;gap:4px}.icon-button svg{height:12px;width:12px}.result-body{padding-top:22px}.result-numbers{width:100%;gap:6px}.result-ball{width:calc((100% - 54px)/7);max-width:44px;height:43px;border-radius:8px;font-size:23px}.result-ball.back{width:calc((100% - 43px)/7);max-width:49px}.result-plus{font-size:13px;margin:0 1px}.recent-panel{margin-top:24px}.recent-head h2{font-size:11px}.recent-head .text-button{font-size:8px}.history-row{gap:8px;padding:12px 0}.history-id{width:32px;font-size:8px}.history-numbers{gap:4px}.history-numbers span{width:19px;height:23px;font-size:10px}.history-numbers .back{width:25px}.history-numbers i{font-size:10px;margin:0 1px}.history-time{font-size:8px}.history-copy{padding:2px}.history-copy svg{width:11px;height:11px}.page-footer{display:block;font-size:7px;padding:15px 0 24px}.page-footer span{display:block;margin-bottom:5px}.history-panel{padding:15px;border-radius:13px}.history-panel-heading h2{font-size:12px}.history-panel-heading>span{font-size:7px}.history-panel .history-row{gap:7px}.history-panel .history-id{width:31px}.history-panel .history-numbers{gap:3px}.history-panel .history-numbers span{width:19px;height:24px;font-size:10px}.history-panel .history-numbers .back{width:25px}.outline-button{display:inline-flex;margin-top:18px;font-size:10px;padding:8px 12px}.about-grid{grid-template-columns:1fr;gap:15px}.about-card{padding:25px;border-radius:13px}.about-card h2{font-size:20px}.about-wide{grid-column:1}.howto-columns{grid-template-columns:1fr;gap:6px}.about-card p{font-size:11px}.about-equation{font-size:10px}.toast{left:50%;font-size:11px;width:max-content;max-width:90vw}}
@media(max-width:590px){body[data-view="simulator"] .mobile-start-button{position:fixed;bottom:14px;left:16px;right:16px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:10px;height:49px;border-radius:10px;padding:0 18px;background:var(--green);color:#f3f7eb;box-shadow:0 4px 22px #153f3533,0 0 0 6px #f6f7f3e6;font-size:12px}.mobile-start-button svg{width:19px;height:19px}.mobile-start-button svg:last-child{width:15px;height:15px}.mobile-start-button:disabled{opacity:1;background:#68856a;cursor:wait}body[data-view="simulator"] main{padding-bottom:78px}.toast{bottom:82px}}
.game-switch{display:flex;align-items:center;gap:10px;padding-top:25px}.game-switch>span{font-size:10px;color:#9ca991;margin-right:7px}.game-switch button{display:flex;align-items:center;gap:10px;border:1px solid #e0e8d8;border-radius:9px;background:#fafcf7;padding:10px 14px;font-size:12px;color:#8c9b81;transition:background .2s}.game-switch button.active{border-color:#9fb78d;background:#eaf2e2;color:#376442;font-weight:600}.game-switch button small{font-size:8px;font-weight:400;color:#99ab8c}.game-switch button:disabled{opacity:.65}.rule-pill #game-rules{color:#748369}body[data-game="dlt"] .wheel-strip{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-game="dlt"] .mini-wheel{padding:10px}body[data-game="dlt"] .mini-wheel canvas{max-width:106px}body[data-game="dlt"] .mini-caption{font-size:10px}body[data-game="dlt"] .mini-value{font-family:var(--font);font-size:9px;margin-top:3px}body[data-game="dlt"] .result-ball{font-size:23px}
.drag-hint{bottom:45px}@media(max-width:590px){.drag-hint{bottom:43px}.game-switch{gap:7px;padding-top:20px;flex-wrap:wrap}.game-switch>span{width:100%;margin:0;font-size:9px}.game-switch button{padding:9px 12px;flex:1;justify-content:center;gap:6px;font-size:11px}.game-switch button small{font-size:7px}body[data-game="dlt"] .mini-wheel canvas{max-width:95px}body[data-game="dlt"] .result-ball{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
