@charset "utf-8";

body.ucc_ai_video_body {
    background: #f7f9ff;
}

.ucc_ai_video_body #container_wr,
.ucc_ai_video_body #container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ucc_ai_video_body #aside {
    display: none;
}

.ucc_ai_video_body #container_title {
    display: none;
}

.ucc_ai_video {
    min-height: 100vh;
    padding: 42px 20px 86px;
    color: #101828;
    background:
        radial-gradient(circle at 8% 0%, rgba(88, 101, 255, 0.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f3f7ff 48%, #ffffff 100%);
}

.ucc_ai_video_top,
.ucc_ai_video_catalog,
.ucc_ai_video_panel {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.ucc_ai_video_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.ucc_ai_video_kicker {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(76, 95, 255, 0.11);
    color: #4f46e5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ucc_ai_video_top h1 {
    margin-top: 14px;
    color: #151b3d;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.ucc_ai_video_top p {
    margin-top: 14px;
    color: #50607f;
    font-size: 18px;
    font-weight: 700;
}

.ucc_ai_video_point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(31, 41, 55, 0.1);
}

.ucc_ai_video_point .material-symbols-rounded {
    color: #0f172a;
    font-size: 19px;
    line-height: 1;
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 20;
}

.ucc_ai_video_catalog {
    display: flex;
    gap: 10px;
    margin-top: 34px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ucc_ai_video_catalog::-webkit-scrollbar {
    display: none;
}

.ucc_ai_video_catalog button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #586174;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(76, 95, 255, 0.08);
}

.ucc_ai_video_catalog button.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #2855ff, #7c3aed);
    color: #fff;
}

.ucc_ai_video_panel {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid rgba(219, 228, 255, 0.9);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 70px rgba(31, 41, 55, 0.1);
    backdrop-filter: blur(14px);
}

.ucc_ai_video_panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.ucc_ai_video_panel__head strong {
    display: block;
    color: #151b3d;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.ucc_ai_video_panel__head span {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 15px;
    font-weight: 800;
}

.ucc_ai_video_panel__head em {
    flex: 0 0 auto;
    color: #4f46e5;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
}

.ucc_ai_video_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.ucc_ai_video_card[hidden] {
    display: none;
}

.ucc_ai_video_card button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ucc_ai_video_thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    background: linear-gradient(135deg, #dbe4ff, #f8fafc);
    box-shadow: inset 0 -90px 70px rgba(15, 23, 42, 0.42);
}

.ucc_ai_video_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ucc_ai_video_thumb video {
    display: none;
}

.ucc_ai_video_thumb:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
}

.ucc_ai_video_thumb i {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #2855ff;
    font-size: 15px;
}

.ucc_ai_video_meta {
    display: block;
    padding: 12px 4px 0;
}

.ucc_ai_video_meta em {
    display: block;
    color: #4f46e5;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.ucc_ai_video_meta strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    min-height: 45px;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.04em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ucc_ai_video_meta small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 7px;
    min-height: 38px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ucc_ai_video_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 46px 20px;
    border: 1px dashed #cfd9ff;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.86));
    color: #667085;
    text-align: center;
}

.ucc_ai_video_empty[hidden] {
    display: none;
}

.ucc_ai_video_empty i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 95, 255, 0.14), rgba(124, 58, 237, 0.12));
    color: #4f46e5;
    font-size: 22px;
}

.ucc_ai_video_empty strong {
    display: block;
    color: #151b3d;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.ucc_ai_video_empty span {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 15px;
    font-weight: 800;
}

.ucc_ai_video_bottom {
    display: none;
}

.ucc_video_modal_open,
.ucc_mobile_video_open {
    overflow: hidden;
}

.ucc_video_modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ucc_video_modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ucc_video_modal__dim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
}

.ucc_video_modal__phone {
    position: relative;
    width: min(430px, calc(100vw - 28px), calc((100vh - 28px) * 0.462));
    aspect-ratio: 390 / 844;
    max-height: calc(100vh - 28px);
    padding: 10px;
    border: 1px solid #d7dce5;
    border-radius: 48px;
    background: linear-gradient(145deg, #fefefe, #e9edf4);
    box-shadow: 0 24px 68px rgba(15, 23, 42, 0.34), inset 0 0 0 6px #f8fafc;
}

.ucc_video_modal__speaker {
    position: absolute;
    top: 21px;
    left: 50%;
    z-index: 3;
    width: 104px;
    height: 30px;
    border-radius: 999px;
    background: #05070c;
    transform: translateX(-50%);
}

.ucc_video_modal__screen {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 4px solid #111827;
    border-radius: 38px;
    background: #000;
}

.ucc_video_modal__screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.ucc_video_modal__screen video::-webkit-media-controls,
.ucc_video_modal__screen video::-webkit-media-controls-enclosure,
.ucc_mobile_video_slide video::-webkit-media-controls,
.ucc_mobile_video_slide video::-webkit-media-controls-enclosure {
    display: none !important;
}

.ucc_video_modal__home {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 3;
    width: 118px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    transform: translateX(-50%);
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.32);
}

.ucc_video_modal__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    font-size: 22px;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.ucc_video_modal__nav i,
.ucc_video_modal__nav .material-symbols-rounded {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
}

.ucc_video_modal__nav.is-prev {
    left: -58px;
}

.ucc_video_modal__nav.is-next {
    right: -58px;
}

.ucc_video_modal__nav:hover,
.ucc_video_modal__nav:focus {
    color: #4f46e5;
}

.ucc_video_modal__close {
    position: absolute;
    top: 64px;
    right: 26px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    color: #334155;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

@media (max-width: 768px) {
    .ucc_video_modal__nav {
        display: none;
    }
}

.ucc_video_modal__actions,
.ucc_mobile_video_viewer__actions {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ucc_video_modal__actions {
    top: 106px;
    right: 26px;
}

.ucc_video_modal__actions button,
.ucc_mobile_video_viewer__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    color: #334155;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.ucc_video_modal__actions button:hover,
.ucc_video_modal__actions button:focus,
.ucc_mobile_video_viewer__actions button:hover,
.ucc_mobile_video_viewer__actions button:focus {
    color: #4f46e5;
}

.ucc_live_icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 20px;
    color: currentColor;
    transform: translateY(-2px) scale(1.08);
}

.ucc_live_icon:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 4px;
    width: 15px;
    height: 11px;
    border-radius: 3px;
    background: currentColor;
    transform: translateX(-50%);
}

.ucc_live_icon:after {
    display: none;
    content: none;
}

.ucc_live_icon__play {
    position: absolute;
    left: 50%;
    top: 7.5px;
    z-index: 1;
    width: 0;
    height: 0;
    border-top: 2.5px solid transparent;
    border-bottom: 2.5px solid transparent;
    border-left: 4px solid rgba(255, 255, 255, 0.96);
    transform: translateX(-35%);
}

.ucc_live_icon__text {
    position: absolute;
    left: 50%;
    bottom: -2px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: currentColor;
    font-size: 6px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
    transform: translateX(-50%);
}

.ucc_mobile_video_viewer {
    --ucc-mobile-vh: 100vh;
    position: fixed;
    inset: 0;
    z-index: 3600;
    display: none;
    width: 100%;
    height: var(--ucc-mobile-vh);
    background: #000;
}

.ucc_mobile_video_viewer.is-open {
    display: block;
}

.ucc_mobile_video_swiper,
.ucc_mobile_video_track,
.ucc_mobile_video_slide {
    width: 100%;
    height: 100%;
}

.ucc_mobile_video_slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.ucc_mobile_video_slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.ucc_mobile_video_viewer__close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: #1f2937;
    font-size: 19px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.ucc_mobile_video_viewer__actions {
    position: fixed;
    top: max(60px, calc(env(safe-area-inset-top) + 60px));
    right: 16px;
}

.ucc_mobile_video_viewer__actions button {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.86);
    color: #1f2937;
    font-size: 17px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.ucc_video_action_toast {
    position: fixed;
    left: 50%;
    bottom: max(28px, env(safe-area-inset-bottom));
    z-index: 4000;
    min-width: 220px;
    max-width: calc(100vw - 36px);
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ucc_video_action_toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
    .ucc_ai_video_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .ucc_ai_video_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.ucc_ai_video_body {
        background: #fff;
    }

    .ucc_ai_video_body #hd {
        display: none;
    }

    .ucc_ai_video_body #ft {
        display: none;
    }

    .ucc_ai_video {
        padding: 18px 12px calc(92px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    }

    .ucc_ai_video_top {
        align-items: center;
        padding: 4px 2px 0;
    }

    .ucc_ai_video_kicker {
        height: 24px;
        padding: 0 9px;
        font-size: 10px;
    }

    .ucc_ai_video_top h1 {
        margin-top: 8px;
        font-size: 28px;
        letter-spacing: -0.05em;
    }

    .ucc_ai_video_top p {
        display: none;
    }

    .ucc_ai_video_point {
        height: 34px;
        padding: 0 11px;
        font-size: 15px;
        box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
    }

    .ucc_ai_video_catalog {
        gap: 8px;
        margin-top: 18px;
        padding: 0 2px 3px;
    }

    .ucc_ai_video_catalog button {
        height: 36px;
        padding: 0 13px;
        font-size: 13px;
    }

    .ucc_ai_video_panel {
        margin-top: 14px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .ucc_ai_video_panel__head {
        margin-bottom: 12px;
        padding: 0 2px;
    }

    .ucc_ai_video_panel__head strong {
        font-size: 20px;
    }

    .ucc_ai_video_panel__head span {
        margin-top: 3px;
        font-size: 12px;
    }

    .ucc_ai_video_panel__head em {
        font-size: 12px;
    }

    .ucc_ai_video_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 13px 8px;
    }

    .ucc_ai_video_thumb {
        border-radius: 13px;
    }

    .ucc_ai_video_thumb i {
        right: 7px;
        bottom: 7px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .ucc_ai_video_meta {
        padding: 7px 1px 0;
    }

    .ucc_ai_video_meta em {
        font-size: 10px;
    }

    .ucc_ai_video_meta strong {
        min-height: 31px;
        margin-top: 3px;
        font-size: 12px;
        line-height: 1.28;
    }

    .ucc_ai_video_meta small {
        display: none;
    }

    .ucc_ai_video_empty {
        min-height: 170px;
        padding: 34px 16px;
        border-radius: 22px;
    }

    .ucc_ai_video_empty i {
        width: 46px;
        height: 46px;
        margin-bottom: 11px;
        font-size: 18px;
    }

    .ucc_ai_video_empty strong {
        font-size: 17px;
    }

    .ucc_ai_video_empty span {
        max-width: 210px;
        font-size: 12px;
        line-height: 1.5;
    }

    .ucc_ai_video_bottom {
        position: fixed;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        z-index: 50;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        padding: 8px;
        border: 1px solid rgba(229, 231, 235, 0.9);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.93);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(16px);
    }

    .ucc_ai_video_bottom.has-logout {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .ucc_ai_video_bottom a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        border-radius: 17px;
        color: #6b7280;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.2;
    }

    .ucc_ai_video_bottom a.is-active {
        background: linear-gradient(135deg, rgba(76, 95, 255, 0.16), rgba(124, 58, 237, 0.12));
        color: #4f46e5;
    }

    .ucc_ai_video_bottom i,
    .ucc_ai_video_bottom .material-symbols-rounded {
        margin-bottom: 5px;
        font-size: 20px;
        line-height: 1;
    }
}

@media (max-width: 360px) {
    .ucc_ai_video {
        padding-right: 9px;
        padding-left: 9px;
    }

    .ucc_ai_video_grid {
        gap: 11px 6px;
    }

    .ucc_ai_video_meta strong {
        font-size: 11px;
    }
}
