/* The age check. Same on every site and sport, and it hides the page until it is answered. */
@font-face { font-family: "Archivo"; src: url(/fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

html.age-gated, html.age-gated body { overflow: hidden; background: #0c0f10; }
html.age-gated body > :not(.age-gate) { visibility: hidden; }

.age-gate {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 32px; overflow-y: auto;
  background: #14191b; border: 1px solid #273034; border-radius: 12px; color: #f3f5f4;
  font: 400 16px/1.5 "Archivo", system-ui, sans-serif;
}
.age-gate::backdrop { background: #0c0f10; }
.age-gate img { display: block; margin-bottom: 20px; }
.age-gate h1 { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
.age-line { margin: 12px 0 24px; color: #a9b3b6; font-size: 18px; }
.age-actions { display: grid; gap: 8px; }
dialog.age-gate button { min-height: 48px; padding: 0 20px; border-radius: 8px; font: 700 16px/1.2 "Archivo", system-ui, sans-serif; cursor: pointer; }
dialog.age-gate .age-yes { background: #ffd23f; border: 1px solid #ffd23f; color: #0c0f10; }
dialog.age-gate .age-yes:hover { background: #ffe07a; }
dialog.age-gate .age-no { background: none; border: 1px solid #5f6b72; color: #f3f5f4; }
dialog.age-gate .age-no:hover { border-color: #ffd23f; color: #ffd23f; }
dialog.age-gate button:focus-visible, dialog.age-gate a:focus-visible { outline: 2px solid #f3f5f4; outline-offset: 3px; }
.age-fine { margin: 20px 0 0; color: #a9b3b6; font-size: 14px; }
.age-fine a { color: inherit; text-underline-offset: 2px; }

@media (max-width: 480px) {
  .age-gate { padding: 24px 20px; }
  .age-gate h1 { font-size: 30px; }
}
