/* 年会 AI 能力：外围功能入口与中心详情共同构成一组。 */
#live-ai .ai-icon-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

#live-ai .ai-feature-grid {
    display: grid;
    grid-template-columns: minmax(125px, 1fr) minmax(390px, 3.05fr) repeat(2, minmax(125px, 1fr));
    grid-template-rows: repeat(3, 165px);
    gap: 15px;
    align-items: stretch
}

#live-ai .ai-feature-tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 16px 8px;
    border: 1px solid rgba(255, 226, 190, .24);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(206, 146, 131, .46), rgba(111, 42, 50, .58));
    color: #fff1df;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 30px rgba(45, 1, 8, .12);
    cursor: pointer;
    font: inherit;
    transition: background .25s, border-color .25s, box-shadow .25s, transform .25s
}

#live-ai .ai-feature-tile:before,
#live-ai .ai-feature-tile:after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%
}

#live-ai .ai-feature-tile:before {
    width: 135%;
    height: 105%;
    left: -65%;
    top: -50%;
    background: rgba(255, 231, 208, .12)
}

#live-ai .ai-feature-tile:after {
    width: 120%;
    height: 115%;
    right: -68%;
    bottom: -55%;
    border: 1px solid rgba(255, 224, 190, .18);
    background: rgba(91, 25, 35, .12)
}

#live-ai .ai-feature-tile:nth-child(3n+2) {
    background: linear-gradient(145deg, rgba(219, 172, 141, .5), rgba(139, 65, 65, .6))
}

#live-ai .ai-feature-tile:nth-child(3n) {
    background: linear-gradient(145deg, rgba(160, 100, 105, .58), rgba(91, 35, 52, .62))
}

#live-ai .ai-feature-tile:hover,
#live-ai .ai-feature-tile[aria-selected="true"] {
    border-color: rgba(255, 225, 176, .85);
    background: linear-gradient(145deg, rgba(240, 199, 163, .78), rgba(156, 78, 73, .75));
    box-shadow: inset 0 1px rgba(255, 255, 255, .4), 0 12px 28px rgba(48, 0, 8, .24)
}

#live-ai .ai-feature-tile:focus-visible {
    outline: 2px solid #ffe0a2;
    outline-offset: 3px
}

#live-ai .ai-feature-tile svg {
    width: 64px;
    height: 64px;
    flex: none;
    filter: drop-shadow(0 6px 8px rgba(78, 19, 22, .15));
    transition: transform .25s
}

#live-ai .ai-feature-tile:hover svg {
    transform: translateY(-3px)
}

#live-ai .ai-feature-tile span {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    text-align: center
}

#live-ai .ai-feature-tile-1 {
    grid-area: 1 / 1
}

#live-ai .ai-feature-tile-2 {
    grid-area: 2 / 1
}

#live-ai .ai-feature-tile-3 {
    grid-area: 3 / 1
}

#live-ai .ai-feature-tile-4 {
    grid-area: 1 / 3
}

#live-ai .ai-feature-tile-5 {
    grid-area: 1 / 4
}

#live-ai .ai-feature-tile-6 {
    grid-area: 2 / 3
}

#live-ai .ai-feature-tile-7 {
    grid-area: 2 / 4
}

#live-ai .ai-feature-tile-8 {
    grid-area: 3 / 3 / 4 / 5;
    width: calc(50% - 7.5px);
    justify-self: center
}

#live-ai .ai-feature-main {
    grid-area: 1 / 2 / 4 / 3;
    min-width: 0
}

#live-ai .ai-feature-panel {
    height: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 38px 34px 30px;
    border: 1px solid rgba(255, 227, 195, .35);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(237, 195, 176, .91), rgba(218, 164, 143, .85) 48%, rgba(174, 102, 94, .87));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52), 0 20px 45px rgba(40, 0, 7, .2);
    color: #66252b
}

#live-ai .ai-feature-panel[hidden] {
    display: none
}

#live-ai .ai-feature-panel:not([hidden]) {
    animation: ai-feature-appear .46s cubic-bezier(.22, .68, .26, 1) .15s both
}

@keyframes ai-feature-appear {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

#live-ai .ai-feature-panel:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 95% 0, rgba(255, 244, 218, .4), transparent 45%), radial-gradient(ellipse at 0 100%, rgba(130, 39, 45, .18), transparent 45%);
    pointer-events: none
}

#live-ai .ai-feature-copy h3 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: #65232b
}

#live-ai .ai-feature-copy p {
    max-width: 32em;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #793c39
}

#live-ai .ai-feature-preview {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-end
}

#live-ai .ai-feature-preview .annual-ai-visual {
    width: 100%;
    border-radius: 13px;
    box-shadow: 0 12px 25px rgba(73, 20, 23, .16)
}

#live-ai .annual-ai-bottom {
    margin-top: 32px
}

@media(max-width:1000px) {
    #live-ai .ai-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 12px
    }

    #live-ai .ai-feature-main {
        grid-area: 1 / 1 / 2 / 5
    }

    #live-ai .ai-feature-panel {
        min-height: 460px
    }

    #live-ai .ai-feature-tile {
        grid-area: auto;
        min-height: 140px
    }

    #live-ai .ai-feature-tile-8 {
        width: auto;
        justify-self: stretch
    }
}

@media(max-width:600px) {
    #live-ai .ai-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    #live-ai .ai-feature-main {
        grid-column: 1 / -1
    }

    #live-ai .ai-feature-panel {
        min-height: 420px;
        padding: 25px 20px 20px
    }

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

    #live-ai .ai-feature-tile {
        min-height: 130px
    }

    #live-ai .ai-feature-tile svg {
        width: 54px;
        height: 54px
    }
}

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

    #live-ai .ai-feature-tile,
    #live-ai .ai-feature-tile svg {
        transition: none
    }

    #live-ai .ai-feature-panel:not([hidden]) {
        animation: none
    }
}

/* 与参考中的功能宫格一致：所选能力在原有顺序中展开，其余卡片重新排布。 */
#live-ai .ai-feature-grid {
    position: relative;
    display: block;
    --ai-gap: 15px;
    --ai-unit: calc((100% - 5 * var(--ai-gap)) / 6);
    height: calc(3 * var(--ai-unit) + 2 * var(--ai-gap))
}

#live-ai .ai-feature-unit {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--ai-unit);
    height: var(--ai-unit);
    overflow: hidden;
    border-radius: 20px;
    transform: translate3d(calc(var(--ai-col) * (var(--ai-unit) + var(--ai-gap))), calc(var(--ai-row) * (var(--ai-unit) + var(--ai-gap))), 0);
    transition: none
}

#live-ai .ai-feature-grid.ai-ready .ai-feature-unit {
    transition: transform var(--ai-layout-duration, 550ms) cubic-bezier(.22, .68, .26, 1), width var(--ai-layout-duration, 550ms) cubic-bezier(.22, .68, .26, 1), height var(--ai-layout-duration, 550ms) cubic-bezier(.22, .68, .26, 1);
    transition-delay: calc(var(--ai-row) * 30ms)
}

#live-ai .ai-feature-unit[data-active="true"] {
    width: calc(3 * var(--ai-unit) + 2 * var(--ai-gap));
    height: calc(3 * var(--ai-unit) + 2 * var(--ai-gap));
    border-radius: 24px;
    z-index: 2
}

#live-ai .ai-feature-unit .ai-feature-tile {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    transition: opacity .2s, border-color .25s, background .25s, box-shadow .25s
}

#live-ai .ai-feature-unit[data-active="true"] .ai-feature-tile {
    opacity: 0;
    pointer-events: none
}

#live-ai .ai-feature-unit .ai-feature-panel {
    width: calc(3 * var(--ai-unit) + 2 * var(--ai-gap));
    height: calc(3 * var(--ai-unit) + 2 * var(--ai-gap));
    position: absolute;
    inset: 0
}

#live-ai .ai-feature-unit[data-active="true"]:focus-within {
    outline: 2px solid #ffe0a2;
    outline-offset: 3px;
    border-radius: 24px
}

@media(max-width:1000px) {
    #live-ai .ai-feature-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: auto;
        height: auto;
        gap: 12px
    }

    #live-ai .ai-feature-unit,
    #live-ai .ai-feature-unit[data-active="true"] {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: 140px;
        transform: none;
        transition: none
    }

    #live-ai .ai-feature-grid.ai-ready .ai-feature-unit {
        transition: none
    }

    #live-ai .ai-feature-unit[data-active="true"] {
        grid-column: 1 / -1;
        order: -1;
        height: 480px
    }

    #live-ai .ai-feature-unit .ai-feature-panel {
        width: 100%;
        height: 100%
    }
}

@media(max-width:600px) {
    #live-ai .ai-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    #live-ai .ai-feature-unit,
    #live-ai .ai-feature-unit[data-active="true"] {
        height: 130px
    }

    #live-ai .ai-feature-unit[data-active="true"] {
        height: 440px
    }
}

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

    #live-ai .ai-feature-unit,
    #live-ai .ai-feature-grid.ai-ready .ai-feature-unit {
        transition: none
    }
}

#live-ai .ai-feature-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 24px;
    color: #fbe6c8
}

#live-ai .ai-feature-link span {
    position: absolute;
    top: 32px;
    right: 30px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #793039;
    font-size: 22px;
    line-height: 1;
    transition: transform .2s, background .2s
}

#live-ai .ai-feature-link:hover span {
    transform: translate(2px, -2px);
    background: #58202a
}

#live-ai .ai-feature-link:focus-visible {
    outline: 2px solid #6e2930;
    outline-offset: -5px
}

#live-ai .ai-feature-copy {
    padding-right: 48px
}

@media(prefers-reduced-motion:reduce) {
    #live-ai .ai-feature-link span {
        transition: none
    }
}