html.qlq-fse-open { overflow: hidden; }
.qlq-fse-overlay[hidden] { display: none !important; }
.qlq-fse-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.48);
    opacity: 0;
    transition: opacity .18s ease;
    backdrop-filter: blur(2px);
}
.qlq-fse-overlay.is-visible { opacity: 1; }
.qlq-fse-modal {
    position: relative;
    width: min(100%, 470px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    transform: translateY(12px) scale(.985);
    transition: transform .18s ease;
    color: #171717;
    text-align: center;
}
.qlq-fse-overlay.is-visible .qlq-fse-modal { transform: translateY(0) scale(1); }
.qlq-fse-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #222;
    font-size: 27px;
    line-height: 34px;
    cursor: pointer;
}
.qlq-fse-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffe600;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .4px;
    margin-bottom: 11px;
}
.qlq-fse-modal h2 { margin: 0 30px 10px; font-size: 29px; line-height: 1.08; font-weight: 900; }
.qlq-fse-copy { margin: 0 auto 20px; max-width: 390px; font-size: 16px; line-height: 1.45; color: #444; }
#qlq-fse-form { text-align: left; }
#qlq-fse-email {
    width: 100%;
    min-height: 52px;
    border: 2px solid #dadada;
    border-radius: 11px;
    padding: 0 15px;
    font-size: 17px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
    outline: none;
}
#qlq-fse-email:focus { border-color: #3483fa; box-shadow: 0 0 0 3px rgba(52,131,250,.12); }
.qlq-fse-consent { display: flex; align-items: flex-start; gap: 9px; margin: 13px 2px; font-size: 12px; line-height: 1.35; color: #555; cursor: pointer; }
.qlq-fse-consent input { margin-top: 2px; flex: 0 0 auto; }
.qlq-fse-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    padding: 12px 15px;
    background: #3483fa;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(52,131,250,.22);
}
.qlq-fse-submit:hover { filter: brightness(.96); }
.qlq-fse-submit:disabled { opacity: .65; cursor: wait; }
.qlq-fse-message { min-height: 20px; margin-top: 8px; text-align: center; font-size: 13px; }
.qlq-fse-message.is-error { color: #b42318; }
.qlq-fse-success h3 { margin: 4px 0 9px; font-size: 23px; }
.qlq-fse-success p { margin: 0 0 13px; color: #444; line-height: 1.45; }
.qlq-fse-coupon-row { display: flex; gap: 8px; margin: 13px 0 17px; }
.qlq-fse-coupon-row code {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 2px dashed #aaa;
    border-radius: 10px;
    background: #fafafa;
    color: #111;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .8px;
}
#qlq-fse-copy { border: 0; border-radius: 9px; padding: 0 13px; background: #111; color: #fff; font-weight: 800; cursor: pointer; }
.qlq-fse-progress-wrap { text-align: left; margin-top: 10px; }
.qlq-fse-progress { height: 10px; overflow: hidden; border-radius: 99px; background: #ededed; }
.qlq-fse-progress span { display: block; width: 0; height: 100%; background: #3483fa; border-radius: 99px; transition: width .35s ease; }
.qlq-fse-progress-wrap small { display: block; margin-top: 7px; color: #555; font-size: 12px; text-align: center; }
.qlq-fse-foot { margin: 17px 0 0 !important; font-size: 11px !important; color: #888 !important; }
.screen-reader-text { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
@media (max-width: 520px) {
    .qlq-fse-overlay { align-items: flex-end; padding: 10px; }
    .qlq-fse-modal { width: 100%; border-radius: 18px; padding: 25px 18px 20px; }
    .qlq-fse-modal h2 { font-size: 25px; }
    .qlq-fse-copy { font-size: 15px; }
}
