.ds-exit { position: fixed; inset: 0; z-index: 100010; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 20, 26, 0.62); }
.ds-exit.open { display: flex; animation: ds-exit-fade .2s ease-out; }
.ds-exit-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: ds-exit-rise .25s ease-out; }
.ds-exit-head { padding: 28px 28px 8px; text-align: center; }
.ds-exit-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #fff1f1; display: flex; align-items: center; justify-content: center; }
.ds-exit-icon svg { width: 36px; height: 36px; }
.ds-exit-title { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 700; color: #1a1a1f; }
.ds-exit-text { margin: 0; font-size: 15px; line-height: 1.5; color: #4a4a55; }
.ds-exit-form { padding: 12px 28px 26px; }
.ds-exit-field { display: block; margin: 0 0 12px; }
.ds-exit-label { display: block; margin: 0 0 4px; font-size: 13px; color: #6a6a75; }
.ds-exit-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d5d5db; border-radius: 10px; font-size: 16px; color: #1a1a1f; background: #fff; box-sizing: border-box; }
.ds-exit-input:focus { outline: 3px solid rgba(190, 25, 25, .25); border-color: #be1919; }
.ds-exit-input.err { border-color: #b02a24; background: #fff7f7; }
.ds-exit-consent { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; line-height: 1.4; color: #6a6a75; cursor: pointer; }
.ds-exit-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #be1919; flex-shrink: 0; }
.ds-exit-consent a { color: #be1919; }
.ds-exit-submit { width: 100%; height: 52px; border: 0; border-radius: 10px; background: #be1919; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.ds-exit-submit:hover { background: #a01414; }
.ds-exit-submit:disabled { opacity: .6; cursor: default; }
.ds-exit-skip { display: block; width: 100%; margin: 10px 0 0; padding: 8px; border: 0; background: none; font-size: 14px; color: #7a7a85; text-decoration: underline; cursor: pointer; }
.ds-exit-error { margin: 0 0 10px; font-size: 14px; color: #b02a24; }
.ds-exit-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; color: #7a7a85; cursor: pointer; }
.ds-exit-close:hover { background: #f1f1f4; color: #1a1a1f; }
.ds-exit-done { padding: 36px 28px 32px; text-align: center; }
.ds-exit-done .ds-exit-title { font-size: 22px; }
.ds-exit-done .ds-exit-submit { margin-top: 18px; }
@keyframes ds-exit-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ds-exit-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 480px) {
    .ds-exit { align-items: flex-end; padding: 0; }
    .ds-exit-box { max-width: none; border-radius: 16px 16px 0 0; max-height: 92vh; }
    .ds-exit-head { padding: 24px 20px 6px; }
    .ds-exit-form { padding: 10px 20px 22px; }
    .ds-exit-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .ds-exit.open, .ds-exit-box { animation: none; } }
