/* Copyright (c) 2026 Alp Eren Bütün (alperenbutun@gmail.com) | GitHub: https://github.com/alperenbutun. All rights reserved. */
* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; -webkit-user-select: none; }
html, body {
height: 100%;
}
body {
background-color: #1a1d2e;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Arial', sans-serif;
}
#main-box {
background: #fff;
border-radius: 16px;
padding: 40px 60px;
box-shadow: 0 8px 32px rgba(0,0,0,0.3);
text-align: center;
transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
min-width: 260px;
}
#main-box.expanded {
padding: 24px 32px;
min-width: 720px;
height: calc(100vh - 20px);
display: flex;
flex-direction: column;
}
#loading-text {
font-size: 20px;
font-weight: bold;
color: #333;
}
#games-section {
display: none;
flex: 1;
flex-direction: column;
overflow: hidden;
}
#table-wrapper {
flex: 1;
overflow-y: auto;
border-radius: 0 0 8px 8px;
}
#games-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
#games-table thead tr {
background: #c0152a;
color: #fff;
position: sticky;
top: 0;
z-index: 1;
}
#games-table thead th {
padding: 12px 16px;
text-align: left;
font-weight: bold;
letter-spacing: 0.5px;
}
#games-table thead th:first-child { border-radius: 8px 0 0 8px; }
#games-table thead th:last-child  { border-radius: 0 8px 8px 0; }
#games-table tbody tr {
border-bottom: 1px solid #f0f0f0;
transition: background 0.2s;
cursor: default;
}
#games-table tbody tr:hover { background: #fff5f5; }
#spectator-indicator { position:fixed; bottom:var(--hud-bottom-inset); left:50%; transform:translateX(-50%);
z-index:10013; box-sizing:border-box; width:min(520px,calc(100vw - 400px)); min-width:300px;
border:1px solid rgba(107,139,167,.55); border-radius:10px;
background:rgba(8,17,30,.85); color:#f7f7f7;
padding:9px 12px; font-weight:700; font-size:13px; text-align:center; line-height:1.6;
white-space:nowrap; pointer-events:auto; user-select:none; -webkit-user-select:none;
display:flex; gap:10px; align-items:center; justify-content:center; }
#spectator-aircraft-select { max-width:180px; min-width:110px; background:#14283e;
color:#fff; border:1px solid #6b8ba7; border-radius:5px; padding:5px 7px; font:inherit;
cursor:pointer; }
#replay-player { display:none; position:fixed; left:50%; bottom:var(--hud-bottom-inset);
transform:translateX(-50%); z-index:10013; box-sizing:border-box;
flex-direction:column; gap:6px; width:min(520px,calc(100vw - 400px));
min-width:300px; padding:9px 12px; background:rgba(8,17,30,.85);
border:1px solid rgba(107,139,167,.55); border-radius:10px; color:#f7f7f7;
pointer-events:auto; user-select:none; -webkit-user-select:none; }
#replay-player.active { display:flex; }
#replay-top-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#replay-player-controls { display:flex; justify-content:flex-start; align-items:center; gap:7px; flex-shrink:0; }
#replay-aircraft-dock { display:flex; justify-content:flex-end; min-width:0; margin-left:auto; }
#spectator-aircraft-field { display:flex; align-items:center; justify-content:flex-end; gap:7px; min-width:0; }
#replay-aircraft-dock #spectator-aircraft-select { max-width:178px; min-width:105px; }
#replay-player #spectator-select-label { font-size:12px; white-space:nowrap; }
#replay-player-controls #replay-play-pause { min-width:50px; }
#replay-player-controls #replay-speed { min-width:64px; }
#replay-player.active { pointer-events:auto; }
#replay-player-controls button { width:38px; height:32px; color:#e8f4ff; border:1px solid #476881;
border-radius:7px; background:#20344b; cursor:pointer; font:inherit; font-size:15px; }
#replay-player-controls button:disabled { opacity:.45; cursor:not-allowed; }
#replay-player-controls button:focus-visible,#replay-progress:focus-visible {outline:2px solid #9ce0ff;outline-offset:2px;}
#replay-player-controls #replay-play-pause { background:#216eaa; width:45px; display:inline-flex; align-items:center; justify-content:center; }
#replay-play-pause .replay-transport-icon { display:block; width:20px; height:20px; fill:currentColor; }
#replay-play-pause .replay-icon-pause { display:none; }
#replay-play-pause.is-playing .replay-icon-play { display:none; }
#replay-play-pause.is-playing .replay-icon-pause { display:block; }
#replay-speed { background:#14283e; border:1px solid #476881; color:#fff; border-radius:6px; padding:4px; }
#replay-player-bottom {display:flex;align-items:center;gap:10px;font-size:12px;}
#replay-progress {flex:1;min-width:100px;accent-color:#50adf3;cursor:pointer;}
#replay-time {font-variant-numeric:tabular-nums;white-space:nowrap;}
#spectator-indicator .spectator-heading {display:flex;gap:9px;align-items:center;justify-content:space-between;width:100%;min-width:0;}
@media(max-width:900px) {#replay-player,#spectator-indicator{width:min(420px,calc(100vw - 320px));min-width:260px;}}
@media(max-width:660px) {
#replay-player,#spectator-indicator {width:min(360px,94vw);min-width:0;
bottom:calc(var(--hud-bottom-inset) + 54px);}
#replay-top-row { gap:5px; }
#replay-aircraft-dock #spectator-aircraft-select { min-width:80px; max-width:130px; }
#replay-player #spectator-select-label,
#spectator-indicator #spectator-select-label { display:none; }
#spectator-indicator #spectator-mode {overflow:hidden;text-overflow:ellipsis;}
}
#game-overlay.spectator-mode #missile-status,
#game-overlay.spectator-mode #own-missile-result,
#game-overlay.spectator-mode #hit-marker,
#game-overlay.spectator-mode #mobile-controls {
display: none !important;
}
#spectator-aircraft-select:focus-visible { outline:2px solid #a6caff; outline-offset:2px; }
@media(max-width:500px) { #spectator-indicator { max-width:95vw; font-size:11px; gap:5px; }
#spectator-aircraft-select { max-width:130px; min-width:90px; }
#replay-player { padding:8px; }
}
#games-table tbody tr.joined { background: #e8f5e9; }
#games-table tbody tr.joined:hover { background: #d4edda; }
#games-table tbody tr.not-joinable:hover { background: #fff5f5; }
#games-table tbody tr.completed,
#games-table tbody tr.completed:hover { background: #eef0f3; }
#games-table tbody tr.completed td:not(.game-actions-column),
#games-table tbody tr.completed td:not(.game-actions-column) strong { color: #8a9099; }
#games-table tbody tr.completed .badge { background: #dfe2e6; color: #858c96; }
.game-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.game-action-btn { border: 0; border-radius: 6px; padding: 7px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; user-select: none; -webkit-user-select: none; }
.game-action-join { background: #c0152a; color: white; }
.game-action-join:hover:not(:disabled) { background: #981324; }
.game-action-join:disabled { background: #dadada; color: #888; cursor: not-allowed; opacity: 0.8; }
.game-action-watch { background: #e7edf9; color: #264778; }
.game-action-watch:hover:not(:disabled) { background: #d5e2f7; }
.game-action-watch:disabled { background: #e0e1e4; color: #90959e; cursor: not-allowed; opacity: .8; }
.game-action-btn:focus-visible { outline: 2px solid #264778; outline-offset: 2px; }
#games-table thead th.game-actions-column,
#games-table tbody td.game-actions-column { padding-left: 6px; padding-right: 10px; text-align: right; }
#games-table { min-width: 660px; }
#table-wrapper { overflow-x: auto; }
#games-table tbody td {
padding: 12px 16px;
color: #444;
}
.badge {
display: inline-block;
padding: 3px 10px;
border-radius: 20px;
font-size: 12px;
font-weight: bold;
margin-right: 4px;
}
.badge-bot  { background: #fde8e8; color: #c0152a; }
.badge-real { background: #e8f5e9; color: #2e7d32; }
.badge-waiting   { background: #f0f0f0; color: #666; }
.badge-playing   { background: #e8f5e9; color: #2e7d32; }
.badge-completed { background: #e8eaf6; color: #5c6bc0; }
#toast-container {
position: fixed;
top: 20px;
right: 20px;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 10050;
}
.toast {
padding: 14px 20px;
border-radius: 8px;
color: #fff;
font-size: 14px;
opacity: 0;
transition: opacity 0.3s ease;
min-width: 240px;
}
.toast.error   { background: #b91c1c; }
.toast.success { background: #2e7d32; }
.toast.info    { background: #34465c; }
.toast.show    { opacity: 1; }
#lang-switcher {
position: fixed;
top: 16px;
right: 20px;
z-index: 9998;
}
#lang-select {
padding: 6px 32px 6px 10px;
border: 2px solid rgba(255,255,255,0.7);
border-radius: 8px;
background: rgba(255,255,255,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E") no-repeat right 10px center;
color: #fff;
font-size: 13px;
font-weight: bold;
cursor: pointer;
outline: none;
backdrop-filter: blur(4px);
appearance: none;
-webkit-appearance: none;
}
#lang-select option {
background: #c0152a;
color: #fff;
}
#btn-new-game {
padding: 10px 24px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
letter-spacing: 0.5px;
transition: background 0.2s;
background: #c0152a;
color: #fff;
}
#btn-new-game:hover { background: #a01020; }
#modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.55);
z-index: 1000;
align-items: center;
justify-content: center;
}
#modal-overlay.active { display: flex; }
#modal {
background: #fff;
border-radius: 14px;
padding: 36px 40px;
width: 400px;
box-shadow: 0 12px 40px rgba(0,0,0,0.35);
animation: popIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn {
from { transform: scale(0.85); opacity: 0; }
to   { transform: scale(1);    opacity: 1; }
}
#modal h3 {
font-size: 20px;
color: #c0152a;
margin-bottom: 24px;
text-align: center;
letter-spacing: 0.5px;
}
.modal-top-row {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(140px, 1fr);
gap: 10px;
align-items: end;
margin-bottom: 10px;
}
.modal-top-row .form-group {
margin: 0;
}
.form-group {
margin-bottom: 16px;
text-align: left;
}
.form-group label {
display: block;
font-size: 12px;
font-weight: bold;
color: #666;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.4px;
}
.form-group input,
.form-group select {
width: 100%;
padding: 9px 12px;
border: 1.5px solid #ddd;
border-radius: 8px;
font-size: 14px;
color: #333;
outline: none;
transition: border 0.2s;
}
.form-group input:focus,
.form-group select:focus { border-color: #c0152a; }
.form-group input:disabled,
.form-group select:disabled {
background: #f5f5f5;
color: #999;
cursor: not-allowed;
}
#inp-creator-team option[value="1"] {
color: #1e5ac8;
font-weight: 800;
}
#inp-creator-team option[value="2"] {
color: #c81e1e;
font-weight: 800;
}
.modal-actions {
display: flex;
gap: 10px;
margin-top: 24px;
}
.modal-actions button {
flex: 1;
padding: 10px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
transition: background 0.2s;
}
#btn-create { background: #c0152a; color: #fff; }
#btn-create:hover { background: #a01020; }
#btn-cancel { background: #eee; color: #555; }
#btn-cancel:hover { background: #ddd; }
#confirm-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
z-index: 11000;
align-items: center;
justify-content: center;
}
#confirm-overlay.active { display: flex; }
#confirm-box {
background: #fff;
border-radius: 14px;
padding: 32px 36px;
width: 340px;
box-shadow: 0 12px 40px rgba(0,0,0,0.35);
animation: popIn 0.22s cubic-bezier(0.34,1.56,0.64,1);
text-align: center;
}
#confirm-message {
font-size: 15px;
color: #333;
margin-bottom: 24px;
line-height: 1.5;
}
#confirm-ok   { background: #c0152a; color: #fff; }
#confirm-ok:hover { background: #a01020; }
#confirm-no   { background: #eee; color: #555; }
#confirm-no:hover { background: #ddd; }
#game-top-actions {
position: fixed;
left: calc(26px + env(safe-area-inset-left));
bottom: var(--hud-bottom-inset);
z-index: 10020;
display: none;
grid-template-columns: repeat(4, minmax(0, 1fr));
align-items: center;
gap: 5px;
row-gap: var(--hud-stack-gap);
grid-template-rows: repeat(2, var(--hud-health-height));
height: calc(var(--hud-health-height) * 2 + var(--hud-stack-gap));
width: var(--hud-minimap-size);
min-width: 0;
margin-bottom: 0;
pointer-events: auto;
}
#game-top-actions > #btn-exit-game,
#game-top-actions > #btn-scoreboard,
#game-top-actions > #btn-fullscreen,
#game-top-actions > #btn-indicators { grid-row: 2; }
#game-top-actions button {
pointer-events:auto; min-width:0; width:100%; height:32px;
min-height:32px; max-height:32px; box-sizing:border-box;
display:flex; align-items:center; justify-content:center;
padding:4px; border-radius:7px; line-height:1;
}
#game-top-actions .action-icon { display:block; width:17px; height:17px; flex:none; }
#game-top-actions .toggle-caption {
position:absolute; width:1px; height:1px; overflow:hidden;
clip-path:inset(50%); white-space:nowrap;
}
#game-top-actions button[aria-pressed="true"] {
box-shadow:inset 0 0 0 1px rgba(172,230,255,.66), 0 0 10px rgba(75,195,231,.28);
}
#game-top-actions button:focus, #game-top-actions button:focus-visible {outline:none;outline-offset:0;}
#btn-exit-game, #btn-fullscreen, #btn-indicators {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
}
#btn-exit-game {
display: flex;
align-items:center;
justify-content:center;
padding: 4px 6px;
border: 1.5px solid rgba(255,80,80,0.5);
border-radius: 8px;
background: rgba(80,0,0,0.45);
color: rgba(255,180,180,0.9);
font-size: 12px;
font-weight: bold;
backdrop-filter: blur(4px);
cursor: pointer;
user-select: none;
}
#btn-exit-game:hover {
background: rgba(160,0,0,0.6);
border-color: rgba(255,80,80,0.8);
color: #fff;
}
#btn-fullscreen {
display: block;
padding: 4px 6px;
border: 1.5px solid rgba(120,195,245,.7);
border-radius: 8px;
background: rgba(4,29,53,.72);
color: #d1f0ff;
font-size: 12px;
font-weight: bold;
backdrop-filter: blur(4px);
cursor: pointer;
}
#btn-fullscreen:hover { background: rgba(18,76,116,.9); border-color: #bce7ff; }
#btn-scoreboard, #btn-fullscreen, #btn-indicators {
display:flex; align-items:center; justify-content:center; gap:5px;
border:1.5px solid rgba(117,167,211,.65); border-radius:8px;
background:rgba(8,29,51,.78); color:#c7e2fc;
font-size:12px; font-weight:bold; backdrop-filter:blur(4px); cursor:pointer;
user-select:none; -webkit-user-select:none;
}
#btn-scoreboard:hover, #btn-fullscreen:hover, #btn-indicators:hover {
border-color:#a4d7ff; background:rgba(20,64,108,.88);
}
#game-top-actions #btn-scoreboard[aria-pressed="true"],
#game-top-actions #btn-fullscreen[aria-pressed="true"],
#game-top-actions #btn-indicators[aria-pressed="true"] {
background:rgba(31,115,202,.96); border-color:#b6e3ff; color:#fff;
box-shadow:inset 0 0 0 1px rgba(209,239,255,.44),0 0 10px rgba(56,160,255,.24);
}
#btn-definition {
display: none !important;
padding: 6px 12px;
border: 1.5px solid rgba(120,195,245,0.65);
border-radius: 8px;
background: rgba(4,29,53,0.72);
color: #d1f0ff;
font: bold 12px Arial, sans-serif;
backdrop-filter: blur(4px);
cursor: pointer;
white-space: nowrap;
}
#btn-definition:hover, #btn-definition:focus-visible {
background: rgba(13,76,117,0.83);
outline-color: #a8dcff;
}
#btn-definition[aria-pressed="true"] {
border-color: #8adeff;
color: #fff;
}
@media (max-width: 600px) {
#game-top-actions { column-gap:4px; row-gap:var(--hud-stack-gap); }
#game-top-actions button { height:32px; min-height:32px; max-height:32px; padding:4px; }
}
#voice-radio-controls {
grid-column: 1 / -1;
display: none;
grid-template-columns: repeat(4, minmax(0,1fr));
gap: 5px;
position: relative;
min-width: 0;
pointer-events: auto;
}
#game-top-actions #voice-radio-controls button {
min-width:0; padding:4px; border:1.5px solid rgba(117,167,211,.65);
background:rgba(8,29,51,.78); color:#c7e2fc;
touch-action:manipulation; cursor:pointer; position:relative;
}
#game-top-actions #voice-radio-controls button[aria-pressed="true"],
#game-top-actions #voice-radio-settings-toggle[aria-expanded="true"] {
background:rgba(31,115,202,.96); border-color:#b6e3ff; color:#fff;
box-shadow:inset 0 0 0 1px rgba(209,239,255,.44),0 0 10px rgba(56,160,255,.24);
}
#game-top-actions #voice-radio-mic[aria-pressed="false"]::after,
#game-top-actions #voice-radio-headphones[aria-pressed="false"]::after {
content:""; position:absolute; width:25px; height:2.5px;
top:calc(50% - 1px); left:calc(50% - 12.5px);
transform:rotate(-46deg); background:#ff6675; border-radius:2px;
box-shadow:0 0 0 1px rgba(6,26,46,.9); pointer-events:none;
}
#game-top-actions #voice-radio-mic:disabled { opacity:.55; cursor:default; }
#voice-radio-settings-toggle { grid-column:span 2; display:flex; gap:5px; white-space:nowrap; font:bold 11px Arial,sans-serif; }
#voice-radio-settings-toggle .action-icon {width:14px; height:14px;}
#voice-radio-settings { position:absolute; bottom:calc(100% + 10px); left:calc(100% + 10px);
width:252px; max-width:calc(100vw - 185px); box-sizing:border-box;
display:grid; gap:9px; padding:13px; border:1px solid rgba(117,182,237,.72);
border-radius:10px; background:rgba(9,29,52,.98); color:#e4f2ff;
box-shadow:0 12px 34px rgba(0,0,0,.50); z-index:100; text-align:left;
font:12px/1.4 Arial,sans-serif; }
#voice-radio-settings[hidden] {display:none!important;}
#voice-radio-settings h3 {margin:0; font-size:13px; color:#b9dfff;}
#voice-radio-settings label {display:flex; flex-direction:column; gap:3px; min-width:0;}
#voice-radio-settings select {width:100%; box-sizing:border-box; padding:6px;
background:#152e48; color:#e9f5ff; border:1px solid #638cb6; border-radius:5px; font:inherit;}
#voice-radio-settings input[type="range"] {width:100%; margin:0; accent-color:#5aafff;}
#voice-radio-settings output {font-variant-numeric:tabular-nums; color:#a6d7ff;}
#voice-radio-settings-note {font-size:10px; color:#bfd7ef; min-height:0;}
@media (max-width:600px) {#voice-radio-settings {left:0; bottom:calc(100% + 10px); max-width:90vw;}}
#voice-radio-status { position:absolute; width:1px; height:1px; padding:0;
overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#game-top-actions #voice-radio-unlock { display:none; position:absolute;
bottom:calc(100% + 40px); left:0; width:auto; min-width:135px; height:auto;
max-height:none; padding:6px 8px; border-color:#e9aa50;
background:#986120; color:white; white-space:nowrap; z-index:2; }
#voice-radio-remote { display:none; position:absolute; bottom:calc(100% + 5px);
left:0; width:100%; max-width:100%; box-sizing:border-box;
background:rgba(22,80,143,.96); border:1px solid #85c5ff;
color:#f0f8ff; border-radius:6px; padding:6px 8px;
white-space:pre-line; overflow-wrap:anywhere;
font:700 11px/1.3 Arial,sans-serif; z-index:2; }
#game-top-actions.radio-hearing #voice-radio-remote,
#voice-radio-controls.radio-hearing #voice-radio-remote {
box-shadow:0 0 10px rgba(73,164,245,.3); }
#game-overlay.spectator-mode #voice-radio-controls { display:none !important; }
#sky-picker {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
margin-top: 4px;
}
.sky-pick-opt {
position: relative;
cursor: pointer;
border-radius: 7px;
overflow: hidden;
transition: box-shadow 0.15s;
box-shadow: 0 0 0 2px transparent;
min-width: 0;
}
.sky-pick-opt.active { box-shadow: 0 0 0 3px #e53935; }
.sky-pick-opt canvas { display: block; width: 100%; height: 60px; }
.sky-pick-lbl {
position: absolute;
left: 0;
right: 0;
bottom: 5px;
display: block;
font-size: 10px;
text-align: center;
color: #f2f8ff;
padding: 0 4px;
background: transparent;
text-shadow: 0 1px 3px rgba(0,0,0,0.97), 0 0 6px rgba(0,0,0,0.8);
pointer-events: none;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#name-switcher {
position: fixed;
top: 16px;
left: 20px;
z-index: 9998;
}
#inp-player-name {
padding: 6px 10px;
border: 2px solid rgba(255,255,255,0.7);
border-radius: 8px;
background: rgba(255,255,255,0.15);
color: #fff;
font-size: 13px;
font-weight: bold;
outline: none;
width: 140px;
backdrop-filter: blur(4px);
transition: border 0.2s, background 0.2s;
}
#inp-player-name::placeholder { color: rgba(255,255,255,0.7); }
#inp-player-name:focus {
border-color: #fff;
background: rgba(255,255,255,0.25);
}
#game-overlay {
display: none;
position: fixed;
inset: 0;
background: #000;
z-index: 10000;
}
#game-canvas {
display: block;
width: 100%;
height: 100%;
}
#hit-overlay {
position: fixed;
inset: 0;
background: radial-gradient(ellipse at center, transparent 35%, rgba(220, 20, 20, 0.75) 100%);
pointer-events: none;
opacity: 0;
z-index: 10003;
transition: opacity 0.08s ease-in;
}
#bound-warning {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ff4444;
font-family: 'Courier New', monospace;
font-size: 18px;
font-weight: bold;
letter-spacing: 3px;
text-shadow: 0 0 12px rgba(255,68,68,0.9);
pointer-events: none;
opacity: 0;
z-index: 10006;
transition: opacity 0.2s;
}
#bound-warning.warn  { color: #ffaa00; text-shadow: 0 0 12px rgba(255,170,0,0.9); }
#bound-warning.auto  { color: #ff4444; text-shadow: 0 0 12px rgba(255,68,68,0.9); }
:root {
--hud-minimap-size: 150px;
--hud-bottom-inset: calc(26px + env(safe-area-inset-bottom));
--hud-minimap-right: calc(26px + env(safe-area-inset-right));
--hud-minimap-bottom: var(--hud-bottom-inset);
--hud-gap: 16px;
--hud-bar-thickness: 10px;
--hud-health-height: 32px;
--hud-altitude-height: 32px;
--hud-stack-gap: 6px;
--hud-result-height: 66px;
--hud-result-title-size: 23px;
--hud-result-detail-size: 12px;
--hud-result-bottom: calc(var(--hud-bottom-inset) + var(--hud-altitude-height) + var(--hud-stack-gap) + var(--hud-health-height) + var(--hud-gap));
}
#minimap-canvas {
position: fixed;
bottom: var(--hud-minimap-bottom);
right: var(--hud-minimap-right);
width: var(--hud-minimap-size);
height: var(--hud-minimap-size);
z-index: 10002;
display: none !important;
image-rendering: pixelated;
}
#own-missile-result, #track-threat-hud {display:none !important;}
#own-missile-result {
position: fixed;
right: var(--hud-minimap-right);
bottom: var(--hud-result-bottom);
box-sizing: border-box;
width: var(--hud-minimap-size);
height: var(--hud-result-height);
padding: 7px 5px;
border: 2px solid rgba(105, 255, 186, .85);
border-radius: 8px;
background: rgba(7, 28, 21, .92);
color: #83ffd2;
box-shadow: 0 0 15px rgba(60, 255, 160, .25);
z-index: 10008;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 3px;
pointer-events: none;
text-align: center;
font: 800 var(--hud-result-title-size)/1.05 'Arial Narrow', Arial, sans-serif;
}
#own-missile-result.active { display: flex; animation: own-missile-result-in .16s ease-out both; }
#own-missile-result.pursuit {
color: #82eaff;
border-color: rgba(102, 209, 255, .9);
background: rgba(7, 24, 42, .94);
box-shadow: 0 0 15px rgba(64, 183, 255, .25);
}
#own-missile-result .own-missile-result-heading {
display: flex;
align-items: center;
justify-content: center;
gap: 3px;
width: 100%;
min-width: 0;
white-space: nowrap;
line-height: 1.05;
}
#own-missile-result .own-missile-result-title {
min-width: 0;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: -.8px;
font-size: inherit;
}
#own-missile-result .own-missile-rocket {
width: 1em;
height: 1em;
flex: 0 0 1em;
display: none;
stroke: currentColor;
stroke-width: 1.8;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
#own-missile-result.pursuit .own-missile-rocket { display: block; }
html:lang(es) #own-missile-result,
html:lang(de) #own-missile-result,
html:lang(pt) #own-missile-result,
html:lang(it) #own-missile-result { --hud-result-title-size: 17px; }
html:lang(fr) #own-missile-result { --hud-result-title-size: 20px; }
#own-missile-result.miss {
color: #ffd078;
border-color: rgba(255, 188, 95, .9);
background: rgba(38, 25, 7, .92);
box-shadow: 0 0 15px rgba(255, 177, 65, .22);
}
#own-missile-result .own-missile-result-detail {
display: block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font: 700 var(--hud-result-detail-size)/1.35 Arial, sans-serif;
letter-spacing: .35px;
color: #f4f7ff;
}
@keyframes own-missile-result-in { from { opacity: 0; transform: translateY(7px) scale(.96); } to { opacity: 1; transform: none; } }
#hit-feed {
position: static;
width: 100%;
max-width: 100%;
max-height: min(176px, 27dvh);
overflow-y: auto;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 5px;
pointer-events: auto;
text-align: left;
font: 600 12px/1.25 Arial, sans-serif;
scrollbar-width: thin;
}
.hit-feed-entry {
display: flex;
align-items: center;
width: max-content;
max-width: 100%;
gap: 4px;
min-height: 18px;
filter: drop-shadow(0 1px 2px rgba(0,0,0,.75));
}
.hit-feed-name {
display: inline-block;
box-sizing: border-box;
flex: 0 1 auto;
min-width: 0;
max-width: min(180px, 40vw);
padding: 1px 2px;
border-radius: 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #fff;
font: 700 12px/1.2 Arial, sans-serif;
box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.hit-feed-team-1 { background: #2456ab; }
.hit-feed-team-2 { background: #ae2b32; }
.hit-feed-team-other { background: #505763; }
.hit-feed-action {
display: inline-block;
min-width: 0;
padding: 1px 4px;
border-radius: 2px;
white-space: nowrap;
color: #fff;
font: 700 12px/1.2 Arial, sans-serif;
box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.hit-feed-shield { background: #86651c; }
.hit-feed-ammo { background: #7041a0; }
.hit-feed-arrow {
flex: 0 0 auto;
margin: 0 1px;
color: #fff;
font: 700 13px/1 Arial, sans-serif;
text-shadow: 0 1px 2px #101822;
}
.hit-feed-empty {
align-self: flex-start;
color: #171717;
background: #fff;
border-radius: 2px;
padding: 1px 2px;
font: 600 12px/1.25 Arial, sans-serif;
box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
@media (max-width: 600px) {
.hit-feed-name { font-size: 11px; max-width: min(140px, 36vw); }
}
#alt-bar-wrap {
position: fixed;
bottom: var(--hud-bottom-inset);
right: var(--hud-minimap-right);
z-index: 10003;
display: none;
flex-direction: column;
align-items: stretch;
gap: 6px;
width: var(--hud-minimap-size);
min-height: var(--hud-health-height);
box-sizing: border-box;
pointer-events: none;
}
#alt-bar-head {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
#alt-bar-title, #alt-bar-label {
color: #88ccff;
font: bold 12px/1 'Courier New', monospace;
letter-spacing: .5px;
white-space: nowrap;
text-shadow: 0 0 7px rgba(0,0,0,.9);
}
#alt-bar-label { color: #fff; text-align: right; }
#alt-bar-bg {
width: 100%;
height: var(--hud-bar-thickness);
box-sizing: content-box;
background: rgba(0,0,0,.5);
border: 1px solid #2a4a6a;
border-radius: 2px;
position: relative;
overflow: hidden;
}
#alt-bar-fill {
position: absolute;
left: 50%;
top: 0;
height: 100%;
width: 50%;
background: #88ccff;
transform: scaleX(0);
transform-origin: left center;
will-change: transform;
border-radius: 2px;
}
#alt-bar-zero {
position: absolute;
left: 50%;
top: 0;
width: 1px;
height: 100%;
background: rgba(255,255,255,.65);
}
#labels-container {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: 10000;
}
.plane-label {
position: absolute;
left: 0; top: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
width: max-content;
min-width: 0;
max-width: calc(100vw - 16px);
box-sizing: border-box;
pointer-events: none;
}
.plane-label .label-name {
background: rgba(0, 0, 0, 0.65);
color: #fff;
font: bold 12px/1.4 'Arial', sans-serif;
padding: 2px 7px;
border-radius: 4px;
white-space: nowrap;
letter-spacing: 0.3px;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: max-content;
max-width: 100%;
text-align: center;
}
.plane-label .label-name-text {
display:block; min-width:0; max-width:100%;
white-space:nowrap; text-align:center;
}
.plane-label .label-name.team-1 { background: rgba(30, 90, 200, 0.85); }
.plane-label .label-name.team-2 { background: rgba(200, 30, 30, 0.85); }
.plane-label .label-busy-icon { display:inline-flex; visibility:hidden; width:16px; height:16px; flex-shrink:0;
position:absolute; left:50%; top:calc(100% + 32px);
transform:translate(-50%,-50%); z-index:1;
align-items:center; justify-content:center; border:1px solid #ffbe35;
border-radius:4px; background:rgba(69,45,13,.92); color:#ffbe35; box-sizing:border-box; }
.plane-label .label-busy-icon.missile-own {
color:#4cf28a; border-color:#4cf28a; background:rgba(12,65,34,.92);
}
.plane-label .label-busy-icon.missile-team-blue {
color:#79bbff; border-color:#79bbff; background:rgba(13,44,92,.94);
}
.plane-label .label-busy-icon.missile-team-red {
color:#ff6969; border-color:#ff6969; background:rgba(93,19,27,.94);
}
.plane-label .label-busy-icon.shield-active {
color:#f4d57b; border-color:#f4d57b; background:rgba(65,46,19,.95);
}
.plane-label .label-busy-icon.active { visibility:visible; }
.shield-pickup-label {position:absolute;left:0;top:0;display:none;pointer-events:none;
flex-direction:column;align-items:center;gap:3px;z-index:10006;white-space:nowrap;}
.shield-pickup-label .shield-name {font:bold 13px/1.4 Arial,sans-serif;
color:#ffe6a6;background:rgba(48,36,18,.86);border:1px solid #d8b65d;
border-radius:5px;padding:3px 8px;text-shadow:0 0 7px #987335;}
.shield-pickup-label .shield-distance {font:bold 13px/1.3 'Courier New',monospace;
color:#ffe5a0;background:rgba(0,0,0,.65);padding:2px 6px;border-radius:3px;}
.shield-pickup-label.shield-offscreen {gap:2px;padding:5px 7px;border:1px solid #d8b65d;
max-width:calc(100vw - 52px);box-sizing:border-box;
border-radius:7px;background:rgba(36,29,17,.93);box-shadow:0 0 12px rgba(220,180,86,.23);}
.shield-pickup-label.shield-offscreen .shield-name {background:none;border:none;padding:0;text-shadow:none;}
.shield-pickup-label.shield-offscreen .shield-distance {background:none;padding:0;}
.shield-pickup-label.ammo-pickup-label .shield-name {
color:#f1deff;background:rgba(38,21,55,.9);border-color:#ad88e7;
text-shadow:0 0 7px #9660cd;
}
.shield-pickup-label.ammo-pickup-label .shield-distance {
color:#dec4ff;
}
.shield-pickup-label.ammo-pickup-label.shield-offscreen {
border-color:#ad88e7;background:rgba(35,22,52,.94);
box-shadow:0 0 12px rgba(165,110,235,.25);
}
.shield-pickup-label.ammo-pickup-label.shield-offscreen .shield-name {
background:none;border:none;text-shadow:none;
}
.shield-pickup-label.ammo-pickup-label.shield-offscreen .shield-distance {
background:none;
}
.plane-label.plane-offscreen {
--aircraft-edge: #adc8dd;
z-index: 10004;
gap: 2px;
padding: 5px 8px;
min-width: 0;
max-width: calc(100vw - 52px);
box-sizing: border-box;
background: rgba(12, 19, 31, .93);
border: 1px solid var(--aircraft-edge);
border-radius: 7px;
box-shadow: 0 0 10px color-mix(in srgb, var(--aircraft-edge) 32%, transparent);
}
.plane-label.plane-offscreen.enemy-team-blue { --aircraft-edge: #79baff; }
.plane-label.plane-offscreen.enemy-team-red { --aircraft-edge: #ff8484; }
.plane-label.plane-offscreen.shield-protected { --aircraft-edge: #f4d076; }
.plane-label.plane-offscreen .label-name {
background: none; padding: 0 2px; font-size: 11px;
max-width: 100%;
}
.plane-label.plane-offscreen .label-name-text {
max-width: 100%;
}
.plane-label.plane-offscreen .label-busy-icon { display:none !important; }
.plane-label.plane-offscreen .label-dist {
color: var(--aircraft-edge); padding: 0 2px; background: none; font-size: 12px;
}
.plane-label.plane-offscreen.enemy-aircraft::after,
.plane-label.plane-offscreen.aircraft-marker::after,
.plane-label.plane-offscreen.shield-protected::after { display: none; }
@media (max-width: 500px) {
.plane-label.plane-offscreen { padding: 3px 5px; min-width: 54px; gap: 1px; }
.plane-label.plane-offscreen .label-name { font-size: 10px; }
}
#left-hud-alerts {
position: fixed;
left: calc(26px + env(safe-area-inset-left));
bottom: var(--hud-result-bottom);
width: var(--hud-minimap-size);
height: var(--hud-result-height);
pointer-events: none;
z-index: 10012;
}
.plane-label .label-busy-icon svg { width:12px; height:12px; display:block; }
.plane-label .label-dist {
background: rgba(0, 0, 0, 0.55);
color: #aef;
font: bold 13px/1.3 'Courier New', monospace;
width: 100%; box-sizing:border-box; text-align:center;
padding: 2px 6px;
border-radius: 3px;
white-space: nowrap;
letter-spacing: 1px;
}
#missile-target-indicator {
position: fixed;
left: 0;
top: 0;
width: 54px;
height: 54px;
pointer-events: none;
display: none;
z-index: 10002;
transform: translate3d(-9999px, -9999px, 0) translate(-50%, -50%);
}
#missile-target-indicator::before {
content: "";
position: absolute;
pointer-events: none;
}
#missile-target-indicator::before {
inset: 0;
background:
linear-gradient(#33ff77, #33ff77) left top / 16px 3px no-repeat,
linear-gradient(#33ff77, #33ff77) left top / 3px 16px no-repeat,
linear-gradient(#33ff77, #33ff77) right top / 16px 3px no-repeat,
linear-gradient(#33ff77, #33ff77) right top / 3px 16px no-repeat,
linear-gradient(#33ff77, #33ff77) left bottom / 16px 3px no-repeat,
linear-gradient(#33ff77, #33ff77) left bottom / 3px 16px no-repeat,
linear-gradient(#33ff77, #33ff77) right bottom / 16px 3px no-repeat,
linear-gradient(#33ff77, #33ff77) right bottom / 3px 16px no-repeat;
filter: drop-shadow(0 0 7px rgba(51, 255, 119, 0.95));
}
#missile-target-indicator::after {
content:""; position:absolute; pointer-events:none;
left:6px; bottom:6px; width:calc(100% - 12px);
height:calc(100% - 12px); transform:scaleY(var(--missile-lock-progress, 0));
transform-origin:bottom center;
background:rgba(51,255,119,.50); box-shadow:inset 0 0 10px rgba(51,255,119,.18);
}
.plane-label.aircraft-marker::after,
.plane-label.enemy-aircraft::after,
.plane-label.shield-protected::after {
content: "";
position: absolute;
left: 50%;
top: calc(100% + 32px);
width: 30px;
height: 30px;
box-sizing: border-box;
border: 2px solid var(--enemy-diamond-edge, rgba(255, 55, 55, 0.98));
box-shadow: 0 0 10px var(--enemy-diamond-glow, rgba(255, 55, 55, 0.95)),
inset 0 0 8px var(--enemy-diamond-inner, rgba(255, 55, 55, 0.35));
pointer-events: none;
transform: translate(-50%, -50%) rotate(45deg);
}
.plane-label.enemy-team-blue {
--enemy-diamond-edge: rgba(18, 77, 215, .99);
--enemy-diamond-glow: rgba(30, 105, 255, .98);
--enemy-diamond-inner: rgba(29, 89, 235, .42);
}
.plane-label.enemy-team-red {
--enemy-diamond-edge: rgba(255, 55, 55, 0.98);
--enemy-diamond-glow: rgba(255, 55, 55, 0.95);
--enemy-diamond-inner: rgba(255, 55, 55, 0.35);
}
.plane-label.shield-protected {
--enemy-diamond-edge: rgba(255, 214, 102, .99);
--enemy-diamond-glow: rgba(242, 186, 64, .90);
--enemy-diamond-inner: rgba(226, 175, 55, .38);
}
#missile-target-indicator.missile-busy { display:none !important; }
#track-threat-hud {
position:relative; left:auto; top:auto; bottom:auto;
transform:none; z-index:10012; display:none; width:100%; max-width:100%;
align-items:center; justify-content:center;
height:var(--hud-result-height); min-height:var(--hud-result-height);
box-sizing:border-box; padding:6px 5px; pointer-events:none;
border:2px solid rgba(255, 78, 78, .94); border-radius:8px;
background:rgba(39, 0, 5, .88); color:#ff6868;
box-shadow:0 0 15px rgba(250, 24, 45, .46), inset 0 0 12px rgba(254, 32, 62, .16);
font:800 12px/1.2 Arial, sans-serif;
letter-spacing:.28px;
text-shadow:0 0 8px rgba(255, 55, 65, .55);
animation:track-threat-pulse 650ms ease-in-out infinite alternate;
}
#track-threat-hud.active { display: flex; }
#track-threat-hud .track-threat-text { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; width:100%; overflow-wrap:anywhere; }
#track-threat-hud .track-threat-instruction { color: #ffd989; font: 800 13px/1.18 Arial, sans-serif; letter-spacing: .24px; padding-top: 0; max-width: 100%; text-shadow: none; white-space: pre-line; }
#track-threat-hud .track-threat-distance { color: #ffe1e1; font: 800 12px/1.2 Arial, sans-serif; padding-top: 4px; letter-spacing: .18px; white-space: nowrap; }
.track-threat-edge {
--threat-edge-color: #ff3030;
display: none; position: fixed; top: 24%; height: 52%; width: 5px;
z-index: 10011; pointer-events: none; border-radius: 5px;
background: var(--threat-edge-color); box-shadow: 0 0 15px var(--threat-edge-color);
animation: track-threat-edge-blink 250ms linear infinite;
}
.track-threat-edge.active { display: block; }
#track-threat-edge-left { left: 9px; }
#track-threat-edge-right { right: 9px; }
@keyframes track-threat-pulse { from {opacity: 1;} to {opacity: .75;} }
@keyframes track-threat-edge-blink { 0%, 53% {opacity: .95;} 54%, 100% {opacity: .08;} }
@media (max-width: 600px) {
.track-threat-edge { width: 3px; }
}
#center-flight-stack {
position: fixed;
left: 50%;
bottom: var(--hud-bottom-inset);
transform: translateX(-50%);
z-index: 10001;
display: flex;
flex-direction: column;
align-items: center;
gap: 7px;
width: max-content;
max-width: min(355px, calc(100vw - 390px));
pointer-events: none;
}
#center-flight-slot {
position: relative;
width: 64px;
height: 52px;
flex: none;
pointer-events: none;
}
#missile-status {
--flight-chip-accent: #82d8ab;
--flight-chip-glow: rgba(76, 220, 150, .32);
position: relative;
left: auto;
top: auto;
bottom: auto;
transform: none;
z-index: 1;
pointer-events: none;
box-sizing: border-box;
min-width: 0;
width: max-content;
max-width: 100%;
padding: 8px 13px;
border: 1px solid var(--flight-chip-accent);
border-radius: 9px;
background: rgba(9, 23, 31, .88);
box-shadow: 0 0 14px var(--flight-chip-glow), inset 0 1px rgba(255,255,255,.07);
color: #e4fff0;
font: 800 12px/1.35 Arial, sans-serif;
letter-spacing: .35px;
text-align: center;
overflow-wrap: anywhere;
text-wrap: balance;
display: none;
}
#missile-status::before {
content: '';
display: inline-block;
width: 7px;
height: 7px;
margin-right: 8px;
border-radius: 50%;
vertical-align: 1px;
background: var(--flight-chip-accent);
box-shadow: 0 0 9px var(--flight-chip-accent);
}
#missile-status.warning {
--flight-chip-accent: #ff7b75;
--flight-chip-glow: rgba(255, 90, 81, .26);
color: #ffe7e2;
background: rgba(38, 13, 20, .90);
}
#missile-status.locked {
--flight-chip-accent: #f4bf59;
--flight-chip-glow: rgba(255, 191, 75, .3);
color: #ffebba;
background: rgba(38, 29, 14, .90);
}
#missile-inbound-icon,
#center-shield-icon {
display: none;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 44px;
height: 48px;
pointer-events: none;
box-sizing: border-box;
}
#missile-inbound-icon {
color: #ff3030;
width: max-content;
max-width: min(355px, calc(100vw - 32px));
height: 48px;
white-space: nowrap;
text-align: center;
font: 900 17px/1.1 Arial, sans-serif;
letter-spacing: .18px;
text-shadow: 0 0 7px rgba(255,48,48,.48), 0 2px 4px rgba(0,0,0,.95);
}
#missile-inbound-icon.active { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
#missile-inbound-icon .inbound-maneuver-prompt {
display: block;
font: 900 17px/1.05 Arial, sans-serif;
animation: missile-inbound-icon-blink 250ms linear infinite;
}
#missile-inbound-icon .inbound-maneuver-eta {
display: block;
font: 900 17px/1.05 'Courier New', monospace;
font-variant-numeric: tabular-nums;
letter-spacing: 0;
white-space: nowrap;
}
@media (max-width: 500px) {
#missile-inbound-icon .inbound-maneuver-prompt,
#missile-inbound-icon .inbound-maneuver-eta { font-size: 14px; }
}
#center-shield-icon { color: #ffe094; filter: drop-shadow(0 0 7px rgba(242,185,70,.7)); }
#center-shield-icon.active { display: flex; align-items: center; justify-content: center; }
#center-shield-icon svg { width: 42px; height: 46px; display: block; }
#center-shield-countdown {
position: absolute;
bottom: 5px;
left: 50%;
transform: translateX(-50%);
min-width: 41px;
padding: 2px 3px;
border-radius: 3px;
background: rgba(9, 17, 28, .73);
border: 1px solid rgba(255, 224, 148, .65);
color: #fff0bc;
text-align: center;
font: 800 10px/1.2 'Courier New', monospace;
font-variant-numeric: tabular-nums;
letter-spacing: .1px;
box-sizing: border-box;
}
@keyframes missile-inbound-icon-blink {
0%, 49.99% { opacity: 1; }
50%, 100% { opacity: 0; }
}
@media (max-width: 760px) {
#center-flight-stack { max-width: min(355px, calc(100vw - 32px)); }
}
#game-overlay.spectator-mode #center-flight-stack {
bottom: calc(var(--hud-bottom-inset) + 70px);
}
#game-overlay.spectator-mode #replay-player.active ~ #center-flight-stack {
bottom: calc(var(--hud-bottom-inset) + 95px);
}
@media (max-width: 660px) {
#game-overlay.spectator-mode #center-flight-stack {
bottom: calc(var(--hud-bottom-inset) + 124px);
}
#game-overlay.spectator-mode #replay-player.active ~ #center-flight-stack {
bottom: calc(var(--hud-bottom-inset) + 149px);
}
}
#hit-marker {
position: fixed;
left: 50%; top: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
opacity: 0;
z-index: 10004;
}
#hit-marker.active {
animation: hitMarkerAnim 0.35s ease-out forwards;
}
@keyframes hitMarkerAnim {
0%   { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
40%  { opacity: 1; transform: translate(-50%, -50%) scale(1.0);  }
100% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
}
#game-banner {
position: fixed;
top: 15px;
left: 50%;
transform: translateX(-50%);
background: rgba(0,0,0,0.75);
color: #fff;
font: bold 14px/1.5 'Courier New', monospace;
padding: 10px 24px;
border-radius: 8px;
text-align: center;
z-index: 10010;
pointer-events: none;
white-space: nowrap;
border: 1px solid rgba(255,255,255,0.15);
min-width: 186px;
}
#eliminated-overlay {
display: none;
position: fixed;
top: 74px;
left: 50%;
transform: translateX(-50%);
text-align: center;
pointer-events: none;
z-index: 10060;
min-width: 240px;
padding: 10px 18px 9px;
border-radius: 8px;
background: rgba(0, 0, 0, 0.72);
border: 1px solid rgba(255, 80, 80, 0.72);
box-shadow: 0 0 18px rgba(120, 0, 0, 0.55);
animation: elimFadeIn 0.4s ease;
}
@keyframes elimFadeIn {
from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#eliminated-overlay .elim-title {
font: bold 18px/1.2 'Courier New', monospace;
color: #ff4444;
text-shadow: 0 0 18px rgba(255,60,60,0.8), 0 2px 4px rgba(0,0,0,0.9);
letter-spacing: 3px;
text-transform: uppercase;
}
#eliminated-overlay .elim-killer {
margin-top: 6px;
font: 13px/1.4 'Courier New', monospace;
color: rgba(255,255,255,0.65);
letter-spacing: 1px;
max-width: 280px;
white-space: normal;
overflow-wrap: anywhere;
}
#hud-health {
position: fixed;
bottom: calc(var(--hud-bottom-inset) + var(--hud-altitude-height) + var(--hud-stack-gap));
right: var(--hud-minimap-right);
width: var(--hud-minimap-size);
display: none;
flex-direction: column;
align-items: stretch;
gap: 6px;
min-height: var(--hud-health-height);
box-sizing: border-box;
z-index: 10003;
}
#hud-health-head {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
#hud-health-label,
#hud-health-val {
color: #7fff7f;
font: bold 12px/1 'Courier New', monospace;
letter-spacing: 1px;
}
#hud-health-bar-bg {
width: 100%;
height: 10px;
background: rgba(0,0,0,0.5);
border: 1px solid #3a5a3a;
border-radius: 2px;
overflow: hidden;
}
#hud-health-bar {
height: 100%;
width: 100%;
background: linear-gradient(90deg, #1a8a1a, #7fff7f);
transition: width 0.3s, background 0.3s;
}
#hud-health-val { color: #fff; text-align: right; }
#scoreboard {
position: fixed;
top: max(16px, env(safe-area-inset-top)); left: 50%;
transform: translateX(-50%);
background: rgba(5, 15, 5, 0.92);
border: 1px solid #2a5a2a;
border-radius: 4px;
padding: 0;
width: min(700px, calc(100vw - 28px));
min-width: 0;
height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(140px, 22dvh));
max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(140px, 22dvh));
box-sizing: border-box;
overflow: hidden;
flex-direction: column;
z-index: 10021;
box-shadow: 0 0 30px rgba(0,180,0,0.15);
font-family: 'Courier New', monospace;
}
#scoreboard-inner {
padding: 12px 20px 4px;
max-height: none;
min-height: 0;
flex: 0 0 auto;
overflow: visible;
}
#scoreboard-feed {
border-top:1px solid #2a5a2a;
padding:9px 0 12px;
background:rgba(10,26,16,.8);
flex: 1 1 0;
min-height: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
#scoreboard-feed #hit-feed {
min-height:0;
flex:1 1 auto;
max-height:none;
overflow-y:auto;
overflow-x:hidden;
padding:0 20px 16px;
scrollbar-width:thin;
scrollbar-color:rgba(91,191,145,.78) rgba(11,35,25,.45);
}
#scoreboard-feed #hit-feed::-webkit-scrollbar {width:8px;}
#scoreboard-feed #hit-feed::-webkit-scrollbar-track {
background:rgba(11,35,25,.45);
border-radius:8px;
}
#scoreboard-feed #hit-feed::-webkit-scrollbar-thumb {
background:rgba(91,191,145,.78);
border:2px solid rgba(11,35,25,.72);
border-radius:8px;
}
#scoreboard-feed #hit-feed::-webkit-scrollbar-thumb:hover {
background:rgba(128,226,179,.96);
}
#scoreboard-feed-title {
color:#92d9a8; font:700 12px Arial,sans-serif;
letter-spacing:.8px; margin:0 20px 6px;
}
#scoreboard.scoreboard-overflow {overflow-y:auto; scrollbar-width:thin;}
#scoreboard.scoreboard-overflow #scoreboard-feed {flex:0 0 104px; min-height:104px;}
@media(max-width:600px) {
#scoreboard-inner {padding:9px 10px 4px;}
#scoreboard-feed {padding:9px 0 12px;}
#scoreboard-feed-title {margin-left:10px; margin-right:10px;}
#scoreboard-feed #hit-feed {padding-left:10px; padding-right:10px;}
.sb-header, .sb-row {grid-template-columns:minmax(0,1fr) 85px 43px 62px;}
}
.sb-title {
color: #7fff7f;
font-size: 13px;
font-weight: bold;
letter-spacing: 2px;
text-transform: uppercase;
border-bottom: 1px solid #2a5a2a;
padding-bottom: 8px;
margin-bottom: 10px;
}
.sb-team-label {
color: #aaa;
font-size: 11px;
letter-spacing: 1px;
text-transform: uppercase;
margin: 10px 0 4px;
}
.sb-team-label.team-a { color: #4af; }
.sb-team-label.team-b { color: #f44; }
.sb-header, .sb-row {
display: grid;
grid-template-columns: minmax(0,1fr) minmax(70px,140px) 60px 68px;
gap: 4px;
align-items: center;
padding: 3px 0;
font-size: 12px;
}
.sb-header {
color: #5a8a5a;
font-size: 11px;
letter-spacing: 1px;
border-bottom: 1px solid #1a3a1a;
padding-bottom: 4px;
margin-bottom: 2px;
}
.sb-row { color: #ccc; }
.sb-row.me { color: #fff; font-weight: bold; }
.sb-row.bot { color: #888; }
.sb-row.dead  { color: #555; text-decoration: line-through; opacity: 0.6; }
.sb-row.left  { color: #555; text-decoration: line-through; opacity: 0.4; font-style: italic; }
.sb-hp-wrap {
background: rgba(0,0,0,0.4);
border: 1px solid #2a4a2a;
border-radius: 2px;
height: 8px;
overflow: hidden;
}
.sb-hp-bar {
height: 100%;
background: linear-gradient(90deg,#1a8a1a,#7fff7f);
transition: width 0.3s;
}
.sb-num { text-align: center; }
.sb-ping { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media(max-width:400px) {
.sb-header, .sb-row {grid-template-columns:minmax(0,1fr) 65px 38px 54px; gap:3px; font-size:11px;}
}
#mobile-controls {
display: none;
position: fixed; bottom: 0; left: 0; right: 0;
height: 180px;
pointer-events: none;
z-index: 10050;
}
#game-canvas { touch-action: none; }
#mobile-fire-button {
position: absolute;
left: calc(16px + env(safe-area-inset-left));
bottom: calc(16px + env(safe-area-inset-bottom));
width: 86px; height: 86px;
border-radius: 50%;
border: 2px solid rgba(255,205,205,0.9);
background: rgba(166,28,46,0.88);
color: #fff;
font: 800 12px/1.2 Arial, sans-serif;
text-align: center;
padding: 8px;
overflow-wrap: anywhere;
pointer-events: auto;
touch-action: manipulation;
user-select: none;
-webkit-user-select: none;
cursor: pointer;
box-shadow: 0 0 12px rgba(30,0,0,0.45);
}
#mobile-fire-button:active { background: rgba(225,42,55,0.96); }
#mobile-fire-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (pointer: coarse) {
#mobile-fire-button { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
#lobby-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.72);
z-index: 2000;
align-items: center;
justify-content: center;
}
#lobby-overlay.active { display: flex; }
#lobby-popup {
background: #1a1d2e;
border: 1px solid rgba(255,255,255,0.13);
border-radius: 14px;
width: 500px;
max-width: 96vw;
box-shadow: 0 20px 60px rgba(0,0,0,0.7);
animation: popIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
color: #fff;
overflow: hidden;
}
#lobby-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 20px 13px;
border-bottom: 1px solid rgba(255,255,255,0.08);
background: rgba(0,0,0,0.2);
}
#lobby-title {
font-size: 15px;
font-weight: bold;
letter-spacing: 0.5px;
color: #fff;
}
#lobby-close-btn {
background: none;
border: none;
color: rgba(255,255,255,0.45);
font-size: 18px;
cursor: pointer;
line-height: 1;
padding: 3px 7px;
border-radius: 5px;
transition: color 0.2s, background 0.2s;
}
#lobby-close-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
#lobby-teams {
display: grid;
grid-template-columns: 1fr 1fr;
}
.lobby-team {
padding: 14px 16px;
display: flex;
flex-direction: column;
gap: 6px;
min-height: 210px;
}
.lobby-team:first-child { border-right: 1px solid rgba(255,255,255,0.07); }
.lobby-team-label {
font-size: 10px;
font-weight: bold;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 2px;
padding-bottom: 6px;
border-bottom: 1px solid rgba(255,255,255,0.07);
}
#lobby-team1-label { color: #6699ff; }
#lobby-team2-label { color: #ff6666; }
.lobby-slot {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 6px;
padding: 7px 10px;
font-size: 13px;
display: flex;
align-items: center;
gap: 8px;
min-height: 38px;
transition: background 0.15s;
}
.lobby-slot.empty {
border-style: dashed;
opacity: 0.35;
}
.lobby-slot.is-bot { opacity: 0.65; }
.lobby-slot.is-me  { border-color: rgba(255,255,255,0.3); font-weight: bold; }
.lobby-slot-icon   { font-size: 13px; flex-shrink: 0; }
.lobby-slot-name   { flex: 1; min-width:0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lobby-team-heading { display:flex; align-items:center; justify-content:space-between;
gap:7px; border-bottom:1px solid rgba(255,255,255,.07); padding-bottom:6px; margin-bottom:2px; }
.lobby-team-heading .lobby-team-label { margin:0; padding:0; border:none; min-width:0; }
.lobby-ping-heading { flex:none; font-size:10px; font-weight:800; letter-spacing:1.3px; }
#lobby-ping1-label { color:#6699ff; }
#lobby-ping2-label { color:#ff6666; }
.lobby-slot-ping { color:#d6e7f5; flex:none; margin-left:auto; min-width:38px;
text-align:right; white-space:nowrap; font-size:11px; font-variant-numeric:tabular-nums; }
.lobby-slot-kick { flex:none; border:1px solid rgba(243,105,115,.45);
border-radius:5px; background:rgba(189,40,55,.18); color:#ff98a2;
width:21px; height:22px; padding:0; font-size:15px; line-height:1; cursor:pointer; }
.lobby-slot-kick:hover { background:rgba(189,40,55,.45); color:white; }
.lobby-slot-kick:focus-visible { outline:2px solid #84cef6; outline-offset:2px; }
.lobby-team-controls {
display: flex;
gap: 6px;
margin-top: auto;
padding-top: 6px;
}
.lobby-bot-btn {
flex: 1;
padding: 6px 0;
border: none;
border-radius: 6px;
font-size: 12px;
font-weight: bold;
cursor: pointer;
background: rgba(255,255,255,0.1);
color: #ddd;
transition: background 0.2s, color 0.2s;
letter-spacing: 0.3px;
}
.lobby-bot-btn:hover         { background: rgba(255,255,255,0.2); color: #fff; }
.lobby-bot-btn:disabled      { opacity: 0.35; cursor: not-allowed; }
.lobby-bot-btn.btn-remove    { background: rgba(200,40,40,0.2); color: #ff9999; }
.lobby-bot-btn.btn-remove:hover { background: rgba(200,40,40,0.4); color: #fff; }
#lobby-footer {
padding: 13px 20px;
border-top: 1px solid rgba(255,255,255,0.08);
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 14px;
background: rgba(0,0,0,0.15);
}
#lobby-status-text {
font-size: 12px;
color: rgba(255,255,255,0.5);
flex: 1;
letter-spacing: 0.3px;
}
#lobby-status-text.ready { color: #7fff7f; }
#lobby-start-btn {
padding: 8px 24px;
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: bold;
cursor: pointer;
background: #c0152a;
color: #fff;
transition: background 0.2s;
white-space: nowrap;
}
#lobby-start-btn:hover    { background: #a01020; }
#lobby-start-btn:disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.35); cursor: not-allowed; }
#lobby-join-btns { display: flex; }
.lobby-join-btn {
padding: 8px 16px;
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: bold;
cursor: pointer;
background: rgba(60,100,220,0.75);
color: #fff;
transition: background 0.2s;
white-space: nowrap;
}
.lobby-join-btn:hover    { background: rgba(60,100,220,1); }
.lobby-join-btn:disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.35); cursor: not-allowed; }
.lobby-join-btn-red          { background: rgba(200,40,40,0.75); }
.lobby-join-btn-red:hover    { background: rgba(200,40,40,1); }
#lobby-join-btns .lobby-join-btn:disabled,
#lobby-join-btns .lobby-join-btn:disabled:hover { background:rgba(255,255,255,.1); color:rgba(255,255,255,.35); cursor:not-allowed; }
@media (orientation: landscape) and (max-height: 500px) {
body { display: block; }
#main-box {
position: fixed;
top: 0; left: 0; right: 0;
bottom: 48px;
width: auto; height: auto;
min-width: unset;
border-radius: 0;
padding: 10px 12px 8px;
box-shadow: none;
}
#main-box:not(.expanded) {
display: flex;
align-items: center;
justify-content: center;
}
#main-box.expanded {
min-width: unset;
width: auto; height: auto;
padding: 10px 12px 8px;
}
#games-table { font-size: 12px; }
#games-table thead th,
#games-table tbody td { padding: 6px 8px; }
#name-switcher {
position: fixed;
top: auto; bottom: 10px; left: 12px;
z-index: 9999;
}
#lang-switcher {
position: fixed;
top: auto; bottom: 10px; right: 12px;
z-index: 9999;
}
#inp-player-name { font-size: 13px; padding: 5px 8px; width: 120px; }
#modal-overlay { align-items: flex-start; padding-top: 8px; }
#modal {
width: 90vw;
max-height: calc(100vh - 16px);
overflow-y: auto;
padding: 16px 14px;
}
#modal h2 { font-size: 16px; margin-bottom: 10px; }
#modal label { font-size: 13px; }
#modal input, #modal select { font-size: 13px; padding: 5px 8px; }
.modal-top-row { grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr); gap: 8px; }
}
:root {
--ac-navy-bg: #08121f;
--ac-navy-panel: #101e2d;
--ac-navy-card: #16283b;
--ac-navy-border: rgba(123, 167, 199, 0.20);
--ac-navy-text: #eaf4ff;
--ac-navy-muted: #9bb1c7;
--ac-navy-accent: #55c7e2;
}
body {
background: radial-gradient(ellipse 74% 56% at 50% 0%, rgba(35, 86, 123, .31), transparent 75%),
radial-gradient(ellipse 60% 55% at 100% 100%, rgba(17, 63, 89, .19), transparent 75%),
linear-gradient(155deg, #0a1523 0%, #07111d 66%, #0a1928 100%);
color: var(--ac-navy-text);
font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
#main-box {
background: linear-gradient(155deg, #14263b 0%, #0e1b2b 100%);
border: 1px solid var(--ac-navy-border);
box-shadow: 0 28px 80px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255,255,255,.025) inset;
color: var(--ac-navy-text);
}
#main-box.expanded {
min-width: 0;
width: min(1200px, calc(100vw - 32px));
max-width: 1200px;
height: 90vh;
height: 90dvh;
margin: 0;
padding: 0;
border-radius: 20px;
overflow: hidden;
text-align: left;
transition: box-shadow .25s ease, border-color .25s ease;
}
#loading-text { color: #e4f5ff; letter-spacing: .3px; font-weight: 600; }
#games-section { min-height: 0; padding: 21px 24px 23px; gap: 15px; }
.ac-list-brand { display: flex; align-items: center; gap: 10px; min-height: 26px; color: #91b1c8; }
.ac-list-brand-icon {
width: 28px; height: 28px; display: inline-flex; justify-content: center; align-items: center;
border-radius: 7px; background: linear-gradient(145deg, #244e69, #173249);
border: 1px solid rgba(102,204,237,.32); color: #b7ecfa; font-size: 17px;
}
.ac-list-brand-name { font-size: 12px; font-weight: 800; letter-spacing: 2.9px; color: #cfebfa; }
.ac-list-brand-line {
flex: 1 1 auto; min-width: 12px; height: 1px;
background: linear-gradient(90deg, rgba(96,151,191,.20), rgba(96,151,191,.47));
margin-left: 11px; margin-right: 8px;
}
#btn-new-game .ac-newgame-dot {
display: inline-block; flex: 0 0 8px; width: 8px; height: 8px;
border-radius: 50%; background: #fff;
box-shadow: none;
}
#btn-new-game, #btn-create, #confirm-ok, #lobby-start-btn {
background: linear-gradient(115deg, #2288af, #247ba4);
border: 1px solid rgba(139, 227, 249, .37);
color: #f2fcff; box-shadow: 0 6px 19px rgba(18, 108, 150, .19);
font-weight: 730; letter-spacing: .15px;
}
#btn-new-game {
display: inline-flex; align-items: center; justify-content: center;
flex: 0 0 auto; gap: 10px; white-space: nowrap;
padding: 10px 18px; border-radius: 10px; min-height: 40px;
}
#btn-new-game:hover, #btn-create:hover, #confirm-ok:hover, #lobby-start-btn:hover:not(:disabled) {
background: linear-gradient(115deg, #2c9dc3, #278bb3);
border-color: rgba(155, 235, 255, .55);
}
#table-wrapper {
min-height: 0; position: relative; isolation: isolate; flex: 1;
border: 1px solid rgba(119, 166, 198, .20); border-radius: 14px;
background:
radial-gradient(ellipse 38% 47% at 78% 74%, rgba(30, 96, 124, .16), transparent 90%),
linear-gradient(rgba(91, 138, 171, .045) 1px, transparent 1px),
linear-gradient(90deg, rgba(91, 138, 171, .045) 1px, transparent 1px),
#0b1929;
background-size: auto, 36px 36px, 36px 36px, auto;
overflow: auto;
scrollbar-width: thin; scrollbar-color: #3b566d #0c1b2b;
}
#table-wrapper.ac-empty-games { overflow: hidden; }
#table-wrapper.ac-empty-games #games-table { min-width: 0; }
#games-table { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0 9px; font-size: 13px; padding: 0 10px 8px; }
#games-table thead tr { background: transparent; color: #8eabc2; }
#th-total-games {text-align:center;white-space:nowrap;}
#th-total-games-label {display:block;font-size:9px;letter-spacing:.3px;line-height:1.2;}
#th-total-games-number {display:block;font-size:13px;line-height:1.35;color:#d7f0ff;font-weight:800;}
#games-table thead th { padding: 17px 13px 12px; background: #11243a; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 1px; }
#games-table thead th:first-child { border-radius: 8px 0 0 8px; }
#games-table thead th:last-child { border-radius: 0 8px 8px 0; }
#games-table tbody tr { border: 0; background: transparent; }
#games-table tbody td {
background: rgba(25, 43, 61, .93); color: #dceaf6;
border-top: 1px solid rgba(119,166,198,.12);
border-bottom: 1px solid rgba(119,166,198,.12);
padding: 14px 13px;
font-variant-numeric: tabular-nums;
}
#games-table tbody tr:hover td { background: #243d54; }
#games-table tbody td:first-child { border-left: 1px solid rgba(119,166,198,.12); border-radius: 9px 0 0 9px; }
#games-table tbody td:last-child { border-right: 1px solid rgba(119,166,198,.12); border-radius: 0 9px 9px 0; }
#games-table tbody td strong { color: #f3f9ff; font-weight: 680; }
#games-table tbody tr.joined td, #games-table tbody tr.joined:hover td { background: #193e48; border-top-color: rgba(102,206,174,.36); border-bottom-color: rgba(102,206,174,.36); }
#games-table tbody tr.not-joinable:hover td { background: #213348; }
#games-table tbody tr.completed, #games-table tbody tr.completed:hover { background: transparent; }
#games-table tbody tr.completed td, #games-table tbody tr.completed:hover td { background: #1b2a3a; }
#games-table tbody tr.completed td:not(.game-actions-column), #games-table tbody tr.completed td:not(.game-actions-column) strong { color: #8498ad; }
#games-table tbody tr.completed .badge { background: #263849; color: #879eaf; }
.ac-game-type-icon { display:inline-flex; flex:0 0 29px; align-items:center; justify-content:center; width:29px; height:29px; border-radius:7px; color:#8acbe5; background:rgba(81,151,180,.14); border:1px solid rgba(98,174,205,.17); }
.ac-game-identity { display:flex; align-items:center; gap:9px; min-width:0; }
.ac-game-identity-text { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; }
.ac-game-identity-text strong { overflow-wrap:anywhere; text-align:left; }
.ac-replay-date { font-size:11px; line-height:1.3; opacity:.78; white-space:normal; text-align:left; }
.ac-participant-badges {display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px;}
.ac-game-type-icon.is-private { color:#f2cd93; background:rgba(193,141,68,.12); border-color:rgba(193,141,68,.19); }
#games-table tbody td.ac-participants-column { text-align:center; white-space:nowrap; }
#games-table tbody tr .sky-list-preview { border: 1px solid rgba(190, 222, 244, .26); box-shadow: 0 2px 12px rgba(0,0,0,.2); }
#games-table .badge { border-radius: 6px; margin: 2px 3px 2px 0; padding: 4px 8px; font-size: 11px; }
#games-table .badge-bot { background: #2e394a; color: #acc6df; }
#games-table .badge-real { background: #173d3e; color: #95ddc7; }
#games-table .badge-waiting { background: #453b2a; color: #f2d095; }
#games-table .badge-playing { background: #19453c; color: #8ce2bc; }
#games-table .badge-completed { background: #2d3a4e; color: #a2b5d5; }
.game-action-btn { border-radius: 8px; padding: 8px 13px; min-height: 33px; transition: background .18s, border-color .18s; border:1px solid rgba(120,176,204,.18); }
.game-action-join { background: #286b90; color: #f2faff; }
.game-action-join:hover:not(:disabled) { background: #318cb3; }
.game-action-watch { background: #223b53; color: #b8dcf5; }
.game-action-watch:hover:not(:disabled) { background: #315575; }
.game-action-join:disabled, .game-action-watch:disabled { background: #263342; color: #798ba1; opacity: .65; }
.game-action-btn:focus-visible, #btn-new-game:focus-visible, #lobby-start-btn:focus-visible,
#btn-create:focus-visible, #confirm-ok:focus-visible { outline: 2px solid #7eddf5; outline-offset: 3px; }
#games-table tbody tr.ac-empty-row, #games-table tbody tr.ac-empty-row:hover { background: transparent; }
#games-table tbody tr.ac-empty-row td, #games-table tbody tr.ac-empty-row:hover td {
padding: 0; background: transparent; border: 0; border-radius: 0;
}
.ac-empty-panel { min-height: min(320px, 45dvh); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:24px; color: #91afc5; text-align:center; padding:24px 20px; }
.ac-empty-caption { font-size: 15px; font-weight: 520; letter-spacing: .25px; }
.ac-empty-radar {
width: 112px; height: 112px; border: 1px solid rgba(89, 173, 205, .3); border-radius: 50%; position:relative;
box-shadow: 0 0 0 19px rgba(79,154,186,.045), 0 0 0 39px rgba(79,154,186,.027);
background: radial-gradient(circle, rgba(88,196,225,.20) 0 3px, transparent 4px),
conic-gradient(from 190deg, transparent 0deg 247deg, rgba(71,195,225,.17) 340deg, transparent 360deg);
}
.ac-empty-radar:before, .ac-empty-radar:after { content:""; position:absolute; background:rgba(102,190,219,.2); }
.ac-empty-radar:before { height:1px; width:100%; top:50%; left:0; }
.ac-empty-radar:after { width:1px; height:100%; left:50%; top:0; }
#lang-select, #inp-player-name {
border: 1px solid rgba(115,162,195,.36); background-color: rgba(17,37,56,.94);
color: #e1f2ff; border-radius: 9px; box-shadow: 0 8px 20px rgba(0,0,0,.16);
backdrop-filter: blur(10px);
}
#lang-select option { background: #14283a; color: #e7f4ff; }
#inp-player-name:focus, #lang-select:focus-visible { border-color:#65d1ec; background-color: #19374e; }
#inp-player-name::placeholder { color:#92acc3; }
#modal-overlay, #confirm-overlay, #lobby-overlay { background:rgba(3, 10, 18, .78); backdrop-filter:blur(8px); }
#modal, #confirm-box, #lobby-popup {
background: linear-gradient(157deg, #162a3e, #0e1b2b);
border: 1px solid rgba(129,172,199,.27);
box-shadow: 0 28px 84px rgba(0, 0, 0, .60);
color: #eaf4ff;
border-radius: 17px;
}
#modal { width: min(520px, 94vw); padding: 28px 30px; }
#modal h3 { color: #f0f8ff; text-align:left; font-size:22px; letter-spacing:-.4px; margin-bottom: 25px; }
.form-group label { color: #adc5da; font-size: 11px; letter-spacing:.75px; }
#modal .form-group input:not([type="checkbox"]), #modal .form-group select, #confirm-password {
background: #0c1c2b; border: 1px solid rgba(126,169,198,.32);
border-radius: 9px; color: #ecf6ff; outline: 0; min-height: 40px;
}
#modal .form-group input:not([type="checkbox"]):focus, #modal .form-group select:focus, #confirm-password:focus {
border-color: #6fd8f0; box-shadow: none; outline: none;
}
#modal .form-group input:disabled, #modal .form-group select:disabled { background: #1c2c3b; color: #7990a5; }
#modal input[type="checkbox"], #lobby-allow-spectating { accent-color: #51bfdb; }
#modal .create-choice-row label { color:#d1e2f2; }
#create-choices-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 16px; align-items:start; margin:8px 0 12px; }
.create-choice-column { display:flex; flex-direction:column; min-width:0; gap:3px; }
#modal .create-choice-row { display:flex; align-items:flex-start; gap:7px; min-width:0; margin:0; position:relative; }
#modal .create-choice-row input[type="checkbox"] { flex:none; width:16px; height:16px; margin:1px 0 0; cursor:pointer; }
#modal .create-choice-row label { flex:0 1 auto; font-size:12px; line-height:1.45; letter-spacing:0; text-transform:none; cursor:pointer; min-width:0; overflow-wrap:anywhere; }
#modal .create-choice-row .lobby-watch-info { margin-top:0; }
#create-watch-info .lobby-watch-tooltip, #create-voice-info .lobby-watch-tooltip { right:0; left:auto; }
@media (max-width:420px) { #create-choices-grid { gap:8px; } #modal .create-choice-row { gap:5px; } #modal .create-choice-row label { font-size:11px; } }
#sky-picker { gap: 8px; }
.sky-pick-opt { border-radius: 8px; border: 1px solid rgba(146,177,200,.21); }
.sky-pick-opt.active { box-shadow: 0 0 0 2px #69d7ee; }
.sky-pick-lbl { background: transparent; color: #f2f8ff; padding: 0 4px; }
.modal-actions { margin-top: 22px; }
.modal-actions button { border-radius: 9px; padding: 11px 14px; }
#btn-cancel, #confirm-no { background: #24384b; border: 1px solid rgba(134,180,207,.24); color: #d6eafa; }
#btn-cancel:hover, #confirm-no:hover { background: #2c4962; }
#confirm-box { max-width: 92vw; padding: 27px 29px; }
#confirm-message { color:#dcecf8; line-height: 1.55; }
#confirm-password { background: #0c1c2b !important; border-color: rgba(126,169,198,.32) !important; color: #ecf6ff !important; }
#lobby-popup { width: min(560px, 96vw); }
#lobby-header { background: #14293c; padding: 18px 22px; border-bottom-color: var(--ac-navy-border); }
#lobby-title { font-size:16px; color:#f0f8ff; letter-spacing:.15px; }
#lobby-close-btn { background:#20364b; border:1px solid rgba(137,176,205,.20); color:#b9cfdf; border-radius:8px; padding:6px 9px; }
#lobby-close-btn:hover { background:#304a63; color:#fff; }
.lobby-header-actions #lobby-close-btn {width:30px;height:30px;display:grid;place-items:center;padding:0;flex:none;}
.lobby-team { padding:19px 19px 17px; }
.lobby-team:first-child { border-right-color:rgba(115,156,184,.19); }
.lobby-team-heading { border-bottom-color: rgba(115,156,184,.18); padding-bottom:10px; }
.lobby-team-heading .lobby-team-label { border:0; padding:0; }
.lobby-slot { background: rgba(35,61,82,.58); border-color:rgba(118,159,188,.17); border-radius:8px; }
.lobby-slot.empty { opacity:.48; }
.lobby-slot.is-me { background: rgba(41,80,99,.58); border-color:rgba(103,200,224,.51); }
.lobby-bot-btn { background:#263c50; color:#d5e6f4; border:1px solid rgba(132,172,200,.2); border-radius:8px; padding:8px 0; }
.lobby-bot-btn:hover { background:#34536d; }
#lobby-footer { background:rgba(11,24,38,.66); border-top-color:rgba(115,156,184,.2); padding:17px 22px; }
#lobby-status-text { color:#a8c0d2; }
#lobby-status-text.ready { color:#82ddae; }
#lobby-start-btn { min-height:37px; border-radius:9px; }
#lobby-start-btn:disabled { background:#253547; color:#788da0; border-color:transparent; box-shadow:none; }
#lobby-title { min-width: 0; overflow-wrap: anywhere; }
.lobby-header-actions { display: flex; align-items: center; flex-shrink: 0; }
#lobby-feature-flags { display:flex; gap:5px; align-items:center; margin-right:10px; }
.lobby-feature-flag { display:grid; place-items:center; width:30px; height:30px; box-sizing:border-box;
border:1px solid rgba(102,181,244,.65); border-radius:6px; background:rgba(36,105,172,.20);
color:#a9dcff; opacity:1; transition:opacity .15s,background .15s; }
.lobby-feature-flag svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8;
stroke-linecap:round; stroke-linejoin:round; }
.lobby-feature-flag.is-disabled { opacity:.3; color:#8a9baa; border-color:rgba(138,155,170,.25); background:rgba(138,155,170,.06); }
@media(max-width:410px) { #lobby-feature-flags {gap:3px;margin-right:6px}
.lobby-feature-flag {width:27px;height:27px} .lobby-header-actions #lobby-close-btn{width:27px;height:27px} .lobby-feature-flag svg{width:15px;height:15px} }
#lobby-footer { flex-wrap: nowrap; gap: 12px; padding: 12px 22px; }
.lobby-footer-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; position:relative; }
.lobby-footer-actions { flex: 0 0 auto; display: flex; align-items: center; }
#lobby-status-text { flex: none; line-height: 1.35; min-height: 1.35em; overflow-wrap: anywhere; }
#lobby-watch-privacy { min-height: 21px; min-width: 0; }
#lobby-watch-privacy label { min-width: 0; overflow-wrap: anywhere; }
#lobby-start-btn { min-height: 37px; padding: 8px 17px; }
@media (max-width: 520px) {
#lobby-footer { flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.lobby-footer-info { flex: 1 1 100%; }
.lobby-footer-actions { margin-left: auto; }
}
@media (orientation: landscape) and (max-height: 500px) {
#lobby-popup { max-height: calc(100vh - 14px); overflow-y: auto; }
#lobby-header { padding: 10px 14px; }
#lobby-footer { padding: 9px 14px; }
}
#create-watch-row { position: relative; }
.ac-field-title { display:flex; align-items:center; gap:7px; min-height:22px; margin-bottom:5px; }
.ac-field-title label { margin:0; }
.ac-create-info { position:relative; }
.ac-field-title .ac-create-info .lobby-watch-tooltip {
top:calc(100% + 7px); bottom:auto; left:0; right:auto;
width:min(300px,calc(100vw - 58px));
}
#create-watch-info .lobby-watch-tooltip,
#create-voice-info .lobby-watch-tooltip {
right:0; left:auto; bottom:calc(100% + 8px);
width:min(310px,calc(100vw - 56px));
}
.lobby-watch-info { display:inline-flex; align-items:center; flex:0 0 auto; isolation:isolate; }
.lobby-watch-info-btn {
display:inline-grid; place-items:center; width:19px; height:19px; padding:0;
border:1px solid rgba(111,193,220,.62); border-radius:50%;
background:rgba(54,119,155,.17); color:#8cdaef;
font:700 12px/1 Arial,sans-serif; cursor:help;
}
.lobby-watch-info-btn:hover, .lobby-watch-info-btn:focus-visible,
.lobby-watch-info.is-open .lobby-watch-info-btn {
background:rgba(67,157,191,.32); border-color:#89def4; color:#e6fbff;
}
.lobby-watch-info-btn:focus-visible { outline:2px solid #a0e5f7; outline-offset:2px; }
.lobby-watch-tooltip {
position:absolute; right:0; bottom:calc(100% + 10px);
box-sizing:border-box; width: min(310px, calc(100vw - 42px));
border:1px solid rgba(106,175,207,.43); border-radius:10px;
background:#192f44; color:#e4f3ff;
box-shadow:0 12px 29px rgba(0,0,0,.45);
padding:11px 13px; font-size:12px; line-height:1.55;
font-weight:400; letter-spacing:normal; text-transform:none;
opacity:0; visibility:hidden; pointer-events:none;
transition:opacity .13s ease, visibility .13s ease; z-index:50;
}
.lobby-watch-info-btn:focus-visible + .lobby-watch-tooltip,
.lobby-watch-info.is-open .lobby-watch-tooltip {
opacity:1; visibility:visible;
}
@media (hover: hover) and (pointer: fine) {
.lobby-watch-info:hover .lobby-watch-tooltip { opacity:1; visibility:visible; }
}
@media (max-width: 860px) and (min-height: 501px) {
#main-box.expanded { width:calc(100vw - 28px); height:90dvh; margin:0; border-radius:15px; }
#games-section { padding:19px 16px 18px; gap:14px; }
.ac-list-brand { min-height:24px; }
#btn-new-game { padding:10px 13px; font-size:12px; }
}
@media (orientation: landscape) and (max-height: 500px) {
#main-box.expanded { top:0; bottom:48px; left:0; right:0; width:100%; height:auto; max-height:none; margin:0; border-radius:0; }
#games-section { padding:9px 12px 10px; gap:8px; }
.ac-list-brand { min-height:18px; }
.ac-list-brand-icon { width:20px; height:20px; font-size:13px; }
.ac-list-brand-name { font-size:10px; }
#btn-new-game { padding:6px 12px; min-height:30px; font-size:12px; }
.ac-list-brand { gap:7px; }
.ac-list-brand-name { letter-spacing:1.3px; }
.ac-list-brand-line { margin-left:2px; margin-right:4px; }
#games-table thead th { padding:8px 9px; }
#games-table tbody td { padding:6px 9px; }
#modal { max-height:calc(100vh - 16px); overflow-y:auto; padding:16px; }
}
@media (prefers-reduced-motion: reduce) {
#btn-new-game, .game-action-btn, .lobby-slot { transition:none; }
}
.ac-list-brand { flex-wrap:wrap; row-gap:9px; }
#game-period-bar.ac-list-brand-line {
display:flex; align-items:center; justify-content:center; gap:8px;
margin:0 8px 0 10px; min-width:0; height:auto; background:none; flex:1 1 auto;
}
.ac-list-brand-rule { height:1px; flex:1 1 12px; min-width:6px; background:rgba(96,151,191,.31); }
#game-period-controls { --period-control-height:35px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0; min-width:0; }
#game-period-tabs { display:flex; align-items:center; gap:2px; padding:3px; height:var(--period-control-height); box-sizing:border-box; border:1px solid rgba(125,172,207,.19);
background:#0d2235; border-radius:9px 0 0 9px; border-right:0; }
#game-period-tabs button { border:0; border-radius:6px; padding:6px 7px; background:transparent; color:#a2bfd3;
font:650 11px/1.15 system-ui,-apple-system,'Segoe UI',sans-serif; white-space:nowrap; cursor:pointer; }
#game-period-tabs button:hover { color:#fff; background:#223d56; }
#game-period-tabs button.active { color:#e9faff; background:#266b8c; box-shadow:0 1px 6px rgba(0,0,0,.25); }
#game-period-picker { display:flex; gap:3px; align-items:center; height:var(--period-control-height); box-sizing:border-box; border:1px solid rgba(125,172,207,.19); border-left:0; border-right:0;
border-radius:0; background:#0d2235; padding:2px; }
#game-period-picker[hidden],#game-period-date[hidden],#game-period-year[hidden],#game-filter-panel[hidden] { display:none !important; }
.ac-period-step {display:inline-flex; justify-content:center; align-items:center; width:24px; height:27px; border:0;
border-radius:6px; cursor:pointer; color:#bcd8e9; background:transparent; padding:0; }
.ac-period-step:hover { background:#254861; color:white; }
#game-period-date,#game-period-year { width:129px; min-width:0; height:27px; box-sizing:border-box; border:0; outline:0;
border-radius:5px; background:#183750; color:#e9f6ff; padding:3px 5px; font:600 11px system-ui,-apple-system,'Segoe UI',sans-serif;
color-scheme:dark; }
#game-period-year { width:74px; text-align:center; }
#game-search-panel-toggle {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
height:var(--period-control-height);width:var(--period-control-height);box-sizing:border-box;padding:0;border:1px solid rgba(125,172,207,.19);
border-radius:0 9px 9px 0;border-left:0;background:#0d2235;color:#bddbef;box-shadow:none;cursor:pointer;}
#game-search-panel-toggle:hover {background:#244a63;color:#effaff;}
#game-search-panel-toggle[aria-pressed="true"] {background:#266b8c;color:#fff;
border-color:rgba(125,172,207,.19);box-shadow:none;}
#game-search-panel-toggle:focus-visible {outline:none;}
#game-search-panel-toggle svg {width:18px;height:18px;display:block;}
#game-filter-toolbar {display:flex; align-items:center; flex-wrap:wrap; gap:9px; min-height:35px; }
#game-filter-toolbar[hidden] {display:none !important;}
.ac-search-field {display:flex; flex:1 1 220px; max-width:380px; min-width:150px; align-items:center; gap:8px;
padding:0 11px; border:1px solid rgba(130,177,209,.3); border-radius:9px; color:#96bfd4; background:#122a3e;
height:35px; box-sizing:border-box; }
.ac-search-field:focus-within { border-color:#6ac9e9; outline:none; }
#game-search-input { flex:1; min-width:0; width:100%; border:0; outline:0; background:transparent;
color:#f2faff; font:500 12px system-ui,-apple-system,'Segoe UI',sans-serif; }
#game-search-input::placeholder { color:#8eabc1; opacity:1; }
#game-filter-toggle {display:flex; align-items:center; gap:7px; height:35px; border:1px solid rgba(130,177,209,.3);
border-radius:9px; background:#1a354b; color:#d4eaf7; padding:0 12px; cursor:pointer;
font:650 12px system-ui,-apple-system,'Segoe UI',sans-serif; }
#game-filter-toggle[aria-expanded=true] {border-color:#68bfe0; background:#20516b;}
#game-filter-dot {display:none; width:6px; height:6px; border-radius:50%; background:#fff;}
#game-filter-toggle.has-filter #game-filter-dot {display:block;}
#game-filter-panel {display:flex; align-items:end; flex-wrap:wrap; gap:9px; padding:12px;
border:1px solid rgba(126,167,197,.23); border-radius:11px; background:#12283c; }
#game-filter-panel label {display:flex; flex:1 1 130px; flex-direction:column; gap:5px; min-width:106px;
color:#aac8dc; font:650 11px system-ui,-apple-system,'Segoe UI',sans-serif;}
#game-filter-panel select {height:33px; width:100%; min-width:0; outline:none; border-radius:7px; background:#1b3b54;
color:#e7f5ff; border:1px solid rgba(136,179,209,.3); padding:0 7px; font:500 12px system-ui,-apple-system,'Segoe UI',sans-serif;}
#game-filter-reset {height:33px; white-space:nowrap; border:1px solid #52768c; border-radius:7px;
background:#203b50; color:#d5eafa; padding:0 12px; font:650 11px system-ui,-apple-system,'Segoe UI',sans-serif; cursor:pointer;}
#game-filter-reset:hover {background:#2c536d;}
#game-period-picker input:focus-visible,#game-filter-toolbar input:focus-visible,
#game-filter-panel select:focus-visible {outline:none;box-shadow:none;}
@media(max-width:1040px) {
#game-period-bar.ac-list-brand-line {order:3; flex:1 1 100%; margin:0; justify-content:center; }
.ac-list-brand-rule { flex:1; }
#btn-new-game {margin-left:auto;}
}
@media(max-width:520px) {
#games-section {gap:9px;}
#game-period-controls {gap:0;}
#game-period-tabs button {padding:5px 5px; font-size:10px;}
.ac-list-brand-rule {display:none;}
#game-period-bar.ac-list-brand-line {margin:0;}
#game-filter-toolbar {gap:6px;}
}
@media(orientation:landscape) and (max-height:500px) {
#game-period-controls {--period-control-height:31px;}
#game-period-tabs button {padding:4px 6px;}
#game-filter-panel {padding:7px; gap:6px;}
.ac-search-field,#game-filter-toggle {height:30px;}
#game-filter-panel select,#game-filter-reset {height:29px;}
}
body:has(#main-box.expanded) { align-items:safe center; overflow-y:auto; }
#main-box.expanded {
flex:0 0 auto;
height:var(--ac-game-list-open-height, 90dvh);
}
@media (orientation:landscape) and (max-height:500px) {
#main-box.expanded {
position:relative; top:auto; bottom:auto; left:auto; right:auto;
width:min(1200px, calc(100vw - 32px));
height:var(--ac-game-list-open-height, 90dvh);
margin:12px auto; border-radius:20px;
}
}
#main-box.welcome {
width:min(490px, calc(100vw - 32px)); min-width:0; height:auto; max-height:min(94dvh, 720px);
overflow:visible; padding:0; text-align:left;
position:fixed; top:50%; left:50%; right:auto; bottom:auto;
transform:translate(-50%,-50%); margin:0;
border-radius:22px; transition:none;
}
#welcome-section { position:relative; padding:35px 38px 34px; text-align:center; }
#welcome-section[hidden] { display:none !important; }
#welcome-section:before {
content:''; pointer-events:none; position:absolute; inset:0; border-radius:22px;
background:radial-gradient(ellipse 82% 35% at 50% 0%,rgba(71,162,213,.12),transparent 75%);
}
#welcome-section > * { position:relative; }
.ac-welcome-mark {
width:68px;height:68px;margin:0 auto 18px;display:flex;justify-content:center;align-items:center;
border-radius:18px; border:1px solid rgba(112,208,245,.4);
background:linear-gradient(148deg,#205a78,#17334d);color:#dbf6ff;
box-shadow:0 12px 40px rgba(3,10,20,.36),inset 0 1px rgba(255,255,255,.08);
}
.ac-welcome-mark span { font-size:36px;transform:rotate(-13deg); }
.ac-welcome-eyebrow {font-size:11px;letter-spacing:4px;font-weight:800;color:#8fc7dd;margin-bottom:10px;}
#welcome-title {font-size:27px;line-height:1.25;font-weight:780;letter-spacing:-.5px;color:#f0f8ff;}
#welcome-description {color:#a3bed2;font-size:13px;line-height:1.6;margin:10px auto 27px;max-width:355px;min-height:3.2em;box-sizing:border-box;}
.ac-welcome-form {display:grid;gap:17px;text-align:left;}
#welcome-section #name-switcher,#welcome-section #lang-switcher {
position:relative;top:auto;right:auto;bottom:auto;left:auto;z-index:auto;
width:100%;display:flex;flex-direction:column;gap:8px;
}
#welcome-name-label,#welcome-language-label {
font-size:11px;text-transform:uppercase;letter-spacing:1.1px;color:#a6bfd2;font-weight:750;
}
#welcome-section #inp-player-name,#lang-picker-toggle {
width:100%;height:48px;border-radius:10px;border:1px solid rgba(122,170,203,.3);
background:#102238;color:#f1faff;font-size:14px;font-weight:600;outline:none;
box-shadow:inset 0 1px 2px rgba(0,0,0,.18);
}
#welcome-section #inp-player-name {padding:0 15px;backdrop-filter:none;}
#welcome-section #inp-player-name::placeholder {color:#8ba8bd;}
#welcome-section #inp-player-name:focus,#lang-picker-toggle:focus-visible {
border-color:#65cbe8;box-shadow:inset 0 1px 2px rgba(0,0,0,.18);
}
.ac-language-picker {position:relative;min-width:0;}
#lang-picker-toggle {display:flex;align-items:center;gap:12px;padding:0 14px;text-align:left;cursor:pointer;}
#lang-picker-toggle:hover {background:#193149;border-color:rgba(122,195,226,.5);}
#lang-current-flag,.lang-choice img {width:28px;height:19px;flex-shrink:0;border-radius:3px;object-fit:cover;
border:1px solid rgba(218,239,252,.22);box-shadow:0 2px 6px rgba(0,0,0,.2);}
#lang-current-name {flex:1;}
.ac-picker-chevron {width:9px;height:9px;transform:rotate(45deg);border-right:2px solid #9fbad0;border-bottom:2px solid #9fbad0;margin-right:3px;margin-top:-5px;}
#lang-picker-toggle[aria-expanded=true] .ac-picker-chevron {transform:rotate(225deg);margin-top:5px;}
#lang-picker-menu {
position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:10100;
background:#14283c;border:1px solid rgba(120,174,210,.43);border-radius:12px;
box-shadow:0 22px 50px rgba(0,0,0,.56);padding:6px;max-height:min(370px,65dvh);overflow-y:auto;
}
#lang-picker-menu[hidden]{display:none !important;}
.lang-choice {width:100%;height:39px;padding:0 10px;border:0;border-radius:7px;background:transparent;
color:#e1f0fb;font:600 13px system-ui,-apple-system,'Segoe UI',sans-serif;
cursor:pointer;display:flex;align-items:center;gap:11px;text-align:left;}
.lang-choice:hover,.lang-choice:focus-visible {background:#24445e;outline:none;}
.lang-choice[aria-selected=true] {background:#20516b;color:#fff;}
#welcome-section #lang-select {display:none !important;}
#welcome-start-btn {
width:100%;min-height:48px;margin-top:6px;border:1px solid rgba(150,229,247,.38);
border-radius:11px;background:linear-gradient(120deg,#258fb4,#247ca3);
color:#f5fcff;font:750 14px system-ui,-apple-system,'Segoe UI',sans-serif;
letter-spacing:.5px;cursor:pointer;box-shadow:0 9px 22px rgba(9,72,108,.24);
transition:background .18s,border-color .18s;
}
#welcome-start-btn:hover {background:linear-gradient(120deg,#2ba4c8,#298cb3);border-color:#7ad2ed;}
#welcome-start-btn:focus-visible{outline:2px solid #a2e8ff;outline-offset:3px;}
@media(max-width:540px) {
#main-box.welcome {width:calc(100vw - 24px);border-radius:15px;}
#welcome-section {padding:24px 23px 25px;}
#welcome-title {font-size:23px;}
.ac-welcome-mark {width:52px;height:52px;margin-bottom:12px;border-radius:13px;}
.ac-welcome-mark span{font-size:26px;}
#welcome-description{margin-bottom:18px;min-height:4.8em;}
.ac-welcome-form{gap:12px;}
#lang-picker-menu{max-height:min(285px,55dvh);}
}
@media(orientation:landscape) and (max-height:500px) {
#main-box.welcome {max-height:calc(100dvh - 12px);overflow-y:auto;
width:min(540px,calc(100vw - 25px));border-radius:12px;}
#welcome-section {padding:12px 22px 17px;}
.ac-welcome-mark{display:none;}
.ac-welcome-eyebrow {margin-bottom:3px;}
#welcome-title {font-size:20px;}
#welcome-description {margin:3px auto 10px;font-size:11px;}
.ac-welcome-form{gap:7px;}
#welcome-section #inp-player-name,#lang-picker-toggle{height:34px;}
#welcome-start-btn{min-height:35px;margin-top:2px;}
}
html.aircombat-match-frozen *,
html.aircombat-match-frozen *::before,
html.aircombat-match-frozen *::after {
animation-play-state: paused !important;
}
#ac-device-gate { display: none; }
html.aircombat-mobile-blocked body {
min-height: 100dvh; padding: 18px;
background: radial-gradient(ellipse at 50% 12%,#193c57 0%,#091421 60%,#060e18 100%);
font-family: system-ui,-apple-system,'Segoe UI',sans-serif;
}
html.aircombat-mobile-blocked body > :not(#ac-device-gate) { display: none !important; }
html.aircombat-mobile-blocked #ac-device-gate {
display: flex; flex-direction: column; align-items: center; justify-content: center;
width: min(100%, 490px); min-height: 370px; padding: 40px 26px;
border: 1px solid rgba(137,192,231,.24); border-radius: 22px;
background: linear-gradient(150deg,rgba(30,61,85,.95),rgba(12,25,42,.98));
box-shadow: 0 22px 75px rgba(0,0,0,.4); color: #eff8ff; text-align: center;
}
#ac-device-gate-brand { font-weight: 800; font-size: 13px; letter-spacing: 5px; color: #9bd6f3; }
#ac-device-gate-hourglass {
width: 76px; height: 76px; display: grid; place-items: center;
margin: 28px 0 24px; border-radius: 21px;
background: rgba(82,171,214,.12); border: 1px solid rgba(130,214,255,.36);
}
#ac-device-gate-hourglass svg { width: 40px; height: 40px; fill: none;
stroke: #e1c98b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
animation: ac-hourglass-rotate 5s ease-in-out infinite; }
@keyframes ac-hourglass-rotate { 0%,40% { transform: rotate(0); }
60%,100% { transform: rotate(180deg); } }
#ac-device-gate-title { font-size: clamp(22px,5.5vw,29px); font-weight: 800; line-height: 1.2; }
#ac-device-gate-description { color: #b3cde0; max-width: 345px;
font-size: 14px; line-height: 1.65; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { #ac-device-gate-hourglass svg { animation: none; } }
.create-modal-header {
display:flex; align-items:center; justify-content:space-between; gap:12px;
margin-bottom:25px;
}
#modal .create-modal-header h3 { margin:0; min-width:0; overflow-wrap:anywhere; }
#create-close-btn {
display:inline-grid; place-items:center; flex:0 0 auto;
min-width:40px; min-height:40px; padding:6px;
border:1px solid rgba(137,176,205,.20); border-radius:8px;
background:#20364b; color:#b9cfdf; font:600 19px/1 Arial,sans-serif;
cursor:pointer;
}
#create-close-btn:hover { background:#304a63; color:#fff; }
#create-close-btn:focus-visible { outline:2px solid #86daee; outline-offset:2px; }
@media (max-width:860px), (max-height:500px) {
#modal-overlay, #lobby-overlay {
height:100dvh; overflow-y:auto; overscroll-behavior-y:contain;
-webkit-overflow-scrolling:touch; align-items:flex-start;
padding:max(12px,env(safe-area-inset-top)) 12px max(28px,env(safe-area-inset-bottom));
}
#modal, #lobby-popup {
flex:0 0 auto; margin:auto; max-height:none;
box-sizing:border-box;
}
#modal { width:min(520px,100%); overflow:visible; }
#lobby-popup { width:min(560px,100%); overflow:hidden; }
}
@media (max-width:520px) {
#modal { padding:18px 16px; }
.create-modal-header { margin-bottom:17px; }
#modal .create-modal-header h3 { font-size:19px; }
}
@media (orientation:landscape) and (max-height:500px) {
#modal-overlay, #lobby-overlay {
padding:max(8px,env(safe-area-inset-top)) 10px max(24px,env(safe-area-inset-bottom));
}
}
#th-total-games.ac-static-style-0{width:74px;}
#th-name.ac-static-style-1{text-align:left}
#th-players.ac-static-style-2{text-align:center}
#th-status.ac-static-style-3{text-align:center}
#confirm-password.ac-static-style-4{display:none; width:100%; margin:12px 0 4px; padding:9px 12px; border:1.5px solid #ddd; border-radius:8px; font-size:14px; color:#333; outline:none; box-sizing:border-box;}
body .ac-static-style-5{margin-top:10px;}
#group-password.ac-static-style-6{display:none;}
#inp-password.ac-static-style-7{width:100%;}
#lobby-team1-controls.ac-static-style-8{display:none;}
#lobby-team2-controls.ac-static-style-9{display:none;}
#lobby-watch-privacy.ac-static-style-10{display:flex;align-items:center;gap:9px;}
#lobby-allow-spectating.ac-static-style-11{width:auto;cursor:pointer;}
#lobby-allow-spectating-label.ac-static-style-12{margin:0;cursor:pointer;text-transform:none;font-size:13px;}
#lobby-start-btn.ac-static-style-13{display:none;}
#lobby-join-btns.ac-static-style-14{display:none; gap:6px;}
#spectator-indicator.ac-static-style-15{display:none}
#game-banner.ac-static-style-16{display:none}
#voice-radio-unlock.ac-static-style-17{display:none}
#voice-radio-remote.ac-static-style-18{display:none}
#scoreboard.ac-static-style-19{display:none}
