* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg:#0b1120; --panel:#111a2e; --line:#1e293b; --txt:#e2e8f0; --dim:#94a3b8; --acc:#38bdf8; --ok:#34d399; --bad:#f87171; }
html, body { background: var(--bg); color: var(--txt); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
#app { position: relative; width: 100vw; height: 100vh; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

#panel {
  position: absolute; top: 12px; left: 12px; width: 300px; max-height: calc(100vh - 24px);
  overflow: auto; background: rgba(17,26,46,0.92); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px; backdrop-filter: blur(6px); font-size: 12px;
}
#panel h1 { font-size: 15px; margin-bottom: 10px; }
#panel h1 .v { color: var(--acc); }
.scenes, .views { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
.views b { color: var(--dim); font-size: 11px; }
button { background: #1e293b; color: var(--txt); border: 1px solid #334155; border-radius: 6px;
  padding: 5px 9px; font: inherit; font-size: 11px; cursor: pointer; }
button:hover { background: #334155; }
.iso { display: flex; align-items: center; gap: 4px; color: var(--dim); font-size: 11px; }
.live .row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid #16203a; }
.live .row span { color: var(--dim); }
.live .row b { color: var(--txt); }
.live .row.hl b { color: var(--acc); }
.hint { margin-top: 10px; color: #64748b; font-size: 10px; line-height: 1.5; }
.hint code { color: #7dd3fc; }

#tables { padding: 24px; max-width: 1100px; margin: 0 auto; }
#tables h2 { font-size: 20px; margin-bottom: 8px; }
#tables h3 { font-size: 14px; margin: 20px 0 8px; color: var(--acc); }
.meta { color: var(--dim); font-size: 12px; margin-bottom: 8px; }
.meta .ok { color: var(--ok); }
.pending { color: #fbbf24; background: #1c1917; border: 1px solid #422006; padding: 14px; border-radius: 8px; }
.tw { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 12px; }
th, td { border: 1px solid var(--line); padding: 6px 9px; text-align: right; }
th { background: #16203a; color: var(--dim); position: sticky; top: 0; }
td:first-child, th:first-child, td:nth-child(2), th:nth-child(2) { text-align: left; }
.sp { color: var(--acc); font-weight: bold; }
.ok { color: var(--ok); } .bad { color: var(--bad); }
