/* ============================================================
   Темы окружения (фон-мир).
   Активируются атрибутом data-theme на <html>,
   который ставит js/theme.js из theme.background игры.
   Новая игра = новый блок здесь (+ токены в src/games/themes.js).
   ============================================================ */

/* ── Terraria: звёздная ночь над лесом ── */
:root[data-theme="terraria"] {
  --sky-top: #0a1430;
  --sky-mid: #16295c;
  --sky-bottom: #2c3f78;
  --hills-far: #182a55;
  --hills-near: #12224a;
  --ground: #4a3320;
  --ground-deep: #241708;
  --grass: #4ec258;
  --cloud: rgba(255, 255, 255, .09);
  --stars-opacity: .9;
}

/* ── 7 Days to Die: пыльный апокалипсис ── */
:root[data-theme="7dtd"] {
  --sky-top: #2a130c;
  --sky-mid: #4a2313;
  --sky-bottom: #6b3a1c;
  --hills-far: #33180f;
  --hills-near: #241009;
  --ground: #3a241a;
  --ground-deep: #170c07;
  --grass: #6b5636;
  --cloud: rgba(255, 190, 120, .06);
  --stars-opacity: .25;
}
