:root{--bg:#050b0f;--panel:rgba(7,17,23,.92);--line:#2b414b;--text:#edf3f1;--muted:#889a9e;--cyan:#63ded0;--gold:#e7bf68;--red:#e85d66}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%;background:var(--bg)}body{overflow:hidden;color:var(--text);font-family:"Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;background:radial-gradient(circle at 50% 15%,#18343e,#071117 48%,#030709)}
button,select{font:inherit}.hidden{display:none!important}.eyebrow{color:var(--cyan);font-size:10px;font-weight:900;letter-spacing:.2em}
button{min-height:44px;padding:10px 16px;color:var(--text);font-weight:800;border:1px solid var(--line);border-radius:7px;background:#10232b;cursor:pointer}.primary{color:#061512;border-color:#a6fff1;background:linear-gradient(#72dfd3,#42aea4)}.secondary{background:#10212a}
.menu-screen{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(rgba(3,8,11,.3),rgba(3,8,11,.86)),repeating-linear-gradient(45deg,transparent 0 31px,rgba(99,222,208,.025) 31px 32px)}
.hero-card{width:min(760px,100%);padding:70px 32px;text-align:center;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(11,28,36,.97),rgba(5,14,19,.98));box-shadow:0 35px 120px #000}.hero-card h1{margin:0 0 14px;font-size:clamp(54px,9vw,88px);letter-spacing:-.075em}.hero-card>p{color:#b5c3c4}.menu-actions{display:grid;width:min(350px,100%);margin:32px auto 18px;gap:8px}.match-options{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.match-options label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.match-options select,.match-options input[type="text"]{padding:7px 9px;color:var(--text);border:1px solid var(--line);border-radius:5px;background:#091921}.match-options input[type="text"]{width:118px}.match-options input[type="color"]{width:38px;height:34px;padding:2px;border:1px solid var(--line);border-radius:5px;background:#091921}.checkbox-option{padding:7px 10px;border:1px solid rgba(83,112,122,.45);border-radius:5px;background:rgba(7,20,26,.7)}
.version-label{position:fixed;left:16px;bottom:12px;color:rgba(179,193,195,.48);font-size:11px;font-weight:700;letter-spacing:.05em}.patch-notes-button{position:fixed;right:16px;bottom:12px;min-height:44px;padding:10px 18px;color:#d7e6e8;font-size:14px;border-color:rgba(99,222,208,.55);background:rgba(7,18,24,.86)}
.game-screen{display:grid;grid-template-rows:58px minmax(0,1fr);height:100vh;height:100dvh}.top-hud{display:grid;grid-template-columns:240px 1fr 44px;align-items:center;padding:7px 14px;border-bottom:1px solid var(--line);background:#061117}.match-brand{display:flex;align-items:center;gap:8px}.match-brand small{color:var(--muted);font-size:8px}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 9px var(--red)}.match-stats{display:flex;justify-content:center;gap:34px}.match-stats div{display:grid;text-align:center}.match-stats small{color:var(--muted);font-size:8px}.match-stats strong{color:var(--gold);font-size:13px}.icon-button,.close{width:38px;height:38px;min-height:0;padding:0}
.battlefield{position:relative;min-height:0;overflow:hidden;background:#071417}#game-canvas{display:block;width:100%;height:100%;outline:0;cursor:crosshair}
.weapon-info{position:absolute;top:14px;left:14px;display:flex;width:260px;align-items:center;gap:10px;padding:8px 11px;border:1px solid rgba(91,124,135,.55);border-radius:8px;background:var(--panel)}.weapon-info canvas{width:92px;height:42px}.weapon-info div{display:grid}.weapon-info small{color:var(--muted);font-size:7px}.weapon-info strong{font-size:12px}.weapon-info span{color:#aebdbe;font-size:8px}.weapon-info em{color:var(--gold);font-size:8px;font-style:normal}
.weapon-info.firing canvas{animation:weapon-recoil .18s cubic-bezier(.12,.82,.2,1)}.weapon-info.skill-firing canvas{animation:weapon-skill-recoil .28s cubic-bezier(.12,.82,.2,1)}.weapon-info.auto-firing canvas{animation:weapon-auto-fire .1s steps(2,end) infinite}
@keyframes weapon-recoil{0%{transform:translateX(0) rotate(0)}20%{transform:translateX(-9px) rotate(-5deg)}55%{transform:translateX(-3px) rotate(-1deg)}100%{transform:translateX(0) rotate(0)}}
@keyframes weapon-skill-recoil{0%{transform:translateX(0) rotate(0) scale(1)}18%{transform:translateX(-13px) rotate(-7deg) scale(1.05)}55%{transform:translateX(-4px) rotate(-2deg) scale(1.02)}100%{transform:translateX(0) rotate(0) scale(1)}}
@keyframes weapon-auto-fire{0%{transform:translateX(0) rotate(0)}35%{transform:translateX(-5px) rotate(-2deg)}65%{transform:translateX(-2px) rotate(1deg)}100%{transform:translateX(0) rotate(0)}}
.rank-feed{position:absolute;top:14px;right:14px;width:270px}.current-rank{display:flex;align-items:end;justify-content:flex-end;margin-bottom:6px;gap:8px;text-shadow:0 2px 4px #000}.current-rank small{color:#c8d2d2;font-size:9px}.current-rank strong{color:var(--gold);font-size:24px}.kill-feed{display:grid;gap:3px;font-size:9px;text-align:right}.kill-feed div{padding:5px 8px;border-right:3px solid var(--red);border-radius:4px;background:rgba(3,9,12,.74)}.feed-special{color:var(--gold)}
.minimap-panel{position:absolute;right:14px;bottom:16px;padding:7px;border:1px solid rgba(139,170,178,.65);border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(8,24,28,.98),rgba(3,10,13,.92));box-shadow:0 12px 34px rgba(0,0,0,.45)}#minimap{display:block;width:168px;height:168px;border-radius:50%;background:#071014}.special-direction{position:absolute;right:4px;bottom:-24px;left:4px;padding:4px 1px 0;color:var(--gold);font-size:7px;text-align:center}.flare-timer{position:absolute;top:-28px;right:0;left:0;margin:auto;width:max-content;max-width:180px;padding:5px 9px;border:1px solid rgba(255,118,86,.5);border-radius:999px;background:rgba(12,17,18,.86);color:#ffc1a8;font-size:10px;font-weight:900;letter-spacing:.02em;text-align:center;white-space:nowrap}
.nearby-item{position:absolute;bottom:142px;left:50%;padding:8px 13px;font-size:10px;font-weight:800;border:1px solid var(--cyan);border-radius:17px;background:rgba(4,12,16,.92);transform:translateX(-50%)}.center-alert{position:absolute;top:18%;left:50%;padding:14px 25px;color:#fff0b5;font-size:clamp(18px,3vw,34px);font-weight:1000;text-align:center;text-shadow:0 0 25px var(--gold);transform:translateX(-50%);animation:alert 2.6s both}@keyframes alert{0%{opacity:0;transform:translateX(-50%) scale(.7)}15%,75%{opacity:1;transform:translateX(-50%) scale(1)}100%{opacity:0}}
.mythic-warning{position:absolute;z-index:9;top:13%;left:50%;display:grid;min-width:250px;grid-template-columns:auto 54px;align-items:center;padding:10px 14px;border:1px solid rgba(255,218,104,.72);border-radius:8px;background:linear-gradient(100deg,rgba(37,27,5,.94),rgba(13,18,21,.94));box-shadow:0 0 28px rgba(243,196,89,.2);transform:translateX(-50%)}.mythic-warning small{grid-column:1;color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.16em}.mythic-warning strong{grid-column:2;grid-row:1/3;color:#fff0a6;font-size:30px;text-align:right}.mythic-warning span{grid-column:1;color:#e8e0c2;font-size:11px}
.countdown{position:absolute;z-index:8;inset:0;display:grid;place-items:center;align-content:center;background:radial-gradient(circle at center,transparent 0 130px,rgba(0,0,0,.96) 330px)}.countdown strong{font-size:92px;text-shadow:0 0 30px var(--cyan)}.countdown span{color:#c8d6d6;font-size:12px;letter-spacing:.18em}.damage-vignette{position:absolute;inset:0;pointer-events:none}.damage-vignette.hit{animation:hit .2s}@keyframes hit{50%{box-shadow:inset 0 0 90px 35px rgba(241,54,67,.65)}}
.victory-banner{position:absolute;z-index:12;top:16%;left:50%;display:grid;min-width:300px;place-items:center;padding:18px 40px;color:#efffff;text-align:center;text-shadow:0 0 28px #39bfff;transform:translateX(-50%);animation:victory-banner 3s both;pointer-events:none}.victory-banner:before{position:absolute;z-index:-1;inset:0;border:1px solid rgba(109,226,255,.65);background:linear-gradient(90deg,transparent,rgba(10,51,83,.78),transparent);content:"";transform:skewX(-12deg)}.victory-banner small{font-size:13px;font-weight:900;letter-spacing:.32em}.victory-banner strong{font-size:clamp(64px,10vw,112px);line-height:1}.victory-banner span{font-size:15px;font-weight:800;letter-spacing:.08em}@keyframes victory-banner{0%{opacity:0;transform:translateX(-50%) scale(.72)}14%,84%{opacity:1;transform:translateX(-50%) scale(1)}100%{opacity:0;transform:translateX(-50%) scale(1.05)}}
.mobile-controls{display:none;position:absolute;z-index:15;inset:0;pointer-events:none;touch-action:none}.virtual-stick{position:absolute;bottom:52px;width:168px;height:168px;overflow:hidden;border:2px solid rgba(189,232,230,.42);border-radius:50%;background:radial-gradient(circle,rgba(33,76,82,.38),rgba(4,13,18,.64));box-shadow:inset 0 0 30px rgba(76,209,196,.12);pointer-events:auto;touch-action:none}.virtual-stick i{position:absolute;top:50%;left:50%;width:72px;height:72px;border:2px solid rgba(220,255,251,.75);border-radius:50%;background:rgba(57,159,151,.62);box-shadow:0 0 20px rgba(99,222,208,.35);transform:translate(-50%,-50%)}.virtual-stick span{position:absolute;right:0;bottom:9px;left:0;color:#d9eded;font-size:12px;font-weight:900;text-align:center;text-shadow:0 2px 4px #000}.move-stick{left:64px}.aim-stick{right:64px}.skill-stick{right:82px;bottom:238px;width:132px;height:132px}.skill-stick i{width:56px;height:56px;background:rgba(231,191,104,.68)}.mobile-heal-actions,.mobile-utility-actions{position:absolute;display:grid;gap:8px;pointer-events:auto}.mobile-heal-actions{left:222px;bottom:146px;grid-template-columns:repeat(2,50px)}.mobile-utility-actions{right:232px;bottom:150px;grid-template-columns:repeat(2,50px)}.mobile-heal-actions button,.mobile-utility-actions button{display:grid;width:50px;height:50px;min-height:0;place-items:center;padding:3px;border-color:rgba(127,207,200,.55);border-radius:50%;background:rgba(7,28,34,.86);font-size:13px;touch-action:manipulation}.mobile-heal-actions button small,.mobile-utility-actions button small{color:#a9c1c1;font-size:8px}.mobile-utility-actions #mobile-pickup{border-color:#e8c56e;color:#f2d88c}.mobile-utility-actions #mobile-flare{border-color:#ff967a;color:#ffc0ae}
.bottom-status{position:absolute;bottom:13px;left:50%;display:grid;width:min(900px,calc(100% - 330px));grid-template-columns:130px minmax(180px,1fr) auto;align-items:end;gap:12px;transform:translateX(-50%)}.identity{display:grid;padding-bottom:4px}.identity span{color:var(--cyan);font-size:8px}.identity strong{font-size:12px}.identity small{color:var(--gold);font-size:8px}.health-area{position:relative;padding-bottom:4px}.health-bar,.shield-bar{height:12px;overflow:hidden;border:1px solid #526168;background:rgba(3,8,10,.88)}.health-bar i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#ae3945,#e85e68)}.shield-bar{height:5px;margin-top:3px}.shield-bar i{display:block;width:0;height:100%;background:#59bdec}.use-progress{position:absolute;right:0;bottom:27px;left:0;height:10px;overflow:hidden;border:1px solid #617179;background:#051015}.use-progress i{display:block;width:0;height:100%;background:var(--cyan)}.use-progress span{position:absolute;inset:0;font-size:7px;line-height:8px;text-align:center}
.equipment-slots{display:flex;align-items:end;gap:5px}.slot{position:relative;display:grid;min-width:78px;height:52px;align-content:center;padding:5px 7px;border:1px solid #455961;border-radius:5px;background:rgba(6,16,21,.9)}.slot kbd{position:absolute;top:3px;left:4px;color:var(--gold);font-size:7px}.slot span{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.slot strong{font-size:10px}.slot canvas{width:54px;height:29px;margin:auto}.primary-slot{width:92px}.skill-slot{width:88px;text-align:center}.skill-slot b{font-size:19px}.skill-slot em{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;font-weight:900;background:rgba(0,0,0,.7)}.armor-slot small{color:var(--muted);font-size:6px}.armor-slot span{color:#9fb4b6}.heals,.utility-slot{min-width:67px}.heals strong,.utility-slot strong{color:var(--gold)}
.skill-slot em.charge-ready{inset:auto 4px 4px auto;padding:2px 5px;color:#b9fff5;font-size:9px;border:1px solid rgba(99,222,208,.55);border-radius:4px;background:rgba(3,24,27,.9)}
.overlay{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:20px;overflow:auto;background:rgba(2,7,10,.86);backdrop-filter:blur(7px)}.result-card,.help-card,.weapon-guide,.patch-notes-card{position:relative;width:min(560px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:35px;text-align:center;border:1px solid var(--line);border-radius:16px;background:#091a22;box-shadow:0 30px 100px #000}.result-card h2{margin:6px 0 24px;font-size:50px}.result-message{margin:0 0 14px;color:#d7eeee;font-size:16px;font-weight:800}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:20px;gap:7px}.result-stats div{padding:12px;border:1px solid var(--line);background:#061219}.result-stats small{display:block;color:var(--muted);font-size:8px}.result-stats strong{color:var(--gold);font-size:20px}.result-card button{width:100%;margin-top:7px}.close{position:absolute;top:11px;right:11px}
.patch-notes-card{width:min(820px,96vw);text-align:left}.patch-notes-card h2{margin:4px 0 18px;font-size:34px}.patch-notes-content{display:grid;gap:12px}.patch-notes-content article{padding:13px 15px;border:1px solid rgba(70,94,104,.65);border-radius:10px;background:rgba(4,13,18,.72)}.patch-notes-content h3{margin:0 0 7px;color:var(--gold);font-size:16px}.patch-note-reason{margin:0 0 8px;color:#8fb8bd;font-size:12px;line-height:1.55}.patch-notes-content ul{margin:0;padding-left:18px;color:#c7d4d5;font-size:13px;line-height:1.65}.patch-notes-content li+li{margin-top:3px}.patch-notes-content .buff-change{color:#7ee6a1}.patch-notes-content .nerf-change{color:#ff8b8b}.patch-notes-content .system-change{color:#9bd8ff}
.help-card{width:min(780px,100%)}.control-platform-tabs{display:grid;grid-template-columns:1fr 1fr;margin:0 0 12px;gap:7px}.control-platform-tabs button.active{color:#061512;border-color:#a6fff1;background:linear-gradient(#72dfd3,#42aea4)}.control-manual{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;text-align:left}.control-manual>div{display:grid;grid-template-columns:92px 1fr;align-items:center;padding:13px;border:1px solid var(--line);border-radius:7px;background:#06141b}.control-manual kbd{grid-row:1/3;display:grid;min-height:34px;place-items:center;margin-right:10px;color:var(--cyan);font-size:9px;border:1px solid #42616c;border-radius:5px;background:#0b2029}.control-manual strong{font-size:11px}.control-manual span{color:var(--muted);font-size:9px;line-height:1.4}.guide-button{width:100%;margin-top:14px}
.weapon-guide{width:min(1180px,98vw);height:min(94vh,820px);overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr);padding:20px}.weapon-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:10px 0 12px;gap:6px;overflow:visible}.weapon-tabs button{min-width:0;min-height:34px;padding:7px 5px;font-size:9px;white-space:nowrap}.weapon-tabs button.active{color:#041512;border-color:var(--cyan);background:var(--cyan)}.weapon-tabs button.legendary-weapon{color:#f3c459;border-color:rgba(243,196,89,.52)}.weapon-tabs button.legendary-weapon.active{color:#2b1c00;border-color:#ffe293;background:linear-gradient(#ffe293,#e7ad31)}.legendary-text{color:#f3c459!important;text-shadow:0 0 10px rgba(243,196,89,.5)}.weapon-showcase{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.75fr);gap:14px;min-height:0}.weapon-demo-panel{min-height:0;overflow:hidden;display:flex;flex-direction:column}.weapon-showcase canvas{width:100%;height:auto;max-height:100%;min-height:0;border:1px solid var(--line);border-radius:8px;background:#061217}.weapon-description{text-align:left;padding:15px;min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#06141b}.weapon-description h3{font-size:25px}.weapon-description p{min-height:88px;color:#a9b8b9;font-size:11px;line-height:1.7}.weapon-description div{display:flex;flex-wrap:wrap;gap:5px}.weapon-description div span{padding:5px 7px;color:var(--gold);font-size:8px;border-radius:4px;background:#0b232b}
.weapon-demo-panel{display:grid;align-content:start;gap:8px}.guide-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.guide-mode-tabs button{min-height:40px;font-size:13px}.guide-mode-tabs button.active{color:#041512;border-color:#b5fff4;background:linear-gradient(#72dfd3,#42aea4)}
.eyebrow{font-size:12px}.match-options label{font-size:13px}.match-brand small{font-size:10px}.match-stats small{font-size:10px}.match-stats strong{font-size:16px}.weapon-info{width:290px;padding:10px 13px}.weapon-info small{font-size:10px}.weapon-info strong{font-size:15px}.weapon-info span{font-size:11px}.current-rank small{font-size:12px}.current-rank strong{font-size:28px}.kill-feed{font-size:12px}.kill-feed div{padding:7px 10px}.special-direction{font-size:10px}.nearby-item{font-size:13px}.identity span{font-size:10px}.identity strong{font-size:15px}.identity small{font-size:11px}.health-bar{height:16px}.shield-bar{height:7px}.use-progress{bottom:34px;height:14px}.use-progress span{font-size:10px;line-height:12px}.bottom-status{width:min(1080px,calc(100% - 330px));grid-template-columns:150px minmax(210px,1fr) auto}.slot{min-width:88px;height:62px;padding:7px 8px}.slot kbd{font-size:10px}.slot span{font-size:11px}.slot strong{font-size:13px}.slot canvas{width:60px;height:33px}.primary-slot{width:105px}.skill-slot{width:105px}.skill-slot b{font-size:22px}.armor-slot small{font-size:9px}.heals,.utility-slot{min-width:82px}.result-stats small{font-size:11px}.control-manual kbd{font-size:12px}.control-manual strong{font-size:14px}.control-manual span{font-size:12px}.weapon-tabs button{font-size:12px}.weapon-description p{font-size:13px}.weapon-description div span{font-size:11px}
@media(max-width:900px){.match-brand small{display:none}.match-stats{gap:10px}.rank-feed{width:200px}.weapon-info{width:200px}.bottom-status{left:10px;width:calc(100% - 20px);grid-template-columns:100px 1fr;transform:none}.equipment-slots{grid-column:1/-1;justify-content:center}.minimap-panel{bottom:140px}.control-manual{grid-template-columns:1fr}.weapon-guide{width:98vw;height:96dvh;padding:12px}.weapon-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.weapon-tabs button{min-height:30px;padding:5px 2px;font-size:8px}.weapon-showcase{grid-template-columns:minmax(0,1.35fr) minmax(205px,.65fr);gap:8px}.weapon-description{padding:10px}.weapon-description h3{font-size:18px}.weapon-description p{min-height:70px;font-size:9px;line-height:1.5}}
@media(max-width:620px){.weapon-guide{padding:8px}.weapon-tabs{grid-template-columns:repeat(4,minmax(0,1fr));margin:6px 0 8px}.weapon-tabs button{min-height:27px;font-size:7px}.weapon-showcase{grid-template-columns:minmax(0,1.5fr) minmax(150px,.5fr);gap:5px}.weapon-description{padding:7px}.weapon-description h3{font-size:14px}.weapon-description p{min-height:55px;font-size:7px;line-height:1.35}.weapon-description div span{padding:3px 4px;font-size:6px}.guide-mode-tabs button{min-height:29px;padding:4px;font-size:7px}}
@media (hover:none) and (pointer:coarse){
  body{overscroll-behavior:none}.mobile-controls{display:block}.bottom-status{bottom:148px;width:min(720px,calc(100% - 320px));grid-template-columns:110px minmax(150px,1fr)}.equipment-slots{display:none}.weapon-info{top:8px;left:8px;width:210px}.rank-feed{top:8px;right:8px;width:190px}.minimap-panel{right:14px;bottom:auto;top:156px}.nearby-item{bottom:178px}.top-hud{grid-template-columns:145px 1fr 42px;padding:5px 8px}.match-stats{gap:12px}.match-stats div:nth-child(2){display:none}#game-canvas{touch-action:none}.help-card{max-height:92vh;overflow:auto}.patch-notes-button{min-height:52px;padding:12px 20px;font-size:15px}
}
@media (hover:none) and (pointer:coarse) and (max-width:760px){
  .virtual-stick{bottom:34px;width:138px;height:138px}.virtual-stick i{width:60px;height:60px}.virtual-stick span{bottom:6px;font-size:11px}.move-stick{left:42px}.aim-stick{right:42px}.skill-stick{right:56px;bottom:188px;width:106px;height:106px}.skill-stick i{width:46px;height:46px}.mobile-heal-actions{left:176px;bottom:124px;grid-template-columns:repeat(3,44px);gap:6px}.mobile-utility-actions{right:178px;bottom:124px;grid-template-columns:repeat(3,44px);gap:6px}.mobile-heal-actions button,.mobile-utility-actions button{width:44px;height:44px;font-size:11px}.mobile-heal-actions button small,.mobile-utility-actions button small{font-size:7px}.bottom-status{bottom:120px;left:8px;width:calc(100% - 212px);grid-template-columns:1fr;transform:none}.identity{display:none}.weapon-info{width:176px}.weapon-info canvas{width:64px}.weapon-info span{display:none}.match-brand strong{font-size:11px}.match-stats{gap:7px}.match-stats small{font-size:8px}.match-stats strong{font-size:12px}.rank-feed{width:145px}.current-rank strong{font-size:20px}.kill-feed{display:none}.minimap-panel{top:94px;right:10px}#minimap{width:108px;height:108px}
}
@media(max-height:680px){
  .game-screen{grid-template-rows:48px minmax(0,1fr)}.top-hud{padding:4px 10px}.weapon-info{top:8px;left:8px;width:220px;padding:7px 9px}.weapon-info canvas{width:76px;height:34px}.rank-feed{top:8px;right:8px;width:210px}.kill-feed{max-height:112px;overflow:hidden}.minimap-panel{right:8px;bottom:8px}#minimap{width:132px;height:132px}.bottom-status{bottom:8px;width:min(860px,calc(100% - 260px));gap:7px}.slot{height:48px;min-width:70px;padding:5px}.slot canvas{width:48px;height:26px}.heals,.utility-slot{min-width:58px}.nearby-item{bottom:106px}.mythic-warning{top:64px}.weapon-guide{height:96dvh;grid-template-rows:auto auto minmax(0,1fr);padding:12px}.weapon-guide header h2{display:none}.weapon-tabs{margin:6px 0;gap:4px}.weapon-tabs button{min-height:28px;padding:4px;font-size:9px}.weapon-showcase{gap:8px}.weapon-description p{min-height:auto}.result-card,.help-card,.patch-notes-card{padding:24px}
}
@media(max-aspect-ratio:4/3){
  .top-hud{grid-template-columns:minmax(120px,190px) 1fr 42px}.match-stats{display:grid;grid-template-columns:repeat(4,minmax(54px,1fr));gap:8px}.weapon-info{width:220px}.rank-feed{width:215px}.bottom-status{left:10px;right:10px;width:auto;grid-template-columns:120px minmax(160px,1fr);transform:none}.equipment-slots{grid-column:1/-1;justify-content:center;flex-wrap:wrap}.minimap-panel{bottom:128px}.weapon-showcase{grid-template-columns:1fr}.weapon-description{overflow:auto}.weapon-showcase canvas{max-height:42dvh}
}
@media(max-aspect-ratio:3/4){
  .game-screen{grid-template-rows:auto minmax(0,1fr)}.top-hud{grid-template-columns:1fr 38px;gap:5px}.match-stats{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,1fr);order:3}.match-brand small{display:none}.weapon-info{top:8px;left:8px;width:min(52vw,190px)}.weapon-info canvas{width:62px}.weapon-info span,.weapon-info em{display:none}.rank-feed{top:8px;right:8px;width:min(42vw,155px)}.current-rank small{display:none}.kill-feed{display:none}.minimap-panel{top:78px;right:8px;bottom:auto}#minimap{width:112px;height:112px}.bottom-status{bottom:104px;left:8px;right:8px;width:auto;grid-template-columns:1fr;transform:none}.identity{display:none}.equipment-slots{display:none}.nearby-item{bottom:174px;max-width:84vw;text-align:center}.mythic-warning{top:116px;min-width:min(250px,84vw)}.weapon-guide{height:96dvh}.weapon-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.weapon-showcase canvas{max-height:36dvh}.patch-notes-card,.help-card{width:96vw}
}
@media(min-aspect-ratio:18/9){
  .bottom-status{width:min(1180px,calc(100% - 410px))}.weapon-info{left:22px}.rank-feed{right:22px}.minimap-panel{right:22px}.weapon-showcase{grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr)}
}
@media (hover:none) and (pointer:coarse){
  .minimap-panel{right:14px;top:150px;bottom:auto}#minimap{width:126px;height:126px}.rank-feed{top:8px;right:10px}.kill-feed{display:none}.bottom-status{z-index:14}.mobile-controls{z-index:16}
}
@media (hover:none) and (pointer:coarse) and (max-height:680px){
  .weapon-info{top:8px;left:8px;width:190px}.weapon-info canvas{width:70px}.minimap-panel{top:94px;right:10px;bottom:auto}#minimap{width:112px;height:112px}.bottom-status{bottom:112px;left:8px;right:8px;width:auto;grid-template-columns:1fr;transform:none}.move-stick{bottom:28px}.aim-stick{bottom:28px}.skill-stick{bottom:178px}.mobile-heal-actions{bottom:118px}.mobile-utility-actions{bottom:118px}
}
@media (hover:none) and (pointer:coarse) and (max-height:680px) and (min-aspect-ratio:4/3){
  .bottom-status{bottom:36px;left:245px;right:245px;width:auto}
}

/* In-game HUD refit */
.battlefield,.battlefield *{-webkit-touch-callout:none}
.bottom-status{z-index:14;bottom:18px;left:50%;display:grid;width:min(1240px,calc(100% - 360px));grid-template-columns:minmax(210px,250px) minmax(430px,1fr) minmax(112px,138px) minmax(112px,138px);grid-template-rows:auto auto auto auto;gap:8px 10px;align-items:stretch;transform:translateX(-50%);pointer-events:none}.bottom-status>*,.equipment-slots>*{pointer-events:auto}.identity{grid-column:1;grid-row:3 / 5;align-self:end;padding:8px 10px;border:1px solid rgba(72,100,110,.55);border-radius:9px;background:rgba(4,14,19,.74)}.health-area{grid-column:2;grid-row:1 / 5;align-self:end;padding:0}.health-bar{height:34px;border:2px solid rgba(222,238,240,.45);border-radius:3px;box-shadow:0 0 0 2px rgba(0,0,0,.55),0 12px 24px rgba(0,0,0,.38)}.shield-bar{height:9px;margin-top:5px;border-radius:2px}.use-progress{right:0;bottom:50px;left:0;height:16px;border-radius:3px}.use-progress span{font-size:11px;line-height:14px}.equipment-slots{display:contents}.slot{min-width:0;height:68px;padding:9px 10px;border-color:rgba(122,158,168,.58);border-radius:8px;background:rgba(4,14,19,.9);box-shadow:0 10px 24px rgba(0,0,0,.26)}.slot kbd{top:6px;left:7px;font-size:12px}.slot span{font-size:12px}.slot strong{font-size:15px}.slot canvas{width:90px;height:48px}.primary-slot{grid-column:1;grid-row:1;width:auto;height:84px}.primary-slot span{font-size:14px;font-weight:900}.skill-slot{grid-column:1;grid-row:2;width:auto;height:84px}.skill-slot b{font-size:30px}.skill-slot span{padding-top:4px;font-size:13px;font-weight:900}.skill-slot em:not(.hidden){inset:7px 7px auto auto;display:grid;min-width:64px;height:34px;place-items:center;padding:0 8px;color:#fff2a6;font-size:16px;border:1px solid rgba(231,191,104,.8);border-radius:7px;background:rgba(8,10,8,.88);box-shadow:0 0 16px rgba(231,191,104,.22)}.skill-slot em.charge-ready{inset:7px 7px auto auto;color:#b9fff5;font-size:14px;border-color:rgba(99,222,208,.8);background:rgba(3,24,27,.9)}.armor-slot{grid-column:3 / 5;grid-row:1}.equipment-slots .heals:nth-of-type(4){grid-column:3;grid-row:2}.equipment-slots .heals:nth-of-type(5){grid-column:4;grid-row:2}.equipment-slots .heals:nth-of-type(6){grid-column:3;grid-row:3}.equipment-slots .utility-slot:nth-of-type(7){grid-column:4;grid-row:3}.equipment-slots .utility-slot:nth-of-type(8){grid-column:3 / 5;grid-row:4}.weapon-info{top:auto;bottom:196px;left:max(14px,calc(50% - 620px));width:250px;padding:11px 13px}.weapon-info canvas{width:110px;height:54px}.weapon-info strong{font-size:16px}.weapon-info span,.weapon-info em{font-size:12px}.icon-button,.close{width:46px;height:46px;font-size:18px}.mobile-heal-actions button,.mobile-utility-actions button{width:62px;height:62px;font-size:17px}.mobile-heal-actions button small,.mobile-utility-actions button small{font-size:10px}.mobile-heal-actions,.mobile-utility-actions{gap:10px}#mobile-reload{display:none!important}
@media(max-width:1180px){.bottom-status{width:calc(100% - 250px);grid-template-columns:minmax(180px,220px) minmax(320px,1fr) minmax(98px,120px) minmax(98px,120px)}.weapon-info{left:12px;bottom:190px;width:220px}.slot canvas{width:78px;height:42px}}
@media(max-width:900px){.bottom-status{left:8px;right:8px;width:auto;grid-template-columns:minmax(160px,200px) minmax(260px,1fr) minmax(86px,1fr) minmax(86px,1fr);gap:6px;transform:none}.health-bar{height:28px}.slot{height:60px;padding:7px}.primary-slot,.skill-slot{height:72px}.slot span{font-size:10px}.slot strong{font-size:13px}.weapon-info{bottom:172px;width:200px}.weapon-info canvas{width:82px;height:42px}}
@media(max-height:680px){.bottom-status{bottom:8px;width:min(1080px,calc(100% - 260px));grid-template-columns:minmax(170px,210px) minmax(300px,1fr) minmax(90px,112px) minmax(90px,112px)}.health-bar{height:26px}.primary-slot,.skill-slot{height:64px}.slot{height:54px}.weapon-info{bottom:146px}}
@media (hover:none) and (pointer:coarse){.bottom-status{bottom:128px;left:190px;right:190px;width:auto;grid-template-columns:minmax(220px,1fr);grid-template-rows:auto;transform:none}.health-area{grid-column:1;grid-row:1}.equipment-slots{display:none!important}.identity{display:none}.health-bar{height:30px}.weapon-info{top:8px;bottom:auto;left:8px;width:220px}.weapon-info canvas{width:88px;height:46px}.mobile-heal-actions{left:220px;bottom:142px;grid-template-columns:repeat(3,62px)}.mobile-utility-actions{right:220px;bottom:142px;grid-template-columns:repeat(2,62px)}}
@media (hover:none) and (pointer:coarse) and (max-width:760px){.bottom-status{bottom:118px;left:154px;right:154px;width:auto}.health-bar{height:26px}.weapon-info{width:188px}.weapon-info canvas{width:74px}.mobile-heal-actions{left:166px;bottom:116px;grid-template-columns:repeat(3,54px)}.mobile-utility-actions{right:166px;bottom:116px;grid-template-columns:repeat(2,54px)}.mobile-heal-actions button,.mobile-utility-actions button{width:54px;height:54px;font-size:14px}}

/* HUD spread layout patch: keep bottom UI low and horizontal */

.menu-screen.online-menu-ready{
  background:
    linear-gradient(90deg,rgba(4,10,14,.88),rgba(4,10,14,.4),rgba(4,10,14,.88)),
    url("menu.png") center/cover no-repeat,
    radial-gradient(circle at 50% 25%,rgba(69,120,116,.32),#050b10 68%);
}
.network-hud{
  position:fixed;
  top:14px;
  right:62px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(157,206,211,.28);
  border-radius:999px;
  background:rgba(4,12,16,.8);
  color:#cfe8e9;
  font-size:11px;
  font-weight:900;
  pointer-events:none;
}
.network-hud i{display:block;width:10px;height:10px;border-radius:50%;box-shadow:0 0 12px currentColor}
.network-hud.tier-1 i{background:#6ef0a3;color:#6ef0a3}
.network-hud.tier-2 i{background:#f0c66e;color:#f0c66e}
.network-hud.tier-3 i{background:#e85d66;color:#e85d66}
.online-lobby-overlay{
  position:fixed;
  z-index:55;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(2,7,10,.78);
  backdrop-filter:blur(8px);
}
.online-lobby-overlay.hidden{display:none}
.online-lobby-overlay section{
  position:relative;
  width:min(680px,96vw);
  max-height:92vh;
  overflow:auto;
  padding:28px;
  border:1px solid rgba(99,222,208,.32);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(9,26,34,.98),rgba(4,12,17,.98));
  box-shadow:0 30px 100px rgba(0,0,0,.55);
}
.online-lobby-overlay h2{margin:4px 0 12px;font-size:32px}
.online-lobby-status{margin-bottom:14px;color:#d8c472;font-weight:900}
.online-lobby-players{display:grid;gap:8px;margin-bottom:18px}
.online-lobby-players div{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid rgba(112,146,157,.35);
  border-radius:10px;
  background:rgba(5,15,20,.78);
}
.online-lobby-players b{font-size:14px}
.online-lobby-players span{color:#f0c66e;font-size:11px;font-weight:900}
.online-lobby-players em{color:#9dbdc0;font-size:11px;font-style:normal}
.online-lobby-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}

@media(max-width:680px){
  .network-hud{right:12px;top:64px}
  .online-lobby-actions{grid-template-columns:1fr}
}
@media (hover:hover), (pointer:fine){
  .bottom-status{
    z-index:14!important;
    left:12px!important;
    right:210px!important;
    bottom:12px!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
    display:grid!important;
    grid-template-columns:150px 108px 108px minmax(280px,1fr) 150px repeat(5,88px)!important;
    grid-template-rows:62px!important;
    gap:8px!important;
    align-items:stretch!important;
    pointer-events:none!important;
  }
  .bottom-status>*,.equipment-slots>*{pointer-events:auto!important}
  .equipment-slots{display:contents!important}
  .identity{
    grid-column:1!important;
    grid-row:1!important;
    align-self:stretch!important;
    display:grid!important;
    align-content:center!important;
    min-width:0!important;
    padding:8px 10px!important;
    border:1px solid rgba(72,100,110,.55)!important;
    border-radius:8px!important;
    background:rgba(4,14,19,.78)!important;
  }
  .primary-slot{grid-column:2!important;grid-row:1!important;width:auto!important;height:62px!important}
  .skill-slot{grid-column:3!important;grid-row:1!important;width:auto!important;height:62px!important}
  .health-area{grid-column:4!important;grid-row:1!important;align-self:center!important;padding:0!important;min-width:0!important}
  .armor-slot{grid-column:5!important;grid-row:1!important;width:auto!important;height:62px!important}
  .equipment-slots .heals:nth-of-type(4){grid-column:6!important;grid-row:1!important}
  .equipment-slots .heals:nth-of-type(5){grid-column:7!important;grid-row:1!important}
  .equipment-slots .heals:nth-of-type(6){grid-column:8!important;grid-row:1!important}
  .equipment-slots .utility-slot:nth-of-type(7){grid-column:9!important;grid-row:1!important}
  .equipment-slots .utility-slot:nth-of-type(8){grid-column:10!important;grid-row:1!important}
  .slot{
    min-width:0!important;
    height:62px!important;
    padding:7px 8px!important;
    border-color:rgba(122,158,168,.58)!important;
    border-radius:8px!important;
    background:rgba(4,14,19,.86)!important;
    box-shadow:0 8px 18px rgba(0,0,0,.22)!important;
  }
  .slot kbd{top:5px!important;left:7px!important;font-size:10px!important}
  .slot span{font-size:10px!important;line-height:1.15!important}
  .slot strong{font-size:13px!important}
  .slot canvas{width:64px!important;height:34px!important}
  .primary-slot span,.skill-slot span{font-size:11px!important;font-weight:900!important}
  .skill-slot b{font-size:22px!important;line-height:1!important}
  .skill-slot em:not(.hidden){
    inset:5px 5px auto auto!important;
    min-width:48px!important;
    height:25px!important;
    padding:0 6px!important;
    font-size:12px!important;
    border-radius:6px!important;
  }
  .health-bar{height:25px!important;border-width:2px!important;border-radius:3px!important}
  .shield-bar{height:7px!important;margin-top:5px!important;border-radius:2px!important}
  .use-progress{bottom:40px!important;height:14px!important;border-radius:3px!important}
  .use-progress span{font-size:10px!important;line-height:12px!important}
  .weapon-info{
    top:14px!important;
    bottom:auto!important;
    left:14px!important;
    width:260px!important;
    padding:8px 11px!important;
  }
  .weapon-info canvas{width:92px!important;height:42px!important}
  .weapon-info strong{font-size:13px!important}
  .weapon-info span,.weapon-info em{font-size:10px!important}
  .nearby-item{bottom:88px!important}
  .minimap-panel{right:14px!important;bottom:14px!important;top:auto!important}
}

@media (hover:hover) and (max-width:1420px), (pointer:fine) and (max-width:1420px){
  .bottom-status{
    right:178px!important;
    grid-template-columns:132px 96px 96px minmax(220px,1fr) 124px repeat(5,74px)!important;
    gap:6px!important;
  }
  .slot{padding:6px 7px!important}
  .slot span{font-size:9px!important}
  .slot strong{font-size:12px!important}
  .slot canvas{width:54px!important;height:30px!important}
  .identity strong{font-size:13px!important}
  #minimap{width:148px!important;height:148px!important}
}

@media (hover:hover) and (max-width:1120px), (pointer:fine) and (max-width:1120px){
  .bottom-status{
    right:12px!important;
    grid-template-columns:130px 96px 96px minmax(220px,1fr) repeat(5,minmax(64px,1fr))!important;
    grid-template-rows:56px 56px!important;
  }
  .identity{grid-column:1!important;grid-row:1 / 3!important}
  .primary-slot{grid-column:2!important;grid-row:1!important;height:56px!important}
  .skill-slot{grid-column:2!important;grid-row:2!important;height:56px!important}
  .health-area{grid-column:3 / 6!important;grid-row:1!important}
  .armor-slot{grid-column:3 / 6!important;grid-row:2!important;height:56px!important}
  .equipment-slots .heals:nth-of-type(4){grid-column:6!important;grid-row:1!important}
  .equipment-slots .heals:nth-of-type(5){grid-column:7!important;grid-row:1!important}
  .equipment-slots .heals:nth-of-type(6){grid-column:8!important;grid-row:1!important}
  .equipment-slots .utility-slot:nth-of-type(7){grid-column:6!important;grid-row:2!important}
  .equipment-slots .utility-slot:nth-of-type(8){grid-column:7 / 9!important;grid-row:2!important}
  .slot{height:56px!important}
  .minimap-panel{bottom:132px!important}
  .nearby-item{bottom:126px!important}
}

/* Final HUD pass: weapon panel removed, minimap promoted, mobile controls simplified. */
.weapon-info{display:none!important}
#seed-label{display:none!important}
body.debug-mode #seed-label{display:inline!important}
#ai-debug-button{display:none!important}
body.debug-mode #ai-debug-button{display:block!important}
.minimap-panel{
  top:clamp(88px,9vh,116px)!important;
  left:20px!important;
  right:auto!important;
  bottom:auto!important;
  z-index:12!important;
}
#minimap{width:206px!important;height:206px!important}
.rank-feed{
  top:14px!important;
  right:14px!important;
  left:auto!important;
  width:min(280px,28vw)!important;
  z-index:13!important;
}
.kill-feed{max-height:126px!important;overflow:hidden!important}
.bottom-status{
  bottom:16px!important;
  left:22px!important;
  right:22px!important;
  width:auto!important;
  grid-template-columns:150px 132px 132px minmax(260px,420px) repeat(3,110px)!important;
  grid-template-rows:60px 60px!important;
  gap:8px!important;
  transform:none!important;
  align-items:stretch!important;
}
.identity{grid-column:1!important;grid-row:1 / 3!important}
.primary-slot{grid-column:2!important;grid-row:1!important;width:auto!important;height:60px!important}
.skill-slot{grid-column:2!important;grid-row:2!important;width:auto!important;height:60px!important}
.armor-slot{grid-column:3!important;grid-row:1 / 3!important;height:auto!important}
.health-area{grid-column:4!important;grid-row:1 / 3!important;align-self:end!important}
.equipment-slots .heals:nth-of-type(4){grid-column:5!important;grid-row:1!important}
.equipment-slots .heals:nth-of-type(5){grid-column:6!important;grid-row:1!important}
.equipment-slots .utility-slot:nth-of-type(6){grid-column:7!important;grid-row:1!important}
.slot{height:60px!important;min-width:0!important}
.slot canvas{width:64px!important;height:36px!important}
.health-bar{height:30px!important}
.shield-bar{height:8px!important}
.use-progress{bottom:44px!important}
.primary-slot.firing canvas{animation:weapon-recoil .18s cubic-bezier(.12,.82,.2,1)}
.primary-slot.skill-firing canvas{animation:weapon-skill-recoil .28s cubic-bezier(.12,.82,.2,1)}
.primary-slot.auto-firing canvas{animation:weapon-auto-fire .1s steps(2,end) infinite}

@media (hover:hover) and (max-width:1120px), (pointer:fine) and (max-width:1120px){
  .bottom-status{
    left:18px!important;
    right:18px!important;
    grid-template-columns:126px 110px 110px minmax(210px,340px) repeat(3,88px)!important;
    grid-template-rows:54px 54px!important;
  }
  .primary-slot,.skill-slot,.armor-slot,.slot{height:54px!important}
  #minimap{width:172px!important;height:172px!important}
  .rank-feed{width:min(230px,34vw)!important}
}

@media (hover:none) and (pointer:coarse){
  .weapon-info{display:none!important}
  .minimap-panel{
    top:clamp(112px,14vh,168px)!important;
    left:12px!important;
    right:auto!important;
    bottom:auto!important;
  }
  #minimap{width:186px!important;height:186px!important}
  .rank-feed{
    top:10px!important;
    right:10px!important;
    width:min(230px,32vw)!important;
  }
  .bottom-status{
    left:260px!important;
    right:260px!important;
    bottom:18px!important;
    width:auto!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
    transform:none!important;
  }
  .identity,.equipment-slots{display:none!important}
  .health-area{grid-column:1!important;grid-row:1!important}
  .health-bar{height:28px!important}
  .shield-bar{height:7px!important}
  .use-progress{bottom:40px!important;height:13px!important}
  .mobile-controls{display:block!important}
  .virtual-stick{
    width:210px!important;
    height:210px!important;
    bottom:18px!important;
    border-radius:50%!important;
    background:radial-gradient(circle,rgba(33,76,82,.34),rgba(4,13,18,.54))!important;
  }
  .virtual-stick i{width:88px!important;height:88px!important}
  .move-stick{left:20px!important}
  .aim-stick{right:24px!important}
  .skill-stick{
    right:72px!important;
    bottom:236px!important;
    width:138px!important;
    height:138px!important;
  }
  .skill-stick i{width:58px!important;height:58px!important}
  .mobile-heal-actions{
    left:246px!important;
    bottom:112px!important;
    grid-template-columns:repeat(2,64px)!important;
    gap:10px!important;
  }
  .mobile-utility-actions{
    right:246px!important;
    bottom:112px!important;
    grid-template-columns:repeat(2,64px)!important;
    gap:10px!important;
  }
  .mobile-heal-actions button,.mobile-utility-actions button{
    width:64px!important;
    height:64px!important;
    min-height:0!important;
    font-size:18px!important;
    border-radius:50%!important;
  }
  .mobile-heal-actions button small,.mobile-utility-actions button small{font-size:10px!important}
  .nearby-item{bottom:92px!important}
}

@media (hover:none) and (pointer:coarse) and (min-width:1300px){
  #minimap{width:214px!important;height:214px!important}
}

@media (hover:none) and (pointer:coarse) and (max-width:760px){
  #minimap{width:154px!important;height:154px!important}
  .rank-feed{width:min(170px,38vw)!important}
  .bottom-status{left:170px!important;right:170px!important;bottom:14px!important}
  .virtual-stick{width:154px!important;height:154px!important;bottom:14px!important}
  .virtual-stick i{width:64px!important;height:64px!important}
  .move-stick{left:12px!important}
  .aim-stick{right:12px!important}
  .skill-stick{right:46px!important;bottom:176px!important;width:108px!important;height:108px!important}
  .skill-stick i{width:46px!important;height:46px!important}
  .mobile-heal-actions{left:174px!important;bottom:94px!important;grid-template-columns:repeat(2,54px)!important}
  .mobile-utility-actions{right:174px!important;bottom:94px!important;grid-template-columns:repeat(2,54px)!important}
  .mobile-heal-actions button,.mobile-utility-actions button{width:54px!important;height:54px!important;font-size:15px!important}
}

@media(max-height:680px){
  .minimap-panel{
    top:clamp(82px,11vh,112px)!important;
    bottom:auto!important;
  }
}

/* Railway menu redesign */
.menu-screen,.menu-screen.online-menu-ready{
  position:relative!important;
  display:block!important;
  min-height:100vh!important;
  overflow:hidden!important;
  padding:clamp(28px,4vh,56px) clamp(28px,5vw,92px)!important;
  background:
    linear-gradient(90deg,rgba(0,3,6,.48),rgba(0,7,13,.12) 48%,rgba(0,0,0,.5)),
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.62)),
    url("Menu_background.png") center/cover no-repeat,
    radial-gradient(circle at 70% 70%,#0b3652,#02070a 64%)!important;
}
.hero-card{display:none!important}
.menu-vignette{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 72% 67%,transparent 0 28%,rgba(0,0,0,.34) 58%,rgba(0,0,0,.72));
}
.main-menu-shell{
  position:relative;
  z-index:2;
  display:block;
  width:min(1500px,100%);
  margin:0 auto;
  min-height:calc(100vh - clamp(36px,6vw,96px));
}
.menu-left{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:clamp(14px,2vh,24px);
  width:min(720px,50vw);
  max-width:100%;
  min-height:calc(100vh - clamp(36px,6vw,96px));
  padding-top:clamp(28px,6vh,76px);
}
.menu-logo{
  width:clamp(500px,43vw,760px);
  max-width:100%;
  max-height:clamp(200px,27vh,310px);
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 0 22px rgba(0,229,255,.28));
}
.menu-tagline{
  max-width:660px;
  margin:clamp(-16px,-1.8vh,-4px) 0 8px;
  color:#d7f9ff;
  font-size:clamp(18px,1.55vw,25px);
  font-weight:800;
  letter-spacing:.04em;
  text-shadow:0 0 14px rgba(0,229,255,.32);
}
.menu-actions{
  display:grid!important;
  width:clamp(360px,28vw,460px)!important;
  margin:0!important;
  gap:10px!important;
}
.menu-button,.icon-menu-button,.profile-actions button{
  position:relative;
  border:1px solid rgba(0,229,255,.76);
  border-radius:0;
  clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);
  color:#effcff;
  background:linear-gradient(180deg,rgba(5,18,28,.9),rgba(0,7,12,.82));
  box-shadow:inset 0 0 0 1px rgba(155,249,255,.12),0 0 18px rgba(0,229,255,.14);
  font-weight:1000;
  text-transform:none;
}
.menu-button{
  width:100%;
  min-height:clamp(54px,5.8vh,66px);
  padding:0 24px;
  font-size:clamp(15px,1vw,18px);
  letter-spacing:.06em;
}
.menu-button::before,.icon-menu-button::before,.sci-fi-panel::before{
  content:"";
  position:absolute;
  inset:5px;
  pointer-events:none;
  border:1px solid rgba(103,242,255,.2);
  clip-path:inherit;
}
.menu-button:hover,.icon-menu-button:hover,.profile-actions button:hover{
  border-color:#68f4ff;
  background:linear-gradient(180deg,rgba(8,42,58,.95),rgba(0,12,20,.9));
  box-shadow:inset 0 0 22px rgba(0,229,255,.13),0 0 28px rgba(0,229,255,.24);
}
.menu-utility-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(76px,104px));
  gap:8px;
  margin-top:auto;
  padding-bottom:clamp(38px,5vh,64px);
}
.icon-menu-button{
  min-height:40px;
  padding:0 12px;
  font-size:12px;
  letter-spacing:.06em;
}
.sci-fi-panel{
  position:relative;
  border:1px solid rgba(0,229,255,.72);
  clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);
  background:linear-gradient(145deg,rgba(2,17,27,.9),rgba(0,7,13,.78));
  box-shadow:inset 0 0 0 1px rgba(116,249,255,.12),0 24px 80px rgba(0,0,0,.36);
}
.profile-card .eyebrow{
  margin:0 0 10px;
  color:#00eaff;
  letter-spacing:.2em;
}
.menu-hidden-settings{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.profile-overlay{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(8px);
}
.profile-overlay.hidden{display:none}
.profile-card{
  width:min(760px,96vw);
  padding:32px;
}
.profile-card h2{
  margin:0 0 22px;
  font-size:clamp(28px,4vw,48px);
  letter-spacing:-.04em;
}
.profile-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.profile-grid label{
  display:grid;
  gap:8px;
  color:#a8c8cc;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}
.profile-grid input,.profile-grid select{
  min-height:46px;
  padding:9px 12px;
  color:#edfeff;
  border:1px solid rgba(0,229,255,.45);
  background:rgba(2,14,22,.86);
}
.profile-check{
  grid-template-columns:auto 1fr!important;
  align-items:center;
}
.profile-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}
.profile-status,.profile-help{
  margin:14px 0 0;
  color:#a9cbd0;
}

@media (max-width:980px){
  .menu-screen{padding:18px!important;background-position:58% center!important}
  .main-menu-shell{min-height:calc(100vh - 36px)}
  .menu-left{width:min(620px,100%);min-height:calc(100vh - 36px);padding-top:20px}
  .menu-logo{width:min(680px,94vw);max-height:230px}
}
@media (max-width:640px){
  .menu-actions{width:min(100%,420px)!important}
  .menu-utility-actions{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,360px)}
  .profile-grid,.profile-actions{grid-template-columns:1fr}
  .menu-button{min-height:52px}
  .profile-card{padding:24px 18px}
}

/* Online room modal and final HUD fairness pass */
.room-create-modal{
  position:fixed;
  inset:0;
  z-index:95;
  display:grid;
  place-items:center;
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
  background:radial-gradient(circle at 50% 42%,rgba(0,229,255,.14),rgba(0,0,0,.78) 60%,rgba(0,0,0,.9));
  backdrop-filter:blur(8px);
}
.room-create-modal.hidden{display:none}
.room-create-card{
  position:relative;
  width:min(800px,96vw);
  max-height:92dvh;
  overflow:auto;
  padding:clamp(22px,3vw,34px);
  color:#eefcff;
}
.room-join-card{width:min(480px,94vw)}
.room-create-card h2{
  margin:0 0 18px;
  font-size:clamp(26px,4vw,42px);
  letter-spacing:-.04em;
}
.room-create-card .close{
  position:absolute;
  top:14px;
  right:14px;
}
.room-create-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.room-create-grid.single-column{grid-template-columns:1fr}
.room-create-grid label{
  display:grid;
  gap:7px;
  color:#a9ccd1;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
}
.room-create-grid input,.room-create-grid select{
  min-height:48px;
  padding:10px 12px;
  color:#effcff;
  border:1px solid rgba(0,229,255,.48);
  background:rgba(2,13,20,.9);
  outline:none;
}
.room-create-grid input:focus,.room-create-grid select:focus{
  border-color:#67f2ff;
  box-shadow:0 0 0 2px rgba(0,229,255,.16);
}
.room-create-grid input:disabled{
  color:#6f8d92;
  border-color:rgba(116,142,148,.28);
  background:rgba(7,12,16,.72);
}
.room-check{
  grid-template-columns:auto 1fr!important;
  align-items:center;
  min-height:48px;
  padding:11px 12px;
  border:1px solid rgba(0,229,255,.28);
  background:rgba(2,13,20,.58);
}
.room-check input{min-height:auto}
.room-create-error{
  min-height:20px;
  margin:12px 0 0;
  color:#ff9d9d;
  font-weight:900;
}
.room-create-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.room-create-actions button{
  min-height:52px;
}
.menu-toast{
  position:fixed;
  left:50%;
  bottom:calc(28px + env(safe-area-inset-bottom));
  z-index:120;
  max-width:min(520px,90vw);
  padding:12px 18px;
  color:#eaffff;
  border:1px solid rgba(0,229,255,.65);
  background:rgba(3,16,24,.94);
  box-shadow:0 0 22px rgba(0,229,255,.2);
  transform:translateX(-50%);
}
.menu-toast.hidden{display:none}
.menu-toast.error{
  color:#ffe2e2;
  border-color:rgba(255,112,112,.72);
}
.profile-token-field{grid-column:1 / -1}

@media (hover:hover) and (pointer:fine){
  .nearby-item{
    left:auto!important;
    right:max(260px,calc(env(safe-area-inset-right) + 240px))!important;
    bottom:118px!important;
    transform:none!important;
  }
}

@media (hover:none) and (pointer:coarse){
  #mobile-flare{order:1!important}
  #mobile-pickup{order:2!important}
}

@media (max-width:720px){
  .room-create-grid{grid-template-columns:1fr}
  .room-create-actions{grid-template-columns:1fr}
}

/* Prompt 2 UI pass: static modal, separated HUD rules */
.ls-modal.hidden{display:none}
.ls-modal{
  position:fixed;
  inset:0;
  z-index:3000;
}
.ls-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.58);
}
.ls-modal__panel{
  position:relative;
  width:min(92vw,620px);
  max-height:min(86vh,760px);
  margin:6vh auto 0;
  overflow:auto;
  color:#eefcff;
  border:1px solid rgba(86,180,255,.52);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(8,16,28,.96),rgba(4,10,18,.98));
  box-shadow:0 18px 48px rgba(0,0,0,.35),inset 0 0 0 1px rgba(120,210,255,.08),0 0 26px rgba(0,229,255,.12);
}
.ls-modal__panel--compact{width:min(92vw,460px)}
.ls-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px 10px;
  border-bottom:1px solid rgba(86,180,255,.18);
}
.ls-modal__header h2{
  margin:0;
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.03em;
}
.ls-icon-btn{
  width:44px;
  height:44px;
  color:#effcff;
  border:1px solid rgba(99,222,208,.6);
  border-radius:10px;
  background:rgba(4,18,27,.86);
  font-size:24px;
  line-height:1;
}
.ls-form{
  display:grid;
  gap:14px;
  padding:16px 18px 18px;
}
.ls-form label{
  display:grid;
  gap:7px;
  color:#a9ccd1;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
}
.ls-form input,.ls-form select{
  min-height:46px;
  padding:10px 12px;
  color:#effcff;
  border:1px solid rgba(86,180,255,.42);
  border-radius:10px;
  background:rgba(2,13,20,.92);
  outline:none;
}
.ls-form input[type="range"]{
  min-height:32px;
  padding:0;
  accent-color:#63ded0;
}
.ls-form input:focus,.ls-form select:focus{
  border-color:#67f2ff;
  box-shadow:0 0 0 2px rgba(0,229,255,.16);
}
.ls-form input:disabled{
  color:#6f8d92;
  border-color:rgba(116,142,148,.28);
  background:rgba(7,12,16,.72);
}
.ls-form label.is-disabled{
  opacity:.55;
}
.ls-switch-row{
  grid-template-columns:1fr auto!important;
  align-items:center;
  min-height:46px;
  padding:11px 12px;
  border:1px solid rgba(86,180,255,.25);
  border-radius:10px;
  background:rgba(2,13,20,.56);
}
.ls-switch-row input{
  min-height:auto;
  width:20px;
  height:20px;
}
.ls-form__error{
  min-height:1.25rem;
  margin:0;
  color:#ff8585;
  font-weight:900;
  line-height:1.45;
}
.ls-modal__footer{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:2px;
}
.ls-btn{
  min-height:52px;
  color:#effcff;
  border:1px solid rgba(99,222,208,.58);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(7,26,38,.92),rgba(2,12,20,.92));
  font-weight:1000;
  letter-spacing:.08em;
}
.ls-btn--primary{
  color:#021113;
  border-color:#63ded0;
  background:linear-gradient(180deg,#86fff5,#50d5ca);
}

@media (min-width:901px) and (hover:hover) and (pointer:fine){
  .nearby-item{
    left:auto!important;
    right:max(300px,calc(env(safe-area-inset-right) + 280px))!important;
    transform:none!important;
  }
}

@media (max-width:900px), (hover:none) and (pointer:coarse){
  #mobile-flare{order:1!important}
  #mobile-pickup{order:2!important}
}

@media (max-width:640px){
  .ls-modal__panel{
    width:94vw;
    max-height:88vh;
    margin:4vh auto 0;
  }
  .ls-modal__footer{grid-template-columns:1fr}
}
