#hot-media-list-container {
    width: 90%;
    height: 355px; /* 调整为所需高度 */
    overflow: hidden;
    margin: -60px auto;
    position: relative;
    /*background: var(--fa-lt-yellow);*/
}

#hot-media-list {
    padding: 0;
    margin: 0;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    overflow: hidden;
}

/* 使用伪元素来创建透明度效果 */
#hot-media-list li::before {
    content: ''; /* 伪元素需要内容属性来显示 */
    position: absolute; /* 伪元素绝对定位于 li 元素内 */
    margin-top: -20px; /* 从顶部开始的位置，可以根据需要调整 */
    margin-right: -20px; /* 从顶部开始的位置，可以根据需要调整 */
    top: 10px; /* 从顶部开始的位置，可以根据需要调整 */
    right: 10px; /* 从右侧开始的位置，可以根据需要调整 */
    width: 100px; /* 水印的宽度，根据你的水印图像尺寸调整 */
    height: 50px; /* 水印的高度，根据你的水印图像尺寸调整 */
    background-image: url("/static/v3_theme_01_asset/app/tiktok_long.png");
    background-repeat: no-repeat;
    background-position: right top; /* 水印的位置 */
    background-size: contain; /* 保持水印整体可见或设置特定尺寸 */
    opacity: 0.1; /* 设置水印透明度为若隐若现的效果 */
    z-index: 0; /* 确定在内容下方 */
}

#hot-media-list.loading {
    position: relative;
    justify-content: center;
    align-items: center;
    /* 使列表内容不可见 */
    opacity: 0.5;
    pointer-events: none;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

#hot-media-list.loading::before {
    content: "Loading...";
    position: absolute;
    margin-top: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: #666;
}

.hot-yt-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/youtube_long.webp") !important;
}

.hot-bz-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/bilibili_long.webp") !important;
}

.hot-suno-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/suno_long.webp") !important;
}

.hot-kuaishou-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/kuaishou_long.webp") !important;
}

.hot-instagram-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/instagram_long.webp") !important;
}

.hot-xhs-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/redbook_long.webp") !important;
}

.hot-facebook-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/facebook_long.webp") !important;
}

.hot-twitter-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/twitter_long.webp") !important;
}

.hot-pinterest-icon::before {
    background-image: url("/static/v3_theme_01_asset/app/pinterest_long.webp") !important;
}

/* 确保子元素的内容显示在水印之上 */
#hot-media-list li > * {
    z-index: 1;
}

#hot-media-list li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding: 10px;
    font-size: 0.9em;
    justify-content: flex-start;/* 左对齐*/
    position: relative;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
}

.nickname {
    flex: 0 0 60px; /* flex-grow: 0, flex-shrink: 0, flex-basis: 200px */
    display: inline-block;
    white-space: nowrap;
    margin-right: 10px;
    font-weight: bold;
    overflow: hidden;      /* 隐藏溢出部分文本 */
    text-overflow: ellipsis; /* 添加省略号显示文本溢出 */
    box-sizing: border-box; /* 使宽度包括内边距和边框 */
}

.nickname::after {
    content: '';
    width: 100%; /* 填满剩余宽度 */
}

.media-desc {
    flex: 0 0 200px; /* flex-grow: 0, flex-shrink: 0, flex-basis: 200px */
    flex-grow: 1;
    margin-right: 100px;
}

.media-url {
    margin-left: 10px;
}

.barrage-list {
    margin-right: 85px;
}

/*@keyframes scroll-list {
    0% { top: 100%; }
    100% { top: -100%; }
}

.scrolling {
    animation: scroll-list 30s linear infinite;
}*/

#hot-media-list li .social-stats {
    flex-direction: column; /* 让项垂直排列 */
}

.likes-count, .comments-count, .shares-count {
    display: flex;
    align-items: center;
    margin: 0 0px;
}

.social-stats {
    position: absolute; /* 绝对定位 */
    bottom: 5px; /* 距底部10px */
    right: 20px; /* 爱心图标放在最左边 */
    display: flex;
}

.visitor {
    color: #0c0b0b;
    font-weight: 400;
}

.social-stats i {
    color: #FF4500; /* 给图标添加颜色 */
    margin-right: 5px; /* 图标和文本之间的空间 */
}

/* 可以根据喜好定义其他颜色，例如： */
.likes-count i {
    color: #E53E3E; /* 点赞图标颜色 */
}
.comments-count i { color: #3182CE; } /* 评论图标颜色 */
.shares-count i { color: #38A169; } /* 分享图标颜色 */


/* 如果计数器数字很大则缩小字号 */
.social-stats span {
    font-size: 0.95em; /* 字号 */
    margin-left: 12px; /* 统计项目间的间距 */
}

.fas {
    margin-right: 5px; /* 图标和数字之间的空间 */
}

/* 粘贴 */
.paste {
    height: 100%;
    pointer-events: unset;
    position: absolute;
    top: -250px;
    right: 5px;
    z-index: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.paste span {
    display: flex;
    cursor: pointer;
    padding: .25rem .5rem;
    font-size: 14px;
    color: #4a4a4a;
    background-color: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    align-items: center;
}

.icon.icon-clear, .icon.icon-paste {
    background: url(/static/v3_theme_01_asset/img/paste.svg) no-repeat center;
    margin-right: 3px;
    width: 14px;
    height: 14px;
}

i.icon {
    height: 1em;
    width: 1em;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 15px;
    min-width: 230px; /* 设置轮播可视区域宽度 */
    flex: 1;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px; /* 控制淡入淡出效果的宽度 */
    pointer-events: none;
    background: linear-gradient(to right, white 0%, transparent 100%);
    z-index: 2;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.carousel-wrapper::after {
    right: 0;
    transform: rotateZ(180deg);
}

.carousel-icon {
    position: absolute;
    white-space: nowrap; /* 确保items在一行显示 */
    animation: scroll 20s linear infinite;
}

.carousel-icon-item {
    flex: 0 0 auto;
    display: inline-block;
    min-width: 50px; /* 单个轮播项的宽度 */
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-545px)); /* X是轮播项的总数 */
    }
}

.carousel-icon-item img {
    width: 50px; /* 根据需要调整图标尺寸 */
    vertical-align: middle;
}

.icon.icon-cd {
    background: url(/static/v3_theme_01_asset/img/cd.svg) no-repeat center;
    background-size: cover;
    margin-right: 3px;
    width: 20px;
    height: 13px;
    display: inline-block;
}

.icon.icon-coffee {
    background: url(/static/v3_theme_01_asset/img/coffee.svg) no-repeat center;
    background-size: cover;
    margin-right: 3px;
    width: 20px;
    height: 13px;
    border-radius: 0 !important;
}

.icon.icon-fire {
    background: url(/static/v3_theme_01_asset/img/fire.svg) no-repeat center;
    background-size: cover;
    width: 20px;
    height: 20px;
    padding-top: 5px;
}

.icon.icon-link {
    background: url(/static/v3_theme_01_asset/img/link.svg) no-repeat center;
    background-size: cover;
}

.icon.icon-heart {
    background: url(/static/v3_theme_01_asset/img/heart.svg) no-repeat center;
    background-size: cover;
}

.dl-btn-group {
    display: flex;
    justify-content: space-between;
    margin-left: -10px;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .dl-btn-group {
        /* 转换为列方向堆叠布局 */
        flex-direction: column;
    }
    .input-group {
        padding-left: 0px !important;
        padding-right: 0px !important;
        top: 20px !important;
    }
    .carousel-wrapper {
       display: none !important;
    }
    .btn-group {
        height: 70px !important;
    }
}

.user-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    padding: 15px;
    margin: auto;
    margin-bottom: 30px;
    margin-top: 30px;
    background-image: url("/static/v3_theme_01_asset/app/tiktok_long.png");
    background-repeat: no-repeat;
    background-position: right; /* 水印的位置 */
    background-size: contain; /* 保持水印整体可见或设置特定尺寸 */
    background-size: 120px; /* 保持水印整体可见或设置特定尺寸 */
}

#user-card-yt {
    background-image: url("/static/v3_theme_01_asset/app/youtube_long.webp") !important ;
}

#user-card-bz {
    background-image: url("/static/v3_theme_01_asset/app/bilibili_long.webp") !important ;
}

#user-card-suno {
    background-image: url("/static/v3_theme_01_asset/app/suno_long.webp") !important ;
}

#user-card-kuaishou {
    background-image: url("/static/v3_theme_01_asset/app/kuaishou_long.webp") !important ;
}

#user-card-xhs {
    background-image: url("/static/v3_theme_01_asset/app/redbook_long.webp") !important ;
}

#user-card-instagram {
    background-image: url("/static/v3_theme_01_asset/app/instagram_long.webp") !important ;
}

#user-card-facebook {
    background-image: url("/static/v3_theme_01_asset/app/facebook_long.webp") !important ;
}

#user-card-twitter {
    background-image: url("/static/v3_theme_01_asset/app/twitter_long.webp") !important ;
}

#user-card-pinterest {
    background-image: url("/static/v3_theme_01_asset/app/pinterest_long.webp") !important ;
}

.user-avatar {
    flex-shrink: 0; /* 防止图片缩放 */
    border-radius: 50%; /* 圆形头像 */
    background-size: cover; /* 背景图片覆盖 */
    background-position: center; /* 背景图片居中 */
    margin-right: 15px; /* 与信息文本的间距 */
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-nickname {
    font-size: 1.2em;
    color: #333; /* 昵称颜色 */
    margin: 0;
    font-weight: 600; /* 字体加粗 */
}

.artwork-name {
    font-size: 1em;
    color: #777; /* 作品名称颜色 */
    margin: 5px 0 0; /* 上间距 */
    padding-right: 100px;
}

.user-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transform: translateY(-5px); /* 当鼠标悬浮时，卡片向上移动 */
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.scroll-top {
    display: none; /* 默认不显示 */
    position: fixed; /* 固定定位 */
    width: 48px;
    height: 48px;
    line-height: 48px;
    bottom: 230px;
    right: 30px;
    z-index: 999;
    cursor: pointer;
    -webkit-transition: 1s ease;
    transition: 1s ease;
    border: none;
    animation: slideIn 0.25s ease forwards; /* 滑入动画，仅运行一次 */
}

.scroll-top:after {
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
}

/* 滑入动画，使得元素从右侧滑入到固定位置 */
@keyframes slideIn {
    from {
        right: -100px; /* 开始位置在屏幕外 */
        opacity: 0; /* 开始时不可见 */
    }
    to {
        right: 30px; /* 最终位置 */
        opacity: 1; /* 最终可见 */
    }
}

@keyframes slideOut {
    from {
        right: 30px; /* 最终位置 */
        opacity: 1; /* 最终可见 */
    }
    to {
        right: -100px; /* 开始位置在屏幕外 */
        opacity: 0; /* 开始时不可见 */
    }
}

/* 点击后的上升动画 */
@keyframes rocketBoost {
    0% {
        bottom: 20px; /* 初始位置 */
        transform: scale(1); /* 初始比例 */
    }
    50% {
        transform: scale(0.5); /* 缩小效果 */
    }
    100% {
        bottom: 100%; /* 飞出屏幕顶部 */
        transform: scale(0.5); /* 缩小效果 */
    }
}

.rocketBoost {
    animation: rocketBoost 1s ease forwards; /* 点击后的上升动画 */
}

#paste_textarea_btn a:hover {
    color: #f06595 !important;
}

#navbarLoginDropdownTipsText {
    transition: all 0.3s ease; /* 平滑过渡效果 */
    cursor: pointer; /* 将鼠标样式改为指针，更好的交互体验 */
}

#navbarAppDropdownTipsText {
    transition: all 0.3s ease; /* 平滑过渡效果 */
    cursor: pointer; /* 将鼠标样式改为指针，更好的交互体验 */
}

#navbarLangDropdownTipsText {
    transition: all 0.3s ease; /* 平滑过渡效果 */
    cursor: pointer; /* 将鼠标样式改为指针，更好的交互体验 */
}

.donate-icon-button {
    position: relative;
    padding-left: 30px; /* 左侧留出足够的空间来显示图标 */
}

.donate-icon-button::before {
    content: "";
    position: absolute;
    top: 0px; /* 根据需要调整以垂直居中或对齐 */
    left: 0;
    width: 55px; /* 图标的宽度 */
    height: 55px; /* 图标的高度 */
    background-image: url('/static/v3_theme_01_asset/img/donate.webp'); /* 替换为你的图标图片地址 */
    background-size: cover; /* 或者使用 contain，视图标实际情况而定 */
}

.col-3-5 {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 32%
}

.kofitext img.kofiimg {
    height: 15px !important;
    width: 22px !important;
    display: initial;
    animation: kofi-wiggle 3s infinite;
}

img.kofiimg {
    display: initial !important;
    vertical-align: middle;
    height: 13px !important;
    width: 20px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none;
    margin-top: 0;
    margin-right: 5px !important;
    margin-left: 0 !important;
    margin-bottom: 3px !important;
    content: url('/static/v3_theme_01_asset/img/coffee.svg');
}

@keyframes kofi-wiggle {
    0% {
        transform: rotate(0) scale(1);
    }
    60% {
        transform: rotate(0) scale(1);
    }
    75% {
        transform: rotate(0) scale(1.12);
    }
    80% {
        transform: rotate(0) scale(1.1);
    }
    84% {
        transform: rotate(-10deg) scale(1.1);
    }
    88% {
        transform: rotate(10deg) scale(1.1);
    }
    92% {
        transform: rotate(-10deg) scale(1.1);
    }
    96% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(0) scale(1);
    }
}

.sweep{
    overflow:hidden;
}
.sweep:before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 12px;/**光标的宽度，可根据实际调整**/
    background-color: rgba(255,255,255,.5);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: flashlights 1s ease-in 1s infinite;
    -o-animation: flashlights 1s ease-in 1s infinite;
    animation: flashlights 1.5s ease-in 1s infinite;/**1.5数字参数控制扫光速度，数字越大越慢**/
}
@-webkit-keyframes flashlights {
    0% { left: -100px; top: 0; }
    to { left: 120px; top: 100px; }
}
@-o-keyframes flashlights {
    0% { left: -100px; top: 0; }
    to { left: 120px; top: 100px; }
}
@-moz-keyframes flashlights {
    0% { left: -100px; top: 0; }
    to { left: 120px; top: 100px; }
}
@keyframes flashlights {
    0% { left: -100px; top: 0; }
    to { left: 120px; top: 100px; }
}

/* 确保广告容器在不同屏幕尺寸下有合理的布局 */
.ad-container {
    max-width: 1200px; /* 根据实际情况调整广告最大宽度 */
    max-height: 300px; /* 4:1宽高比 */
    margin: 0 auto; /* 居中显示 */
    overflow: hidden;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.vip-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    height: 13px;
    width: 36px;
}

.wavy-underline-small {
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: #ffd43b;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
}

.live-stream-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    fill: white;
    z-index: 1;
    width: 20px; /* 调整图标宽度 */
    height: 20px; /* 调整图标高度 */
    opacity: 0.8; /* 调整图标透明度 */
    display: flex;
    align-items: center; /* 垂直居中对齐 */
}

.user_history_download_count_span {
    font-weight: 600;
    display: inline-block;
    min-width: 2ch;
    text-align: center;
}

.textarea-error {
    background: #ffe6e6 !important;
}