*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden;background-color:#0b0f14;color:#edf2f7;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none}.app-root{position:relative;width:100%;height:100%}.canvas-container{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:grab}.canvas-container:active{cursor:grabbing}.canvas-container canvas{display:block;width:100%;height:100%}.hud-root{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;display:flex;flex-direction:column;justify-content:space-between;padding:24px 28px;transition:opacity .45s ease}.hud-root.hud-hidden .hud-chrome{opacity:0;pointer-events:none;transform:translateY(6px)}.hud-top{display:flex;justify-content:space-between;align-items:flex-start;transition:opacity .4s ease,transform .4s ease}.hud-title-block{pointer-events:auto;text-shadow:0 2px 18px rgba(0,0,0,.72)}.hud-eyebrow{font-size:10px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:#f2c692d9;margin-bottom:4px}.hud-title{font-size:20px;font-weight:400;letter-spacing:.06em;color:#f5f8fcf0}.hud-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.hud-hint{font-size:12px;letter-spacing:.04em;color:#e2e8f094;text-shadow:0 1px 10px rgba(0,0,0,.8);transition:opacity .4s ease,transform .4s ease}.hud-controls-wrap{display:flex;align-items:center;gap:8px;margin-left:auto}.hud-toolbar{pointer-events:auto;display:flex;align-items:center;gap:6px;padding:6px;border-radius:999px;background:#0d12187a;border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 30px #00000059;transition:opacity .4s ease,transform .4s ease}.hud-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:#f0f4f8d9;height:36px;padding:0 13px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:500;letter-spacing:.03em;cursor:pointer;transition:background-color .2s ease,color .2s ease}.hud-button:hover{background:#ffffff1c;color:#fff}.hud-button:focus-visible{outline:2px solid rgba(242,198,146,.85);outline-offset:2px}.hud-button.is-active{background:#f2bc7e33;color:#fbe2c0}.hud-button-icon-only{width:36px;padding:0}.hud-button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.hud-restore-button{pointer-events:auto;width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#0d12186b;color:#f0f4f8b8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease,color .2s ease,opacity .3s ease}.hud-restore-button:hover{background:#ffffff24;color:#fff}.hud-restore-button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.webgl-fallback{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 35%,#1d2733,#0b0f14 75%);text-align:center;z-index:30}.webgl-fallback-card{max-width:440px;padding:28px 32px;border-radius:16px;background:#121820d9;border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 50px #00000080}.webgl-fallback-card h1{font-size:18px;font-weight:500;margin-bottom:10px}.webgl-fallback-card p{font-size:14px;line-height:1.6;color:#e2e8f0c7}.loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 38%,#18212cf0,#090d12fa 76%);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);opacity:1;transition:opacity .55s ease,visibility .55s ease}.loading-overlay.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.loading-card{width:min(380px,100%);padding:28px 30px;border-radius:18px;background:#0f151cb8;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px #0000008c}.loading-eyebrow{font-size:10px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:#f2c692e0;margin-bottom:6px}.loading-title{font-size:24px;font-weight:400;letter-spacing:.05em;color:#f5f8fcf5;margin-bottom:20px}.loading-bar-track{width:100%;height:4px;border-radius:999px;background:#ffffff1f;overflow:hidden;margin-bottom:12px}.loading-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#f2bc7ed9,#9ad6b6f2);transition:width .22s ease-out}.loading-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#e2e8f0b8}.loading-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loading-percent{font-variant-numeric:tabular-nums;color:#f5f8fce6;flex-shrink:0}@media(max-width:640px){.hud-root{padding:16px}.hud-hint,.hud-button-label{display:none}.hud-button{width:36px;padding:0}}
