:root{color-scheme:dark;--ink:#f5f8ff;--muted:#b8c7dc;--panel:#111d31;--panel-2:#182944;--line:rgba(255,255,255,.14);--accent:#78b7ff;--accent-ink:#07182c}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:#09111f;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}body{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;overflow-x:hidden}body>*{min-width:0}.top{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.85rem clamp(.8rem,2vw,1.5rem);background:linear-gradient(135deg,#101d32,#142744);border-bottom:1px solid var(--line);box-shadow:0 8px 30px rgba(0,0,0,.18);z-index:2}.top>*{min-width:0}.identity{display:flex;gap:.75rem;align-items:center;min-width:12rem}.model-icon{display:grid;place-items:center;width:2.55rem;height:2.55rem;border-radius:.75rem;background:linear-gradient(145deg,#87c2ff,#4f8fde);color:#07182c;font-size:1.25rem;box-shadow:inset 0 1px rgba(255,255,255,.55)}.eyebrow{margin:0 0 .12rem;color:var(--accent);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.title{font-size:clamp(1rem,2vw,1.25rem);font-weight:750;line-height:1.15}.sub{margin-top:.2rem;font-size:.82rem;color:var(--muted)}.actions{display:flex;align-items:center;justify-content:flex-end;gap:.42rem;min-width:0;max-width:100%;flex-wrap:wrap}.control-group{display:flex;gap:.32rem;padding:.28rem;border:1px solid var(--line);border-radius:.75rem;background:rgba(4,11,22,.32)}button{appearance:none;border:1px solid transparent;background:0 0;color:var(--ink);border-radius:.52rem;padding:.47rem .64rem;cursor:pointer;white-space:nowrap}button:hover{background:rgba(255,255,255,.1)}button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}button.active,button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}main{min-width:0;padding:clamp(.55rem,1.5vw,1rem);display:grid;place-items:center}.viewer-shell{position:relative;width:min(100%,1440px);height:clamp(30rem,calc(100vh - 10.5rem),850px);border:1px solid var(--line);border-radius:1rem;overflow:hidden;background:#e8edf5;box-shadow:0 20px 60px rgba(0,0,0,.28)}.viewport,.viewport canvas{display:block;width:100%;height:100%}.viewport{position:absolute;inset:0}.status{position:absolute;left:50%;bottom:.8rem;transform:translateX(-50%);max-width:calc(100% - 2rem);margin:0;padding:.45rem .75rem;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(7,17,31,.78);backdrop-filter:blur(8px);color:#f5f8ff;font-size:.78rem;text-align:center;pointer-events:none}.hint{position:absolute;top:.8rem;left:.8rem;margin:0;padding:.5rem .65rem;border-radius:.65rem;background:rgba(7,17,31,.72);backdrop-filter:blur(8px);color:#e7eef8;font-size:.76rem;pointer-events:none}.foot{display:flex;justify-content:center;gap:1rem;padding:.6rem 1rem;border-top:1px solid var(--line);background:#0e1a2d;color:var(--muted);font-size:.78rem}.key{display:inline-grid;place-items:center;min-width:1.35rem;height:1.25rem;margin:0 .12rem;padding:0 .25rem;border:1px solid rgba(255,255,255,.25);border-bottom-width:2px;border-radius:.3rem;background:#1b2c46;color:#fff;font-size:.68rem}@media(max-width:900px){.top{align-items:flex-start;flex-direction:column}.actions{justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:.15rem}.control-group{flex:0 0 auto}.viewer-shell{height:calc(100dvh - 13.5rem);min-height:24rem}.foot{display:none}}@media(max-width:520px){.model-icon{display:none}.identity{min-width:0}.viewer-shell{height:calc(100dvh - 12rem);min-height:22rem}.hint{display:none}button{padding:.45rem .55rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}