@font-face{font-family:MuLegend;src:url('launcher-art/NotoSerif-BoldItalic.ttf') format('truetype');font-weight:700;font-style:italic;font-display:swap}
#startup{padding-top:max(18px,env(safe-area-inset-top));background:linear-gradient(180deg,#130c19a6,#100a13e8 66%,#100a13),url('launcher-art/battlefield-v2.png') center top/cover fixed;color:#ece0d5}
.launch-shell{max-width:1080px}.play-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #c0924f4d;padding:0 0 15px;margin-bottom:16px;color:#b9a58e;font-size:11px;letter-spacing:1px}.play-nav a{color:#e7c58d;text-decoration:none;letter-spacing:0;padding:6px 0}.play-nav b{font-weight:400;color:#db9747;margin:0 7px}.play-nav a:hover{color:#fff3c4}.play-nav a:focus-visible{outline:2px solid #e8bd74;outline-offset:5px}
.launch-header{margin-bottom:25px}.launch-logo{width:225px;height:108px;margin-bottom:7px}.launch-edition{color:#dfb977;font-size:9px}.launch-header h1{font:italic 700 31px/1.4 MuLegend,Georgia,serif;color:#ffebae;margin:12px 0 8px;text-shadow:0 3px 9px #000}.launch-header p{font-size:12px;color:#ccbbb4}
.mode-options{gap:24px}.mode-card{--accent:#f5c270;height:clamp(370px,48vh,495px);border-radius:2px;border-color:#bb8c45;background:#1d0e14;box-shadow:0 15px 40px #0008,inset 0 0 0 4px #1c1013}.mobile-card{--accent:#f5c270;border-color:#bb8c45}.mode-card:after,.mobile-card:after{inset:6px;border-radius:0;border-color:#e0b77140}.mode-art{filter:saturate(.88) contrast(1.03)}.mode-card:before{background:linear-gradient(180deg,#16070a00 18%,#170c1270 44%,#130a13e8 74%,#130a13 100%)}.card-badge{background:#211016c9;border-color:#e8bc6d80;color:#f4d69a;border-radius:2px;font-size:9px}.card-content{padding:0 28px 26px}.card-eyebrow{color:#e6b56c}.card-content h2{font:italic 700 37px/1.3 MuLegend,Georgia,serif;color:#ffecbb;letter-spacing:0}.card-content h2 span{font:400 15px MuLaunch,sans-serif;color:#d2b591;letter-spacing:0}.mode-copy{color:#e0ced0;font-size:12px;margin-bottom:19px}
.launch-action,.mobile-card .launch-action{border:1px solid #ffd78c;border-radius:1px;background:linear-gradient(180deg,#ffb24b 0%,#9d2c0d 12%,#7a1a0c 46%,#cc440a 88%,#fda238 100%);color:#fff0bc;box-shadow:inset 0 0 0 3px #f3ab4a70,0 4px 16px #e33c1b33;text-shadow:0 2px 2px #400c00;min-height:53px;font-size:13px;padding:14px 22px}.launch-action:hover{filter:brightness(1.14);box-shadow:inset 0 0 0 3px #ffce7b80,0 4px 24px #e963244d}
.launch-message{font-size:11px;color:#bca399;margin:19px 0}.update-panel,.pwa-panel{background:#190e17d9;border-color:#9e77474d;border-radius:2px;color:#cbb8aa}.update-panel button{background:#2c1820;border-color:#84633d;color:#e9ce9b}.update-row strong{color:#e9ce9b}.launch-footer{border-top:1px solid #9f784136;padding:17px 0 4px;margin-top:19px;color:#ae8e7a;font-size:10px}.launch-footer>span:first-child{color:#e4b777}
#world-loading{background:linear-gradient(#160b14aa,#100a13ef),url('launcher-art/battlefield-v2.png') center/cover}
@media(max-width:620px){.mobile-card{order:-1}}
@media(max-width:620px){#startup{padding:12px 14px 20px;background-attachment:scroll}.play-nav{font-size:10px;padding-bottom:11px;margin-bottom:13px}.play-nav>span{display:none}.launch-logo{width:185px;height:92px}.launch-edition{letter-spacing:1.8px;font-size:8px}.launch-header{margin-bottom:22px}.launch-header h1{font-size:24px;margin-top:10px}.launch-header p{font-size:11px}.mode-options{gap:18px}.mode-card{height:360px}.card-content{padding:0 23px 23px}.card-content h2{font-size:32px}.card-content h2 span{font-size:14px}.mode-copy{font-size:11px}.launch-footer{font-size:9px;letter-spacing:0;flex-wrap:wrap}.launch-action,.mobile-card .launch-action{font-size:12px;min-height:51px}.update-row{gap:8px}}
@media(min-width:621px) and (max-height:500px){.play-nav{margin-bottom:10px;padding-bottom:8px}.launch-header{margin-bottom:15px}.launch-logo{width:110px;height:52px}.launch-header h1{font-size:21px;margin:0}.mode-card{height:275px}.card-content{padding:0 18px 18px}.card-content h2{font-size:27px}.launch-action,.mobile-card .launch-action{min-height:44px;padding:9px 15px}.mode-copy{font-size:10px;margin-bottom:10px}}

/* Keep HUD and launcher anchored on the same non-scrolling document surface.
   Only the launcher itself scrolls. This also applies before Wasm starts. */
html,body{overflow:clip;overscroll-behavior:none}
body{position:fixed;inset:0;height:auto}
html,body,#boot-loading:not([hidden]),#world-loading:not([hidden]){height:var(--mu-surface-height,100%)}
@media(display-mode:standalone){html,body{height:var(--mu-surface-height,100lvh)}}
body #world-loading{background:linear-gradient(#12091118,#12091155),url("launcher-art/dk-loading.jpg") left center/cover}
body #world-loading{justify-content:flex-end;padding-bottom:max(4vh,env(safe-area-inset-bottom));background-color:#100910;background-position:center;background-size:100% 100%}
body #world-loading img{display:none}
#boot-loading:not([hidden]){position:fixed;inset:0;z-index:12;background:#100910;display:grid;place-items:center;margin:0}
#boot-loading img{width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
#boot-loading p{position:absolute;bottom:max(1.5vh,env(safe-area-inset-bottom));margin:0;color:#fff1ca;text-shadow:0 1px 4px #000}

#startup:not([hidden]){display:grid;overflow:hidden;background-attachment:scroll;padding:max(6px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
#startup .launch-shell{display:flex;flex-direction:column;align-self:stretch;min-height:0;width:min(100%,880px);height:100%;margin:auto}
#startup:not([hidden]){grid-template-rows:minmax(0,1fr)}
#startup .launch-shell{padding-bottom:var(--mu-launch-inset,0px)}
.play-nav{margin:0;padding:0;min-height:40px;flex:none;letter-spacing:0}
.play-nav a,#play-info-open{display:inline-flex;align-items:center;min-height:44px}
#play-info-open{background:transparent;border:0;color:#e8cb92;font:600 12px MuLaunch,sans-serif;padding:4px}
.launch-header{flex:none;display:flex;align-items:center;justify-content:center;gap:16px;margin:clamp(4px,1.6vh,16px) 0}
.launch-logo{width:clamp(84px,16vw,152px);height:clamp(40px,8vh,76px);margin:0;object-fit:contain}
.launch-header h1{margin:0;font:italic 700 clamp(20px,3.2vw,30px)/1.2 MuLegend,Georgia,serif}
.mode-options{display:grid;flex:1;width:100%;max-width:none;margin:0;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:clamp(8px,1.8vw,18px);padding-bottom:5px}
.mode-card{width:100%;height:100%;min-height:0}
.card-content{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 12px clamp(8px,2.5vh,23px)}
.card-content h2{font:italic 700 clamp(23px,4vw,38px)/1.2 MuLegend,Georgia,serif;margin:0;text-shadow:0 2px 5px #000}
.launch-action,.mobile-card .launch-action{display:grid;place-items:center;width:min(100%,220px);height:clamp(44px,6.8vh,56px);min-height:44px;padding:0 16px;border:0;border-radius:0;background:transparent url('launcher-art/play-gem.webp') center/100% 100% no-repeat;box-shadow:none;text-decoration:none;color:#fff2c6;font:700 clamp(15px,2vw,20px) MuLaunch,sans-serif;text-transform:uppercase;letter-spacing:.04em;text-shadow:0 2px 3px #260807;filter:drop-shadow(0 3px 5px #100208)}
.launch-action:active{transform:translateY(1px);filter:brightness(1.2)}
.launch-action,.mobile-card .launch-action{justify-content:center;text-align:center}
.launch-message{flex:none;margin:0;font-size:12px}.launch-message:not(:empty){padding:4px}
#play-info{width:min(470px,94vw);max-height:85dvh;overflow:auto;margin:auto;padding:16px;color:#eddec6;background:#1b1019;border:1px solid #b48b50}
#play-info::backdrop{background:#08050edb}.info-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.info-heading h2{margin:0;font:700 18px MuLaunch,sans-serif}.info-heading button{min-height:40px;padding:5px 12px}
@media (orientation:portrait){.mode-options{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.mobile-card{order:-1}.mode-art{object-position:center top}.card-content{align-items:flex-end;padding:0 16px 12px;gap:3px}.card-content h2{font-size:25px}.launch-action,.mobile-card .launch-action{width:min(54%,200px)}.mode-card:before{background:linear-gradient(0deg,#170913cc,transparent 65%)}}
@media (orientation:landscape) and (max-height:500px){.launch-header{position:absolute;left:50%;transform:translateX(-50%);height:42px;margin:0;pointer-events:none}.launch-header h1{display:none}.launch-logo{width:84px;height:40px}.mode-options{padding-top:6px}.card-content{padding-bottom:8px;gap:2px}.card-content h2{font-size:23px}.mode-art{object-position:center top}}
