/* Colours, fonts and base styles for every page. Warm cream by day, deep plum by night.
   The Armenian font is Noto Sans Armenian (OFL, shared/fonts/OFL.txt), served from here so every phone shows
   the same letter shapes. It only covers Armenian: Latin text falls back to the system font. */
@font-face { font-family: "Noto Sans Armenian"; font-weight: 400; font-display: swap; src: url("fonts/noto-sans-armenian-400.woff2") format("woff2"); unicode-range: U+0530-058F, U+FB13-FB17; }
@font-face { font-family: "Noto Sans Armenian"; font-weight: 700; font-display: swap; src: url("fonts/noto-sans-armenian-700.woff2") format("woff2"); unicode-range: U+0530-058F, U+FB13-FB17; }
@font-face { font-family: "Noto Sans Armenian"; font-weight: 800; font-display: swap; src: url("fonts/noto-sans-armenian-800.woff2") format("woff2"); unicode-range: U+0530-058F, U+FB13-FB17; }

:root {
  --bg: #fff5e8;
  --bg-2: #ffe9cc;
  --card: #ffffff;
  --card-2: #fff1de;
  --text: #2a1a12;
  --muted: #7d6557;
  --line: rgba(60, 30, 10, 0.12);
  --shadow: 0 2px 0 rgba(60, 30, 10, 0.08), 0 8px 24px -12px rgba(60, 30, 10, 0.25);
  --red: #d7263d;
  --blue: #2d5bd1;
  --apricot: #f59a2e;
  --good: #1f9d63;
  --good-bg: #d6f5e5;
  --bad: #e0453a;
  --bad-bg: #ffe0dc;
  --on-accent: #2a1a12;
  --accent: #f7a440;
  --font: "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1320;
    --bg-2: #2a1b2e;
    --card: #281b2d;
    --card-2: #33243a;
    --text: #fbefe3;
    --muted: #bea9b8;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 10px 28px -14px rgba(0, 0, 0, 0.6);
    --red: #ff5c70;
    --blue: #7fa8ff;
    --apricot: #ffb35c;
    --good: #4fdc9a;
    --good-bg: #173b2c;
    --bad: #ff7468;
    --bad-bg: #44201e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body { background: radial-gradient(120% 60% at 50% -10%, var(--bg-2), var(--bg) 60%) fixed; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.hy { font-family: var(--font); }
.tr { color: var(--muted); font-style: italic; font-weight: 500; }
.muted { color: var(--muted); }
.center { text-align: center; }

.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 50; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
