:root {
  --bg: #0b1020;
  --card: #161d33;
  --ink: #f6f3ea;
  --dim: #8e96ab;
  --gold: #e7c56a;
  --line: rgba(255, 255, 255, 0.08);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100dvh;
  max-width: 460px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 18px 72px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 50% -12%, #24345a 0%, transparent 58%),
    var(--bg);
}
.hero { text-align: center; margin-bottom: 8px; }
.mark {
  margin: 0;
  letter-spacing: 0.34em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
h1 {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.hint {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: 1.05rem;
}
.lang-wrap { margin: 12px 0 4px; }
.lang-wrap select {
  font: inherit; font-weight: 700;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html[dir="rtl"] body { direction: rtl; }
.month {
  margin: 28px 2px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.day {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 0 22px;
  margin: 0 0 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.day:active { transform: scale(0.985); }
.wd {
  width: 42px;
  color: var(--dim);
  font-size: 0.95rem;
  font-weight: 600;
}
.dt {
  flex: 1;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.day::after {
  content: "→";
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 500;
}
