.hwp-popup {
    position: fixed;
    right: 40px;
    bottom: 64px;
    z-index: 9000;
    box-sizing: border-box;
    width: 700px;
    max-width: calc(100% - 80px);
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    padding: 22px 28px;
    border: 1px solid rgba(44, 206, 147, .25);
    border-radius: 22px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: Poppins, sans-serif;
    line-height: 1.5;
    color: #FDFDFD;
    background: linear-gradient(135deg, #151928 0%, #203E45 75%, #2B6262 140%);
    box-shadow: 0 32px 64px rgba(0, 0, 0, .45);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .35s ease, transform .35s ease;
}

.hwp-popup[hidden] {
    display: none;
}

.hwp-popup.hwp-open {
    opacity: 1;
    transform: none;
}

.hwp-popup *,
.hwp-popup *::before,
.hwp-popup *::after {
    box-sizing: border-box;
}

.hwp-rings {
    position: absolute;
    right: -30px;
    top: -60px;
    opacity: .4;
    pointer-events: none;
}

.hwp-copy {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-wrap: anywhere;
}

.hwp-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 48px;
    background: rgba(44, 206, 147, .14);
    color: #2CCE93;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
}

.hwp-badge i {
    width: 4px;
    height: 4px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #2CCE93;
}

.hwp-popup .hwp-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: normal;
    color: #FDFDFD;
    background: linear-gradient(180deg, #FDFDFD 24%, #2CCE93 113%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hwp-popup .hwp-sub {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #CFD9E5;
    white-space: pre-line;
}

.hwp-date {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.hwp-date b {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.hwp-date span {
    font-size: 11px;
    color: #B5C3D6;
    white-space: nowrap;
}

.hwp-popup .hwp-cta {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 48px;
    background: #237E67;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background .2s ease;
}

.hwp-popup .hwp-cta:hover {
    background: #2a9279;
    color: #fff;
}

.hwp-popup .hwp-close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(21, 25, 40, .5);
    color: #E4EAF1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hwp-popup .hwp-close:hover {
    background: rgba(21, 25, 40, .8);
}

.hwp-cta:focus-visible,
.hwp-close:focus-visible {
    outline: 2px solid #2CCE93;
    outline-offset: 2px;
}

@media (max-width: 719.98px) {
    .hwp-popup {
        right: 12px;
        max-width: calc(100% - 24px);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 20px;
    }

    .hwp-date {
        border: 0;
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 10px;
        align-items: baseline;
    }

    .hwp-date b,
    .hwp-date span {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hwp-popup .hwp-cta {
        width: 100%;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .hwp-copy {
        flex: none;
        padding-right: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hwp-popup {
        transition: none;
        transform: none;
    }
}