/* Scene and controls share the same workspace. Override historical full-height cards. */
html{overflow-y:auto}body{overflow:visible}
.game{max-width:1400px;padding:12px 20px;gap:10px}
.game>header{gap:12px}.game>header h1{font-size:25px}.game>header .kicker{display:none}
.save-drawer,.stats-drawer,.growth-drawer{flex:none;border:1px solid #d5dfe5;border-radius:9px;background:#fff}
.game summary{cursor:pointer;padding:10px 12px;font-size:13px;color:#425b65}
.game summary:focus-visible{outline:3px solid #2866c8;outline-offset:2px}
.save-drawer summary{display:list-item;min-height:38px}.save-drawer summary strong{color:#256347;font-size:12px;font-weight:500}.save-drawer summary strong.save-error{color:#a22512}.save-drawer summary>span{float:right;font-size:12px}
.save-drawer .progress-tools{border:0;border-radius:0 0 9px 9px}
.game>.metrics{gap:8px}.game>.metrics article{padding:7px 10px}.game>.metrics strong{font-size:21px}.game>.metrics span{font-size:12px}.game>.metrics small{font-size:11px}
.play-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(370px,1fr);align-items:start;gap:16px}
.shop-stage{position:sticky;top:12px;min-width:0;display:grid;gap:10px}
.shop-stage .shop-scene{margin:0;scroll-margin-top:8px}
.shop-scene .scene-toolbar{padding:8px 10px;gap:8px}.shop-scene .scene-title{flex-wrap:wrap;gap:6px;font-size:12px}.shop-scene .scene-title strong{font-size:14px}
.shop-scene .scene-footer{display:block;padding:8px 10px;min-height:50px;font-size:12px}.shop-scene #sceneTeam{display:block;color:#657b80;font-size:11px;margin-top:3px}
.shop-scene #sceneMotion{font-size:11px;padding:7px 9px;min-height:36px}
.shop-stage .scene{padding:12px 14px;margin:0;gap:10px;border-radius:10px}
.shop-stage .scene h2{font-size:17px}.shop-stage .scene #eventText{font-size:13px;line-height:1.4}
.shop-stage .scene #goalHelp{font-size:12px;margin:4px 0 10px;line-height:1.35}
.shop-stage .scene .light{font-size:12px;padding:9px;flex-shrink:0;min-height:40px}
.play-layout .workbench{gap:8px;padding:12px;border:1px solid #d5dfe5;background:#fff;border-radius:12px}
.play-layout .tabs{margin:0;gap:3px}.play-layout .tabs button{padding:10px 4px;font-size:12px;min-height:42px}
.play-layout .section-head{min-height:36px;margin:0;gap:8px}.play-layout .section-head h2{font-size:16px}
.play-layout .time-remaining{padding:5px 8px;gap:6px}.play-layout .time-remaining strong{font-size:18px}.play-layout .time-remaining span{font-size:12px}
.play-layout .cards{flex:none;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:8px}
.play-layout .task{min-height:135px;height:auto;overflow:visible;padding:10px;gap:6px}
.play-layout .task h3{font-size:15px}.play-layout .task p{display:block;overflow:visible;font-size:12px;line-height:1.4;-webkit-line-clamp:unset}
.play-layout .task-label{font-size:10px}.play-layout .task-bottom{font-size:12px;margin-top:auto;padding-top:4px}
.play-layout .pager{padding:5px;gap:5px}.play-layout .pager .page-button{padding:7px 6px;font-size:12px;min-height:36px}.play-layout .pager #pageLabel{font-size:11px}
.play-layout .month-forecast{font-size:11px;margin:0;line-height:1.4}
.play-layout #endDay{margin:0;min-height:42px;padding:10px;font-size:14px}
.stats-drawer .content{display:block;padding:0 12px 12px}.stats-drawer aside{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}
.stats-drawer .journal{overflow:visible}.stats-drawer .journal #lastLog{display:block;overflow:visible}.stats-drawer .owner{grid-column:1/-1}
.growth-drawer .growth{margin:0;border:0}
@media(min-width:901px) and (max-width:1120px){.play-layout .section-head{flex-wrap:wrap}.play-layout .time-remaining{width:100%;justify-content:space-between}}
@media(max-width:900px){
 .game{padding:10px;gap:8px}.play-layout{display:block}.shop-stage{display:contents;position:static}
 .shop-stage .shop-scene{position:sticky;top:0;z-index:5;box-shadow:0 4px 12px #193f4820;margin-bottom:8px}
 .shop-scene svg{min-height:0;height:clamp(95px,18vh,160px);width:100%}
 .shop-scene .scene-toolbar{padding:5px 9px}.shop-scene .scene-title{display:flex}.shop-scene .scene-title strong{font-size:13px}.shop-scene .scene-dot{display:none}
 .shop-scene .scene-footer{min-height:30px;padding:5px 9px;font-size:11px}.shop-scene #sceneTeam{display:none}
 .shop-scene #sceneMotion{min-height:32px;padding:5px 7px}
 .shop-stage .scene{margin-bottom:8px;padding:10px 12px}.shop-stage .scene h2{font-size:16px}
 .shop-stage .scene #goalHelp{margin:3px 0 6px}.shop-stage .scene #eventText{display:block}
 .play-layout .workbench{padding:10px;gap:8px}
 .play-layout .task{min-height:120px}.stats-drawer aside{grid-template-columns:1fr}
 .stats-drawer .journal{display:block}.stats-drawer .owner{grid-column:auto}
}
@media(max-width:599px){
 .game>header{flex-wrap:wrap;gap:6px}.game>header h1{font-size:22px}
 .game>header .calendar b{font-size:12px}.game>header .calendar span{font-size:11px}
 .game>header .header-actions{width:100%;flex-direction:row;justify-content:flex-start;gap:6px}
 .game>header .header-actions .quiet{min-height:34px;padding:5px 12px;font-size:12px}
 .game>.metrics article{padding:5px 7px}.game>.metrics strong{font-size:17px}.game>.metrics span{font-size:10px}.game>.metrics small{display:none}
 .save-drawer summary{font-size:11px;padding:8px}.save-drawer summary strong,.save-drawer summary>span{font-size:10px}
 .play-layout .section-head h2{display:none}.play-layout .time-remaining{width:100%;justify-content:space-between}
 .play-layout .cards{grid-template-columns:1fr;gap:7px}.play-layout .task{min-height:0;padding:10px;gap:4px}
 .play-layout .task h3{font-size:15px}.play-layout .task p{font-size:12px}.play-layout .task-bottom{padding-top:2px}
 .play-layout .tabs button{font-size:11px;min-height:40px}.shop-scene .scene-title>span:last-child{display:none}
 .shop-stage .scene .goal-label{font-size:11px}.shop-stage .scene #goalHelp{font-size:11px}
}
@media(max-height:600px) and (max-width:900px){.shop-scene svg{height:85px}.shop-scene .scene-toolbar{padding:2px 8px;justify-content:flex-end}.shop-scene .scene-title{display:none}.shop-scene #sceneMotion{min-height:28px}.shop-scene .scene-footer{min-height:26px}}
