/* The signed-in Profile only. Authentication and LuckyCHAT keep their own views. */
@layer royal-popups {
  body[data-page="home"][data-customer-auth="signed-in"] #customer-auth-modal {
    --profile-ink: #fff4df;
    --profile-muted: #c8afd8;
    --profile-edge: #76508b;
    --profile-copy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8h11v13H9zM15 8V3H4v13h5M12 12h5m-5 4h5'/%3E%3C/svg%3E");
    --profile-download-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v13m-5-5 5 5 5-5M3 15v6h18v-6'/%3E%3C/svg%3E");
    --profile-share-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='18' cy='4' r='4'/%3E%3Ccircle cx='5' cy='12' r='4'/%3E%3Ccircle cx='18' cy='20' r='4'/%3E%3Cpath d='m7 9 9-6 2 3-9 6zm0 6 2-3 9 6-2 3z'/%3E%3C/svg%3E");
    --profile-logout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4H4v16h8M8 8h4M8 12h3M8 16h4m5-8 4 4-4 4m-4-4h8'/%3E%3C/svg%3E");
    position: fixed !important;
    inset: var(--royal-modal-inset, 0 0 calc(var(--royal-dock-height, 112px) + env(safe-area-inset-bottom))) !important;
    z-index: 12000 !important;
    align-items: var(--royal-modal-align, center) !important;
    justify-content: center !important;
    padding: var(--royal-modal-padding, max(16px, env(safe-area-inset-top)) 21px 17px) !important;
    overflow: hidden !important;
    background: var(--royal-modal-backdrop, rgba(17, 3, 27, .48)) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
  }
  body[data-page="home"][data-customer-auth="signed-in"] #customer-auth-modal:not([hidden]) { display: flex !important; }
  body[data-page="home"][data-customer-auth="signed-in"] #customer-auth-modal[hidden] { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-auth-card {
    box-sizing: border-box !important;
    position: relative !important;
    display: block !important;
    width: min(100%, 456px) !important;
    min-width: 0 !important;
    max-width: 456px !important;
    max-height: var(--royal-modal-max-height, 100%) !important;
    margin: 0 !important;
    padding: 13px 12px 9px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: #805391 #210b30 !important;
    border: 1px solid #d6b75e !important;
    border-radius: 20px !important;
    background: radial-gradient(ellipse at 40% 0, #4d126342, transparent 52%), linear-gradient(145deg, #2b0a40, #1b052b 65%, #210731) !important;
    box-shadow: inset 0 1px 1px #d4a7ec26, inset 0 -2px 4px #0d021b50, 0 18px 48px #0009 !important;
    color: var(--profile-ink) !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-auth-card::before,
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-auth-card::after,
  body[data-customer-auth="signed-in"] #customer-auth-modal .royal-auth-heading { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-titlebar {
    box-sizing: border-box !important;
    position: sticky !important;
    z-index: 8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 36px !important;
    margin: 0 0 10px !important;
    padding: 4.5px 29px !important;
    top: -13px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(100deg, #2b0a40, #230733) !important;
    box-shadow: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-titlebar > div { display: block !important; min-width: 0 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-titlebar small {
    display: block !important;
    color: var(--profile-ink) !important;
    font: bold 21px/1.15 "Times New Roman", serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: 0 2px 2px #11031a !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-titlebar > div > strong { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-email-icon {
    display: grid !important;
    place-items: center !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #efc956 !important;
    font-size: 0 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-email-icon::before {
    content: '' !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background: currentColor !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='black'%3E%3Cpath d='m3 10 7 5 6-10 6 10 7-5-4 16H7L3 10Zm4 18h18v3H7Z'/%3E%3Ccircle cx='3' cy='9' r='2'/%3E%3Ccircle cx='16' cy='4' r='2'/%3E%3Ccircle cx='29' cy='9' r='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='black'%3E%3Cpath d='m3 10 7 5 6-10 6 10 7-5-4 16H7L3 10Zm4 18h18v3H7Z'/%3E%3Ccircle cx='3' cy='9' r='2'/%3E%3Ccircle cx='16' cy='4' r='2'/%3E%3Ccircle cx='29' cy='9' r='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-email-icon svg { display: block !important; width: 20px !important; height: 20px !important; fill: currentColor !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-auth-close {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    inset: 4.5px 0 auto auto !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    border: 1px solid #c3a348 !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #481666, #230733) !important;
    color: #fff3df !important;
    -webkit-text-fill-color: #fff3df !important;
    font: 400 21px/1 Arial, sans-serif !important;
    box-shadow: inset 0 1px 1px #edc7ff55, 0 3px 5px #10041bcc !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view:not([hidden]) { display: grid !important; gap: 7.5px !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-identity {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-avatar {
    position: relative !important;
    width: 112px !important;
    height: 112px !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: none !important;
    box-shadow: 0 4px 6px #10021899 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-avatar :is(img, .customer-profile-initials) {
    box-sizing: border-box !important;
    position: absolute !important;
    inset: 0 !important;
    width: 112px !important;
    height: 112px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 3px solid #ecc35a !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    color: #fff0a6 !important;
    box-shadow: inset 0 0 0 2px #6c3e0b, inset 0 0 0 4px #f7dc8c80, 0 0 0 1px #522d0b, 0 1px 3px #100319 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-initials {
    display: grid !important;
    place-items: center !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: conic-gradient(from -30deg, #aa55f4, #421086 12%, #d487ff 13%, #5d12a9 25%, #2d0964 35%, #9651e0 36%, #31056a 49%, #9d42e2 50%, #3a0a83 66%, #c26bfa 67%, #3a0568 82%, #9b39de) !important;
    font: bold 32px/1 "Times New Roman", serif !important;
    letter-spacing: -2px !important;
    text-shadow: 0 3px 2px #1a0338, 0 0 9px #1a0338cc !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-initials::before {
    content: '' !important;
    position: absolute !important;
    inset: 8px !important;
    z-index: -1 !important;
    clip-path: polygon(50% 0, 84% 15%, 100% 49%, 82% 86%, 50% 100%, 15% 85%, 0 50%, 17% 14%) !important;
    background: conic-gradient(from 15deg at 50% 43%, #7825bf, #180746 18%, #7427c0 19%, #2c0756 37%, #9634d1 38%, #2c0861 61%, #7016ad 62%, #3c0a80 82%, #8c39ca) !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-name {
    margin: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    color: var(--profile-ink) !important;
    -webkit-text-fill-color: var(--profile-ink) !important;
    font: bold 18.75px/1.15 "Times New Roman", serif !important;
    text-align: center !important;
    text-shadow: 0 2px 2px #160522 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .royal-profile-caption {
    margin: 0 !important;
    color: #dfc8e8 !important;
    font: 12px/1.2 "Times New Roman", serif !important;
    text-align: center !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .my-profile-id-box {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 27px !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 7.5px !important;
    min-height: 37px !important;
    margin: 0 !important;
    padding: 4.5px 5.25px 4.5px 9.75px !important;
    border: 1px solid #d6b75e !important;
    border-radius: 10px !important;
    background: linear-gradient(115deg, #2b0a40, #1b052b) !important;
    box-shadow: inset 0 1px #f9dc9a15, 0 2px 4px #11021955 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-info-icon { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .my-profile-id-box > div {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
    min-width: 0 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .my-profile-id-box > div > :is(span, strong) {
    margin: 0 !important;
    color: var(--profile-ink) !important;
    font: 12.75px/1.25 "Times New Roman", serif !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 -5px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #76508b !important;
    border-radius: 9px !important;
    background: #210731 !important;
    box-shadow: 0 2px 4px #0d011b80 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-tab-button {
    min-width: 0 !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 5.25px 3.75px !important;
    border: 0 !important;
    border-right: 1px solid #15051f !important;
    border-radius: 0 !important;
    background: linear-gradient(#3d1155, #210731) !important;
    color: var(--profile-ink) !important;
    -webkit-text-fill-color: var(--profile-ink) !important;
    font: 11.25px/1.15 "Times New Roman", serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: inset 0 1px #be86d633 !important;
    filter: none !important;
    transform: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-tab-button:last-child { border-right: 0 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-tab-button.active {
    border: 1px solid #e7c66a !important;
    border-radius: 8px !important;
    background: linear-gradient(#e7b344, #b97c16) !important;
    color: #190d08 !important;
    -webkit-text-fill-color: #190d08 !important;
    font-weight: bold !important;
    box-shadow: inset 0 1px #fff0b177, inset 0 -2px #70430e33, 0 2px 4px #13072166 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-tab-panel:not([hidden]) {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #76508b !important;
    border-radius: 11px !important;
    background: linear-gradient(120deg, #320d49, #210731) !important;
    box-shadow: inset 0 1px #c690d911 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal :is(.profile-email-row, .profile-phone-choice, .profile-password-choice) {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #70417e66 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-tab-panel > :last-child { border-bottom: 0 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal :is(.profile-email-row, .profile-phone-summary, .profile-password-summary) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 35.25px !important;
    padding: 3.75px 5.25px 3.75px 7.5px !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal :is(.profile-email-row, .profile-phone-summary, .profile-password-summary) > div {
    display: grid !important;
    grid-template-columns: minmax(64.5px, .85fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-email-row { grid-template-columns: minmax(0, 1fr) !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-password-summary > div { display: block !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-password-summary p { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-info-row :is(strong, p) {
    margin: 0 !important;
    color: var(--profile-ink) !important;
    font: 11.25px/1.3 "Times New Roman", serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-phone { color: var(--profile-muted) !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal :is(.profile-phone-editor, .profile-password-form, .profile-referral-box):not([hidden]) {
    display: grid !important;
    gap: 8.25px !important;
    margin: 0 !important;
    padding: 9px !important;
    border: 0 !important;
    border-top: 1px solid #6d3b7e66 !important;
    border-radius: 0 0 10px 10px !important;
    background: #210731 !important;
    box-shadow: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view label {
    display: grid !important;
    gap: 5.25px !important;
    margin: 0 !important;
    color: var(--profile-ink) !important;
    font: 12px/1.3 "Times New Roman", serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view input {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 6px 8.25px !important;
    margin: 0 !important;
    border: 1px solid #76508b !important;
    border-radius: 8px !important;
    background: linear-gradient(115deg, #230833, #190425) !important;
    color: #fff3e9 !important;
    -webkit-text-fill-color: #fff3e9 !important;
    font: 16px/1.25 Arial, sans-serif !important;
    box-shadow: inset 0 2px 5px #0d021b66 !important;
    outline: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view input::placeholder { color: #c0a7d0 !important; opacity: 1 !important; -webkit-text-fill-color: #c0a7d0 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view input:focus { border-color: #c38ad9 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-password-row {
    position: relative !important;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin: 0 !important;
    border: 1px solid #76508b !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #190425 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view .customer-profile-password-row input {
    display: block !important;
    width: 100% !important;
    min-height: 32px !important;
    padding-right: 36px !important;
    border: 0 !important;
    border-radius: 7px !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-password-row:focus-within { border-color: #c38ad9 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-phone-actions { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important; align-items: center !important; gap: 9px !important; margin: 1px 0 0 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view :where(.request-edit-button, #customer-copy-profile-id, [data-profile-password-toggle]) {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5.25px !important;
    min-width: 0 !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 3.75px 7.5px !important;
    border: 1px solid #8755a4 !important;
    border-radius: 8px !important;
    background: linear-gradient(#4b176e, #26083e) !important;
    color: #fff1e8 !important;
    -webkit-text-fill-color: #fff1e8 !important;
    font: 11px/1.2 "Times New Roman", serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: inset 0 1px 1px #d59fec50, inset 0 -2px 3px #17062866, 0 2px 3px #10051d80 !important;
    filter: none !important;
    transform: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view #customer-copy-profile-id {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    padding: 5.25px !important;
    border-radius: 10px !important;
    font-size: 0 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-copy-profile-id::before {
    content: '' !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    background: currentColor !important;
    mask: var(--profile-copy-icon) center / contain no-repeat !important;
    -webkit-mask: var(--profile-copy-icon) center / contain no-repeat !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-copy-profile-id[data-copy-state="copied"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E") !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E") !important;
    color: #83ddb4 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view .customer-profile-password-row [data-profile-password-toggle] {
    position: absolute !important;
    inset: 3px 3px 3px auto !important;
    translate: none !important;
    width: 27px !important;
    min-width: 27px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5.25px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal [data-profile-password-toggle] svg { display: block !important; width: 15px !important; height: 15px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal :is(.profile-referral-choice, .profile-member-choice) { display: grid !important; gap: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-referral-summary { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: center !important; gap: 7.5px !important; padding: 9px !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-referral-summary strong { display: block !important; color: var(--profile-ink) !important; font: bold 12.75px/1.3 "Times New Roman", serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-referral-summary p { margin: 3px 0 0 !important; color: var(--profile-muted) !important; font: 11px/1.4 Arial, sans-serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-member-list { display: grid !important; gap: 8px !important; padding: 0 12px 12px !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-member-list > p { margin: 0 !important; color: var(--profile-muted) !important; font: 11px/1.5 Arial, sans-serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-member-card { display: block !important; margin: 0 !important; padding: 7.5px 8.25px !important; border: 1px solid #76508b !important; border-radius: 9px !important; background: linear-gradient(115deg, #320d49, #210731) !important; box-shadow: inset 0 1px #ce9ce515 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-member-card.is-ready { border-color: #48856d !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-member-card strong { display: block !important; color: var(--profile-ink) !important; font: bold 11.25px/1.3 "Times New Roman", serif !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .customer-member-card small { display: block !important; margin-top: 3px !important; color: #ceb4db !important; font: 11px/1.3 Arial, sans-serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view :is(.profile-phone-editor, .profile-password-form, .profile-referral-box) small { color: var(--profile-muted) !important; font: 11px/1.5 Arial, sans-serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view :is(#customer-save-profile-password, #customer-save-phone, #customer-save-member, #customer-save-referrer) {
    min-height: 48px !important;
    border: 1px solid #43b58a !important;
    border-radius: 8px !important;
    background: linear-gradient(#148662, #06503f) !important;
    color: #effff4 !important;
    -webkit-text-fill-color: #effff4 !important;
    font: bold 17px/1.2 "Times New Roman", serif !important;
    padding: 12px !important;
    box-shadow: inset 0 1px 2px #99e7c366, inset 0 -3px 5px #003e304d, 0 3px 0 #072a22, 0 5px 8px #08011166 !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 11px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions::before { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-download-app { display: block !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions :is(#customer-install-app, #customer-share-site) {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 6px 5.25px !important;
    border: 1px solid #a263d5 !important;
    border-radius: 9px !important;
    background: linear-gradient(#5a208d, #300b50) !important;
    color: #fff3ec !important;
    -webkit-text-fill-color: #fff3ec !important;
    font: bold 12px/1.15 "Times New Roman", serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: inset 0 1px 2px #d5afff66, inset 0 -3px 5px #230a4e66, 0 3px 0 #150723, 0 5px 8px #0e021b66 !important;
    filter: none !important;
    transform: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions #customer-install-app { border-color: #448fc7 !important; background: linear-gradient(#1262b0, #073b79) !important; box-shadow: inset 0 1px 2px #9acaff66, inset 0 -3px 5px #022a5f66, 0 3px 0 #10152c, 0 5px 8px #0e021b66 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions :is(#customer-install-app, #customer-share-site)::before,
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-logout::before {
    content: '' !important;
    display: block !important;
    flex: 0 0 23px !important;
    width: 23px !important;
    height: 23px !important;
    background: currentColor !important;
    mask: var(--profile-share-icon) center / contain no-repeat !important;
    -webkit-mask: var(--profile-share-icon) center / contain no-repeat !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions #customer-install-app::before { mask-image: var(--profile-download-icon) !important; -webkit-mask-image: var(--profile-download-icon) !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions :is(#customer-install-app, #customer-share-site)::before { flex-basis: 15px !important; width: 15px !important; height: 15px !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view #customer-logout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8.25px !important;
    width: 100% !important;
    min-height: 29px !important;
    margin: 4px 0 0 !important;
    padding: 7.5px 4.5px 3px !important;
    border: 0 !important;
    border-top: 1px solid #6c39744d !important;
    border-radius: 0 !important;
    background: none !important;
    color: #ead8f0 !important;
    font: 12.75px/1.2 "Times New Roman", serif !important;
    box-shadow: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-logout::before { flex-basis: 17px !important; width: 17px !important; height: 17px !important; mask-image: var(--profile-logout-icon) !important; -webkit-mask-image: var(--profile-logout-icon) !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-install-app-status:empty { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-install-app-status:not(:empty) { display: block !important; margin-top: 7px !important; color: var(--profile-muted) !important; font: 11px/1.4 Arial, sans-serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-auth-message { margin: 7px 0 0 !important; padding: 0 !important; min-height: 0 !important; color: var(--profile-muted) !important; font: 11px/1.5 Arial, sans-serif !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-auth-message:empty { display: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-auth-message.success { color: #8cdbb5 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-auth-message.error { color: #efb4ba !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal button { -webkit-tap-highlight-color: transparent !important; touch-action: manipulation !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal button:not(:disabled):is(:active, [data-tactile-pressed]) { transform: translateY(2px) scale(.985) !important; filter: brightness(.94) !important; box-shadow: inset 0 2px 5px #10021a66, 0 1px 0 #100319 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal:has(#customer-profile-view:not([hidden])) #customer-profile-view button:not(:disabled):is(:active, [data-tactile-pressed]) { transform: translateY(2px) scale(.985) !important; filter: brightness(.94) !important; box-shadow: inset 0 2px 5px #10021a66, 0 1px 0 #100319 !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal button:focus:not(:focus-visible) { outline: none !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal button:focus-visible { outline: 2px solid #e9d48f !important; outline-offset: 3px !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal button:disabled { opacity: .6 !important; cursor: wait !important; }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view .royal-profile-panel-stage {
    display: block !important;
    min-width: 0 !important;
    height: var(--royal-profile-panel-height, auto) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    overflow: clip !important;
    transition: none !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view .royal-profile-panel-stage[data-motion-ready="true"] {
    transition: height 220ms cubic-bezier(.22, .7, .25, 1) !important;
  }
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view .royal-profile-panel-stage > .customer-profile-tab-panel {
    animation: none !important;
    transition: none !important;
  }
  /* Hidden auth, tab, capability, and edit states remain controlled by the app. */
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view[hidden],
  body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view [hidden] { display: none !important; }
  @media (max-width: 350px) {
    body[data-customer-auth="signed-in"] #customer-auth-modal .customer-auth-card { padding-inline: 9px !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-avatar,
    body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-avatar :is(img, .customer-profile-initials) { width: 94px !important; height: 94px !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal .customer-profile-initials { font-size: 28px !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-name { font-size: 16.5px !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal .profile-info-row :is(strong, p) { font-size: 11px !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal :is(.profile-email-row, .profile-phone-summary) > div { grid-template-columns: minmax(56px, .85fr) minmax(0, 1fr) !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal .profile-external-actions :is(#customer-install-app, #customer-share-site) { font-size: 12px !important; gap: 5.25px !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    body[data-customer-auth="signed-in"] #customer-auth-modal #customer-profile-view .royal-profile-panel-stage[data-motion-ready="true"] { transition: none !important; }
    body[data-customer-auth="signed-in"] #customer-auth-modal button,
    body[data-customer-auth="signed-in"] #customer-auth-modal button:not(:disabled):is(:active, [data-tactile-pressed]),
    body[data-customer-auth="signed-in"] #customer-auth-modal:has(#customer-profile-view:not([hidden])) #customer-profile-view button:not(:disabled):is(:active, [data-tactile-pressed]) { transition: none !important; animation: none !important; transform: none !important; }
  }
}
