.dice-card-frame{display:block;width:100%;height:410px;border:0;color-scheme:light}
.dice-payment-action{position:fixed;box-sizing:border-box;margin:0;padding:16px;border:1px solid var(--dice-border,#dededb);border-radius:var(--dice-radius,6px);max-width:none;max-height:none;overflow:hidden;background:#fff;color:#111;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dice-payment-action[open]{display:flex;flex-direction:column;gap:12px}
.dice-payment-action::backdrop{background:rgb(0 0 0 / .65)}
.dice-payment-action[data-mobile=true]{border:0;border-radius:0;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
.dice-payment-action-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}
.dice-payment-action-heading h2{margin:0;font:700 18px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dice-payment-action-close{min-height:44px;min-width:64px;padding:8px 12px;border:1px solid #111;border-radius:4px;background:#fff;color:#111;font:600 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.dice-payment-action-close:hover{background:#ffcf00}
.dice-payment-action-close:focus-visible{outline:3px solid #111;outline-offset:3px}
.dice-payment-action>iframe{display:block;flex:1;min-height:0;width:100%;border:0;background:#fff}
/* Only the dedicated SDK document sets this body class. */
body.dice-card-document{margin:0;padding:0;color:#111;background:#fff;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}
.dice-card-document label{display:block;margin:0 0 12px}
.dice-card-document input,.dice-card-document .cf-card{display:block;box-sizing:border-box;width:100%;height:46px;margin:4px 0 0;padding:10px 12px;border:1px solid #d8d8d5;border-radius:4px;background:#fff;color:#111;font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dice-card-document .card-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dice-card-document [data-card-pay]{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #111;border-radius:4px;background:#111;color:#fff;font:700 16px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.dice-card-document [data-card-pay]:hover:not(:disabled){background:#ffcf00;color:#111;border-color:#ffcf00}
.dice-card-document [data-card-pay]:disabled{opacity:.5;cursor:default}
.dice-card-document [data-card-message]:empty{display:none}
.dice-card-document .cf-message{display:block;margin-top:4px;color:#a12424;font-size:13px;overflow-wrap:anywhere}

/* Match the merchant checkout's flat field layout. */
body.dice-card-document { font-family: Roboto, Arial, sans-serif; font-size: 14px; }
.dice-card-document label { margin-bottom: 18px; color: #62645f; }
.dice-card-document input,.dice-card-document .cf-card { height: 48px; margin-top: 6px; border-radius: 4px; font-family: Roboto, Arial, sans-serif; }
.dice-card-document [data-card-pay] { margin-top: 8px; border-radius: 4px; font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif; font-weight: 800; text-transform: uppercase; }
.dice-card-document [data-card-pay]:focus-visible { outline: 2px solid #b38b00; outline-offset: 2px; }

@font-face{font-family:Roboto;src:url(../../../../themes/dice-competitions/assets/fonts/roboto-400.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Roboto Condensed";src:url(../../../../themes/dice-competitions/assets/fonts/roboto-condensed-bold.ttf) format("truetype");font-weight:700 900;font-display:swap}
