.sqvt-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #d7e5ef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.sqvt-wrapper * {
    box-sizing: border-box;
}

.sqvt-layout {
    display: grid;
    grid-template-columns: minmax(330px, 42%) 90px minmax(0, 58%);
    gap: 22px;
    align-items: stretch;
}

.sqvt-video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f7fa;
}

.sqvt-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sqvt-video.is-active {
    opacity: 1;
    visibility: visible;
}

.sqvt-temperature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
}

.sqvt-temp-top {
    color: #d92d20;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.sqvt-temp-bottom {
    color: #039855;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.sqvt-temp-bar {
    position: relative;
    flex: 1 1 auto;
    width: 26px;
    min-height: 0;
    border: 2px solid #1f2d3d;
    border-radius: 999px;
    background: linear-gradient(to bottom, #f04438 0%, #fdb022 45%, #12b76a 100%);
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.65);
}

.sqvt-temp-fill {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0%;
    background: rgba(255,255,255,0.84);
    transition: height 0.45s ease, width 0.45s ease;
    z-index: 1;
}

.sqvt-temp-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(31,45,61,0.25);
    pointer-events: none;
    z-index: 2;
}

.sqvt-content {
    min-width: 0;
    align-self: center;
}

.sqvt-title {
    max-width: 360px;
    margin: 0 auto 18px;
    font-size: 28px;
    line-height: 1.25;
    color: #1f2d3d;
}

.sqvt-buttons {
    width: 100%;
    max-width: 360px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 auto 18px;
}

.sqvt-button {
    width: 100%;
    min-height: 56px;
    border: none;
    border-radius: 10px;
    background: #0067a5;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.sqvt-button:hover {
    background: #0fa7ff;
}

.sqvt-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sqvt-status {
    max-width: 360px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    min-height: 24px;
}

@media (max-width: 768px) {
    .sqvt-wrapper {
        width: 100%;
        max-width: none;
        margin: 8px auto;
        padding: 8px;
        border-radius: 10px;
        box-shadow: none;
    }

    .sqvt-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: stretch;
    }

    .sqvt-video-box {
        aspect-ratio: 1 / 1;
    }

    .sqvt-temperature {
        min-height: auto;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 2px 4px;
    }

    .sqvt-temp-top,
    .sqvt-temp-bottom {
        font-size: 15px;
        white-space: nowrap;
    }

    .sqvt-temp-bar {
        flex: 1;
        width: auto;
        height: 16px;
        min-height: 16px;
        border: 2px solid #1f2d3d;
        background: linear-gradient(to right, #f04438 0%, #fdb022 45%, #12b76a 100%);
    }

    .sqvt-temp-fill {
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: 0%;
        height: auto;
    }

    .sqvt-title {
        max-width: 100%;
        font-size: 22px;
        margin: 0 0 14px;
        text-align: center;
    }

    .sqvt-buttons {
        max-width: 100%;
        gap: 10px;
        margin-bottom: 12px;
    }

    .sqvt-button {
        min-height: 52px;
        font-size: 16px;
    }

    .sqvt-status {
        max-width: 100%;
        text-align: center;
        font-size: 14px;
    }
}
