/* The public entry uses the same crystal scene as the authenticated shell.
   Keep auth state/visibility in the existing controllers; this layer is visual. */
body.fcc-liquid-glass {
  --fcc-entry-scene: radial-gradient(ellipse at 8% 8%,rgba(164,117,173,.55),transparent 50%),radial-gradient(ellipse at 95% 95%,rgba(83,158,169,.5),transparent 55%),linear-gradient(145deg,#3b2b44,#171d2b 60%,#253d46);
  --fcc-entry-reflection: linear-gradient(122deg,transparent 49%,rgba(230,236,255,.16) 51%,rgba(134,173,199,.06) 54%,transparent 61%),radial-gradient(ellipse at -8% 100%,rgba(217,165,187,.18) 0 30%,rgba(235,200,218,.28) 30.2%,transparent 30.6%);
  --fcc-entry-fill: linear-gradient(120deg,rgba(255,255,255,.14),rgba(255,255,255,.035) 35%,rgba(210,239,255,.06)),rgba(20,24,40,.38);
  --fcc-entry-edge: rgba(228,235,255,.35);
  --fcc-entry-shadow: inset 1px 1px 1px rgba(255,255,255,.5),inset -1px -1px 1px rgba(210,240,255,.18),0 20px 50px rgba(3,8,22,.24);
}
body.fcc-liquid-glass.fcc-auth-screen { height: 100dvh; min-height: 0; padding: 0 !important; box-sizing: border-box; overflow: hidden; background: #242435; }
body.fcc-liquid-glass.logged-out.fcc-auth-screen #loginView { display: block !important; }
body.fcc-liquid-glass #loginView:is([hidden],[aria-hidden="true"]) { display: none !important; }

/* A single viewport scroller accommodates keyboards, zoom and longer forms. */
body.fcc-liquid-glass #loginView {
  position: fixed !important;
  inset: 0;
  width: 100% !important;
  max-width: none;
  height: 100%;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0;
  overflow: auto !important;
  overscroll-behavior: contain;
  color: #faf6ff;
  color-scheme: dark;
  background: var(--fcc-entry-scene);
}
body.fcc-liquid-glass #loginView .lv-shell {
  position: relative;
  inset: auto;
  display: flex !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: auto !important;
  padding: max(32px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left)) !important;
  box-sizing: border-box;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: transparent;
}
body.fcc-liquid-glass #loginView .lv-shell::before { background: var(--fcc-entry-reflection); }
/* The auth controller owns visibility, including transitions to signup/PIN. */
body.fcc-liquid-glass #loginView :is([hidden],.fcc-login-isolated-hidden) { display: none !important; }
body.fcc-liquid-glass #loginView .lv-card.lv-signup-mode .lv-mode-toggle { display: none !important; }
body.fcc-liquid-glass #loginView .lv-card.lv-signup-mode .lv-adult-left::after { content: none; }
body.fcc-liquid-glass #loginView :is(.lv-bc,.lv-left-deco,.lv-left-ring,.lv-stars-display) { display: none; }
body.fcc-liquid-glass #loginView .lv-card {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,500px);
  gap: clamp(40px,7vw,108px);
  width: min(1120px,100%) !important;
  max-width: 1120px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}
/* Override the legacy onboarding mobile card floor; content sets the height. */
body.fcc-liquid-glass #loginView #loginCard { min-height: 0 !important; }
body.fcc-liquid-glass #loginView .lv-left {
  width: auto !important;
  min-width: 0 !important;
  flex: none !important;
  padding: 0;
  overflow: visible;
  background: transparent !important;
}
body.fcc-liquid-glass #loginView :is(.lv-adult-left,.lv-kid-left) {
  position: relative;
  height: 100% !important;
  padding: 100px 0 !important;
  gap: 24px;
  justify-content: center !important;
  align-items: flex-start !important;
}
body.fcc-liquid-glass #loginView :is(.lv-logo-block,.lv-kid-left-top) {
  position: absolute;
  top: 8px;
  left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 0;
}
body.fcc-liquid-glass #loginView .lv-logo-img-wrap {
  width: 56px !important;
  height: 56px !important;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  backdrop-filter: none;
}
body.fcc-liquid-glass #loginView .lv-logo-img { filter: none; }
body.fcc-liquid-glass #loginView .lv-wm-family { font-size: 22px; line-height: 1.2; }
body.fcc-liquid-glass #loginView .lv-wm-cmd { font-size: 16px; letter-spacing: -.02em; text-transform: none; color: #faf6ff; }
body.fcc-liquid-glass #loginView :is(.lv-left-body h1,.lv-kid-left-msg h2) {
  font-size: clamp(36px,4.3vw,58px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 0 0 24px;
  color: #faf6ff;
}
body.fcc-liquid-glass #loginView .lv-yl { color: #faf6ff !important; text-shadow: none; }
body.fcc-liquid-glass #loginView :is(.lv-left-body p,.lv-kid-left-msg p) { font-size: 18px; line-height: 1.6; color: #ded6e9; }
body.fcc-liquid-glass #loginView .lv-kid-left-msg { text-align: left; }

body.fcc-liquid-glass #loginView .lv-right {
  --text: #faf6ff;
  --muted: #ded6e9;
  --blue: #dcc0ff;
  --blue-dark: #e5d2ff;
  --blue-light: #dcc0ff;
  --blue-pale: rgba(220,192,255,.1);
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 28px 32px !important;
  overflow: visible !important;
  box-sizing: border-box;
  border: 1px solid var(--fcc-entry-edge);
  border-radius: 28px;
  background: var(--fcc-entry-fill);
  box-shadow: var(--fcc-entry-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.fcc-liquid-glass #loginView .lv-mode-toggle {
  flex-shrink: 0;
  width: 100% !important;
  margin: 0 0 22px !important;
  padding: 3px;
  box-sizing: border-box;
  background: rgba(12,16,30,.18);
  border: 1px solid var(--fcc-entry-edge);
  border-radius: 14px;
  box-shadow: inset 0 1px 1px #ffffff15;
}
body.fcc-liquid-glass #loginView .lv-mode-btn { min-height: 44px; font-size: 15px; color: #ded6e9; }
body.fcc-liquid-glass #loginView .lv-mode-btn.active { background: linear-gradient(135deg,#e4c9ff,#c9a4ed); color: #251b3d; border-bottom-color: transparent; box-shadow: inset 0 1px 1px #ffffff80,0 2px 8px #080b1925; }
body.fcc-liquid-glass #loginView .lv-view-title { font-size: 28px; line-height: 1.2; color: #faf6ff; margin-bottom: 6px; }
body.fcc-liquid-glass #loginView :is(.lv-view-sub,.lv-field-sub,.lv-login-chooser-sub,.lv-kid-view-sub,.lv-pin-entry-sub,.lv-remember-row label) { color: #ded6e9; }
body.fcc-liquid-glass #loginView .lv-view-sub { margin-bottom: 20px; line-height: 1.5; }
body.fcc-liquid-glass #loginView :is(.lv-field-label,.lv-login-chooser-title,.lv-kid-view-title,.lv-pin-entry-title,.lv-selected-avatar-name) { color: #faf6ff; }
body.fcc-liquid-glass #loginView .lv-field-label { font-size: 12px; letter-spacing: .07em; color: #e2c9fa; }
body.fcc-liquid-glass #loginView .lv-field-input {
  min-height: 46px;
  font-size: 16px;
  border: 1px solid rgba(228,235,255,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: #faf6ff;
  box-shadow: inset 0 1px 1px #ffffff20;
}
body.fcc-liquid-glass #loginView .lv-field-input::placeholder { color: #c8bfd6; opacity: 1; }
body.fcc-liquid-glass #loginView .lv-field-input:focus { border-color: #e5caff; background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px #dcc0ff26; }
body.fcc-liquid-glass #loginView input:-webkit-autofill { -webkit-text-fill-color: #faf6ff; -webkit-box-shadow: 0 0 0 1000px #353247 inset; caret-color: #faf6ff; }
body.fcc-liquid-glass #loginView :is(.lv-forgot-link,.lv-btn-link,.lv-back-btn,.lv-ghost-btn) { color: #e5caff; }
body.fcc-liquid-glass #loginView .fcc-password-toggle { background: #ffffff10; color: #e5caff; box-shadow: none; }
body.fcc-liquid-glass #loginView .lv-remember-row { margin: 2px 0 18px; }
body.fcc-liquid-glass #loginView .lv-remember-row input { accent-color: #dcc0ff; width: 18px; height: 18px; }
body.fcc-liquid-glass #loginView .lv-primary-btn {
  min-height: 46px;
  margin-top: 0;
  border: 1px solid #f2e3ff80;
  border-radius: 13px;
  background: linear-gradient(135deg,#e1c2ff,#c7a1ec);
  color: #251b3d;
  box-shadow: inset 0 1px 1px #ffffff80,0 6px 18px #090d2025;
}
body.fcc-liquid-glass #loginView .lv-primary-btn:hover { background: linear-gradient(135deg,#ecd8ff,#d8b9f7); transform: none; }
body.fcc-liquid-glass #loginView :is(.lv-secondary-btn,.lv-oauth-btn,.lv-pin-key) {
  min-height: 44px;
  border: 1px solid var(--fcc-entry-edge);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: #faf6ff;
  box-shadow: inset 0 1px 1px #ffffff18;
}
body.fcc-liquid-glass #loginView :is(.lv-secondary-btn,.lv-oauth-btn,.lv-pin-key):hover { background: #ffffff12; border-color: #e5caff; }
body.fcc-liquid-glass #loginView .lv-oauth-row { margin-top: 12px; }
body.fcc-liquid-glass #loginView .lv-oauth-btn { width: 100%; }
body.fcc-liquid-glass #loginView #fccAuthMagicBtn { margin-top: 6px; background: transparent; color: #e5caff; border-color: transparent; box-shadow: none; }
body.fcc-liquid-glass #loginView #fccShowSignupBtn { border: 0; border-top: 1px solid #e4ebff30; border-radius: 0; padding: 16px 0 0; min-height: 44px; background: transparent; }
body.fcc-liquid-glass #loginView #fccShowSignupBtn span { color: #ded6e9; font-weight: 500; }
body.fcc-liquid-glass #loginView .lv-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #ded6e9; }
body.fcc-liquid-glass #loginView .lv-divider::before,
body.fcc-liquid-glass #loginView .lv-divider::after { position: static; flex: 1; width: auto; height: 1px; background: #e4ebff30; content: ''; }
body.fcc-liquid-glass #loginView .lv-divider span { position: static; padding: 0; background: transparent; color: #ded6e9; font-size: 12px; }

/* Saved profiles retain the existing PIN handlers and permissions. */
body.fcc-liquid-glass #loginAdultChooserSection { padding: 0; margin: 0 0 2px; background: transparent; border: 0; border-radius: 0; }
body.fcc-liquid-glass #loginAdultChooserSection .lv-login-chooser-title { font-size: 13px; margin-bottom: 8px; }
body.fcc-liquid-glass #loginAdultChooserSection .lv-login-chooser-sub { display: none; }
body.fcc-liquid-glass #loginAdultList { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
body.fcc-liquid-glass #loginView .login-profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-height: 68px;
  padding: 12px;
  border: 1px solid #dcc0ff60;
  border-radius: 16px;
  background: linear-gradient(120deg,#dcc0ff20,#ffffff05);
  color: #faf6ff;
  text-align: left;
  box-shadow: inset 0 1px 1px #ffffff30;
}
body.fcc-liquid-glass #loginView .login-profile-btn::after { content: '›'; margin-left: auto; font-size: 28px; color: #e5caff; }
body.fcc-liquid-glass #loginView .login-profile-btn__body { min-width: 0; }
body.fcc-liquid-glass #loginView .login-profile-btn__name { color: #faf6ff; white-space: normal; }
body.fcc-liquid-glass #loginView .login-profile-btn__meta { color: #ded6e9; white-space: normal; }
body.fcc-liquid-glass #loginView .login-profile-btn :is(.profile-avatar,.profile-avatar-md) { background: #cba9ef; color: #30213f; border-color: #ebd8ff80; }
/* Kids' ID/PIN and approval cards are rendered by auth-login after page load. */
body.fcc-liquid-glass #loginView :is(.kid-login-card,.kid-login-preview-card) { box-sizing: border-box; background: #ffffff05; border-color: var(--fcc-entry-edge); box-shadow: none; }
body.fcc-liquid-glass #loginView :is(.kid-login-card-header h2,.kid-login-preview-title) { color: #faf6ff; }
body.fcc-liquid-glass #loginView :is(.kid-login-card-header p,.kid-login-help,.kid-login-preview-subtitle) { color: #ded6e9; }
body.fcc-liquid-glass #loginView .setup-field > label { color: #e2c9fa; }
body.fcc-liquid-glass #loginView .kid-login-error { color: #ffbfc9; }
body.fcc-liquid-glass #loginView .kid-login-preview-avatar { background: #cba9ef; color: #30213f; }
/* Recovery, account confirmation and signup share the same readable glass. */
body.fcc-liquid-glass #loginView :is(.las-msg-line,.las-identity-card,.fcc-signup-family-mini-card,.fcc-signup-review-shell,.fcc-signup-note,.setup-member-card) { background: #ffffff06; border-color: var(--fcc-entry-edge); box-shadow: none; color: #ded6e9; }
body.fcc-liquid-glass #loginView :is(.las-email-line,.las-email-line strong,.las-id-val,.fcc-signup-section-title,.fcc-signup-mini-title,.setup-member-card-title) { color: #faf6ff; }
body.fcc-liquid-glass #loginView :is(.las-id-lbl,.fcc-signup-section-sub,.fcc-signup-mini-sub,.fcc-signup-terms,.setup-step-label) { color: #ded6e9; }
body.fcc-liquid-glass #loginView :is(.fcc-signup-section-kicker,.fcc-signup-terms a) { color: #e5caff; }
body.fcc-liquid-glass #loginView .las-badge-warn { background: #dcc0ff15; border-color: #dcc0ff50; color: #e5caff; }
body.fcc-liquid-glass #loginView .las-badge-ok { background: #72d5b51a; border-color: #a4e9cb60; color: #bcebd7; }
body.fcc-liquid-glass #loginView .fcc-signup-step-pill { color: #ded6e9; background: #ffffff06; border-color: var(--fcc-entry-edge); }
body.fcc-liquid-glass #loginView .fcc-signup-step-pill:is(.is-active,.is-complete) { color: #251b3d; background: #dcc0ff; border-color: #e5caff; box-shadow: none; }
body.fcc-liquid-glass #loginView .setup-progress-wrap { background: #ffffff20; }
body.fcc-liquid-glass #loginView .lv-pin-dot { border-color: #dcc0ff90; background: #ffffff08; }
body.fcc-liquid-glass #loginView .lv-pin-dot.filled { background: #dcc0ff; }
body.fcc-liquid-glass #loginView .lv-pin-key:active { background: #dcc0ff; color: #251b3d; }
body.fcc-liquid-glass #loginView .lv-pin-key-empty { background: transparent; border-color: transparent; box-shadow: none; }
body.fcc-liquid-glass #loginView .lv-success-overlay { background: var(--fcc-entry-scene); color: #faf6ff; }
body.fcc-liquid-glass #loginView :is(.lv-status-msg,.lv-pin-error,.lv-locked-msg) { color: #ffbfc9; }
body.fcc-liquid-glass #loginView :is(button,a,input,select,textarea):focus-visible { outline: 3px solid #e5caff; outline-offset: 3px; }
body.fcc-liquid-glass #loginView button:disabled { opacity: .55; cursor: wait; }

/* Compact loading card, also used by the existing update/recovery controller. */
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) {
  --fcc-splash-ink: #faf6ff;
  --fcc-splash-muted: #ded6e9;
  --fcc-splash-purple: #dcc0ff;
  padding: 24px;
  box-sizing: border-box;
  overflow-y: auto;
  background: var(--fcc-entry-scene);
  color: #faf6ff;
}
/* Updates intentionally cover an already-authenticated shell until navigation. */
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading).fcc-splash-updating:not(.splash-hidden):not([aria-hidden="true"]) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading)::before { background: var(--fcc-entry-reflection); opacity: 1; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-device {
  width: min(520px,100%);
  min-height: 0;
  height: auto;
  max-width: 100%;
  margin: auto;
  border: 1px solid var(--fcc-entry-edge);
  border-radius: 28px;
  background: var(--fcc-entry-fill);
  box-shadow: var(--fcc-entry-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-device::before { content: none; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-card { display: flex; flex-direction: column; gap: 32px; padding: 42px 32px; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-brand { width: 100%; animation: none; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-logo-mark { width: 112px; height: 112px; margin-bottom: 20px; filter: none; animation: none; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) h1 { font-size: clamp(28px,5vw,38px); line-height: 1.12; letter-spacing: -.025em; color: #faf6ff; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-tagline { margin-top: 18px; font-size: 16px; line-height: 1.5; color: #ded6e9; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-loading { width: 100%; animation: none; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .splash-status { font-size: 14px; font-weight: 600; line-height: 1.5; color: #ded6e9; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-progress { width: min(100%,340px); height: 5px; margin-bottom: 0; border: 0; background: #d6e1ff26; box-shadow: none; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .splash-progress-bar { background: #dcc0ff; box-shadow: none; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-progress::after { content: none; }
/* Progress text stays available to assistive technology without a competing label. */
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-loading-sub { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) :is(.splash-error,.splash-closed-state) { border-color: var(--fcc-entry-edge); background: #15192b50; color: #faf6ff; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .splash-error-actions .btn-primary { color: #251b3d; background: #dcc0ff; border-color: #dcc0ff; }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .splash-error-actions .btn-secondary { color: #faf6ff; background: #ffffff0d; border-color: var(--fcc-entry-edge); }
body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) button:focus-visible { outline: 3px solid #e5caff; outline-offset: 3px; }

@media (min-width: 901px) and (max-height: 820px) {
  body.fcc-liquid-glass #loginView .lv-shell { padding-top: 22px !important; padding-bottom: 22px !important; }
  body.fcc-liquid-glass #loginView .lv-right { padding: 20px 28px !important; }
  body.fcc-liquid-glass #loginView .lv-mode-toggle { margin-bottom: 16px !important; }
  body.fcc-liquid-glass #loginTabSignIn > .lv-view-sub { display: none; }
  body.fcc-liquid-glass #loginTabSignIn > .lv-view-title { margin-bottom: 16px; }
  body.fcc-liquid-glass #loginTabSignIn > .fcc-auth-field { margin-bottom: 10px !important; }
  body.fcc-liquid-glass #loginView .lv-divider { margin: 12px 0; }
  body.fcc-liquid-glass #loginView .lv-remember-row { margin-bottom: 12px; }
  body.fcc-liquid-glass #loginView .lv-primary-btn { padding-top: 11px; padding-bottom: 11px; }
  body.fcc-liquid-glass #loginView .login-profile-btn { min-height: 64px; padding: 10px 12px; }
  body.fcc-liquid-glass #loginView #fccShowSignupBtn { padding-top: 10px; }
}

/* On desktop, use the available width for the two ways kids can sign in.
   Keep the existing profile buttons, approval messages and PIN controllers. */
@media (min-width: 901px) {
  body.fcc-liquid-glass #loginView #loginCard.lv-kid-mode {
    width: min(1280px,100%) !important;
    max-width: 1280px !important;
    grid-template-columns: minmax(190px,.32fr) minmax(0,1fr);
    gap: clamp(24px,3vw,44px);
  }
  body.fcc-liquid-glass #loginView .lv-kid-mode .lv-kid-left-msg h2 { font-size: clamp(34px,3.4vw,48px); }
  body.fcc-liquid-glass #loginView .lv-kid-mode .lv-kid-left { padding: 88px 0 32px !important; }
  body.fcc-liquid-glass #loginView .lv-kid-mode .lv-mode-toggle { width: min(360px,100%) !important; align-self: center; margin-bottom: 20px !important; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginStepChoose {
    display: grid;
    grid-template-columns: minmax(220px,.8fr) minmax(0,1.2fr);
    column-gap: 24px;
    align-items: start;
  }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginStepChoose > :is(.lv-kid-view-title,.lv-kid-view-sub,#loginParentList) { grid-column: 1 / -1; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginStepChoose > .lv-kid-view-title { font-size: 25px !important; line-height: 1.2; margin-bottom: 6px !important; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginStepChoose > .lv-kid-view-sub { margin-bottom: 22px !important; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginChildLoginCardHost { grid-column: 1; width: 100%; min-width: 0; margin: 0 !important; }
  body.fcc-liquid-glass #loginView .lv-kid-mode .kid-login-card { max-width: none; padding: 18px; border-radius: 18px; }
  body.fcc-liquid-glass #loginView .lv-kid-mode .kid-login-card-header h2 { font-size: 19px; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    min-width: 0;
    margin: 0;
    align-content: start;
  }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList > :not(.login-profile-btn) { grid-column: 1 / -1; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList .login-profile-btn { min-height: 68px; padding: 10px; gap: 9px; border-radius: 14px; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList .profile-avatar { flex-shrink: 0; width: 38px; height: 38px; font-size: 19px; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList .login-profile-btn__name { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList .login-profile-btn__meta { font-size: 11px; line-height: 1.3; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList .login-profile-btn::after { font-size: 22px; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginKidList .fcc-da-kid-hint { margin: 2px 0 0 !important; font-size: 12px; color: #ded6e9; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginParentList { margin-top: 14px !important; text-align: center; font-size: 12px; color: #ded6e9; }
  body.fcc-liquid-glass #loginView .lv-kid-mode #loginStepPin { max-width: 360px; margin-inline: auto; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body.fcc-liquid-glass #loginView #loginCard.lv-kid-mode { grid-template-columns: minmax(0,1fr); max-width: 860px !important; gap: 20px; }
  body.fcc-liquid-glass #loginView .lv-kid-mode .lv-kid-left { padding: 0 !important; }
  body.fcc-liquid-glass #loginView .lv-kid-mode .lv-kid-left-top { position: static; }
  body.fcc-liquid-glass #loginView .lv-kid-mode .lv-kid-left-msg { display: none; }
}

@media (max-width: 900px) {
  body.fcc-liquid-glass #loginView .lv-shell { padding: max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom)) !important; }
  body.fcc-liquid-glass #loginView .lv-card { grid-template-columns: minmax(0,1fr); max-width: 500px !important; gap: 24px; }
  body.fcc-liquid-glass #loginView :is(.lv-adult-left,.lv-kid-left) { padding: 0 !important; height: auto !important; }
  body.fcc-liquid-glass #loginView :is(.lv-logo-block,.lv-kid-left-top) { position: static; }
  body.fcc-liquid-glass #loginView :is(.lv-left-body,.lv-kid-left-msg) { display: none; }
  body.fcc-liquid-glass #loginView .lv-logo-img-wrap { width: 44px !important; height: 44px !important; }
  body.fcc-liquid-glass #loginView .lv-wm-family { font-size: 18px; }
  body.fcc-liquid-glass #loginView .lv-wm-cmd { font-size: 14px; }
}
@media (max-width: 480px) {
  body.fcc-liquid-glass #loginView .lv-shell { padding-left: max(14px,env(safe-area-inset-left)) !important; padding-right: max(14px,env(safe-area-inset-right)) !important; }
  body.fcc-liquid-glass #loginView .lv-right { padding: 24px 20px !important; border-radius: 24px; }
  body.fcc-liquid-glass #loginView .lv-view-title { font-size: 26px; }
  body.fcc-liquid-glass #loginView .lv-mode-toggle { margin-bottom: 20px !important; }
  body.fcc-liquid-glass #loginView .lv-forgot-link { font-size: 12px; }
  body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) { padding: 18px; }
  body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-card { padding: 32px 20px; gap: 28px; }
  body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) .fcc-splash-logo-mark { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fcc-liquid-glass #loginView *,body.fcc-liquid-glass :is(#appSplash,#fccOnboardingLoading) * { animation: none !important; transition: none !important; }
}

/* Identity hydration uses the same branded loading card before app startup. */
body.fcc-liquid-glass #fccOnboardingLoading::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
