/* 懒加载相关样式 */
.yb-see-the-ugc__card-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 当有 aspect-ratio 时，wrapper 填充父容器高度 */
.yb-see-the-ugc__card-image[style*="aspect-ratio"] .yb-see-the-ugc__card-image-wrapper {
    height: 100%;
}

/* 当没有 aspect-ratio 时，wrapper 由内容自然撑开（瀑布流） */
.yb-see-the-ugc__card-image:not([style*="aspect-ratio"]) .yb-see-the-ugc__card-image-wrapper {
    height: auto;
    min-height: 200px;
    /* 确保 skeleton 有最小高度显示 */
}

.yb-see-the-ugc__card-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    z-index: 2;
    pointer-events: none;
    /* 默认不允许交互，点击播放按钮后才允许 */
}

/* 播放时允许交互 */
.yb-see-the-ugc__card-video-iframe[src*="autoplay=1"] {
    pointer-events: auto;
    z-index: 10;
}

/* iframe 覆盖层（用于点击播放） */
.yb-see-the-ugc__card-iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
    background: transparent;
}

.yb-see-the-ugc__card-image-lazy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* 当没有 aspect-ratio 时，图片使用相对定位自然显示（瀑布流） */
.yb-see-the-ugc__card-image:not([style*="aspect-ratio"]) .yb-see-the-ugc__card-image-lazy {
    position: relative;
    height: auto;
    object-fit: contain;
}

.yb-see-the-ugc__card-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* 当没有 aspect-ratio 时，视频封面使用相对定位自然显示（瀑布流） */
.yb-see-the-ugc__card-image:not([style*="aspect-ratio"]) .yb-see-the-ugc__card-video-poster {
    position: relative;
    height: auto;
    object-fit: contain;
}

.yb-see-the-ugc__card-image-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
}

/* 当没有 aspect-ratio 时，skeleton 的高度由 JavaScript 动态设置 */
.yb-see-the-ugc__card-image:not([style*="aspect-ratio"]) .yb-see-the-ugc__card-image-skeleton {
    position: absolute;
    height: 100%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.yb-see-the-ugc {
    min-height: 68rem;
    background: #F5F5F5;
    position: relative;

}

.yb-see-the-ugc__container {
    padding: 5rem 1rem 8.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.yb-see-the-ugc__title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.yb-see-the-ugc__description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.yb-see-the-ugc__filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 排序按钮样式 */
.yb-see-the-ugc__sort-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
}

.yb-see-the-ugc__sort-btn:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.yb-see-the-ugc__sort-btn:active:not(:disabled) {
    transform: translateY(0);
}

.yb-see-the-ugc__sort-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.yb-see-the-ugc__sort-btn--active {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.yb-see-the-ugc__sort-btn-text {
    white-space: nowrap;
    flex: 1;
}

.yb-see-the-ugc__sort-btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.yb-see-the-ugc__sort-btn-icon-wrapper svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.yb-see-the-ugc__sort-btn-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yb-see-the-ugc__sort-btn-icon--asc .yb-see-the-ugc__sort-arrow-up {
    opacity: 0.3;
}

.yb-see-the-ugc__sort-btn-icon--desc .yb-see-the-ugc__sort-arrow-down {
    opacity: 0.3;
}

.yb-see-the-ugc__grid {
    column-count: 3;
    column-gap: 2rem;
    width: 100%;
    max-width: 87.5rem;
    position: relative;
}

.yb-see-the-ugc__grid-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    display: block;
    will-change: opacity, transform;
    /* 确保grid item不会意外消失 */
    position: relative;
    z-index: 1;
}

.yb-see-the-ugc__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    /* 确保卡片不会意外消失 */
    position: relative;
    z-index: 1;
}

.yb-see-the-ugc__card--has-video {
    cursor: pointer;
}

.yb-see-the-ugc__card--has-video:hover .yb-see-the-ugc__card-video-indicator {
    transform: scale(1.1);
}

.yb-see-the-ugc__card-image {
    width: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    position: relative;
    overflow: hidden;
}

.yb-see-the-ugc__card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    background: #000;
}

.yb-see-the-ugc__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yb-see-the-ugc__card-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.yb-see-the-ugc__card-video-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.yb-see-the-ugc__card-content {
    padding: 1.5rem;
    display: block;
}

.yb-see-the-ugc__card-header {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.yb-see-the-ugc__card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.yb-see-the-ugc__card-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.yb-see-the-ugc__card-user-info {
    flex: 1;
}

.yb-see-the-ugc__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    flex: 1;
}

.yb-see-the-ugc__card-tag {
    font-size: 1rem;
    line-height: 1.4;
    color: #6E6E73;
}

.yb-see-the-ugc__card-description {
    font-size: 1.125rem;
    line-height: 1.4;
    color: #6E6E73;
    margin: 0.75rem 0 0 0;
    position: relative;
    overflow: hidden;
}

.yb-see-the-ugc__card-description--collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.yb-see-the-ugc__card-description--expanded {
    display: block;
}

.yb-see-the-ugc__card-description-text {
    margin: 0;
}

.yb-see-the-ugc__card-learn-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-left: 0.5rem;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    padding-left: 0.5rem;
}

.yb-see-the-ugc__card-learn-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

.yb-see-the-ugc__card-learn-more--hidden {
    display: none;
}

.yb-see-the-ugc__card-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.yb-see-the-ugc__card-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Load More按钮样式 */
.yb-see-the-ugc__load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, #FAFAFA 50%);
    padding: 12.5rem 0 6.25rem;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.yb-see-the-ugc__load-more-btn {
    background: #FEDB1E;
    color: #000;
    border: none;
    border-radius: 2.5rem;
    padding: 0.875rem 9.25rem;
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
}

.yb-see-the-ugc__load-more-btn:hover:not(:disabled) {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.yb-see-the-ugc__load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.yb-see-the-ugc__load-more-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: ybSpinnerSpin 1s linear infinite;
}

.yb-see-the-ugc__card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2.5rem;
    width: 2.5rem;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

/* 移动端隐藏播放图标 - 优先使用触摸设备检测，确保真实手机端（包括横屏）都能隐藏 */
@media (hover: none) and (pointer: coarse) {
    .yb-see-the-ugc__card-play-icon {
        display: none !important;
        pointer-events: none !important;
    }
}

/* 全屏展开按钮 */
.yb-see-the-ugc__card-expand-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: all 0.3s ease;
    padding: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

/* 图片轮播的全屏按钮 */
.yb-see-the-ugc__card-expand-btn--image {
    z-index: 15 !important;
    /* 确保在轮播控件之上 */
    pointer-events: auto !important;
    /* 确保可以点击 */
    display: flex !important;
    /* 确保显示 */
    visibility: visible !important;
    /* 确保可见 */
    opacity: 1 !important;
    /* 确保不透明 */
}

.yb-see-the-ugc__card-expand-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.yb-see-the-ugc__card-expand-btn svg {
    width: 16px;
    height: 16px;
}

/* 标题行布局 */
.yb-see-the-ugc__card-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 点赞按钮 */
.yb-see-the-ugc__card-like-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.yb-see-the-ugc__card-like-btn:hover {
    color: #FEDB1E;
    transform: scale(1.1);
}

.yb-see-the-ugc__card-like-btn--liked {
    color: #FEDB1E;
}

.yb-see-the-ugc__card-like-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.yb-see-the-ugc__card-like-btn:hover svg {
    transform: scale(1.1);
}

.yb-see-the-ugc__card-like-btn--liked svg {
    fill: currentColor;
}

.yb-see-the-ugc__card-like-count {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}

/* 视频弹窗样式 */
.yb-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.yb-video-modal--active {
    display: flex;
}

.yb-video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.yb-video-modal__container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.yb-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.yb-video-modal__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.yb-video-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yb-video-modal__close:hover {
    background: #e9ecef;
    color: #333;
}

.yb-video-modal__content {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.yb-video-modal__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.yb-video-modal__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 加载状态样式 */
.yb-see-the-ugc__loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #666;
    width: 100%;
    text-align: center;
}

.yb-see-the-ugc__loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: ybSpinnerSpin 1s linear infinite !important;
    margin-bottom: 1rem;
}

@keyframes ybSpinnerSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 空状态样式 */
.yb-see-the-ugc__empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: #666;
}

.yb-see-the-ugc__empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.yb-see-the-ugc__empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.yb-see-the-ugc__empty-state p {
    margin: 0;
    color: #666;
}

/* 移动端响应式设计 */
@media screen and (max-width: 768px) {

    .yb-see-the-ugc__card-tag {
        display: none;
    }

    /* 移动端隐藏自定义播放图标，使用原生控制栏 */
    .yb-see-the-ugc__card-play-icon {
        display: none !important;
    }

    /* 移动端 Learn More 按钮优化 */
    .yb-see-the-ugc__card-learn-more {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .yb-see-the-ugc__grid-item {
        margin-bottom: 0.75rem;
    }

    /* 移动端懒加载优化 */
    .yb-see-the-ugc__card-image-skeleton {
        font-size: 1.5rem;
    }

    .yb-see-the-ugc__container {
        padding: 1.5rem 1rem 4rem;
        gap: 1.5rem;
    }

    .yb-see-the-ugc__title {
        font-size: 1.5rem;
    }

    .yb-see-the-ugc__description {
        font-size: 1rem;
        margin-bottom: 4.5rem;
    }

    .yb-see-the-ugc__filters {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 0.75rem;
    }

    .yb-see-the-ugc__sort-btn {
        flex: 1;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .yb-see-the-ugc__sort-btn-icon {
        width: 14px;
        height: 14px;
    }

    .yb-see-the-ugc__grid {
        column-count: 2;
        column-gap: 1rem;
    }


    .yb-see-the-ugc__card-content {
        padding: 0.5rem;
        gap: 0.5rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .yb-see-the-ugc__card-header {
        gap: 0.25rem;
    }

    .yb-see-the-ugc__card-title {
        font-size: 0.75rem;
        color: #6E6E73;
        font-weight: 400;
        margin: 0;
    }

    .yb-see-the-ugc__card-description {
        font-size: 0.75rem;
        margin: 0;
        -webkit-line-clamp: 3;
        color: #02060B;
    }

    .yb-see-the-ugc__card-avatar,
    .yb-see-the-ugc__card-avatar-placeholder {
        width: 32px;
        height: 32px;
    }

    /* 移动端全屏展开按钮 */
    .yb-see-the-ugc__card-expand-btn {
        width: 28px;
        height: 28px;
        bottom: 8px;
        right: 8px;
    }

    .yb-see-the-ugc__card-expand-btn svg {
        width: 14px;
        height: 14px;
    }

    /* 移动端点赞按钮 */
    .yb-see-the-ugc__card-title-row {
        gap: 0.25rem;
    }

    .yb-see-the-ugc__card-like-btn {
        font-size: 0.75rem;
    }

    .yb-see-the-ugc__card-like-btn svg {
        width: 18px;
        height: 18px;
    }

    .yb-see-the-ugc__card-like-count {
        font-size: 0.75rem;
    }


    /* 移动端视频弹窗 */
    .yb-video-modal__container {
        width: 95%;
        max-height: 95vh;
    }

    .yb-video-modal__header {
        padding: 0.75rem 1rem;
    }

    .yb-video-modal__title {
        font-size: 1rem;
    }

    .yb-video-modal__close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    /* 移动端Load More按钮 */
    .yb-see-the-ugc__load-more-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1.25rem;
        width: 100%;
    }
}

/* 小屏幕移动端 */
@media screen and (max-width: 480px) {
    .yb-see-the-ugc__grid {
        column-count: 2;
        column-gap: 0.75rem;
    }

    .yb-see-the-ugc__title {
        font-size: 1.5rem;
    }

    /* 小屏幕视频弹窗 */
    .yb-video-modal__container {
        width: 98%;
        border-radius: 8px;
    }

    .yb-video-modal__header {
        padding: 0.5rem 0.75rem;
    }

    .yb-video-modal__title {
        font-size: 0.9rem;
    }

    /* 小屏幕Load More按钮 */
    .yb-see-the-ugc__load-more-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1.25rem;
        width: 100%;
    }

    .yb-see-the-ugc__load-more-container {
        padding: 4rem 0 1.5rem;
    }
}

/* 图片轮播样式 - 使用 Swiper */
.yb-see-the-ugc__carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.yb-see-the-ugc__carousel .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.yb-see-the-ugc__carousel .swiper-slide {
    width: 100%;
    height: 100%;
}

/* 自定义导航按钮样式 */
.yb-see-the-ugc__carousel-btn,
.yb-see-the-ugc__carousel-btn.swiper-button-prev,
.yb-see-the-ugc__carousel-btn.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置Swiper默认的::after伪元素 */
.yb-see-the-ugc__carousel-btn.swiper-button-prev::after,
.yb-see-the-ugc__carousel-btn.swiper-button-next::after {
    display: none !important;
}

.yb-see-the-ugc__carousel-btn:hover,
.yb-see-the-ugc__carousel-btn.swiper-button-prev:hover,
.yb-see-the-ugc__carousel-btn.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-50%) scale(1.08);
    -webkit-transform: translateY(-50%) scale(1.08);
    -moz-transform: translateY(-50%) scale(1.08);
    -ms-transform: translateY(-50%) scale(1.08);
    -o-transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.yb-see-the-ugc__carousel-btn:active,
.yb-see-the-ugc__carousel-btn.swiper-button-prev:active,
.yb-see-the-ugc__carousel-btn.swiper-button-next:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
    -webkit-transform: translateY(-50%) scale(0.95);
    -moz-transform: translateY(-50%) scale(0.95);
    -ms-transform: translateY(-50%) scale(0.95);
    -o-transform: translateY(-50%) scale(0.95);
}

.yb-see-the-ugc__carousel-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.6) !important;
}

.yb-see-the-ugc__carousel-btn svg,
.yb-see-the-ugc__carousel-btn.swiper-button-prev svg,
.yb-see-the-ugc__carousel-btn.swiper-button-next svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
}

.yb-see-the-ugc__carousel-btn svg path,
.yb-see-the-ugc__carousel-btn.swiper-button-prev svg path,
.yb-see-the-ugc__carousel-btn.swiper-button-next svg path {
    stroke: #25282A !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yb-see-the-ugc__carousel-btn.swiper-button-disabled svg path {
    stroke: #B0B0B0 !important;
}

.yb-see-the-ugc__carousel-btn--prev {
    left: 16px;
}

.yb-see-the-ugc__carousel-btn--next {
    right: 16px;
}

/* 自定义分页指示器样式 */
.yb-see-the-ugc__carousel-pagination {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.yb-see-the-ugc__carousel-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
    opacity: 1;
}

.yb-see-the-ugc__carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.yb-see-the-ugc__carousel-dot--active {
    background: rgba(255, 255, 255, 1);
    width: 16px;
    border-radius: 8px;
    transform: scale(1);
}

/* 移动端轮播按钮 */
@media screen and (max-width: 768px) {

    .yb-see-the-ugc__carousel-btn,
    .yb-see-the-ugc__carousel-btn.swiper-button-prev,
    .yb-see-the-ugc__carousel-btn.swiper-button-next {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .yb-see-the-ugc__carousel-btn svg,
    .yb-see-the-ugc__carousel-btn.swiper-button-prev svg,
    .yb-see-the-ugc__carousel-btn.swiper-button-next svg {
        width: 18px !important;
        height: 18px !important;
        fill: none !important;
    }

    .yb-see-the-ugc__carousel-btn svg path,
    .yb-see-the-ugc__carousel-btn.swiper-button-prev svg path,
    .yb-see-the-ugc__carousel-btn.swiper-button-next svg path {
        stroke: #25282A !important;
        fill: none !important;
        stroke-width: 2.5 !important;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .yb-see-the-ugc__carousel-btn.swiper-button-disabled svg path {
        stroke: #B0B0B0 !important;
    }

    .yb-see-the-ugc__carousel-btn--prev {
        left: 12px;
    }

    .yb-see-the-ugc__carousel-btn--next {
        right: 12px;
    }

    .yb-see-the-ugc__carousel-pagination {
        bottom: 12px;
        gap: 3px;
        padding: 4px 8px;
    }

    .yb-see-the-ugc__carousel-dot {
        width: 3px;
        height: 3px;
    }

    .yb-see-the-ugc__carousel-dot--active {
        width: 12px;
    }
}

/* 全屏图片轮播模态框样式 */
.yb-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.yb-image-modal--active {
    display: flex;
}

.yb-image-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(4px);
}

.yb-image-modal__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.yb-image-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.yb-image-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.yb-image-modal__carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.yb-image-modal__carousel .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.yb-image-modal__carousel .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yb-image-modal__slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

.yb-image-modal__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* 全屏图片轮播导航按钮 */
.yb-image-modal__carousel-btn,
.yb-image-modal__carousel-btn.swiper-button-prev,
.yb-image-modal__carousel-btn.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 56px !important;
    height: 56px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.yb-image-modal__carousel-btn.swiper-button-prev::after,
.yb-image-modal__carousel-btn.swiper-button-next::after {
    display: none !important;
}

.yb-image-modal__carousel-btn:hover,
.yb-image-modal__carousel-btn.swiper-button-prev:hover,
.yb-image-modal__carousel-btn.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.yb-image-modal__carousel-btn:active,
.yb-image-modal__carousel-btn.swiper-button-prev:active,
.yb-image-modal__carousel-btn.swiper-button-next:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 0.25) !important;
}

.yb-image-modal__carousel-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.yb-image-modal__carousel-btn svg,
.yb-image-modal__carousel-btn.swiper-button-prev svg,
.yb-image-modal__carousel-btn.swiper-button-next svg {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
}

.yb-image-modal__carousel-btn svg path,
.yb-image-modal__carousel-btn.swiper-button-prev svg path,
.yb-image-modal__carousel-btn.swiper-button-next svg path {
    stroke: #fff !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yb-image-modal__carousel-btn--prev {
    left: 24px;
}

.yb-image-modal__carousel-btn--next {
    right: 24px;
}

/* 全屏图片轮播分页指示器 */
.yb-image-modal__carousel-pagination {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
}

.yb-image-modal__carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
    opacity: 1;
}

.yb-image-modal__carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.yb-image-modal__carousel-dot--active {
    background: rgba(255, 255, 255, 1);
    width: 20px;
    border-radius: 10px;
    transform: scale(1);
}

/* 移动端全屏图片轮播样式 */
@media screen and (max-width: 768px) {
    .yb-image-modal__close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .yb-image-modal__slide-content {
        padding: 40px 20px;
    }

    .yb-image-modal__carousel-btn,
    .yb-image-modal__carousel-btn.swiper-button-prev,
    .yb-image-modal__carousel-btn.swiper-button-next {
        width: 44px !important;
        height: 44px !important;
    }

    .yb-image-modal__carousel-btn svg,
    .yb-image-modal__carousel-btn.swiper-button-prev svg,
    .yb-image-modal__carousel-btn.swiper-button-next svg {
        width: 20px !important;
        height: 20px !important;
    }

    .yb-image-modal__carousel-btn--prev {
        left: 16px;
    }

    .yb-image-modal__carousel-btn--next {
        right: 16px;
    }

    .yb-image-modal__carousel-pagination {
        bottom: 16px;
        gap: 4px;
        padding: 6px 12px;
    }

    .yb-image-modal__carousel-dot {
        width: 4px;
        height: 4px;
    }

    .yb-image-modal__carousel-dot--active {
        width: 16px;
    }
}

/* 触摸设备（移动端）隐藏自定义播放图标 */
@media (hover: none) and (pointer: coarse) {
    .yb-see-the-ugc__card-play-icon {
        display: none !important;
    }
}