/* themes — light theme. Lives in a later layer than components, so it wins by layer order, never by specificity. */
@layer themes {
  [data-theme="light"] {
    color-scheme: light;
    --bg: #e6efff;
    --plate: #ffffff;
    --plate-hi: #ffffff;
    --plate-lo: #f1f6ff;
    --edge: #b9c8e8;
    --rim: rgba(255, 255, 255, .9);
    --line: rgba(30, 55, 120, .16);
    --scrim: rgba(20, 35, 80, .5);
    --ink: #0f1a3a;
    --ink-2: #394a78;
    --ink-3: #566591;
    --dust-ink: #8a5a00;
    --info-ink: #0a6a9c;
    --good-ink: #0d7a47;
    --bad-ink: #c2273f;
    --core-text: #5b3fc4;
    --shadow-pop: 0 18px 44px -14px rgba(30, 55, 120, .45);
  }
  [data-theme="light"] .bd-nebula { opacity: .22; filter: saturate(1.3) brightness(1.15); }
  [data-theme="light"] .bd-shade { background: linear-gradient(180deg, rgba(230, 239, 255, .55), rgba(230, 239, 255, .92) 60%, var(--bg)); }
  [data-theme="light"] .space-canvas { opacity: .25; }
  [data-theme="light"] .app { background: rgba(240, 246, 255, .55); }
  [data-theme="light"] .dust-value, [data-theme="light"] .forge-rate, [data-theme="light"] .big-gain { text-shadow: none; }
  [data-theme="light"] .coin { color: #6b4a00; }
  [data-theme="light"] .btn.ghost, [data-theme="light"] .card.upgrade, [data-theme="light"] .relic-build-card, [data-theme="light"] .event-build-card, [data-theme="light"] .region-legend-item, [data-theme="light"] .asum, [data-theme="light"] .pstat, [data-theme="light"] .stat-group, [data-theme="light"] .ach, [data-theme="light"] .drawer-toggle, [data-theme="light"] .drawer { background: rgba(30, 55, 120, .05); }
  [data-theme="light"] .tab.active { background: rgba(10, 106, 156, .12); }
  [data-theme="light"] .card-icon, [data-theme="light"] .rb-icon, [data-theme="light"] .bc-icon, [data-theme="light"] .cap-icon, [data-theme="light"] .t-icon, [data-theme="light"] .ach-icon, [data-theme="light"] .md-icon { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
  [data-theme="light"] .owned { background: rgba(30, 55, 120, .1); }
  [data-theme="light"] .seg, [data-theme="light"] .track, [data-theme="light"] .ach-progress { background: rgba(30, 55, 120, .12); box-shadow: none; }
  [data-theme="light"] .act-prestige:not(.is-on) { color: var(--ink-3); }
  [data-theme="light"] .tier-mark { box-shadow: 0 0 0 2px #fff; }
  [data-theme="light"] .gen-share, [data-theme="light"] .t-progress, [data-theme="light"] .act-bar { background: rgba(30, 55, 120, .16); }
  [data-theme="light"] .ctx-chip { background: rgba(30, 55, 120, .08); }
  [data-theme="light"] .card.gen.unaffordable .card-buy { background: rgba(30, 55, 120, .08); }
  [data-theme="light"] .badge { box-shadow: 0 0 0 2px #fff; }
}
