@font-face { font-family: 'Game Display'; src: url('/assets/fonts/game-display-800.ttf') format('truetype'); font-style: normal; font-weight: 800 900; font-display: swap; }

/* Shared title-screen shell: login and signup keep the same frame and reading order. */
.auth-game { --signin-paper: #f7f5ec; --signin-lime: #c7ff68; --signin-ink: #071207; --auth-game-font: 'Game Display', Impact, 'Arial Narrow', sans-serif; position: relative; isolation: isolate; background: #050a0d; }
.auth-game::before { content: ''; position: fixed; z-index: -1; inset: 0; background: linear-gradient(180deg, #050a0d66, #050a0d 90%), url('/assets/landing-world/game-stage-v1/stage.webp') center / cover; pointer-events: none; }
.auth-game :is(a, button, input, summary):focus-visible { outline-color: var(--signin-lime); }
body[class].auth-game .signin-header { background: #050a0d66; border-color: #ffffff14; }
body[class].auth-game .brand.brand-lockup { color: var(--signin-paper); }
body[class].auth-game .brand.brand-lockup .brand-si { color: #d5e1dc; }
body[class].auth-game .brand-initial { background-image: url('/assets/theoretic-precision-t-light-v1.svg'); }
body[class].auth-game .signin-account-nav > a { color: #c1ced1; border-radius: 3px; }
body[class].auth-game .signin-account-nav > a:hover { color: var(--signin-lime); background: #ffffff08; }
body[class].auth-game .signin-account-nav > a[aria-current='page'] { color: var(--signin-lime); background: #c7ff6810; border-color: #c7ff6840; }
.auth-game .signin-layout { --auth-space-top: 20px; --auth-space-bottom: 32px; align-items: center; gap: clamp(24px, 5vw, 72px); }
.auth-game .signin-story { height: var(--auth-frame-height); min-height: 0; max-height: none; align-self: center; border: 0; border-radius: 0; background: transparent; }
.auth-game .signin-cast { position: absolute; z-index: -2; top: -4px; left: 44%; width: min(112%, 800px); height: auto; max-width: none; transform: translateX(-50%); }
.auth-game .signin-story::before { background: linear-gradient(180deg, transparent 0%, transparent 37%, #050a0dc9 62%, #050a0df2 85%, #050a0d 100%); }
.auth-game .signin-story-copy { position: absolute; bottom: 28px; left: 0; right: 0; padding: 0 20px 0 0; }
.auth-game .signin-story-copy > .signin-eyebrow { max-width: none; color: #d4e2df; font-size: 10px; letter-spacing: .18em; }
.auth-game .signin-story-copy h2 { margin-top: 14px; font: italic 900 clamp(48px, 5vw, 74px)/1.02 var(--auth-game-font); font-synthesis: style; letter-spacing: -.02em; text-shadow: 0 3px 20px #0008; }
.auth-game .signin-story-copy > p:last-child { color: #b9c9cd; font-size: 14px; line-height: 1.6; max-width: 360px; margin-top: 18px; }
.signin-cast-names { display: flex; justify-content: space-between; gap: 20px; max-width: 420px; margin-bottom: 20px; color: #d1dce0; font-size: 9px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.signin-cast-names span { padding-bottom: 6px; border-bottom: 1px solid #c7d5dc66; }

/* A quiet, solid control panel keeps the cinematic artwork out of the fields. */
.auth-game .signin-tablet { padding: 1px; border: 1px solid #829da852; border-top-color: #bdcad67a; border-radius: 16px 4px 16px 4px; background: linear-gradient(145deg, #45647244, #0b131b, #111e29); box-shadow: 0 22px 70px #0007, 0 0 60px #258ac00a, inset 0 1px #ffffff15; }
.auth-game .signin-tablet::before { top: -1px; left: 30px; width: 76px; height: 3px; border-radius: 0; background: var(--signin-lime); box-shadow: 0 0 18px #c7ff6840; }
.auth-game .signin-display { padding: 28px 32px 24px; color: var(--signin-paper); border: 0; border-radius: 14px 2px 14px 2px; background: linear-gradient(145deg, #14212cf5, #0b141dfc 55%); box-shadow: none; }
.auth-game :is(.signin-display > .signin-eyebrow, .signup-display .signin-eyebrow) { color: #a9bfcb; font-size: 9px; letter-spacing: .15em; }
.auth-game .signin-display h1 { margin-top: 8px; font: italic 900 60px/1.05 var(--auth-game-font); font-synthesis: style; letter-spacing: -.02em; }
.auth-game .signin-display h1 > span { color: var(--signin-lime); }
.auth-game .signin-display .login-intro { color: #a8bbc6; margin: 8px 0 22px; font-size: 13px; }
.auth-game .signin-divider { color: #91a8b5; }
.auth-game .signin-divider::before, .auth-game .signin-divider::after { background: #a8c3d02b; }
.auth-game .field label { color: #dae5e9; font-size: 12px; }
.auth-game .field input { background: #060d14; color: #f7f5ec; border-color: #617d8d80; border-radius: 4px; }
.auth-game .field input::placeholder { color: #8299a7; }
.auth-game .field input:hover { border-color: #b1c4cd; }
.auth-game .field input:focus { border-color: var(--signin-lime); }
.auth-game .field input:read-only { background: #182630; color: #b0c3cd; }
.auth-game .field input:autofill { box-shadow: inset 0 0 0 100px #12252e; -webkit-text-fill-color: #f7f5ec; caret-color: #f7f5ec; }
.auth-game :is(.password-toggle, .signup-password-toggle) { color: #b0c4cf; border-radius: 2px; }
.auth-game :is(.password-toggle, .signup-password-toggle):hover { background: #c7ff6815; color: var(--signin-lime); }
.auth-game .auth-password-help a { color: #bfd0d9; }
.auth-game .login-submit { border: 1px solid #c7ff68; border-radius: 3px; background: var(--signin-lime); color: #071207; min-height: 50px; font-size: 13px; font-weight: 800; box-shadow: 0 0 25px #c7ff6812; }
.auth-game .login-submit:hover:not(:disabled) { color: #071207; background: #dcff9a; border-color: #dcff9a; box-shadow: 0 0 30px #c7ff6822; }
.auth-game .login-help { color: #a2b7c2; }
.auth-game .login-help a { color: #e5eee9; }
.auth-game .error-message, .auth-game .signup-status { color: #ffd3c4; }
.auth-game .error-message { background: #3a1e20; border-color: #b86e5c; }
.auth-game .signin-footer { color: #9eb2bd; border-color: #b6d4df24; }
.auth-game :is(.signup-step-label, .signup-label-hint, .signup-field-hint, .signup-first-note, .auth-availability, .signup-review-note) { color: #9fb5c1; }
.auth-game :is(#signup-back, .signup-company-details summary, .signup-back-link) { color: #cfddd9 !important; }
.auth-game .signup-company-details summary > span:first-child { color: #9fb5c1; }
.auth-game :is(.auth-enrollment-note, .signup-pending-status) { color: #cbded5; background: #1b302c; border-color: #678574; }
.auth-game .signup-success h2 { font: italic 900 52px/1.05 var(--auth-game-font); font-synthesis: style; }
.auth-game .signup-success h2 span { color: var(--signin-lime); }
.auth-game .signup-success > p:not(.signin-eyebrow) { color: #b2c5cf; }

@media (max-height: 840px) {
  .auth-game .signin-layout { --auth-space-top: 12px; --auth-space-bottom: 18px; }
  .auth-game .signin-display { padding: 20px 28px 16px; }
  .auth-game .signin-display h1 { font-size: 48px; margin-top: 5px; }
  .auth-game .signin-display .login-intro { margin-block: 6px 14px; }
  .auth-game .signin-story-copy { bottom: 14px; }
  .auth-game .signin-story-copy h2 { font-size: clamp(44px, 4.7vw, 64px); }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .auth-game .signin-layout { grid-template-columns: minmax(0, 1fr) 420px; }
  .auth-game .signin-cast { width: 140%; left: 42%; }
}
@media (max-width: 900px) {
  .auth-game .signin-layout { --auth-banner-height: clamp(86px, 15svh, 132px); --auth-space-top: 0px; --auth-space-bottom: 24px; --auth-frame-height: max(470px, min(640px, calc(100svh - var(--auth-header-height) - var(--auth-banner-height) - var(--auth-space-bottom)))); display: grid; grid-template-columns: minmax(0, 470px); align-content: start; justify-content: center; gap: 0; }
  .auth-game .signin-story { display: block; height: var(--auth-banner-height); width: 100%; }
  .auth-game .signin-cast { top: 2px; left: 44%; width: 340px; }
  .auth-game .signin-story::before { background: linear-gradient(180deg, transparent 55%, #050a0d 100%); }
  .auth-game .signin-story-copy { display: none; }
  .auth-game .signin-display { padding: 20px 26px 16px; }
  .auth-game .signin-display h1 { font-size: 48px; }
}
@media (max-width: 500px) {
  body[class].auth-game .signin-header { gap: 10px; }
  body[class].auth-game .signin-account-nav > a { padding-inline: 9px; font-size: 12px; }
  .auth-game .signin-display { padding-inline: 22px; }
  .auth-game .signin-display .login-intro { font-size: 12px; }
}
@media (max-height: 740px) {
  .auth-game .signin-display { padding-block: 12px 8px; }
  .auth-game .signin-display h1 { font-size: 40px; margin: 0 0 10px; }
  .auth-game .signin-display .login-intro { display: none; }
  .auth-game .field { margin-bottom: 8px; }
  .auth-game .signin-divider { margin-bottom: 8px !important; }
  .auth-game .login-help { margin-top: 0; }
  .auth-game .signup-display:has(#signup-step-security:not([hidden])) #signup-form-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 900px) and (max-height: 740px) {
  .auth-game .signin-layout { --auth-banner-height: 64px; --auth-frame-height: max(500px, min(640px, calc(100svh - var(--auth-header-height) - var(--auth-banner-height) - var(--auth-space-bottom)))); }
  .auth-game .signin-cast { width: 250px; top: -2px; }
}
@media (max-width: 360px) {
  body[class].auth-game .signin-account-nav > a { padding-inline: 6px; font-size: 11px; }
  .auth-game .signin-display { padding-inline: 14px; }
}
@media (max-height: 620px) {
  .auth-game .signin-layout { --auth-banner-height: 0px; --auth-space-top: 4px; --auth-space-bottom: 10px; }
  .auth-game .signin-display { padding-block: 12px 8px; }
  .auth-game .signin-display h1 { font-size: 36px; margin-bottom: 10px; }
  .auth-game .signin-story-copy { bottom: 12px; }
  .auth-game .signin-story-copy > p:last-child, .auth-game .signin-cast-names { display: none; }
}
