.sc-dock{display:grid;gap:10px;font:16px/1.4 var(--ts-font);color:var(--ts-ink)}
.sc-dock section,.sc-dock details{padding:12px;border:1px solid var(--ts-line);border-radius:10px;background:var(--ts-panel-2);min-width:0}
.sc-dock h2{margin:0 0 8px;font:800 18px var(--ts-font);color:var(--ts-accent)}
.sc-dock p{margin:6px 0;overflow-wrap:anywhere}.sc-dock label{display:block;font-weight:700;margin:4px 0}
.sc-dock select{width:100%;min-height:48px;background:var(--ts-panel);color:var(--ts-ink);border:2px solid var(--ts-line);border-radius:6px;font:16px var(--ts-font);padding:8px}
.sc-dock button{min-height:48px;width:100%;margin:4px 0;font-size:18px;white-space:normal}
.sc-dock summary{min-height:44px;cursor:pointer;font-weight:700}.sc-dock :focus-visible{outline:3px solid var(--ts-focus);outline-offset:3px}
.sc-dock ol{margin:8px 0;padding-left:22px}.sc-dock li{margin-bottom:8px}
[hidden]{display:none!important}
@media(min-width:901px){#topic-game .ts-panel{width:384px;padding:10px}.sc-clock{position:sticky;top:0;z-index:2;box-shadow:0 4px 0 var(--ts-line)}}
@media(max-width:900px){#topic-game{height:auto!important;min-height:0!important}#topic-game .ts-play{min-height:100dvh}#topic-game .ts-play>*{flex-shrink:0}#topic-game .ts-body{flex:none;flex-direction:column}#topic-game .ts-stage{flex:none;min-height:620px;overflow:auto;justify-content:flex-start}#topic-game .ts-canvas{min-width:900px;min-height:600px}#topic-game .ts-panel{overflow:visible}.sc-dock{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-dock>section:nth-child(2),.sc-dock>section:nth-child(3),.sc-dock>section:last-of-type,.sc-dock>details{grid-column:1/-1}}
@media(max-width:540px){.sc-dock{grid-template-columns:1fr}}
/* Local shell workaround after scrolling: keep review dialogs in the visible viewport. */
#topic-game .ts-overlay{position:fixed;top:72px;bottom:0;left:0;right:0;max-height:calc(100dvh - 72px)}
