/* AI 改图：暖米色外框、白色内页与朱红标签。 */
#live-ai #ai-panel-9 {
    padding: 32px 30px 24px;
    gap: 18px;
    background: linear-gradient(150deg, #fff7e9, #f5e6cf 61%, #e7c9a6);
    border-color: #eadcc6;
    box-shadow: inset 0 1px #fffaf1, 0 16px 36px #5d191b26
}

#live-ai .ai-feature-unit[data-active="true"]:has(#ai-panel-9):focus-within {
    outline-width: 1px;
    outline-color: #f3e5cd80;
    outline-offset: 2px
}

#live-ai #ai-panel-9:before {
    background: radial-gradient(ellipse at 15% 0, #fffdf3a6, transparent 68%)
}

#live-ai #ai-panel-9 .ai-feature-copy {
    position: relative;
    z-index: 1;
    padding-right: 46px
}

#live-ai #ai-panel-9 .ai-feature-copy h3 {
    font-size: clamp(25px, 2.15vw, 32px);
    line-height: 1.35;
    letter-spacing: -.02em;
    color: #8e2d27;
    margin-bottom: 9px
}

#live-ai #ai-panel-9 .ai-feature-copy p {
    font-size: 14px;
    line-height: 1.8;
    color: #865740
}

#live-ai #ai-panel-9 .ai-feature-link span {
    top: 31px;
    right: 28px;
    width: 36px;
    height: 36px;
    background: #92332b;
    color: #fff0d6;
    box-shadow: 0 4px 10px #6f292b21
}

#live-ai #ai-panel-9 .ai-feature-link:hover span {
    background: #77251f
}

#live-ai .ai-image-edit-preview,
#live-ai .ai-supplied-preview {
    position: relative;
    align-items: center;
    justify-content: center;
    margin: 0 -4px -2px;
    filter: drop-shadow(0 5px 17px rgba(104, 64, 34, .09));
    transition: filter .35s ease
}

#live-ai .ai-image-edit-preview img,
#live-ai .ai-supplied-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate3d(0, 0, 0);
    transform-origin: 50% 55%;
    transition: transform .35s cubic-bezier(.22, .68, .26, 1)
}

@media(hover:hover) and (pointer:fine) {
    #live-ai .ai-feature-unit[data-active="true"] .ai-feature-preview.is-image-hovered {
        filter: drop-shadow(0 9px 21px rgba(104, 64, 34, .14));
        will-change: filter
    }

    #live-ai .ai-feature-unit[data-active="true"] .ai-feature-preview.is-image-hovered img {
        transform: translate3d(0, -2px, 0) scale(1.025);
        will-change: transform
    }
}

@media(prefers-reduced-motion:reduce) {

    #live-ai .ai-feature-preview,
    #live-ai .ai-feature-preview img {
        transition: none !important
    }

    #live-ai .ai-feature-preview img {
        transform: none !important
    }
}

@media(max-width:600px) {
    #live-ai #ai-panel-9 {
        padding: 26px 20px 19px;
        gap: 14px
    }

    #live-ai #ai-panel-9 .ai-feature-copy h3 {
        font-size: 25px
    }

    #live-ai #ai-panel-9 .ai-feature-copy p {
        font-size: 12px
    }

    #live-ai #ai-panel-9 .ai-feature-link span {
        top: 26px;
        right: 20px;
        width: 32px;
        height: 32px
    }
}