/* Compact homepage information links and read-only receiving-account details. */
@layer royal-design {
  #app .royal-home-links { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:-6px 14px 17px!important;padding:0!important;border:0!important;background:none!important; }
  #app .royal-home-links button { display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;min-height:37px!important;margin:0!important;padding:8px!important;border:1px solid #a982bf!important;border-radius:10px!important;background:linear-gradient(155deg,#48205e,#250b3b 65%,#1c062c)!important;color:#fff0d5!important;font:700 12px/1.2 "Times New Roman",serif!important;text-transform:none!important;letter-spacing:0!important;--tactile-rest-shadow:inset 0 1px 1px #dfb7ef55,inset 0 -2px 3px #0a001c88,0 3px 0 #10031b,0 4px 7px #05000866!important;cursor:pointer!important; }
  #app .royal-home-links svg { width:17px!important;height:17px!important;flex:none!important;fill:none!important;stroke:#e2c273!important;stroke-width:1.7!important; }
  #app #royal-payment-methods-button { border-color:#72c995!important;background:linear-gradient(155deg,#238456,#155137 65%,#0b3524)!important;color:#f2fff6!important;-webkit-text-fill-color:#f2fff6!important;--tactile-rest-shadow:inset 0 1px 1px #bdffd655,inset 0 -2px 3px #021c1288,0 3px 0 #051d13,0 4px 7px #05000866!important; }
  #app #royal-rules-button { border-color:#ef8a8f!important;background:linear-gradient(155deg,#d7474c,#a61e2f 65%,#71121f)!important;color:#fff3ee!important;-webkit-text-fill-color:#fff3ee!important;--tactile-rest-shadow:inset 0 1px 1px #ffd1c755,inset 0 -2px 3px #34020c88,0 3px 0 #340811,0 4px 7px #05000866!important; }
  #app #royal-payment-methods-button svg { stroke:#c3f7cd!important; }
  #app #royal-rules-button svg { stroke:#ffd4c0!important; }
  #app .royal-home-links button::before,#app .royal-home-links button::after { display:none!important; }
  #app .royal-home-links button:focus:not(:focus-visible) { outline:none!important; }
  #app .royal-home-links button:focus-visible { outline:2px solid #f4d787!important;outline-offset:3px!important; }
  #app .royal-home-links button { box-shadow:var(--tactile-rest-shadow)!important;transition:transform 100ms ease,box-shadow 100ms ease!important; }
  #app .royal-home-links button:active { transform:translateY(2px)!important;box-shadow:inset 0 2px 5px #0d011b88,0 1px 0 #10031b!important; }
  @media(prefers-reduced-motion:reduce) { #app .royal-home-links button { transition:none!important;transform:none!important; } }
}
@layer royal-popups {
  body[data-page="home"] #customer-wallet-modal .customer-wallet-panel > h3.royal-wallet-history-heading {
    display:block!important;gap:0!important;padding:9px 0 0!important;
  }
  body[data-page="home"] #customer-wallet-modal .customer-wallet-panel > h3.royal-wallet-history-heading::after {display:none!important;content:none!important}
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle {
    display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
    box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:33px!important;
    margin:0!important;padding:7px 12px!important;border:1px solid #9661b1!important;border-radius:9px!important;
    background:linear-gradient(#47205f,#2a103e)!important;color:#f3e3ff!important;-webkit-text-fill-color:#f3e3ff!important;
    font:700 12px/1.2 Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;text-shadow:none!important;
    box-shadow:inset 0 1px 1px #d9a5f344,0 2px 0 #100319,0 3px 7px #0004!important;
    cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;
    transition:transform 100ms ease,box-shadow 100ms ease!important;
  }
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle::before {
    content:""!important;display:block!important;flex:none!important;width:15px!important;height:18px!important;
    background:var(--wallet-gold,#f3d875)!important;mask:var(--wallet-receipt) center/contain no-repeat!important;-webkit-mask:var(--wallet-receipt) center/contain no-repeat!important;
  }
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle::after {display:none!important;content:none!important}
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle:active {transform:translateY(2px)!important;box-shadow:inset 0 2px 5px #0d011b88,0 1px 0 #10031b!important}
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle:focus:not(:focus-visible) {outline:none!important}
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle:focus-visible {outline:2px solid #f4d787!important;outline-offset:3px!important}
  body[data-page="home"] #customer-wallet-modal .royal-wallet-history-chevron {
    display:block!important;flex:none!important;box-sizing:border-box!important;width:7px!important;height:7px!important;margin-top:-3px!important;
    border-right:1.5px solid currentColor!important;border-bottom:1.5px solid currentColor!important;transform:rotate(45deg)!important;transition:transform 180ms ease!important;
  }
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle[aria-expanded="true"] .royal-wallet-history-chevron {margin-top:3px!important;transform:rotate(225deg)!important}
  body[data-page="home"] #customer-wallet-modal #customer-wallet-history[data-royal-history-collapsible][hidden] {display:none!important}
  @media(prefers-reduced-motion:reduce) {
    body[data-page="home"] #customer-wallet-modal #customer-wallet-history-toggle {transition:none!important;transform:none!important}
    body[data-page="home"] #customer-wallet-modal .royal-wallet-history-chevron {transition:none!important}
  }
}
@layer royal-popups {
  body.royal-payment-methods-open { overflow:hidden!important; }
  body[data-page="home"] #royal-payment-methods-list { display:grid!important;gap:10px!important;margin-top:6px!important; }
  body[data-page="home"] #royal-payment-methods-modal [hidden] { display:none!important; }
  body[data-page="home"] #royal-payment-methods-list button { display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:58px!important;box-sizing:border-box!important;margin:0!important;padding:10px 12px!important;border:1px solid #79508d!important;border-radius:11px!important;background:linear-gradient(125deg,#340e4c,#210730)!important;color:var(--royal-ink)!important;text-align:left!important;--tactile-rest-shadow:inset 0 1px #dec1f025,inset 0 -2px 3px #0b001888,0 3px 0 #11021b!important;cursor:pointer!important; }
  body[data-page="home"] .royal-receiver-symbol { display:grid!important;place-items:center!important;flex:none!important;width:32px!important;height:32px!important;border:1px solid #9c7b46!important;border-radius:9px!important;background:linear-gradient(#382044,#20102f)!important;color:#e7c777!important;font:700 17px/1 "Times New Roman",serif!important; }
  body[data-page="home"] .royal-receiver-label { flex:1!important;min-width:0!important; }
  body[data-page="home"] .royal-receiver-label strong { display:block!important;overflow-wrap:anywhere!important;font:700 15px/1.3 "Times New Roman",serif!important;color:#fff3df!important; }
  body[data-page="home"] .royal-receiver-label small { display:block!important;margin-top:3px!important;font-size:11px!important;color:#bea1ce!important; }
  body[data-page="home"] .royal-receiver-arrow { flex:none!important;color:#d7bde4!important;font:400 24px/1 "Times New Roman",serif!important; }
  body[data-page="home"] #royal-payment-receiver-name { margin:0 0 14px!important;text-align:center!important;font:700 19px/1.3 "Times New Roman",serif!important;overflow-wrap:anywhere!important; }
  body[data-page="home"] .royal-receiver-qr { width:min(228px,100%)!important;min-height:120px!important;margin:0 auto 18px!important;padding:9px!important;box-sizing:border-box!important;border:1px solid #c3a553!important;border-radius:12px!important;background:#170624!important;box-shadow:inset 0 1px #f1d99e30,0 5px 0 #100119!important; }
  body[data-page="home"] #royal-payment-receiver-qr { display:block!important;width:100%!important;height:auto!important;max-height:260px!important;object-fit:contain!important;border:0!important;border-radius:5px!important;background:#fff!important; }
  body[data-page="home"] .royal-receiver-note { padding:12px 14px!important;border:1px solid #71468a!important;border-radius:11px!important;background:var(--royal-inset)!important; }
  body[data-page="home"] .royal-receiver-note > span { display:block!important;margin-bottom:6px!important;color:#d9bb7b!important;font:700 12px/1.3 "Times New Roman",serif!important; }
  body[data-page="home"] #royal-payment-receiver-note { margin:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:#fff2e5!important;font:400 14px/1.55 "Times New Roman",serif!important; }
  body[data-page="home"] #royal-payment-methods-status { margin:8px 0 14px!important;text-align:center!important; }
  body[data-page="home"] #rules-popup-content { padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important; }
  body[data-page="home"] #rules-popup-content .rules-popup-text { padding:14px!important;border:1px solid #71468a!important;border-radius:11px!important;background:var(--royal-inset)!important;color:#f6e7ff!important;font:400 14px/1.65 "Times New Roman",serif!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important; }
  body[data-page="home"] #rules-popup-content .rules-popup-image { margin:14px 0 0!important; }
  body[data-page="home"] #rules-popup-content img { display:block!important;max-width:100%!important;height:auto!important;margin:auto!important;border-radius:10px!important; }
  body[data-page="home"] #royal-payment-methods-list button { box-shadow:var(--tactile-rest-shadow)!important;transition:transform 100ms ease,box-shadow 100ms ease!important; }
  body[data-page="home"] #royal-payment-methods-list button:active { transform:translateY(2px)!important;box-shadow:inset 0 2px 5px #0d011b88,0 1px 0 #10031b!important; }
  @media(prefers-reduced-motion:reduce) { body[data-page="home"] #royal-payment-methods-list button { transition:none!important;transform:none!important; } }
}
