/* LASTLINE — tactical survival interface */
:root{--bg:#10120f;--panel:#191c17;--panel2:#20231c;--line:#30342a;--muted:#878d7c;--text:#ebeee4;--accent:#d3f56a;--yellow:#e8c47c;--red:#db7864;--font:'Barlow','Noto Sans JP',sans-serif;--display:'Barlow Condensed','Noto Sans JP',sans-serif;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button, a{touch-action:manipulation}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.site-header{height:89px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 3.15%;gap:5.3%;background:#141611}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--text);font-family:var(--display);font-size:33px;font-weight:800;letter-spacing:1.5px;line-height:.95;flex-shrink:0}.brand-line{color:var(--accent)}.brand small{display:block;font-family:var(--font);font-size:8px;letter-spacing:3.3px;font-weight:500;color:#9b9e92;margin-top:9px}.brand-mark{display:grid;place-items:center;width:39px;height:43px;color:var(--accent);border-left:3px solid var(--accent);border-right:3px solid var(--accent);transform:skew(-9deg);background:#d3f56a0b;clip-path:polygon(0 0,100% 0,100% 79%,50% 100%,0 79%)}.brand-mark svg{width:26px;height:29px;transform:skew(9deg)}.main-nav{height:100%;display:flex;gap:32px}.nav-item{display:flex;align-items:center;gap:9px;color:#9b9f91;border-bottom:2px solid transparent;padding:3px 0 0;position:relative;font-size:12px;font-weight:600;white-space:nowrap}.nav-item.active{color:var(--accent);border-bottom-color:var(--accent)}.nav-item:hover{color:var(--accent)}.nav-item svg{width:17px;height:17px}.nav-index{font-family:var(--font);font-size:10px;color:#686e5b;margin-left:3px}.header-right{display:flex;align-items:center;gap:20px;margin-left:auto}.version{font-size:9px;letter-spacing:1px;color:var(--muted);white-space:nowrap}.version b{color:#b0b4a5;font-weight:500;padding-left:5px}.solo-badge{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1px;font-weight:700;border:1px solid #414b2f;padding:7px 9px;background:#262e1b;color:var(--accent);white-space:nowrap}.solo-badge i,.live-label i,.arena-status i,.next-wave i,.status-dot{width:5px;height:5px;background:var(--accent);display:inline-block;box-shadow:0 0 7px #d3f54544}.icon-button{width:34px;height:34px;display:grid;place-items:center;border-radius:3px;color:#9ea591;position:relative}.icon-button:hover{color:var(--accent);background:#d3f56a0b}main{max-width:1560px;margin:auto;padding:32px 3.15% 0}.mission-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 29px}.eyebrow{font-family:var(--font);font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:600;margin:0;display:flex;align-items:center;gap:8px}.mission-heading .eyebrow{color:var(--accent);font-size:10px}.eyebrow>span{width:6px;height:6px;border:1px solid var(--accent)}h1{font-family:'Noto Sans JP',sans-serif;font-size:32px;letter-spacing:2px;line-height:1.45;margin:10px 0 7px;font-weight:800}.title-period{color:var(--accent);margin-left:5px}.page-description{color:#929886;font-size:12px;letter-spacing:.8px;margin:0}.operation-id{text-align:right}.operation-id>span{display:block;font-size:9px;letter-spacing:2px;color:var(--muted)}.operation-id strong{font-family:var(--display);display:block;font-size:25px;letter-spacing:2px;font-weight:500;margin:4px 0 5px;color:#a5ac98}.operation-id b{color:var(--text);font-weight:600}.operation-id small{font-size:10px;color:#858d7a}.operation-id i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-right:6px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:23px}.game-column{min-width:0}.arena-frame{border:1px solid #3a4030;background:#171b13;overflow:hidden;box-shadow:0 10px 40px #0002}.arena-toolbar{height:41px;display:flex;justify-content:space-between;align-items:center;padding:0 12px 0 17px;background:#1e231a;border-bottom:1px solid #3b412f}.live-label{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.4px;color:var(--accent);font-weight:600}.toolbar-divider{height:13px;width:1px;background:#3d4430;margin:0 6px}.map-label{font-size:10px;letter-spacing:.3px;color:#a3a995}.arena-tools{display:flex;gap:4px}.arena-tools .icon-button{width:29px;height:29px}.arena-tools svg{width:16px;height:16px}.sound-off{position:absolute;top:7px;left:13px;width:1px;height:17px;background:#a4ab92;transform:rotate(-45deg);box-shadow:0 0 0 2px #1e231a}.game-viewport{position:relative;isolation:isolate;aspect-ratio:1100/680;overflow:hidden;background:#242b21;touch-action:none}#game-canvas{display:block;width:100%;height:100%;outline:0;touch-action:none;cursor:crosshair}.game-viewport::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 100px 15px #0006;z-index:1}.game-hud{position:absolute;left:22px;right:22px;top:21px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;z-index:2}.wave-hud{display:flex;align-items:center;gap:9px}.hud-label{font-family:var(--display);font-size:14px;letter-spacing:1.5px;color:#c9cfba}.wave-hud>strong{font-family:var(--display);font-size:29px;font-weight:600;line-height:1}.wave-hud strong span{font-family:var(--font);font-size:12px;color:#949d86;margin-left:5px;font-weight:500}.phase-chip{background:#cdec7830;border:1px solid #aabd654f;color:#dfeca8;padding:4px 7px;margin-left:7px;font-size:9px;font-weight:500}.resources-hud{display:flex;gap:14px;background:#10170dcc;backdrop-filter:blur(5px);border:1px solid #74834e3d;padding:8px 12px;border-radius:2px}.resources-hud>span{display:flex;align-items:center;gap:7px;color:#c8cfb9;font-size:16px}.resources-hud svg{width:16px;height:16px}.resources-hud .money{color:var(--yellow)}.map-location{position:absolute;top:76px;left:24px;color:#e0e7ce70;display:flex;flex-direction:column;gap:4px;pointer-events:none}.map-location>span{font-size:8px;letter-spacing:2px}.map-location small{font-size:7px;letter-spacing:1px}.game-announcement{position:absolute;top:18%;left:0;right:0;text-align:center;pointer-events:none;text-shadow:0 3px 14px #000;transition:opacity .5s;z-index:2}.announcement-label{font-size:9px;letter-spacing:3px;color:var(--accent)}.game-announcement strong{font-size:24px;letter-spacing:3px;display:block;margin:7px 0 8px}.game-announcement p{margin:0;font-size:11px;color:#d0d5c4}.game-announcement.faded{opacity:0}.player-hud{position:absolute;bottom:20px;left:21px;display:flex;gap:10px;align-items:center;pointer-events:none;z-index:2}.player-avatar{height:38px;width:36px;border:1px solid #ced4ad55;background:#293224db;display:grid;place-items:center;color:#d1ddba;clip-path:polygon(0 0,100% 0,100% 82%,80% 100%,0 100%)}.player-avatar svg{width:23px;height:23px}.player-vitals{width:150px}.player-vitals>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;margin-bottom:8px}.player-vitals small{font-weight:400;font-size:9px;color:#b2b9a5;margin-left:5px}.health-track{background:#e0e8cd26;height:5px}.health-track i{display:block;background:var(--accent);height:100%;width:100%;transition:width .2s,background .2s;box-shadow:0 0 8px #c9ed7144}.ammo-hud{position:absolute;right:24px;bottom:17px;text-align:right;z-index:2}.ammo-hud>span{font-size:10px;letter-spacing:1.5px;font-weight:600}.ammo-hud>div{display:flex;align-items:center;justify-content:flex-end;gap:8px}.ammo-hud b{font-family:var(--display);font-size:36px;line-height:1.15;font-weight:500}.ammo-hud div>span{color:#adb59e;font-size:14px}.ammo-hud button{border:1px solid #9eae7770;border-radius:3px;padding:3px;margin-left:5px;color:#c6d6b4}.ammo-hud button:hover{background:#d3f56a33}.ammo-hud svg{height:16px;width:16px}.ammo-hud>small{font-size:8px;letter-spacing:1px;color:#a1aa92}.arena-corner{position:absolute;width:12px;height:12px;border-color:#c3ce9a88;border-style:solid;z-index:3;pointer-events:none}.top-left{top:10px;left:10px;border-width:1px 0 0 1px}.top-right{top:10px;right:10px;border-width:1px 1px 0 0}.bottom-left{bottom:10px;left:10px;border-width:0 0 1px 1px}.bottom-right{bottom:10px;right:10px;border-width:0 1px 1px 0}.arena-status{height:34px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;background:#1b2016;font-size:9px;color:#9ba68a;letter-spacing:.3px}.arena-status>span{display:flex;align-items:center;gap:7px}.arena-status b{font-weight:400}.arena-status .auto-aim{font-size:9px}.auto-aim svg{width:12px;height:12px}.auto-aim b{color:var(--accent);margin-left:2px}.loadout-section{margin-top:23px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.section-title h2{font-size:12px;font-weight:500;margin:0;display:flex;align-items:center;gap:8px;letter-spacing:.5px}.section-title h2 svg{width:15px;height:15px;color:#9da68d}.section-title>span{font-size:9px;letter-spacing:1px;color:#7c856f;display:flex;align-items:center;gap:7px}.section-title i{width:5px;height:5px;background:#656f55}.loadout-grid{display:grid;grid-template-columns:1.12fr 1fr .94fr;gap:11px}.loadout-card{height:85px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#191d15;position:relative;text-align:left;padding:15px 12px}.loadout-card:hover{background:#252c1c;border-color:#56613e}.loadout-card.selected{border-color:#86964c;background:linear-gradient(110deg,#2b341d,#202619)}.loadout-card.selected:after{content:'';position:absolute;left:-1px;top:20px;bottom:20px;width:2px;background:var(--accent)}.slot-number{position:absolute;top:5px;left:8px;color:#768462;font-size:9px;letter-spacing:1px}.equipment-art{width:65px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#9da98a}.equipment-art .weapon-svg{width:70px;height:40px;stroke:none}.equipment-art>svg:not(.weapon-svg){height:30px;width:30px;stroke-width:1.2}.loadout-copy{display:flex;flex-direction:column;gap:6px}.loadout-copy strong{font-size:13px;font-weight:600;white-space:nowrap}.loadout-copy small{font-size:9px;color:#8e9782;white-space:nowrap}.loadout-card kbd{position:absolute;top:7px;right:7px;font-size:8px;min-width:15px;height:15px;line-height:13px;padding:0 3px}.equipment-state{position:absolute;bottom:7px;right:7px;font-size:8px;color:var(--accent)}.empty-slot{border-style:dashed;color:#919b84}.empty-slot .equipment-art{opacity:.6}.build-loadout .equipment-art{width:35px}.build-loadout .loadout-copy strong{font-size:11px}.mission-sidebar{display:flex;flex-direction:column;gap:17px}.stage-card{padding:18px;background:var(--panel);border:1px solid var(--line)}.card-topline{display:flex;align-items:center;justify-content:space-between}.card-topline .eyebrow{font-size:9px;letter-spacing:1.2px}.difficulty-badge{border:1px solid #708b384d;color:var(--accent);background:#a4ce4b10;padding:3px 8px;font-size:9px}.stage-title{display:flex;align-items:center;gap:14px;margin:16px 0}.stage-title>span{font-family:var(--display);font-size:44px;font-weight:500;color:#5f6b4a;line-height:1;border-right:1px solid #353c2b;padding-right:13px}.stage-title h2{font-size:21px;letter-spacing:1.5px;margin:0 0 6px;font-weight:700}.stage-title p{margin:0;font-size:8px;color:#8e987e;letter-spacing:1.1px}.mini-map-wrap{position:relative;height:114px;overflow:hidden;border:1px solid #3b452e;background:#2c3525}.mini-map-wrap canvas{width:100%;height:100%;object-fit:cover;filter:sepia(.2)}.mini-map-wrap:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 3px,#0002 4px);pointer-events:none}.map-tag{position:absolute;bottom:7px;left:8px;font-size:8px;letter-spacing:1px;background:#111b10b0;color:#c5d5ac;padding:3px 5px}.map-coordinate{position:absolute;top:7px;right:8px;font-size:9px;color:#ced6bd}.stage-description{color:#8c9681;font-size:10px;line-height:1.95;margin:13px 0 14px}.mission-meta{border-top:1px solid var(--line);padding-top:13px;display:flex;flex-direction:column;gap:11px}.mission-meta>span{display:flex;justify-content:space-between;align-items:center;color:#808a73;font-size:10px}.mission-meta strong{font-size:10px;font-weight:500;display:flex;align-items:center;gap:5px;color:#cad0c1}.mission-meta strong svg{height:12px;width:12px}.mission-meta small{font-family:var(--font);color:#7e8871;font-size:9px}.wave-card{border:1px solid var(--line);background:var(--panel);padding:16px 17px}.wave-card .section-title{margin-bottom:16px}.wave-card .section-title h2{font-size:11px}.wave-card .section-title>span{font-size:8px;letter-spacing:.5px}.wave-track{display:flex;gap:7px;position:relative}.wave-step{height:32px;flex:1;border:1px solid #373e2e;background:#23281d;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:14px;color:#69755a;position:relative}.wave-step svg{height:16px;width:16px}.wave-step.current{border-color:#a8c365;color:var(--accent);background:#333e21}.wave-step.cleared{background:var(--accent);border-color:var(--accent);color:#27301b}.next-wave{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:9px}.next-wave>span{display:flex;align-items:center;gap:6px;letter-spacing:.8px;color:#bac4ac}.next-wave b{color:#b2bda2;font-size:10px;font-weight:400}.next-wave i{width:4px;height:4px}.enemy-preview{border-top:1px solid #303827;margin-top:12px;padding-top:11px;display:flex;align-items:center;gap:6px;font-size:9px;color:#8f9e7b}.enemy-dot{width:6px;height:6px;border-radius:50%;background:#96ad74}.enemy-level{margin-left:auto;font-size:7px;letter-spacing:.4px;color:#657451}.enemy-level b{margin-left:3px;color:#b3c48b;font-weight:500}.preparation-card{display:flex;gap:12px;padding:0 3px;align-items:flex-start;margin:1px 0}.preparation-icon{width:30px;height:33px;display:grid;place-items:center;background:#242d19;border:1px solid #3c4929;color:var(--accent);flex-shrink:0}.preparation-icon svg{width:17px;height:17px}.preparation-card h3{font-size:11px;font-weight:500;margin:1px 0 6px;color:#c1ccb0}.preparation-card p{margin:0;font-size:10px;color:#7e8b70;line-height:1.9}.mission-actions{margin-top:auto;display:flex;flex-direction:column;gap:10px}.primary-button{min-height:47px;display:flex;align-items:center;justify-content:center;gap:15px;background:var(--accent);color:#263011;font-weight:700;font-size:13px;padding:12px 20px;transition:background .2s,box-shadow .2s;position:relative}.primary-button:hover:not(:disabled){background:#e3ff96;box-shadow:0 0 25px #d3f56a20}.primary-button svg{width:19px;height:19px}.primary-button:disabled{background:#515e37;opacity:1;color:#acb99a}.secondary-actions{display:flex;gap:10px}.secondary-actions button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;border:1px solid #38432b;background:#202719;padding:11px 8px;font-size:11px}.secondary-actions button:hover{border-color:#7c9650;background:#2b361f}.secondary-actions svg{width:15px;height:15px;color:#a4b68c}.secondary-actions kbd{font-size:8px;width:14px;min-width:14px;height:14px;line-height:12px;padding:0;margin-left:auto;color:#869774}.solo-note{display:flex;align-items:center;justify-content:center;gap:6px;color:#6e7b60;font-size:9px;margin:-5px 0 0}.solo-note svg{width:12px;height:12px}.controls-strip{display:flex;align-items:center;gap:23px;padding:17px 0;margin-top:23px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#89947a;font-size:10px}.controls-strip>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.controls-title{font-size:9px;letter-spacing:1px;color:#b8c3a7;margin-right:5px}.controls-title svg{width:14px;height:14px;margin-right:5px}kbd{font-family:var(--font);display:inline-block;text-align:center;min-width:19px;height:19px;line-height:16px;padding:0 4px;border:1px solid #424a36;border-radius:3px;background:#262c20;color:#b2bea2;font-size:10px;font-weight:400}.controls-strip>span>kbd:last-of-type{margin-right:4px}.controls-strip>button{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:10px;color:#b7c3a8}.controls-strip>button:hover{color:var(--accent)}.controls-strip>button svg{width:15px;height:15px}.mouse-icon{display:inline-block;width:12px;height:17px;border:1px solid #7e8b6b;border-radius:5px;position:relative;margin-right:7px}.mouse-icon:after{content:'';position:absolute;left:4px;top:2px;height:4px;width:2px;background:#b4c19c}.site-footer{padding:19px 0 22px;display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.1px;color:#616b56}.site-footer>span{display:flex;align-items:center;gap:8px}.site-footer>span:first-child{font-weight:600}.site-footer b{font-size:8px;margin-left:17px;font-weight:400;color:#707b64}.site-footer .status-dot{width:4px;height:4px;opacity:.5}.site-footer i:not(.status-dot){font-style:normal;margin:0 4px;color:#444f36}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#2b351f;border:1px solid #80964e;color:#e0edca;font-size:12px;padding:13px 22px;box-shadow:0 10px 35px #0008;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{padding:26px;background:#191e15;color:var(--text);border:1px solid #53613f;max-width:680px;width:calc(100% - 32px);max-height:85dvh;box-shadow:0 30px 100px #000a}dialog::backdrop{background:#070c08bb;backdrop-filter:blur(6px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.dialog-header h2{font-size:23px;margin:8px 0 0}.dialog-header .eyebrow{font-size:9px;color:var(--accent)}.dialog-intro{color:#9eac8f;font-size:12px;line-height:1.9;margin:0 0 18px}.dialog-balance{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;color:#a4b492}.dialog-balance b{color:var(--yellow);font-size:19px}.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shop-card{padding:17px;border:1px solid #36432b;background:#20291b;display:flex;flex-direction:column}.shop-card .weapon-svg{width:135px;height:60px;align-self:center;stroke:none;color:#c3ceb2}.shop-card h3{margin:12px 0 5px;font-size:16px}.shop-card p{font-size:11px;line-height:1.8;color:#9aab87;margin:0 0 12px}.shop-card .weapon-spec{display:flex;gap:16px;font-size:9px;color:#b6c5a5;margin-bottom:15px}.shop-card button{background:#344325;border:1px solid #647d40;padding:9px 12px;color:var(--accent);font-size:11px;width:100%;margin-top:auto}.shop-card button:hover:not(:disabled){background:#43592b}.shop-card .build-art{height:60px;display:flex;justify-content:center;align-items:center;color:#b4c595}.build-art svg{width:46px;height:46px;stroke-width:1.3}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.guide-item{padding:18px;background:#242d1c;border:1px solid #34432a}.guide-item strong{font-size:13px;color:#d4e4c0;display:block;margin-bottom:9px}.guide-item p{font-size:11px;line-height:1.95;color:#99aa87;margin:0}.guide-item .guide-number{font-family:var(--display);color:var(--accent);font-size:23px;margin-right:8px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:20px}.setting-row strong{font-size:13px;font-weight:500}.setting-row p{color:#98a58a;font-size:11px;margin:7px 0 0;line-height:1.8}.toggle{width:44px;height:24px;border:1px solid #687c4a;background:#313e24;border-radius:14px;position:relative;flex-shrink:0}.toggle:after{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;background:#98a38a;border-radius:50%;transition:transform .2s}.toggle[aria-checked=true]{background:#9bb747}.toggle[aria-checked=true]:after{background:#e6f6c0;transform:translateX(19px)}.reset-button{margin-top:20px;padding:11px 15px;border:1px solid #865c43;color:#e1ab83;font-size:11px}.pause-overlay,.result-overlay{position:absolute;inset:0;z-index:7;background:#0f180fe8;backdrop-filter:blur(5px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px}.pause-overlay h2,.result-overlay h2{font-size:29px;letter-spacing:3px;margin:15px 0}.pause-overlay p,.result-overlay p{font-size:12px;color:#a5b398;line-height:1.9;margin-bottom:25px}.pause-overlay .eyebrow,.result-overlay .eyebrow{color:var(--accent)}.result-stats{display:flex;gap:35px;margin:5px 0 25px}.result-stats>span{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#9fae8e}.result-stats b{font-family:var(--display);font-size:32px;color:var(--accent)}.placement-hint{position:absolute;left:50%;top:18%;transform:translateX(-50%);background:#182710e8;border:1px solid #96b754;padding:12px 15px;z-index:4;font-size:11px;color:var(--accent);white-space:nowrap}.placement-hint button{margin-left:15px;color:#becdac;font-size:10px}.placement-hint kbd{font-size:8px;margin-left:4px}.touch-controls{display:none}.arena-frame.focus-mode,.arena-frame:fullscreen{position:fixed;inset:0;z-index:60;width:100vw;height:100dvh;display:flex;flex-direction:column;border:0;background:#10160e}.arena-frame.focus-mode .game-viewport,.arena-frame:fullscreen .game-viewport{width:100%;flex:1;min-height:0;aspect-ratio:auto}.arena-frame.focus-mode #game-canvas,.arena-frame:fullscreen #game-canvas{object-fit:contain}.arena-frame.focus-mode .arena-status,.arena-frame:fullscreen .arena-status{flex-shrink:0}.arena-frame.focus-mode .arena-toolbar,.arena-frame:fullscreen .arena-toolbar{flex-shrink:0}.focus-mode .game-announcement,:fullscreen .game-announcement{top:20%}.focus-mode .player-hud,:fullscreen .player-hud{bottom:25px}.focus-mode .ammo-hud,:fullscreen .ammo-hud{bottom:25px}
@media(min-width:1500px){.play-layout{grid-template-columns:minmax(0,1fr) 320px;gap:26px}.mission-sidebar{gap:21px}.stage-card{padding:21px}.mini-map-wrap{height:135px}.stage-description{font-size:11px}.preparation-card p{font-size:11px}.preparation-card h3{font-size:12px}}
@media(max-width:1200px){.site-header{gap:35px}.main-nav{gap:22px}.nav-index,.version{display:none}.play-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}main{padding-top:25px}.mission-heading{margin-bottom:23px}.stage-card{padding:15px}.stage-title{margin:12px 0}.mini-map-wrap{height:95px}.mission-sidebar{gap:13px}.stage-description{font-size:9px;margin:10px 0}.mission-meta{gap:9px;padding-top:10px}.wave-card{padding:14px}.wave-card .section-title{margin-bottom:12px}.next-wave{margin-top:13px}.enemy-preview{margin-top:9px;padding-top:9px}.loadout-card{gap:5px;padding:13px 8px;height:78px}.equipment-art{width:50px}.equipment-art .weapon-svg{width:53px}.loadout-copy strong{font-size:11px}.loadout-copy small{font-size:8px}.build-loadout .equipment-art{width:29px}.build-loadout .loadout-copy strong{font-size:10px}.controls-strip{gap:17px}.game-announcement strong{font-size:21px}.preparation-card{gap:9px}.mission-actions .primary-button{min-height:44px}.secondary-actions button{padding:9px 8px}.player-vitals{width:130px}.game-hud{left:18px;right:18px;top:16px}.phase-chip{margin-left:0}.wave-hud{gap:6px}.wave-hud>strong{font-size:25px}.resources-hud{padding:6px 9px}.resources-hud>span{font-size:14px}}
@media(max-width:1000px){.site-header{height:76px}.main-nav{gap:19px}.nav-item{font-size:11px;gap:6px}.header-right{gap:10px}.solo-badge{font-size:8px}.play-layout{grid-template-columns:minmax(0,1fr) 235px;gap:14px}.stage-card{padding:12px}.card-topline .eyebrow{font-size:8px}.stage-title h2{font-size:19px}.stage-title>span{font-size:36px}.stage-title p{font-size:7px}.mini-map-wrap{height:78px}.stage-description{line-height:1.8}.stage-card .mission-meta{gap:7px}.mission-meta>span,.mission-meta strong{font-size:9px}.mission-sidebar{gap:10px}.wave-card{padding:12px}.wave-step{height:27px}.preparation-card p{font-size:9px}.preparation-card h3{font-size:10px}.primary-button{font-size:12px}.solo-note{font-size:8px;margin:0}.game-announcement strong{font-size:17px}.game-announcement p{font-size:9px}.announcement-label{font-size:8px}.loadout-grid{grid-template-columns:1fr 1fr}.build-loadout{grid-column:1/-1;height:43px;justify-content:flex-start}.build-loadout .loadout-copy{flex-direction:row;align-items:center;gap:10px}.build-loadout .equipment-art svg{height:20px;width:20px}.build-loadout kbd{top:13px}.loadout-card:not(.build-loadout){height:72px}.controls-strip{gap:13px}.controls-title{display:none!important}.resources-hud{gap:10px}.game-hud{left:13px;right:13px}.wave-hud .hud-label{font-size:12px}.phase-chip{font-size:8px;padding:3px 5px}.map-location{top:59px;left:16px}.player-hud{bottom:15px;left:15px}.player-vitals{width:100px}.player-vitals small{font-size:7px}.player-avatar{width:30px;height:33px}.ammo-hud{right:16px;bottom:12px}.ammo-hud b{font-size:30px}}
@media(max-width:780px){.site-header{padding:0 20px;gap:24px;height:71px}.brand{font-size:28px;gap:8px}.brand-mark{width:31px;height:36px}.brand small{font-size:6px;letter-spacing:2.8px}.brand-mark svg{width:22px}.nav-index,.solo-badge{display:none}.main-nav{gap:18px}.nav-item{font-size:10px}.nav-item svg{display:none}.header-right{gap:0}.header-right .icon-button{width:27px}main{padding:23px 20px 0}.play-layout{display:flex;flex-direction:column;gap:22px}.mission-heading{margin-bottom:22px}h1{font-size:27px}.page-description{font-size:10px}.operation-id strong{font-size:22px}.operation-id>span{font-size:8px}.operation-id small{font-size:8px}.game-announcement strong{font-size:22px}.game-announcement p{font-size:11px}.loadout-grid{grid-template-columns:1fr 1fr 1fr}.build-loadout{grid-column:auto;height:76px}.build-loadout .loadout-copy{flex-direction:column;align-items:flex-start;gap:6px}.loadout-card:not(.build-loadout){height:76px}.loadout-card .equipment-art{width:40px}.build-loadout .equipment-art{width:25px}.build-loadout kbd{top:7px}.loadout-section{margin-top:19px}.mission-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stage-card{grid-row:span 3;padding:18px}.mini-map-wrap{height:98px}.stage-title{margin:15px 0}.stage-description{font-size:10px;margin:14px 0}.mission-meta>span,.mission-meta strong{font-size:10px}.wave-card{padding:16px}.wave-step{height:30px}.preparation-card{padding:0}.preparation-card h3{font-size:11px}.preparation-card p{font-size:10px}.mission-actions{margin:0}.solo-note{grid-column:1/-1;font-size:9px}.controls-strip{gap:13px;font-size:9px;margin-top:20px}.controls-strip kbd{min-width:17px;width:17px;padding:0;font-size:9px}.controls-strip>button{font-size:9px}.site-footer{font-size:7px;letter-spacing:.5px}.game-hud{left:18px;right:18px;top:17px}.wave-hud .hud-label{font-size:14px}.wave-hud>strong{font-size:28px}.phase-chip{font-size:9px;padding:4px 6px}.map-location{left:20px;top:65px}.player-vitals{width:125px}.player-vitals small{font-size:9px}.ammo-hud{right:20px;bottom:17px}.player-hud{left:18px;bottom:20px}.resources-hud>span{font-size:16px}}
@media(pointer:coarse){.touch-controls{display:flex;position:absolute;inset:0;pointer-events:none;z-index:3}.joystick{position:absolute;left:24px;bottom:76px;width:96px;height:96px;border-radius:50%;border:1px solid #c8dc9455;background:#18211055;box-shadow:inset 0 0 0 13px #d5edaa05;pointer-events:auto;touch-action:none}.joystick-knob{position:absolute;left:29px;top:29px;width:36px;height:36px;border-radius:50%;background:#bdd39440;border:1px solid #d5eab478;pointer-events:none}.touch-actions{position:absolute;right:24px;bottom:84px;display:flex;align-items:flex-end;gap:15px;pointer-events:none}.touch-actions button{pointer-events:auto;touch-action:none;border-radius:50%;background:#2e3c22a8;border:1px solid #d1ed8a77;display:grid;place-items:center;color:#d5eead}#fire-button{width:72px;height:72px}#fire-button svg{width:31px;height:31px}#touch-switch{width:40px;height:40px;font-size:24px}.controls-strip>span:not(.controls-title){display:none}.controls-strip .controls-title{display:flex!important}.controls-strip .controls-title:after{content:'左スティックで移動・右ボタンで射撃';letter-spacing:0;font-family:var(--font);margin-left:14px;font-size:9px;color:#96a586}.controls-strip>button{font-size:10px}.game-announcement{top:20%}.game-announcement strong{font-size:18px}.game-announcement p{font-size:10px}}
@media(max-width:520px){.site-header{height:64px;padding:0 15px;gap:22px}.brand{font-size:25px;gap:7px}.brand-mark{height:32px;width:27px}.brand small{font-size:5px;letter-spacing:2.5px;margin-top:6px}.main-nav{gap:16px;margin-left:auto}.nav-item{font-size:10px}.nav-item:last-child{display:none}.header-right{margin-left:0}.header-right svg{height:17px;width:17px}main{padding:22px 13px 0}.mission-heading{margin:0 4px 19px}.mission-heading .eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:25px;letter-spacing:1px;margin-top:8px}.page-description{font-size:9px;letter-spacing:.3px}.operation-id>span{font-size:6px;letter-spacing:1px}.operation-id strong{font-size:21px}.operation-id small{font-size:7px;max-width:75px;display:block;margin-left:auto;line-height:1.7}.arena-toolbar{padding:0 8px 0 11px;height:34px}.live-label{font-size:8px;gap:6px;letter-spacing:1px}.toolbar-divider{margin:0 2px}.map-label{font-size:8px}.arena-tools{gap:0}.arena-tools .icon-button{width:25px;height:26px}.arena-tools svg{width:14px;height:14px}.sound-off{left:12px;top:5px}.game-hud{left:13px;right:13px;top:16px}.wave-hud{gap:5px}.wave-hud .hud-label{font-size:12px}.wave-hud>strong{font-size:25px}.wave-hud strong span{font-size:10px;margin-left:3px}.phase-chip{font-size:7px;padding:4px;margin-left:2px}.resources-hud{padding:5px 7px;gap:10px}.resources-hud>span{font-size:13px;gap:5px}.resources-hud svg{height:13px;width:13px}.map-location{top:54px;left:14px}.game-announcement{top:23%}.game-announcement strong{font-size:19px;letter-spacing:1px;margin:9px 0}.game-announcement p{font-size:9px}.announcement-label{font-size:7px;letter-spacing:2px}.player-hud{left:14px;bottom:18px;gap:7px}.player-vitals{width:102px}.player-vitals>div:first-child{font-size:10px}.player-vitals small{font-size:7px;margin-left:3px}.ammo-hud{right:16px;bottom:15px}.ammo-hud b{font-size:29px}.ammo-hud>span{font-size:9px}.ammo-hud>small{font-size:7px}.ammo-hud div>span{font-size:12px}.arena-status{height:30px;padding:0 10px;font-size:8px}.arena-status .auto-aim{font-size:7px;gap:3px}.loadout-section{margin-top:17px}.section-title{margin-bottom:11px}.section-title h2{font-size:11px}.section-title>span{font-size:8px}.loadout-grid{gap:7px;grid-template-columns:1fr 1fr}.loadout-card:not(.build-loadout){height:76px;gap:8px}.loadout-card .equipment-art{width:50px}.loadout-copy strong{font-size:12px}.loadout-copy small{font-size:9px}.build-loadout{grid-column:1/-1;height:42px;justify-content:center;gap:8px}.build-loadout .loadout-copy{flex-direction:row;align-items:center;gap:12px}.build-loadout .equipment-art{width:24px}.build-loadout kbd{top:13px;right:10px}.play-layout{gap:20px}.mission-sidebar{gap:12px;grid-template-columns:1fr 1fr}.stage-card{padding:13px;grid-row:span 2}.stage-card .eyebrow{font-size:7px;letter-spacing:.7px}.difficulty-badge{font-size:8px;padding:2px 6px}.stage-title{gap:8px;margin:13px 0}.stage-title>span{font-size:33px;padding-right:8px}.stage-title h2{font-size:16px;margin-bottom:5px}.stage-title p{font-size:5px;letter-spacing:.7px}.mini-map-wrap{height:84px}.stage-description{font-size:8px;line-height:1.9;margin:11px 0}.mission-meta>span,.mission-meta strong{font-size:8px}.mission-meta>span:first-child{flex-direction:column;align-items:flex-start;gap:7px}.mission-meta small{font-size:7px}.wave-card{padding:13px 11px;align-self:start}.wave-card .section-title h2{font-size:10px}.wave-card .section-title>span{font-size:6px;letter-spacing:0}.wave-track{gap:4px}.wave-step{font-size:12px;height:27px}.wave-step svg{height:13px;width:13px}.next-wave{font-size:7px;gap:4px}.next-wave b{font-size:8px}.next-wave>span{gap:4px;letter-spacing:.3px}.enemy-preview{font-size:8px;gap:4px}.enemy-level{font-size:6px;letter-spacing:0}.preparation-card{align-self:center;gap:7px}.preparation-icon{width:25px;height:28px}.preparation-icon svg{width:15px}.preparation-card h3{font-size:9px;line-height:1.7;margin-top:0}.preparation-card p{font-size:8px;line-height:1.9}.mission-actions{grid-column:1/-1;gap:9px}.mission-actions .primary-button{min-height:49px;font-size:13px}.secondary-actions button{padding:12px;font-size:11px}.solo-note{font-size:8px}.controls-strip{margin-top:19px;padding:15px 2px}.controls-strip .controls-title{font-size:8px;letter-spacing:.5px}.controls-strip .controls-title:after{font-size:8px;margin-left:3px;max-width:150px;line-height:1.7}.controls-strip .controls-title svg{display:none}.controls-strip>button{font-size:8px;gap:4px;white-space:nowrap}.site-footer{padding:16px 2px 22px;flex-direction:column;align-items:flex-start;gap:10px;font-size:7px}.site-footer b{font-size:7px}.joystick{left:20px;bottom:82px;width:88px;height:88px}.joystick-knob{left:25px;top:25px}.touch-actions{right:20px;bottom:94px;gap:13px}#fire-button{width:67px;height:67px}#touch-switch{width:36px;height:36px}dialog{padding:21px}.dialog-header{padding-bottom:17px;margin-bottom:17px}.shop-grid{gap:9px}.shop-card{padding:12px}.shop-card h3{font-size:14px}.shop-card p{font-size:10px}.shop-card .weapon-spec{gap:9px;font-size:8px;flex-wrap:wrap}.shop-card .weapon-svg{width:100px;height:50px}.shop-card button{font-size:10px;padding:9px 4px}.guide-grid{gap:10px}.guide-item{padding:13px}.guide-item strong{font-size:11px}.guide-item p{font-size:10px}.guide-item .guide-number{font-size:20px}.placement-hint{font-size:10px;top:20%;padding:10px;white-space:normal;width:max-content;max-width:90%;text-align:center}.placement-hint button{font-size:9px;margin-left:8px}.pause-overlay h2,.result-overlay h2{font-size:23px}.result-overlay p{font-size:10px}.result-stats{gap:25px}.result-stats b{font-size:29px}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:600px){.arena-frame.focus-mode .joystick,.arena-frame:fullscreen .joystick{bottom:64px;left:30px}.arena-frame.focus-mode .touch-actions,.arena-frame:fullscreen .touch-actions{bottom:62px;right:30px}.arena-frame.focus-mode .player-hud,.arena-frame:fullscreen .player-hud{bottom:12px}.arena-frame.focus-mode .ammo-hud,.arena-frame:fullscreen .ammo-hud{bottom:8px}.arena-frame.focus-mode .game-announcement,.arena-frame:fullscreen .game-announcement{top:21%}.game-announcement strong{font-size:18px}.arena-frame.focus-mode .arena-toolbar,.arena-frame:fullscreen .arena-toolbar{height:31px}.arena-frame.focus-mode .arena-status,.arena-frame:fullscreen .arena-status{height:23px}}
.in-arena-prep{display:none;position:absolute;top:calc(20% + 100px);left:50%;transform:translateX(-50%);z-index:4;align-items:center;gap:7px;white-space:nowrap}.in-arena-prep>button{height:34px;min-width:34px;display:flex;align-items:center;justify-content:center;border:1px solid #899e585e;background:#223018e8;color:#d1e8a4;padding:6px 9px;gap:7px;font-size:10px}.in-arena-prep svg{height:15px;width:15px}.in-arena-prep .arena-start{background:#d3f56ae8;color:#273217;border-color:#d3f56a;font-weight:600;padding:6px 12px}.focus-mode .in-arena-prep{display:flex}.in-arena-prep>button:hover{filter:brightness(1.15)}
@media(max-width:520px){.in-arena-prep{display:flex}.controls-strip>span:not(.controls-title){display:none!important}.controls-strip .controls-title{display:flex!important}.controls-strip{min-width:0;flex-wrap:wrap}.site-header{gap:15px}.mission-sidebar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
/* Landscape play and a floating, touch-origin movement stick. */
body.screen-focused{overflow:hidden;overscroll-behavior:none}
body.arena-only .site-header,body.arena-only .mission-heading,body.arena-only .loadout-section,body.arena-only .mission-sidebar,body.arena-only .controls-strip,body.arena-only .site-footer{display:none}
body.arena-only main{padding:0;max-width:none}
body.arena-only .play-layout{display:block}
.arena-frame.battle-mode .arena-status,.arena-frame.battle-mode .live-label,.arena-frame.battle-mode #fullscreen-button,.arena-frame.battle-mode .map-location,.arena-frame.battle-mode .arena-corner{display:none}
.arena-frame.battle-mode .arena-toolbar{position:absolute;top:calc(8px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));height:44px;padding:0;border:0;background:transparent;z-index:9}
.arena-frame.battle-mode .arena-tools{gap:6px}
.arena-frame.battle-mode .arena-tools .icon-button{width:42px;height:42px;background:#182211b3;border:1px solid #9cab7344;border-radius:6px;color:#d4dfbe}
.arena-frame.battle-mode .arena-tools svg{width:18px;height:18px}
.arena-frame.battle-mode .sound-off{top:12px;left:20px}
.arena-frame.battle-mode .game-viewport{flex:1;width:100%;height:100%;min-height:0;aspect-ratio:auto}
.arena-frame.battle-mode .game-hud{top:calc(17px + env(safe-area-inset-top));left:calc(22px + env(safe-area-inset-left));right:calc(121px + env(safe-area-inset-right));align-items:center}
.arena-frame.focus-mode .player-hud{left:calc(22px + env(safe-area-inset-left));bottom:calc(15px + env(safe-area-inset-bottom))}
.arena-frame.focus-mode .ammo-hud{right:calc(22px + env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom))}
.arena-frame.focus-mode #game-canvas{position:absolute;inset:0;width:100%;height:100%}
.pause-links{display:flex;gap:24px;margin-top:17px}
.pause-links button{color:#bacaa5;font-size:11px;padding:8px;border-bottom:1px solid #687e454d}
.touch-device .touch-controls{display:flex;position:absolute;inset:0;pointer-events:none;z-index:3;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.joystick-zone{position:absolute;inset:0 auto 0 0;width:48%;touch-action:none;pointer-events:auto}
#joystick{position:absolute;bottom:auto;right:auto;width:96px;height:96px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #c8dc9488;background:#18211055;box-shadow:inset 0 0 0 13px #d5edaa09;pointer-events:none;touch-action:none}
#joystick-knob{position:absolute;left:calc(50% - 18px);top:calc(50% - 18px);width:36px;height:36px;border-radius:50%;background:#bdd39466;border:1px solid #d5eab4b0;pointer-events:none}
.joystick-hint{position:absolute;left:calc(25px + env(safe-area-inset-left));bottom:95px;font-size:9px;color:#c9d9ad88;letter-spacing:.4px;pointer-events:none}
.joystick-zone.is-active .joystick-hint{visibility:hidden}
.touch-device .touch-actions{position:absolute;right:calc(24px + env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));display:flex;align-items:flex-end;gap:16px;pointer-events:none}
.touch-device .touch-actions button{pointer-events:auto;touch-action:none;border-radius:50%;background:#2e3c22b8;border:1px solid #d1ed8a88;display:grid;place-items:center;color:#d5eead}
.touch-device #fire-button{width:76px;height:76px}
.touch-device #fire-button svg{width:32px;height:32px}
.touch-device #touch-switch{width:44px;height:44px;font-size:26px}
.touch-device #reload-button{min-width:38px;min-height:34px;display:grid;place-items:center}
.touch-device .arena-frame.focus-mode .touch-actions{right:calc(24px + env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom))}.touch-device .ammo-hud{right:calc(24px + env(safe-area-inset-right));bottom:calc(112px + env(safe-area-inset-bottom))}.touch-device .ammo-hud #reload-button{position:absolute;right:0;bottom:-48px;width:42px;height:42px;border:1px solid #d1ed8a88;border-radius:50%;background:#2e3c22d9;color:#d5eead}
.touch-device .arena-frame.focus-mode .in-arena-prep>button{min-width:44px;height:42px}
.touch-device .game-viewport.placing .touch-controls{display:none}
@media(orientation:landscape) and (max-height:600px){
 .touch-device .arena-frame.focus-mode .arena-toolbar{height:42px;padding-left:calc(12px + env(safe-area-inset-left));padding-right:calc(12px + env(safe-area-inset-right))}
 .touch-device .arena-frame.focus-mode .arena-tools .icon-button{min-width:40px;min-height:38px}
 .touch-device .arena-frame.focus-mode .arena-status{height:25px}
 .touch-device .arena-frame.battle-mode .arena-toolbar{height:44px;padding:0}
 .touch-device .arena-frame.battle-mode .arena-status{display:none}
 .touch-device .arena-frame.focus-mode .player-hud{bottom:calc(12px + env(safe-area-inset-bottom))}
 .touch-device .arena-frame.focus-mode .ammo-hud{bottom:calc(10px + env(safe-area-inset-bottom))}
 .touch-device .arena-frame.focus-mode .game-announcement{top:20%}
 .touch-device .arena-frame.focus-mode .game-announcement strong{font-size:18px}
 .touch-device .arena-frame.focus-mode .game-announcement p{font-size:10px}
 .touch-device .arena-frame.focus-mode .in-arena-prep{top:calc(20% + 89px)}
 .pause-overlay h2,.result-overlay h2{font-size:23px;margin:8px 0}
 .pause-overlay p,.result-overlay p{margin:5px 0 15px}
 .pause-overlay .primary-button{min-height:42px}
 .pause-links{margin-top:8px}
 .result-stats{margin:4px 0 12px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Portrait phones: rotate the arena so play is landscape from the very start.
   This is pure CSS, so it holds regardless of how rotation events are delivered. */
@media(pointer:coarse) and (orientation:portrait){
 /* Combat remains an arena-only landscape surface. */
 .arena-frame.battle-mode,.arena-frame:fullscreen{
  top:0;right:auto;bottom:auto;left:100vw;
  width:100dvh;height:100vw;
  transform:rotate(90deg);transform-origin:0 0;
 }
 /* Before combat, rotate the complete preparation document so operation,
    defense construction, armory, guide, and settings are all landscape. */
 body.touch-device:not(.arena-only){
  position:fixed;top:0;left:100vw;width:100dvh;height:100vw;
  overflow:hidden;transform:rotate(90deg);transform-origin:0 0;
 }
 body.touch-device:not(.arena-only) dialog{
  width:min(92dvh,900px);height:72vw;max-width:none;max-height:none;
  transform:none;
 }
 body.touch-device.arena-only dialog{
  width:min(92dvh,900px);max-width:none;max-height:88vw;
  transform:rotate(90deg);transform-origin:center;
 }
 body.touch-device dialog .dialog-header{position:sticky;top:0}
}
.shop-card .upgrade-button{margin-top:6px;color:var(--accent);border-color:#a9c75e88;background:#849d321c}.wave-clear-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:#0b100ce8;backdrop-filter:blur(5px);pointer-events:all}.wave-clear-card{width:min(560px,82vw);padding:42px 48px;text-align:center;border:1px solid #c4dc8066;background:linear-gradient(135deg,#1a2418f5,#0e1510f5);box-shadow:0 0 0 1px #d3f56a16,0 22px 70px #000b;color:var(--text)}.multiplayer-panel{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#0a0f0be8;backdrop-filter:blur(6px)}.multiplayer-card{position:relative;width:min(520px,90vw);padding:36px 42px;border:1px solid #82975e;background:#171f16f5;box-shadow:0 24px 80px #000c}.multiplayer-card h2{margin:8px 0;font-family:var(--display);font-size:32px}.multiplayer-intro{color:#aebba0;margin:0 0 22px}.multiplayer-close{position:absolute;top:14px;right:14px}.multiplayer-card label{display:grid;gap:7px;color:#becbad;font-size:11px}.multiplayer-card input{width:100%;padding:12px;border:1px solid #56674a;background:#0e150e;color:var(--text);font:inherit}.multiplayer-actions{display:grid;gap:10px;margin-top:16px}.room-join{display:grid;grid-template-columns:1fr auto;gap:8px}.secondary-button{padding:10px 18px;border:1px solid #8fa36a;background:#26341f;color:#d3f56a}.room-status{min-height:20px;margin:18px 0 10px;color:#bdd18d}.room-status.error{color:#e79a81}.room-members{display:flex;flex-wrap:wrap;gap:7px}.room-members span{padding:5px 9px;border:1px solid #596c4b;color:#c2d1aa;font-size:11px}.wave-clear-card .eyebrow{color:var(--accent);letter-spacing:3px}.wave-clear-card strong{display:block;margin:14px 0 9px;font-family:var(--display);font-size:clamp(28px,4vw,48px);letter-spacing:2px}.wave-clear-card p{margin:0;color:#b7c39f;font-size:14px}.wave-clear-rule{display:block;width:100px;height:2px;margin:24px auto 0;background:var(--accent);box-shadow:0 0 16px #d3f56a88}@media(max-width:600px){.wave-clear-card{padding:30px 24px}.wave-clear-card p{font-size:11px}}
