/* GCM TV app sign-up. Contrast (WCAG AA): #fff on #09314F 12.6:1; #09314F on #F2F6FA 11.8:1; #3D5A73 on #fff 7.1:1;
   #fff on #000 21:1; #9B1C1C on #F2F6FA 7.0:1; #1E5B3A on #E8F5EE 7.4:1; #fff on #5B7286 (disabled) 4.9:1 */
:root { --navy: #09314F; --ink: #09314F; --muted: #3D5A73; --line: #C9D6E2; --bg: #fff; --soft: #F2F6FA;
  --top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px); --left: env(safe-area-inset-left, 0px); --right: env(safe-area-inset-right, 0px); }
html.app { --top: max(env(safe-area-inset-top, 0px), 24px); --bottom: max(env(safe-area-inset-bottom, 0px), 16px); }
html.ios.app { --top: max(env(safe-area-inset-top, 0px), 47px); --bottom: max(env(safe-area-inset-bottom, 0px), 34px); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 100%; }
header { background: var(--navy); color: #fff; padding: calc(var(--top) + 14px) calc(var(--right) + 16px) 14px calc(var(--left) + 16px); }
header h1 { margin: 0; font-size: 24px; line-height: 1.2; }
header p { margin: 4px 0 0; font-size: 15px; }
header > * { max-width: 528px; margin-left: auto; margin-right: auto; }
main { max-width: 560px; margin: 0 auto; padding: 16px calc(var(--right) + 16px) calc(var(--bottom) + 32px) calc(var(--left) + 16px); }
.intro p { font-size: 17px; line-height: 1.45; margin: 0 0 10px; }
.intro a { color: var(--navy); font-weight: 700; }
#msg { padding: 24px 0; font-size: 17px; color: var(--muted); }
#msg:empty { display: none; }
#choices { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
html.android #choices { flex-direction: column-reverse; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--navy); background: var(--soft); padding: 14px 16px 16px; }
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.btn, .apple { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 18px; font-weight: 700; text-align: center; text-decoration: none; border: 0; border-radius: 8px; cursor: pointer; }
.btn { background: var(--navy); color: #fff; }
.apple { background: #000; color: #fff; }
.btn:disabled, .apple:disabled { background: #5B7286; color: #fff; cursor: default; }
a:focus-visible, button:focus-visible, .ok:focus-visible { outline: 3px solid #1A73C8; outline-offset: 3px; }
.err { margin-top: 10px; color: #9B1C1C; font-weight: 700; font-size: 15px; }
.err:empty { display: none; }
.ok { margin-top: 12px; background: #E8F5EE; color: #1E5B3A; border-left: 5px solid #1E5B3A; padding: 12px 14px; font-size: 16px; line-height: 1.45; }
.ok b { word-break: break-all; }
.small { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 20px; }
[hidden] { display: none !important; }
