#boot-status{position:fixed;inset:0;z-index:1000;overflow:hidden;background:#0e4b37;color:#fff8db;font:16px/1.6 system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;isolation:isolate}
#boot-status *{box-sizing:border-box}#boot-status[hidden],#boot-status [hidden]{display:none!important}
#boot-status .boot-art{position:absolute;top:0;right:0;width:66%;height:100%;object-fit:cover;object-position:50% 52%;animation:boot-drift 24s ease-in-out infinite alternate;z-index:-3}
#boot-status:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0e4b37 0%,#0e4b37 35%,#0e4b37dd 42%,#0e4b3780 52%,transparent 68%)}
#boot-status .boot-light{position:absolute;inset:-20%;pointer-events:none;z-index:-2;background:radial-gradient(ellipse at 60% 30%,#fff6c430,transparent 50%);animation:boot-light 14s ease-in-out infinite alternate}
#boot-status .boot-heading{position:absolute;top:16%;left:5%;width:42%;text-align:center}
#boot-status .boot-brand{font-size:19px;letter-spacing:.14em;font-weight:750;color:#f5f4d5}
#boot-status h1{font-size:clamp(32px,4.5vw,66px);line-height:1.2;letter-spacing:-.025em;font-weight:950;margin:18px 0 14px;text-shadow:0 3px 0 #24492c55}
#boot-status .boot-ai{position:relative;display:inline-block;color:#def579;letter-spacing:-.045em}
#boot-status .boot-ai:after{content:"";position:absolute;width:.16em;height:.28em;border-radius:100% 0 100% 0;background:#def579;top:-.13em;right:.02em;transform:rotate(25deg)}
#boot-status .boot-intro{font-size:17px;font-weight:600;letter-spacing:.16em;margin:0;color:#ecf0cb}
#boot-status .boot-content{position:absolute;bottom:max(7%,env(safe-area-inset-bottom));left:5%;width:42%;max-width:560px;text-align:center;background:#fff9dfed;padding:22px;border:1px solid #fff5cf;border-radius:28px;box-shadow:0 8px 30px #133d2529}
#boot-status button{font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#boot-status .boot-actions{display:flex;justify-content:center;gap:10px}
#boot-status .boot-actions button{flex:1;min-width:0;min-height:50px;padding:11px 12px;border-radius:28px;border:2px solid #1d583d;font-size:15px;font-weight:750;white-space:nowrap;background:transparent;color:#17452f}
#boot-status .boot-actions #boot-join-open{background:#1d583d;color:#fff9df;border-color:#1d583d;box-shadow:0 3px 8px #1d583d22}
#boot-status #boot-join-open>span{color:#dcec81}
#boot-status .boot-actions button:hover{filter:brightness(1.1)}#boot-status button:focus-visible,#boot-status textarea:focus-visible{outline:3px solid #85c6b2;outline-offset:3px}
#boot-status #boot-message{font-size:12px;color:#526f4e;min-height:20px;margin:12px 0 4px}
#boot-status .boot-spinner{display:inline-block;width:10px;height:10px;border:1px solid #70996255;border-top-color:#3a774b;border-radius:50%;margin-right:6px;animation:boot-spin 1.2s linear infinite}
#boot-status.is-failed .boot-spinner{animation:none;border:0;background:#edc686;width:5px;height:5px;vertical-align:middle}
#boot-status .boot-caption{font-size:10px;letter-spacing:.1em;color:#71856a}
#boot-status .boot-pollen{position:absolute;inset:0;pointer-events:none;z-index:-1}
#boot-status .boot-pollen i{position:absolute;bottom:30%;width:3px;height:3px;background:#f5df88;border-radius:50%;box-shadow:0 0 8px #f9df89;opacity:0;animation:boot-pollen 12s ease-in-out infinite;left:20%}
#boot-status .boot-pollen i:nth-child(2){left:36%;animation-delay:-3s;animation-duration:15s}#boot-status .boot-pollen i:nth-child(3){left:51%;animation-delay:-7s}#boot-status .boot-pollen i:nth-child(4){left:63%;animation-delay:-4s;animation-duration:17s}#boot-status .boot-pollen i:nth-child(5){left:78%;animation-delay:-9s}#boot-status .boot-pollen i:nth-child(6){left:90%;animation-delay:-2s;animation-duration:14s}
#boot-status #boot-join{position:absolute;inset:0;z-index:2;background:#082f36a6;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto;backdrop-filter:blur(12px)}
#boot-status .boot-join-card{position:relative;width:min(540px,100%);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;background:#fbfcf4;color:#244c3e;padding:30px;border:1px solid #eef0df;border-radius:20px;box-shadow:0 20px 80px #062a3266;text-align:left}
#boot-status #boot-join-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;background:transparent;font-size:26px;color:#315748;border-radius:10px}
#boot-status .boot-modal-kicker{font-size:10px;letter-spacing:.2em;color:#718575}#boot-status h2{font-size:23px;line-height:1.4;margin:10px 24px 8px 0}
#boot-status #boot-join-description{font-size:13px;color:#748275;margin:0 0 16px}
#boot-status .boot-languages{display:flex;gap:5px;margin-bottom:12px}#boot-status .boot-languages button{min-height:40px;padding:7px 14px;border:1px solid #d4dfcc;border-radius:9px;background:transparent;color:#617565;font-size:13px}
#boot-status .boot-languages button[aria-pressed=true]{color:#fff;background:#315b46;border-color:#315b46}
#boot-status textarea{display:block;width:100%;height:clamp(120px,30vh,260px);resize:vertical;border:1px solid #d4dfcc;border-radius:10px;padding:12px;color:#385548;background:#fffef9;font-family:inherit;line-height:1.7;font-size:12px}
#boot-status #boot-copy{width:100%;min-height:46px;margin-top:14px;border:0;border-radius:10px;background:#315b46;color:#fff;font-size:14px;font-weight:600}
#boot-status #boot-copy-status{font-size:12px;color:#637662;min-height:20px;margin:8px 0 0}#boot-status .boot-noscript{position:absolute;bottom:0;margin:0;width:100%;background:#123e35;padding:4px 14px;font-size:11px;text-align:center}
@keyframes boot-drift{from{transform:scale(1.01) translateY(0)}to{transform:scale(1.035) translateY(-.4%)}}@keyframes boot-light{from{opacity:.4;transform:translateX(-2%)}to{opacity:1;transform:translateX(2%)}}@keyframes boot-pollen{0%{opacity:0;transform:translate(0,0)}20%,65%{opacity:.55}100%{opacity:0;transform:translate(28px,-180px)}}@keyframes boot-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){#boot-status .boot-art{width:100%;object-position:50% 50%}#boot-status:before{background:linear-gradient(180deg,#0a492d33,transparent 35%,transparent 85%,#174b2944)}#boot-status .boot-heading{top:max(28px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:calc(100% - 28px)}#boot-status .boot-brand{font-size:15px}#boot-status h1{font-size:clamp(36px,10.5vw,56px);margin:12px 0 8px}#boot-status .boot-intro{font-size:13px}#boot-status .boot-content{bottom:max(14px,env(safe-area-inset-bottom));left:12px;width:calc(100% - 24px);max-width:none;padding:16px 12px;border-radius:24px}#boot-status .boot-actions{gap:8px}#boot-status .boot-actions button{padding:10px 8px;font-size:13px;gap:5px}#boot-status #boot-join{padding:16px}#boot-status .boot-join-card{padding:24px 20px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}#boot-status h2{font-size:20px}}
@media(max-height:540px){#boot-status .boot-heading{top:20px}#boot-status h1{font-size:28px;margin:8px 0}#boot-status .boot-intro{font-size:12px}#boot-status .boot-content{bottom:12px;padding:12px}#boot-status #boot-message{margin-top:8px}}
@media(prefers-reduced-motion:reduce){#boot-status .boot-art,#boot-status .boot-light,#boot-status .boot-pollen i,#boot-status .boot-spinner{animation:none}#boot-status .boot-pollen{display:none}}

#boot-status{inset:var(--ui-visible-top,0px) var(--ui-visible-right,0px) var(--ui-visible-bottom,0px) var(--ui-visible-left,0px)}
/* Keep the poster until a mounted 3D loading bar or the first 3D frame takes over. */

/* Optional poster bytes are fetched only for the Eden fallback. */
#boot-status .boot-art:not([src]){display:none}
#boot-status .boot-art:not([src])~.boot-content .boot-caption{display:none}
