:root{color-scheme:dark;--bg:#0b1412;--panel:#12211dee;--ink:#f1f1dc;--muted:#a5b7a6;--acid:#d5e9a1;--gold:#dfbc79;--line:#c2d6b42c;--danger:#ff8d78;font-family:Inter,'Noto Sans KR',system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);overflow-x:hidden}body.playing{overflow:hidden}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:#1e3027;border-radius:10px;transition:background .15s,border-color .15s,transform .15s}button:hover{border-color:#d5e9a199;background:#304732}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--acid);outline-offset:4px}[hidden]{display:none!important}a{color:inherit}input,select{color:var(--ink);background:#08150fd9;border:1px solid var(--line);border-radius:9px;padding:12px;width:100%;min-width:0}input::placeholder{color:#849781}input[type=checkbox]{width:auto;accent-color:var(--acid)}h1,h2,p{margin-top:0}small{line-height:1.5}.eyebrow{font:10px monospace;letter-spacing:2px;color:var(--acid);text-transform:uppercase}.muted{color:var(--muted);font-size:12px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#world{position:fixed;inset:0;width:100%;height:100%;z-index:0}.shade{position:fixed;inset:0;background:linear-gradient(100deg,#07130eee 0%,#07150dbb 45%,#0b181484 100%);z-index:1;pointer-events:none}.playing .shade{display:none}.topbar{position:relative;z-index:15;display:flex;align-items:center;justify-content:space-between;height:82px;padding:0 5%;border-bottom:1px solid var(--line);background:#0a17118c}.brand{display:flex;align-items:center;gap:13px;text-decoration:none}.seal{display:grid;place-items:center;width:36px;height:40px;border:1px solid var(--acid);color:var(--acid);font:28px serif}.brand strong{font-size:28px;letter-spacing:2px}.brand-sub{font:8px monospace;letter-spacing:1.7px;line-height:1.7;color:var(--muted)}.edition{font:10px monospace;color:#bcc8ac}.edition span{margin-left:18px;color:#83947d}.header-actions{display:flex;gap:8px}.header-actions button{padding:9px 12px;background:#0f2118b3;font-size:10px}.header-actions span{color:var(--acid)}.playing .topbar{position:fixed;top:0;left:0;right:0;height:57px;padding:0 22px;background:#0b1712ad}.playing .brand strong{font-size:21px}.playing .seal{width:26px;height:29px;font-size:21px}.playing .brand-sub,.playing .edition{display:none}
.menu{position:relative;z-index:3;max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:76px;padding:56px 40px 48px;align-items:start;min-height:calc(100vh - 140px)}.intro{padding-top:12px}.intro h1{font-size:clamp(42px,4.6vw,65px);line-height:1.19;letter-spacing:-3px;margin:24px 0}.intro h1 em{font-style:normal;color:var(--acid)}.intro-copy{font-size:14px;line-height:1.95;color:#b9c9b4}.mission-tags{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0}.mission-tags span{font-size:10px;border:1px solid var(--line);padding:7px 11px;border-radius:30px;background:#b7c78c0a}.hero-display{position:relative;height:245px;overflow:hidden;border:1px solid #c6d6ae3a;border-radius:16px;background:radial-gradient(ellipse at 80% 30%,#526849,#11271c)}.hero-display>img{position:absolute;right:0;top:-10%;width:54%;height:125%;object-fit:cover;object-position:center 35%;mask-image:linear-gradient(90deg,transparent,#000 18%)}.hero-caption{position:absolute;left:24px;bottom:26px;width:56%;z-index:1;text-shadow:0 2px 10px #07130e}.hero-caption h2{font-size:28px;margin:13px 0 8px;letter-spacing:-1px}.hero-caption p{font-size:11px;line-height:1.8;color:#c2d2b8}.hero-stats{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:10px;color:#b7caa8}.hero-stats b{color:var(--ink);font-size:12px;margin-left:4px}.hero-stats>span:last-child{width:100%;color:var(--gold)}.classic-link{display:inline-block;margin-top:23px;font-size:11px;color:#a8bca0;text-decoration:none}
.panel{border:1px solid #bccfae38;background:linear-gradient(135deg,#23392bdc,#101e19f2);border-radius:18px;box-shadow:0 20px 70px #0004;backdrop-filter:blur(18px);padding:30px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading .eyebrow{margin:0}.small-number{font-size:9px;color:var(--muted)}.setup h2{font-size:23px;margin:17px 0 23px;letter-spacing:-1px}.role-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.role{overflow:hidden;padding:0 0 12px;background:#0e2118;text-align:left;position:relative;border-radius:11px}.role .portrait{width:100%;height:108px;object-fit:cover;object-position:center 29%;display:block;filter:saturate(.65);border-bottom:1px solid var(--line)}.role strong{display:block;margin:11px 9px 3px;font-size:11px}.role small{font-size:9px;color:var(--muted);margin:0 9px}.role.selected{border-color:var(--acid);background:#d5e9a111;box-shadow:0 0 0 1px #d5e9a130}.role.selected:after{content:'✓';position:absolute;top:7px;right:7px;background:var(--acid);color:#122519;border-radius:50%;width:20px;height:20px;text-align:center;font-size:13px}.role.selected .portrait{filter:none}.input-label{display:flex;justify-content:space-between;margin:23px 0 8px;font-size:11px}.input-label span{font-size:9px;color:var(--muted)}.mode-tabs{display:flex;padding:4px;background:#07130d88;border:1px solid var(--line);border-radius:10px;margin-top:22px;gap:4px}.mode-tabs button{width:50%;padding:11px;border:0;background:transparent;font-size:12px;color:var(--muted)}.mode-tabs .active{background:#d5e9a11d;color:var(--ink);box-shadow:inset 0 0 0 1px #bcd59144}.mode-tabs span{font:9px monospace;color:var(--acid);margin-left:4px}.mode-copy{color:var(--muted);font-size:12px;line-height:1.8;margin:22px 0}.primary,.secondary{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px 18px;font-size:14px;font-weight:650;border-radius:10px}.primary{background:var(--acid);color:#162719;border-color:var(--acid)}.primary:hover{background:#e4f4bb;color:#112014}.primary span{font-size:19px}.secondary{background:#263c2b}.online-divider,.room-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:19px 0 13px}.online-divider>span:last-child{font-size:9px;color:var(--muted)}.online-divider .eyebrow{letter-spacing:1px}.room-list-heading strong{font-size:12px}.small-button{padding:6px 9px;font-size:10px;background:transparent}.public-rooms{max-height:200px;overflow:auto;display:grid;gap:7px;scrollbar-width:thin}.rooms-empty{margin:0;padding:23px 14px;text-align:center;border:1px dashed var(--line);border-radius:10px;font-size:11px;color:var(--muted);line-height:1.8}.public-room{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:12px;background:#10241acc}.public-room strong{font-size:12px;display:block;margin-bottom:4px}.public-room small{font-size:10px;color:var(--muted)}.public-room>b{color:var(--acid);font-size:11px;white-space:nowrap}.public-option{display:flex;gap:8px;align-items:center;font-size:11px;margin:18px 0 12px}.public-option small{margin-left:auto;font-size:9px;color:var(--muted)}.public-option input{margin:0}.code-join{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.code-join summary{cursor:pointer;font-size:11px;color:var(--muted)}.join-row{display:flex;gap:8px;margin-top:12px}.join-row input{text-transform:uppercase;letter-spacing:2px}.join-row button{flex:none;padding:0 15px;font-size:11px}.connection-note{font-size:10px;color:var(--muted);line-height:1.7;margin:15px 0 0}#menu-footer{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin:0 5%;padding:18px 0;font-size:9px;color:#91a388}#menu-footer b{color:var(--acid)}#menu-footer i{font-style:normal;margin:0 9px}
.dialog-wrap{position:fixed;inset:82px 0 0;z-index:10;display:grid;place-items:center;padding:32px;background:#06110ba8;overflow:auto}.lobby-panel{width:min(880px,100%)}.lobby-panel h2{font-size:28px;margin:23px 0 9px;letter-spacing:-1px}.visibility-badge{color:var(--acid);border:1px solid var(--line);border-radius:30px;padding:5px 10px;font-size:10px}.lobby-players{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}.lobby-member{border:1px solid var(--line);border-radius:12px;background:#0b1913;overflow:hidden;min-height:220px;text-align:center}.lobby-member img{display:block;width:100%;height:165px;object-fit:cover;object-position:center 30%}.lobby-member strong{display:block;font-size:13px;margin:13px 6px 4px}.lobby-member small{display:block;font-size:10px;color:var(--muted)}.ready-label{display:inline-block;border-radius:20px;background:#637c372a;color:var(--acid);padding:5px 10px;font-size:10px;margin:11px}.lobby-member.waiting{display:flex;flex-direction:column;align-items:center;justify-content:center;border-style:dashed;background:#16281a77}.lobby-member.waiting>b{font-size:36px;color:#758b69;font-weight:300;margin-bottom:16px}.lobby-controls{display:flex;justify-content:space-between;gap:22px;align-items:end}.lobby-controls>label{font-size:11px;flex:1}.lobby-controls select{display:block;margin-top:8px}.room-display{padding:10px 15px;text-align:left;display:grid;grid-template-columns:auto auto;gap:4px 15px;background:#102419}.room-display span{font-size:9px;color:var(--muted)}.room-display strong{grid-row:2;letter-spacing:4px;font:19px monospace}.room-display small{font-size:9px;grid-column:2;grid-row:2;align-self:center}.lobby-panel>.primary{margin-top:15px}.text-button{display:block;border:0;background:transparent;color:var(--muted);padding:14px 0 0;font-size:11px;margin:auto}.result-panel{width:min(480px,100%);text-align:center}.result-panel h2{font-size:27px}.result-stats{display:flex;justify-content:space-around;border-block:1px solid var(--line);padding:24px 0;margin:25px 0}.result-stats strong{font:30px monospace;display:block;color:var(--acid)}.result-stats span{font-size:11px;color:var(--muted)}#result-team p{display:flex;justify-content:space-between;font-size:11px}.result-panel .primary{margin-top:23px}
#hud{position:relative;z-index:4;pointer-events:none}.health-panel,#tower-hud{position:fixed;top:77px;border:1px solid #bfd6b755;border-radius:12px;background:#0b1b14ee;box-shadow:0 5px 22px #0004;padding:13px}.health-panel{left:22px;width:260px;display:flex;gap:12px;align-items:center}.health-panel>img{width:48px;height:54px;object-fit:cover;object-position:center 30%;border:1px solid var(--line);border-radius:8px}.health-main{flex:1;min-width:0}.health-heading,.tower-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:9px}.health-heading strong,.tower-heading strong{font-size:12px;color:#e5f1cc}.health-heading span{font:bold 13px monospace}.bar{height:4px;background:#a6b79725;border-radius:3px;overflow:hidden}.bar i{display:block;height:100%;background:var(--acid);width:0;transition:width .12s}.health-bar{height:12px;background:#030c0899;border:1px solid #c2d6ae22}.health-panel small{display:block;font-size:10px;color:var(--muted);margin-top:7px}#tower-hud{left:50%;transform:translateX(-50%);width:300px}#tower-percent{font:bold 20px monospace;color:var(--acid)}#tower-health{font:11px monospace;display:inline-block;color:#dae6c8;margin-top:6px}#tower-status{float:right;font-size:9px;color:var(--muted);margin-top:8px}.health-panel.critical,#tower-hud.critical{border-color:#ff9476;background:#321c18ef}.critical .health-bar i{background:var(--danger)}.health-panel.critical small,#tower-hud.critical #tower-status,#tower-hud.critical #tower-percent{color:#ffb39e}.round-top{position:fixed;right:22px;top:81px;display:flex;gap:24px;text-align:right;align-items:start}.objective{display:none}.timer small,.kill-counter small{font-size:9px;display:block;color:var(--muted)}.timer strong{font:32px monospace;display:block;margin:5px 0}.timer>span{font:9px monospace;color:var(--muted)}.kill-counter strong{display:block;font:25px monospace;margin:5px 0}.kill-counter>span{font:9px monospace;color:var(--acid)}#enemy-count{font:9px monospace;margin-top:7px}.xp{position:fixed;top:176px;left:50%;transform:translateX(-50%);width:300px;display:flex;align-items:center;gap:9px;font:11px monospace}.xp .bar{flex:1;height:5px}.xp small{font-size:9px;color:var(--muted)}.team{position:fixed;top:179px;left:22px;width:190px}.team-member{border:1px solid var(--line);border-radius:8px;background:#0b1b14c9;padding:10px;margin-bottom:7px}.member-heading{display:flex;justify-content:space-between;font-size:10px;gap:7px;margin-bottom:7px}.member-heading small{font-size:8px;color:var(--muted)}.health-text{font:9px monospace;color:var(--muted);display:block;margin-top:5px}#boss-hud{position:fixed;left:50%;transform:translateX(-50%);top:207px;width:310px;text-align:center}#boss-name{color:#ffb29a;font-size:11px;display:block;margin-bottom:7px}#boss-hud .bar{height:7px}#boss-fill{background:#f29a74}.wave-banner{position:fixed;left:50%;top:32%;transform:translateX(-50%);font-size:13px;color:#ecf4c9;text-shadow:0 2px 12px #000;white-space:nowrap}.bottom-hud{position:fixed;bottom:22px;left:22px;right:22px;display:flex;align-items:flex-end;justify-content:space-between}.bottom-hud .eyebrow{font-size:9px;display:block;margin-bottom:8px}#loadout{display:flex;flex-wrap:wrap;gap:5px;max-width:min(360px,calc(50vw - 110px));max-height:115px;overflow:auto;pointer-events:auto;scrollbar-width:thin}.weapon-slot{width:49px;height:52px;border:1px solid #aec88b55;background:#0c2018e8;border-radius:6px;display:flex;align-items:center;flex-direction:column;justify-content:center;position:relative;flex:none}.weapon-slot small{font-size:7px;color:#d7e2c7;line-height:14px}.weapon-slot b{position:absolute;right:4px;top:3px;font:8px monospace;color:#eeefd4}.weapon-slot.passive{border-color:#84b6bd55}.skill-art{display:block;flex:none;background-image:url('assets/art/skills/sheet-transparent.png');background-size:600% 300%;background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat;filter:drop-shadow(0 2px 3px #0008)}.weapon-slot>.skill-art{width:34px;height:34px}.dash-status{position:absolute;left:50%;transform:translateX(-50%);width:130px;pointer-events:auto}#dash-button{padding:12px 9px;width:100%;background:#183522e8;font-size:12px}.dash-status .bar{margin-top:5px}.exit-button{padding:10px 14px;background:#101f18d9;font-size:10px;pointer-events:auto}kbd{font:9px monospace;padding:3px;border:1px solid var(--line);border-radius:3px;margin-left:5px;color:#daebc3}.down-notice{position:fixed;left:50%;top:58%;transform:translate(-50%,-50%);padding:22px;background:#251d17ee;border:1px solid #d9ad76;border-radius:12px;text-align:center;font-size:21px;color:#f1bc81}.down-notice span{display:block;margin-top:10px;font-size:11px;color:#d0c2ab}#joystick{display:none;position:fixed;left:25px;bottom:142px;width:108px;height:108px;border:1px solid #d0e2a655;border-radius:50%;background:#13261966;touch-action:none;pointer-events:auto}#joystick>div{position:absolute;left:34px;top:34px;width:38px;height:38px;border-radius:50%;background:#c1dba24d;border:1px solid #d7e8ac88;pointer-events:none}
.upgrade-wrap{position:fixed;z-index:8;top:235px;right:22px;width:260px;pointer-events:none;max-height:calc(100dvh - 350px);overflow:auto;scrollbar-width:thin}.upgrade-heading{background:#0c1c15e8;border:1px solid var(--line);border-radius:10px 10px 0 0;padding:12px}.upgrade-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.upgrade-heading h2{font-size:17px;margin:8px 0}.upgrade-heading p{font-size:9px;color:var(--muted);margin-bottom:0;line-height:1.6}#upgrade-cards{display:grid;gap:7px;margin-top:7px;pointer-events:auto}.upgrade-card{position:relative;text-align:left;padding:12px 12px 10px 67px;min-height:110px;background:#10251df5;border:1px solid #d2df9c77;border-radius:10px;touch-action:manipulation}.upgrade-card:hover{background:#2a4028}.upgrade-card>.skill-art{position:absolute;left:9px;top:32px;width:50px;height:50px}.skill-kind{display:block;color:#b4c6a6;font-size:8px;margin:0 22px 6px 0}.upgrade-card strong{display:block;font-size:12px;margin-bottom:5px}.upgrade-card small{font-size:10px;color:#b6c9af;display:block;line-height:1.5}.upgrade-card em{font:8px monospace;color:var(--acid);display:block;margin-top:7px}.upgrade-card kbd{position:absolute;right:9px;top:10px}.close-button{float:right;background:transparent;border:0;font-size:27px;color:var(--muted)}dialog{background:#112419;color:var(--ink);border:1px solid #a7c58466;border-radius:15px;width:min(500px,92vw);padding:26px;max-height:85dvh}dialog::backdrop{background:#06110bc9}dialog h2{font-size:23px}dialog>p{font-size:12px;line-height:1.8}dl{font-size:12px;line-height:1.8}dt{color:var(--acid);margin-top:13px}dd{margin:4px 0;color:#b7c7ae}#toast{position:fixed;bottom:110px;left:50%;transform:translate(-50%,15px);opacity:0;z-index:30;pointer-events:none;border:1px solid #d5e9a1;background:#d5e9a1;color:#162619;border-radius:10px;padding:12px 20px;max-width:90vw;text-align:center;font-size:12px;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.edition{display:none}.menu{gap:35px;padding-inline:28px}.intro h1{font-size:48px}.panel{padding:24px}.hero-caption{left:18px}.hero-caption h2{font-size:24px}.hero-caption p{font-size:10px}.health-panel{width:230px}.round-top{gap:13px}#tower-hud{width:270px}.xp{width:270px}.upgrade-wrap{width:235px}.upgrade-card{padding-left:59px}.upgrade-card>.skill-art{width:44px;height:44px}.upgrade-card small{font-size:9px}}
@media(max-width:760px){.topbar{height:65px;padding:0 18px}.brand strong{font-size:23px}.brand-sub{display:none}.header-actions{gap:5px}.header-actions button{padding:8px;font-size:9px}.menu{display:flex;flex-direction:column;gap:26px;padding:28px 18px;min-height:auto}.intro{width:100%;padding:0}.intro h1{font-size:39px;line-height:1.2;margin:17px 0;letter-spacing:-2px}.intro-copy{font-size:12px;line-height:1.8;margin-bottom:12px}.mission-tags{margin:16px 0}.hero-display{height:170px}.hero-display>img{width:46%;top:-25%;height:150%}.hero-caption{left:18px;bottom:18px}.hero-caption h2{font-size:23px;margin:8px 0 4px}.hero-caption p{margin-bottom:7px}.hero-stats{font-size:9px;gap:5px 12px}.hero-stats>span:last-child{display:none}.classic-link{font-size:10px;margin-top:13px}.setup{width:100%;padding:20px}.setup h2{font-size:22px;margin:14px 0 19px}.small-number{font-size:8px}.role .portrait{height:105px}.role strong{font-size:10px}.role small{font-size:9px}.role-picker{gap:8px}.public-option small{font-size:8px}.online-divider .eyebrow{font-size:8px}.public-rooms{max-height:190px}#menu-footer{font-size:8px;margin:0 18px}#menu-footer>span:not(:first-child){display:none}.dialog-wrap{inset:65px 0 0;padding:18px}.lobby-panel{padding:20px}.lobby-panel h2{font-size:21px}.lobby-players{gap:8px;margin:20px 0}.lobby-member{min-height:180px}.lobby-member img{height:110px}.lobby-member strong{font-size:10px;overflow-wrap:anywhere}.lobby-member small{font-size:8px}.ready-label{font-size:9px;margin:8px 0;padding:4px 7px}.lobby-controls{flex-direction:column;align-items:stretch;gap:12px}.room-display{display:flex;align-items:center;justify-content:space-between;padding:10px}.room-display strong{font-size:17px}.lobby-panel>.muted{font-size:10px}.playing .topbar{height:52px;padding:0 14px}.health-panel,#tower-hud{top:66px;padding:10px;border-radius:10px;width:calc(50% - 20px)}.health-panel{left:14px;gap:7px}.health-panel>img{width:32px;height:43px}.health-heading,.tower-heading{gap:3px;margin-bottom:7px;flex-wrap:wrap}.health-heading strong,.tower-heading strong{font-size:10px}.health-heading span{font-size:11px}.health-panel small{font-size:8px;margin-top:5px}.health-bar{height:10px}#tower-hud{right:14px;left:auto;transform:none;min-height:91px}#tower-percent{font-size:15px}#tower-health{font-size:9px;margin-top:5px}#tower-status{float:none;display:block;font-size:8px;margin-top:4px;line-height:1.3}.xp{top:171px;left:14px;transform:none;width:56%;font-size:9px;gap:6px}.xp small{font-size:8px}.round-top{top:164px;right:14px;gap:10px}.timer strong{font-size:19px;margin:0}.timer small,.timer>span,.kill-counter small,#enemy-count{display:none}.kill-counter strong{font-size:19px;margin:0}.kill-counter>span{font-size:7px}.team{left:14px;top:199px;width:113px}.team-member{padding:7px}.member-heading{font-size:8px;display:block;margin-bottom:5px}.member-heading small{font-size:7px;display:none}.health-text{font-size:8px}#boss-hud{top:201px;left:auto;right:14px;transform:none;width:53%}#boss-name{font-size:9px;margin-bottom:5px}.wave-banner{top:39%;font-size:11px;max-width:80vw;white-space:normal;text-align:center}.bottom-hud{bottom:16px;left:14px;right:14px}#loadout{max-width:65vw;max-height:105px;gap:4px}.weapon-slot{width:40px;height:48px}.weapon-slot>.skill-art{width:30px;height:30px}.weapon-slot small{font-size:6px}.bottom-hud .eyebrow{font-size:8px}.dash-status{left:auto;right:0;bottom:135px;transform:none;width:76px}#dash-button{height:76px;border-radius:50%;font-size:13px}#dash-button kbd{display:none}.exit-button{font-size:9px;padding:9px}#joystick{display:block;left:18px;bottom:140px}.upgrade-wrap{top:245px;left:14px;right:14px;width:auto;max-height:175px;overflow:visible}.upgrade-heading{padding:6px 9px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:4px}.upgrade-heading .eyebrow{display:none}.upgrade-heading h2{font-size:11px;margin:0;white-space:nowrap}.upgrade-heading p{font-size:8px;margin:0}#upgrade-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:5px}.upgrade-card{padding:7px;min-height:128px}.upgrade-card>.skill-art{position:static;width:34px;height:34px;margin:0 auto 4px}.skill-kind{font-size:7px;margin:0 16px 3px 0;white-space:nowrap}.upgrade-card strong{font-size:10px;margin-bottom:4px}.upgrade-card small{font-size:8px;line-height:1.4}.upgrade-card em{font-size:7px;margin-top:4px}.upgrade-card kbd{right:5px;top:5px;font-size:7px;padding:2px}.down-notice{width:88%;font-size:18px}.down-notice span{font-size:10px}.result-panel{padding:24px}}
@media(max-height:750px) and (min-width:761px){.topbar{height:65px}.menu{padding-top:28px;gap:45px}.intro h1{font-size:48px}.hero-display{height:200px}.dialog-wrap{inset:65px 0 0}.lobby-member img{height:130px}.lobby-member{min-height:190px}.lobby-players{margin:17px 0}.lobby-panel h2{margin-top:15px}.upgrade-wrap{top:203px;max-height:calc(100dvh - 275px)}.upgrade-heading{padding:9px}.upgrade-card{min-height:93px}}
@media(max-width:760px) and (max-height:740px){.upgrade-wrap{top:230px}.upgrade-card small{font-size:7px}.upgrade-card{min-height:115px}.upgrade-card>.skill-art{width:28px;height:28px}.upgrade-heading p{font-size:7px}}
@media(pointer:coarse){#joystick{display:block}.dash-status{left:auto;right:0;bottom:142px;transform:none}.dash-status kbd{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media(max-width:760px){.playing.choosing .team,.playing.choosing .wave-banner{display:none}}
@media(max-width:760px) and (orientation:landscape){.upgrade-wrap{top:185px;left:auto;right:12px;width:210px;max-height:calc(100dvh - 205px);overflow:auto}.upgrade-heading{display:block}.upgrade-heading h2{margin-bottom:4px}#upgrade-cards{grid-template-columns:1fr}.upgrade-card{min-height:93px;padding:9px 9px 9px 54px}.upgrade-card>.skill-art{position:absolute;left:8px;top:28px;width:39px;height:39px}.playing.choosing #boss-hud{left:14px;right:auto;width:42%}}


/* Official game landing page. Gameplay stays in the world canvas after deployment. */
html{scroll-behavior:smooth;scroll-padding-top:80px}body.menu-active{background:#090f10}.menu-active .shade,.menu-active #thermal{display:none}.menu-active .topbar{position:absolute;inset:0 0 auto;height:86px;padding:0 5%;border-color:#d4d8bd24;background:linear-gradient(#071010d9,#07101022)}
.landing-nav{display:none;gap:38px;align-items:center;font-size:11px;letter-spacing:1px}.menu-active .landing-nav{display:flex}.landing-nav a{text-decoration:none;color:#d2d9cb}.landing-nav a:hover{color:#f4d7a3}.landing-nav .nav-play{border-bottom:1px solid #cdae71;padding:10px 0;color:#eed5a5}
.menu{display:block;max-width:none;margin:0;padding:0;min-height:0}.landing-hero{min-height:800px;height:100svh;max-height:1100px;position:relative;overflow:hidden;display:flex;align-items:center;background:#101e21}.landing-keyart{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center}.landing-atmosphere{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#061013bb 0%,#07101355 35%,#07101300 65%),linear-gradient(0deg,#090f10 0%,#090f1011 30%,#090f1000 70%,#07101344 100%)}
.hero-content{position:relative;z-index:1;padding:100px 7% 110px;width:100%;max-width:1600px;margin:auto}.hero-content>.eyebrow{color:#d1bb8e;font-size:10px;letter-spacing:4px;margin-bottom:25px}.hero-content h1{font-family:'Noto Serif KR','Nanum Myeongjo',serif;font-size:clamp(105px,11vw,166px);font-weight:800;letter-spacing:16px;line-height:1.08;margin:0 0 32px;color:#eee9d4;text-shadow:0 4px 30px #06101080}.hero-content h1>span{display:block;font-family:system-ui,sans-serif;font-size:15px;letter-spacing:10px;font-weight:400;margin-top:17px;margin-left:6px;color:#d4c8a8}.hero-tagline{font-size:25px;letter-spacing:-.8px;margin-bottom:16px;color:#f0e9d7}.hero-description{font-size:13px;line-height:2;color:#b7c7c5;margin-bottom:30px;text-shadow:0 2px 12px #061013}.hero-actions{display:flex;gap:12px}.hero-actions a{display:flex;align-items:center;justify-content:space-between;gap:42px;min-width:188px;padding:17px 23px;text-decoration:none;font-size:13px;transition:background .2s,transform .2s;border:1px solid #bdac7e}.landing-primary{background:#d8c397;color:#172020;font-weight:700}.landing-primary:hover{background:#f0ddb4;transform:translateY(-2px)}.landing-secondary{background:#111c20aa;color:#e4d8bc}.landing-secondary:hover{background:#384641aa;transform:translateY(-2px)}.hero-actions span{font-size:18px}.hero-platform{font-size:10px;color:#9eafad;margin:17px 0 0;letter-spacing:.5px}.hero-platform>span{margin:0 8px}.hero-bottom{position:absolute;left:5%;right:5%;bottom:30px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d2c6a62b;padding-top:20px;color:#b3b8a8;font:9px monospace;letter-spacing:1.4px}.hero-bottom i{font-style:normal;color:#736e59;margin:0 10px}.hero-bottom>a{text-decoration:none;color:#c3c9b5;font-family:system-ui;font-size:10px}.hero-bottom b{display:inline-block;margin-left:15px;color:#dfc590}
.story-section{padding:105px 7% 95px;max-width:1500px;margin:auto}.story-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:48px}.story-heading .eyebrow,.deployment-heading .eyebrow{color:#c5ab76;letter-spacing:3px}.story-heading h2{font-size:32px;line-height:1.6;font-weight:500;letter-spacing:-1.2px;margin-bottom:0}.story-heading h2 em{font-style:normal;color:#a6b5ae}.story-heading>p{font-size:12px;line-height:2.1;color:#8faaa5;margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}.feature{position:relative;border-top:1px solid #9aab963e;padding-top:20px}.feature-number{font:9px monospace;letter-spacing:2px;color:#a69571}.feature-art{height:200px;position:relative;display:flex;align-items:center;justify-content:center;margin:8px 0 22px;overflow:hidden;background:radial-gradient(ellipse,#36564733,transparent 70%)}.tower-feature img{height:200px;filter:drop-shadow(0 4px 28px #99dabf22)}.feature h3{font-size:18px;font-weight:500;letter-spacing:-.5px;margin:0 0 13px}.feature>p{font-size:11px;line-height:1.9;color:#8fa59d;margin:0}.skills-feature{gap:12px}.skills-feature .skill-art{width:80px;height:80px;transform:rotate(-10deg);filter:drop-shadow(0 6px 12px #0005)}.skills-feature .skill-art:nth-child(2){width:110px;height:110px;transform:translateY(-8px);z-index:1}.skills-feature .skill-art:nth-child(3){transform:rotate(10deg)}.squad-feature{gap:0;padding-top:10px}.squad-feature img{height:151px;width:29%;object-fit:cover;object-position:center 30%;border:1px solid #9cad9144;filter:saturate(.75);mask-image:linear-gradient(#000 65%,transparent)}.squad-feature img:nth-child(2){height:185px;width:34%;z-index:1;filter:none}
.deployment-section{padding:80px 7% 100px;background:radial-gradient(ellipse at 20% 60%,#22383377,transparent 65%),#0d1717;border-block:1px solid #b9b99420;scroll-margin-top:0}.deployment-heading{max-width:1290px;margin:0 auto 43px}.deployment-heading h2{font-size:31px;font-weight:500;letter-spacing:-1px;margin:20px 0 15px}.deployment-heading>p{font-size:12px;color:#98ada5}.deployment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,440px);gap:70px;max-width:1290px;margin:auto;align-items:start}.survivor-showcase{min-width:0}.hero-display{height:545px;position:relative;border:0;border-bottom:1px solid #b1cba44d;border-radius:0;background:radial-gradient(ellipse at 60% 40%,#3e5144,#0c1817 75%);overflow:hidden}.hero-display>img{position:absolute;width:100%;height:100%;top:0;left:0;object-fit:cover;object-position:center 25%;mask-image:linear-gradient(#000 45%,#0005 78%,transparent)}.hero-caption{position:absolute;left:26px;bottom:27px;width:85%;text-shadow:0 2px 12px #041410}.hero-caption .eyebrow{font-size:9px;color:#d2b783}.hero-caption h2{font-size:35px;letter-spacing:-1px;margin:13px 0 12px}.hero-caption p{font-size:12px;color:#c5d1c0}.hero-stats{gap:10px 22px;font-size:11px;color:#afc1ac}.hero-stats b{font-size:14px}.hero-stats>span:last-child{width:auto;color:#dac195}.classic-link{margin-top:20px;color:#829d94}.setup{padding:27px;background:#0d1c19cc;border:1px solid #adbdaa3d;border-radius:3px;backdrop-filter:none;box-shadow:none}.setup h2{font-size:22px;margin:19px 0 24px}.setup .panel-heading .eyebrow{color:#cdb583;letter-spacing:1.5px}.role{border-radius:2px;transition:transform .2s,border-color .2s}.role:hover{transform:translateY(-4px)}.role.selected{border-color:#d3bc87;background:#c4b57d12;box-shadow:none}.role.selected:after{background:#d3bc87}.role .portrait{height:110px}.setup .primary{background:#d3bf91;border-color:#d3bf91;border-radius:3px;color:#10231d}.setup .primary:hover{background:#e4d3af}.setup .mode-tabs,.setup input,.setup .mode-tabs button{border-radius:3px}#menu-footer{margin:0;padding:30px 5%;background:#090f10;border:0;font-size:9px;color:#82988f}
@media(min-width:761px) and (max-height:800px){.landing-hero{min-height:740px}.hero-content{padding-top:115px;padding-bottom:110px}.hero-content h1{font-size:120px}.hero-tagline{font-size:22px}}
@media(max-width:1050px){.landing-nav{gap:22px}.hero-content{padding-inline:6%}.hero-content h1{font-size:116px}.story-section{padding:80px 6%}.story-heading{gap:25px}.story-heading h2{font-size:27px}.story-heading>p{font-size:10px}.feature-grid{gap:23px}.feature-art{height:170px}.feature h3{font-size:16px}.feature>p{font-size:10px}.skills-feature{gap:4px}.skills-feature .skill-art{width:60px;height:60px}.skills-feature .skill-art:nth-child(2){width:84px;height:84px}.deployment-section{padding:70px 6%}.deployment-grid{gap:30px;grid-template-columns:minmax(0,1fr) 360px}.hero-display{height:520px}.hero-caption h2{font-size:29px}.setup{padding:22px}}
@media(max-width:760px){html{scroll-padding-top:20px}.menu-active .topbar{height:68px;padding:0 20px}.menu-active .landing-nav{display:none}.menu{padding:0;gap:0}.landing-hero{height:100svh;min-height:720px;max-height:1000px}.landing-keyart{object-position:64% center;opacity:.8}.landing-atmosphere{background:linear-gradient(90deg,#071013b3,#07101320),linear-gradient(0deg,#090f10 0%,#090f1033 65%,#090f1055 100%)}.hero-content{padding:110px 25px 105px}.hero-content>.eyebrow{font-size:8px;letter-spacing:3px;margin-bottom:24px}.hero-content h1{font-size:100px;letter-spacing:8px;margin-bottom:29px}.hero-content h1>span{font-size:12px;letter-spacing:7px;margin-left:4px;margin-top:13px}.hero-tagline{font-size:21px;margin-bottom:15px}.hero-description{font-size:11px;line-height:2;margin-bottom:28px}.hero-actions{gap:8px}.hero-actions a{padding:14px;min-width:0;font-size:11px;gap:20px}.hero-actions span{font-size:16px}.hero-platform{font-size:9px}.hero-bottom{left:25px;right:25px;bottom:24px;padding-top:18px;font-size:8px}.hero-bottom>span:last-child{display:none}.hero-bottom>a{font-size:9px}.story-section{padding:65px 25px}.story-heading{display:block;margin-bottom:32px}.story-heading h2{font-size:25px}.story-heading>p{font-size:11px;margin-top:22px}.feature-grid{grid-template-columns:1fr;gap:34px}.feature{display:grid;grid-template-columns:1fr 120px;column-gap:10px;padding-top:19px}.feature-number{grid-column:1;align-self:start}.feature-art{grid-column:2;grid-row:1 / 4;height:140px;margin:0}.tower-feature img{height:138px}.feature h3{font-size:17px;margin:15px 0 9px}.feature>p{font-size:10px;grid-column:1;line-height:1.8}.skills-feature{gap:0;overflow:visible}.skills-feature .skill-art{width:40px;height:40px;flex-shrink:0}.skills-feature .skill-art:nth-child(2){width:52px;height:52px}.squad-feature img{height:100px;width:33%}.squad-feature img:nth-child(2){height:120px;width:38%}.deployment-section{padding:55px 22px 60px}.deployment-heading{margin-bottom:28px}.deployment-heading h2{font-size:25px;line-height:1.5;margin:15px 0 12px}.deployment-heading>p{font-size:11px}.deployment-grid{grid-template-columns:1fr;gap:24px}.hero-display{height:340px}.hero-display>img{object-position:center 28%;height:125%;top:-20%}.hero-caption{left:22px;bottom:22px}.hero-caption h2{font-size:29px}.hero-caption p{font-size:11px}.hero-stats{font-size:10px}.hero-stats b{font-size:12px}.classic-link{font-size:10px;margin-top:15px}.setup{padding:20px}.setup h2{font-size:21px}.role .portrait{height:108px}#menu-footer{padding:24px}.hero-stats>span:last-child{display:none}}
@media(max-width:370px){.hero-content{padding-inline:20px}.hero-content h1{font-size:90px}.hero-actions a{font-size:10px;gap:12px;padding:13px}.feature{grid-template-columns:1fr 90px}.feature h3{font-size:15px}.feature>p{font-size:9px}.feature-art{width:90px}.skills-feature .skill-art{width:30px;height:30px}.skills-feature .skill-art:nth-child(2){width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.landing-primary:hover,.landing-secondary:hover,.role:hover{transform:none}}
/* Guided deployment: one decision per screen, one primary next action. */
.deploy-wizard{min-height:700px}.deploy-wizard>div,.deploy-wizard>ol{max-width:1050px;margin-inline:auto}.deploy-top{display:flex;justify-content:space-between;align-items:start;gap:20px}.deploy-top h2{font-size:36px;letter-spacing:-1px;margin:15px 0}.deploy-top p:not(.eyebrow){color:#9ab2a8;font-size:13px;line-height:1.8}.deploy-top .classic-link{white-space:nowrap}.deploy-steps{list-style:none;display:flex;padding:0;border-bottom:1px solid #afc5ac33;margin-block:30px!important;gap:40px}.deploy-steps li{padding:17px 0;font-size:12px;color:#778b83;border-bottom:2px solid transparent}.deploy-steps b{font:11px monospace;margin-right:10px}.deploy-steps [aria-current="step"]{color:#eed4a0;border-color:#d3bf91}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mode-card{position:relative;overflow:hidden;text-align:left;padding:28px 30px 0;border:1px solid #9eb79e40;border-radius:6px;background:linear-gradient(145deg,#21382e,#111f1b);transition:border-color .2s,transform .2s}.mode-card:hover{border-color:#d3bf91;transform:translateY(-3px)}.mode-card-number{font:11px monospace;letter-spacing:2px;color:#d6bd88}.mode-art{height:185px;display:flex;justify-content:center;overflow:hidden;margin:5px 0 18px;mask-image:linear-gradient(#000 55%,transparent)}.mode-art img{height:210px;width:160px;object-fit:cover;object-position:center 25%}.mode-squad img{width:31%;height:180px;margin-top:20px}.mode-squad img:nth-child(2){height:210px;margin-top:0;z-index:1}.mode-card>strong{font-size:28px;letter-spacing:-1px}.mode-card>p{font-size:12px;color:#a9bcb0;line-height:1.9;margin:14px 0 28px}.mode-card-next{display:flex;justify-content:space-between;border-top:1px solid #bbcca52c;padding:19px 0;color:#e8d7b1;font-size:13px}.selection-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.selection-toolbar .text-button{width:auto;margin:0;padding:8px 0;font-size:12px}.deploy-wizard .role-picker{gap:20px}.deploy-wizard .role{border-radius:5px;padding-bottom:20px}.deploy-wizard .role .portrait{height:230px;object-position:center 25%}.deploy-wizard .role strong{font-size:21px;margin:10px 20px 6px}.deploy-wizard .role small{font-size:12px;color:#e0c892;margin-inline:20px}.deploy-wizard .role p{margin:12px 20px 0;font-size:12px;line-height:1.7;color:#9cb0a4}.role-tag{display:block;color:#c8bc96;font-size:10px;margin:16px 20px 0}.selection-detail{display:flex;align-items:center;gap:20px;padding:20px 24px;margin:24px 0;border:1px solid #a5bc9e33;background:#b9cf9b08;border-radius:5px}.selection-detail>img{width:66px;height:78px;object-fit:cover;object-position:center 25%;border-radius:3px}.selection-detail h3{margin:8px 0 5px;font-size:20px}.selection-detail p{font-size:11px;color:#9caf9f;margin:0}.selection-detail .eyebrow{font-size:9px}.selection-detail .hero-stats{margin-left:auto;display:flex;gap:24px;flex-wrap:wrap;justify-content:end}.selection-detail .hero-stats span{display:flex;flex-direction:column;gap:5px;font-size:10px}.selection-detail .hero-stats b{font:23px monospace;color:#e3d2ab}.selection-detail .hero-stats>span:last-child{display:none}.deploy-bottom{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end}.nickname-field .input-label{margin:0 0 9px;font-size:12px}.nickname-field input{height:51px}.deploy-action .primary,.coop-browser .primary{background:#dcc79a;color:#16261f;border-color:#dcc79a;border-radius:4px;min-height:51px}.deploy-action>p{font-size:10px;color:#93aa9e;margin:10px 0 0}.nickname-field{padding-bottom:23px}.room-browser-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:30px}.room-directory,.room-create{padding:25px;background:#10211b;border:1px solid #a3bd9c33;border-radius:5px}.room-browser-grid h3{font-size:22px;margin:12px 0}.room-browser-grid p:not(.eyebrow){font-size:11px;line-height:1.9;color:#a3b4a9}.room-list-heading{margin:0 0 20px;align-items:start}.coop-browser .public-rooms{max-height:340px;min-height:120px}.coop-browser .public-room{padding:17px 12px}.coop-browser .rooms-empty{padding:40px 12px}.coop-browser .public-option{margin:28px 0 16px;font-size:12px}.connection-footer{display:flex;align-items:center;gap:18px;margin-top:22px;font-size:11px;color:#baccb1}.connection-footer p{margin:0}.deploy-wizard button:focus-visible{outline:2px solid #ffe4a9;outline-offset:5px}#deployment-title:focus{outline:none}
@media(max-width:760px){.deploy-wizard{min-height:620px;padding:36px 18px 45px}.deploy-top h2{font-size:25px}.deploy-top .classic-link{display:none}.deploy-top p:not(.eyebrow){font-size:11px}.deploy-steps{gap:0;justify-content:space-between;margin-block:22px!important}.deploy-steps li{font-size:10px}.deploy-steps b{font-size:10px;margin-right:5px}.mode-cards{gap:12px}.mode-card{padding:18px 15px 0}.mode-art{height:135px;margin-bottom:10px}.mode-art img{height:160px;width:120px}.mode-squad img{height:130px;width:36%;margin-top:15px}.mode-squad img:nth-child(2){height:155px}.mode-card-number{font-size:9px;letter-spacing:1px}.mode-card>strong{font-size:20px}.mode-card>p{font-size:10px;line-height:1.8;margin:13px 0 19px}.mode-card-next{font-size:11px;padding-block:16px}.selection-toolbar{margin-bottom:18px}.selection-toolbar .text-button{font-size:10px}.selection-toolbar .visibility-badge{font-size:9px}.deploy-wizard .role-picker{gap:8px}.deploy-wizard .role .portrait{height:140px}.deploy-wizard .role{padding-bottom:12px}.deploy-wizard .role strong{font-size:13px;margin:8px 9px 5px}.deploy-wizard .role small{font-size:10px;margin-inline:9px}.deploy-wizard .role p{font-size:9px;margin:10px 9px 0}.role-tag{font-size:8px;margin:10px 9px 0;min-height:22px}.selection-detail{padding:14px 12px;gap:10px;margin-block:18px}.selection-detail>img{display:none}.selection-detail h3{font-size:17px}.selection-detail p{font-size:10px;max-width:190px}.selection-detail .hero-stats{gap:12px;flex-wrap:nowrap}.selection-detail .hero-stats b{font-size:20px}.selection-detail .hero-stats span{font-size:8px}.deploy-bottom{grid-template-columns:1fr;gap:18px}.nickname-field{padding:0}.room-browser-grid{grid-template-columns:1fr;gap:16px}.room-directory,.room-create{padding:18px}.room-browser-grid h3{font-size:20px}.connection-footer{display:block}.connection-footer p{margin-top:8px}}
@media(max-width:390px){.mode-cards{grid-template-columns:1fr}.mode-card{padding:20px}.mode-art{float:right;width:120px;height:120px;margin:0 -8px 0 8px}.mode-card-number{display:block;margin-bottom:12px}.mode-card>p{margin-bottom:12px}.mode-card-next{clear:both;padding-bottom:0}.deploy-wizard .role .portrait{height:112px}.deploy-wizard .role strong{font-size:12px}.deploy-wizard .role p{font-size:8px}.selection-detail .hero-stats{gap:8px}}
