/* The document scrolls only during the opening map transition. */
#balance-label{font-size:11px;font-weight:bold;color:#476b3e;white-space:nowrap}
@media(max-width:700px){#balance-label{font-size:10px}.board-top:has(#balance-label:not([hidden])) #board-note{flex-basis:100%}}
html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}
body.game-locked{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden}
.game-locked #journey{height:100%;overflow:hidden}.game-locked .pinned{position:fixed;inset:0;height:100dvh;min-height:0}
.game-board{display:flex;flex-direction:column;min-height:0}.board-top{position:relative;inset:auto;flex-shrink:0;min-height:30px;padding:3px 9px;font-size:10px;gap:13px}.board-top #board-note{margin-right:auto}.board-top #help{margin-left:0}.board-top .ghost-key{margin-left:0}.scene-scroll{flex:1;min-height:0;height:auto}#scene{overflow:hidden}.chart-caption{position:relative;inset:auto;flex-shrink:0;min-height:36px;padding:4px 9px;align-items:center}#inspection{font-size:10px;line-height:1.4;max-width:65%}.chart-caption .view-tools{margin-left:auto}.map-caption{bottom:14px}.play-tools,.compare-tools{margin:0;padding:9px 5px;border-bottom:1px solid #b8c9ac;border-top:0;flex-shrink:0}.compare-tools{flex-wrap:wrap}.compare-tools #result-line{font-size:10px}.play-tools .utility{margin-left:auto}.estimate-key{display:flex;align-items:center;gap:6px;font-size:10px;color:#9a702d;white-space:nowrap}.estimate-key i{width:16px;height:10px;display:inline-block;border:1.5px dashed #b78025;background:#dfa84930}.ghost-key{white-space:nowrap}#overflow-note{top:49%;max-width:80%;white-space:normal;text-align:center}#toast{bottom:50px}#cash-hose,#hose-highlight{display:none}.pouring #vacuum{animation:suction .35s ease-in-out infinite alternate}#scene:focus{outline:none}.rain-hit:focus-visible{outline:0;stroke:#b0c69b;stroke-dasharray:4 5;stroke-width:1}#round-purpose{line-height:1.35}.phase-head{flex-shrink:0}footer{flex-shrink:0}.scene-scroll.chart #scene{min-width:0}
@media(max-width:900px){.board-top{gap:9px;font-size:9px}.estimate-key,.ghost-key{font-size:9px}#inspection{font-size:9px}.tool-group button{padding:7px 9px}.compare-tools .tool-group{gap:4px}.compare-tools .tool-group button{font-size:10px}}
@media(max-width:700px){.board-top{flex-wrap:wrap;padding:5px 3px;gap:5px 12px}.board-top #board-note{max-width:none;font-size:8px;flex:1}.board-top .ghost-key,.board-top .estimate-key{font-size:8px}.board-top:has(.estimate-key:not([hidden])) #board-note{flex-basis:100%}.board-top #help{margin-left:auto}.play-tools,.compare-tools{padding:8px 3px;gap:7px}.play-tools .utility{margin-left:0}.chart-caption{padding:4px 2px;min-height:44px;gap:6px}#inspection{max-width:52%;font-size:8px}.view-tools button{font-size:8px;padding:5px}.scene-scroll.chart #scene{min-width:700px}.scene-scroll{overflow-x:auto;overflow-y:hidden}.phase-head{min-height:108px}.tool-group button{padding:6px 8px;font-size:9px}footer{min-height:48px}#status{font-size:8px}h1{font-size:23px}#round-purpose{font-size:10px}.compare-tools #result-line{font-size:9px}.compare-tools .tool-group{width:100%}}
@media(max-height:650px){header{height:37px}.phase-head{min-height:79px;padding-top:5px;padding-bottom:5px}h1{font-size:25px}#round-purpose{font-size:11px}.play-tools,.compare-tools{padding-top:5px;padding-bottom:5px}.board-top{min-height:24px}.chart-caption{min-height:29px}footer{min-height:42px}.phase-head:before{top:14px;font-size:38px}.pinned{min-height:0}.tool-group button{padding-top:5px;padding-bottom:5px}}
