/* Menus use readable touch targets; combat controls stay on the perimeter. */
.touch-game,.touch-game body { overscroll-behavior:none; touch-action:pan-y; -webkit-text-size-adjust:100%; text-size-adjust:100%; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
.touch-game #game-viewport { position:absolute; inset:auto; top:0; left:0; width:var(--game-width,100vw); height:var(--game-height,100dvh); transform-origin:0 0; transform:translate(var(--game-offset-x,0px),var(--game-offset-y,0px)) scale(var(--game-inverse-scale,1)); }
.touch-game .mobile-menu,.touch-game .mobile-install,.touch-game .pwa-dialog { touch-action:pan-y; }
.touch-game .mobile-menu button,.touch-game .mobile-menu summary,.touch-game .pwa-dialog button { touch-action:pan-y; }
.touch-game #ui { touch-action:none; }
.mobile-root { position:fixed; inset:0; z-index:8; pointer-events:none; font:13px system-ui,sans-serif; color:#edf9ff; --hud-size:1; --hud-opacity:.56; }
.mobile-root [hidden] { display:none!important; }
.mobile-root *, .mobile-root *::before, .mobile-root *::after { box-sizing:border-box; }
.mobile-root button { color:inherit; font:600 13px system-ui; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.mobile-menu,.mobile-install { pointer-events:auto; position:absolute; inset:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); max-width:540px; margin:auto; padding:18px; overflow:auto; overscroll-behavior:contain; background:rgba(4,12,24,.97); border:1px solid #4baabc; border-radius:20px; box-sizing:border-box; -webkit-overflow-scrolling:touch; }
.mobile-menu h1 { font-size:clamp(22px,6vw,34px); color:#64e8fa; margin:10px 0 20px; }
.mobile-menu { background:linear-gradient(145deg,rgba(19,37,52,.98),rgba(4,12,24,.98) 42%); border-color:#6096a984; box-shadow:0 15px 50px #0008,inset 0 1px 0 #c9eeff20; scrollbar-width:thin; scrollbar-color:#4f8095 #101c29; }
.mobile-menu h1 { font-size:clamp(21px,5.8vw,30px); line-height:1.15; letter-spacing:.01em; margin:4px 0 12px; overflow-wrap:anywhere; }
.mobile-menu button:focus-visible,.mobile-menu select:focus-visible,.mobile-menu input:focus-visible { outline:2px solid #a7eeff; outline-offset:2px; }
.mobile-menu .mobile-upgrade-card { position:relative; display:grid; grid-template-columns:66px minmax(0,1fr) 10px; align-items:center; gap:10px; margin:12px 0; padding:15px 12px; min-height:112px; text-align:left; background:linear-gradient(135deg,#213748,#0d1d2f 65%); border:1px solid #5e8fa276; box-shadow:0 5px 12px #0005,inset 0 1px 0 #d5f4ff22; }
.mobile-menu .mobile-upgrade-card:active { background:linear-gradient(135deg,#254c60,#132e44); border-color:#8de7f3; }
.mobile-upgrade-icon { display:grid; place-items:center; height:62px; border:1px solid #819cad32; border-radius:10px; background:radial-gradient(ellipse,#46647c42,#071421b0); }
.mobile-upgrade-icon canvas { position:static; width:62px; height:29px; filter:brightness(1.65) drop-shadow(0 2px 3px #000); }
.mobile-upgrade-icon svg { width:32px; height:32px; fill:none; stroke:#9bddec; stroke-width:1.7; stroke-linejoin:round; stroke-linecap:round; }
.mobile-upgrade-copy { display:flex; flex-direction:column; gap:6px; min-width:0; }
.mobile-upgrade-copy small { font-size:9px; letter-spacing:.08em; color:#8ec6d4; }
.mobile-upgrade-copy strong { font-size:16px; line-height:1.2; color:#effbff; }
.mobile-upgrade-copy>span { font-size:12px; font-weight:400; line-height:1.45; color:#bacbdc; overflow-wrap:anywhere; }
.mobile-upgrade-arrow { color:#7eb9ca; font-size:25px; font-weight:400; }
.mobile-menu .mobile-record { padding:12px; margin:12px 0; border-left:2px solid #6dcbd6; border-radius:0 8px 8px 0; background:#142736a8; }
.mobile-record h2 { margin:0 0 6px; font-size:12px; color:#90ddeb; }
.mobile-record p { white-space:pre-line; }
.mobile-stat { display:flex; justify-content:space-between; gap:12px; padding:8px 2px; border-bottom:1px solid #90aec51c; color:#b7cedd; }
.mobile-stat strong { color:#f0faff; text-align:right; }
.mobile-menu .mobile-option { padding:10px; border:1px solid #779cb62b; background:#10233288; border-radius:10px; }
.mobile-option output { float:right; color:#8ed9e9; margin-left:6px; }
.mobile-menu .mobile-preview { border:1px solid #5a7f9c52; border-radius:12px; background:radial-gradient(ellipse,#30516870,#07121b); margin:12px auto; }
.mobile-menu[data-screen="suit"] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:10px; align-content:start; }
.mobile-menu[data-screen="suit"]>* { grid-column:1 / -1; }
.mobile-menu[data-screen="suit"]>.mobile-option { grid-column:auto; margin:6px 0; font-size:11px; }
.mobile-menu[data-screen="suit"] .mobile-assist-setting { padding:6px 2px; }
.mobile-menu p,.mobile-install p { line-height:1.5; color:#bfcede; margin:8px 0; overflow-wrap:anywhere; }
.mobile-menu button,.mobile-install button,.mobile-skip { min-height:46px; border:1px solid #45758b; border-radius:12px; background:#0c1c2bed; padding:10px; touch-action:manipulation; }
.mobile-menu button,.mobile-install button { display:block; width:100%; margin:8px 0; font-size:14px; }
.mobile-menu button.selected { background:#17566b; border-color:#61ebff; }
.mobile-menu button:disabled { opacity:.58; cursor:default; }
.mobile-menu .mobile-phase-choice { text-align:left; padding:12px; }
.mobile-phase-choice small { display:block; font-size:10px; color:#a3b8ca; margin-top:5px; font-weight:400; }
.mobile-root button:disabled { opacity:.3; }
.mobile-menu label { display:block; margin:16px 0; }
.mobile-menu input { display:block; width:100%; height:38px; accent-color:#5fe8ff; }
.mobile-settings { margin-top:18px; padding:12px; border:1px solid #45758b; border-radius:12px; }
.mobile-settings summary { min-height:34px; cursor:pointer; }
.mobile-view-options { display:flex; gap:8px; }
.mobile-menu .mobile-view-options button { flex:1; width:auto; font-size:11px; }
.mobile-assist-setting { display:block; width:100%; min-height:44px; margin-top:8px; padding:8px; border:1px solid #55798a; border-radius:9px; background:#102331; color:#effbff; font:16px system-ui; touch-action:pan-y; }
.mobile-menu .mobile-restore { margin-top:16px; font-size:11px; border-style:dashed; color:#b9e2ec; background:#0a1721; }
.mobile-app-tip { border-left:2px solid #ffd08a; padding:8px; }
.mobile-install { z-index:20; top:20%; bottom:auto; max-height:70%; box-shadow:0 0 0 100vmax #000a; }
.mobile-preview { position:static; display:block; margin:0 auto; width:128px; height:160px; object-fit:contain; image-rendering:auto!important; }
.mobile-skip { position:absolute; right:16px; bottom:16px; pointer-events:auto; }
.mobile-controls { position:absolute; inset:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); touch-action:none; }
.mobile-controls button,.mobile-stick,.mobile-aim-zone { pointer-events:auto; touch-action:none; }
.mobile-controls button { border:0; margin:0; }
.mobile-round { position:absolute; width:calc(46px * var(--hud-size)); height:calc(46px * var(--hud-size)); padding:5px; background:linear-gradient(150deg,rgba(57,73,90,calc(var(--hud-opacity) + .14)),rgba(16,27,41,calc(var(--hud-opacity) + .22)) 55%,rgba(6,14,24,calc(var(--hud-opacity) + .3))); border:1px solid #8095ab72!important; border-bottom-color:#07101ce6!important; border-radius:14px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; box-sizing:border-box; z-index:2; box-shadow:0 3px 0 #020711ba,0 7px 12px #0008,inset 0 1px 0 #e6f4ff38,inset 0 -2px 2px #0107117a; transition:border-color .12s,box-shadow .12s; }
.mobile-round::before { content:''; position:absolute; inset:3px; border:1px solid #c4e1ff12; border-bottom-color:#00000040; border-radius:inherit; pointer-events:none; }
.mobile-control-icon { position:relative; width:22px; height:22px; fill:none; stroke:#e1edf7; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; filter:drop-shadow(0 1px 1px #000b); }
.mobile-round small { position:relative; font-size:7px; line-height:10px; font-weight:650; letter-spacing:.02em; color:#b7c9da; text-shadow:0 1px 2px #000; pointer-events:none; }
.mobile-round.held { background:linear-gradient(155deg,#173242e0,#0c1927eb); border-color:#92d0e7a6!important; box-shadow:0 1px 0 #03070f,0 3px 6px #0008,inset 0 2px 5px #01060c99,inset 0 0 10px #81d7eb12; }
.mobile-controls .mobile-round:disabled { opacity:.42; box-shadow:0 2px 0 #020711a0,inset 0 1px 0 #abcde51f; }
.mobile-pause { top:4px; left:76px; width:40px; height:40px; border-radius:12px; }
.mobile-pause small { display:none; }
.mobile-minimap { position:absolute; left:4px; top:4px; width:66px; height:66px; border-radius:10px; opacity:.86; }
.mobile-weapon { position:absolute; right:8px; top:8px; width:144px; height:48px; display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:5px; align-items:center; border-radius:10px; background:linear-gradient(145deg,#263b4a99,#08121dc9); border:1px solid #b5d5ec26!important; box-shadow:0 3px 10px #0005,inset 0 1px 0 #d9eeff18; text-align:right; padding:5px 8px; z-index:2; }
.mobile-weapon::after { content:'⇄'; position:absolute; top:4px; right:8px; font-size:11px; color:#a8c2d8; pointer-events:none; }
.mobile-weapon b { grid-column:1 / -1; display:block; padding-right:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; line-height:12px; font-weight:500; pointer-events:none; }
.mobile-weapon-icon { position:static; display:block; width:44px; height:20px; object-fit:contain; pointer-events:none; filter:brightness(1.45) drop-shadow(0 1px 2px #000); }
.mobile-weapon .mobile-weapon-ammo { font-size:15px; line-height:20px; font-weight:700; white-space:nowrap; pointer-events:none; }
.mobile-status { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); width:100px; text-align:center; text-shadow:0 1px 2px #000; font-size:10px; }
.mobile-health { width:100%; height:5px; display:block; appearance:none; border:0; background:#0b152ab0; accent-color:#6dffa8; }
.mobile-health::-webkit-progress-bar { background:#0b152ab0; }
.mobile-health::-webkit-progress-value { background:#6dffa8; }
.mobile-objective { position:absolute; left:8px; right:8px; top:74px; height:32px; padding:5px 6px; background:#06121a66; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:10px!important; border-radius:6px; z-index:3; }
.mobile-objective.expanded { white-space:normal; height:auto; max-height:145px; overflow:auto; background:#06121af0; font-size:12px!important; line-height:1.45; }
.mobile-notices { position:absolute; top:113px; left:12px; right:12px; text-align:center; color:#ffd08a; font-size:11px; text-shadow:0 1px 3px #000; }
.mobile-feed { position:absolute; top:110px; left:10px; right:10px; display:flex; flex-direction:column; align-items:center; gap:5px; pointer-events:none; }
.mobile-feed .mobile-notices { position:static; padding:4px 8px; max-width:440px; border-radius:6px; background:#07131ddb; font-size:10px; line-height:1.35; }
.mobile-boss { width:min(100%,310px); padding:5px 8px; border:1px solid #bc749652; border-radius:6px; background:#190f1de8; text-align:center; }
.mobile-boss strong { display:block; margin-bottom:4px; font-size:10px; color:#ffd5e8; }
.mobile-boss progress,.mobile-phase-meter progress,.mobile-shield { display:block; width:100%; height:4px; border:0; appearance:none; background:#152334; accent-color:#d57ea7; }
.mobile-boss progress::-webkit-progress-bar,.mobile-phase-meter progress::-webkit-progress-bar,.mobile-shield::-webkit-progress-bar { background:#152334; }
.mobile-boss progress::-webkit-progress-value { background:#d57ea7; }
.mobile-phase-status { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; max-width:460px; }
.mobile-phase-meter { max-width:100%; background:#081722ed; border:1px solid #85bdd340; border-radius:5px; padding:4px 7px; font-size:9px; color:#d0eaf6; }
.mobile-phase-meter progress { margin-top:3px; accent-color:#8acddd; }
.mobile-phase-meter progress::-webkit-progress-value { background:#8acddd; }
.mobile-feed .mobile-log-button { position:static; max-width:100%; min-height:44px; padding:7px 10px; border:1px solid #75b7c86b; background:#122c3ded; border-radius:8px; font-size:10px; pointer-events:auto; }
.mobile-hint { position:absolute; bottom:204px; left:12px; right:12px; max-width:420px; margin:auto; padding:5px 8px; border-radius:6px; background:#081722e8; color:#c3dde8; font-size:10px; line-height:1.35; text-align:center; }
.mobile-root:has(.mobile-subtitles:not([hidden])) .mobile-hint { display:none; }
.mobile-shield { margin-bottom:3px; accent-color:#69b3ff; }
.mobile-shield::-webkit-progress-value { background:#69b3ff; }
.large-subtitles .mobile-subtitles { font-size:14px; }
.mobile-controls .action-KeyE small { max-width:46px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mobile-subtitles { position:absolute; bottom:198px; left:14px; right:14px; max-width:460px; margin:auto; padding:5px 8px; background:#061321a8; border-radius:6px; font-size:11px; line-height:1.35; pointer-events:none; }
.mobile-ending .mobile-subtitles { top:auto; bottom:78px; left:16px; right:16px; font-size:15px; }
.mobile-stick { position:absolute; left:16px; bottom:36px; width:calc(88px * var(--hud-size)); height:calc(88px * var(--hud-size)); border:1px solid #a1bdd14d; border-radius:50%; background:radial-gradient(circle at 50% 42%,#283a4d20 42%,#0b16254d 67%,#07101e91 70%,#2c40504d 73%,#0b132263 78%); display:grid; place-items:center; z-index:2; box-shadow:0 4px 10px #0005,inset 0 1px 0 #cee9ff24,inset 0 -2px 3px #0007; }
.mobile-stick::before { content:''; position:absolute; inset:10px; border:1px solid #b4d6ef14; border-radius:50%; pointer-events:none; }
.mobile-stick i { position:relative; width:30px; height:30px; border:1px solid #98b2c98f; border-radius:50%; background:linear-gradient(145deg,#687f91d9,#283b4ce6 60%,#172633eb); box-shadow:0 4px 6px #0008,inset 0 1px 1px #f0faff80,inset 0 -2px 1px #03121ca6; pointer-events:none; }
.mobile-stick i::after { content:''; position:absolute; inset:7px; border:1px solid #bed9eb26; border-radius:50%; box-shadow:inset 0 1px 3px #03101b55; }
.mobile-stick.held { border-color:#acd7e777; }
.mobile-fire.fire-right { right:16px; bottom:38px; width:calc(68px * var(--hud-size)); height:calc(68px * var(--hud-size)); border-radius:50%; background:radial-gradient(circle at 42% 24%,rgba(65,87,105,calc(var(--hud-opacity) + .12)),rgba(15,28,42,calc(var(--hud-opacity) + .2)) 62%,rgba(7,15,27,calc(var(--hud-opacity) + .3))); border-color:#a1bbce80!important; }
.mobile-fire.fire-right::before { inset:5px; border-color:#b1cadc24; }
.mobile-fire.fire-right .mobile-control-icon { width:21px; height:21px; }
.mobile-fire.fire-right small { position:absolute; bottom:5px; left:0; right:0; text-align:center; font-size:7px; letter-spacing:.1em; text-transform:uppercase; }
.mobile-aim-thumb { position:absolute; left:50%; top:50%; margin:-16px 0 0 -16px; width:32px; height:32px; box-sizing:border-box; display:grid; place-items:center; border:1px solid #a9c4d97a; border-radius:50%; background:linear-gradient(145deg,#516d82da,#1a2e40e8); box-shadow:0 3px 6px #0009,inset 0 1px 0 #e4f5ff56,inset 0 -2px 2px #07142299; pointer-events:none; }
.mobile-fire.fire-right.aiming { border-color:#b5e2f0b0!important; }
.aiming .mobile-aim-thumb { background:linear-gradient(145deg,#466b7fe6,#193a4de8); border-color:#b0e0ecb0; }
.mobile-fire.fire-right.assisted .mobile-aim-thumb { border-color:#b5f3ff; box-shadow:0 0 0 2px #68d9ef32,0 3px 6px #0009,inset 0 1px 0 #dcfaff80; }
.mobile-aim-ghost { position:absolute; width:calc(68px * var(--hud-size)); height:calc(68px * var(--hud-size)); transform:translate(-50%,-50%); border:1px solid #b5d5e64a; border-radius:50%; background:#10243245; box-shadow:inset 0 1px 0 #c8e8ff21; pointer-events:none; z-index:1; }
.mobile-fire.fire-left { left:18px; bottom:150px; width:44px; height:44px; border-radius:50%; }
.mobile-fire.fire-left small { display:none; }
.mobile-actions { position:absolute; inset:0; pointer-events:none; }
.action-KeyR { right:17px; bottom:120px; }
.action-Space { right:98px; bottom:60px; }
.action-KeyX { right:86px; bottom:126px; }
.action-KeyE { right:18px; bottom:180px; }
.action-KeyF { left:70px; bottom:150px; }
.mobile-aim-zone { position:absolute; top:115px; right:0; width:53%; bottom:25px; z-index:0; }
@media (orientation:landscape) {
 .mobile-menu { max-width:680px; }
 .mobile-feed { top:48px; left:120px; right:160px; }
 .mobile-hint { bottom:60px; left:23%; right:23%; }
 .mobile-menu.mobile-upgrade-menu { max-width:760px; }
 .mobile-upgrade-menu { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:10px; align-content:start; }
 .mobile-upgrade-menu>h1,.mobile-upgrade-menu>p { grid-column:1 / -1; }
 .mobile-menu .mobile-upgrade-card { grid-template-columns:minmax(0,1fr); align-content:start; min-height:0; gap:8px; padding:12px; }
 .mobile-upgrade-icon { height:43px; }
 .mobile-upgrade-arrow { display:none; }
 .mobile-upgrade-copy strong { font-size:14px; }
 .mobile-upgrade-copy>span { font-size:11px; }
 .mobile-objective { left:120px; top:8px; right:160px; height:32px; font-size:11px!important; }
 .mobile-notices { top:48px; left:110px; right:155px; }
 .mobile-stick { bottom:22px;left:22px; }
 .mobile-fire.fire-right { bottom:24px;right:22px; }
 .mobile-fire.fire-left { left:25px;bottom:130px; }
 .action-KeyR { right:20px;bottom:106px; }
 .action-Space { right:103px;bottom:35px; }
 .action-KeyX { right:82px;bottom:112px; }
 .action-KeyE { right:145px;bottom:88px; }
 .action-KeyF { left:82px;bottom:132px; }
 .mobile-subtitles { bottom:38px;left:24%;right:24%;font-size:11px; }
 .mobile-aim-zone { top:72px;bottom:20px; }
}
@media (max-height:360px) and (orientation:landscape) {
 .mobile-stick { width:76px;height:76px;bottom:20px; }
 .mobile-fire.fire-left { bottom:112px; }
 .action-KeyF { bottom:114px; }
 .mobile-subtitles { bottom:35px;left:28%;right:28%;font-size:10px; }
}
.touch-game #chapter strong { font-size:clamp(22px,5vw,42px); }
.touch-game #chapter span { font-size:clamp(14px,3vw,22px); }

/* Charge follows the button rim; electricity signals that the special is ready. */
.mobile-special-visual { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box; padding:5px; border-radius:inherit; pointer-events:none; transform-origin:50% 60%; }
.mobile-special-visual::before { content:''; position:absolute; inset:1px; border-radius:inherit; opacity:0; pointer-events:none; background:radial-gradient(ellipse at 24% 16%,#c3faffb3,transparent 68%),linear-gradient(125deg,transparent 27%,#8beaff66 46%,transparent 64%); }
.mobile-special-visual::after { content:''; position:absolute; inset:-7px; border:1px solid #83eaffb3; border-radius:18px; opacity:0; pointer-events:none; }
.mobile-special-visual .mobile-control-icon,.mobile-special-visual small { z-index:1; }
.mobile-special-callout { display:none; position:absolute; bottom:calc(100% + 9px); left:50%; transform:translateX(-50%); padding:2px 5px; border:1px solid #76d6f37a; border-radius:4px; background:#092b49f2; color:#cff7ff; font-size:7px; font-weight:800; line-height:9px; letter-spacing:.06em; white-space:nowrap; text-shadow:0 1px 2px #00172e; }
.mobile-special-charge { position:absolute; inset:-4px; pointer-events:none; }
.mobile-special-charge svg,.mobile-special-energy svg { display:block; width:100%; height:100%; fill:none; overflow:visible; }
.charge-track { stroke:#91adc126; stroke-width:1.2; }
.charge-fill { stroke:#aec9dd; stroke-width:1.6; stroke-linecap:round; stroke-dasharray:100; stroke-dashoffset:calc(100 - var(--special-charge,0)); transition:stroke-dashoffset .18s linear; }
.mobile-controls .action-KeyX:disabled { opacity:.7; }
.mobile-special-energy { display:none; position:absolute; inset:-8px; pointer-events:none; }
.energy-arc { stroke:#dbfbff; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; opacity:.85; animation:mobile-energy-flow 1.4s ease-in-out infinite alternate; }
.energy-arc.arc-right { animation-delay:-.8s; }
.energy-arc.arc-top { animation-delay:-1.3s; }
.mobile-controls .action-KeyX.special-ready { opacity:1; border-color:#a4f1ff!important; background:#1269a9; box-shadow:0 3px 0 #031329,0 7px 12px #0008,0 0 18px #30baff85; }
.special-ready .mobile-special-visual { background:linear-gradient(145deg,#239bdf,#126ac0 48%,#153c80); box-shadow:inset 0 1px 0 #dcfcffcc,inset 0 -2px 3px #001731a6,0 0 12px #50dfff73; animation:mobile-special-arrive .65s ease-out both,mobile-special-pulse 2s .65s ease-in-out infinite; }
.special-ready .mobile-special-visual::before { opacity:.45; animation:mobile-special-current 2.4s ease-in-out infinite; }
.special-ready .mobile-special-visual::after { animation:mobile-special-wave 2s .65s ease-out infinite; }
.special-ready .mobile-special-callout { display:block; }
.mobile-controls .action-KeyX.special-active { opacity:1; border-color:#88d4e3a6!important; background:linear-gradient(150deg,#32596ce6,#152f43ee 55%,#0a1c2bf0); box-shadow:0 3px 0 #020912d9,0 7px 12px #0008,0 0 12px #68d9ef26,inset 0 1px 0 #d9faff63,inset 0 -2px 2px #020d17a0; }
.action-KeyX.special-ready .mobile-control-icon,.action-KeyX.special-active .mobile-control-icon { stroke:#d4faff; fill:#8ddbe326; }
.action-KeyX.special-ready .mobile-control-icon { width:25px; height:25px; stroke:#f0fdff; fill:#9becff7a; filter:drop-shadow(0 0 3px #92f0ff99); }
.action-KeyX.special-ready small,.action-KeyX.special-active small { color:#caf3ff; }
.action-KeyX.special-ready small { color:#f0fcff; font-weight:800; }
.special-ready .charge-fill,.special-active .charge-fill { stroke:#8ceaff; }
.special-ready .mobile-special-energy,.special-active .mobile-special-energy { display:block; }
.mobile-controls .action-KeyX.held { box-shadow:0 1px 0 #020912d9,0 3px 6px #0008,inset 0 2px 5px #010a1499; }
@keyframes mobile-energy-flow { from { opacity:.3; stroke-dasharray:7 3 10; stroke-dashoffset:6; } to { opacity:.9; stroke-dasharray:7 3 10; stroke-dashoffset:0; } }
@keyframes mobile-special-arrive { 0% { transform:scale(.94); } 20% { transform:translateX(-2px) rotate(-5deg) scale(1.1); } 38% { transform:translateX(2px) rotate(5deg) scale(1.1); } 55% { transform:translateX(-1.5px) rotate(-3deg) scale(1.07); } 72% { transform:translateX(1px) rotate(2deg) scale(1.04); } 100% { transform:scale(1); } }
@keyframes mobile-special-pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.065); } }
@keyframes mobile-special-current { 0%,100% { opacity:.22; } 50% { opacity:.7; } }
@keyframes mobile-special-wave { 0% { opacity:.65; transform:scale(.91); } 80%,100% { opacity:0; transform:scale(1.13); } }
.action-KeyX.held .mobile-special-visual { animation:none; transform:scale(.96); }
.action-KeyX.calm .energy-arc,.action-KeyX.calm .mobile-special-visual,.action-KeyX.calm .mobile-special-visual::before,.action-KeyX.calm .mobile-special-visual::after { animation:none; }
.action-KeyX.calm .mobile-special-visual { transform:none; }
.action-KeyX.calm .charge-fill { transition:none; }
@media (prefers-reduced-motion:reduce) {
 .energy-arc,.special-ready .mobile-special-visual,.special-ready .mobile-special-visual::before,.special-ready .mobile-special-visual::after { animation:none; }
 .special-ready .mobile-special-visual { transform:none; }
 .charge-fill { transition:none; }
}
