/* Premiere authentication: all platforms. Everything outside #auth is deliberately untouched. */
#auth { --auth-pill: 999px; background: radial-gradient(ellipse at 90% 0, color-mix(in srgb, var(--tonal) 38%, transparent), transparent 64%), var(--bg); padding-block: 3rem; }
#auth .auth-card { border-radius: 1.5rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 65%, transparent); }
#auth .auth-main > h1 { font-family: var(--font-display); font-size: 2rem; text-align: left; }
#auth .auth-text { text-align: left; }
#auth button:not(.text-button) { border-radius: var(--auth-pill); }
#auth input { border-radius: .9rem; }
#auth .wordmark { align-self: center; width: min(100%, 27rem); text-align: left; font-size: 2rem; }
#auth .wordmark.has-logo { justify-content: flex-start; }
#auth .wordmark .wordmark-logo { height: 2.5rem; object-position: left; max-width: 16rem; }
#auth > :is(#brand-tagline, .brand-welcome) { width: min(100%, 27rem); text-align: left; }
#auth #brand-tagline { color: var(--accent); }
#auth .auth-party { min-height: 3rem; width: 100%; }
#auth .auth-alt { gap: .8rem; }
#auth .auth-server { padding-top: .5rem; }
#auth .connection-wordmark { display: none; }
#auth.auth-find { --bg: #0b0a19; --text: #f1edfa; --muted: #bdb3cd; --container: #191425; --on-container: #f1edfa; --line: #493653; --accent: #7cf0b0; --on-accent: #10251b; --tonal: #342047; color: var(--text); font-family: Geist, sans-serif; }
#auth.auth-find .connection-wordmark { display: block; align-self: center; width: 7rem; height: auto; margin-bottom: .6rem; }
#auth.auth-find > :is(.wordmark, #brand-tagline, .brand-welcome) { display: none; }
#auth.auth-find .auth-main > h1 { font-family: 'Josefin Sans', sans-serif; }
html.tv #auth.auth-premiere-tv { --card-w: 24rem; }
html.tv #auth.auth-premiere-tv .wordmark, html.tv #auth.auth-premiere-tv > :is(#brand-tagline, .brand-welcome) { width: min(100%, 54rem); max-width: 54rem; }
html.tv #auth.auth-premiere-tv .auth-cards { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; align-items: center; width: min(100%, 54rem); gap: 5rem; margin-top: 2rem; }
html.tv #auth.auth-premiere-tv .auth-main { order: 0; background: none; box-shadow: none; padding: 0; }
html.tv #auth.auth-premiere-tv .auth-side { order: 1; padding: 1.8rem; }
html.tv #auth.auth-premiere-tv .auth-main > h1 { font-size: 2.8rem; line-height: 1.1; }
html.tv #auth.auth-premiere-tv .auth-text { line-height: 1.6; }
html.tv #auth.auth-premiere-tv .code-show { display: flex; flex-direction: column; gap: 1rem; }
html.tv #auth.auth-premiere-tv .device-qr { width: 10rem; height: 10rem; border-radius: .75rem; }
html.tv #auth.auth-premiere-tv .device-code { font-size: 2.2rem; }
html.tv #auth.auth-premiere-tv .code-how { font-size: var(--type-caption); }
html.tv #auth.auth-premiere-tv .auth-alt { max-width: 54rem; justify-items: end; }
@media (max-width: 600px) {
  #auth { padding: 2rem 1.5rem; justify-content: flex-start; }
  /* Back to Who's watching (auth.js backButton) is at the top of the screen (style.css): the logo starts under it, not behind it. */
  #auth:has(.auth-alt > .auth-back) { padding-top: 4.5rem; }
  #auth .auth-cards { margin-top: 2rem; }
  #auth .auth-main { padding: 0; background: none; box-shadow: none; }
  #auth .auth-main > h1 { font-size: 2.2rem; }
  #auth .auth-alt { margin-top: 1.25rem; }
  #auth .auth-ways { width: 100%; }
}

html.tv #auth.auth-premiere-tv .code-how { display:none; }
