.contestant-vote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}.contestant-vote-grid .public-contestant-card{min-width:0}.public-contestant-card{overflow:hidden;border:1px solid #e9e5f7;border-radius:22px;background:var(--card-bg,#fff);box-shadow:0 12px 38px #3524770b}.submission-media{position:relative;aspect-ratio:4/4.2;overflow:hidden;background:#f2effa}.submission-media>img{width:100%;height:100%;object-fit:cover}.rank-pill{position:absolute;top:15px;left:15px;padding:8px 12px;border-radius:50px;background:#fff;color:#4936a2;font-weight:800}.play-submission{position:absolute;bottom:16px;left:16px;border:0;border-radius:12px;background:#fff;padding:10px 15px;color:#32215e;font-weight:700;cursor:pointer}.contestant-card-body{padding:22px;display:grid;gap:16px}.contestant-card-body h3{margin:4px 0}.contestant-stats{display:flex;justify-content:space-between;padding:14px 0;border-block:1px solid #eee9f7}.contestant-stats span{display:grid;gap:3px}.contestant-stats small{color:#777}.contestant-actions{display:flex;gap:9px;flex-wrap:wrap}.contestant-actions .btn{flex:1;min-width:120px}.contest-page-links{margin-top:20px;display:flex;align-items:start;gap:20px;flex-wrap:wrap}.contest-page-links details{flex:1;min-width:250px;border:1px solid #ddd8f2;padding:14px 20px;border-radius:14px}.contest-page-links summary{cursor:pointer;font-weight:700}.contest-rich-copy{padding-top:15px}.modal-backdrop[hidden],.public-contestant-card[hidden]{display:none!important}.modal-backdrop{position:fixed;inset:0;z-index:1200;background:#17102ac4;display:grid;place-items:center;padding:20px;overflow:auto}.submission-modal,.vote-modal,.payment-modal{position:relative;width:min(100%,620px);max-height:calc(100vh - 40px);overflow:auto;background:var(--card-bg,#fff);color:var(--text,#1b1830);border-radius:25px;padding:30px;box-shadow:0 25px 90px #10082850}.submission-modal{width:min(100%,860px)}.modal-close{position:absolute;right:14px;top:14px;z-index:2;border:0;background:#f0edfa;color:#231844;border-radius:50%;height:36px;width:36px;cursor:pointer;font-size:24px}.submission-stage{aspect-ratio:16/9;background:#181224;border-radius:15px;overflow:hidden;margin-bottom:20px}.submission-stage iframe,.submission-stage img{width:100%;height:100%;object-fit:contain;border:0}.vote-person{display:flex;align-items:center;gap:15px;margin-bottom:18px}.vote-person img{height:76px;width:76px;object-fit:cover;border-radius:16px}.vote-option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.vote-option{border:1px solid #dcd5f8;border-radius:12px;padding:14px;cursor:pointer;background:transparent;color:inherit;font-weight:700}.vote-option.selected{background:#7049fb;color:#fff}.custom-votes{margin:14px 0}.custom-votes label{display:block;font-weight:600;margin-bottom:7px}.vote-total{display:flex;justify-content:space-between;align-items:center;margin:20px 0;padding:16px;background:#f1edff;color:#34215e;border-radius:14px}.payment-status{display:flex;gap:14px;align-items:center}.generated-account{background:#f2eeff;border:1px solid #ded5ff;border-radius:18px;padding:22px;margin:20px 0;display:grid;gap:8px;color:#34215e}.generated-account strong{font-size:clamp(22px,4vw,35px);letter-spacing:2px}.generated-account button{justify-self:start}.payment-expiry,.payment-note{padding:14px 0}.contesa-modal-open{overflow:hidden}.contesa-toast-host{position:fixed;top:24px;right:24px;z-index:1500;display:grid;gap:10px;width:min(420px,calc(100vw - 35px))}.contesa-toast{display:flex;justify-content:space-between;gap:16px;padding:20px;border-radius:15px;background:#fff;border-left:5px solid #e43c4b;color:#211b37;box-shadow:0 18px 60px #22183e30}.contesa-toast button{border:0;background:none;cursor:pointer;font-size:22px}.contesa-spinner{display:inline-block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:contesa-spin .65s linear infinite;margin-right:8px;vertical-align:middle}@keyframes contesa-spin{to{transform:rotate(360deg)}}@media(max-width:640px){.submission-modal,.vote-modal,.payment-modal{padding:22px}.contestant-vote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.contestant-card-body{padding:12px}.contestant-actions{display:grid}.contestant-actions .btn{min-width:0}.submission-media{aspect-ratio:3/4}.contestant-card-body h3{font-size:16px}}

.vote-steps-indicator{display:flex;gap:8px;margin:10px 0 20px}.vote-steps-indicator span{flex:1;text-align:center;padding:10px 6px;border-radius:10px;background:var(--surface,#efedf5);font-size:12px;font-weight:700}.vote-steps-indicator span.active{background:#7049fb;color:#fff}[data-vote-step][hidden]{display:none!important}.vote-step-actions{display:flex;gap:10px}.vote-step-actions .btn{flex:1}.vote-modal{max-width:550px}.vote-option-grid{margin:14px 0}.vote-total{margin:15px 0}

/* Compact voting steps: designed to fit typical desktop/mobile viewports. */
.vote-modal{width:min(100%,480px);padding:18px 22px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.vote-modal .vote-person{gap:10px;margin-bottom:8px;padding-right:28px}
.vote-modal .vote-person img{width:48px;height:48px;border-radius:10px}
.vote-modal .vote-person h2{font-size:clamp(16px,3vw,21px);margin:0}
.vote-modal .vote-steps-indicator{margin:6px 0 10px;gap:6px}
.vote-modal .vote-steps-indicator span{padding:6px 4px;font-size:11px}
.vote-modal [data-vote-step] > p{font-size:12px;line-height:1.35;margin:5px 0}
.vote-modal .vote-option-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:9px 0}
.vote-modal .vote-option{padding:8px 2px;border-radius:8px;font-size:13px;min-width:0}
.vote-modal .custom-votes{margin:8px 0}
.vote-modal .custom-votes label{font-size:12px;margin-bottom:4px}
.vote-modal .custom-votes .input{min-height:36px;padding:7px 10px;font-size:13px;width:100%}
.vote-modal .vote-total{padding:9px 12px;margin:10px 0;border-radius:10px;font-size:13px}
.vote-modal .vote-total strong{font-size:17px}
.vote-modal .btn{padding:9px 12px;min-height:38px;font-size:13px}
@media(max-width:480px){.modal-backdrop:has(.vote-modal){padding:8px}.vote-modal{padding:14px;width:100%;max-height:calc(100dvh - 16px)}.vote-modal .vote-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vote-modal .vote-option{padding:7px 2px}.vote-modal .vote-person img{width:42px;height:42px}}

/* Three contestant cards per row on desktop; retain responsive two/one column layout. */
@media(min-width:1024px){.contestant-vote-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:641px) and (max-width:1023px){.contestant-vote-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:420px){.contestant-vote-grid{grid-template-columns:minmax(0,1fr)!important}}
/* Keep voting steps compact. */
.vote-modal{width:min(100%,480px);padding:16px 20px}.vote-modal .vote-option-grid{gap:5px;margin:8px 0}.vote-modal .vote-option{padding:7px 2px}.vote-modal .vote-total{margin:8px 0;padding:8px 12px}.vote-modal .custom-votes{margin:7px 0}
.contesa-payment-route{margin:8px 0 12px}.contesa-payment-route label{display:block;font-size:12px;font-weight:700;margin-bottom:5px}.contesa-payment-route select{width:100%;min-height:36px;padding:7px 10px;font-size:13px}
