#topic-game .ts-panel{width:370px;padding:18px;}
.dl-console{font:18px/1.4 var(--ts-font);}
.dl-console h2{font:700 23px var(--ts-display);margin:0 0 8px;}
.dl-console p{margin:8px 0;}
.dl-console label{display:block;font-weight:700;margin:12px 0 5px;}
.dl-console select,.dl-console input{display:block;width:100%;min-height:46px;background:var(--ts-stage);color:var(--ts-ink);border:2px solid var(--ts-line);border-radius:8px;font:18px var(--ts-font);padding:8px;}
.dl-console button{width:100%;margin-top:10px;font-size:18px;}
.dl-kicker{color:var(--ts-accent);letter-spacing:.09em;font:700 16px var(--ts-mono);}
.dl-note{padding:12px;background:var(--ts-panel-2);border-left:3px solid var(--ts-accent);border-radius:6px;}
.dl-observations{font:16px/1.5 var(--ts-mono);overflow-wrap:anywhere;}
.dl-console summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;}
.dl-console details{margin-top:12px;border-top:1px solid var(--ts-line);}
.dl-console ul{padding-left:20px;font-size:16px;}
.dl-feedback{border-left:3px solid var(--ts-warn);padding:10px;font-size:16px;background:var(--ts-panel-2);}
@media(max-width:900px){#topic-game .ts-panel{width:auto;overflow:visible;}#topic-game .ts-body{overflow:auto;display:block;}#topic-game .ts-stage{height:270px;min-height:270px;} .dl-console{max-width:680px;margin:auto;} }
@media(prefers-reduced-motion:reduce){.dl-console *{scroll-behavior:auto;}}
/* Keep the first action above the fold on 1366×768 displays. */
.dl-console h2{font-size:20px;margin-bottom:6px;}
.dl-console p{margin:6px 0;}
.dl-console label{margin:8px 0 4px;}
.dl-note{padding:8px;}
.dl-observations{line-height:1.35;}
#dl-goal{font-size:16px;}
/* Narrow screens use normal page scrolling; put actionable text before overview. */
@media(max-width:900px){
 #topic-game{height:auto!important;min-height:100dvh!important;}
 #topic-game .ts-body{display:flex;flex-direction:column;overflow:visible;}
 #topic-game .ts-panel{order:1;overflow:visible;}
 #topic-game .ts-stage{order:2;flex:none;height:270px;min-height:270px;}
}
