.hwt-replay,
.hwt-popover,
.hwt-spotlight,
.hwt-screen {
    box-sizing: border-box;
}

.hwt-replay {
    position: fixed;
    z-index: 78;
    left: 22px;
    bottom: 24px;
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid #cbdce7;
    border-radius: 20px;
    color: #0f5b87;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 9px 26px rgba(12, 52, 78, .15);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hwt-replay:hover,
.hwt-replay:focus {
    outline: 0;
    color: #fff;
    background: #176b91;
}

.hwt-screen {
    position: fixed;
    z-index: 2147481900;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
}

.hwt-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: transparent;
    backdrop-filter: blur(1px);
}

.hwt-spotlight {
    position: fixed;
    border: 3px solid #fff;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(7, 29, 49, .66), 0 8px 30px rgba(0, 0, 0, .24);
    pointer-events: none;
}

.hwt-popover {
    position: fixed;
    width: min(370px, calc(100vw - 24px));
    overflow: hidden;
    padding: 22px 22px 20px;
    border: 1px solid rgba(23, 107, 145, .18);
    border-radius: 18px;
    color: #294b68;
    background: #fff;
    box-shadow: 0 24px 70px rgba(4, 31, 57, .3);
}

.hwt-popover::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, #0a3563, #17739c 72%, #d5a548);
}

.hwt-progress {
    margin: 0 0 10px;
    color: #b77a17;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.hwt-title {
    margin: 0;
    color: #0b3762;
    font-size: 20px;
    line-height: 1.4;
}

.hwt-content {
    margin: 10px 0 20px;
    color: #5c7488;
    font-size: 14px;
    line-height: 1.75;
}

.hwt-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hwt-skip,
.hwt-next {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 13px;
    cursor: pointer;
}

.hwt-skip {
    border: 0;
    color: #718699;
    background: transparent;
}

.hwt-skip:hover {
    color: #0b568c;
    background: #f1f6f9;
}

.hwt-next {
    margin-left: auto;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #0c4a78, #17739c);
    box-shadow: 0 8px 18px rgba(17, 93, 135, .2);
    font-weight: 700;
}

.hwt-next:hover,
.hwt-next:focus {
    outline: 0;
    background: linear-gradient(135deg, #083d67, #125f87);
}

.hwt-screen[hidden],
.hwt-replay[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .hwt-replay {
        left: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        min-height: 36px;
        padding: 0 13px;
        font-size: 11px;
    }

    .hwt-popover {
        padding: 20px 18px 17px;
        border-radius: 16px;
    }

    .hwt-title {
        font-size: 18px;
    }

    .hwt-content {
        margin-bottom: 17px;
        font-size: 13px;
    }

    .hwt-spotlight {
        border-radius: 12px;
    }
}
