/* Approved rich-purple customer UI. Only final action buttons emit a soft glow. */
@layer customer-auth-boundary {
  /* Hidden form steps stay hidden regardless of their presentation selectors. */
  body[data-page="home"] :is(.add-score-modal,.create-account-request-modal,.royal-customer-modal) [hidden] {display:none!important}
  body[data-page="home"] .royal-replaced-game {display:none!important}
  body[data-page="home"]:not([data-royal-keyboard-focus="true"]) :is(.add-score-modal,.create-account-request-modal,.royal-customer-modal) :is(input,select,textarea,button,a):focus {outline:none!important}
}
@layer royal-popups {
  body[data-page="home"] {
    --royal-coins:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%3E%3Cellipse%20cx%3D%229%22%20cy%3D%225%22%20rx%3D%227%22%20ry%3D%223%22%2F%3E%3Cpath%20d%3D%22M2%205v4c0%201.7%203.1%203%207%203s7-1.3%207-3V5M2%209v4c0%201.7%203.1%203%207%203M2%2013v4c0%201.7%203.1%203%207%203%22%2F%3E%3Cellipse%20cx%3D%2216%22%20cy%3D%2214%22%20rx%3D%226%22%20ry%3D%222.7%22%2F%3E%3Cpath%20d%3D%22M10%2014v5c0%201.5%202.7%202.7%206%202.7s6-1.2%206-2.7v-5%22%2F%3E%3C%2Fsvg%3E");
    --royal-copy:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%227%22%20width%3D%2212%22%20height%3D%2214%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M16%207V3H4v14h4m4-6h5m-5%204h5%22%2F%3E%3C%2Fsvg%3E");
    --royal-eye:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%3E%3Cpath%20d%3D%22M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");
    --royal-panel: radial-gradient(ellipse at 18% 0%,#340d4b 0%,transparent 58%),linear-gradient(145deg,#260a3b 0%,#1d062e 55%,#190426 100%);
    --royal-inset: linear-gradient(130deg,#320d49,#210731);
    --royal-ink: #fff6e5;
    --royal-muted: #cbb0df;
    --royal-edge: #76508b;
    --royal-gold: #d6b75e;
    --royal-green: #68e6a4;
    --royal-dock-height: 112px;
    --royal-modal-inset: 0;
    --royal-modal-align: center;
    --royal-modal-padding: max(18px,env(safe-area-inset-top)) 12px max(18px,env(safe-area-inset-bottom));
    --royal-modal-max-height: min(80dvh,100%);
    --royal-modal-backdrop: rgba(17,3,27,.48);
  }
  body[data-page="home"] :is(.add-score-modal,.create-account-request-modal,.royal-customer-modal) {
    position:fixed!important;inset:var(--royal-modal-inset)!important;
    z-index:12000!important;align-items:var(--royal-modal-align)!important;justify-content:center!important;
    padding:var(--royal-modal-padding)!important;box-sizing:border-box!important;
    overflow:hidden!important;background:var(--royal-modal-backdrop)!important;
    backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important;
  }
  body[data-page="home"] :is(.add-score-modal,.create-account-request-modal,.royal-customer-modal):not([hidden]) {display:flex!important}
  body[data-page="home"] :is(.add-score-modal,.create-account-request-modal,.royal-customer-modal)[hidden],
  body[data-page="home"] :is(.add-score-modal,.create-account-request-modal,.royal-customer-modal) [hidden] {display:none!important}
  body[data-page="home"]:not([data-customer-auth="signed-in"]) #customer-auth-modal {--royal-modal-inset:0;--royal-modal-padding:16px 12px;inset:0!important;align-items:center!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) {
    position:relative!important;box-sizing:border-box!important;flex:none!important;display:block!important;
    width:min(474px,100%)!important;min-width:0!important;max-width:474px!important;max-height:var(--royal-modal-max-height)!important;
    margin:0!important;padding:18px 17px 17px!important;overflow-x:hidden!important;overflow-y:auto!important;
    overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-color:#73458c #260d3e!important;
    border:1px solid #c2a255!important;border-radius:20px!important;
    background:var(--royal-panel)!important;color:var(--royal-ink)!important;
    box-shadow:inset 0 1px 0 #d4a9f219,0 16px 44px #09001088!important;
    font:400 12px/1.45 "Times New Roman",serif!important;
    isolation:isolate!important;transform:none!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card)::before,
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card)::after {display:none!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(h2,h3,h4,p,label,small,strong,span,button,input,select) {
    text-shadow:none!important;letter-spacing:normal!important;-webkit-text-stroke:0!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) h2 {
    margin:2px 36px 18px!important;padding:0!important;min-height:36px!important;
    color:var(--royal-ink)!important;-webkit-text-fill-color:var(--royal-ink)!important;
    font:700 clamp(18.75px,4.725vw,24px)/1.15 "Times New Roman",serif!important;text-align:center!important;text-transform:none!important;background:none!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) h3 {font:700 14.25px/1.3 "Times New Roman",serif!important;color:var(--royal-ink)!important;margin:0 0 12px!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) p {font:400 11.25px/1.5 "Times New Roman",serif!important;color:var(--royal-muted)!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) small {font:400 11px/1.4 "Times New Roman",serif!important;color:var(--royal-muted)!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) label {font:400 12px/1.35 "Times New Roman",serif!important;color:var(--royal-ink)!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),select,textarea) {
    box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:35px!important;height:auto!important;
    padding:7px 10px!important;margin:5px 0 0!important;border:1px solid #86609c!important;border-radius:9px!important;
    background:linear-gradient(120deg,#230833,#190425)!important;color:#f7efff!important;-webkit-text-fill-color:#f7efff!important;
    font:400 16px/1.2 "Times New Roman",serif!important;box-shadow:inset 0 2px 5px #10001d55!important;outline:none!important;
    -webkit-tap-highlight-color:transparent!important;caret-color:#9eeac0!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) input::placeholder {color:#bea0d4!important;-webkit-text-fill-color:#bea0d4!important;opacity:1!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) select option {background:#2a103f;color:#fff6e8}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(input,select,textarea):focus-visible {outline:2px solid #bc90d2!important;outline-offset:2px!important}
  body[data-page="home"] :is(.add-score-close,.contact-message-close,.modal-back-button,.royal-popup-back) {
    position:absolute!important;z-index:4!important;inset:14px 14px auto auto!important;display:grid!important;place-items:center!important;
    width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-height:30px!important;
    margin:0!important;padding:0 0 2px!important;border:1px solid #d2b367!important;border-radius:50%!important;
    background:linear-gradient(140deg,#4a285f,#200c36)!important;color:#fff4de!important;-webkit-text-fill-color:#fff4de!important;
    box-shadow:inset 0 1px 0 #ead1fc33,0 3px 4px #0d011c88!important;
    font:400 20.25px/1 Arial,sans-serif!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;
  }
  body[data-page="home"] :is(.modal-back-button,.royal-popup-back) {inset:14px auto auto 14px!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(button,a,[role="button"]):focus:not(:focus-visible) {outline:none!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(button,a,[role="button"]):focus-visible {outline:2px solid #f7de98!important;outline-offset:3px!important}
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(.score-submit,.request-edit-button,.context-guide-button,.credential-tool-button) {
    box-sizing:border-box!important;min-width:0!important;min-height:28.5px!important;padding:6px 8.25px!important;
    border:1px solid #8a579f!important;border-radius:10px!important;background:linear-gradient(#582477,#311247)!important;
    color:#fff6ee!important;-webkit-text-fill-color:#fff6ee!important;font:700 11.25px/1.25 "Times New Roman",serif!important;
    text-transform:none!important;letter-spacing:0!important;white-space:normal!important;cursor:pointer!important;
    --tactile-depth-color:#160521!important;
    --tactile-rest-shadow:inset 0 1px 0 #dcbcf244,inset 0 -2px 3px #12001a55,0 3px 0 #160521,0 5px 8px #08000c44!important;
    --tactile-pressed-shadow:inset 0 2px 5px #13001e88,0 1px 0 #160521!important;
    box-shadow:var(--tactile-current-shadow,var(--tactile-rest-shadow))!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) .score-submit {
    display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
    width:100%!important;min-height:56px!important;margin:18px 0 4px!important;padding:13px 16px!important;
    border-color:#25c58a!important;background:linear-gradient(170deg,#0baa70,#007d4f 42%,#00452c)!important;
    color:#f1fff6!important;-webkit-text-fill-color:#f1fff6!important;font:700 22px/1.2 "Times New Roman",serif!important;
    --tactile-depth-color:#032d1c!important;
    --tactile-rest-shadow:inset 0 1px 2px #b1f6c888,inset 0 -3px 4px #002c2388,0 3px 0 #032b1d,0 0 9px #29d88b22!important;
    --tactile-pressed-shadow:inset 0 3px 5px #002a2199,0 1px 0 #02241a,0 0 5px #29d88b14!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) button:disabled {
    opacity:.52!important;cursor:not-allowed!important;filter:saturate(.5)!important;box-shadow:inset 0 1px #ffffff12!important;transform:none!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(.score-submit,.request-edit-button)::after {display:none!important}
  body[data-page="home"] :is(#withdrawal-submit,.request-cancel-button) {
    background:linear-gradient(#862847,#4a0d29)!important;border:1px solid #b64d69!important;color:#fff2f1!important;
    --tactile-rest-shadow:inset 0 1px #fbbdc444,0 3px 0 #2f0819!important;--tactile-pressed-shadow:inset 0 3px #25091688,0 1px #2f0819!important;
  }
  body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) :is(#score-amount,#customer-wallet-share-amount,.score-profile-amount,.royal-amount-input) {
    background:linear-gradient(105deg,#002d24,#03251f 65%,#061e20)!important;border:1px solid #31ac7d!important;
    color:#94f4be!important;-webkit-text-fill-color:#94f4be!important;caret-color:#94f4be!important;
    font:600 16px/1.2 "Times New Roman",serif!important;box-shadow:inset 0 2px 6px #001b1b66!important;padding-left:34px!important;
    font-variant-numeric:lining-nums tabular-nums!important;
  }
  body[data-page="home"] :is(#score-amount,#customer-wallet-share-amount,.score-profile-amount,.royal-amount-input)::placeholder {color:#8de7b8!important;-webkit-text-fill-color:#8de7b8!important;opacity:1!important}
  body[data-page="home"] :is(.score-amount-field,.customer-wallet-share-amount-field) {display:block!important;position:relative!important}
  body[data-page="home"] .score-amount-field::after {
    content:""!important;position:absolute!important;left:11px!important;bottom:9px!important;width:16px!important;height:16px!important;
    background:#e4c875!important;mask:var(--royal-coins) center/contain no-repeat!important;-webkit-mask:var(--royal-coins) center/contain no-repeat!important;pointer-events:none!important;
  }
  body[data-page="home"] :is(.royal-amount,#score-route-total,.score-payment-verified-amount,#withdrawal-recent-score,#withdrawal-minimum,#withdrawal-maximum,#withdrawal-success-added,#withdrawal-success-withdrawn,.customer-wallet-history-amount,.score-profile-total,.royal-score-available strong) {
    color:var(--royal-green)!important;-webkit-text-fill-color:var(--royal-green)!important;background:none!important;font-variant-numeric:lining-nums tabular-nums!important;
  }
  body[data-page="home"] #customer-wallet-amount {color:#075538!important;-webkit-text-fill-color:#075538!important;font:700 clamp(21px,6.4vw,30px)/1 "Times New Roman",serif!important;font-variant-numeric:lining-nums tabular-nums!important}
  body[data-page="home"] .customer-wallet-card > span:last-child {min-width:0!important}
  body[data-page="home"] .royal-dock-surface {filter:drop-shadow(0 4px 4px #0008)!important}
  body[data-page="home"] .casino-profile-tab:not(:disabled) .nav-icon {box-shadow:inset 0 2px 2px #ffedbca8,inset 0 -4px 5px #24053b,0 0 0 5px #1a0826,0 0 0 7px #b78a45,0 3px 9px 5px #0008!important}
  body[data-page="home"] .score-unified-panel,
  body[data-page="home"] :is(.score-flat-section,.reference-account-form,.score-route-section,#score-route-form) {
    display:block!important;min-width:0!important;padding:0!important;margin:0 0 18px!important;
    border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  }
  body[data-page="home"] #score-step-label,
  body[data-page="home"] .score-step-label {display:none!important}
  body[data-page="home"] #score-amount-heading {display:none!important}
  body[data-page="home"] #score-amount-note {display:block!important;margin:8px 0 0!important;font-size:11px!important}
  body[data-page="home"] :is(#create-account-form,#reset-password-form) > label {display:block!important;margin:0 0 18px!important}
  body[data-page="home"] .credential-input-row {display:grid!important;position:relative!important;grid-template-columns:minmax(0,1fr) 27px!important;gap:8px!important;align-items:center!important;margin:6px 0 0!important;min-width:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  body[data-page="home"] .credential-input-row input {grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important;margin:0!important;border-radius:9px!important}
  body[data-page="home"] .royal-popup-card .credential-input-row:has(> .credential-toggle-button) input:not([type="hidden"]) {padding-right:36px!important}
  body[data-page="home"] .credential-input-row:not(:has(> .credential-copy-button)):has(> .credential-toggle-button) {grid-template-columns:minmax(0,1fr)!important}
  body[data-page="home"] .credential-input-row .credential-tool-button {grid-column:2!important;grid-row:1!important;width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;padding:0!important;margin:0!important;border:1px solid #8a579f!important;border-radius:10px!important;font-size:0!important}
  body[data-page="home"] .credential-input-row > .credential-toggle-button {position:absolute!important;right:38px!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:8px!important;color:#d8b8ee!important}
  body[data-page="home"] .credential-input-row:not(:has(> .credential-copy-button)) > .credential-toggle-button {right:3px!important}
  body[data-page="home"] .credential-tool-button::before {content:""!important;display:block!important;width:15px!important;height:15px!important;margin:auto!important;background:currentColor!important;mask:var(--royal-copy) center/contain no-repeat!important;-webkit-mask:var(--royal-copy) center/contain no-repeat!important}
  body[data-page="home"] .credential-toggle-button::before {mask-image:var(--royal-eye)!important;-webkit-mask-image:var(--royal-eye)!important}
  body[data-page="home"] :is(.account-rule-note,.created-credential,.score-selected-game,.score-route-context,.score-payment-verified-banner,.game-logins-overview,.game-login-card,.withdrawal-live-panel,.request-confirm-summary,.request-confirm-summary > div,.request-status-steps,.recharge-allocation-status,.ios-install-steps li) {
    border:1px solid #71438a!important;border-radius:12px!important;background:linear-gradient(130deg,#320d49,#210731)!important;
    box-shadow:inset 0 1px #e2affc12,0 3px 7px #0e001d44!important;color:var(--royal-ink)!important;
    padding:14px!important;margin:0 0 18px!important;min-width:0!important;
  }
  body[data-page="home"] .account-rule-note {display:grid!important;gap:5px!important;margin-top:18px!important}
  body[data-page="home"] .account-rule-note strong {font:700 12.75px/1.3 "Times New Roman",serif!important;color:var(--royal-ink)!important}
  body[data-page="home"] .account-rule-note span {color:var(--royal-muted)!important;font:400 11px/1.45 "Times New Roman",serif!important}
  body[data-page="home"] .create-account-description {margin:14px 0!important;font-size:11px!important}
  body[data-page="home"] .score-selected-game {display:flex!important;flex-direction:column!important;gap:4px!important;position:relative!important}
  body[data-page="home"] .score-selected-game > span {font:400 11px/1.3 "Times New Roman",serif!important;color:#cab1db!important}
  body[data-page="home"] .score-selected-game > strong {font:700 17.25px/1.2 "Times New Roman",serif!important;color:var(--royal-ink)!important}
  body[data-page="home"] .royal-game-banner {display:flex!important;align-items:center!important;gap:12px!important;padding:11px!important;margin:0 0 17px!important;background:linear-gradient(130deg,#360e50,#210731)!important;border:1px solid #75458e!important;border-radius:12px!important;box-shadow:inset 0 1px #ddb0fa12,0 3px 7px #0f001e66!important}
  body[data-page="home"] .royal-game-banner img {display:block!important;flex:none!important;width:76px!important;height:76px!important;object-fit:cover!important;border:1px solid #d7b75f!important;border-radius:12px!important;background:#2c0c40!important}
  body[data-page="home"] .royal-game-banner strong {display:block!important;color:var(--royal-ink)!important;font:700 18.75px/1.2 "Times New Roman",serif!important}
  body[data-page="home"] .royal-game-banner small {display:block!important;margin-top:4px!important}
  body[data-page="home"] .royal-replaced-game,
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_score"] #score-entry-context {display:none!important}
  body[data-page="home"] .score-progress {display:flex!important;justify-content:space-between!important;position:relative!important;gap:0!important;width:100%!important;margin:17px 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  body[data-page="home"] .score-progress::before {content:""!important;position:absolute!important;top:14px!important;left:17%!important;right:17%!important;height:2px!important;background:#765089!important;box-shadow:none!important}
  body[data-page="home"] .score-progress > div {display:flex!important;flex:1!important;flex-direction:column!important;align-items:center!important;gap:6px!important;z-index:1!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  body[data-page="home"] .score-progress > div > span {display:grid!important;place-items:center!important;box-sizing:border-box!important;width:30px!important;height:30px!important;border:1px solid #b58cc9!important;border-radius:50%!important;background:linear-gradient(#51216b,#2c123e)!important;color:#e6c8f5!important;font:400 17.25px/1 "Times New Roman",serif!important;box-shadow:inset 0 1px #eee0ff33,0 3px 5px #0c001955!important}
  body[data-page="home"] .score-progress > :is(.current,.complete) > span {background:linear-gradient(#1f946a,#07523c)!important;border-color:#62d9a7!important;color:#e7fff2!important}
  body[data-page="home"] .score-progress small {font-size:11px!important}
  body[data-page="home"] .score-progress .current small {color:#f7dfa2!important}
  body[data-page="home"] .royal-score-available {display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 22px!important;padding:14px!important;border:1px solid #388c66!important;border-radius:11px!important;background:linear-gradient(105deg,#002c24,#081b1e)!important}
  body[data-page="home"] .royal-score-available::before {content:"";flex:none;width:25px;height:28px;background:#e3c66e;mask:var(--royal-coins) center/contain no-repeat;-webkit-mask:var(--royal-coins) center/contain no-repeat}
  body[data-page="home"] .royal-score-available span {flex:1!important;color:#e3f2e6!important;-webkit-text-fill-color:#e3f2e6!important;font:400 12px/1.3 "Times New Roman",serif!important}
  body[data-page="home"] .royal-score-available strong {font:700 23.25px/1 "Times New Roman",serif!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-entry-context {display:block!important;text-align:center!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:-15px 0 22px!important;font:400 11.25px "Times New Roman",serif!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-entry-context :is(span,strong) {display:inline!important;font:400 11.25px "Times New Roman",serif!important;color:#dfc8eb!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-entry-context span::after {content:" "}
  body[data-page="home"] #score-payment-method-section {padding:15px!important;border:1px solid #71428a!important;border-radius:12px!important;background:linear-gradient(130deg,#310d48,#20062f)!important}
  body[data-page="home"] .score-payment-options {display:block!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
  body[data-page="home"] .score-payment-select-wrap > span {display:none!important}
  body[data-page="home"] .score-payment-selected:empty {display:none!important}
  body[data-page="home"] .score-payment-selected {margin:14px 0 0!important}
  body[data-page="home"] .score-payment-option.selected {display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:stretch!important;gap:12px!important;padding:12px!important;margin:0!important;background:#2b103f!important;border:1px solid #77538e!important;border-radius:11px!important;box-shadow:inset 0 1px #d8b0f11a,0 3px 7px #14002155!important}
  body[data-page="home"] .score-payment-image-button {width:100%!important;min-height:112px!important;max-height:150px!important;aspect-ratio:1!important;padding:7px!important;border:1px solid #c0a45e!important;border-radius:9px!important;background:#210b34!important;box-shadow:0 3px 5px #0b011b66!important;color:#d4bddf!important;font:11px/1.4 "Times New Roman",serif!important}
  body[data-page="home"] .score-payment-image-button img {display:block!important;width:100%!important;height:100%!important;max-height:134px!important;object-fit:contain!important;border:0!important;border-radius:4px!important}
  body[data-page="home"] .score-payment-note-copy {display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:10px!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#e9d9f0!important;font:400 11px/1.45 "Times New Roman",serif!important;text-align:left!important}
  body[data-page="home"] .score-payment-note-copy span {overflow-wrap:anywhere!important}
  body[data-page="home"] .score-payment-note-copy small {display:flex!important;justify-content:center!important;gap:6px!important;align-items:center!important;padding:9px 6px!important;border:1px solid #bd9b59!important;border-radius:10px!important;background:#2d1241!important;color:#fff3d9!important;font-size:11px!important}
  body[data-page="home"] .score-payment-note-copy small::before {content:"";width:16px;height:16px;background:currentColor;mask:var(--royal-copy) center/contain no-repeat;-webkit-mask:var(--royal-copy) center/contain no-repeat}
  body[data-page="home"] #score-sender-wrap > h3 {display:none!important}
  body[data-page="home"] .score-sender-choices {display:flex!important;gap:0!important;margin:0 0 16px!important;border:1px solid #79518e!important;border-radius:10px!important;overflow:hidden!important;background:#2b0e43!important}
  body[data-page="home"] .score-sender-choices label {flex:1!important;position:relative!important;min-height:31.5px!important;margin:0!important;padding:7.5px!important;text-align:center!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;cursor:pointer!important}
  body[data-page="home"] .score-sender-choices label:has(input:checked) {background:linear-gradient(#0c7f55,#074b38)!important;color:#e6ffef!important;box-shadow:inset 0 1px #a4eabe33!important}
  body[data-page="home"] .score-sender-choices label :is(span,b) {display:block!important;padding:0!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font:400 12px/1.3 "Times New Roman",serif!important}
  body[data-page="home"] .score-sender-choices label:has(input:checked) b {font-weight:700!important}
  body[data-page="home"] .score-sender-choices input {position:absolute!important;opacity:0!important;width:1px!important;height:1px!important}
  body[data-page="home"] .score-account-mode {display:flex!important;gap:0!important;border:1px solid #76518d!important;border-radius:9px!important;overflow:hidden!important;margin-bottom:16px!important}
  body[data-page="home"] .score-account-mode button {flex:1!important;min-width:0!important;min-height:44px!important;padding:9px!important;background:linear-gradient(#42185f,#29103e)!important;border:0!important;border-radius:0!important;color:#dcc4ea!important;font:400 11px/1.3 "Times New Roman",serif!important;box-shadow:none!important}
  body[data-page="home"] .score-account-mode button.active {background:linear-gradient(#f7d367,#c3932b)!important;color:#251303!important}
  body[data-page="home"] .score-route-context {display:flex!important;justify-content:space-between!important;align-items:center!important}
  body[data-page="home"] .request-confirm-actions {display:flex!important;align-items:stretch!important;gap:10px!important;margin-top:18px!important}
  body[data-page="home"] .request-confirm-actions .score-submit {margin:0!important;flex:1!important}
  body[data-page="home"] .request-confirm-actions .request-edit-button {flex:0 0 auto!important}
  body[data-page="home"] .withdrawal-rule-grid {display:block!important;margin-top:15px!important}
  body[data-page="home"] .withdrawal-rule-grid > div {display:flex!important;justify-content:space-between!important;gap:12px!important;padding:12px 0!important;border-bottom:1px solid #79508c66!important;background:none!important}
  body[data-page="home"] .withdrawal-available {display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;padding:10px!important;background:none!important;border:0!important;box-shadow:none!important}
  body[data-page="home"] .withdrawal-available strong {color:#8eeab5!important;-webkit-text-fill-color:#8eeab5!important;font:600 15.75px/1.4 "Times New Roman",serif!important}
  body[data-page="home"] .withdrawal-help {font-size:11px!important}
  body[data-page="home"] :is(.score-form-message,.customer-auth-message):empty {display:none!important}
  body[data-page="home"] .score-form-message {margin:13px 0 0!important;font:400 11px/1.45 "Times New Roman",serif!important;overflow-wrap:anywhere!important}
  body[data-page="home"] .score-form-message.success {color:#89efb3!important}
  body[data-page="home"] .score-form-message.error {color:#ffacbd!important}
  body[data-page="home"] :is(.game-logins-subtitle,.modal-eyebrow) {font-size:11px!important}
  body[data-page="home"] .game-logins-list {display:grid!important;gap:12px!important;margin:0 0 18px!important}
  body[data-page="home"] #game-logins-refresh {width:100%!important;background:linear-gradient(#246ec2,#133e7f)!important;border-color:#5793cc!important}
  body[data-page="home"] #game-hub-modal .game-hub-card {background:var(--royal-panel)!important;border-color:#c2a255!important;box-shadow:inset 0 1px #e2affc1a,0 15px 44px #09001088!important}
  body[data-page="home"] #game-hub-modal .game-hub-card::before,
  body[data-page="home"] #game-hub-modal .game-hub-card::after,
  body[data-page="home"] #game-hub-modal .game-hub-header::before {display:none!important}
  body[data-page="home"] #game-hub-modal .game-hub-header::after {background:#76518d88!important;box-shadow:none!important}
  body[data-page="home"] #game-hub-modal .game-hub-image {box-shadow:0 3px 6px #0a001c77!important}
  body[data-page="home"] .ios-install-steps {display:grid!important;gap:14px!important;padding-left:0!important;list-style-position:inside!important}
  body[data-page="home"] #customer-notification-panel {background:var(--royal-panel)!important;border:1px solid #a18149!important;box-shadow:0 14px 40px #09001088!important;color:var(--royal-ink)!important}
  /* Guest access is still a distinct view, with the member dashboard hidden. */
  body[data-page="home"] #customer-auth-modal:has(#customer-auth-guest:not([hidden])) .customer-profile-titlebar {display:block!important;position:sticky!important;inset:10px auto auto!important;width:100%!important;min-width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;z-index:30!important}
  body[data-page="home"] #customer-auth-modal:has(#customer-auth-guest:not([hidden])) #customer-auth-close {inset:0 0 auto auto!important}
  body[data-page="home"] #customer-auth-modal:has(#customer-auth-guest:not([hidden])) .customer-profile-titlebar > :not(#customer-auth-close) {display:none!important}
  body[data-page="home"] #customer-auth-modal .royal-auth-heading {display:none!important}
  body[data-page="home"] #customer-auth-guest {padding-top:8px!important}
  body[data-page="home"] #customer-auth-guest::before {content:"♛";display:block;text-align:center;color:#e1c369;font:31.5px "Times New Roman",serif}
  body[data-page="home"] #customer-auth-guest::after {display:none!important}
  body[data-page="home"] .customer-auth-intro {text-align:center!important;margin:0 0 25px!important}
  body[data-page="home"] #customer-login-options {display:flex!important;flex-direction:column!important;gap:18px!important}
  body[data-page="home"] #customer-login-options button {min-height:52px!important;border-radius:10px!important;font:700 12.75px/1.3 "Times New Roman",serif!important}
  body[data-page="home"] #customer-google-login {background:#f6f3f8!important;color:#24152f!important;border:1px solid #d2c8d9!important;box-shadow:inset 0 1px white,0 3px 5px #0e001c55!important}
  body[data-page="home"] #customer-manual-login {background:linear-gradient(#632581,#35124f)!important;border:1px solid #8f60a7!important;color:#fff6ee!important}
  body[data-page="home"] .guest-app-download {margin-top:10px!important}
  body[data-page="home"] #customer-install-app-guest {width:100%!important;background:#2c1045!important;border:1px solid #76518d!important;color:#f6e9ff!important}
  body[data-page="home"] .customer-manual-mode {display:flex!important;gap:0!important;margin:20px 0!important;border:1px solid #79518e!important;border-radius:9px!important;overflow:hidden!important}
  body[data-page="home"] .customer-manual-mode button {flex:1!important;min-height:44px!important;padding:10px!important;background:#34124d!important;border:0!important;color:#d6c1e4!important;font:12px "Times New Roman",serif!important}
  body[data-page="home"] .customer-manual-mode button.active {background:linear-gradient(#edc764,#c79630)!important;color:#281307!important}
  body[data-page="home"] .customer-manual-field {display:block!important;margin-bottom:18px!important}
  body[data-page="home"] .customer-manual-password-row {display:block!important;position:relative!important;border:0!important;background:none!important}
  body[data-page="home"] #customer-auth-password {width:100%!important;padding-right:36px!important;border-radius:9px!important}
  body[data-page="home"] #customer-manual-password-toggle {position:absolute!important;right:4px!important;bottom:4px!important;width:27px!important;height:27px!important;min-height:27px!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;box-shadow:none!important;background:none!important;color:#e9d8f5!important}
  body[data-page="home"] #customer-manual-password-toggle svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
  body[data-page="home"] #customer-manual-criteria {display:block!important;margin-top:8px!important}
  body[data-page="home"] #customer-manual-auth-back {background:none!important;border:0!important;color:#c7a6dc!important;font:11px "Times New Roman",serif!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-entry-context {text-transform:none!important;min-height:0!important;gap:4px!important;margin:-20px 0 16px!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-entry-context :is(span,strong) {text-transform:none!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] .score-flat-section {margin-bottom:14px!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-payment-method-section {padding:12px!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-amount-note {font-size:11px!important;margin-top:6px!important}
  body[data-page="home"] #add-score-payment-modal[data-entry-mode="add_balance"] #score-payment-continue {margin-top:12px!important}
  body[data-page="home"] .royal-game-banner {text-align:left!important}
  body[data-page="home"] #score-amount {appearance:textfield!important;-moz-appearance:textfield!important}
  body[data-page="home"] #score-amount::-webkit-inner-spin-button,
  body[data-page="home"] #score-amount::-webkit-outer-spin-button {-webkit-appearance:none!important;margin:0!important}
  body[data-page="home"] .score-route-context strong {color:var(--royal-green)!important;-webkit-text-fill-color:var(--royal-green)!important;font:700 15px/1.3 "Times New Roman",serif!important}
  body[data-page="home"] .withdrawal-rule-grid > div {border-radius:0!important;box-shadow:none!important}
  /* Close and Back remain within reach even when a long popup scrolls. */
  body[data-page="home"] .royal-popup-card > .royal-popup-controls {position:sticky!important;top:10px!important;z-index:30!important;display:block!important;order:-100!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;padding:0!important;margin:0!important;overflow:visible!important;pointer-events:none!important;flex:none!important}
  body[data-page="home"] .royal-popup-card > .royal-popup-controls > button {inset:0 0 auto auto!important;pointer-events:auto!important}
  body[data-page="home"] .royal-popup-card > .royal-popup-controls > :is(.modal-back-button,.royal-popup-back) {inset:0 auto auto 0!important}
  body[data-page="home"] #customer-wallet-modal .royal-popup-controls {margin-bottom:calc(-1 * clamp(9px,2.3vw,12px))!important}
  body[data-page="home"] #customer-wallet-modal .royal-popup-controls > :is(#customer-wallet-close,#customer-wallet-back) {inset:0 0 auto auto!important}
  body[data-page="home"] #customer-wallet-modal .royal-popup-controls > #customer-wallet-back {inset:0 auto auto 0!important}
  body[data-page="home"] :is(.credential-copy-button,.game-hub-copy,[data-login-copy],[data-help-login-copy]) {border-radius:10px!important}
  body[data-page="home"] .credential-result-tools .credential-copy-button {min-width:27px!important;min-height:27px!important;width:27px!important;height:27px!important;padding:0!important;font-size:0!important}
  body[data-page="home"] .credential-result-row {position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 27px!important;align-items:center!important;gap:8px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  body[data-page="home"] .credential-result-value {min-width:0!important;padding:10px 12px!important;border:1px solid #86609c!important;border-radius:9px!important;background:linear-gradient(120deg,#230833,#190425)!important}
  body[data-page="home"] .credential-result-row:has(.credential-toggle-button) .credential-result-value {padding-right:36px!important}
  body[data-page="home"] .credential-result-tools {display:contents!important}
  body[data-page="home"] .credential-result-tools .credential-toggle-button {position:absolute!important;right:38px!important;top:50%!important;transform:translateY(-50%)!important;width:27px!important;min-width:27px!important;height:27px!important;min-height:27px!important;padding:0!important;border:0!important;border-radius:8px!important;background:none!important;box-shadow:none!important;font-size:0!important}
  body[data-page="home"] #game-hub-modal .game-hub-copy {width:24px!important;min-width:24px!important;min-height:24px!important;margin:2px!important;border:1px solid #815296!important;border-radius:9px!important}
  body[data-page="home"] #game-hub-modal .game-hub-action {min-height:37.5px!important;padding:6px 7.5px!important;gap:6.75px!important;font-size:9px!important}
  body[data-page="home"] #game-hub-modal .game-hub-action.play {font-size:15px!important}
  body[data-page="home"] #game-hub-modal .game-hub-icon {width:17.25px!important;height:17.25px!important}
  body[data-page="home"] #customer-login-options button {min-height:34.5px!important;font-size:12px!important}
  body[data-page="home"] :is(.score-account-mode,.customer-manual-mode) button {min-height:28.5px!important;padding:5.25px 6.75px!important;font-size:11px!important}
  @media(max-width:440px) {
    body[data-page="home"] {--royal-dock-height:99px}
    body[data-page="home"] {--royal-modal-padding:max(16px,env(safe-area-inset-top)) 10px max(16px,env(safe-area-inset-bottom))}
    body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) {padding:18px 15px!important;border-radius:18px!important}
    body[data-page="home"] .score-payment-option.selected {grid-template-columns:96px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
    body[data-page="home"] .score-payment-image-button {min-height:96px!important;max-height:125px!important}
    body[data-page="home"] .royal-game-banner img {width:70px!important;height:70px!important}
  }
  @media(max-width:350px) {
    body[data-page="home"] #customer-wallet-button {gap:4px!important;padding-inline:5px!important}
    body[data-page="home"] #customer-wallet-button .casino-dashboard-icon {flex:0 0 22px!important;width:22px!important;height:22px!important}
    body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) {padding:17px 12px!important}
    body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) h2 {font-size:17.25px!important;margin-left:30px!important;margin-right:30px!important}
    body[data-page="home"] .score-payment-option.selected {grid-template-columns:82px minmax(0,1fr)!important;gap:8px!important;padding:9px!important}
    body[data-page="home"] .score-payment-image-button {min-height:82px!important}
    body[data-page="home"] :is(.add-score-card,.create-account-request-card,.royal-popup-card) .score-submit {font-size:19px!important}
  }
}

