@charset "utf-8";
/* 预览模式提示 */
.preview-tip {
    position: absolute;
    top:85px;
    left: 50%;
    transform: translateX(-50%);
    width: 154px;
    height: 40px;
    margin: 0 auto;
    background: #FF0000;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    display: none;
    align-items: center;
    justify-content: center;
}

/* 详情页面样式 */
.detail-container {
    margin-top: 45px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0;
    max-width: 1500px;
}

.detail-content {
    padding: 20px 0px 30px 30px;
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: -1px 1px 5px 1px rgba(36, 121, 215, 0.16);
    gap: 0;
    position: relative;
}

.detail-float {
    position: absolute;
    bottom: 25px;
    left: 30px;
    color: #DCDCDC;
    font-size: 26px;
}

/* 瀑布流加载动画 */
.waterfall-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.waterfall-loading-spinner .loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #e0e0e0;
    border-top-color: #4DDFB3;
    border-radius: 50%;
    animation: waterfall-spin 0.8s linear infinite;
}

@keyframes waterfall-spin {
    to {
        transform: rotate(360deg);
    }
}

.waterfall-favorites-float {
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

/* 左侧图片区域 */
.detail-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.detail-image {
    position: relative;
    width:900px;
    height: 600px;
    border-radius: 10px;
    background-color: #f0f0f0;
    flex-shrink: 0;
}

.swiperContainer {
    width: 100%;
    height: 100%;
}

.swiper-slide,
.swiper-slide img {
    border-radius: 10px !important;
}

.swiper {
    position: relative;
}

.swiper-custom1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-image:hover .swiper-custom1 {
    opacity: 1;
}

.swiper-custom1 .iconfont {
    font-size: 30px;
    color: #C1C1C1;
}

/* 左侧图标区域 */
.detail-icons {
    display: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: visible;
    width: 80px;
    flex-shrink: 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.icon-item img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.icon-item:hover {
    opacity: 1;
}

.icon-item .iconfont {
    font-size: 25px;
}

.icon-item .icon-shoucangyishoucang{
    color: #FF9999;
}

.icon-item .icon-shuoming-mian {
    color: #FBCE6E;
}

.icon-item .icon-jinggao-F {
    color: #FB6E6E;
}

.icon-item span {
    margin-top: 5px;
    font-size: 12px;
    color: #CCCCCC;
}

/* 分享弹窗 */
.share-popover {
    position: fixed;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 5px rgba(36, 121, 215, 0.16);
    opacity: 0;
    visibility: hidden;
    width: 250px;
    z-index: 9999;
}

.share-popover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 30px 20px 30px;
}

.share-popover .share-title {
    font-size: 18px;
    color: #131313;
}

.share-popover .share-qr-code {
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.share-popover .share-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-popover .qr-code-icon {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.share-popover .qr-code-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-popover .qr-code-id {
    margin-top: 8px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 14px;
}

.share-popover .share-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.share-popover .share-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    background: #eee;
    border: none;
    border-radius: 18px;
    font-size: 13px;
    color: #131313;
    cursor: pointer;
    transition: all 0.3s;
}

.share-popover .share-action-btn:hover {
    background: #e8e8e8;
}

.share-popover .share-action-btn .iconfont {
    font-size: 14px;
}

/* 版权说明弹窗样式 */
.copyright-popover {
    position: fixed;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 5px rgba(36, 121, 215, 0.16);
    opacity: 0;
    visibility: hidden;
    width: 450px;
    z-index: 9999;
}

.copyright-content {
    padding: 30px 40px;
}

.copyright-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-align: center;
}

.copyright-text {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.copyright-text p {
    margin: 0 0 8px 0;
}

.copyright-text .special-notice {
    margin-top: 12px;
}

.copyright-text .highlight {
    color: #ff4d4f;
    font-weight: 500;
}

/* 作者信息弹窗样式 */
.author-popover {
    position: fixed;
    background: url("/images/detail/zuozhe_bg.png");
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 100% 60px;
    border-radius: 10px;
    padding: 30px 30px 40px 36px;
    box-shadow: 0px 0px 10px 5px rgba(36, 121, 215, 0.16);
    opacity: 0;
    visibility: hidden;
    width: 330px;
    z-index: 9999;
}

.author-header {
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.author-avatar:hover {
    transform: scale(1.05);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    height: 60px;
    display: flex;
    flex-direction: column;
}

.author-info-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.author-message {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #355efe;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.author-message .iconfont {
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
}

.author-desc {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #999;
}

.author-stats {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.stat-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.stat-actions:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 10px rgba(53, 94, 254, 0.28));
}

.btn-follow,
.btn-works {
    border-radius: 10px;
    width: 47px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.33px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    background: #355efe;
    color: #fff;
}

.author-works {
    padding-top: 16px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.work-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.work-item:hover img {
    transform: scale(1.1);
}

/* 右侧信息区域 */
.detail-right {
    flex: 1;
    padding: 20px 30px 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;

}

.detail-right-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 分类标签 */
.detail-category {
    padding-left: 10px;
    font-family: MicrosoftYaHeiLight;
    font-size: 14px;
    color: #B4B4B4;
}

.detail-category > span{
    cursor: pointer;
}

.detail-category span:not(:first-child) {
    margin-left: 5px;
}

.detail-category span::after {
    content: '/';
    margin-left: 5px;
}

/* 标题 */
.detail-title {
    margin-top: 10px;
    padding-left: 10px;
}

.detail-title h1 {
    font-size: 20px;
    font-family: MicrosoftYaHei;
    font-weight: bold;
    color: #434343;
}

/* 导航标签 */
.detail-nav {
    margin-top: 20px;
    padding-left: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-nav span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.nav-item {
    padding: 4px 15px;
    background: #EBF2FF;
    border-radius: 5px;
    font-size: 14px;
    color: #557ABF;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 信息区域 */
.detail-info {
    margin-top: 20px;
    background-color: rgb(249, 240, 236, .15);
    border-radius: 10px;
    border: 1px solid rgb(249, 240, 236, .15);
    padding: 35px 20px 50px 20px;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    gap: 20px;
}

.info-row .info-item {
    width: 50%;
    flex-shrink: 0;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.4;
}

.info-item label {
    width: 65px;
    color: #131313;
    font-weight: bold;
    flex-shrink: 0;
    display: inline-flex;
    justify-content: space-between;
    font-size: 14px;
}

.info-item-full {
    margin-top: 8px;
    color: #888887;
    font-size: 12px;
}

.info-item label::after {
    content: ':';
}

.info-item>span {
    margin-left: 15px;
    color: #131313;
    font-size: 12px;
}

.source-reposted {
    padding: 5px 10px;
    color: #131313;
    font-size: 12px;
    background: #F9F0EC;
    border-radius: 10px;
}

.download-baidu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: #E9F8FF;
    border-radius: 10px;
}

.download-baidu .icon {
    width: 14px;
    height: 14px;
}

.download-kuake {
    color: #3A25DD;
    background: #F1F0FF;
}

/* 价格区域 */
.detail-price {
    border: 1px solid #E5F3FA;
    box-shadow: 0px 10px 5px -3px rgba(233, 248, 255, 0.61);
    border-radius: 10px;
    padding: 10px 20px 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-wrapper {
    display: inline-flex;
    align-items: baseline;
}

.price-value {
    font-size: 28px;
    font-weight: bold;
    color: #45C0E4;
}

.price-unit {
    font-size: 14px;
    color: #58C7E7;
    margin-left: 5px;
}

.vip-free {
    font-size: 14px;
    color: #58C7E7;
}

/* 下载区域 */
.detail-download {
    margin-top: 20px;
    padding: 12px 0;
    background: linear-gradient(to right, #FFEAC7 0%, #FFEAC7 30%, #FFD47C 100%);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.detail-download:hover {
    background: linear-gradient(to left, #FFEAC7 0%, #FFEAC7 30%, #FFD47C 100%);
}

/* 已下架状态 */
.detail-download.disabled {
    background: #d0d0d0;
    cursor: not-allowed;
}

.download-btn.disabled {
    color: #999;
}

.download-btn {
    font-family: MicrosoftYaHei;
    color: #4C2204;
    font-size: 22px;
    font-weight: bold;
}

.download-code {
    margin-left: 10px;
    font-size: 14px;
    color: #131313;
}

/* 内容介绍部分 */
.content-intro {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 50px;
    padding: 10px 20px 0 20px;
    border-radius: 10px;
    border: 1px solid #F7F7F7;
    box-sizing: border-box;
    overflow-y: hidden;
}

.content-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #434343;
    margin: 0;
}

.content-body {
    padding: 60px 55px 20px 55px;}

.content-body>p,
.content-body>span,
.content-body>a {
    padding-right: 110px;
    font-size: 16px;
    line-height: 1.8;
    color: #434343;
}

.content-body p {
    margin-bottom: 10px;
}

.content-body img {
    margin: 20px auto;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    display: flex;
    align-items: baseline;
}

.detail-comment-box {
    width: 100%;
    margin-top: 40px;
    box-sizing: border-box;
}

.detail-comment-login {
    height: 54px;
    border-radius: 8px;
    background: #F3F3F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}

.detail-comment-login[data-need-login="0"] {
    cursor: default;
}

.detail-comment-login-action {
    color: #FF5D5D;
    font-weight: 600;
}

.detail-comment-form {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.detail-comment-input-wrap {
    min-height: 30px;
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
    padding: 5px 10px;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
}

.detail-comment-upload {
    position: relative;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.detail-comment-upload.is-uploading {
    cursor: default;
}

.detail-comment-upload.is-uploading .iconfont {
    visibility: hidden;
}

.detail-comment-upload.is-uploading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 2px solid rgba(53, 94, 254, 0.16);
    border-top-color: #355efe;
    border-radius: 50%;
    animation: detailCommentUploadSpin 0.8s linear infinite;
}

@keyframes detailCommentUploadSpin {
    to {
        transform: rotate(360deg);
    }
}

.detail-comment-upload .iconfont{
    font-size: 22px;
}

.detail-comment-upload .icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.detail-comment-file {
    display: none;
}

.detail-comment-preview {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.detail-comment-preview img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.detail-comment-preview-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    background: #FF4D4F;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 14px;
    padding: 0;
    cursor: pointer;
}

.detail-comment-textarea {
    min-width: 0;
    flex: 1;
    height: 20px;
    padding: 5px 10px;
    border: none;
    outline: none;
    resize: none;
    overflow-y: hidden;
    color: #666;
    font-size: 13px;
    line-height: 20px;
    font-family: inherit;
}

.detail-comment-textarea::placeholder {
    color: #B6B6B6;
    font-weight: 600;
}

.detail-comment-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.detail-comment-count {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}

.detail-comment-submit {
    width: 78px;
    height: 30px;
    border: none;
    border-radius: 4px;
    background: #77D7F8;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

.detail-comment-submit.is-submitting {
    opacity: 0.72;
    cursor: default;
}

.content-footer {
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 160px;
    width: 100%;
    background: #fff;
    background-blend-mode: multiply;
    box-shadow: 0px -30px 60px 0px #fff, inset 0px 40px 0px 0px #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.read-more-btn {
    padding: 10px 50px;
    background-color: #fff;
    box-shadow: 0px 0px 3px 2px rgba(30, 116, 212, 0.17);
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.read-more-btn span {
    font-size: 20px;
    color: #FB6E6E;
}

.read-more-btn .icon {
    font-size: 20px;
    margin-right: 5px;
}

/* 举报弹窗样式 */
.report-popup {
    width: 805px;
    background: #fff;
    border-radius: 10px !important;
}

#report-popup-template{
    display: none;
}

.report-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    border-radius: 10px 10px 0 0;
    background: #f5f7fa;
    position: relative;
}

.report-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.report-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #999;
    transition: color 0.3s;
}

.report-close:hover {
    color: #333;
}

.report-body {
    padding: 20px 20px 40px 40px;
}

.report-section {
    margin-bottom: 20px;
}

.report-label {
    font-size: 20px;
    font-weight: bold;
    color: #1E1E1E;
}

.report-label .required {
    color: #FF1520;
    font-size: 14px;
    font-weight: normal;
}

.report-label .optional {
    color: #999;
    font-size: 14px;
    font-weight: normal;
}

.report-textarea {
    margin-top: 10px;
    width: 100%;
    height: 180px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    resize: none;
    box-sizing: border-box;
    font-family: inherit;
    color: #333;
}

.report-textarea:focus {
    outline: none;
    border-color: #1890ff;
}

.report-textarea::placeholder {
    color: #999;
}

.report-upload-area {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    padding: 20px;
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
    min-height: 120px;
}

.uploaded-image {
    position: relative;
    flex-shrink: 0;
}

.uploaded-image img {
    width: 114px;
    height: 108px;
    border-radius: 10px;
    object-fit: cover;
}

.uploaded-image .iconfont{
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 16px;
    color: #ff4d4f;
    cursor: pointer;
}

.upload-btn {
    cursor: pointer;
}

.upload-btn .iconfont {
    color: #333;
    font-size: 50px;
    transition: color 0.3s;
}

.upload-btn:hover .iconfont {
    color: #1890ff;
}

#fileInput{
    display: none;
}

.report-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.report-notes {
    display: flex;
    flex-direction: column;
}

.notes-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.notes-content {
    color:#3A3A3A;
    font-size: 12px;
    line-height: 1.5;
}

.notes-content p {
    margin: 0 0 6px 0;
}
.notes-content .notes-warning{
    color: #FFBE44;
}

/* 加载更多登录提示 */
.loadmore-login {
    position: relative;
    margin-top: -280px;
    height: 280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    cursor: pointer;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -120px 50px rgba(255, 255, 255, 0.9);
}

.detail-loadmore-loading {
    width: 100%;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-loadmore-loading-icon {
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    border: 3px solid rgba(53, 94, 254, 0.16);
    border-top-color: #355efe;
    border-radius: 50%;
    animation: detailLoadmoreSpin 0.8s linear infinite;
}

@keyframes detailLoadmoreSpin {
    to {
        transform: rotate(360deg);
    }
}

.report-footer {
    display: flex;
    justify-content: flex-end;
}

.report-submit {
    padding: 5px 40px 7px 40px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: radial-gradient( 0% 0% at 0% 0%, #FFD27E 0%, #FFD47E 100%);
    color: #4C2204;
    transition: all 0.3s;
}

.report-submit:hover {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
}

.swiper-slide {
    background: #fff !important;
}
