/* RZ-LABEL rz-realm-skin-com-20261124-CT
   What: RUEZALS realm skin, ruezals.com edition (CSS). Same-origin copy so browsers load it.
   Source: https://ruezals.chat/assets/ruezals-realm-skin.css (sha256 7216fa15b5cf0f4a5a84e86b21d692b578dfbaf68523fbd8fea7b24bcb1afceb)
   Copied/edited: 2026-11-24 CT by Grok Bot executor for Rue (Option A).
   Edits: chat-login rules + Helvetica override removed. Re-sync: deploy/rz-realm-skin-sync-20261124.sh (see /assets/realm-skin/README-SYNC.txt). */
/* =========================================================================
   RUEZALS REALM SKIN — the world skin, moving forward.
   Colors bound by CLAUDE - REALM/design.md:
     Obsidian #0B0B0F · Deep Emerald #0E4D30 · Gold #C8962A · Teal #29C4C0
   Cinzel = largest display ONLY. Everything else Swiss sans. Legibility
   law: dark bg -> white text, satisfied first, gold/glow layered after.
   Ported and adapted from the live mail.ruezals.com login skin
   (ruezals-mail-login.css / ruezals-philosophy-particles.js, 2026-06-13)
   for use on login.ruezals.com and future RUEZALS surfaces.
   ========================================================================= */

* { box-sizing: border-box; }

:root {
  --rz-obsidian: #0B0B0F;
  --rz-emerald: #0E4D30;
  --rz-gold: #C8962A;
  --rz-gold-bright: #e9c25a;
  --rz-teal: #29C4C0;
}

html, body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(130% 100% at 50% -10%, #101418 0%, #0B0B0F 50%, #050608 100%);
  color: #fff;
  overflow-x: hidden;
}

/* [ruezals.com edition] chat-login rules removed here: the pong panel box, header lockup, wordmark, brand, login form, submit button, error box. */


/* ── house mark — pinned to the very bottom, always visible ── */
#rz-house-mark {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 50;
  text-align: center;
  padding: 10px 18px;
  font-size: 11px; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(6, 8, 10, 0.55);
  pointer-events: none;
}
#rz-house-mark .rz-mark-gold { color: var(--rz-gold); font-weight: 700; text-shadow: 0 0 6px rgba(200,150,42,0.35); }
#rz-house-mark a { color: var(--rz-gold); font-weight: 700; text-decoration: none; pointer-events: auto; border-bottom: 1px solid rgba(200,150,42,0.45); }
#rz-house-mark a:hover { color: var(--rz-gold-bright); border-bottom-color: var(--rz-gold-bright); }

/* ── hover-reveal rune nav — like mail.ruezals.com ── */
.rz-rune-nav {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
}
.rz-rune-nav-row {
  position: fixed; left: 50%;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(8px, 2vw, 22px);
  width: min(900px, calc(100vw - 60px));
  padding: 8px 12px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) scale(0.92);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(.2,.8,.18,1);
}
.rz-rune-nav-row--top { top: 14px; }
.rz-rune-nav-row--bottom { bottom: 73px; }
.rz-rune-nav.is-top .rz-rune-nav-row--top,
.rz-rune-nav.is-bottom .rz-rune-nav-row--bottom {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1);
}
.rz-rune-nav a {
  color: rgba(255,255,255,0.9) !important;
  font: 700 clamp(10px, 1.4vw, 13px)/1.1 var(--rz-body);
  letter-spacing: 0.14em; text-decoration: none; text-transform: uppercase;
  text-shadow: 0 0 10px rgba(200,150,42,0.5), 0 0 18px rgba(41,196,192,0.2);
}
.rz-rune-nav a::before, .rz-rune-nav a::after {
  content: "*"; color: rgba(200,150,42,0.7); font-size: 0.7em; margin: 0 0.5em;
}
.rz-rune-nav a:hover { color: var(--rz-gold-bright) !important; }

/* ── corner runes ── */
.rz-corner-rune {
  position: fixed; z-index: 140; color: var(--rz-teal);
  font: 700 15px/1 "Noto Sans Runic", Georgia, serif; letter-spacing: 0.3em;
  opacity: 0.42; pointer-events: none;
  text-shadow: 0 0 12px rgba(41,196,192,0.4), 0 0 22px rgba(200,150,42,0.18);
}
.rz-corner-rune.tl { top: 68px; left: 36px; }
.rz-corner-rune.tr { top: 68px; right: 28px; }
.rz-corner-rune.bl { bottom: 73px; left: 36px; }
.rz-corner-rune.br { bottom: 73px; right: 28px; }

/* ── border rune fireflies — full viewport perimeter, dodge cursor + snap
   back, ported from the live index2.html (Rue: "the runes I like") ── */
#rz-border-runes {
  position: fixed; inset: 0; pointer-events: none; z-index: 138;
}
#rz-border-runes span {
  position: fixed; left: 0; top: 0; font-family: "Noto Sans Runic", "Noto Sans JP Kana", ui-monospace, monospace;
  color: var(--rz-gold);
  will-change: transform, opacity;
  text-shadow: 0 0 6px rgba(200,150,42,0.55), 0 0 14px rgba(200,150,42,0.3);
}

/* ── code glitter — matrix glyphs shed off the moving cursor ── */
#rz-glitter-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 135;
}

/* ── philosophy banner — no visible box, spans most of the viewport width,
   repositions to whichever side the pong panel isn't currently on ── */
.rz-philosophy-banner {
  position: fixed; z-index: 10; pointer-events: none;
  width: min(680px, 90vw); top: 70px; bottom: 70px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: transparent; border: none; box-shadow: none;
  opacity: 1; transition: opacity 700ms ease;
}
.rz-philosophy-banner.rz-fading { opacity: 0; }
#rz-philosophy-canvas {
  display: block; width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  background: transparent;
}

/* ── ambient + dragon canvases ── */
#rz-bg-canvas, .rz-dragon-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 140;
}

@media (prefers-reduced-motion: reduce) {
  #rz-bg-canvas, .rz-dragon-canvas, #rz-philosophy-canvas, .rz-philosophy-banner,
  #rz-border-runes, #rz-glitter-canvas { display: none !important; }
}

@media (max-width: 640px) {
  .rz-philosophy-banner { display: none; }
}
