.contest-invite-open { overflow: hidden; }
.contest-invite-overlay[hidden] { display: none; }
.contest-invite-overlay { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center; padding: 20px; background: rgba(10, 22, 17, .62); }
.contest-invite-dialog { position: relative; width: min(100%, 480px); padding: 30px; border: 1px solid #d7e4cb; border-radius: 20px; background: #fff; color: #1b3023; box-shadow: 0 24px 80px rgba(0,0,0,.23); }
.contest-invite-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 1px solid #d7e4cb; border-radius: 50%; background: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.contest-invite-kicker { color: #5f842e; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.contest-invite-dialog h2 { margin: 8px 35px 8px 0; font-size: clamp(22px, 5vw, 30px); line-height: 1.1; }
.contest-invite-subtitle { margin: 0 0 25px; color: #5c6e5b; line-height: 1.5; }
.contest-invite-form label { display: block; margin-bottom: 7px; font-weight: 700; }
.contest-invite-form select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bdd0b6; border-radius: 9px; background: #f8faf5; color: #1b3023; font: inherit; }
.contest-invite-error { margin: 12px 0 0; color: #b72b21; }
.contest-invite-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }
.contest-invite-actions button { min-height: 43px; padding: 10px 17px; border: 1px solid #bdd0b6; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 700; }
.contest-invite-cancel { background: #fff; color: #1b3023; }
.contest-invite-submit { background: #caff63; color: #13221b; }
.contest-invite-submit:disabled { opacity: .55; cursor: wait; }
.profile-actions--with-invite { flex-wrap: wrap; }
.profile-actions--with-invite [data-contest-invite] { width: 100%; }
.profile-actions--with-invite .profile-direct-brief { flex: 1 1 auto; }
.compare-invite-footer { display: flex; justify-content: flex-end; padding: 16px 0 4px; }
.compare-invite-footer .btn { min-height: 46px; }
.profile-brief-row .brief-direct-secondary { background: #fff; color: #1b3023; border: 1px solid #c9d6c0; }
.profile-brief-row:has([data-contest-invite]) { flex-wrap: wrap; }
.profile-brief-row [data-contest-invite] { flex: 0 0 100%; }
.direct-chat-contest-link { display: inline-block; margin-top: 8px; color: #365c28; font-size: 12px; font-weight: 800; }
@media (max-width: 560px) { .contest-invite-dialog { padding: 24px 18px; } .contest-invite-actions { flex-direction: column-reverse; } .contest-invite-actions button { width: 100%; } }
