/* Free round entry uses the existing account and deposit dialog identity. */
.stack-game-theme.mario-study .modal-shell[data-modal="demo"] {
 padding:max(78px,calc(env(safe-area-inset-top) + 72px)) 16px max(24px,env(safe-area-inset-bottom));
 align-items:safe center;
}
.mario-study .modal-shell[data-modal="demo"] .free-round-dialog {
 width:min(420px,100%); max-width:100%; max-height:none;
 margin:auto; padding:28px 26px 24px; overflow:visible;
 border:0; border-radius:32px; background:var(--sb-surface);
 color:var(--sb-ink); font-family:var(--sb-font); text-align:center;
 box-shadow:var(--sb-shadow);
}
.mario-study .modal-shell[data-modal="demo"] .free-round-dialog:focus { outline:none; }
.mario-study .free-round-dialog .free-round-tag {
 display:block; margin:0 0 12px; padding:0; color:var(--sb-muted);
 font-size:10px; font-weight:800; line-height:1.4; letter-spacing:2px; text-transform:uppercase;
}
.mario-study .free-round-dialog .free-round-title {
 margin:0; color:var(--sb-ink); font:850 32px/1.15 var(--sb-font);
 letter-spacing:-.8px; text-wrap:balance;
}
.mario-study .free-round-title span { display:block; }
.mario-study .free-round-dialog .free-round-description {
 margin:16px auto 0; color:#425168; font-size:15px; font-weight:600; line-height:1.6;
}
.mario-study .free-round-dialog .free-round-instructions {
 margin:12px auto 0; color:#425168; font-size:13px; font-weight:500; line-height:1.6;
}
.mario-study .free-round-dialog :is(.free-round-description,.free-round-note) strong { color:var(--sb-green-edge); font-weight:750; }
.mario-study .free-round-instructions strong { color:var(--sb-ink); font-weight:750; }
.mario-study .free-round-instructions strong:first-child { color:var(--sb-green-edge); }
.mario-study .free-round-dialog .demo-modal-cta {
 display:flex; align-items:center; justify-content:center; gap:14px;
 width:100%; min-height:52px; margin:24px 0 0; padding:16px 20px;
 border:0; border-radius:999px; background:var(--sb-green); color:#fff;
 font:900 16px/1.2 var(--sb-font); letter-spacing:1.5px;
 text-transform:uppercase; text-decoration:none;
 box-shadow:0 5px 0 var(--sb-green-edge),0 12px 22px #0003;
 transition:transform .12s,box-shadow .12s; animation:none;
}
.mario-study .free-round-dialog .demo-modal-cta svg {
 width:20px; height:20px; flex:none; fill:none; stroke:currentColor;
 stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
}
.mario-study .free-round-dialog .demo-modal-cta:active {
 transform:translateY(3px);
 box-shadow:0 2px 0 var(--sb-green-edge),0 6px 12px #0003;
}
.mario-study .free-round-dialog .free-round-note { margin:20px 0 0; color:#425168; font-size:12px; font-weight:600; line-height:1.5; }
@media (max-width:420px) {
 .mario-study .modal-shell[data-modal="demo"] .free-round-dialog { padding:28px 24px 22px; }
 .mario-study .free-round-dialog .free-round-title { font-size:30px; }
}
@media (max-width:360px), (max-height:680px) {
 .mario-study .modal-shell[data-modal="demo"] .free-round-dialog { padding:28px 20px 20px; }
 .mario-study .free-round-dialog .free-round-title { font-size:28px; }
 .mario-study .free-round-dialog .free-round-description { margin-top:14px; font-size:14px; }
 .mario-study .free-round-dialog .free-round-instructions { font-size:12px; }
 .mario-study .free-round-dialog .demo-modal-cta { min-height:52px; margin-top:22px; font-size:16px; }
 .mario-study .free-round-dialog .free-round-note { margin-top:16px; }
}
@media (prefers-reduced-motion:reduce) {
 .mario-study .modal-shell[data-modal="demo"] .free-round-dialog { animation:none; }
 .mario-study .free-round-dialog .demo-modal-cta { transition:none; }
}
