/* A single game surface, with one compact route bar and separate result screens. */
body[data-view=game]{background:#f5f0e3;color:#283d35;font-family:'Segoe UI',sans-serif}
body[data-view=game]>header{display:none}
body[data-view=game] .game-shell{margin:0;padding:0;max-width:none}
body[data-view=game] .gamebar{border-radius:0;background:#fdfbf3;border:0;border-bottom:1px solid #d5ddc5;padding:10px 20px;margin:0;gap:14px;min-height:72px;box-shadow:0 2px 9px #334c3210;position:relative;z-index:1}
.game-route{min-width:0}.game-steps{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.game-steps li{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#7a8475;white-space:nowrap}.game-steps li span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e8eadc;color:#6c7964;font-size:11px}.game-steps li.active{color:#2f715b}.game-steps li.active span{background:#2f715b;color:#fffbed;box-shadow:0 2px 0 #b2c09c}.game-steps li.done span{background:#dce8cc;color:#38614b}
body[data-view=game] .gamebar #help{font-size:11px;color:#6b7968;margin:6px 0 0;line-height:1.4}
body[data-view=game] .gamebar .buttons{gap:8px;flex-wrap:nowrap}
body[data-view=game] .gamebar button{font:600 11px/1.4 'Segoe UI',sans-serif;min-height:34px;padding:8px 12px;border-radius:8px;box-shadow:none;border:1px solid #dbe0cb;background:#f3f3e8;color:#52654c}
body[data-view=game] .gamebar #again{background:transparent;border-color:transparent}
body[data-view=game] .gamebar button:hover:enabled{background:#e7ecd8;color:#2e644e}
body[data-view=game] #game{border:0;border-radius:0;margin:0;display:block;width:100%;height:calc(100dvh - var(--gamebar-height,72px));min-height:0;background:#f5f0e3}
body[data-view=game]:not([data-game-screen=summary]){overflow:hidden}
body[data-view=game] #outcome{max-width:1080px;margin:0 auto;padding:30px 24px 45px}
body[data-view=game] #outcome>.card{padding:30px;border-radius:22px;border-color:#d8dfc6}
body[data-view=game] #outcome> .card>h2{font-size:30px;margin:12px 0 22px;letter-spacing:-.6px}
body[data-view=game] #outcome>.card>p{font-size:14px;line-height:1.8}
body[data-view=game] #outcome>.card>.foot{font-size:12px}
.detail-link{margin:24px 0 0;text-align:center;padding:15px}.detail-link button{font-size:13px;color:#38644f;background:transparent;border:1px solid #becbac;box-shadow:none}.detail-link p{font-size:11px;margin:10px 0 0;color:#738168}
@media(max-width:760px){body[data-view=game] .gamebar{padding:10px 12px;align-items:stretch;gap:8px;flex-direction:column}.game-steps{gap:14px;justify-content:space-between}.game-steps li{font-size:11px;gap:5px}.game-steps li span{width:21px;height:21px}.game-route{width:100%}body[data-view=game] .gamebar .buttons{justify-content:space-between;margin-top:0}body[data-view=game] .gamebar button{padding:6px 8px;min-height:30px;font-size:10px}body[data-view=game] .gamebar #help{font-size:10px}body[data-view=game] #outcome{padding:20px 12px 30px}body[data-view=game] #outcome>.card{padding:22px 18px}body[data-view=game] #outcome>.card>h2{font-size:25px}body[data-view=game] #outcome>.card>p{font-size:13px}}

/* First-month summary and the full report share one page and one scroll. */
body[data-view=game][data-inline-report=true] #outcome{padding-bottom:0}
body[data-view=game][data-inline-report=true] #game{width:calc(100% - 48px);max-width:1032px;margin:26px auto 35px;border-radius:22px;background:transparent}
@media(max-width:760px){body[data-view=game][data-inline-report=true] #game{width:calc(100% - 24px);margin-top:22px}}
