:root {
  --bg: #050507;
  --panel: #0d0f14;
  --panel2: #151922;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255,255,255,.1);
  --accent: #f97316;
  --accent2: #facc15;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.landing { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(circle at 30% 20%, rgba(249,115,22,.18), transparent 32%), var(--bg); }
.card { width: min(560px, calc(100vw - 40px)); padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.card h1 { margin: 22px 0 10px; font-size: 34px; }
.card p { color: var(--muted); line-height: 1.6; }
.brand { font-weight: 900; letter-spacing: .08em; font-size: 18px; }
.brand span { margin-left: 6px; color: var(--accent2); }
.console-body { height: 100vh; overflow: hidden; }
.topbar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(13,15,20,.96); backdrop-filter: blur(14px); }
.status { color: var(--muted); font-size: 14px; }
.console-shell { height: calc(100vh - 56px); display: grid; grid-template-rows: 1fr 54px; background: #000; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.screen canvas { width: 100%; height: 100%; object-fit: contain; }
.loader { position: absolute; inset: 0; display: grid; place-content: center; gap: 18px; text-align: center; color: var(--muted); background: radial-gradient(circle at center, rgba(249,115,22,.08), transparent 34%), #000; z-index: 5; }
.loader.hidden { display: none; }
.spinner { width: 38px; height: 38px; margin: 0 auto; border-radius: 999px; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toolbar { height: 54px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--panel); }
button { border: 1px solid var(--line); background: var(--panel2); color: var(--text); border-radius: 10px; padding: 9px 13px; cursor: pointer; font-weight: 650; }
button:hover { border-color: rgba(249,115,22,.55); }
.error-wrap { min-height: calc(100vh - 56px); display: grid; place-items: center; }
