/* Shared modal theme for redesigned pages only. */
body dialog.wxr-modal.wxr-modal {
    box-sizing:border-box; width:min(360px,calc(100% - 32px)); max-width:calc(100% - 32px); max-height:calc(100svh - 40px); margin:auto; padding:28px!important; overflow:auto;
    border:1px solid #d9b56a!important; border-radius:28px!important;
    background:linear-gradient(180deg,#1a1a1af5,#0b0b0b 78%,#221a0d)!important;
    color:#fff!important; text-align:center; font-family:Montserrat,"Segoe UI",Arial,sans-serif;
    box-shadow:0 20px 40px #0009,0 0 24px #d9b56a40,inset 0 1px 0 #ffe8c866!important;
}
body .wxr-modal * { box-sizing:border-box; }
body .wxr-modal [hidden] { display:none!important; }
body .wxr-modal::backdrop { background:#0009; backdrop-filter:blur(2px); }
body .wxr-modal .wxr-modal-icon { display:block; width:120px; height:120px; margin:0 auto 18px; object-fit:contain; filter:drop-shadow(0 0 10px #d9b56a44); }
body .wxr-modal .wxr-modal-title,body .wxr-modal .chip-dialog-title,body .wxr-modal header h2 { margin:0 0 12px; padding:0; color:#fff; font-size:24px; font-weight:700; line-height:1.25; overflow-wrap:anywhere; }
body .wxr-modal .wxr-modal-message,body .wxr-modal .chip-dialog-message { margin:0 0 24px; color:#eee; font-size:18px; line-height:1.5; white-space:pre-line; overflow-wrap:anywhere; }
body .wxr-modal .wxr-modal-close,body .wxr-modal .chip-dialog-close,body .wxr-modal .chip-notice-close,body .wxr-modal header button { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:36px; height:36px; min-height:0; padding:0; border:0; border-radius:50%; background:transparent; color:#ffe8a0; font-size:28px; line-height:1; box-shadow:none; cursor:pointer; }
body .wxr-modal .wxr-modal-actions,body .wxr-modal .chip-dialog-actions { display:flex; gap:12px; margin:20px 0 0; padding:20px 0 0; border:0; border-top:1px solid #d9b56a55; background:transparent; }
body .wxr-modal .wxr-modal-primary,body .wxr-modal .chip-dialog-actions>*,body .wxr-modal .wxr-contract-close,body .wxr-modal .chip-notice-later { display:flex; flex:1 1 0; align-items:center; justify-content:center; min-width:0; min-height:52px; padding:12px 14px; border:1px solid #ffe8c8!important; border-radius:14px; background:linear-gradient(180deg,#f9e6b8,#d9b56a)!important; color:#101010!important; font:700 18px/1.25 Montserrat,"Segoe UI",Arial,sans-serif; text-decoration:none; box-shadow:0 8px 20px #d9b56a40,inset 0 1px 4px #fff3d8; cursor:pointer; overflow-wrap:anywhere; }
body .wxr-modal.wxr-has-action .chip-dialog-actions>[data-close-result] { background:#141414!important; color:#fff!important; border-color:#d9b56a99!important; box-shadow:0 4px 12px #0006; }
body .wxr-modal .chip-dialog-actions { flex-wrap:nowrap; width:100%; }
body .wxr-modal .chip-dialog-art { position:static; height:0; min-height:0; padding:0; background:none; }
body .wxr-modal .chip-dialog-body { position:static; padding:0; }
body .wxr-modal .chip-dialog-mark { display:none; }
body .wxr-modal header { display:block; padding:0; border:0; margin:0 0 16px; text-align:center; }
body .wxr-modal .chip-notice-hero { position:static; min-height:0; padding:0; background:none; }
body .wxr-modal .chip-notice-brand { justify-content:center; padding:0; font-size:16px; margin-bottom:16px; }
body .wxr-modal .chip-notice-body { padding:0; text-align:left; }
body .wxr-modal .chip-notice-body h2 { color:#fff; font-size:24px; text-align:center; }
body .wxr-modal .chip-notice-copy { color:#ccc; }
body .wxr-modal .chip-notice-values { background:#ffffff08; }
body .wxr-modal .chip-notice-later { width:100%; margin-top:20px; }
body .wxr-modal .chip-detail-summary { text-align:left; }
body .wxr-modal>p,body .wxr-modal>div { overflow-wrap:anywhere; }
body .wxr-modal button:focus-visible,body .wxr-modal a:focus-visible { outline:2px solid #ffe8c8; outline-offset:3px; }
body .wxr-modal button:disabled { background:#3a3a3a!important; color:#bcbcbc!important; box-shadow:none; cursor:default; }
@media(max-width:359px) { body dialog.wxr-modal.wxr-modal { padding:24px 20px!important; } body .wxr-modal .chip-dialog-actions>* { font-size:16px; } }
