/* RioLive brand — from the RIOBITE design system (riobite.tech).
   Deep-space navy, cyan→blue gradient accent, Space Grotesk display, Inter body, Krona One wordmark.
   Burmese text falls through Inter to Noto Sans Myanmar. Pages map their own tokens onto these. */
:root {
  --rb-bg: #020617;
  --rb-surface: #0a1128;
  --rb-card: rgba(11, 21, 48, .78);
  --rb-card-solid: #0b1530;
  --rb-card-h: #10203f;
  --rb-line: rgba(120, 170, 255, .12);
  --rb-line-h: rgba(0, 194, 255, .32);
  --rb-fg: #e8edf8;
  --rb-muted: #93a3c6;
  --rb-dim: #64759e;
  --rb-ac: #00c2ff;
  --rb-ac2: #0055ff;
  --rb-ac3: #00e5ff;
  --rb-glow: rgba(0, 194, 255, .12);
  --rb-grad: linear-gradient(135deg, #0055ff, #00c2ff 60%, #00e5ff);
  --rb-ok: #22c55e;
  --rb-warn: #f59e0b;
  --rb-err: #f87171;
  --rb-live: #ef4444;
  --rb-violet: #a855f7;
  --rb-font: "Inter", "Noto Sans Myanmar", "Myanmar Text", "Pyidaungsu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rb-display: "Space Grotesk", "Noto Sans Myanmar", "Avenir Next", system-ui, sans-serif;
  --rb-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --rb-word: "Krona One", "Space Grotesk", system-ui, sans-serif;
  --rb-r: 20px;
  --rb-r-s: 12px;
  color-scheme: dark;
}

/* space backdrop: two soft nebula glows over the navy, fixed so content scrolls over it */
html body.rb {
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(0, 85, 255, .18), transparent 62%),
    radial-gradient(900px 520px at -12% 108%, rgba(0, 194, 255, .09), transparent 60%),
    var(--rb-bg);
  background-attachment: fixed;
  color: var(--rb-fg);
  font-family: var(--rb-font);
}
body.rb ::selection { background: rgba(0, 194, 255, .35); }

/* logo: R mark | RIO + LIVE */
.rb-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--rb-fg); text-decoration: none; flex: none; }
.rb-logo img { width: 36px; height: 25px; display: block; }
.rb-logo .sep { width: 1px; height: 18px; background: var(--rb-line-h); }
.rb-word { font: 400 15px/1 var(--rb-word); letter-spacing: .01em; white-space: nowrap; }
.rb-word b { font-weight: 400; background: linear-gradient(90deg, #00b4ff, #22e4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* small mono label, as on riobite.tech */
.rb-tag { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1.6 var(--rb-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--rb-ac); border: 1px solid var(--rb-line-h); background: rgba(0, 194, 255, .06); border-radius: 99px; padding: 3px 11px; white-space: nowrap; }
.rb-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rb-ac); box-shadow: 0 0 8px var(--rb-ac); }
.rb-tag.violet { color: #c99bff; border-color: rgba(168, 85, 247, .4); background: rgba(168, 85, 247, .08); }
.rb-tag.violet::before { background: var(--rb-violet); box-shadow: 0 0 8px var(--rb-violet); }

.rb-grad-text { background: var(--rb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* primary button = brand gradient */
.rb .btn-grad, .rb button.primary {
  background: var(--rb-grad) !important; color: #fff !important; border-color: transparent !important;
  box-shadow: 0 6px 22px -8px rgba(0, 140, 255, .7);
}
.rb .btn-grad:hover, .rb button.primary:hover { filter: brightness(1.08); }

.rb-foot { color: var(--rb-dim); font-size: 12.5px; text-align: center; padding: 24px 16px 32px; }
.rb-foot a { color: var(--rb-muted); text-decoration: none; }
.rb-foot a:hover { color: var(--rb-ac); }
