/* ===================================
   SHARED DESIGN TOKENS — _variables.css
   Загружается как зависимость перед
   каждым block.css и editor.css.
   НЕ РЕДАКТИРОВАТЬ вручную — источник
   истины: style_new.css (:root + [data-theme="light"])
   =================================== */

/* ----- Dark theme (default) ----- */
:root {
  --bg-deep:         #07021a;
  --bg-mid:          #110632;
  --bg-card:         rgba(28, 12, 64, 0.55);
  --bg-card-hover:   rgba(40, 20, 90, 0.72);
  --bg-input:        rgba(7, 2, 26, 0.6);

  --gold:            #d4af37;
  --gold-bright:     #f4d27a;
  --gold-soft:       rgba(212, 175, 55, 0.15);

  --purple:          #7b5fc9;
  --purple-bright:   #a78bfa;
  --purple-soft:     rgba(167, 139, 250, 0.18);

  --text-primary:    #f5e6d3;
  --text-secondary:  #b5a89e;
  --text-muted:      #7a6f80;

  --line:            rgba(212, 175, 55, 0.3);
  --line-dim:        rgba(212, 175, 55, 0.12);
}

/* ----- Light theme overrides ----- */
[data-theme="light"] {
  --bg-deep:         #faf6ef;
  --bg-mid:          #f1e9da;
  --bg-card:         rgba(255, 255, 255, 0.72);
  --bg-card-hover:   rgba(255, 255, 255, 0.95);
  --bg-input:        rgba(255, 255, 255, 0.85);

  --gold:            #b08322;
  --gold-bright:     #9a6f15;
  --gold-soft:       rgba(176, 131, 34, 0.12);

  --purple:          #6a4fb5;
  --purple-bright:   #7a5bd0;
  --purple-soft:     rgba(122, 91, 208, 0.12);

  --text-primary:    #2c2233;
  --text-secondary:  #5f5566;
  --text-muted:      #8a8090;

  --line:            rgba(176, 131, 34, 0.38);
  --line-dim:        rgba(176, 131, 34, 0.18);
}
