.plane-page{background:var(--bg)}.plane-page [hidden]{display:none!important}.plane-page .site-header{position:sticky;top:0;z-index:50}.plane-shell{max-width:1320px;margin:28px auto 64px;padding:0 28px}.plane-heading,.plane-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.plane-heading h1{font-size:32px;letter-spacing:-1px;margin:0}.plane-heading p{margin:6px 0}.heading-actions{display:flex;gap:16px;align-items:center}.text-link{color:var(--muted);font-size:14px}.title-dot{color:var(--teal)}.hangar-hero{display:grid;grid-template-columns:1fr 1fr;min-height:330px;background:#352553;color:#fff;border-radius:18px;overflow:hidden;border:1px solid #7c6697}.hangar-copy{padding:30px}.hangar-copy h2{font-size:32px;margin:12px 0}.hangar-copy p{line-height:1.65}.flight-label{font:700 12px ui-monospace,monospace;letter-spacing:2px}.core-preview{font-size:14px;line-height:1.8;color:#eee6fc;margin:16px 0}.hangar-action{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.route-label{display:grid;gap:8px;font-size:14px}.route-label select{padding:12px;border:1px solid #877599;border-radius:9px;background:#251a3d;color:#fff;font:inherit}.hangar-note{font-size:13px;color:#d7cbea}.resume-link{color:#aff7d5;font-size:14px}.hangar-display{display:grid;place-items:center;position:relative;background:url('/assets/planes/battle-tunnel.webp') center/cover}.ship-sprite{display:block;background-image:url('/assets/planes/voxel-planes.webp');background-size:300% 200%;width:320px;height:320px;flex-shrink:0}.hangar-caption{display:none}.plane-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.plane-choice{display:flex;flex-direction:column;align-items:center;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px 8px 16px;color:var(--ink);cursor:pointer}.plane-choice[aria-pressed=true]{border-color:var(--teal);background:var(--soft)}.plane-choice .ship-sprite{width:140px;height:140px;max-width:100%}.plane-choice strong{font-size:14px}.plane-choice small{font-size:12px;color:var(--muted);margin-top:8px}.flight-primer{display:none}.plane-section-head h2{font-size:20px}.plane-section-head span{display:none}.plane-card-art{background:#14243b url('/assets/planes/battle-tunnel.webp') center/cover!important;position:relative;overflow:hidden}.plane-card-art .ship-sprite{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);background-position:50% 0}.plane-card-art .art-badge{z-index:1}
.rumble-shell{max-width:1340px;margin:20px auto 36px;padding:0 22px}.rumble-scene{position:relative;aspect-ratio:16/9;min-height:660px;isolation:isolate;border:1px solid #69517d;border-radius:16px;overflow:hidden;background:#584476;color:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.rumble-scene:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#73578b 0 32%,#615080 32% 100%);background-image:linear-gradient(45deg,#81689522 25%,transparent 25%,transparent 75%,#81689522 75%),linear-gradient(45deg,#81689522 25%,#615080 25%,#615080 75%,#81689522 75%);background-size:40px 40px;background-position:0 0,20px 20px}.rumble-scene canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:-1}.rumble-scene.in-battle canvas,.rumble-scene.in-result canvas{opacity:1}.rumble-scene.in-result canvas{filter:brightness(.65)}.scene-top{position:absolute;inset:0 0 auto;min-height:65px;display:flex;align-items:center;gap:20px;padding:14px 20px;z-index:5;background:linear-gradient(#211a4388,transparent);font-size:14px}.node-track{display:flex;align-items:center;gap:14px;margin:auto}.node{width:32px;height:32px;display:grid;place-items:center;border:1px solid #ab98ca;border-radius:50%;background:#242037;color:#bdb0d6;position:relative}.node:not(:last-child):after{content:'';position:absolute;left:100%;width:15px;height:1px;background:#b6a4cc}.node.current{background:#f7dc68;color:#312639;border-color:#ffe995;box-shadow:0 0 15px #f5cf6866}.node.done{background:#887249;color:#fff0a0}.scene-tools{display:flex;gap:12px}.scene-tools button,.scene-tools a{color:#fff;background:none;border:0;font:inherit;text-decoration:none;cursor:pointer}.prep-status{position:absolute;left:3%;top:20%;width:29%;max-width:330px;transform:rotate(-1deg);background:#263b47;border:5px solid #3e5a61;border-radius:12px;box-shadow:9px 12px 0 #38224b88,0 0 0 2px #173746;padding:12px}.crt-title{text-align:center;background:#162e34;color:#bdffb6;font-weight:bold;padding:9px;font-size:18px}.crt-screen{padding:14px 16px;background:repeating-linear-gradient(0deg,#52995518 0 1px,transparent 1px 4px),#122b25;color:#9af294;border:2px solid #67a773;border-radius:4px;display:flex;flex-direction:column;gap:9px;font-size:14px}.crt-screen>span{display:flex;justify-content:space-between;gap:8px}.crt-screen b{color:#e4ffb1}.crt-screen .backup-hearts{color:#f5788e}.crt-screen .ship-sprite{width:180px;height:180px;margin:auto;max-width:100%}.crt-zone{font-size:12px;justify-content:center!important}.scene-decision{position:absolute;left:36%;right:3%;top:12%;bottom:28%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;min-width:0}.scene-decision h2{font-size:26px;letter-spacing:.4px;margin:0;text-shadow:2px 3px #251b47}.shop-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;align-items:stretch;flex:1;max-height:350px}.native-card{display:flex;flex-direction:column;min-width:0;color:#26283b;background:#dbdbe1;border:2px solid #242536;border-radius:8px;box-shadow:0 6px 0 #38284655;overflow:hidden;text-align:left}.native-card-head{background:#171e2c;color:#fff;display:flex;flex-direction:column;align-items:center;padding:10px;gap:3px}.native-card-head h3{font-size:14px;margin:0;min-height:34px;display:flex;align-items:center;text-align:center}.native-card-head .equipment-art{width:66px;height:66px}.native-card-head>span:last-child{font-size:12px;color:#b5e1e9;text-transform:capitalize}.card-stars{color:#fae280;font-size:16px}.native-card-body{padding:10px 12px;flex:1;overflow:auto}.native-card-body p{font-size:14px;line-height:1.5;margin:0}.card-timer{font-size:13px;padding:7px 10px;background:#a9e4db;color:#17333b;text-align:right}.purchase{margin:10px auto!important;border:0;border-radius:24px;background:#fff8e9;color:#252330;padding:10px 16px;font:700 14px inherit;cursor:pointer;min-height:42px;max-width:96%}.purchase:disabled{opacity:.45;cursor:not-allowed}.native-card.purchased{align-items:center;justify-content:center;background:#352747;color:#d7c4e5;padding:16px}.native-card.purchased p{font-size:14px}.equipment-art{display:block;width:46px;height:46px;background:url('/assets/planes/equipment-icons.webp');background-size:800% 800%;flex-shrink:0}.equipment-art.core-art{background:none;display:grid;place-items:center;font-size:36px}.combat-hud{position:absolute;z-index:3}.player-hud{left:27%;right:23%;bottom:11%}.player-hud>p{font-size:13px;margin:0 0 10px;text-align:center;color:#ddd0ec}.loadout{display:flex;gap:5px;justify-content:center}.gear-slot{position:relative;isolation:isolate;background:#161e2d;color:#fff;border:2px solid #c9c1db;border-radius:5px;width:76px;min-width:0;height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;padding:3px;overflow:hidden;font:inherit}.gear-slot .equipment-art{width:44px;height:44px;max-width:100%}.gear-slot small{font-size:12px;line-height:1;color:#ffe290}.gear-slot .live-value{font-size:12px;white-space:nowrap;line-height:1.4;color:#c1f4ff}.gear-slot .cooldown{position:absolute;inset:0;z-index:-1;display:flex;align-items:end}.cooldown i{display:block;width:100%;background:#58c3df55;height:0}.gear-slot.triggered{border-color:#ffee7a;box-shadow:0 0 18px #feee73,inset 0 0 17px #f5d956bb}.gear-slot.jammed{border-color:#f483ed;background:#521d6a}.gear-slot.hasted .cooldown i{background:#f8da5e77}.gear-slot.empty{border-color:#b1a5c377;background:#30244233;cursor:default;color:#cbbedd;font-size:25px}.enemy-hud{right:2%;top:13%;max-width:48%}.enemy-hud .gear-slot{width:62px;height:74px}.enemy-hud .equipment-art{width:34px;height:34px}.enemy-hud .core-art{font-size:27px}.hp-track{position:relative;background:#242534;border:2px solid #dddaed;margin-top:8px;height:22px;border-radius:4px;overflow:hidden}.hp-track>i{display:block;height:100%;background:#a5ed74}.hp-track>strong{position:absolute;inset:0;display:grid;place-items:center;color:#14292f;font-size:13px;text-shadow:0 0 3px #fff}.combat-numbers{display:flex;justify-content:center;gap:15px;font-size:16px;font-weight:bold;margin-top:8px;text-shadow:2px 2px #0d1124}.hp-number{color:#b9ff8c}.shield-number{color:#7eeaff}.burn-number{color:#ff9a45}.scene-bottom{position:absolute;bottom:3%;left:3%;right:3%;display:flex;align-items:center;justify-content:space-between;gap:16px}.inventory-open{background:#766096;color:#fff;border:1px solid #b8a4d8;padding:13px 20px;border-radius:7px;font:700 14px inherit;cursor:pointer}.inventory-open span{margin-left:10px;color:#f5df99}.scene-primary,.scene-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:24px;font-family:inherit;font-size:14px;font-weight:bold;padding:11px 24px;text-decoration:none;cursor:pointer}.scene-primary{color:#2e2a3c;background:#fff9eb;border:2px solid #fff;box-shadow:0 3px 0 #33274044;min-width:155px}.scene-secondary{border:1px solid #d6c4ea;background:#43315b;color:#f4eefe;margin-right:10px}.scene-primary:disabled,.scene-secondary:disabled{opacity:.4;cursor:default}.event-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%}.event-card{background:#352847;border:2px solid #a392bd;border-radius:9px;padding:24px 16px;display:flex;flex-direction:column;align-items:center}.event-symbol{font-size:52px;color:#f9db72}.event-card h3{font-size:18px;margin:14px 0 8px}.event-card p{font-size:14px;line-height:1.65;color:#e1d8ee;flex:1}.event-intro{font-size:14px;line-height:1.6;color:#e9e0f5;margin:0}.rival-preview{display:flex;gap:5px;margin:22px 0}.reward-card{max-width:240px;width:100%;margin:5px 0}.reward-card .native-card-head .equipment-art{width:80px;height:80px}.rumble-scene:has(.reward-card) .scene-decision{left:15%;right:15%;bottom:16%}.in-result .scene-decision{justify-content:center;gap:12px;top:13%;bottom:13%;background:#392749a8;border:1px solid #b09db744;padding:18px;border-radius:12px;backdrop-filter:blur(5px)}.in-result .scene-decision h2{font-size:30px;color:#ffe975}.result-note{font-size:13px;line-height:1.6;color:#e7dcf1;margin:0}.report-tabs{display:flex;gap:8px}.report-tabs button{font:14px inherit;background:#453855;color:#fff;border:1px solid #ac9ac2;border-radius:5px;padding:8px 12px;cursor:pointer}.report-tabs button[aria-pressed=true]{background:#9f87be;color:#fff}.report-scroll{overflow:auto;max-height:250px;width:100%}.report-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.report-table td,.report-table th{padding:8px;border-bottom:1px solid #c5b6d73b}.report-table th{color:#d2edfc;font-weight:normal}.final-score{font-size:52px;color:#fff6a4}.score-lines{width:100%;max-width:340px;display:grid;gap:14px;font-size:14px}.score-lines span{display:flex;justify-content:space-between;gap:12px}.battle-controls{position:absolute;bottom:3%;left:3%;display:flex;gap:10px;align-items:center;font-size:13px;background:#161c31bb;padding:8px;border-radius:8px;z-index:5;max-width:94%;flex-wrap:wrap}.battle-controls button,.battle-controls select{font:inherit;color:#fff;background:#253046;border:1px solid #7c859a;padding:6px 9px;border-radius:4px;cursor:pointer}.battle-controls #storm-label{color:#ee97ff}.in-battle .scene-bottom{display:none}.in-battle .player-hud{bottom:13%;left:27%;right:23%}.in-battle .scene-top{background:transparent}.flight-error{color:var(--error);font-size:14px;margin:8px 0;min-height:20px}.save-status{color:var(--muted);font-size:13px;margin:8px 0;line-height:1.5}.equipment-dialog{width:min(920px,calc(100vw - 30px));max-height:85vh;border:1px solid var(--line);border-radius:16px;padding:24px;background:var(--surface);color:var(--ink)}.equipment-dialog::backdrop{background:#080f1dcc;backdrop-filter:blur(6px)}.guide-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.guide-head h2{font-size:24px;margin:0}.guide-head button{font-size:26px;background:none;border:0;color:var(--ink);cursor:pointer}.equipment-dialog>p{font-size:14px;line-height:1.6}.inventory{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;margin:24px 0}.inventory .gear-slot{width:100%}.inventory-empty{display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;color:var(--muted)}.gear-detail{display:grid;grid-template-columns:230px 1fr;gap:20px;align-items:start}.gear-detail .gear-actions{display:flex;gap:10px;flex-wrap:wrap}.gear-actions button{font-size:14px}.gear-detail .native-card-head h3{min-height:0}.gear-detail .native-card-body{max-height:none}.gear-actions p{font-size:14px}.guide-controls{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.guide-controls input,.guide-controls select{padding:10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--input);font:14px inherit}.guide-controls input{flex:1;min-width:150px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-item{padding:15px;border:1px solid var(--line);border-radius:10px}.guide-item h3{font-size:16px;margin:0 0 9px}.guide-item p{font-size:14px;line-height:1.7;color:var(--muted)}.guide-item small{font-size:12px;color:var(--teal)}.notes-page{max-width:850px}.notes-page h1{font-size:36px}.notes-page h2{font-size:24px;margin-top:30px}.notes-page p,.notes-page li{line-height:1.9;font-size:16px;color:var(--muted)}.notes-page a{color:var(--teal)}.plane-page button:focus-visible,.plane-page a:focus-visible{outline:3px solid #93eada;outline-offset:3px}
@media(max-width:1050px){.plane-picker{grid-template-columns:repeat(3,1fr)}.scene-top{gap:10px;padding:10px;font-size:12px}.node-track{gap:6px}.node{width:26px;height:26px}.node:not(:last-child):after{width:7px}.scene-tools{gap:8px}.prep-status{left:2%;width:27%;padding:7px}.crt-screen{padding:10px}.crt-screen .ship-sprite{width:140px;height:140px}.scene-decision{left:32%;right:2%}.native-card-head{padding:8px 5px}.native-card-body{padding:8px}.native-card-body p{font-size:13px}.shop-cards{gap:8px}.scene-decision h2{font-size:23px}.player-hud{left:24%;right:22%}.combat-numbers{font-size:14px;gap:8px}.scene-secondary{padding:10px 14px}.gear-slot .live-value{font-size:12px}}
@media(max-width:760px){.plane-shell{padding:0 16px}.plane-heading{flex-wrap:wrap}.plane-heading h1{font-size:28px}.heading-actions{flex-wrap:wrap}.hangar-hero{grid-template-columns:1fr}.hangar-display{height:210px;order:-1}.hangar-display .ship-sprite{width:230px;height:230px}.hangar-copy{padding:22px}.plane-choice strong{font-size:13px}.plane-choice small{font-size:12px}.rumble-shell{padding:0 10px;margin-top:12px}.rumble-scene{aspect-ratio:auto;min-height:980px;border-radius:10px}.scene-top{flex-wrap:wrap;justify-content:space-between;gap:10px;min-height:100px;font-size:13px}.node-track{order:3;width:100%;justify-content:center;gap:18px}.node:not(:last-child):after{width:19px}.prep-status{top:110px;left:4%;width:92%;max-width:none;transform:none;padding:6px;border-width:3px}.crt-title{font-size:16px;padding:6px}.crt-screen{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;font-size:13px}.crt-screen .ship-sprite{display:none}.crt-zone{justify-content:start!important}.scene-decision{left:4%;right:4%;top:295px;bottom:195px;gap:15px}.scene-decision h2{font-size:23px}.shop-cards{max-height:460px;gap:7px}.native-card-head h3{font-size:13px;min-height:38px}.native-card-head .equipment-art{width:48px;height:48px}.native-card-head>span:last-child{font-size:12px}.native-card-body p{font-size:13px}.purchase{padding:9px 8px;font-size:13px}.player-hud{left:4%;right:4%;bottom:95px}.gear-slot{flex:1;max-width:76px;height:82px}.gear-slot .equipment-art{width:36px;height:36px}.gear-slot .core-art{font-size:29px}.gear-slot.empty{font-size:24px}.loadout{gap:3px}.scene-bottom{left:4%;right:4%;bottom:20px;gap:8px;flex-wrap:wrap}.inventory-open{font-size:13px;padding:11px}.inventory-open span{margin-left:4px}.scene-primary{min-width:130px;padding:10px 16px;font-size:13px}.scene-secondary{font-size:13px;padding:10px 12px;margin:0 6px 4px 0}.event-card{padding:20px 12px}.event-card h3{font-size:16px}.event-card p{font-size:14px}.event-cards{gap:10px}.in-battle{min-height:720px}.in-battle canvas{object-fit:cover}.in-battle .enemy-hud{top:115px;right:4%;left:4%;max-width:none}.enemy-hud .gear-slot{width:60px;max-width:60px}.in-battle .player-hud{left:4%;right:4%;bottom:120px}.battle-controls{left:4%;right:4%;bottom:20px;max-width:none;gap:7px;font-size:13px}.in-result .scene-decision{top:115px;bottom:100px;left:4%;right:4%;padding:18px 12px}.in-result{min-height:820px}.report-table{font-size:12px}.report-table td,.report-table th{padding:8px 4px}.inventory{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.inventory-empty{height:82px}.gear-detail{grid-template-columns:1fr}.gear-detail .native-card{max-width:280px}.guide-grid{grid-template-columns:1fr}.equipment-dialog{padding:18px}.rumble-scene:has(.reward-card) .scene-decision{left:10%;right:10%;top:130px;bottom:120px}.rumble-scene:has(.reward-card){min-height:720px}.scene-decision .rival-preview{flex-wrap:wrap;justify-content:center}.report-scroll{max-height:340px}}
#scene-actions{margin-left:auto}.scene-decision #battle-report{width:100%;max-width:600px}
@media(max-width:760px){.in-battle canvas{top:245px;bottom:auto;height:auto;aspect-ratio:16/9;object-fit:contain}.in-battle:before{opacity:.25}.in-battle{background:#101b30}.in-result canvas{object-fit:contain}}
/* Equipment management keeps the bar, storage, and inspection together. */
.equipment-dialog{max-width:1100px;width:min(1100px,calc(100vw - 36px));max-height:88dvh;font-size:16px}
#inspect-dialog{max-width:640px}.inventory-dialog{max-width:1120px;width:min(1120px,calc(100vw - 36px))}
.inventory-dialog h3{font-size:18px;margin:18px 0 12px}.inventory-dialog h3>span{font-size:14px;color:var(--muted);margin-left:12px}
.inventory-equipped-section{border:1px solid var(--line);border-radius:12px;padding:4px 18px 18px;background:var(--soft)}
.inventory-loadout{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;justify-content:initial}
.inventory-dialog .gear-slot{width:100%;height:138px;max-width:none;padding:8px 5px;gap:4px;border-color:var(--line);touch-action:none}
.inventory-dialog .gear-slot .equipment-art{width:58px;height:58px;max-width:none}.inventory-dialog .core-art{font-size:43px}
.inventory-dialog .gear-slot strong{font-size:14px;line-height:1.25;text-align:center;overflow-wrap:anywhere}.inventory-dialog .gear-slot small,.inventory-dialog .live-value{font-size:13px}
.inventory-dialog .gear-slot[aria-pressed="true"]{outline:3px solid var(--teal);outline-offset:2px}
.inventory-dialog .inventory{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:12px 0 24px;min-height:150px;padding:8px;border:2px dashed var(--line);border-radius:12px}
.inventory-dialog .inventory-empty{height:138px;font-size:13px;background:var(--soft);border-style:dashed;text-align:center}
.inventory-dialog .gear-detail{grid-template-columns:310px 1fr;gap:24px;padding-top:20px;border-top:1px solid var(--line)}
.inventory-dialog .gear-detail .native-card-body p{font-size:16px}.gear-actions{align-content:start}.gear-actions .primary,.gear-actions .secondary{min-height:46px;padding:12px 18px}
#inventory-feedback{color:var(--error);font-size:14px;min-height:20px;margin:0}
.gear-slot.dragging{opacity:.4;transform:scale(.96)}.gear-slot.drop-target,.inventory.drop-target{outline:3px solid #95e8cd;outline-offset:3px;box-shadow:0 0 24px #95e8cd66}
.scene-tools{align-items:center;gap:10px}.scene-tools button,.scene-tools a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #c4b2da66;border-radius:8px;background:#211d39a6;line-height:1.2;font-size:14px}.scene-tools button:hover,.scene-tools a:hover{background:#5f4d79;border-color:#dac6f6}
.scene-decision h2{font-size:28px}.native-card-head h3{font-size:16px}.native-card-head .equipment-art{width:78px;height:78px}.native-card-body p{font-size:15px;line-height:1.6}.card-timer{font-size:14px}.gear-slot .equipment-art{width:50px;height:50px}.gear-slot{height:94px}.gear-slot .live-value,.gear-slot small{font-size:13px}.player-hud{left:25%;right:21%}.enemy-hud .gear-slot{height:82px}.enemy-hud .equipment-art{width:40px;height:40px}.combat-numbers{font-size:17px}
@media(max-width:900px){.inventory-loadout{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-dialog .inventory{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-dialog .gear-detail{grid-template-columns:270px 1fr}.native-card-head .equipment-art{width:64px;height:64px}}
@media(max-width:760px){.equipment-dialog{width:calc(100vw - 24px);max-height:90dvh;padding:18px}.inventory-equipped-section{padding:4px 10px 12px}.inventory-loadout,.inventory-dialog .inventory{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.inventory-dialog .gear-slot,.inventory-dialog .inventory-empty{height:140px}.inventory-dialog .gear-detail{grid-template-columns:1fr}.inventory-dialog .gear-detail .native-card{max-width:none}.scene-tools button,.scene-tools a{font-size:13px;padding:7px 10px;min-height:36px}.native-card-head h3{font-size:14px}.native-card-body p{font-size:14px}.native-card-head .equipment-art{width:54px;height:54px}.scene-decision h2{font-size:24px}.player-hud{left:4%;right:4%}.gear-slot .equipment-art{width:38px;height:38px}.gear-slot .live-value,.gear-slot small{font-size:12px}.enemy-hud .equipment-art{width:34px;height:34px}.combat-numbers{font-size:15px}}
.guide-item-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}.guide-item-heading .equipment-art{width:60px;height:60px}.guide-item-heading h3{font-size:18px;line-height:1.4;margin:0}.guide-item p{font-size:16px}.guide-item small{font-size:13px}.guide-controls input,.guide-controls select{font-size:16px}.guide-head{top:-24px;min-height:70px}.guide-head h2{font-size:26px}
.gear-slot{touch-action:none;user-select:none}.drag-ghost{position:fixed!important;z-index:1000!important;width:90px!important;height:108px!important;pointer-events:none;opacity:.9;box-shadow:0 12px 30px #0008;border-color:#95e8cd!important}.drag-ghost strong{display:none}.inventory-dialog .gear-slot.empty{color:var(--muted);background:var(--surface-raised)}.inventory-dialog .gear-slot.empty small{color:var(--muted)}
/* Contextual inspection and a drag preview that stays above the inventory. */
.equipment-popover{position:fixed;inset:auto;margin:0;width:min(340px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 18px 64px #0005;font-family:inherit;z-index:1001}
.equipment-popover:popover-open{animation:equipment-reveal .15s ease-out}.equipment-popover::backdrop{background:transparent;pointer-events:none}
.equipment-popover-head{display:flex;gap:12px;align-items:center}.equipment-popover-head .equipment-art{width:54px;height:54px}.equipment-popover-head>div{flex:1;min-width:0}.equipment-popover-head h3{font-size:18px;line-height:1.3;margin:0 0 6px}.equipment-popover-head span{font-size:14px;color:var(--muted)}.equipment-popover-head button{align-self:start;width:30px;height:30px;border:0;border-radius:7px;background:var(--soft);color:var(--ink);font-size:24px;cursor:pointer;flex-shrink:0}
.equipment-effect{font-size:16px;line-height:1.65;margin:18px 0}.equipment-current{font-size:14px;line-height:1.5;color:var(--muted)}.equipment-popover .gear-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid var(--line)}.equipment-popover .gear-actions p{margin:0;line-height:1.5}.equipment-popover .gear-actions button{font-size:14px;min-height:40px;padding:9px 12px}.slot-picker{width:100%;margin-bottom:4px}.slot-picker>span{display:block;font-size:14px;color:var(--muted);margin-bottom:9px}.slot-picker>div{display:flex;gap:7px;flex-wrap:wrap}.slot-choice{border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--ink);width:38px;cursor:pointer}.slot-choice:hover{border-color:var(--teal);background:var(--surface)}.slot-choice:disabled{background:var(--teal);color:var(--bg);opacity:1;cursor:default}
.slot-number{position:absolute;top:5px;left:7px;font:600 12px/1.2 ui-monospace,monospace;color:#bbced8}.gear-slot.empty .slot-number{color:var(--muted)}
.gear-slot[data-uid]:not([data-enemy]){cursor:grab}.equipment-dragging,.equipment-dragging *{cursor:grabbing!important}.gear-slot.dragging{opacity:.23;transform:scale(.95);filter:saturate(.5)}
.gear-drag-layer{position:fixed;inset:0 auto auto 0!important;margin:0!important;padding:0;border:0;background:transparent;overflow:visible;pointer-events:none;will-change:transform;z-index:2000}.gear-drag-layer::backdrop{background:transparent;pointer-events:none}.drag-card{max-width:none!important;pointer-events:none;transform:scale(1.045) rotate(-2deg);box-shadow:0 18px 36px #0008,0 0 0 2px #95e8cd;border-color:#c5ffee!important;opacity:.96;gap:4px;padding:8px 5px;transition:transform .16s ease}.drag-card strong{font-size:14px;line-height:1.25;text-align:center}.drag-card .equipment-art{width:54px;height:54px}.gear-drag-layer.settling{transition:transform .18s cubic-bezier(.2,.8,.2,1),opacity .18s;opacity:.5}.settling .drag-card{transform:scale(1)}
.gear-slot.drop-target,.inventory-empty.drop-target{position:relative;outline:3px solid #95e8cd;outline-offset:2px;box-shadow:0 0 22px #95e8cd44;border-radius:6px;overflow:visible}.drop-preview{position:absolute;inset:0;display:grid;place-items:center;border-radius:4px;background:#163c37df;z-index:5;pointer-events:none}.drop-preview .equipment-art{width:52px;height:52px;opacity:.65}.drop-target:after{content:attr(data-drop-label);position:absolute;z-index:6;left:50%;bottom:5px;transform:translateX(-50%);padding:4px 9px;border-radius:5px;background:#c5ffee;color:#153b32;white-space:nowrap;font:600 13px/1.2 system-ui,sans-serif;pointer-events:none}.just-equipped{animation:equipment-land .45s ease-out}
@keyframes equipment-reveal{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes equipment-land{0%{box-shadow:0 0 0 4px #95e8cd;transform:scale(1.04)}100%{box-shadow:none;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.equipment-popover:popover-open,.just-equipped{animation:none}.gear-drag-layer.settling,.drag-card{transition:none}.drag-card{transform:none}}

.inventory-dialog .gear-slot[data-uid][aria-pressed="true"],#loadout .gear-slot[data-uid][aria-pressed="true"]{background:#163c37;color:#fff;border-color:#95e8cd}.inventory-dialog .gear-slot[aria-pressed="true"] strong{color:#fff}
