.airbattle-table{--air-accent:#75d5f0;color:#eef6ff}.air-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.air-heading h2{font-size:clamp(28px,4vw,48px);margin:6px 0}.air-kicker{font-size:11px;letter-spacing:.18em;color:var(--air-accent);font-weight:800}.air-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.air-entry{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.air-entry>section,.air-entry>form,.air-lobby,.air-board,.air-collection{background:#13273e;border:1px solid #31506a;border-radius:18px;padding:24px}.air-entry h3{font-size:26px}.air-entry p,.air-hint{color:#b6c9da;line-height:1.6}.air-emblem{font-size:80px;color:var(--air-accent)}.airbattle-table label{display:grid;gap:8px;margin-bottom:16px}.airbattle-table input,.airbattle-table select{background:#091c30;color:#eef6ff;border:1px solid #476079;border-radius:8px;padding:12px;max-width:100%;min-width:0}.air-players{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.air-player{padding:12px 18px;border:1px solid #426078;border-radius:12px}.air-turn{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px;background:#0c2034;border-radius:14px;margin:16px 0}.air-turn small{display:block;color:#99b8ce;margin-bottom:5px;font-size:10px;letter-spacing:.08em}.air-turn b{font-size:19px}.air-market,.air-cards{display:flex;flex-wrap:wrap;gap:10px}.air-card{display:flex;flex-direction:column;gap:8px;justify-content:space-between;width:152px;min-height:174px;padding:15px;border:2px solid #516b7d;border-radius:12px;background:#e8edf0;color:#11273c;text-align:left}.air-card small{font-size:10px;letter-spacing:.05em;text-transform:uppercase}.air-card strong{font-size:16px;overflow-wrap:anywhere}.air-card .air-symbol{font-size:28px}.air-card:enabled:hover{transform:translateY(-3px);border-color:#55c5f4;box-shadow:0 6px 20px #0005}.air-card:disabled{opacity:1;cursor:default}.air-card[data-continent="Africa"]{background:#f3dea0}.air-card[data-continent="Asia"]{background:#b9d9b0}.air-card[data-continent="Europe"]{background:#cbc6e5}.air-card[data-continent="Oceania"]{background:#e5b5d5}.air-card[data-continent="North America"]{background:#e6c2a4}.air-card[data-continent="South America"]{background:#add4df}.air-card[data-type="conflict"]{background:#f1ce73}.air-card[data-type="infrastructure"]{background:#c8d1d6}.air-collections{display:grid;gap:16px;margin-top:18px}.air-collection header{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}.air-collection.acting{border-color:var(--air-accent)}.air-action-hint{padding:12px 16px;border-left:3px solid var(--air-accent);background:#17374f;line-height:1.6}.air-result{font-size:21px;color:#a8e7fc}.air-rules{background:#14263c;color:#eff6ff;max-width:700px;width:calc(100% - 30px);border:1px solid #526981;border-radius:18px;padding:24px;max-height:85vh;overflow:auto}.air-rules::backdrop{background:#04101bcc}.air-rules p,.air-rules li{line-height:1.7;color:#c2d2e2}.air-rules button{margin:8px 0}.air-scores{overflow:auto}.air-scores table{border-collapse:collapse;width:100%}.air-scores td,.air-scores th{text-align:left;padding:10px;border-bottom:1px solid #456078}.air-status{line-height:1.6;color:#ffd88a}.air-choice{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.air-choice button{flex:1 0 130px}.air-close-timer{color:#ffd98d;font-weight:600}.air-card:focus-visible{outline:3px solid #fff;outline-offset:3px}
.air-effect{font-size:10px!important;line-height:1.35;letter-spacing:0!important;text-transform:none!important;color:#29465a}.air-card-count{font-weight:800;color:#102f45}.air-combat-overlay{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#020a13d9}.air-combat-modal{width:min(680px,100%);padding:28px;border:1px solid #4aaed1;border-radius:20px;background:linear-gradient(145deg,#112e48,#091927);box-shadow:0 20px 70px #000;text-align:center}.air-combat-modal h2{margin:7px 0;font-size:clamp(24px,5vw,38px)}.air-combat-target{color:#b9dff0;font-size:18px}.air-dice-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.air-dice-side{display:flex;min-height:150px;align-items:center;flex-direction:column;justify-content:space-between;padding:16px;border:1px solid #37637d;border-radius:14px;background:#071a2a}.air-dice-side>small:first-child{letter-spacing:.16em;color:#80d9f4}.air-dice-row{display:flex;justify-content:center;gap:10px}.air-die{display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:#eef9ff;color:#102b42;font-weight:900;font-size:28px;box-shadow:inset 0 -5px #b6d7e7,0 5px 12px #0006}.air-die.rolling{animation:air-die-roll .55s ease-in-out infinite alternate;animation-delay:calc(var(--die-index) * .12s)}.air-die.settled{animation:air-die-arrive .28s ease-out}@keyframes air-die-roll{from{transform:rotate(-12deg) translateY(-4px)}to{transform:rotate(12deg) translateY(5px)}}@keyframes air-die-arrive{from{transform:scale(1.25) rotate(15deg)}to{transform:scale(1)}}.air-roll{margin-top:10px}.air-roll-note{color:#a9c4d2}.air-combat-status{font-size:19px;font-weight:700}.air-combat-countdown{color:#8adcf5;min-height:1.4em}
@media(max-width:760px){.air-heading{align-items:flex-start;flex-direction:column}.air-entry{grid-template-columns:1fr}.air-entry>section,.air-entry>form,.air-board,.air-collection,.air-lobby{padding:16px}.air-turn{grid-template-columns:repeat(2,1fr)}.air-card{width:calc(50% - 5px);min-height:155px}.air-collection header{flex-direction:column}.air-tools{font-size:12px}.air-heading h2{font-size:30px}.air-dice-columns{grid-template-columns:1fr}.air-combat-modal{padding:20px}}
.air-combat-overlay{border:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;box-sizing:border-box;color:#eef6ff;--air-accent:#75d5f0;overflow:auto}.air-combat-overlay:not([open]){display:none}.air-combat-modal{box-sizing:border-box;max-height:calc(100dvh - 40px);overflow:auto}.air-combat-overlay::backdrop{background:#020a13d9}.air-combat-modal .air-kicker{color:#75d5f0}.air-die{font-family:"Segoe UI Symbol",sans-serif;font-size:46px;line-height:1}.air-die:not(.rolling):not(.settled){font-family:inherit;font-size:28px;color:#7f9bab;background:#dbe5ec}.air-effect{font-size:12px!important;line-height:1.45}.air-card-group{width:180px;display:flex;flex-direction:column;gap:7px}.air-card-group>.air-card{width:100%;flex:1;min-height:200px}.air-group-details{color:#cde2ee;font-size:12px;line-height:1.5}.air-group-details summary{cursor:pointer;padding:7px 3px}.air-group-details ol{padding-left:22px;margin:6px 0}.air-first-card{font-size:9px!important;opacity:.75}.air-card[data-type="crisis"]{background:#efb5a5}.air-choice>.air-card[data-type="crisis"]{flex-basis:100%;min-height:auto}.air-combat-status{min-height:2.5em}.air-dice-side{gap:12px}
@media(max-width:760px){.air-card-group{width:calc(50% - 5px)}.air-combat-overlay{padding:12px}.air-combat-modal{padding:16px;max-height:calc(100dvh - 24px)}.air-dice-columns{grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.air-dice-side{padding:10px;min-height:160px}.air-dice-row{gap:5px}.air-die{width:44px;height:48px;font-size:36px}.air-roll{font-size:12px;padding:10px}.air-combat-target{font-size:16px}}
@media(prefers-reduced-motion:reduce){.air-die.rolling,.air-die.settled{animation:none}}
.air-combat-modal h2,.air-dice-side strong{overflow-wrap:anywhere}

.air-combat-overlay[open]{position:fixed;z-index:1000;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:1.5dvh 2vw;display:grid;place-items:center;overflow:hidden;border:0;color:#f5f7ff;background:linear-gradient(#07132b30,#07132b55),url('/assets/airbattle-combat-landscape.webp') center/cover no-repeat}
.air-combat-overlay[open]::backdrop{background:#03092365}
.air-combat-modal{box-sizing:border-box;width:min(94vw,1000px);max-width:none;max-height:97dvh;overflow:hidden;padding:clamp(12px,2dvh,24px) clamp(14px,2vw,28px);border-color:#aea0ff;background:linear-gradient(145deg,#111a43f5,#111633f2);box-shadow:0 18px 70px #02061bce}
.air-combat-modal .air-kicker{color:#ded4ff}
.air-combat-modal h2{margin:.35em 0;font-size:clamp(21px,4dvh,40px)}
.air-combat-target{margin:.35em 0;font-size:clamp(12px,2dvh,19px);color:#bfeaff}
.air-dice-columns{margin:1.3dvh 0;gap:1.2vw}
.air-dice-side{min-height:0;height:clamp(130px,32dvh,260px);gap:.7dvh;padding:1.1dvh 1vw;border-color:#598bcc;background:#061a32ed}
.air-dice-side>strong{font-size:clamp(14px,2.5dvh,23px)}
.air-dice-row{gap:clamp(5px,1vw,12px)}
.air-die{width:clamp(40px,7dvh,68px);height:clamp(40px,7dvh,68px);font-size:clamp(28px,5.5dvh,48px)}
.air-roll{margin:0;padding:.9dvh 1vw;font-size:clamp(11px,1.8dvh,17px)}
.air-roll-note,.air-combat-status,.air-combat-countdown{margin:.3dvh 0;font-size:clamp(10px,1.6dvh,16px)}
@media (orientation:landscape){
 .air-combat-modal .air-dice-columns{grid-template-columns:1fr 1fr}
}
@media (orientation:portrait){
 .air-combat-overlay[open]{padding:.7dvh 2vw;background-image:linear-gradient(#07132b42,#07132b64),url('/assets/airbattle-combat-portrait.webp')}
 .air-combat-modal{width:min(96vw,760px);max-height:98dvh;padding:1.4dvh 3vw}
 .air-combat-modal h2{font-size:clamp(19px,3.2dvh,30px)}
 .air-combat-target{font-size:clamp(11px,1.8dvh,16px)}
 .air-combat-modal .air-dice-columns{grid-template-columns:1fr 1fr;gap:1.5vw;margin:1dvh 0}
 .air-combat-modal .air-dice-side{height:clamp(132px,22dvh,190px);padding:1dvh 1.5vw}
 .air-combat-modal .air-die{width:clamp(38px,6dvh,56px);height:clamp(38px,6dvh,56px)}
}
@media (max-height:480px) and (orientation:landscape){
 .air-combat-modal{padding:1dvh 1.5vw}
 .air-combat-modal .air-dice-columns{margin:.5dvh 0}
 .air-combat-modal .air-dice-side{height:23dvh;padding:.5dvh .7vw;gap:.3dvh}
}
/* The lobby uses the shared room shell; only a started game uses the scene. */
body:has(#page-airbattle.air-playing:not(.hidden)) .shell{width:100%;min-height:100dvh;margin:0;border:0;border-radius:0}
body:has(#page-airbattle.air-playing:not(.hidden)) .sidebar,body:has(#page-airbattle.air-playing:not(.hidden)) .topbar{display:none!important}
body:has(#page-airbattle.air-playing:not(.hidden)) .app{display:block}
body:has(#page-airbattle.air-playing:not(.hidden)) .content{padding:0;min-width:0}
#page-airbattle.air-playing{min-height:100dvh;padding:20px;background:linear-gradient(#07152b88,#07152bbd),url('/assets/airbattle-landscape.webp') center/cover fixed}
#page-airbattle .air-heading{flex-wrap:wrap}
#page-airbattle .air-tools{flex-wrap:wrap}
#page-airbattle .air-lobby{height:auto;overflow:visible}
#page-airbattle [data-a=game]:not(.hidden){display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
#page-airbattle .air-turn{margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
#page-airbattle .air-turn>div{min-width:0;overflow-wrap:anywhere}
#page-airbattle .air-action-hint,#page-airbattle [data-a=lastEvent]{margin:0}
#page-airbattle .air-board{min-width:0;padding:16px}
#page-airbattle .air-board h3{margin:0 0 12px}
#page-airbattle .air-market,#page-airbattle .air-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;min-width:0}
#page-airbattle .air-collections{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0;min-width:0}
#page-airbattle .air-collection{min-width:0;padding:16px}
#page-airbattle .air-collection header{flex-wrap:wrap;overflow-wrap:anywhere}
#page-airbattle .air-card-group,#page-airbattle .air-card-shell{width:100%;min-width:0;display:flex;flex-direction:column;gap:6px}
#page-airbattle .air-card{position:relative;display:block;flex:none;width:100%;height:auto;min-height:0;aspect-ratio:1086/1448;padding:0;border:0;border-radius:7%;background-size:100% 100%;background-repeat:no-repeat;color:#102d39;text-align:center;overflow:hidden;container-type:inline-size;box-shadow:0 4px 12px #0005}
#page-airbattle .air-card:enabled:hover{transform:none;outline:3px solid #ffde70;outline-offset:2px}
#page-airbattle .air-card-title,#page-airbattle .air-effect{box-sizing:border-box;position:absolute;left:9%;width:82%;margin:0;padding:1%;display:flex;align-items:center;justify-content:center;overflow:hidden;overflow-wrap:anywhere;letter-spacing:0;text-transform:none}
#page-airbattle .air-card-title{top:56%;height:10%;font-size:clamp(10px,7cqw,17px);line-height:1.1}
#page-airbattle .air-effect{top:71%;height:20%;font-size:clamp(8px,5.7cqw,13px)!important;line-height:1.15;color:inherit;white-space:pre-line}
#page-airbattle .air-card[data-type=crisis]{color:#fff5ed}
#page-airbattle .air-card-badge{position:absolute;left:11%;top:10%;width:14%;height:10%;display:grid;place-items:center;font-size:clamp(12px,9cqw,23px);font-weight:800;color:inherit}
#page-airbattle .air-card-caption{font-size:12px;line-height:1.3;text-align:center;color:#fff0ad}
#page-airbattle .air-group-details{height:auto;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#page-airbattle .air-group-details summary{padding:5px 0}
#page-airbattle .air-choice{display:flex;flex-wrap:wrap}
#page-airbattle .air-choice>.air-card-shell{flex:0 1 230px;max-width:100%;margin:auto}
#page-airbattle .air-result:empty,#page-airbattle .air-close-timer:empty,#page-airbattle .air-scores:empty,#page-airbattle [data-a=lastEvent]:empty{display:none}
#page-airbattle .air-scores{grid-column:1/-1}
@media(min-width:900px){
 #page-airbattle [data-a=game]:not(.hidden){grid-template-columns:minmax(320px,.85fr) minmax(0,1.5fr)}
 #page-airbattle .air-turn,#page-airbattle .air-action-hint,#page-airbattle [data-a=lastEvent],#page-airbattle .air-result,#page-airbattle .air-close-timer{grid-column:1/-1}
 #page-airbattle .air-board{grid-column:1;grid-row:span 2}
 #page-airbattle .air-collections{grid-column:2}
 #page-airbattle .air-cards{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
 #page-airbattle .air-card-group{max-width:240px}
}
@media(max-width:600px){
 #page-airbattle.air-playing{padding:12px 8px;background-image:linear-gradient(#07152b88,#07152bbd),url('/assets/airbattle-portrait.webp')}
 #page-airbattle .air-heading{gap:12px}
 #page-airbattle .air-turn{padding:12px 8px;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
 #page-airbattle .air-board,#page-airbattle .air-collection{padding:10px}
 #page-airbattle .air-market,#page-airbattle .air-cards{gap:8px}
}
/* Responsive command table: keep the map visible and collections compact. */
#page-airbattle .air-brand{display:none}
#page-airbattle.air-playing{padding:0 18px 24px;background:linear-gradient(#080d2530,#070d20aa),url('/assets/airbattle-landscape.webp') center top/cover fixed}
#page-airbattle.air-playing .air-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 4px;border-bottom:1px solid #8779bf88;margin-bottom:16px;color:#c9c8ed;font-size:12px}
#page-airbattle .air-brand img{width:220px;height:44px;object-fit:contain}
#page-airbattle.air-playing .air-heading{min-height:100px;margin:0 0 18px;align-items:center}
#page-airbattle .air-heading h2{font-family:Georgia,serif;font-size:clamp(32px,4.3vw,66px);text-shadow:0 3px 12px #000;margin:0 0 10px}
#page-airbattle .air-heading>div:first-child{display:flex;flex-direction:column-reverse}
#page-airbattle .air-kicker{color:#d6c8ff;letter-spacing:.24em}
#page-airbattle .air-tools button{background:#19163bce;border:1px solid #8e7ad2;border-radius:9px;color:#e1e8ff}
#page-airbattle [data-a=game]:not(.hidden){grid-template-columns:minmax(0,1fr);gap:12px}
#page-airbattle .air-turn{border:1px solid #6779cc;background:linear-gradient(120deg,#111632f5,#171b43e6);box-shadow:0 0 20px #518bef44;padding:16px;gap:0}
#page-airbattle .air-turn>div{padding:0 14px;border-right:1px solid #787bb277}
#page-airbattle .air-turn>div:last-child{border:0}
#page-airbattle .air-turn b{color:#ffe270;font-size:clamp(19px,2.2vw,30px)}
#page-airbattle .air-turn small{color:#c1c3fa}
#page-airbattle .air-world{position:relative;min-width:0;aspect-ratio:1.8;background:url('/assets/airbattle-landscape.webp') center 65%/125% auto no-repeat;border-radius:18px}
#page-airbattle .air-map-marker{position:absolute;min-width:90px;padding:8px 12px;border:1px solid var(--continent);border-radius:10px;background:#06162de8;box-shadow:0 0 16px color-mix(in srgb,var(--continent) 45%,transparent);color:var(--continent);transform:translate(-50%,-50%)}
#page-airbattle .air-map-marker small{display:block;text-transform:uppercase;font-size:10px;font-weight:800;white-space:nowrap}
#page-airbattle .air-map-marker b{display:block;font-size:21px;margin-top:4px}
#page-airbattle [data-continent="North America"]{--continent:#ff9959}
#page-airbattle [data-continent="South America"]{--continent:#4aeeff}
#page-airbattle [data-continent="Europe"]{--continent:#77baff}
#page-airbattle [data-continent="Africa"]{--continent:#ffdb6c}
#page-airbattle [data-continent="Asia"]{--continent:#acdf81}
#page-airbattle [data-continent="Oceania"]{--continent:#e699ff}
#page-airbattle .air-map-marker[data-continent="North America"]{left:24%;top:29%}
#page-airbattle .air-map-marker[data-continent="South America"]{left:31%;top:68%}
#page-airbattle .air-map-marker[data-continent="Europe"]{left:53%;top:27%}
#page-airbattle .air-map-marker[data-continent="Africa"]{left:51%;top:59%}
#page-airbattle .air-map-marker[data-continent="Asia"]{left:74%;top:34%}
#page-airbattle .air-map-marker[data-continent="Oceania"]{left:77%;top:80%}
#page-airbattle .air-board{grid-column:auto;grid-row:auto;padding:12px;border:1px solid #566caf;background:#0b1230ed;border-radius:15px;box-shadow:0 0 16px #2a70b533}
#page-airbattle .air-board h3,#page-airbattle .air-collection-panel>h3{font-size:22px;margin:0 0 12px;color:#f5f3ff}
#page-airbattle .air-board h3:before{content:'🛒 ';font-size:22px}
#page-airbattle .air-market{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#page-airbattle .air-collection-panel{min-width:0}
#page-airbattle .air-collections{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#page-airbattle .air-collection{padding:12px;background:linear-gradient(130deg,#181b38f5,#0b1026f5);border:1px solid #535085;border-radius:12px;align-self:start}
#page-airbattle .air-collection.acting{border-color:#ffe16c;box-shadow:inset 0 0 0 1px #ffe16c,0 0 12px #ffe16c22}
#page-airbattle .air-collection>summary{list-style:none;cursor:pointer}
#page-airbattle .air-collection>summary::-webkit-details-marker{display:none}
#page-airbattle .air-player-identity{display:flex;align-items:center;gap:10px;position:relative;min-height:42px}
#page-airbattle .air-player-identity>div{min-width:0;flex:1}
#page-airbattle .air-player-identity strong{display:block;overflow-wrap:anywhere;font-size:15px}
#page-airbattle .air-player-identity small{display:block;color:#bfc6ec;font-size:12px;margin-top:4px}
.air-avatar{display:block;flex:none;width:42px;height:42px;border-radius:50%;border:1px solid #7dccff;background-image:url('/assets/avatars.webp');background-size:400% 300%;box-shadow:0 0 10px #4fa2fb44}
#page-airbattle .air-turn-tag{font-size:9px;font-weight:900;background:#ffdc67;color:#17182b;padding:4px 7px;border-radius:12px;white-space:nowrap}
#page-airbattle .air-player-overview{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px;border-top:1px solid #5f609444;margin-top:9px;padding-top:8px}
#page-airbattle .air-territory-chips{display:flex;flex-wrap:wrap;align-content:start;gap:5px;min-width:0}
#page-airbattle .air-summary-label{display:block;flex-basis:100%;color:#bfc6ec;font-size:11px;margin-bottom:3px}
#page-airbattle .air-continent-chip{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 6px;background:var(--continent);color:#081b2e;font-size:10px;text-transform:uppercase;white-space:nowrap}
#page-airbattle .air-continent-chip b{border-radius:50%;background:#16304ecc;color:#fff;min-width:16px;padding:1px 3px;text-align:center}
#page-airbattle .air-structure-counts{display:grid;grid-template-columns:1fr 1fr;gap:4px;border-left:1px solid #5f609444;padding-left:9px;align-content:start;font-size:13px}
#page-airbattle .air-structure-counts .air-summary-label{grid-column:1/-1}
#page-airbattle .air-expand-label{display:block;text-align:right;font-size:10px;color:#b9c6ef;margin-top:7px}
#page-airbattle .air-collection[open] .air-expand-label{color:#ffe16c}
#page-airbattle .air-collection .air-cards{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin-top:12px;max-height:480px;overflow:auto;padding:3px}
#page-airbattle .air-card-group{max-width:none}
#page-airbattle .air-card-badge{left:auto;right:7%;top:45%;width:20%;height:12%;border-radius:20px;background:#091d39;color:#fff;z-index:1}
#page-airbattle .air-action-hint{padding:8px 12px;border-radius:7px;background:#111932e8;font-size:13px;line-height:1.4}
#page-airbattle [data-a=lastEvent]{font-size:12px;background:#0a122ac9;padding:4px 10px;border-radius:7px}
#page-airbattle .air-market>.air-choice{grid-column:1/-1}
.air-combat-overlay[open]{background:#03091c55;backdrop-filter:blur(2px);overflow:auto}
.air-combat-modal{width:min(90vw,760px);max-height:94dvh;overflow:auto;border:2px solid #b891ff;background:linear-gradient(135deg,#2b1854f5,#101332fa);border-radius:24px}
.air-combat-modal .air-dice-side{height:auto;min-height:240px;gap:10px;padding:16px;border:1px solid #759ccc;border-radius:16px}
.air-combat-modal .air-roll{background:linear-gradient(#ffec99,#ffd153);color:#141532;border:2px solid #ffe483;border-radius:10px;box-shadow:0 0 0 3px #262447,0 0 0 5px #ffe483;font-weight:800;padding:10px 18px}
.air-combat-modal .air-combat-status{margin-top:15px;color:#d6c3fa}
@media(min-width:1250px) and (orientation:landscape){
 #page-airbattle.air-playing .air-heading{margin-left:320px;margin-right:330px;min-height:115px;display:block}
 #page-airbattle .air-heading h2{font-size:clamp(36px,3.4vw,64px)}
 #page-airbattle .air-tools{font-size:12px}
 #page-airbattle [data-a=game]:not(.hidden){grid-template-columns:300px minmax(0,1fr) 310px;align-items:start;column-gap:18px}
 #page-airbattle .air-turn{grid-column:2;grid-row:1;padding:14px 2px}
 #page-airbattle .air-turn>div{padding:0 10px}
 #page-airbattle .air-turn small{font-size:9px;letter-spacing:0}
 #page-airbattle .air-turn b{font-size:23px}
 #page-airbattle .air-world{grid-column:2;grid-row:2;aspect-ratio:1.15;min-height:440px;background-size:auto 100%;background-position:center}
 #page-airbattle .air-collection-panel{grid-column:1;grid-row:1/8}
 #page-airbattle .air-collections{grid-template-columns:1fr}
 #page-airbattle .air-board{grid-column:3;grid-row:1/8}
 #page-airbattle .air-market{grid-template-columns:repeat(2,minmax(0,1fr))}
 #page-airbattle .air-action-hint,#page-airbattle [data-a=lastEvent],#page-airbattle .air-result,#page-airbattle .air-close-timer{grid-column:2}
 #page-airbattle .air-map-marker{padding:7px 9px;min-width:80px}
 #page-airbattle .air-map-marker[data-continent="North America"]{left:18%;top:38%}
 #page-airbattle .air-map-marker[data-continent="South America"]{left:24%;top:71%}
 #page-airbattle .air-map-marker[data-continent="Europe"]{left:51%;top:35%}
 #page-airbattle .air-map-marker[data-continent="Asia"]{left:81%;top:40%}
 #page-airbattle .air-map-marker[data-continent="Oceania"]{left:83%;top:79%}
}
@media(max-width:600px){
 #page-airbattle.air-playing{padding:0 8px 16px}
 #page-airbattle .air-brand img{width:175px;height:36px}
 #page-airbattle .air-brand>span{display:none}
 #page-airbattle .air-heading{gap:8px}
 #page-airbattle .air-heading h2{font-size:34px}
 #page-airbattle .air-tools{gap:6px;font-size:11px}
 #page-airbattle .air-tools button{padding:8px 10px;font-size:11px}
 #page-airbattle .air-turn{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 4px}
 #page-airbattle .air-turn>div{padding:0 5px}
 #page-airbattle .air-turn small{font-size:8px;letter-spacing:0}
 #page-airbattle .air-turn b{font-size:17px}
 #page-airbattle .air-world{aspect-ratio:1.35;background-size:auto 115%}
 #page-airbattle .air-map-marker{min-width:62px;padding:5px 7px}
 #page-airbattle .air-map-marker small{font-size:7px}
 #page-airbattle .air-map-marker b{font-size:16px;margin-top:2px}
 #page-airbattle .air-market{grid-template-columns:repeat(4,145px);overflow-x:auto;padding:3px 3px 9px;scroll-snap-type:x proximity}
 #page-airbattle .air-market>.air-card-shell{scroll-snap-align:start}
 #page-airbattle .air-market>.air-choice{width:calc(100vw - 62px)}
 #page-airbattle .air-collections{grid-template-columns:minmax(0,1fr)}
 #page-airbattle .air-collection .air-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .air-combat-modal{width:96vw;padding:18px 12px}
 .air-combat-modal .air-dice-side{min-height:210px;padding:12px 6px}
 .air-combat-modal .air-roll{font-size:12px;padding:8px}
}
@media(max-height:500px) and (orientation:landscape){
 .air-combat-modal{padding:10px 20px;max-height:96dvh}
 .air-combat-modal .air-dice-side{min-height:0;gap:5px;padding:8px;display:grid;grid-template-columns:1fr 1fr}
 .air-combat-modal .air-avatar{display:none}
 .air-combat-modal .air-dice-row{grid-column:1;grid-row:2/4}
 .air-combat-modal .air-roll{font-size:11px;padding:6px}
}
#page-airbattle .air-brand img{width:46px;height:46px}
#page-airbattle .air-brand strong{font-size:24px;color:#ffe072;margin-right:auto}
#page-airbattle .air-brand>span{margin-left:auto}
#page-airbattle .air-world{background-size:125% auto;background-position:center 85%}
#page-airbattle .air-card-category{left:28%!important;width:62%!important;top:7%!important;font-size:clamp(8px,5cqw,13px)!important}
#page-airbattle .air-market .air-card-caption{padding:5px;border-radius:6px;background:#b2c6e2;color:#101f3b;font-weight:800;text-transform:uppercase}
@media(min-width:1250px) and (orientation:landscape){
 #page-airbattle .air-world{aspect-ratio:1.35;min-height:420px;background-size:auto 142%;background-position:center 90%}
 #page-airbattle .air-collections{max-height:calc(100dvh - 255px);min-height:420px;overflow-y:auto;padding:2px 5px 3px 2px;scrollbar-color:#7478b4 #10162d;scrollbar-width:thin}
 #page-airbattle .air-player-overview{grid-template-columns:minmax(0,1fr)}
 #page-airbattle .air-structure-counts{display:flex;flex-wrap:wrap;gap:10px;border-left:0;border-top:1px solid #5f609444;padding:5px 0 0}
 #page-airbattle .air-structure-counts .air-summary-label{flex-basis:auto;margin:0 auto 0 0}
}
@media(max-width:600px){
 #page-airbattle .air-brand img{width:36px;height:36px}
 #page-airbattle .air-brand strong{font-size:21px}
 #page-airbattle .air-world{background-size:auto 130%;background-position:center 90%}
}
#page-airbattle .air-card-category{position:absolute;left:28%;top:7%;width:62%;height:10%;display:grid;place-items:center;font-size:clamp(8px,5cqw,13px);font-weight:800;letter-spacing:0;text-transform:uppercase;overflow:hidden;overflow-wrap:anywhere}
#page-airbattle button.air-card-caption{border:0;width:100%;cursor:pointer}
#page-airbattle button.air-card-caption:hover{background:#ffe07a}
@media(min-width:1250px) and (orientation:landscape){
 #page-airbattle .air-world{height:clamp(420px,calc(100dvh - 340px),680px);aspect-ratio:auto;min-height:0;background-size:cover;background-position:center 70%}
 #page-airbattle .air-map-marker[data-continent="North America"]{left:24%;top:30%}
 #page-airbattle .air-map-marker[data-continent="Europe"]{left:53%;top:28%}
 #page-airbattle .air-map-marker[data-continent="Asia"]{left:77%;top:38%}
 #page-airbattle .air-map-marker[data-continent="South America"]{left:31%;top:69%}
 #page-airbattle .air-map-marker[data-continent="Africa"]{left:53%;top:57%}
 #page-airbattle .air-map-marker[data-continent="Oceania"]{left:78%;top:79%}
}
@media(min-width:1250px) and (orientation:landscape){
 #page-airbattle .air-world{background-size:auto 142%;background-position:center bottom}
}
.air-score-breakdown{padding:12px;margin:12px 0;border:1px solid #bda76b;border-radius:12px;background:#191529}.air-score-breakdown h4{margin:0 0 8px}.air-score-breakdown ul{padding-left:20px}.air-score-dice{display:flex;gap:8px;flex-wrap:wrap}.air-score-dice .air-die{width:44px;height:44px}
