:root {
  --bg: #07040f; --accent: #9b5cff; --text: #f6f0ff; --muted: #b7a6d4; --ok: #3dd68c;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); }
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 52px;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: linear-gradient(180deg, rgba(7,4,15,.9), transparent);
}
.brand { font-weight: 800; text-decoration: none; color: inherit; }
.brand span { color: var(--accent); }
.pill {
  margin-left: auto; background: rgba(255,255,255,.1); border: 1px solid rgba(155,92,255,.4);
  border-radius: 999px; padding: 6px 12px; font-size: 0.85rem;
}
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(155,92,255,.45);
  background: rgba(20,10,35,.8); color: var(--text); cursor: pointer; font-weight: 700;
}
#stage { position: fixed; inset: 0 0 34px 0; }
#c { width: 100%; height: 100%; display: block; touch-action: none; }
.labels { position: absolute; inset: 0; pointer-events: none; }
.label {
  position: absolute; transform: translate(-50%, -100%);
  background: rgba(12,6,24,.85); border: 1px solid rgba(155,92,255,.55);
  border-radius: 10px; padding: 6px 10px; font-size: 0.8rem; pointer-events: auto; cursor: pointer;
  white-space: nowrap;
}
.label::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 28px;
  background: var(--accent); transform: translateX(-50%);
}
.room-bar {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  background: rgba(10,5,20,.55); border: 1px solid rgba(155,92,255,.3);
  border-radius: 999px; padding: 8px;
}
.room-bar button {
  border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer;
  background: rgba(255,255,255,.08); color: var(--text);
}
.room-bar button.active { background: #fff; color: #1a1028; font-weight: 700; }
.panel, .advisor {
  position: absolute; top: 64px; right: 12px; width: min(320px, calc(100% - 24px));
  background: rgba(18,10,32,.92); border: 1px solid rgba(155,92,255,.35);
  border-radius: 16px; padding: 14px; backdrop-filter: blur(8px);
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 700; margin: 0; }
.panel h2 { margin: 4px 0; }
.muted { color: var(--muted); margin: 0; }
.price { font-size: 1.25rem; font-weight: 800; margin: 10px 0 4px; }
.price span { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.status { margin: 0 0 10px; font-weight: 700; }
.status.ok { color: var(--ok); }
.ph {
  height: 90px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.3);
  display: grid; place-items: center; color: #cbb; font-size: 0.72rem; margin-bottom: 10px;
  background: rgba(255,255,255,.03);
}
.btn {
  width: 100%; border: 0; border-radius: 999px; padding: 10px 12px; cursor: pointer;
  background: linear-gradient(135deg, #9b5cff, #6d3dff); color: #fff; font-weight: 700;
}
.ghost {
  width: 100%; margin-top: 8px; border-radius: 999px; padding: 9px 12px; cursor: pointer;
  background: transparent; border: 1px solid rgba(155,92,255,.4); color: var(--text);
}
.advisor { display: grid; gap: 10px; }
.card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(155,92,255,.25);
  border-radius: 12px; padding: 12px;
}
.tag { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; margin: 0; }
.card h3 { margin: 4px 0 8px; font-size: 1rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.checks { list-style: none; padding-left: 0; }
.checks li { position: relative; padding-left: 26px; margin: 6px 0; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px;
  border-radius: 50%; border: 1px solid rgba(155,92,255,.45);
}
.checks li.ok::before { background: var(--ok); border-color: var(--ok); }
.hint {
  position: absolute; left: 12px; bottom: 18px; margin: 0;
  background: rgba(0,0,0,.4); padding: 8px 10px; border-radius: 10px; font-size: 0.8rem; color: #ddd;
}
.foot {
  position: fixed; left: 0; right: 0; bottom: 0; height: 34px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.72rem; color: #9aa; background: #05030a;
}
.foot a { color: #dcc; }
@media (max-width: 640px) {
  .hint { right: 12px; font-size: 0.72rem; }
}
