/* DS ELECTRIC 전용 팝업: 기존 .ds-dialog 및 사이트 버튼 스타일과 분리 */
dialog.ds-popup-dialog.ds-dialog{
    box-sizing:border-box;position:fixed;margin:auto;
    width:min(510px,calc(100vw - 28px));max-width:none;
    max-height:calc(100dvh - 30px);padding:0;overflow:auto;
    border:2px solid #2286ca;border-radius:18px;
    background:#fff;color:#193951;
    box-shadow:0 27px 90px rgba(5,29,51,.25);
    font-family:inherit;word-break:keep-all;
}
dialog.ds-popup-dialog::backdrop{background:rgba(6,23,46,.62);backdrop-filter:blur(3px)}
.ds-popup-dialog .ds-popup-shell{
    box-sizing:border-box;display:flex;flex-direction:column;
    min-height:455px;padding:36px 36px 30px;
}
.ds-popup-dialog .ds-popup-header{display:flex;align-items:flex-start;gap:15px}
.ds-popup-dialog .ds-popup-symbol{
    box-sizing:border-box;flex:0 0 56px;width:56px;height:56px;display:flex;
    align-items:center;justify-content:center;border:1px solid #d6e9f8;
    border-radius:15px;background:#eef7ff;color:#087abd;
}
.ds-popup-dialog .ds-popup-symbol svg{width:24px;height:24px}
.ds-popup-kind-warning .ds-popup-symbol{background:#fff2ed;border-color:#f7d3c3;color:#c34e2e}
.ds-popup-dialog .ds-popup-heading{min-width:0;flex:1;align-self:center}
.ds-popup-dialog .ds-popup-eyebrow{
    margin:0 0 6px!important;font-size:11px;font-weight:800;
    line-height:1.3;color:#087abc;letter-spacing:.12em;
}
.ds-popup-kind-warning .ds-popup-eyebrow{color:#c34e2e}
dialog.ds-popup-dialog h2{margin:0!important;padding:0!important;font-size:27px;line-height:1.32;letter-spacing:-.045em;font-weight:780;color:#153a55}
.ds-popup-dialog h2:focus{outline:none!important;box-shadow:none!important}
.ds-popup-dialog button.ds-popup-x{
    box-sizing:border-box;flex:0 0 34px;display:flex;align-items:center;justify-content:center;
    width:34px;height:34px;margin:0;padding:0;border:0!important;border-radius:50%;
    background:transparent!important;box-shadow:none!important;color:#7f96a5;cursor:pointer;
}
.ds-popup-dialog button.ds-popup-x:hover,.ds-popup-dialog button.ds-popup-x:focus-visible{color:#21465c;background:#eff4f8!important;outline:0!important}
.ds-popup-dialog .ds-popup-x svg{width:19px;height:19px}
.ds-popup-dialog .ds-popup-description{
    margin:27px 0 0!important;font-size:16px;font-weight:450;line-height:1.9;
    letter-spacing:-.025em;color:#536f84;overflow-wrap:anywhere;
}
.ds-popup-dialog .ds-popup-note{
    display:flex;align-items:flex-start;gap:11px;margin-top:23px;
    padding:15px 17px;border:1px solid #deebf4;border-radius:12px;
    background:#f4f9fc;color:#557389;font-size:13px;line-height:1.85;
}
.ds-popup-kind-warning .ds-popup-note{background:#fff7f3;border-color:#f2dacd;color:#8e533e}
.ds-popup-dialog .ds-popup-note svg{flex:0 0 18px;width:18px;height:18px;margin-top:3px;color:#1879b2}
.ds-popup-kind-warning .ds-popup-note svg{color:#c34e2e}
.ds-popup-dialog .ds-popup-media{margin:24px 0 0;display:block}
.ds-popup-dialog .ds-popup-media img{display:block;max-width:100%;max-height:260px;object-fit:contain;width:auto;height:auto;margin:0 auto;border-radius:10px}
.ds-popup-dialog .ds-popup-link{display:inline-block;align-self:flex-start;margin-top:16px;padding:8px 2px;color:#087bbd;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.ds-popup-dialog .ds-popup-actions{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    margin-top:auto;padding-top:34px;
}
dialog.ds-popup-dialog .ds-popup-actions button{
    box-sizing:border-box;min-width:0;max-width:65%;width:auto;min-height:38px;
    margin:0;padding:4px 1px;border:0!important;border-radius:0;
    background:transparent!important;box-shadow:none!important;
    font-family:inherit;font-size:14px;line-height:1.55;
    font-weight:700;white-space:normal;text-align:left;cursor:pointer;
    transition:color .18s ease;text-shadow:none!important;
}
dialog.ds-popup-dialog .ds-popup-actions .ds-popup-close-text{color:#526e82}
dialog.ds-popup-dialog .ds-popup-actions .ds-popup-close-text:hover{color:#143b59}
dialog.ds-popup-dialog .ds-popup-actions .ds-popup-snooze{color:#cf5735;text-align:right;margin-left:auto}
dialog.ds-popup-dialog .ds-popup-actions .ds-popup-snooze:hover{color:#a93e23}
dialog.ds-popup-dialog .ds-popup-actions button:focus-visible,
.ds-popup-dialog .ds-popup-link:focus-visible{outline:2px solid #227cba!important;outline-offset:3px;border-radius:2px}
.ds-popup-dialog [hidden]{display:none!important}
@media(max-width:480px){
    .ds-popup-dialog .ds-popup-shell{min-height:min(455px,calc(100dvh - 38px));padding:29px 22px 25px}
    .ds-popup-dialog .ds-popup-header{gap:12px}
    .ds-popup-dialog .ds-popup-symbol{flex-basis:46px;width:46px;height:46px;border-radius:13px}
    dialog.ds-popup-dialog h2{font-size:24px}
    .ds-popup-dialog .ds-popup-eyebrow{font-size:10px}
    .ds-popup-dialog .ds-popup-description{font-size:15px;line-height:1.85;margin-top:27px!important}
    .ds-popup-dialog .ds-popup-note{font-size:12px;padding:13px 14px}
    .ds-popup-dialog .ds-popup-actions{padding-top:28px}
    dialog.ds-popup-dialog .ds-popup-actions button{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.ds-popup-dialog .ds-popup-actions button{transition:none}}
