#live .theme-device-stack {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1.87;
    border: 1px solid #d6ac7f70;
    border-radius: 18px;
    background: radial-gradient(ellipse at 58% 92%, #dfaa7d52, transparent 66%), linear-gradient(135deg, #fff9ed, #f3dfc9);
}

#live .theme-device-card {
    position: absolute;
    z-index: 1;
    display: block;
    padding: 0;
    border: 1px solid #f4c99c;
    border-radius: 14px;
    background: #a72f22;
    box-shadow: 0 8px 25px #6e251d26;
    cursor: pointer;
    transition: transform .28s ease, box-shadow .28s ease;
}

#live .theme-device-card-pc {
    top: max(34px, 9.5%);
    left: 6%;
    width: 73%;
}

#live .theme-device-card-h5 {
    right: 6.5%;
    bottom: 7%;
    width: 21.5%;
}

#live .theme-device-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

#live .theme-device-label {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    padding: 3px 9px;
    border: 1px solid #d8aa7e8c;
    border-radius: 7px;
    background: #fff7e9;
    color: #803a30;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
    white-space: nowrap;
}

#live .theme-device-card-h5 .theme-device-label {
    right: 0;
    left: auto;
}

#live .theme-device-card[aria-pressed="true"] {
    z-index: 2;
    transform: scale(1.045);
    box-shadow: 0 15px 36px #6e251d40;
}

#live .theme-device-card[aria-pressed="true"] .theme-device-label {
    border-color: #b95a43;
    background: #a63b2c;
    color: #fff6e6;
}

#live .theme-device-card:focus-visible {
    outline: 2px solid #a54330;
    outline-offset: 3px;
}

@media (min-width: 921px) {
    #live .theme-device-stack {
        aspect-ratio: 1.73;
    }
}

@media (max-width: 640px) {
    #live .theme-device-stack {
        aspect-ratio: .99;
    }

    #live .theme-device-card {
        border-radius: 8px;
    }

    #live .theme-device-card-pc {
        top: 40px;
        left: 4.5%;
        width: 87%;
    }

    #live .theme-device-card-h5 {
        right: 6%;
        bottom: 40px;
        width: 33%;
    }

    #live .theme-device-card-h5 .theme-device-label {
        top: calc(100% + 5px);
        bottom: auto;
    }

    #live .theme-device-label {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #live .theme-device-card {
        transition: none;
    }
}