@font-face{font-family:MuLaunch;src:url('launcher-art/NotoSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:MuLaunch;src:url('launcher-art/NotoSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
#startup{overflow:auto;display:block;padding:24px max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));background:linear-gradient(180deg,#060c18c9,#070c17f2 90%),url('launcher-art/castle.png') center/cover fixed;font-family:MuLaunch,system-ui,sans-serif}
#startup[hidden]{display:none}.launch-shell{max-width:960px;margin:auto}.launch-header{text-align:center;margin-bottom:25px}.launch-logo{display:block;width:172px;height:80px;object-fit:contain;margin:0 auto 4px;filter:drop-shadow(0 5px 18px #000)}.launch-edition{font-size:9px;letter-spacing:3px;color:#ab9c81}.launch-edition b{color:#ddbb75;margin:0 9px}.launch-header h1{font-size:24px;line-height:1.4;font-weight:700;color:#f6ead4;margin:10px 0 6px}.launch-header p{font-size:12px;color:#a2a9ba;margin:0}
.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mode-card{--accent:#e6bb77;position:relative;isolation:isolate;overflow:hidden;min-width:0;height:clamp(365px,52vh,500px);background:#0e1420;border:1px solid #a77d4b88;border-radius:12px;box-shadow:0 18px 48px #0008,inset 0 0 0 3px #0d111b;transition:border-color .2s,box-shadow .2s}.mobile-card{--accent:#8ddbe9;border-color:#628da180}.mode-card:after{content:"";position:absolute;inset:7px;border:1px solid #f0d2a024;border-radius:7px;pointer-events:none;z-index:3}.mobile-card:after{border-color:#a6edff25}.mode-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:-2;transition:transform .65s ease;filter:saturate(.9)}.mode-card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#060b1420 25%,#070b1700 38%,#080d1ad9 72%,#080d1a 100%)}.mode-card:hover{border-color:var(--accent);box-shadow:0 18px 50px #0009,0 0 26px #b59a6010}.mode-card:hover .mode-art{transform:scale(1.035)}
.card-badge{position:absolute;left:22px;top:22px;display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #e3c6a13b;background:#080c18a3;border-radius:4px;font-size:9px;letter-spacing:1.5px;color:#f0e4d1;backdrop-filter:blur(8px)}.card-badge svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}.card-content{position:absolute;bottom:0;left:0;right:0;padding:0 28px 28px}.card-eyebrow{font-size:9px;letter-spacing:2px;color:var(--accent);margin:0 0 6px}.card-content h2{font-size:36px;line-height:1.25;letter-spacing:-.8px;color:#fff6e6;margin:0 0 8px;font-weight:700}.card-content h2 span{font-size:19px;font-weight:400;letter-spacing:0;color:#c7e8f2;margin-left:5px}.mode-copy{color:#c1c7d3;font-size:12px;line-height:1.6;margin:0 0 21px}
.launch-action{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:49px;padding:12px 18px;border:1px solid #f5d9a9;border-radius:5px;background:linear-gradient(115deg,#f1d397,#c39856);color:#241b0e;font:700 13px MuLaunch;box-shadow:inset 0 1px #fff6}.launch-action>span:last-child{font:24px/1 system-ui}.mobile-card .launch-action{background:linear-gradient(115deg,#b9e7ed,#77b4cc);border-color:#b8ebf4;color:#0d2835}.launch-action:hover{filter:brightness(1.12)}.launch-action:focus-visible{outline:3px solid #fff;outline-offset:4px}.launch-action:disabled{filter:saturate(.35);opacity:.65}
.launch-message{text-align:center;color:#8f9aac;font-size:10px;margin:17px 0 13px;line-height:1.6}.launch-footer{display:flex;justify-content:space-between;gap:12px;color:#657086;font-size:9px;letter-spacing:.6px;padding-top:13px}.launch-footer>span:first-child{color:#a5977c}
#world-loading{position:fixed;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(#080b1680,#080b16e8),url('launcher-art/castle.png') center/cover;font-family:MuLaunch,system-ui,sans-serif;color:#ead9b8;pointer-events:none}#world-loading[hidden]{display:none}#world-loading img{width:min(330px,48vw);height:auto;object-fit:contain;margin-bottom:32px;filter:drop-shadow(0 6px 15px #000)}#world-loading p{font-size:16px;margin:10px}#world-loading small{font-size:11px;color:#a9a9b2;margin-top:14px}.loading-line{width:min(300px,65vw);height:4px;background:linear-gradient(90deg,#514b3f,#d8ba78,#514b3f);border-radius:3px}
#rotate{display:none}body[data-playing="true"][data-play-mode="desktop"] #canvas{cursor:none}#connection-status{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);width:min(520px,94vw);z-index:20;background:#171e2cf5;border:1px solid #a77e45;padding:12px 16px;box-shadow:0 8px 30px #0008;font-size:12px}#connection-status[hidden]{display:none}#connection-status p{margin:0 0 9px}#connection-status button{min-height:36px;font-size:12px;padding:6px 14px;margin-right:8px}
@media(min-width:621px) and (max-height:760px){#startup{padding-top:12px}.launch-header{margin-bottom:17px}.launch-logo{width:140px;height:61px}.launch-header h1{font-size:21px;margin-top:5px}.launch-edition{font-size:8px}.mode-card{height:365px}.card-content{padding:0 23px 23px}.card-content h2{font-size:31px}.launch-message{margin:11px 0}.launch-footer{padding-top:7px}}
@media(max-width:620px){#startup{padding:18px 16px;background-attachment:scroll}.launch-logo{width:150px;height:68px}.launch-header{margin-bottom:20px}.launch-header h1{font-size:20px}.launch-header p{font-size:11px}.mode-options{grid-template-columns:1fr;gap:18px;max-width:430px;margin:auto}.mode-card{height:375px}.mode-art{object-position:center top}.card-content{padding:0 23px 23px}.card-content h2{font-size:32px}.mode-copy{font-size:11px;margin-bottom:16px}.card-badge{left:20px;top:20px}.launch-footer{font-size:8px;letter-spacing:0}.launch-message{font-size:9px}}
@media(min-width:621px) and (max-height:500px){#startup{padding-top:10px}.launch-header{display:grid;grid-template-columns:115px 1fr;grid-template-rows:1fr 1fr;text-align:left;column-gap:15px;margin-bottom:13px}.launch-logo{grid-row:1/3;width:110px;height:52px;margin:0}.launch-edition{display:none}.launch-header h1{font-size:19px;margin:2px 0 0;align-self:end}.launch-header p{font-size:10px}.mode-options{gap:16px}.mode-card{height:240px}.mode-art{object-position:center top}.mode-card:before{background:linear-gradient(90deg,#080d1a99,#080d1a00),linear-gradient(0deg,#080d1a,#080d1a00 95%)}.card-content{padding:0 18px 17px}.card-eyebrow{display:none}.card-content h2{font-size:27px;margin-bottom:4px}.card-content h2 span{font-size:16px}.mode-copy{font-size:10px;margin-bottom:10px}.card-badge{top:14px;left:16px;padding:4px 7px;font-size:8px}.launch-action{min-height:44px;padding:9px 13px;font-size:12px}.launch-footer{display:none}}
@media(orientation:portrait) and (pointer:coarse){body[data-playing="true"][data-play-mode="mobile"] #rotate{display:grid}}
@media(prefers-reduced-motion:reduce){.mode-card,.mode-art{transition:none}.mode-card:hover .mode-art{transform:none}}
.launch-shell{width:100%}
body:not([data-playing="true"]) #fullscreen{display:none}
