/* Authenticated portals share the dashboard material. Exact containers only:
   visibility, stacking order, dialog focus, photo previews and external payment
   frames remain owned by their existing components. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) {
  --glass-text: #faf6ff; --glass-muted: #ded6e9;
  --glass-overlay-fill: linear-gradient(125deg,rgba(255,255,255,.065),rgba(255,255,255,.02) 48%),rgba(24,28,44,.28);
  --text-primary: #faf6ff; --text-secondary: #ded6e9; --text: #faf6ff; --muted: #ded6e9; --border: rgba(235,225,255,.23);
  --card: rgba(255,255,255,.07); --card-bg: rgba(255,255,255,.07);
  --surface: rgba(255,255,255,.07); --panel-bg: rgba(255,255,255,.07);
  --fcc-color-text: #faf6ff; --fcc-color-text-muted: #ded6e9;
  --fcc-color-surface: rgba(255,255,255,.07); --fcc-color-surface-elev: rgba(29,30,46,.56);
  --fcc-color-border: rgba(235,225,255,.23); --fcc-color-accent: #ddc4ff;
  --fcc-app-ink: #faf6ff; --fcc-app-muted: #ded6e9;
  --editor-ink: #faf6ff; --editor-muted: #ded6e9; --editor-accent: #ddc4ff; --editor-border: rgba(235,225,255,.23);
  --evm-ink: #faf6ff; --evm-muted: #ded6e9; --evm-lav: #ddc4ff;
  --evm-surface: transparent; --evm-panel: rgba(255,255,255,.07); --evm-line-soft: rgba(235,225,255,.18);
  --fcc-evd-ink: #faf6ff; --fcc-evd-muted: #ded6e9; --fcc-evd-panel: rgba(255,255,255,.07);
  --fcc-evd-lavender: #ddc4ff; --fcc-evd-lavender-soft: rgba(196,162,245,.15);
  --cd-ink: #faf6ff; --cd-muted: #ded6e9; --cd-line: rgba(235,225,255,.23); --cd-purple: #ae81e5;
  --wlp-ink: #faf6ff; --wlp-muted: #ded6e9; --wlp-purple-deep: #ddc4ff; --wlp-line: rgba(235,225,255,.23);
  --pa-ink: #faf6ff; --pa-muted: #ded6e9; --pa-purple-deep: #ddc4ff; --pa-line: rgba(235,225,255,.23);
  --ach-ink: #faf6ff; --ach-muted: #ded6e9; --ach-purple-deep: #ddc4ff;
  --msp-ink: #faf6ff; --msp-muted: #ded6e9; --msp-surface: rgba(255,255,255,.07);
  color: var(--glass-text) !important;
  color-scheme: dark;
}
/* Match the legacy desktop chip selector so its opaque white !important
   background cannot override the shared glass menu material. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) #headerControls > #sidebarAccountCard.fcc-header-profile-chip .account-dropdown {
  background: var(--glass-overlay-fill) !important;
  border-color: rgba(239,231,255,.34) !important;
  box-shadow: inset 1px 1px 1px rgba(255,255,255,.46),inset -1px -1px 1px rgba(213,233,255,.15),0 24px 70px rgba(4,9,22,.4) !important;
}
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown,.fcc-profile-editor .fcc-profiles-action-modal) {
  background: var(--glass-overlay-fill) !important;
  border-color: rgba(239,231,255,.34) !important;
  box-shadow: inset 1px 1px 1px rgba(255,255,255,.46),inset -1px -1px 1px rgba(213,233,255,.15),0 24px 70px rgba(4,9,22,.4) !important;
  backdrop-filter: blur(3px) saturate(115%);
  -webkit-backdrop-filter: blur(3px) saturate(115%);
}
/* Let the scene remain perceptible behind overlays without blurring twice. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.fcc-profiles-action-backdrop,.fcc-kpo-backdrop,.fcc-vault-backdrop,.fcc-game-night-modal-backdrop,.fcc-modal-backdrop,.fcc-evd-backdrop,.calendar-event-modal-backdrop,.fcc-reward-modal-backdrop) {
  background: rgba(8,12,25,.2) !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) dialog.fcc-billing::backdrop { background: rgba(8,12,25,.2); backdrop-filter: none; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker-overlay { background: rgba(8,12,25,.2); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker :is(.chore-icon-picker-footer,.chore-icon-cell,.chore-icon-tab,.chore-icon-use-auto,.chore-icon-picker-close) { background: rgba(255,255,255,.06); border-color: rgba(235,225,255,.23); color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker :is(.chore-icon-tab,.chore-icon-use-auto,.chore-icon-picker-close) { min-height: 44px; min-width: 44px; flex-shrink: 0; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker :is(.chore-icon-picker-head,.chore-icon-picker-search,.chore-icon-picker-tabs,.chore-icon-picker-footer) { flex-shrink: 0; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker :is(.chore-icon-cell.is-selected,.chore-icon-tab.is-active) { background: rgba(190,143,245,.24); border-color: #d6b4ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker .chore-icon-cell-label { color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-icon-picker .chore-icon-picker-hint { color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .chore-template-empty { background: var(--glass-inset) !important; color: var(--glass-text) !important; border-color: var(--glass-line) !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-game-night-modal :is(.fcc-games-phase6-modal__actions,.fcc-game-night-form__section,.fcc-game-night-modal__header) { background: transparent; border-color: rgba(235,225,255,.23); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-game-night-modal :is(.fcc-game-night-form__section-title,.fcc-games-phase6-field span,.fcc-game-night-toggle span,.fcc-game-night-check span) { color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(h1,h2,h3,h4,h5,h6,legend,label) { color: #faf6ff !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(p,.muted,.small) { color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) a { color: #ddc4ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea) {
  background: rgba(9,14,30,.18) !important; color: #faf6ff !important;
  border-color: rgba(235,225,255,.3) !important; box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
}
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(input,textarea)::placeholder { color: #c9bfd7 !important; opacity: 1; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) select option { background: #29273d; color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(button,input,select,textarea,a):focus-visible { outline: 3px solid #e5ccff !important; outline-offset: 3px; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(button,a,input,select,textarea):disabled { opacity: .55; cursor: not-allowed; }
/* Neutral controls keep selected/primary/destructive states distinct. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(.btn-secondary,.fcc-evm-close,.fcc-kpo-close,.fcc-profiles-action-close,.fcc-reward-modal-close,.fcc-reward-modal-cancel,.fcc-vault-close,.fcc-vault-cancel,.fcc-vault-delete-cancel) {
  background: rgba(255,255,255,.09) !important; border-color: rgba(235,225,255,.3) !important; color: #faf6ff !important;
  min-width: 44px; min-height: 44px;
}
/* Profile editor: remove opaque bands and nested white cards. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor :is(.fcc-profiles-action-modal-header,.fcc-editor-tabs,.fcc-editor-save-region) {
  background: rgba(27,28,45,.12) !important; border-color: var(--editor-border) !important;
}
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor :is(.fcc-editor-card,.fcc-profile-module,.profile-sms-card,.profile-permissions-section,.profile-section-card,.fcc-editor-source-settings,.fcc-nutrislice-day-card,.fcc-editor-info,.fcc-sync-card,.fcc-school-portal-source,.fcc-ios-toggle--portal,.fcc-school-portal-btn,.fcc-profile-module__value,.fcc-segmented,.fcc-meals-connection) {
  background: rgba(255,255,255,.06) !important; border-color: var(--editor-border) !important; color: #faf6ff !important; box-shadow: none;
}
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor :is(.fcc-editor-tabs button,.fcc-segmented-btn,.fcc-meals-full-menu) { background: rgba(255,255,255,.06) !important; color: #e9dcff !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor :is(.fcc-editor-tabs button[aria-selected=true],.fcc-segmented-btn.active) { background: rgba(190,143,245,.24) !important; border-color: #d6b4ff !important; color: #fff !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor :is(.fcc-editor-info p,.fcc-meals-sync-status .fcc-sync-card__meta) { color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor .fcc-nutrislice-remove-link { background: rgba(245,100,110,.12); color: #ffb9c0; border-color: rgba(255,165,175,.4); }
/* Child profile customization keeps the actual avatar swatches/photo artwork. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-kpo-sheet :is(.fcc-kpo-title,.fcc-kpo-section-title,.fcc-kpo-style-label,.fcc-kpo-pin-toggle) { color: #faf6ff !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-kpo-sheet :is(.fcc-kpo-subtitle,.fcc-kpo-section-desc,.fcc-kpo-photo-hint) { color: #ded6e9 !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-kpo-sheet :is(.fcc-kpo-section,.fcc-kpo-pin-section,.fcc-kpo-photo-row,.fcc-kpo-style,.fcc-kpo-photo-btn,.fcc-kpo-pin-toggle) { background: rgba(255,255,255,.06) !important; border-color: rgba(235,225,255,.23) !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-style--on { background: rgba(190,143,245,.24) !important; border-color: #d6b4ff !important; }
/* Calendar editor and details have their own hard-coded header/rail colors. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.calendar-event-modal-inner,.fcc-evd-card) :is(.calendar-event-modal-header,.fcc-evm-nav,.fcc-evm-summary,.fcc-evm-footer,.fcc-evd-header,.fcc-evd-footer,.fcc-evd-source-panel) { background: rgba(255,255,255,.055) !important; border-color: rgba(235,225,255,.18) !important; }
/* Native billing and vault are lazy-mounted after the initial stylesheet load. */
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing :is(.fcc-billing-card,.fcc-billing-workspace,.fcc-plan-cards article,.fcc-billing-document,[role=status]) { background: rgba(255,255,255,.06) !important; color: #faf6ff !important; border-color: rgba(235,225,255,.23) !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing :is(button,select) { background: rgba(255,255,255,.09); color: #faf6ff; border-color: rgba(235,225,255,.3); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing button.primary { background: linear-gradient(135deg,#8960b9,#6d449d); color: #fff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing :is(strong,a) { color: #e0c6ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing :is(.fcc-billing-invoice,.fcc-billing-method) { border-color: rgba(235,225,255,.2); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell :is(.fcc-vault-top,.fcc-vault-nav,.fcc-vault-content) { background: transparent !important; border-color: rgba(235,225,255,.18); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.fcc-vault-shell,.fcc-vault-delete-dialog) :is(.fcc-vault-card,.fcc-vault-preview,.fcc-vault-placement-lead,.fcc-vault-private,.fcc-vault-nav-note,.fcc-vault-member-choice,.fcc-vault-facts span,.fcc-vault-source-list span,.fcc-vault-badge) { background: rgba(255,255,255,.06) !important; color: #e6ddf0; border-color: rgba(235,225,255,.23); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell :is(.fcc-vault-card-copy p,.fcc-vault-heading p,.fcc-vault-hint,.fcc-vault-toggle,.fcc-vault-evidence,.fcc-vault-evidence em,.fcc-vault-search-note,.fcc-vault-confirm-copy,.fcc-vault-feedback,.fcc-vault-empty p,.fcc-vault-field label) { color: #ded6e9 !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell :is(.fcc-vault-card h3,.fcc-vault-preview strong,.fcc-vault-evidence strong,.fcc-vault-placement-lead strong) { color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell :is(.fcc-vault-nav button,.fcc-vault-actions button) { color: #e9dcff; background: rgba(255,255,255,.065); border-color: rgba(235,225,255,.23); min-height: 44px; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell .fcc-vault-nav button[data-active=true] { color: #fff; background: rgba(190,143,245,.24); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell .fcc-vault-actions button[data-danger=true],body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell .fcc-vault-feedback[data-error=true] { color: #ffb9c0 !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-shell .fcc-vault-expiry { background: rgba(255,201,99,.17) !important; color: #ffe0a5 !important; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-delete-dialog .fcc-vault-delete-warning { background: rgba(255,135,151,.12); color: #ffccd4; border-color: rgba(255,165,175,.32); }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-vault-delete-dialog .fcc-vault-delete-warning strong { color: #ffccd4; }
@media (max-width: 760px) {
  body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-profile-editor .fcc-profiles-action-modal { border-radius: 0; }
  body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea) { font-size: 16px; }
}
@media (prefers-reduced-transparency: reduce) {
  body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) { --glass-overlay-fill: #29283d; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card,.fcc-profile-editor,.fcc-kpo-sheet,.fcc-billing,.fcc-vault-shell,.fcc-vault-delete-dialog,.calendar-event-modal-inner,.fcc-evd-card,.fcc-modal-card,.modal-card,.behavior-modal-inner,.behavior-plan-modal,.ach-modal,.msp-modal,.msp-shell,.sp-log-modal,.fcc-reward-modal-panel,.chore-icon-picker,.dashboard-widgets-popup,.calendar-day-detail,.calendar-tools-panel,.fcc-calendar-insight-sheet-panel,.chore-template-sheet-panel,.fcc-cal-sms-delivery-sheet-panel,.fcc-tools-sheet,.fcc-gm-sheet,.fcc-smart-import-sheet,.fcc-import-studio-sheet,.fcc-ms-preconnect-sheet,.fcc-cal-selection-sheet,.fcc-cal-disconnect-sheet,.fcc-da-sheet,.fcc-da-qr-modal,.invite-composer-sheet,.fcc-plan-review-sheet__panel,.fcc-plan-remove-sheet__panel,.fcc-plan-action-sheet__panel,.shopping-sheet-inner,.meal-sheet,.fcc-nutrislice-menu-modal-sheet,.fcc-nutrislice-linker-modal,.fcc-sheet-panel,.fcc-notifications-panel,.fcc-action-center-panel,.account-dropdown) { --glass-overlay-fill: #29283d; }
}
@media print {
  body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing-document { background: #fff !important; color: #111 !important; box-shadow: none; }
  body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-billing-document * { color: #111 !important; }
}

/* The medical panel previously reserved a permanent 260px sidebar on desktop. */
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #medicalInfoPanelWrap {
  left: 0; top: var(--fcc-glass-header-bottom,88px); background: transparent;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .msp-shell {
  max-width: none; --msp-line: rgba(235,225,255,.23); --msp-line-soft: rgba(235,225,255,.15);
  --msp-purple: #ddc4ff; --msp-purple-soft: rgba(190,143,245,.16); --msp-purple-chip: rgba(190,143,245,.16);
  box-shadow: none !important; border: 0;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.msp-shell,.msp-modal) :is(.msp-panel,.msp-hero,.msp-card,.msp-modal-head,.msp-modal-foot,.msp-modal-tabs) {
  background: rgba(255,255,255,.06) !important; border-color: rgba(235,225,255,.23) !important;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.fcc-reward-modal-header,.fcc-reward-modal-footer,.chore-template-sheet-head,.chore-template-sheet-footer,.fcc-calendar-insight-sheet-header,.fcc-cal-sms-delivery-sheet-header) {
  background: rgba(255,255,255,.045) !important; border-color: rgba(235,225,255,.18) !important;
}
/* Targeted neutral calendar surfaces; provider logos and semantic badges keep their colors. */
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.calendar-event-modal-inner,.fcc-evd-card) :is(.fcc-evm-navbtn-ic,.fcc-evm-sum-ic,.fcc-evd-description,.fcc-evd-account,.fcc-evd-vis-seg-group,.fcc-evd-vis-chip,.fcc-evd-close,.fcc-src-legend-body,.fcc-src-chip) {
  background: rgba(255,255,255,.065) !important; color: #ded6e9 !important; border-color: rgba(235,225,255,.23) !important;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.calendar-event-modal-inner,.fcc-evd-card) :is(.fcc-evm-navbtn:hover,.fcc-evd-vis-seg.is-active,.fcc-evd-vis-chip.is-selected) {
  background: rgba(190,143,245,.24) !important; color: #faf6ff !important;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-evd-card :is(.fcc-evd-source-field-val,.fcc-src-note) { color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-evd-vis-msg--ok { color: #a9f0cb; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-evd-vis-msg--err { color: #ffb9c0; }

/* Explicit ID specificity beats the legacy calendar !important shell fill. */
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #calendarEventModal.fcc-evm .calendar-event-modal-inner {
  background: var(--glass-overlay-fill) !important;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.cd-dialog,.fcc-game-night-modal,.adv-modal,.kidadv-modal,.wlp-modal,.mem-form-card) :is(button:not(.cd-primary):not(.btn-primary):not(.btn-danger):not(.wlp-btn-primary):not(.wlp-btn-danger),.wlp-filter-spacer) {
  color: #faf6ff; border-color: rgba(235,225,255,.23);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .cd-dialog button:not(.cd-primary) { background: rgba(255,255,255,.07); }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .cd-dialog .cd-event { background: rgba(255,255,255,.065) !important; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .cd-dialog .cd-event span { color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .cd-dialog .cd-error { color: #ffb9c0; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .cd-dialog::backdrop { background: rgba(8,12,25,.2); backdrop-filter: none; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.adv-modal-title,.kidadv-upload-status,.mem-applies-current,.mem-form-card .mem-label,.mem-form-card .mem-applies-label) { color: #ded6e9 !important; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.adv-modal-header,.adv-modal-footer,.wlp-modal-header,.wlp-modal-footer,.mem-form-card .mem-form-header,.mem-form-card .mem-form-footer) { background: rgba(29,30,46,.12) !important; border-color: rgba(235,225,255,.18); }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.wlp-modal,.mem-form-card) :is(.wlp-profile-chip,.mem-upload-box,.mem-applies-section,.memory-profile-scope-picker,.mem-upload-dropzone) { background: rgba(255,255,255,.06) !important; border-color: rgba(235,225,255,.23); color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) > .mem-form-backdrop,
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.adv-modal-backdrop,.kidadv-modal-backdrop,.wlp-modal-overlay) { background: rgba(8,12,25,.2) !important; backdrop-filter: none; }
/* Nested history/achievement rows and compact close buttons must not revert to white. */
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.pa-modal-card,.ach-modal) {
  --pa-blue: #b7d6ff; --pa-green: #a9f0cb; --ach-green: #a9f0cb;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.pa-modal-card .pa-detail-stat,.ach-modal .ach-journey-item,.ach-modal .ach-journey-icon) {
  background: rgba(255,255,255,.065) !important; border-color: rgba(235,225,255,.23);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .ach-modal .ach-journey-item.is-unlocked { background: rgba(112,225,168,.1) !important; border-color: rgba(159,240,200,.35); }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.pa-modal-close,.ach-modal-close,.adv-modal-close,.kidadv-modal-close,.wlp-modal-close,.mem-form-close) {
  min-width: 44px; min-height: 44px; background: rgba(255,255,255,.08) !important; color: #faf6ff !important; border-color: rgba(235,225,255,.25);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .pa-modal :is(.pa-tag-gold,.pa-tag-bronze) { color: #ffe0a5; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .pa-modal :is(.pa-detail-progress,.pa-detail-list li,.pa-detail-empty) {
  background: rgba(255,255,255,.065); color: #ded6e9; border-color: rgba(235,225,255,.23);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .msp-shell {
  --msp-mint-bg: rgba(112,225,168,.13); --msp-mint-ink: #a9f0cb;
  --msp-amber-bg: rgba(255,201,99,.13); --msp-amber-ink: #ffe0a5;
}

/* Child personalization stays above the shared scene with the same clear glass. */
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__backdrop {
  background: rgba(8,12,25,.2); backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__panel {
  --glass-overlay-fill: linear-gradient(125deg,rgba(255,255,255,.065),rgba(255,255,255,.02) 48%),rgba(24,28,44,.28);
  background: var(--glass-overlay-fill); color: #faf6ff;
  border-color: rgba(239,231,255,.34);
  box-shadow: inset 1px 1px 1px rgba(255,255,255,.46),inset -1px -1px 1px rgba(213,233,255,.15),0 24px 70px rgba(4,9,22,.4);
  backdrop-filter: blur(3px) saturate(115%); -webkit-backdrop-filter: blur(3px) saturate(115%);
  color-scheme: dark;
}
body.fcc-liquid-glass :is(.fcc-kid-hero--magical,.fcc-kid-theme-card--magical) { --kid-style-rgb: 197,149,255; }
body.fcc-liquid-glass :is(.fcc-kid-hero--space,.fcc-kid-theme-card--space) { --kid-style-rgb: 130,162,255; }
body.fcc-liquid-glass :is(.fcc-kid-hero--sports,.fcc-kid-theme-card--sports) { --kid-style-rgb: 80,221,151; }
body.fcc-liquid-glass :is(.fcc-kid-hero--gamer,.fcc-kid-theme-card--gamer) { --kid-style-rgb: 221,123,255; }
body.fcc-liquid-glass :is(.fcc-kid-hero--dino,.fcc-kid-theme-card--dino) { --kid-style-rgb: 172,218,99; }
body.fcc-liquid-glass :is(.fcc-kid-hero--ocean,.fcc-kid-theme-card--ocean) { --kid-style-rgb: 89,218,239; }
body.fcc-liquid-glass :is(.fcc-kid-hero--art,.fcc-kid-theme-card--art) { --kid-style-rgb: 255,190,97; }
body.fcc-liquid-glass :is(.fcc-kid-hero--superhero,.fcc-kid-theme-card--superhero) { --kid-style-rgb: 255,121,136; }
body.fcc-liquid-glass :is(.fcc-kid-hero--animals,.fcc-kid-theme-card--animals) { --kid-style-rgb: 218,202,122; }
body.fcc-liquid-glass :is(.fcc-kid-hero--princess,.fcc-kid-theme-card--princess) { --kid-style-rgb: 255,154,212; }
body.fcc-liquid-glass :is(.fcc-kid-hero--minimal,.fcc-kid-theme-card--minimal) { --kid-style-rgb: 196,210,226; }
body.fcc-liquid-glass .fcc-kid-theme-card--surprise { --kid-style-rgb: 174,196,255; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-card {
  background: linear-gradient(145deg,rgba(var(--kid-style-rgb),.18),rgba(255,255,255,.035));
  border-color: rgba(var(--kid-style-rgb),.32); color: #faf6ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-card--active {
  border-color: rgba(var(--kid-style-rgb),.95);
  box-shadow: 0 0 0 2px rgba(var(--kid-style-rgb),.25),inset 0 1px 0 rgba(255,255,255,.4);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) :is(.fcc-kid-theme-picker__title,.fcc-kid-theme-card__label,.fcc-kid-theme-picker__status) { color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__subtitle { color: #ded6e9; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__status:is(.is-error,[data-error="true"]) { color: #ffccd4; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__close { background: rgba(255,255,255,.09); color: #faf6ff; border: 1px solid rgba(235,225,255,.25); }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker :is(button):focus-visible { outline: 3px solid #e5ccff; outline-offset: 2px; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker button:disabled { opacity: .6; }

/* Each theme changes only the hero glass tint/edge, never the page backdrop. */
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #dashboard .kid-hero-card[class*="fcc-kid-hero--"] {
  background: radial-gradient(ellipse at top right,rgba(var(--kid-style-rgb),.22),transparent 65%),var(--glass-fill) !important;
  border-color: rgba(var(--kid-style-rgb),.5) !important;
  border-top-color: rgba(var(--kid-style-rgb),.85) !important;
  border-left-color: rgba(var(--kid-style-rgb),.75) !important;
  box-shadow: inset 4px 0 0 rgba(var(--kid-style-rgb),.65),var(--glass-shadow),0 0 26px rgba(var(--kid-style-rgb),.1) !important;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #dashboard .kid-hero-personalization { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #dashboard .kid-current-style {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 12px;
  color: #faf6ff; background: rgba(var(--kid-style-rgb),.17); border: 1px solid rgba(var(--kid-style-rgb),.55); border-radius: 999px; font-size: .8rem; font-weight: 800;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #dashboard .kid-hero-personalization :is(.kid-choose-theme-btn,.kid-edit-avatar-btn) {
  margin: 0; min-height: 44px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08) !important; color: #faf6ff !important; border: 1px solid rgba(var(--kid-style-rgb),.4);
  font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer;
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) #dashboard .kid-avatar-world .kid-avatar-frame {
  border-color: var(--kid-avatar-accent,rgba(235,221,255,.5));
  box-shadow: inset 0 2px 3px rgba(255,255,255,.5),0 0 0 3px rgba(255,255,255,.12),0 16px 30px rgba(7,10,24,.3);
}

body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo { padding: 12px; box-sizing: border-box; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet { width: min(100%,520px); max-height: calc(100dvh - 24px - env(safe-area-inset-top)); box-sizing: border-box; border: 1px solid rgba(239,231,255,.34); border-radius: 28px; padding-bottom: 0; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet :is(.fcc-kpo-close,.fcc-kpo-avatar-edit) { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-photo-btn { min-height: 44px; box-sizing: border-box; color: #faf6ff; }
.fcc-kpo-photo-row[hidden] { display: none !important; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet :is(.fcc-kpo-preset,.fcc-kpo-pending-badge,.fcc-kpo-photo-preview) { background: rgba(255,255,255,.08); border-color: rgba(235,225,255,.25); color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet :is(.fcc-kpo-preset,.fcc-kpo-color) { padding: 0; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-preset--on { background: rgba(190,143,245,.24); border-color: #d6b4ff; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-color--on { border-color: #faf6ff; }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-avatar-ring { border-color: var(--kid-avatar-accent,rgba(235,221,255,.5)); }
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-footer {
  position: sticky; bottom: 0; z-index: 2; padding: 10px 0 max(12px,env(safe-area-inset-bottom));
  border-top: 1px solid rgba(235,225,255,.23); background: var(--glass-overlay-fill);
  backdrop-filter: blur(12px) saturate(115%); -webkit-backdrop-filter: blur(12px) saturate(115%);
}
body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-footer .fcc-kpo-save { margin-top: 0; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-status--error { background: rgba(245,100,110,.12); color: #ffccd4; }
body.fcc-liquid-glass.logged-in:not(.logged-out):not(.fcc-auth-screen) .fcc-kpo-sheet .fcc-kpo-status--ok { background: rgba(112,225,168,.13); color: #a9f0cb; }
@media (prefers-reduced-transparency: reduce) {
  body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__panel { --glass-overlay-fill: #29283d; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.fcc-liquid-glass.logged-in:not(.fcc-auth-screen) .fcc-kid-theme-picker__panel { --glass-overlay-fill: #29283d; }
}
