[hidden]{display:none!important}.game-main{max-width:1120px}.game-intro{display:flex;justify-content:space-between;align-items:center;padding:0 0 28px}.back-link{font-size:12px;color:#68806f}.game-intro h1{font-size:38px;margin:13px 0 4px;font-weight:600;letter-spacing:-1.8px}.game-intro p{margin:0;color:#71817b;font-size:14px}.intro-ball{font-size:100px;color:#d3b863;line-height:1;transform:rotate(-10deg);text-shadow:9px 9px 0 #e5eadb;margin-right:30px}.mode-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.mode-picker button{display:grid;grid-template-columns:40px 1fr;text-align:left;border:1px solid #d8e0d6;border-radius:10px;background:white;padding:18px 22px;color:#4b6556}.mode-picker button[aria-pressed=true]{border:2px solid #28675c;background:#edf3e9;padding:17px 21px}.mode-picker button>span{grid-row:1/3;font-size:30px;line-height:1.5}.mode-picker strong{font-size:16px;font-weight:600}.mode-picker small{font-size:11px;color:#768675}.game-panel{background:#fff;border:1px solid #dce4d9;border-radius:14px;padding:28px}.game-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.mode-kind{font-size:11px;color:#577f67}.game-heading h2{font-size:24px;margin-top:4px}.game-stats{display:flex;gap:20px;white-space:nowrap}.game-stats span{font-size:11px;color:#7a897c;display:flex;flex-direction:column}.game-stats strong{font-size:23px;color:#28675c;font-weight:600;font-variant-numeric:tabular-nums}.mode-instruction{font-size:13px;color:#6a7c70;min-height:47px;margin:12px 0 15px;max-width:850px}.canvas-wrap{position:relative;background:#e9efdf;border-radius:10px;overflow:hidden}canvas{display:block;width:100%;aspect-ratio:900/440;touch-action:pan-y}canvas:focus-visible{outline:3px solid #28675c;outline-offset:-4px}#scene-caption{position:absolute;bottom:13px;left:10px;right:10px;text-align:center;color:#536b52;font-size:12px;pointer-events:none}.settings{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:20px 0 16px}.settings label{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap}.settings select{width:108px;padding:6px 10px;font-size:12px}.settings>span{font-size:10px;color:#889581;flex:1;min-width:180px}.readiness{font-size:12px;display:flex;align-items:flex-start;gap:8px;background:#f5f7f1;border-radius:6px;padding:12px;color:#5c715e}.readiness input{margin-top:6px;accent-color:#28675c;width:16px;height:16px;flex-shrink:0}.game-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.game-actions .button{min-width:160px}.game-actions .secondary{font-size:12px}.stop-button{background:#fff4ee;border:1px solid #d7ad99;border-radius:6px;color:#8e4a33;padding:10px 18px;font-size:12px}button:disabled{cursor:default;opacity:.45}#game-message{font-size:12px;color:#5c765d;min-height:22px;margin:15px 0 0}.touch-controls{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-top:12px}.touch-controls button{background:#e9efe4;border:1px solid #cddbc6;border-radius:8px;color:#355c43;padding:12px 28px;font-size:15px;touch-action:none;user-select:none;-webkit-user-select:none}.touch-controls button:active{background:#b9d0af}.touch-controls span{text-align:center;color:#7a8e75;font-size:11px}.game-bottom{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin:28px 0}.game-bottom h3{margin-top:0}.game-guidance p,.game-journal>p{font-size:12px;color:#758571;line-height:1.9}.game-guidance a{font-size:11px;color:#28675c;text-decoration:underline;text-underline-offset:3px}.game-journal{border-left:1px solid #dce4d9;padding-left:30px}.game-journal>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.game-journal h3{margin-bottom:0}#game-records{list-style:none;margin:15px 0;padding:0;max-height:210px;overflow-y:auto}#game-records li{border-bottom:1px solid #e3e9de;padding:10px 0;font-size:12px;color:#526a56}#game-records li span{display:block;font-size:10px;color:#889783}.storage-note{font-size:10px!important}@media(max-width:650px){.game-intro{padding-bottom:20px}.game-intro h1{font-size:30px}.game-intro p{font-size:12px}.intro-ball{font-size:60px;margin-right:5px}.mode-picker{gap:7px}.mode-picker button{padding:12px 7px;display:flex;flex-direction:column;gap:3px;text-align:center;align-items:center}.mode-picker button[aria-pressed=true]{padding:11px 6px}.mode-picker strong{font-size:13px}.mode-picker small{font-size:9px}.mode-picker button>span{font-size:24px;line-height:1.2}.game-panel{padding:17px 13px}.game-heading{align-items:flex-start;gap:10px}.game-heading h2{font-size:18px;letter-spacing:-.8px;line-height:1.6}.game-stats{gap:8px}.game-stats strong{font-size:18px}.game-stats span{font-size:9px}.mode-instruction{font-size:12px;line-height:1.8;min-height:86px}canvas{aspect-ratio:900/540}#scene-caption{font-size:10px;bottom:7px}.settings{gap:10px;margin-top:15px}.settings label{font-size:11px;gap:6px}.settings select{width:90px;font-size:11px}.settings>span{flex-basis:100%}.readiness{font-size:11px}.game-actions{gap:7px}.game-actions .button{min-width:120px;flex:1}.game-actions .secondary,.stop-button{padding:10px 12px;font-size:11px}#next-stone{flex-basis:100%}#game-message{font-size:11px}.game-bottom{grid-template-columns:1fr;gap:25px}.game-journal{border-left:0;border-top:1px solid #dce4d9;padding:23px 0 0}.touch-controls button{padding:14px 20px;font-size:13px}.touch-controls span{font-size:9px}}
.touch-controls button{white-space:nowrap;flex-shrink:0}@media(max-width:380px){.touch-controls{gap:7px}.touch-controls button{padding:12px 13px}.touch-controls span{font-size:9px}.game-stats{flex-direction:column;gap:2px}.game-heading h2{font-size:17px}}
