.radio-room{width:min(100%,1230px);margin-inline:auto;text-align:left;color:var(--radio-ink)}
.game-shell .play .radio-room .session-banner{max-width:none;margin:0 0 20px;text-align:left}
.game-shell .play .radio-room .session-banner>:is(h2,.meta){max-width:none;margin-inline:0;text-align:left}
.game-shell .play .radio-room p{max-width:none;margin-inline:0;text-align:left;line-height:1.65;color:var(--radio-muted)}
.radio-room h3{margin:0;font-size:1rem}
.radio-room button{font:inherit;touch-action:manipulation}
.radio-room .button{min-height:44px;font-size:.92rem;white-space:normal;line-height:1.5}
.radio-room button:focus-visible{outline:3px solid #378f85;outline-offset:4px}
.radio-room button:disabled{cursor:default}
.radio-room .button:disabled{opacity:.45;transform:none}
.game-shell .play .radio-room .actions{justify-content:flex-start;margin:17px 0 0;gap:9px}
.radio-workbench{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:clamp(25px,5vw,70px);align-items:start}
.radio-map{display:grid;grid-template-columns:22px repeat(5,minmax(0,1fr));gap:6px;width:min(100%,540px);padding:17px;background:#e1ebe5;border:1px solid #7faaa2;border-radius:7px;box-shadow:0 4px 0 #9cb7aa55}
.radio-map-row{display:contents}
.radio-axis{display:grid;place-items:center;font-size:.8rem;font-weight:700;color:#466860;min-height:19px}
.radio-square{position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:1;border:1px solid #bdd0c6;border-radius:3px;background:#fbfcf4;color:#6b8c80}
.radio-square[data-radio-safe=true]{background:#b8d6c7;border-color:#8fb59e}
.radio-square[data-radio-state=current]{background:#347581;border:2px solid #1f5862;box-shadow:inset 0 0 0 3px #effbf5}
.radio-position{width:27%;height:27%;border-radius:50%;background:#fff8d3;box-shadow:0 0 0 5px #ffffff26}
.radio-square[data-radio-replay-from=true]{outline:2px dashed #846b48;outline-offset:-4px}
.radio-square[data-radio-off-route=true]{background:#b7684e;border-color:#95533d}
.radio-counters{display:flex;gap:24px 46px;flex-wrap:wrap;margin:0 0 20px;padding-top:13px;border-top:1px solid var(--radio-line)}
.radio-counters>div{display:flex;gap:15px;align-items:baseline}
.radio-counters dt{font-size:.82rem;color:var(--radio-muted)}
.radio-counters dd{font-size:1.3rem;font-weight:700;margin:0;font-variant-numeric:tabular-nums}
.radio-console{min-width:0;border-top:2px solid #82a89d;padding-top:16px}
.game-shell .play .radio-room .radio-console-help{font-size:.93rem;margin:0}
.radio-dpad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,54px);gap:7px;width:min(100%,290px);margin:18px 0}
.radio-direction{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;border:1px solid #b2c7bb;border-radius:4px;background:#f7f8ed;color:#315e61;cursor:pointer;box-shadow:0 2px 0 #bfccc033}
.radio-direction>b{font-size:1.45rem;line-height:1}
.radio-direction>span{font-size:.78rem;line-height:1.2;text-align:center}
.radio-direction[aria-pressed=true]{border:2px solid #2f807e;background:#d4e9df;box-shadow:0 2px 0 #4d8c7e33}
.radio-direction:disabled{opacity:.35}
.radio-direction-up{grid-area:1/2}
.radio-direction-left{grid-area:2/1}
.radio-direction-right{grid-area:2/3}
.radio-direction-down{grid-area:3/2}
.radio-dpad-centre{grid-area:2/2;display:grid;place-items:center;font-size:.76rem;color:#84978a;overflow-wrap:anywhere;text-align:center}
.radio-readback{border-left:3px solid #af8e55;padding-left:15px;margin-top:18px}
.radio-readback h3{font-size:.83rem;color:#7a6742}
.game-shell .play .radio-room .radio-readback p{font-size:1.3rem;line-height:1.5;font-weight:600;color:var(--radio-ink);margin:8px 0 0}
.radio-console>.actions>[data-radio-confirm]{min-height:48px}
.game-shell .play .radio-room :is(.radio-orientation,.radio-keyboard-help,.radio-human-note){font-size:.82rem;margin:15px 0 0}
.radio-live-history{margin-top:23px;border-top:1px solid var(--radio-line);padding-top:10px}
.radio-live-history>summary,.radio-safe-order>summary{font-size:.88rem;cursor:pointer;min-height:44px;padding:8px 0}
.radio-history{list-style:none;counter-reset:none;margin:12px 0 0;padding:0;display:grid;gap:7px}
.radio-history>li{font-size:.88rem;line-height:1.6;color:#5f7c74}
.radio-live-history .radio-history{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px}
.radio-handoff{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:clamp(25px,5vw,70px);align-items:center}
.radio-folded-map{display:flex;gap:0;min-height:250px;padding:25px;align-items:stretch;justify-content:center}
.radio-folded-map>i{display:block;width:30%;background:repeating-linear-gradient(0deg,transparent 0 25px,#b4c8b62b 25px 26px),repeating-linear-gradient(90deg,#f2f2de 0 25px,#becbb83b 25px 26px);border:1px solid #b8c4ad;box-shadow:0 3px 0 #91a28622}
.radio-folded-map>i:nth-child(2){background-color:#e3e8d7;border-inline:0}
.radio-private-notes{min-width:0;border-top:2px solid #94b6a8;padding-top:16px}
.radio-private-notes .radio-counters{gap:15px 28px;border:0;padding:0}
.radio-safe-order{margin-top:18px}
.radio-safe-order>ol{display:flex;flex-wrap:wrap;gap:9px 20px;list-style:decimal;margin:12px 0 0;padding-left:20px;font-size:.88rem;color:#598071}
.radio-replay{min-width:0;border-top:2px solid #9eb6a4;padding-top:16px}
.game-shell .play .radio-room .radio-selected-step{font-size:1.12rem;line-height:1.6;color:var(--radio-ink);margin:13px 0 8px;font-weight:650}
.radio-replay .radio-history{max-height:35dvh;overflow-y:auto;margin-top:18px;padding-right:7px}
.radio-history button{width:100%;padding:9px 11px;border:0;border-bottom:1px solid #c9d7c8;background:transparent;color:#5b7771;text-align:left;font-size:.87rem;line-height:1.5;min-height:42px;cursor:pointer}
.radio-history button[aria-pressed=true]{background:#e1ede1;color:#285f5e;border-left:3px solid #4b8f81}
.game-shell .play .radio-room .radio-result-note{font-size:.95rem;color:#58776e;margin:0 0 22px}
@media(min-width:1000px){.game-shell.wide .radio-map{width:min(100%,540px,calc(100dvh - 220px))}}
@media(max-width:800px){.radio-workbench,.radio-handoff{grid-template-columns:minmax(0,1fr)}.radio-map{width:min(100%,490px)}.radio-console,.radio-private-notes{max-width:490px}.radio-folded-map{min-height:190px;padding:14px}.radio-counters{gap:12px 25px}.radio-counters>div{gap:12px}.radio-live-history .radio-history{grid-template-columns:1fr}.radio-replay .radio-history{max-height:none;overflow:visible;padding-right:0}.radio-room .button{font-size:.9rem}}
@media(max-width:400px){.radio-map{padding:10px;gap:5px;grid-template-columns:16px repeat(5,minmax(0,1fr))}.radio-axis{font-size:.74rem}.radio-counters{gap:10px 21px}.radio-counters dd{font-size:1.14rem}.radio-counters dt{font-size:.78rem}.radio-room .button{font-size:.88rem}.radio-readback p{font-size:1.15rem!important}.radio-history button{font-size:.84rem}.radio-direction>span{font-size:.76rem}}

.page-game .game-shell.theme-radio:has(.radio-room) {
  --radio-ink:#193a45;
  --radio-muted:#445b62;
  --radio-deep:#20545e;
  --radio-console:#d5e1e1;
  --radio-line:#98b0b2;
  --radio-rust:#9d411d;
  color:var(--radio-ink);
  background:radial-gradient(ellipse at 27% 20%,#fafbf5 0%,#edf0e9 65%,#e2ebe9);
}
.page-game .game-shell.theme-radio:has(.radio-room) .game-toolbar {
  background:#eef2eb;
  border-bottom:1px solid var(--radio-line);
  color:var(--radio-ink);
}
.page-game .game-shell.theme-radio:has(.radio-room) .game-toolbar .button {
  background:#f9faf3;
  color:var(--radio-ink);
  border-color:#779397;
  min-height:44px;
}
.game-shell .play .radio-room .session-banner {margin:0 0 clamp(13px,2vw,21px)}
.game-shell .play .radio-room .session-banner h2 {font-size:clamp(1.5rem,3.65vw,3.65rem);line-height:1.08;color:var(--radio-ink)}
.game-shell .play .radio-room .session-banner .meta {font-weight:750;color:var(--radio-deep)}
.game-shell .play .radio-room .actions {margin:11px 0 0;gap:7px}
.game-shell .play .radio-room .button {min-height:44px;white-space:normal}
.game-shell .play .radio-room .button.cta {color:#fffdf3;background:var(--radio-deep);border-color:var(--radio-deep)}
.game-shell .play .radio-room .button.cta:hover:not(:disabled) {background:#153c46}
.game-shell .play .radio-room .button.secondary {color:var(--radio-ink);background:#fafaf2;border-color:#89a4a6}
.game-shell .play .radio-room .button:disabled {color:#4c6066;background:#e3ecea;border-color:#9aafb0;opacity:1}
.radio-room :is(button,summary):focus-visible {outline:3px solid #285b89;outline-offset:3px}
.radio-workbench {grid-template-columns:minmax(0,1.09fr) minmax(265px,1fr);gap:clamp(18px,3.7vw,54px)}
.radio-map {
  width:min(100%,580px);
  gap:clamp(4px,.57vw,8px);
  padding:clamp(9px,1.7vw,22px);
  grid-template-columns:clamp(20px,3vw,32px) repeat(5,minmax(0,1fr));
  background:linear-gradient(147deg,#dae5e6,#b9cdce);
  border:1px solid #64878d;
  border-radius:11px;
  box-shadow:inset 0 0 0 4px #f1f8f3aa,0 5px 0 #72989c55,0 12px 22px #28485126;
}
.radio-axis {font-weight:800;font-size:clamp(.82rem,1.25vw,1.08rem);color:var(--radio-ink)}
.radio-square {
  border:1px solid #91a8a7;
  border-radius:5px;
  background:#faf8e9;
  box-shadow:inset 0 -2px #a1afab23;
}
.radio-square[data-radio-safe=true] {background:#baddcc;border-color:#78a298}
.radio-square[data-radio-state=current] {background:#216471;border-color:#194e59;box-shadow:inset 0 0 0 2px #e5f6f1}
.radio-position {background:#fff6c9;box-shadow:0 0 0 4px #bdded94a,0 0 11px #fafbc465}
.radio-square[data-radio-off-route=true] {background:#a0563c;border-color:#7b3829}
.radio-counters {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0 0 clamp(14px,2vw,21px);
  padding:7px 0;
  border:1px solid #a9bbbc;
  border-radius:8px;
  background:var(--radio-console);
}
.radio-counters>div {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 10px;padding:3px 11px;border-inline-end:1px solid #9eb3b4}
.radio-counters>div:last-child {border-inline-end:0}
.radio-counters dt {font-size:.87rem;font-weight:640}
.radio-counters dd {font-size:clamp(1.18rem,2.05vw,1.75rem);color:var(--radio-ink);white-space:nowrap}
.radio-console {padding-top:12px;border-top:1px solid var(--radio-line)}
.radio-dpad {
  grid-template-rows:repeat(3,clamp(46px,7svh,63px));
  gap:6px;
  width:min(100%,355px);
  margin:12px 0;
}
.radio-direction {
  background:linear-gradient(#edf4f2,#dce7e6);
  color:var(--radio-deep);
  border:1px solid #789698;
  border-radius:7px;
  box-shadow:0 2px 0 #6e8c8e5e;
}
.radio-direction>span {font-weight:700;font-size:.84rem}
.radio-direction:hover:not(:disabled) {background:#ddeceb}
.radio-direction[aria-pressed=true],
.radio-direction[aria-pressed=true]:hover {
  background:var(--radio-rust);
  border:1px solid #803319;
  box-shadow:0 2px 0 #873e253d;
  color:#fffaed;
}
.radio-direction:disabled {color:#586d70;background:#e8edeb;border-color:#a9baba;box-shadow:none;opacity:1}
.radio-dpad-centre {color:#47656a;font-weight:700}
.radio-readback {margin-top:12px;padding:.45rem .7rem;border-inline-start:3px solid #7b9ca1;border-radius:0 6px 6px 0;background:#e0ebea}
.radio-readback:has([data-radio-proposed-direction]) {border-color:var(--radio-rust);background:#faead8}
.radio-readback h3 {color:var(--radio-ink)}
.game-shell .play .radio-room .radio-readback p {margin:3px 0 0;font-size:clamp(1.04rem,1.8vw,1.55rem);font-weight:770}
.game-shell .play .radio-room .radio-readback p[data-radio-proposed-direction] {color:#80341b}
.game-shell .play .radio-room :is(.radio-orientation,.radio-keyboard-help,.radio-human-note) {margin:10px 0 0}
.radio-live-history {margin-top:16px}
.radio-history>li,.radio-safe-order>ol {color:var(--radio-muted)}
.radio-private-notes .radio-counters {border:1px solid #a9bbbc;padding:7px 0;gap:0}
.radio-private-notes,.radio-replay {border-color:var(--radio-line)}
.radio-history button {color:var(--radio-ink);border-color:#adc0bf;min-height:44px}
.radio-history button[aria-pressed=true] {background:#d9eae4;color:var(--radio-ink);border-color:var(--radio-deep)}
.game-shell .play .radio-room .radio-result-note {color:var(--radio-muted)}
@media(min-width:1000px) {
  .game-shell.wide .radio-map {width:min(100%,575px,max(310px,calc(100svh - 198px)))}
}
@media(max-width:920px) {
  .radio-counters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .radio-counters>div:nth-child(even) {border-inline-end:0}
  .radio-counters>div:nth-child(-n+2) {border-bottom:1px solid #a9bbbc}
}
@media(max-width:800px) {
  .radio-workbench {grid-template-columns:minmax(0,1fr);gap:16px}
  .radio-map {width:min(100%,510px)}
  .radio-console,.radio-private-notes {max-width:510px}
}
@media(max-width:440px) {
  .radio-map {width:min(100%,310px)}
  .radio-dpad {grid-template-rows:repeat(3,46px)}
}
