:root {
  --bg: rgba(10, 12, 16, 0.78);
  --bg-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.78);
  --accent: #ffffff;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
#vr-scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vr-ui {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.vr-ui__top,
.vr-ui__controls,
.vr-ui__bottom {
  pointer-events: auto;
}
.vr-ui__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  backdrop-filter: blur(12px);
}
.vr-ui__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.vr-ui__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
}
.vr-ui__scene {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.vr-ui__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.vr-btn,
.vr-chip,
.vr-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.vr-btn:hover,
.vr-chip:hover,
.vr-tab:hover { transform: translateY(-1px); }
.vr-btn--primary,
.vr-tab.is-active {
  background: #fff;
  color: #111;
  border-color: rgba(255,255,255,.8);
}
.vr-ui__controls {
  margin: 0 18px;
  display: grid;
  gap: 10px;
}
.vr-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.vr-ui__bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.vr-note {
  font-size: 13px;
  color: var(--muted);
}
body.is-vr-mode .vr-ui__controls,
body.is-vr-mode .vr-ui__bottom,
body.is-vr-mode .vr-ui__top {
  opacity: 0.18;
}
body.is-vr-mode .vr-ui__top:hover,
body.is-vr-mode .vr-ui__controls:hover,
body.is-vr-mode .vr-ui__bottom:hover {
  opacity: 1;
}
@media (max-width: 900px) {
  .vr-ui__top { flex-direction: column; }
  .vr-ui__actions { justify-content: flex-start; }
  .vr-ui__title { font-size: 20px; }
}
@media (max-width: 640px) {
  .vr-ui__top, .vr-ui__controls, .vr-ui__bottom { margin-left: 10px; margin-right: 10px; }
  .vr-ui__top { margin-top: 10px; padding: 12px; }
  .vr-ui__bottom { margin-bottom: 10px; }
  .vr-btn, .vr-chip, .vr-tab { padding: 10px 12px; font-size: 13px; }
  .vr-note { width: 100%; }
}
