*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden;background:#13222b;color:#f3f7fa;font-family:Segoe UI,system-ui,-apple-system,sans-serif}#scene{display:block;width:100%;height:100%}.hud{position:fixed;left:1.15rem;bottom:1.15rem;z-index:10;max-width:min(34rem,calc(100vw - 2.3rem));padding:.85rem 1rem;border-radius:12px;background:#0e18208f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.14);box-shadow:0 10px 30px #00000047}.hud-title-row{display:flex;align-items:center;gap:.55rem}.brand{font-size:1.05rem;font-weight:700;letter-spacing:.02em}.badge{font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:.16rem .5rem;border-radius:999px;background:#ffe8a62e;border:1px solid rgba(255,232,166,.42);color:#ffeab3}.stats{margin-top:.25rem;font-size:.84rem;color:#f0f8ffe6}.hint{margin-top:.2rem;font-size:.76rem;color:#e2eef8b8}.hud-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.65rem}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;color:#f5f9fc;font:inherit;font-size:.78rem;font-weight:600;padding:.38rem .72rem;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .1s ease}.btn:hover{background:#fff3;border-color:#ffffff61}.btn:active{transform:translateY(1px)}.btn-primary{background:#f8c65c42;border-color:#ffe0948f;color:#fff6dc}.btn-primary:hover{background:#f8c65c61}.btn-icon{padding:.25rem .52rem;line-height:1}.preset-bar{position:fixed;left:1.15rem;top:1.1rem;z-index:10;display:flex;flex-wrap:wrap;gap:.4rem}.preset-pill{border-radius:999px;border:1px solid rgba(255,255,255,.22);background:#0e182085;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f2f8ffe0;font:inherit;font-size:.78rem;font-weight:600;padding:.36rem .82rem;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease}.preset-pill:hover{background:#182632bd;border-color:#fff6}.preset-pill.active{background:#ffe6a03d;border-color:#ffe6a0b8;color:#fff8e2}.drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;background:#0a161e9e;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none}.drop-overlay[hidden]{display:none}.drop-card{padding:2rem 2.8rem;border-radius:16px;border:2px dashed rgba(255,228,156,.85);background:#101e28db;text-align:center}.drop-title{font-size:1.25rem;font-weight:700;color:#fff4d4}.drop-sub{margin-top:.4rem;font-size:.9rem;color:#ebf4fad1}.guide-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:1.2rem;background:#081016a3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.guide-modal[hidden]{display:none}.guide-card{width:min(38rem,100%);max-height:85vh;overflow-y:auto;padding:1.25rem 1.4rem;border-radius:14px;background:#121c24f0;border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 48px #00000073}.guide-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.guide-header h2{font-size:1.08rem;font-weight:700;color:#fff4d4}.guide-intro{font-size:.88rem;line-height:1.5;color:#ebf4fcdb;margin-bottom:.8rem}.guide-list{padding-left:1.25rem;display:grid;gap:.65rem;font-size:.86rem;line-height:1.48;color:#ebf4fce6}.guide-list code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem;padding:.08rem .32rem;border-radius:4px;background:#ffffff1c;color:#ffe8a8}.guide-tip{margin-top:.95rem;padding:.72rem .85rem;border-radius:8px;background:#72c68624;border:1px solid rgba(138,224,158,.34);font-size:.84rem;line-height:1.45;color:#d9f8e1}.lil-gui.root{--background-color: rgba(15, 24, 32, .84);--title-background-color: rgba(22, 36, 48, .92);--widget-color: rgba(255, 255, 255, .12);--hover-color: rgba(255, 255, 255, .2);--focus-color: rgba(255, 255, 255, .28);--number-color: #ffd98a;--string-color: #a8e6b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
