/* Yunaru Nexus 1.3 – Design tokens; integrate with existing theme preferences */
:root,[data-theme="dark"] {
  --yn-base: #0B1020;
  --yn-surface: #111A2E;
  --yn-panel: #172D4A;
  --yn-panel-elevated: #1E3F61;
  --yn-cyan: #00D4FF;
  --yn-magenta: #D946EF;
  --yn-gold: #F6C24A;
  --yn-text: #E6F7FF;
  --yn-text-muted: #8BA1C0;
  --yn-border: #31516C;
  --yn-success: #46D4AA;
  --yn-warning: #F6C24A;
  --yn-danger: #FF7185;
  --yn-glass: rgba(17,26,46,.84);
  --yn-border-glass: rgba(0,212,255,.14);
  --yn-glow-subtle: 0 0 16px rgba(0,212,255,.08);
  --yn-radius-panel: 14px;
  --yn-radius-control: 9px;
}
[data-theme="light"] {
  --yn-base: #EDF3F8;
  --yn-surface: #FFFFFF;
  --yn-panel: #E3EDF5;
  --yn-panel-elevated: #D7E8F3;
  --yn-text: #162A40;
  --yn-text-muted: #4A6077;
  --yn-border: #B6CBDC;
  --yn-glass: rgba(255,255,255,.92);
  --yn-border-glass: rgba(30,82,119,.16);
}
.yn-background-dashboard {
  background-color: var(--yn-base);
  background-image: linear-gradient(rgba(11,16,32,.30),rgba(11,16,32,.40)), url("assets/dashboard-hintergrund.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.yn-background-login {
  background-color: var(--yn-base);
  background-image: linear-gradient(rgba(11,16,32,.24),rgba(11,16,32,.35)), url("assets/login-hintergrund.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
[data-theme="light"] .yn-background-dashboard {
  background-image: none;
}
@media (max-width: 700px) {
  .yn-background-login { background-position: 50% 40%; }
  .yn-background-dashboard { background-position: 65% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .yn-ambient-animation { animation: none !important; }
}
