/* Keep the first paint covered until the age choice is ready. */
html:not([data-veyra-age-state]) body > :not(#veyra-age-gate) { visibility: hidden; }
html:not([data-veyra-age-state="accepted"]) { overflow: hidden; }
#veyra-age-gate {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 460px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 38px 34px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  color: var(--text);
  text-align: center;
  box-shadow: 0 28px 100px #0006;
}
#veyra-age-gate::backdrop { background: #071219c9; backdrop-filter: blur(9px); }
#veyra-age-gate .age-badge {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border: 1px solid var(--accent);
  border-radius: 24px;
  background: var(--raised);
  color: var(--accent);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}
#veyra-age-gate .age-brand { margin: 0 0 9px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; }
#veyra-age-gate h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.2; letter-spacing: -.7px; }
#veyra-age-gate .age-copy { margin: 0 auto 25px; max-width: 340px; font-size: 14px; line-height: 1.7; }
#veyra-age-gate .age-actions { display: grid; gap: 10px; }
#veyra-age-gate button { width: 100%; min-height: 48px; border-radius: 10px; font-size: 14px; font-weight: 700; }
#veyra-age-gate .age-note { margin: 20px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
#veyra-age-gate noscript p { margin: 16px 0 0; font-size: 13px; }
@media (max-width: 480px) {
  #veyra-age-gate { padding: 28px 22px 22px; }
  #veyra-age-gate h2 { font-size: 25px; }
  #veyra-age-gate .age-badge { width: 70px; height: 70px; margin-bottom: 18px; }
}

.header nav .dashboard-link { color: var(--accent); font-weight: 700; }
@media (max-width: 800px) { .header nav { gap: clamp(14px, 4vw, 28px); } }
@media (max-width: 380px) { .header nav a { font-size: .8rem; } }
