:root[data-telegram-theme="dark"] {
  color-scheme:dark;
  color:#e3eee7;
  background:#18251f;
  --green:#346f57;
  --muted:#afbeb2;
  --line:#42594a
}
[data-telegram-theme="dark"] .game-card {
  color-scheme:light;
  color:#24372e;
  --green:#214d3e;
  --muted:#768078;
  --line:#dedfd6
}
[data-telegram-theme="dark"] :is(.platform-bar,.target-card,.hint-card,.round-result,dialog) {
  background:#22372b;
  color:#e3eee7;
  border-color:var(--line)
}
[data-telegram-theme="dark"] :is(.nav-button,.eyebrow,.subtitle,.intro-note p,.storage-status,
  .card-label,.target-card p,.color-key,.metric-label,.hint-card p,.hint-icon,.mode-note,
  .demo-note,.history-item small,dialog p,.dialog-close,footer) {
  color:var(--muted)
}
[data-telegram-theme="dark"] :is(.progress-card strong,.intro-note strong,dialog h2,dialog strong) {
  color:#e3eee7
}
[data-telegram-theme="dark"] .button.secondary,
[data-telegram-theme="dark"] #new-puzzle {
  background:#304b3b;
  color:#e3eee7;
  border-color:var(--line)
}
[data-telegram-theme="dark"] :is(.color-key,.history-item,.progress-card>div:first-child) {
  border-color:var(--line)
}
