/* Light is the default. Dark keeps the original palette. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --foam: #111111;
  --panel: #f4f4f2;
  --mist: rgba(17, 17, 17, 0.72);
  --mint: #075c36;
  --mint-fill: #3dd68c;
  --mint-deep: #075c36;
  --accent-hover: #62e3a5;
  --line: rgba(17, 17, 17, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.92);
  --warn: #6b4e10;
  --warn-strong: #4a3608;
  --notice-bg: rgba(107, 78, 16, 0.08);
  --notice-border: rgba(107, 78, 16, 0.28);
  --input-bg: #ffffff;
  --ghost-border: rgba(17, 17, 17, 0.28);
  --ghost-bg: transparent;
  --share-border: rgba(17, 17, 17, 0.28);
  --error: #9f1239;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061018;
  --ink: #061018;
  --foam: #e8f7f0;
  --panel: #0b1822;
  --mist: rgba(232, 247, 240, 0.72);
  --mint: #3dd68c;
  --mint-fill: #3dd68c;
  --mint-deep: #1a9f63;
  --accent-hover: #62e3a5;
  --line: rgba(232, 247, 240, 0.14);
  --nav-bg: rgba(6, 16, 24, 0.82);
  --warn: #f3d7a1;
  --warn-strong: #ffe9bf;
  --notice-bg: rgba(243, 215, 161, 0.08);
  --notice-border: rgba(243, 215, 161, 0.35);
  --input-bg: #08141c;
  --ghost-border: rgba(232, 247, 240, 0.35);
  --ghost-bg: rgba(6, 16, 24, 0.35);
  --share-border: rgba(232, 247, 240, 0.35);
  --error: #ffb4b4;
}

.theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  flex-shrink: 0;
  background: transparent;
  color: var(--foam);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font: 600 0.78rem "Sora", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.4;
}
.theme-toggle:hover { border-color: var(--mint); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .theme-toggle { order: 1; }
}

.cities {
  margin: 0.85rem 0 0;
}
.cities span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--foam);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
