#register-screen { background: #101014; }
.register-content { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; padding: 10px 26px 7px; overflow-y: auto; scrollbar-width: none; }
.register-brand { flex: 0 0 auto; text-align: center; }
.register-brand h1 { margin: 0; color: #b7ff2a; font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; font-size: 52px; line-height: 1.1; font-weight: 900; }
.register-brand p { margin: 7px 0 0; color: #d5d5dd; font-size: 14px; line-height: 1.5; }
.register-stage { display: grid; place-items: center; position: relative; flex: 1 0 280px; min-height: 280px; isolation: isolate; }
.register-emblem { position: relative; width: min(100%, 260px); aspect-ratio: 1; border: 0; border-radius: 50%; background: linear-gradient(145deg, #ededeb 0%, #a6a7aa 18%, #44454a 46%, #18191e 70%, #6a6b70 92%, #bcbcc0 100%); box-shadow: 0 15px 28px #0008, 0 -1px 1px #eeeeee38, inset 0 1px 1px #fff9, inset 0 -2px 3px #000b; }
.register-emblem::before { content: ""; position: absolute; left: -3px; top: calc(50% - 16px); width: 10px; height: 32px; border: 1px solid #6c6e75; border-radius: 3px; background: linear-gradient(90deg, #303138, #a5a7ab 48%, #404147); box-shadow: 0 2px 3px #0009; }
.register-latch { position: absolute; right: -3px; top: calc(50% - 13px); width: 7px; height: 26px; border-radius: 3px; background: linear-gradient(90deg, #aaaeb3, #404249); box-shadow: 0 2px 3px #0009; }
.register-emblem::after { content: ""; position: absolute; inset: 8px; border: 1px solid #bdbec338; border-radius: 50%; pointer-events: none; box-shadow: inset 0 8px 12px #0007, inset 0 -1px 1px #ffffff42; }
.register-portrait { position: absolute; inset: 8px; overflow: hidden; border-radius: 50%; background: #a79c8f; box-shadow: 0 0 0 2px #0b0b0ec9; }
.register-portrait img, .register-portrait video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.register-portrait video { opacity: 0; }
.register-portrait.has-motion video { opacity: 1; }
.register-look { opacity: 0; }
.register-portrait.is-still .register-look { opacity: 1; }
.register-portrait.is-still video { opacity: 0; }
.register-roar { position: absolute; right: 0; top: 7px; z-index: 3; color: #ffabd1; font-size: 26px; line-height: 1.2; white-space: nowrap; font-weight: 850; transform: rotate(9deg); transform-origin: left center; opacity: 0; text-shadow: 2px 2px #101014, -2px -2px #101014, 2px -2px #101014, -2px 2px #101014; }
.register-greeting { flex: 0 0 auto; margin: 0; text-align: center; font-size: 28px; line-height: 1.4; font-weight: 750; }
.register-purpose { flex: 0 0 auto; margin: 5px 0 12px; text-align: center; color: #c2c2cc; font-size: 13px; line-height: 1.6; }
.register-form { flex: 0 0 auto; }
.register-form label { display: block; margin-bottom: 8px; font-size: 12px; color: #cacad3; }
.register-name-field { position: relative; }
.register-name-field input { width: 100%; height: 50px; border: 1px solid #54545e; border-radius: 8px; background: #1c1c21; color: #f7f7f2; padding: 0 48px 0 15px; font: inherit; font-size: 16px; outline: none; }
.register-name-field input::placeholder { color: #9797a5; font-size: 14px; }
.register-name-field input:focus { border-color: #b7ff2a; box-shadow: 0 0 0 1px #b7ff2a; }
.register-name-field input[aria-invalid="true"] { border-color: #f9a0ca; }
.register-name-clear { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; }
.register-name-clear[hidden] { display: none; }
.register-name-clear .icon { width: 18px; height: 18px; opacity: .6; }
.register-error { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #ffaad3; }
.register-error:empty { display: none; }
.register-submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; margin-top: 14px; border-radius: 8px; background: #b7ff2a; color: #101014; font-size: 16px; font-weight: 750; box-shadow: 0 4px #648c12; }
.register-submit .icon { width: 24px; height: 24px; filter: brightness(0); }
.register-submit:active { transform: translateY(2px); box-shadow: 0 2px #648c12; }
.register-footer { position: relative; flex: 0 0 auto; padding: 6px 26px 24px; text-align: center; }
.register-guest { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; background: transparent; color: #b3b3bf; font-size: 12px; }
.register-guest .icon { width: 17px; height: 17px; opacity: .7; }
.register-preview-note { border-left-color: #8fae42; }
.register-preview-note > strong { color: #466116; }
.register-auth { display: grid; flex: 0 0 auto; gap: 8px; }
.register-auth h3 { margin: 0 0 2px; color: #c3c3ce; font-size: 12px; font-weight: 600; text-align: center; }
.register-provider { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 12px; background: #f7f7f7; color: #171719; border: 1px solid #e3e3e5; border-radius: 8px; font-size: 14px; font-weight: 650; }
.register-provider .icon, .register-provider img { flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; }
.register-provider .icon { filter: brightness(0); }
.register-email { background: #b7ff2a; border-color: #b7ff2a; }
.register-provider:focus-visible, .register-mode-toggle:focus-visible, .register-guest:focus-visible { outline: 2px solid #ff76bf; outline-offset: 3px; }
.register-mode-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 4px 0; background: none; color: #b3b3bf; font-size: 12px; }
.register-mode-toggle strong { color: #f7f7f2; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.register-auth-overlay { position: absolute; inset: 0; z-index: 50; display: flex; align-items: flex-end; background: #000b; }
#register-screen [hidden] { display: none !important; }
.register-auth-sheet { width: 100%; max-height: calc(100% - 20px); overflow-y: auto; overscroll-behavior: contain; padding: 14px 24px 28px; border-radius: 8px 8px 0 0; border-top: 1px solid #62626b; background: #17171c; }
.register-auth-sheet > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.register-auth-sheet h2 { margin: 0; font-size: 22px; line-height: 1.4; }
.register-demo-note { color: #bcbcc7; font-size: 12px; line-height: 1.7; margin: 8px 0 18px; }
.register-email-field { margin-bottom: 14px; }
.register-email-field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #54545e; border-radius: 8px; background: #1c1c21; color: #f7f7f2; font: inherit; font-size: 16px; }
.register-email-field input:focus { outline: 2px solid #b7ff2a; outline-offset: -1px; }
.register-email-field input[aria-invalid="true"] { border-color: #f9a0ca; }
#standby-screen .speech { max-width: 80%; overflow-wrap: anywhere; }
@media (max-height: 820px) {
  body.export .register-content { padding-top: 2px; padding-bottom: 2px; }
  body.export .register-brand h1 { font-size: 44px; }
  body.export .register-brand p { margin-top: 4px; font-size: 13px; }
  body.export .register-stage { flex-basis: 186px; min-height: 186px; }
  body.export .register-emblem { width: 180px; }
  body.export .register-greeting { font-size: 26px; }
  body.export .register-purpose { margin: 3px 0 6px; }
  body.export .register-auth { gap: 6px; }
  body.export .register-auth h3 { margin-bottom: 0; }
  body.export .register-form label { margin-bottom: 6px; }
  body.export .register-submit { margin-top: 11px; min-height: 50px; }
  body.export .register-footer { padding-top: 3px; padding-bottom: 14px; }
}
@media (min-height: 740px) and (max-height: 820px) {
  body.export .register-stage { flex-basis: 246px; min-height: 246px; }
  body.export .register-emblem { width: 240px; }
}
@media (max-height: 666px) {
  body.export #register-screen .statusbar { flex-basis: 36px; }
  body.export #register-screen .island { display: none; }
  body.export .register-brand h1 { font-size: 36px; }
  body.export .register-brand p { font-size: 12px; margin-top: 2px; }
  body.export .register-content { padding-bottom: 0; }
  body.export .register-stage { flex-basis: 154px; min-height: 154px; }
  body.export .register-emblem { width: 148px; }
  body.export .register-greeting { font-size: 25px; }
  body.export .register-purpose { font-size: 12px; margin-top: 3px; margin-bottom: 4px; }
  body.export .register-auth { gap: 4px; }
  body.export .register-auth h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  body.export .register-form label { margin-bottom: 4px; }
  body.export .register-name-field input { height: 44px; }
  body.export .register-name-clear { top: 0; }
  body.export .register-submit { min-height: 46px; margin-top: 10px; }
  body.export .register-footer { padding-top: 0; padding-bottom: 12px; }
}
