/* The case and frequency head keep their original layout throughout the morph. */
.game-mode-safe { position:absolute; width:0; height:0; visibility:hidden; pointer-events:none; padding-bottom:env(safe-area-inset-bottom,0px); }
.game-mode-surface { position:absolute; z-index:20; box-sizing:border-box; overflow:hidden; border:1px solid color-mix(in srgb,var(--k-acc,#83efd5) 48%,#35413e); border-radius:18px; background:linear-gradient(125deg,#12201d,#030a09 38%,#061613); box-shadow:inset 0 0 0 3px #010504,inset 0 0 35px #6cf8d50b,0 0 0 4px #131b18; color:#c6ffed; }
.game-mode-surface[hidden],.game-mode-content[hidden] { display:none !important; }
.game-mode-content { position:absolute; inset:8px 8px var(--game-key-space,74px); min-width:0; min-height:0; }
.game-mode-hidden { opacity:0 !important; pointer-events:none !important; transition:opacity 150ms ease; }
/* More specific than every skin; a single actual .ptt retains bindPTT and ARIA. */
:root .radio[data-game-mode] .game-mode-ptt { position:absolute !important; right:auto; bottom:auto; margin:0 !important; padding:0 !important; display:block !important; z-index:22 !important; min-width:0 !important; min-height:0 !important; max-width:none !important; max-height:none !important; transform:none !important; translate:none !important; rotate:none !important; flex:none !important; pointer-events:auto !important; }
:root .radio[data-game-mode] .game-mode-ptt::before,:root .radio[data-game-mode] .game-mode-ptt::after,:root .radio[data-game-mode] .game-mode-ptt > :not(.ptt-wrap) { display:none !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt-wrap { position:relative !important; inset:auto !important; width:100% !important; height:100% !important; min-height:0 !important; max-height:none !important; min-width:0 !important; max-width:none !important; margin:0 !important; padding:0 !important; display:block !important; transform:none !important; translate:none !important; rotate:none !important; aspect-ratio:auto !important; border-radius:14px !important; background:linear-gradient(170deg,#1d2824,#030706 55%,#0c1612) !important; border:1px solid #8bbca566 !important; box-shadow:inset 0 1px 1px #d9ffeb33,0 0 12px #5fffd515 !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt-wrap > :not(.ptt) { display:none !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt { position:relative !important; inset:auto !important; width:100% !important; height:100% !important; min-width:0 !important; min-height:0 !important; max-width:none !important; max-height:none !important; aspect-ratio:auto !important; display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:center !important; gap:12px !important; padding:0 10px !important; margin:0 !important; border:0 !important; border-radius:14px !important; background:transparent !important; box-shadow:none !important; transform:none !important; color:#e5f5ee !important; touch-action:none; }
:root .radio[data-game-mode] .game-mode-ptt .ptt::before,:root .radio[data-game-mode] .game-mode-ptt .ptt::after { display:none !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt > .icon { color:#fa6470; border:0 !important; padding:0 !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt > .icon svg { width:28px !important; height:28px !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt .lbl { position:static !important; font:500 clamp(12px,3.4cqw,16px)/1.2 var(--font) !important; letter-spacing:.07em !important; white-space:nowrap !important; max-width:75%; overflow:hidden; text-overflow:ellipsis; }
:root .radio[data-game-mode] .game-mode-ptt .ptt :is(.lsub,.lword) { display:none !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt:is([data-held],[data-state=transmitting]) { background:#6affc51a !important; box-shadow:inset 0 0 20px #69ffc526 !important; }
:root .radio[data-game-mode] .game-mode-ptt .ptt:is([data-held],[data-state=transmitting]) > .icon { color:#7effbf; }
.breaker { height:100%; display:flex; flex-direction:column; min-height:0; font-family:var(--font); color:#b8ffeb; }
.breaker-header { flex:none; display:flex; align-items:center; gap:4px; min-height:40px; border-bottom:1px solid #83efd533; }
.breaker-header strong { flex:1; font:600 italic clamp(11px,3.7cqw,20px)/1.1 var(--font); letter-spacing:.07em; }
.breaker-header button { display:grid; place-items:center; flex:none; min-width:36px; min-height:40px; padding:0 5px; border:0; border-radius:6px; background:transparent; color:inherit; font-size:20px; cursor:pointer; }
.breaker-header button:focus-visible,.breaker-primary:focus-visible { outline:2px solid #aeffe1; outline-offset:-2px; }
.breaker-header button[aria-pressed=true] { color:#e8c16a; }
.breaker-hud { flex:none; display:flex; justify-content:space-between; gap:6px; min-height:31px; align-items:center; font:500 clamp(10px,2.8cqw,14px)/1.1 var(--mono); font-variant-numeric:tabular-nums; border-bottom:1px solid #83efd522; }
.breaker-board { position:relative; flex:1; min-height:0; touch-action:none; user-select:none; -webkit-user-select:none; outline:none; }
.breaker-canvas { position:absolute; inset:0; width:100%; height:100%; }
.breaker-message { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:12px; text-align:center; background:#03100fe8; }
.breaker-message[hidden] { display:none; }
.breaker-message strong { font-size:clamp(16px,5cqw,26px); letter-spacing:.08em; }
.breaker-message span { max-width:28ch; font-size:14px; line-height:1.4; color:#a5cdbf; }
.breaker-primary { min-height:44px; padding:8px 20px; border:1px solid #8cf5cf66; border-radius:9px; background:#80f8cc14; color:#ceffeb; font-size:16px; cursor:pointer; }
.breaker-primary:disabled { opacity:.4; }
.breaker-effects { flex:none; min-height:20px; font:400 11px/20px var(--mono); color:#a1c9b9; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media(max-height:600px) { .breaker-header { min-height:34px; } .breaker-header button { min-height:34px; min-width:32px; } .breaker-effects { min-height:16px; line-height:16px; } }

/* The finger stays below the visible arena, clear of both paddle and voice key. */
.breaker-touchpad { position:relative; box-sizing:border-box; flex:0 0 clamp(52px,16%,104px); margin-top:4px; margin-bottom:8px; border:1px solid #8bccbd39; border-top:2px solid #8be4cf80; border-radius:0 0 10px 10px; background:repeating-linear-gradient(90deg,transparent 0,transparent calc(12.5% - 1px),#8bdbca08 calc(12.5% - 1px),#8bdbca08 12.5%),linear-gradient(#102322,#081514); touch-action:none; user-select:none; -webkit-user-select:none; cursor:ew-resize; outline:none; display:flex; flex-direction:column; justify-content:space-around; padding:2px 8px 5px; overflow:hidden; }
.breaker-touchpad > * { pointer-events:none; }
.breaker-touchpad:focus-visible { border-color:#b3ffe8; box-shadow:inset 0 0 0 1px #b3ffe840; }
.breaker-pad-track { position:relative; flex:none; height:12px; margin:0 -8px; }
.breaker-pad-track::before { content:''; position:absolute; top:6px; left:12px; right:12px; height:1px; background:#8bccbd25; }
.breaker-pad-thumb { position:absolute; left:var(--breaker-thumb,50%); top:2px; width:8px; height:8px; border:1px solid #a8edda; border-radius:50%; transform:translateX(-50%); background:#8edcc52b; box-sizing:border-box; }
.breaker-pad-hint { font:400 10px/14px var(--mono); letter-spacing:.12em; color:#9abbb1; text-align:center; white-space:nowrap; }
.breaker[data-strike=true] .breaker-pad-thumb { background:#eafff9; box-shadow:0 0 6px #b8ffec80; }
@media(max-height:600px) { .breaker-touchpad { flex-basis:52px; padding-top:0; padding-bottom:2px; margin-bottom:6px; } .breaker-pad-hint { font-size:9px; line-height:12px; } .breaker-pad-track { height:10px; } }
/* Compact radio apertures keep a usable field and a separate 44px finger target. */
.breaker { container-type:size; container-name:breaker; }
.breaker-message { overflow:auto; }
@container breaker (max-height:240px) {
  .breaker-header,.breaker-header button { min-height:34px; }
  .breaker-hud { min-height:26px; }
  .breaker-touchpad { flex-basis:44px; margin-top:2px; margin-bottom:6px; padding:0 8px 2px; }
  .breaker-touchpad .breaker-effects { min-height:14px; font-size:9px; line-height:14px; }
  .breaker-pad-track { height:8px; }
  .breaker-pad-track::before { top:4px; }
  .breaker-pad-thumb { top:0; }
  .breaker-pad-hint { font-size:8px; line-height:10px; }
  .breaker-message { padding:4px; gap:4px; }
  .breaker-message strong { font-size:16px; }
  .breaker-message span { display:none; }
}

/* Breaker reserves the real talk key for its paused state. */
:root .radio[data-game-mode] .game-mode-ptt.game-mode-voice-hidden { display:none !important; pointer-events:none !important; }
