/* Habillage commun ABG : cockpit graphite, instruments cyan, commandes physiques. */
:root{--lime:#27e5ef;--muted:#8da2b1;color:#e8edf1;background:#07111a;font-synthesis:none}
body{background:radial-gradient(ellipse at 50% 0,#152c3c 0,transparent 60%),#07111a}
.console{max-width:580px;padding:18px 22px 12px}
.console-strip{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #314350;padding:0 0 12px;margin-bottom:16px;font-size:9px;letter-spacing:.15em;color:#b8c8d1}.console-strip b{font-weight:500;color:#748e9e;margin-left:6px}.power{display:flex;align-items:center;gap:7px;font-size:8px;color:#8da2b1}.power i,.monitor-top i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#27e5ef;box-shadow:0 0 10px #27e5ef}
header{min-height:70px;margin-bottom:19px;gap:14px}.brand{gap:14px}.brand img{width:70px;height:70px}.brand strong{font-size:23px;font-weight:650;letter-spacing:.025em}.brand span{font-size:9px;letter-spacing:.16em}header>a{border:1px solid #314858;border-radius:5px;padding:9px 11px;font-size:10px;color:#b7cbd5}
.panel{position:relative;border:1px solid #355365;border-radius:9px;background:linear-gradient(145deg,#132633,#0b1923);padding:30px 26px;box-shadow:inset 0 1px #6b8b9b22,0 22px 55px #0004}.panel:before,.panel:after{content:'';position:absolute;top:10px;width:4px;height:4px;border-radius:50%;background:#506c7b;box-shadow:0 1px 2px #000}.panel:before{left:10px}.panel:after{right:10px}.eyebrow{font-size:9px;letter-spacing:.17em;color:#8da2b1}h1{font-size:38px;font-weight:600;letter-spacing:-.8px;line-height:1.14;margin:18px 0}h1 em{color:#27e5ef}p{font-size:13px}.rules{padding:18px 0;margin:22px 0;border-color:#2c4555}.rules span{font-size:22px;font-weight:650;font-variant-numeric:tabular-nums}.rules small{font-size:8px;color:#8da2b1;letter-spacing:.12em}label{font-size:12px}input{background:#07131e;border-color:#355365;border-radius:5px;font-size:16px;padding:14px;color:#e8f5fc}button{border-radius:5px;background:#27e5ef;color:#05202a;padding:13px 17px;font-size:13px}button:focus-visible,a:focus-visible{outline:2px solid #27e5ef;outline-offset:4px}form button{min-height:46px}.hint{font-size:11px;line-height:1.7}footer{font-size:8px;letter-spacing:.1em;color:#8298a8;padding:20px 0}footer b{color:#27e5ef;padding:0 6px}.hud{border-block:1px solid #2c4555;padding:12px 0;max-width:100%;margin-bottom:16px;gap:16px}.hud span{font-size:8px;letter-spacing:.14em}.hud strong{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums}.hud button{background:#152733;border:1px solid #3a5262;color:#d4e7f1;border-radius:5px}.arena{border-color:#355365;border-radius:7px;box-shadow:0 15px 40px #0005;max-width:360px}.monitor-top,.monitor-bottom{display:flex;justify-content:space-between;align-items:center;background:#10212c;color:#829dac;font-size:7px;letter-spacing:.12em;padding:8px 10px;border-bottom:1px solid #2b4352}.monitor-top>span:first-child{display:flex;align-items:center;gap:6px}.monitor-bottom{border-bottom:0;border-top:1px solid #2b4352;padding:6px 10px}.monitor-bottom>span:last-child{color:#27e5ef}.bottom{max-width:100%;margin:14px auto}.tilt-controls{border-top:1px solid #263e4d;padding-top:13px;max-width:100%}.tilt-controls button{background:#152733;border:1px solid #3a5262;border-radius:5px;color:#c8dbe5}.tilt-controls button[aria-pressed=true]{color:#27e5ef;border-color:#27e5ef}.dpad{margin-top:10px}.dpad button{border:1px solid #40596a;border-bottom:3px solid #07131e;border-radius:6px;background:linear-gradient(#213b4b,#142835);color:#c9e1eb;box-shadow:0 3px 0 #020a10,inset 0 1px #66809344;width:60px;min-height:48px}.dpad button:active{transform:translateY(2px);box-shadow:none;border-color:#27e5ef}.overlay{background:#07131eee;backdrop-filter:blur(3px)}.overlay h2{font-size:26px;font-weight:550}.result-score{color:#27e5ef;font-size:64px}.board{padding:26px 20px}.board h1{font-size:34px}.live{color:#27e5ef;font-size:11px}td:nth-child(3){color:#27e5ef}.actions a{font-size:12px}#start-error:empty{display:none}
@media(max-width:450px){.console{padding:max(12px,env(safe-area-inset-top)) 14px max(8px,env(safe-area-inset-bottom))}.console-strip{margin-bottom:12px}header{min-height:62px}.brand img{width:54px;height:54px}.brand strong{font-size:20px}.brand span{font-size:8px}.panel{padding:26px 20px}h1{font-size:34px}.rules{gap:8px}.rules span{font-size:20px}.arena{max-width:100%}.hud{gap:10px}.hud strong{font-size:20px}.bottom{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.brand img{width:200px;height:115px;object-fit:contain}.brand{min-width:0}header{min-height:110px}.trooper-choice{border:0;margin:22px 0 12px;padding:0}.trooper-choice legend{font-size:12px;font-weight:650;margin-bottom:12px}.trooper-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trooper-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 8px;border:1px solid #355365;border-radius:7px;background:#0a1823;cursor:pointer;margin:0}.trooper-card input{position:absolute;top:10px;left:10px;width:16px;height:16px;margin:0;accent-color:#27e5ef}.trooper-card img{width:65px;height:74px;object-fit:contain}.trooper-card strong{font-size:12px}.trooper-card.blue{color:#48adff}.trooper-card.red{color:#ff7184}.trooper-card.blue:has(input:checked){border-color:#48adff;background:#102e48;box-shadow:inset 0 0 0 1px #48adff55}.trooper-card.red:has(input:checked){border-color:#ff5b70;background:#371b2a;box-shadow:inset 0 0 0 1px #ff5b7055}.trooper-card:focus-within{outline:2px solid #e8f5fc;outline-offset:3px}.power-help{font-size:11px!important;line-height:1.65;display:flex;align-items:flex-start;gap:10px}.super-dot{display:inline-block;flex-shrink:0;width:11px;height:11px;border:2px solid #c4ff75;border-radius:50%;background:#e3ffb4;box-shadow:0 0 8px #c4ff7577;margin-top:3px}.reward-rules{border:1px solid #355365;border-radius:7px;padding:13px 14px;margin:0 0 22px;font-size:12px;line-height:1.7}.reward-rules>strong{color:#27e5ef}.reward-rules p{font-size:12px;margin:4px 0 0}.reward-rules b{color:#e7f6fc;font-weight:650}.reward-result{border:1px solid #355365;background:#122b3a;border-radius:7px;padding:15px;margin:18px 0 8px}.reward-result>strong{color:#27e5ef;font-size:18px}.reward-result p{margin:7px 0 0;font-size:12px}.reward-result.no-prize{background:#101e29}.reward-result.no-prize>strong{color:#c0cfda}.google-review{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin:8px 0;color:#d5e6ef;font-size:13px;text-decoration:underline;text-underline-offset:3px}.google-review span{color:#ffd74a;font-size:20px}@media(max-width:450px){.brand img{width:166px;height:98px}header{min-height:95px}.trooper-card img{width:58px;height:65px}}

.console:has(:is(#welcome,#finish):not([hidden])) header{display:grid;grid-template-columns:1fr auto auto;min-height:85px;gap:9px}.console:has(:is(#welcome,#finish):not([hidden])) .brand img{width:140px;height:82px}.console:has(:is(#welcome,#finish):not([hidden])) header #sound{min-height:36px;background:#122531;color:#d2e3ee;border:1px solid #395669;border-radius:5px;font-size:10px;padding:9px 10px}.console:has(:is(#welcome,#finish):not([hidden])) header>a{white-space:nowrap;font-size:10px;padding:10px 8px}.console:has(:is(#welcome,#finish):not([hidden])) .panel{padding-top:22px}.console:has(:is(#welcome,#finish):not([hidden])) .rules{margin:18px 0}
