:root{color-scheme:light;--ink:#493d32;--jade:#32644f;--cream:#fff8eb;--gold:#d2a458;font-family:var(--camp-font);color:var(--ink)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#20382d}body{display:flex;justify-content:center;min-height:100svh;align-items:center}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}[hidden]{display:none!important}
.launch-handset .launch-screen{position:absolute;isolation:isolate;inset:var(--chrome-height) 0 var(--safe-bottom);overflow:hidden;background:#f5dfb5}
.launch-handset .wx-nav{background:#243d32}
.launch-handset .wx-sheet{color:#fff8eb}
.launch-handset .wx-sheet button{cursor:pointer;color:#fff8eb;border:1px solid #67765f;background:#344e42}
.launch-handset .wx-nav button{cursor:pointer}
.launch-handset .screen{background:#243d32}
.launch-handset .lobby-safe-insets,.launch-handset .stage-safe-insets,.launch-handset .muster-safe{padding:0}

.launch-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 53%;z-index:-2}
.courtyard-background{z-index:-1;opacity:0;pointer-events:none}
.entrance-veil{position:absolute;inset:0;z-index:4;background:#fff8eb;opacity:0;pointer-events:none}
.scene-loading{
 position:absolute;z-index:60;left:50%;top:50%;width:168px;height:168px;
 transform:translate(-50%,-50%);pointer-events:none;
}
.scene-loading[hidden]{display:none}
.courtyard-scene{position:absolute;inset:0;z-index:5}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-scene="transition"] .launch-screen{pointer-events:none}
body[data-scene="transition"] .launch-background{will-change:transform,opacity}
.sky-soften{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(255,248,235,.15),transparent 37%,transparent 66%,rgba(255,248,235,.19))}
.brand-block{position:absolute;top:max(8.3%,35px);left:0;width:100%;text-align:center}
.brand-kicker{margin:0 0 13px;font-size:11px;letter-spacing:3px;color:#355d50;font-weight:600;display:flex;gap:10px;align-items:center;justify-content:center}.brand-kicker span{width:23px;height:1px;background:#41644d;opacity:.55}
h1{margin:0;font-family:var(--camp-font);line-height:.94;font-weight:900;letter-spacing:5px;color:#2c5743;text-shadow:0 2px 0 #f8e6b6,1px 0 0 #f8e6b6,-1px 0 0 #f8e6b6,0 5px 0 rgba(102,114,75,.13)}
.title-small,.title-large{display:block}.title-small{font-size:62px;letter-spacing:12px;padding-left:12px;margin-bottom:8px}.title-large{font-size:82px}
.brand-tagline{margin:18px 0 8px;font-size:13px;letter-spacing:5px;padding-left:5px;color:#355d50}.brand-flourish{display:flex;align-items:center;justify-content:center;gap:8px;color:#a47c3e}.brand-flourish i{display:block;width:32px;height:1px;background:currentColor;opacity:.6}.brand-flourish b{font-size:7px;font-weight:normal}
.launch-status{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);width:min(78%,350px);text-align:center}.status-heading{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:12px}h2{font-size:16px;letter-spacing:2px;font-weight:600;margin:0}.status-flower{color:#a8844c;font-size:12px}
.progress-caption{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:6px 3px 0;font-size:11px;color:#665844;line-height:1.6;min-height:27px;text-align:left}.progress-caption output{font-variant-numeric:tabular-nums;white-space:nowrap;color:#32644f}
.jade-button{display:flex;justify-content:center;align-items:center;gap:18px;background:transparent url('./assets/button_primary_default.png') center/100% 100% no-repeat;border:0;color:var(--cream);width:232px;height:58px;max-width:100%;margin:15px auto 0;font-size:16px;font-weight:600;letter-spacing:3px;cursor:pointer;text-decoration:none;text-shadow:0 1px #294f3d}.jade-button:active{background-image:url('./assets/button_primary_pressed.png');padding-top:3px}.jade-button:focus-visible{outline:3px solid #9b743e;outline-offset:4px;border-radius:13px}.jade-button:disabled{background-image:url('./assets/button_primary_disabled.png');color:#535b51;cursor:default}.jade-button span{font-size:24px;line-height:1}
.launch-hint{font-size:10px;line-height:1.7;margin:11px -15px 0;color:#78674d;letter-spacing:.5px}.request-id{font-size:10px;overflow-wrap:anywhere;color:#78674d;margin:6px 0}
.launch-footer{position:absolute;bottom:18px;width:100%;text-align:center;color:#75674d;font-size:10px;letter-spacing:1px}.launch-footer i{font-style:normal;margin:0 8px}.launch-footer p{margin:6px 0 0;font-size:9px;letter-spacing:1px}
.back-to-tools{display:none}
.back-to-tools[hidden]{display:none}
@media(min-width:700px){.back-to-tools{display:block;position:fixed;bottom:32px;right:35px;color:#b9c3ae;text-decoration:none;font-size:12px;letter-spacing:1px}}
@media(max-height:730px){.brand-block{top:max(7.5%,24px)}.title-small{font-size:48px}.title-large{font-size:65px}.brand-kicker{font-size:10px;margin-bottom:9px}.brand-tagline{margin-top:13px;font-size:11px}.launch-status{bottom:65px}.status-heading{margin-bottom:7px}.jade-button{height:50px;width:208px;margin-top:8px}.launch-hint{margin-top:6px}.launch-footer{bottom:9px}}
@media(max-height:620px){.brand-block{top:max(5.5%,20px)}.title-small{font-size:40px;margin-bottom:5px}.title-large{font-size:56px}.brand-tagline,.brand-flourish{display:none}}

.file-launch{max-width:380px;margin:20px;background:#fff8eb;padding:28px;border-radius:14px;text-align:center;color:#493d32}
.file-launch h1{font-size:26px}.file-launch p{font-size:14px;line-height:1.7}

/* Small portrait viewports use all available space for touch controls. */
@media(max-width:420px) and (orientation:portrait), (max-width:700px) and (orientation:portrait) and (pointer:coarse){
  .launch-handset{--screen-height:100dvh;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);width:100%;padding:0;background:none;box-shadow:none;border-radius:0}
  .launch-handset .screen{border-radius:0}
  .launch-handset::before,.launch-handset::after,.launch-handset .screen::before,.launch-handset .screen::after{display:none}
}

@media(orientation:landscape) and (max-height:790px){
  body{height:100dvh;overflow:hidden}
  .launch-handset{--screen-height:700px;--rim:9px;--safe-top:26px;--safe-bottom:18px;--nav-height:44px;transform:scale(var(--preview-scale,1))}
}
