/* The Aeternum sign-in gate (play/gate.js): black and white, strong contrast, the site's own fonts. Shown over the
   game's empty canvas before any game code loads. Fits a 360x640 phone with no sideways scroll. */
@font-face { font-family: "Bellefair"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/bellefair-latin.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/eb-garamond-latin.woff2") format("woff2"); }
html, body { background: #000; }
.gate { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); overflow-y: auto; background: #000; color: #fff; font-family: "EB Garamond", Georgia, serif; box-sizing: border-box; }
.gate *, .gate *::before, .gate *::after { box-sizing: border-box; }
.gate-card { width: 100%; max-width: 400px; margin: auto; padding: 28px 24px; border: 1px solid #fff; background: #000; }
.gate-eyebrow { margin: 0 0 10px; font-family: "Bellefair", Georgia, serif; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: #d8d8d8; }
.gate-title { margin: 0 0 10px; font-family: "Bellefair", Georgia, serif; font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: #fff; }
.gate-copy { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.45; color: #e6e6e6; }
.gate-form { display: grid; gap: 6px; }
.gate-form label { margin-top: 8px; font-family: "Bellefair", Georgia, serif; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #d8d8d8; }
.gate-form input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: 0; background: #000; color: #fff; font: inherit; font-size: 16px; }
.gate-form input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-color: #fff; }
.gate-btn { min-height: 48px; margin-top: 16px; border: 1px solid #fff; background: #fff; color: #000; font-family: "Bellefair", Georgia, serif; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.gate-btn:hover { background: #d8d8d8; }
.gate-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gate-btn:disabled { opacity: .6; cursor: progress; }
.gate-msg { min-height: 1.4em; margin: 8px 0 0; font-size: .95rem; color: #fff; }
.gate-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 14px 0 0; }
.gate-links a, .gate-fine a { display: inline-block; padding: 10px 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gate-fine { margin: 6px 0 0; font-size: .9rem; }
/* Install on this device: the game's walkthrough (install-walkthrough.js and .css, from the site) over the card. The
   tokens the walkthrough's stylesheet reads, in black and white. */
.gate-install { position: fixed; inset: 0; z-index: 20; overflow-y: auto; background: #000; color: #fff; padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); box-sizing: border-box; font-family: "EB Garamond", Georgia, serif;
  --text: #fff; --text-2: #e6e6e6; --muted: #bdbdbd; --line: rgba(255, 255, 255, .22); --line-strong: rgba(255, 255, 255, .5); --bg: #000;
  --sub: "Bellefair", Georgia, serif; --copy: "EB Garamond", Georgia, serif; --fs-body: 1.02rem; --fs-small: .94rem; --fs-h3: 1.4rem; }
.gate-install *, .gate-install *::before, .gate-install *::after { box-sizing: border-box; }
.gate-install-bar { display: flex; justify-content: flex-end; gap: 8px; max-width: 760px; margin: 0 auto 8px; }
.gate-install-bar .gate-btn { margin-top: 0; padding: 0 18px; }
.gate-install-close { min-height: 44px; padding: 0 16px; border: 1px solid #fff; background: #000; color: #fff; font-family: "Bellefair", Georgia, serif; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.gate-install-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gate-install-body { max-width: 760px; margin: 0 auto; }
.gate-install [hidden] { display: none; }
@media (max-height: 640px) { .gate-card { padding: 20px 18px; } .gate-copy { margin-bottom: 10px; } .gate-title { font-size: 1.6rem; } }
/* Game update notes (/game-updates.js): one quiet line on the card, and the /play/updates page */
.gate-update { color: #d8d8d8; line-height: 1.4; }
.gate-page { position: static; min-height: 100vh; min-height: 100dvh; }
.gu-notes { margin: 0 0 8px; }
.gu-list { margin: 0; padding: 0; list-style: none; }
.gu-item { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.3); }
.gu-item:first-child { border-top: 0; padding-top: 0; }
.gu-date { display: block; margin: 0 0 4px; font-family: "Bellefair", Georgia, serif; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #d8d8d8; }
.gu-title { margin: 0 0 4px; font-family: "Bellefair", Georgia, serif; font-weight: 400; font-size: 1.25rem; line-height: 1.2; color: #fff; }
.gu-text + .gu-text { margin-top: 4px; }
.gu-text, .gu-empty { margin: 0; font-size: 1.02rem; line-height: 1.45; color: #fff; }
