:root {
  --cyan: #63e6ff;
  --amber: #ffb648;
  --danger: #ff5268;
  --glass: rgba(5, 17, 31, .66);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #eefaff;
  background: #06101e;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #06101e; }
button, select { font: inherit; color: inherit; }
#world, #game { position: fixed; inset: 0; width: 100%; height: 100%; }
#game { touch-action: none; }
#vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 46%, rgba(0, 8, 18, .55) 100%); }
#damageFlash { position: fixed; z-index: 2; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse, transparent 30%, rgba(255, 35, 55, .75) 100%); transition: opacity .08s; }
.graphics-warning { position: fixed; z-index: 9; left: 50%; top: 84px; transform: translateX(-50%); max-width: 90%; padding: 8px 12px; border: 1px solid #e9ba70; background: rgba(54, 36, 13, .92); color: #ffedc8; text-align: center; font-size: 12px; }
.graphics-warning[hidden] { display: none; }
.hud { position: fixed; z-index: 3; text-shadow: 0 1px 4px #000; }
.topbar { top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; background: linear-gradient(180deg, rgba(3, 12, 24, .86), rgba(3, 12, 24, .28) 76%, transparent); border-top: 2px solid var(--cyan); box-shadow: 0 2px 24px rgba(99,230,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.brand { display: flex; align-items: baseline; gap: 8px; letter-spacing: .14em; }
.brand b { font-size: 20px; text-shadow: 0 0 12px rgba(99,230,255,.35); }
.brand span { color: var(--cyan); font-size: 10px; }
.stats { display: flex; gap: 23px; }
.stats div, .altitude, .health { display: grid; gap: 2px; }
.stats span, .altitude span, .health span { font-size: 9px; letter-spacing: .18em; color: #9ec1d3; }
.stats b { font-variant-numeric: tabular-nums; transition: color .15s, text-shadow .15s; }
.timer-stat { min-width: 48px; }
.timer-stat > b { color: var(--amber); font: 700 15px ui-monospace,monospace; }
.timer-stat small { color: #9ec1d3; font-size: 7px; letter-spacing: .12em; }
.timer-stat #combo { color: #9ec1d3; font: 700 10px ui-monospace,monospace; }
.timer-stat #combo.active { color: #ffe0a0; text-shadow: 0 0 12px rgba(255,182,72,.8); }
.timer-stat.urgent > b { color: #ff6475; animation: danger-pulse .45s ease-in-out infinite alternate; }
.speed-stat { min-width: 150px; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.speed-stat > span, .speed-stat > b, .speed-stat .boost-meter, .speed-stat #boostLabel, .speed-stat #acceleration { grid-column: 1 / -1; }
.speed-stat b { font-size: 21px; }
.speed-stat.braking b { color: #8eeaff; text-shadow: 0 0 10px rgba(99,230,255,.7); }
.speed-stat.stall b { color: #ff473f; animation: danger-pulse .3s infinite alternate; }
.boost-meter { height: 4px; margin-top: 3px; overflow: hidden; border: 1px solid rgba(255,255,255,.26); background: rgba(3,12,24,.68); }
.boost-meter i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#ffc04e,#fff0ae,#54dcff); box-shadow: 0 0 9px #ffc04e; transition: width .08s linear; }
.speed-stat small { min-height: 10px; color: #a1bac6; font-size: 7px; letter-spacing: .12em; }
.speed-stat #distance, .speed-stat #nextZone { display: block; min-height: 9px; font-size: 7px; letter-spacing: .035em; white-space: nowrap; }
.speed-stat #distance { grid-column: 1; }
.speed-stat #nextZone { grid-column: 2; text-align: right; }
.speed-stat #nextZone { color: #8ff0df; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.speed-stat.afterburning b { color: #ffe5a0; text-shadow: 0 0 12px rgba(255,174,62,.85); }
.speed-stat.afterburning .boost-meter { border-color: #ffb648; box-shadow: 0 0 10px rgba(255,174,62,.55); }
.speed-stat.afterburning #boostLabel { color: #ffd486; animation: boost-pulse .45s ease-in-out infinite alternate; }
@keyframes boost-pulse { to { opacity: .56; } }
.options-card { max-width: 520px; text-align: left; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 18px 0 24px; align-items: center; }
.options-grid label { color: #9ec1d3; font-size: 11px; letter-spacing: .06em; }
.options-grid select { padding: 8px 10px; border: 1px solid rgba(99,230,255,.35); background: rgba(5,17,31,.9); color: #eefaff; border-radius: 4px; font-size: 11px; }
.actions { display: flex; gap: 8px; }
.actions button, .actions select { border: 1px solid rgba(99, 230, 255, .38); background: var(--glass); border-radius: 5px; padding: 7px 9px; }
.actions .boost-toggle { border-color: rgba(255,182,72,.84); background: rgba(75,43,9,.72); color: #ffe0a0; font-size: 9px; font-weight: 900; letter-spacing: .08em; cursor: pointer; }
.actions .boost-toggle.active { color: #fff; background: linear-gradient(180deg,#ffb24a,#bf4d17); box-shadow: 0 0 22px rgba(255,156,49,.75); animation: boost-pulse .45s ease-in-out infinite alternate; }
.actions .chase-toggle { border-color: rgba(255,100,120,.7); background: rgba(80,18,28,.72); color: #ffccd4; font-size: 9px; font-weight: 900; letter-spacing: .08em; cursor: pointer; transition: all .2s; }
.actions .chase-toggle.active { color: #fff; border-color: #ff3355; background: linear-gradient(180deg,#ff3b5c,#b50e2c); box-shadow: 0 0 22px rgba(255,50,80,.85); animation: danger-pulse .65s ease-in-out infinite alternate; }
.actions .reserve-control { border-color: rgba(255,182,72,.65); color: #ffe0a0; font-size: 9px; font-weight: 900; letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
.reserve-control b { color: #fff; font-variant-numeric: tabular-nums; }
.radar { top: 82px; right: 20px; width: 150px; height: 150px; border: 1px solid rgba(99, 230, 255, .38); border-radius: 50%; background: rgba(3, 15, 28, .44); overflow: hidden; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 0 16px rgba(99,230,255,.12); }
.radar span { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 8px; letter-spacing: .2em; color: var(--cyan); }
.airbase-radar-label { position: fixed; z-index: 4; top: 238px; right: 20px; width: 150px; box-sizing: border-box; padding: 4px 5px; border: 1px solid rgba(255, 182, 72, .52); border-radius: 3px; background: rgba(16, 21, 25, .72); color: #ffe0a0; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-align: center; text-shadow: 0 1px 5px #000; }
.mission-guide { position: fixed; z-index: 4; top: 108px; left: 22px; width: min(360px, calc(100vw - 340px)); padding: 8px 12px; border: 1px solid rgba(99, 230, 255, .25); border-left: 2px solid rgba(99, 230, 255, .86); border-radius: 4px; background: linear-gradient(100deg, rgba(4, 17, 29, .72), rgba(4, 17, 29, .34)); backdrop-filter: blur(8px); text-align: left; line-height: 1.38; }
.mission-guide b { display: block; color: var(--amber); font-size: 9px; letter-spacing: .16em; }
.mission-guide span { display: block; margin-top: 3px; color: #d4e9ef; font-size: 10px; }
.mission-guide.locked { border-color: rgba(255, 182, 72, .48); border-left-color: var(--amber); background: linear-gradient(100deg, rgba(35, 25, 9, .76), rgba(35, 25, 9, .36)); }
.mission-guide.locked span { color: #ffe0a0; }
.altitude { right: 26px; bottom: 40px; text-align: right; }
.altitude b { font-size: 23px; }
.altitude small { color: #9ec1d3; font-size: 10px; letter-spacing: .08em; }
.altitude small.low { color: #ff7080; font-weight: 800; text-shadow: 0 0 9px rgba(255,60,80,.65); }
.health { left: 24px; bottom: 32px; width: 190px; }
.health > div { height: 8px; border: 1px solid rgba(255, 255, 255, .4); padding: 1px; }
.health i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), #7dffbc); transition: width .2s; }
.health b { font-size: 11px; }
.lock { position: fixed; z-index: 4; left: 50%; top: 50%; width: 82px; height: 82px; transform: translate(-50%, -50%); pointer-events: none; }
.lock svg { display: block; width: 100%; height: 100%; stroke: var(--cyan); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(99, 230, 255, .6)) drop-shadow(0 0 18px rgba(99, 230, 255, .2)); }
.lock b { position: absolute; top: 80px; width: 140px; left: -29px; text-align: center; font-size: 8px; letter-spacing: .18em; color: var(--cyan); }
.lock small { position: absolute; top: 95px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px; text-align: center; color: #ffe0a0; font: 10px ui-monospace,monospace; }
.lock.hot svg { stroke: var(--danger); filter: drop-shadow(0 0 8px rgba(255, 82, 104, .8)) drop-shadow(0 0 20px rgba(255, 82, 104, .35)); }
.lock.hot b { color: var(--danger); }
.lock.cannon-ready svg { stroke: #83ffb2; filter: drop-shadow(0 0 7px rgba(131, 255, 178, .65)); }
.lock.cannon-ready small { color: #a1ffc4; }
.message { position: fixed; z-index: 5; left: 50%; top: 31%; transform: translateX(-50%); font-size: 13px; letter-spacing: .18em; color: var(--amber); text-shadow: 0 2px 8px #000; opacity: 0; transition: opacity .25s; }
.message.show { opacity: 1; }
.boundary-lights { position: fixed; z-index: 4; inset: 12px; pointer-events: none; }
.boundary-lights[hidden] { display: none; }
.edge-light { position: absolute; opacity: .2; background: #ff3e3e; box-shadow: 0 0 10px #fa3636; animation: edge-signal .48s steps(2,end) infinite; }
.edge-light.top,.edge-light.bottom { left: 18%; right: 18%; height: 5px; }
.edge-light.top { top: 0; }.edge-light.bottom { bottom: 0; }
.edge-light.left,.edge-light.right { top: 18%; bottom: 18%; width: 5px; }
.edge-light.left { left: 0; }.edge-light.right { right: 0; }
.boundary-lights[data-side="north"] .top,.boundary-lights[data-side="south"] .bottom,.boundary-lights[data-side="east"] .right,.boundary-lights[data-side="west"] .left { opacity: 1; box-shadow: 0 0 22px #ff3737; }
.boundary-lights.critical .edge-light { opacity: 1; box-shadow: 0 0 26px #ff2525; animation-duration: .2s; }
@keyframes edge-signal { 50% { opacity: .42; } }
.boundary-warning { position: fixed; z-index: 7; top: 270px; left: 50%; max-width: calc(100% - 30px); transform: translateX(-50%); padding: 9px 14px; border: 1px solid rgba(255,73,64,.95); background: rgba(62,8,12,.92); color: #fff0e5; text-align: center; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-shadow: 0 0 12px #f22; animation: danger-pulse .42s ease-in-out infinite alternate; }
.boundary-warning[hidden] { display: none; }
.terrain-warning { position: fixed; z-index: 5; left: 22px; top: 330px; width: min(460px, calc(100vw - 44px)); padding: 7px 10px; border-left: 2px solid rgba(255,190,98,.9); border-radius: 3px; background: rgba(4,17,29,.78); color: #ffbe62; font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.4; text-shadow: 0 2px 8px #000; }
.terrain-warning[hidden] { display: none; }
.terrain-warning.collision-imminent { color: #fff1cc; text-shadow: 0 0 12px #f32; animation: obstacle-pulse .28s ease-in-out infinite alternate; }
@keyframes obstacle-pulse { to { transform: scale(1.03); text-shadow: 0 0 24px #f32; } }
.threat-warning { position: fixed; z-index: 5; top: 190px; left: 50%; transform: translateX(-50%); padding: 8px 13px; border: 1px solid rgba(255,82,104,.8); background: rgba(54,8,19,.88); color: #ff8794; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-shadow: 0 0 10px #f24; }
.threat-warning.active { animation: danger-pulse .7s ease-in-out infinite alternate; }
.threat-warning.missile-warning { border-width: 2px; background: rgba(112, 8, 21, .96); color: #fff; font-size: 13px; box-shadow: 0 0 28px rgba(255, 35, 65, .8); animation: danger-pulse .28s ease-in-out infinite alternate; }
.threat-warning[hidden] { display: none; }
.airbase-status { position: fixed; z-index: 5; top: 196px; left: 22px; transform: none; box-sizing: border-box; width: min(360px, calc(100vw - 44px)); padding: 8px 12px; border: 1px solid rgba(99,230,255,.55); border-radius: 4px; background: rgba(4,24,35,.86); color: #aaf5eb; text-align: left; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-shadow: 0 1px 5px #000; }
.airbase-status.landing-ready { border-color: rgba(126,255,188,.9); color: #baffd5; box-shadow: 0 0 16px rgba(88,255,176,.3); }
.airbase-status[hidden] { display: none; }
.land-btn { position: fixed; z-index: 6; top: 276px; left: 22px; min-height: 38px; padding: 8px 14px; border: 1px solid rgba(126,255,188,.95); border-radius: 4px; background: linear-gradient(180deg,rgba(14,86,71,.96),rgba(4,42,40,.96)); color: #c4ffe1; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-shadow: 0 1px 4px #000; box-shadow: 0 0 16px rgba(88,255,176,.25); cursor: pointer; transition: background .2s, box-shadow .2s; }
.land-btn:hover,.land-btn:focus-visible { background: linear-gradient(180deg,rgba(28,130,97,.98),rgba(6,68,53,.98)); box-shadow: 0 0 24px rgba(88,255,176,.48); outline: 2px solid #d1ffe6; outline-offset: 2px; }
.land-btn.assist-active { background: linear-gradient(180deg,rgba(168,75,15,.96),rgba(92,34,7,.96)); border-color: rgba(255,190,70,.95); color: #fff2d0; box-shadow: 0 0 22px rgba(255,160,40,.6); animation: danger-pulse .9s ease-in-out infinite alternate; }
.land-btn:disabled { border-color: rgba(158,193,211,.48); background: rgba(4,24,35,.88); color: #a9c3ce; box-shadow: none; cursor: not-allowed; opacity: .84; }
.land-btn:disabled:hover { background: rgba(4,24,35,.88); box-shadow: none; outline: none; }
.land-btn[hidden] { display: none; }
.land-btn.land-abort-btn { left: min(310px, 49vw); border-color: #ffbe62; background: #36281d; color: #ffe2b0; }
.reserve-card { max-width: 440px; }
.reserve-card h2 { color: var(--cyan); font-size: clamp(22px,5vw,34px); }
.reserve-card p:not(.eyebrow) { color: #b9d0dd; }
.reserve-card p b { margin-left: 6px; color: #ffe0a0; font-size: 20px; }
.reserve-card .primary, .reserve-card .secondary { min-width: min(320px,100%); }
.reserve-card button:disabled { opacity: .52; cursor: not-allowed; filter: saturate(.55); }
.reserve-status { display: block; min-height: 28px; margin: 12px auto 3px; max-width: 340px; line-height: 1.45; }
@keyframes danger-pulse { to { box-shadow: 0 0 22px rgba(255,52,76,.48); color: #fff; } }
.panel { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; background: linear-gradient(90deg, rgba(1, 8, 17, .76), rgba(1, 8, 17, .28), rgba(1, 8, 17, .76)); opacity: 0; pointer-events: none; transition: opacity .35s; }
.panel.open { opacity: 1; pointer-events: auto; }
#optionsPanel { z-index: 25; }
#airbaseShop { z-index: 14; }
#airbaseShop .airbase-shop-card { border-top: 3px solid #f4bd44; }
.airbase-stock { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:20px auto 0; max-width:380px; }
.airbase-stock div { min-width:0; padding:12px 5px; border:1px solid rgba(124,204,224,.27); background:rgba(19,44,57,.8); }
.airbase-stock dt { color:#b9d0dd; font-size:clamp(9px,1.7vw,12px); letter-spacing:.07em; }
.airbase-stock dd { margin:6px 0 0; color:#ffce65; font:700 clamp(18px,4vw,26px)/1.2 ui-monospace,monospace; }
.airbase-stock div+div dd { color:#86eaff; }
#airbaseShopResult { min-height: 2.6em; margin: 12px 0 16px; }
#missileStorePanel { z-index: 20; }
#pausePanel { z-index: 15; }
.panel-card { width: min(760px, calc(100% - 34px)); max-height: calc(100vh - 24px); overflow-y: auto; padding: 28px 30px; text-align: center; background: linear-gradient(145deg, rgba(7, 25, 43, .96), rgba(2, 13, 25, .92)); border: 1px solid rgba(99, 230, 255, .34); box-shadow: 0 25px 80px rgba(0, 0, 0, .55), inset 0 0 50px rgba(55, 185, 255, .04); clip-path: polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); }
.eyebrow { font-size: 10px; letter-spacing: .25em; color: var(--cyan); }
h1 { font-size: clamp(48px, 10vw, 82px); margin: 8px 0 0; letter-spacing: .06em; line-height: 1; }
h2 { font-size: 38px; margin: 10px; }
.tagline { color: #b9d0dd; margin: 12px 0 30px; }
#endCause { color: #ffbd83; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.objective-brief { max-width: 440px; margin: -12px auto 22px; color: #d5e8ec; font-size: 12px; line-height: 1.5; }
.menu-missile-offer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 10px auto 18px; padding: 10px 13px; border: 1px solid rgba(255,182,72,.7); border-left: 3px solid var(--amber); border-radius: 4px; background: linear-gradient(100deg,rgba(61,38,11,.58),rgba(6,20,32,.82)); text-align: left; }
.menu-missile-copy { display: grid; gap: 3px; }
.menu-missile-copy > b { color: #ffd07c; font-size: 10px; letter-spacing: .16em; }
.menu-missile-copy > span { color: #eefaff; font-size: 13px; font-weight: 800; }
.menu-missile-copy small { color: #a9c4d1; font-size: 9px; }
.menu-missile-copy small b { color: #ffe0a0; }
#menuMissileShopBtn { flex: 0 0 auto; padding: 10px 14px; border: 1px solid rgba(255,182,72,.85); border-radius: 3px; background: linear-gradient(180deg,rgba(139,87,16,.82),rgba(74,44,8,.92)); color: #fff0c6; font-size: 9px; font-weight: 900; letter-spacing: .07em; cursor: pointer; }
#menuMissileShopBtn:hover { filter: brightness(1.2); }
.selection-heading { margin: 12px 0 8px; color: var(--cyan); font-size: 12px; letter-spacing: .14em; }
.aircraft-stats-hint { margin: 0 auto 7px; color: #92b5c5; font-size: 8px; letter-spacing: .08em; }
.aircraft-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 16px; }
.aircraft-option { min-height: 110px; padding: 10px 7px; border: 1px solid rgba(129,166,183,.42); border-radius: 4px; background: rgba(7,20,32,.82); color: #d5e5e9; cursor: pointer; text-align: center; }
.aircraft-option strong,.aircraft-option b,.aircraft-option span { display: block; }
.aircraft-option strong { color: var(--amber); font-size: 13px; letter-spacing: .12em; }
.aircraft-option b { margin-top: 3px; font-size: 8px; letter-spacing: .1em; color: #9ec1d3; }
.aircraft-option span { margin-top: 7px; font-size: 9px; line-height: 1.35; }
.aircraft-option.selected { border-color: var(--cyan); background: rgba(21,84,103,.5); box-shadow: inset 0 0 18px rgba(99,230,255,.12), 0 0 14px rgba(99,230,255,.14); }
.mode-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 10px 0 6px; }
.mode-option { min-height: 64px; padding: 9px 7px; border: 1px solid rgba(129,166,183,.42); border-radius: 4px; background: rgba(7,20,32,.82); color: #d5e5e9; cursor: pointer; }
.mode-option strong,.mode-option span { display: block; }
.mode-option strong { color: var(--amber); font-size: 9px; letter-spacing: .08em; }
.mode-option span { margin-top: 5px; color: #a7c5ce; font-size: 8px; }
.mode-option.selected { border-color: var(--cyan); background: rgba(21,84,103,.5); box-shadow: inset 0 0 18px rgba(99,230,255,.12), 0 0 14px rgba(99,230,255,.14); }
.mode-description { min-height: 28px; margin: 5px 0 14px; color: #a6d7df; font-size: 10px; }
.online-card { max-width: 560px; }
.online-card h2 { margin: 0 0 12px; color: #eff9ff; font-size: clamp(24px,5vw,42px); }
.online-label { display: block; margin: 14px 0 5px; color: var(--cyan); font-size: 10px; letter-spacing: .12em; text-align: left; }
.online-input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid rgba(99,230,255,.36); border-radius: 3px; background: rgba(3,14,25,.85); color: #eff9ff; font: inherit; }
.online-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin: 12px 0; }
.online-actions .primary { padding: 12px 15px; font-size: 10px; }
.online-actions .secondary, .available-rooms .secondary { margin: 0; }
.room-private { display: flex; align-items: center; justify-content: center; gap: 6px; color: #a8cad5; font-size: 11px; cursor: pointer; }
.room-private input { accent-color: var(--cyan); }
.room-code-form label { color: #a8cad5; font-size: 10px; }
.room-code-input { width: 90px; text-align: center; text-transform: uppercase; letter-spacing: .16em; }
.available-rooms { padding: 10px 12px; border: 1px solid rgba(99,230,255,.28); background: rgba(3,14,25,.55); text-align: left; }
.available-rooms-heading, .available-rooms li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.available-rooms h3 { margin: 0; color: var(--cyan); font-size: 10px; letter-spacing: .12em; }
.available-rooms p { margin: 8px 0 0; color: #a8cad5; font-size: 11px; }
.available-rooms .room-roster { max-height: 112px; margin-bottom: 0; }
.available-rooms .room-roster:empty { margin-top: 0; }
.available-rooms .secondary { padding: 6px 9px; }
.room-details { margin: 12px 0; padding: 12px; border: 1px solid rgba(99,230,255,.28); background: rgba(3,14,25,.55); }
.room-details p { margin: 5px; color: #a8cad5; font-size: 11px; }
.room-details #roomCodeLabel { margin-left: 8px; color: var(--amber); font: 700 18px ui-monospace,monospace; letter-spacing: .15em; }
.room-roster { display: grid; gap: 5px; max-height: 160px; overflow: auto; margin: 12px 0; padding: 0; list-style: none; color: #e0f4f7; text-align: left; }
.room-roster li { padding: 7px 9px; background: rgba(20,55,69,.55); font-size: 11px; }
.online-footnote { display: block; margin: 15px auto 0; color: #829fac; font-size: 9px; line-height: 1.45; }
.online-back { margin-top: 16px; }
.ranking-card { margin: 18px auto 10px; padding: 10px 12px; border: 1px solid rgba(99,230,255,.24); background: rgba(3,14,25,.62); text-align: left; }
.ranking-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ranking-heading h2 { margin: 0; color: var(--cyan); font-size: 10px; letter-spacing: .16em; }
.rank-tab { padding: 5px 8px; border: 1px solid rgba(99,230,255,.24); background: transparent; color: #a9c8d3; font-size: 8px; letter-spacing: .08em; cursor: pointer; }
.rank-tab.selected { border-color: var(--amber); color: #ffe0a0; background: rgba(108,69,15,.25); }
.rank-list { display: grid; gap: 4px; margin: 9px 0; padding: 0; list-style: none; font: 9px ui-monospace,monospace; color: #e0f4f7; }
.rank-list li { overflow: hidden; padding: 5px 7px; border-left: 2px solid rgba(99,230,255,.52); background: rgba(13,39,53,.5); text-overflow: ellipsis; white-space: nowrap; }
.ranking-card > small { color: #829fac; font-size: 8px; }
.google-ads-status { display: block; margin: 10px auto 0; max-width: 440px; color: #829fac; font-size: 8px; line-height: 1.45; }
.end-record { color: #8ff0df; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.secondary { display: block; margin: 12px auto 0; padding: 9px 14px; border: 1px solid rgba(99,230,255,.38); border-radius: 3px; background: rgba(5,17,31,.78); color: #b8d8df; font-size: 10px; letter-spacing: .1em; cursor: pointer; }
.primary { border: 1px solid #9df1ff; background: linear-gradient(180deg, #1ca9ce, #08678c); padding: 14px 26px; border-radius: 3px; font-weight: 800; letter-spacing: .08em; box-shadow: 0 0 28px rgba(57, 216, 255, .25); cursor: pointer; }
.primary:hover { filter: brightness(1.18); }
.brief { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 28px; }
.brief div { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 10px; }
.brief b { display: block; color: var(--amber); font-size: 11px; }
.brief span, .panel small { font-size: 10px; color: #8faebf; }
.camera-tip { margin: 20px 0 5px; color: #a6d7df; font-size: 11px; }
.actions #viewBtn { min-width: 75px; font-size: 10px; letter-spacing: .06em; cursor: pointer; }
.mobile-controls { display: none; }
.stick { position: fixed; bottom: 34px; left: 26px; width: 106px; height: 106px; border: 1px solid rgba(99, 230, 255, .38); border-radius: 50%; background: rgba(4, 16, 28, .25); }
.stick i { position: absolute; left: 33px; top: 33px; width: 40px; height: 40px; border-radius: 50%; background: rgba(99, 230, 255, .44); border: 1px solid var(--cyan); }
.fire-btn, .missile-btn, .roll-btn, .boost-btn, .brake-btn, .flare-btn, .cobra-btn { position: fixed; border-radius: 50%; font-weight: 900; }
.fire-btn { right: 27px; bottom: 38px; width: 86px; height: 86px; border: 2px solid rgba(255, 82, 104, .8); background: rgba(133, 17, 37, .38); letter-spacing: .12em; }
.fire-btn:active { background: rgba(255, 82, 104, .65); }
.missile-btn { right: 122px; bottom: 56px; width: 72px; height: 72px; border: 2px solid rgba(255, 182, 72, .8); background: rgba(118, 71, 8, .4); font-size: 9px; letter-spacing: .08em; }
.missile-btn:active { background: rgba(255, 182, 72, .65); }
.flare-btn { right: 202px; bottom: 56px; width: 62px; height: 62px; border: 2px solid #54dcff; background: rgba(8, 64, 88, .5); font-size: 8px; letter-spacing: .06em; color: #a2eeff; }
.flare-btn:active { background: rgba(84, 220, 255, .7); color: #fff; }
.cobra-btn { right: 202px; bottom: 135px; width: 60px; height: 60px; border: 2px solid #ffbb33; background: rgba(110, 80, 10, .55); color: #ffe680; font-size: 8px; letter-spacing: .05em; box-shadow: 0 0 14px rgba(255, 187, 51, .3); }
.cobra-btn:active { background: rgba(255, 187, 51, .8); color: #000; }
.chase-btn { right: 125px; bottom: 220px; width: 62px; height: 62px; border: 2px solid #ff4466; background: rgba(90, 15, 25, 0.65); color: #ffccd4; font-size: 8px; font-weight: 800; letter-spacing: .05em; box-shadow: 0 0 14px rgba(255, 68, 102, 0.4); }
.chase-btn:active, .chase-btn.active { background: rgba(255, 50, 80, 0.85); color: #fff; box-shadow: 0 0 24px rgba(255, 50, 80, 0.9); }
.roll-btn { right: 125px; bottom: 145px; width: 62px; height: 62px; border: 1px solid var(--cyan); background: rgba(8, 53, 72, .7); font-size: 18px; }
.roll-btn:active { background: rgba(99, 230, 255, .5); }
.boost-btn { left: 145px; bottom: 44px; width: 66px; height: 66px; border: 2px solid rgba(255,182,72,.8); background: radial-gradient(circle,rgba(145,77,5,.74),rgba(65,34,10,.45)); color: #ffe0a0; font-size: 9px; letter-spacing: .05em; box-shadow: 0 0 12px rgba(255,168,55,.2); }
.boost-btn:active, .boost-btn.active { background: rgba(255,158,42,.82); box-shadow: 0 0 24px rgba(255,168,55,.8); color: #fff; }
.brake-btn { left: 220px; bottom: 44px; width: 62px; height: 62px; border: 2px solid rgba(99,230,255,.8); background: rgba(6,35,55,.55); color: #8eeaff; font-size: 8px; letter-spacing: .05em; }
.brake-btn:active, .brake-btn.active { background: rgba(99,230,255,.6); color: #fff; }
.stick, .fire-btn, .missile-btn, .roll-btn, .boost-btn, .brake-btn, .flare-btn, .cobra-btn, .chase-btn { touch-action: none; user-select: none; }
@media (max-width: 700px) {
  .topbar { padding: 10px 12px; }
  .brand span { display: none; }
  .stats { position: fixed; top: 58px; left: 12px; gap: 8px; }
  .speed-stat { min-width: 130px; }
  .speed-stat #speed { font-size: 10px; }
  .speed-stat small { font-size: 6px; letter-spacing: .04em; }
  .boost-meter { max-width: 78px; }
  .radar { width: 104px; height: 104px; right: 10px; top: 55px; }
  .radar canvas { width: 104px; height: 104px; }
  .airbase-radar-label { top: 163px; right: 10px; width: 104px; padding: 3px 2px; font-size: 7px; letter-spacing: .02em; }
  .mission-guide { top: 142px; left: 12px; right: 122px; width: auto; transform: none; padding: 6px 8px; }
  .mission-guide b { font-size: 8px; }
  .mission-guide span { font-size: 9px; }
  .threat-warning { top: 176px; left: 50%; max-width: calc(100% - 24px); text-align: center; }
  .terrain-warning { top: 310px; left: 12px; width: min(440px, calc(100vw - 24px)); }
  .boundary-warning { top: 255px; font-size: 9px; }
  .aircraft-option { min-height: 96px; padding: 7px 4px; }
  .mode-option { min-height: 58px; padding: 6px 3px; }
  .mode-option strong { font-size: 8px; }
  .mode-option span { font-size: 7px; line-height: 1.25; }
  .mode-description { font-size: 8px; }
  .rank-list { font-size: 8px; }
  .aircraft-option strong { font-size: 11px; }
  .aircraft-option span { font-size: 8px; }
  .health { bottom: 154px; left: 14px; width: 132px; }
  .altitude { bottom: 158px; right: 14px; }
  .roll-left { right: 74px; bottom: 128px; width: 48px; height: 48px; }
  .roll-right { right: 20px; bottom: 128px; width: 48px; height: 48px; }
  .cobra-btn { right: 128px; bottom: 128px; width: 48px; height: 48px; font-size: 7px; }
  .chase-btn { right: 182px; bottom: 128px; width: 48px; height: 48px; font-size: 7px; }
  .mobile-controls { display: block; position: fixed; z-index: 6; }
  .panel-card { padding: 30px 22px; }
  .brief { display: none; }
  .actions button:first-child { display: none; }
  .actions .boost-toggle { display: none; }
  .actions { gap: 3px; }
  .actions .reserve-control { padding: 6px 5px; font-size: 8px; }
  .actions #viewBtn { min-width: 58px; padding: 7px 5px; font-size: 9px; }
  .airbase-status { top: 205px; left: 12px; width: auto; right: 122px; padding: 6px 8px; font-size: 8px; }
  .land-btn { top: 268px; left: 12px; padding: 7px 10px; font-size: 8px; }
  .threat-warning.missile-warning { top: 176px; font-size: 10px; }
  .camera-tip { margin: 18px 0 5px; }
}
@media (pointer: coarse) { .mobile-controls { display: block; } .actions .boost-toggle, .actions .chase-toggle { display: none; } }
@media (max-width: 1000px) and (max-height: 520px) {
  .topbar { padding: 7px 12px; }
  .stats { position: fixed; top: 48px; left: 12px; gap: 12px; }
  .stats { gap: 9px; }
  .speed-stat { min-width: 120px; }
  .speed-stat #speed { font-size: 10px; }
  .speed-stat small { font-size: 6px; letter-spacing: .04em; }
  .boost-meter { max-width: 82px; }
  .radar { width: 92px; height: 92px; right: 10px; top: 52px; }
  .radar canvas { width: 92px; height: 92px; }
  .airbase-radar-label { top: 147px; right: 10px; width: 92px; padding: 2px 1px; font-size: 6px; letter-spacing: 0; }
  .health { bottom: 118px; left: 14px; width: 120px; }
  .altitude { bottom: 112px; right: 14px; }
  .altitude b { font-size: 17px; }
  .mobile-controls { display: block; position: fixed; z-index: 6; }
  .stick { left: 16px; bottom: 12px; width: 90px; height: 90px; }
  .stick i { left: 25px; top: 25px; }
  .fire-btn { right: 20px; bottom: 12px; width: 68px; height: 68px; }
  .missile-btn { right: 100px; bottom: 18px; width: 60px; height: 60px; }
  .roll-left { right: 74px; bottom: 128px; width: 48px; height: 48px; }
  .roll-right { right: 20px; bottom: 128px; width: 48px; height: 48px; }
  .cobra-btn { right: 128px; bottom: 128px; width: 48px; height: 48px; font-size: 7px; }
  .chase-btn { right: 182px; bottom: 128px; width: 48px; height: 48px; font-size: 7px; }
  .boost-btn { left: 118px; bottom: 22px; width: 58px; height: 58px; }
  .panel-card { padding: 20px; }
  .brief { margin-top: 12px; }
  .camera-tip { margin: 10px 0 3px; }
  .mission-guide { top: 122px; left: 16px; right: 112px; padding: 5px 7px; }
  .airbase-status { top: 220px; left: 12px; right: 112px; width: auto; padding: 4px 6px; font-size: 7px; }
  .land-btn { top: 282px; left: 12px; padding: 6px 8px; font-size: 7px; }
  .threat-warning { top: 148px; }
  .terrain-warning { top: 310px; left: 12px; width: min(440px, calc(100vw - 24px)); }
  .boundary-warning { top: 216px; }
  .aircraft-choices { gap: 5px; }
  .aircraft-option { min-height: 82px; }
  .panel-card { padding: 18px 14px; }
}
@media (max-width: 700px) {
  .menu-missile-offer { gap: 8px; padding: 8px; }
  .menu-missile-copy > span { font-size: 11px; }
  #menuMissileShopBtn { max-width: 44%; padding: 9px 7px; font-size: 8px; }
}
@media (max-width: 420px) {
  .menu-missile-offer { align-items: stretch; flex-direction: column; text-align: center; }
  #menuMissileShopBtn { max-width: none; width: 100%; }
}
