/* ============================================================
   Промежуточная страница подтверждения возраста.

   Своя таблица стилей, а не общая: страница должна открываться
   мгновенно — от неё зависит, доедет ли человек до оффера.
   ============================================================ */
:root{
  --bg:#ffffff; --fg:#1b1b1f; --muted:#5f6368; --line:#e3e3e7;
  --accent:#0b57d0; --accent-fg:#ffffff; --card:#f7f8fa;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#131316; --fg:#e6e6ea; --muted:#a0a0a8; --line:#2c2c33;
         --accent:#a8c7fa; --accent-fg:#062e6f; --card:#1c1c21; }
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{
  background:var(--bg); color:var(--fg);
  font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  display:flex; align-items:center; justify-content:center; padding:24px;
}
.age{max-width:420px;width:100%;text-align:center}
.age-icon{width:72px;height:72px;border-radius:18px;margin-bottom:20px}
.age h1{font-size:22px;font-weight:700;margin:0 0 8px}
.age-q{font-size:17px;color:var(--muted);margin:0 0 28px}
.age-btns{display:flex;gap:12px;justify-content:center}
.age-btn{
  flex:1 1 0;min-height:52px;border:1px solid var(--line);border-radius:26px;
  background:var(--card);color:var(--fg);font-size:16px;font-weight:600;
  cursor:pointer;transition:transform .08s ease,opacity .15s ease;
}
.age-btn.primary{background:var(--accent);color:var(--accent-fg);border-color:transparent}
.age-btn:active{transform:scale(.97)}
.age-btn[disabled]{opacity:.55;cursor:default}
.age-note{font-size:12px;color:var(--muted);margin:24px 0 0}
.age-wait{margin-top:20px;display:flex;justify-content:center}
.age-wait[hidden]{display:none}
.age-spin{
  width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--accent);
  border-radius:50%;animation:age-rot .7s linear infinite;
}
@keyframes age-rot{to{transform:rotate(360deg)}}
