body {
    font-family: 'open sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal !important;
}

.m_active {
    color: #fff !important;
}

.auto-generate-tid {
    outline: none;
}

.auto-generate-tid:focus {
    outline: none; /* 移除焦点样式 */
}

/* 容器样式 */
.video-thumbnail {
    position: relative;
    width: 100px;
    /*cursor: pointer;*/
}

/* 容器样式 */
.video-thumbnail {
    position: relative;
    width: 100px;
    /*cursor: pointer;*/
}

/* 缩略图样式 */
.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    position: relative; /* 确保图片在堆叠上下文中 */
    z-index: 1; /* 图片在下方 */
}

/* 播放按钮样式 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2; /* 按钮在上方 */
}

/* 播放按钮悬停效果 */
.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 轮播图排序 */
.input-container {
    position: relative;
    display: inline-block;
}

.numberInput {
    width: 70px;
    padding-right: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 30px;
    box-sizing: border-box;
}

.arrow-container {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.increaseBtn, .decreaseBtn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
}

.increaseBtn:hover, .decreaseBtn:hover {
    color: #007bff;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3f3f4; /* 背景颜色 */
    z-index: -1; /* 确保粒子特效在登录表单后面 */
}

.video-thumbnail {
    position: relative; /* 确保播放按钮相对于缩略图定位 */
    /*display: inline-block; !* 确保容器大小与图片一致 *!*/
}

.play-button {
    position: absolute; /* 绝对定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 精确居中 */
    font-size: 24px; /* 图标大小 */
    color: rgba(255, 255, 255, 0.8); /* 白色，80% 透明度 */
    background-color: rgba(0, 0, 0, 0.5); /* 黑色背景，50% 透明度 */
    border-radius: 50%; /* 圆形按钮 */
    width: 36px; /* 按钮宽度 */
    height: 36px; /* 按钮高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* 鼠标指针样式 */
    margin-left: -9px;
}

.play-button:hover {
    color: rgba(255, 255, 255, 1); /* 鼠标悬停时图标完全不透明 */
    background-color: rgba(0, 0, 0, 0.7); /* 鼠标悬停时背景更暗 */
}

.th-prompt > div.th-inner {
    width: 150px !important;
}

.th-tmp-id > div.th-inner {
    width: 150px !important;
}

.th-author > div.th-inner {
    width: 100px !important;
}
.th-created-time > div.th-inner {
    width: 150px !important;
    text-align: center;
}
.th-vs > div.th-inner {
    width: 80px !important;
}

.table {
    border: 0 !important; /* 去掉表格外边框 */
}

.table th,
.table td {
    border: 0 !important; /* 去掉单元格边框 */
}

/* 去掉表格容器的边框 */
.fixed-table-container {
    border: none !important;
}

/* 去掉表格的边框 */
.table {
    border: none !important;
}

/* 去掉表头的边框 */
.fixed-table-header {
    border: none !important;
}

/* 去掉表格行的边框 */
.table > thead > tr > th,
.table > tbody > tr > td {
    border: none !important;
}

.layui-layer-tips .layui-layer-content {
    white-space: normal !important; /* 允许换行 */
    word-wrap: break-word !important; /* 长单词或 URL 换行 */
}
