/* 《醉梦》结局解析专题 /special/zuimeng/ */

.zm-article {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 28px 32px 32px 32px;
    /*margin-top: 16px;*/
}

/* 标题区 */
.zm-head {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.zm-head h1 {
    font-size: 26px;
    font-weight: bold;
    color: #222;
    line-height: 1.5;
    margin-bottom: 10px;
}
.zm-head-meta {
    font-size: 14px;
    color: #999;
}

/* 区块 */
.zm-section {
    margin-bottom: 32px;
}
.zm-section:last-child {
    margin-bottom: 0;
}
.zm-section h2 {
    font-size: 21px;
    font-weight: bold;
    color: #222;
    line-height: 1.5;
    padding-left: 12px;
    border-left: 4px solid #ff6b00;
    margin-bottom: 16px;
}
.zm-section p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 12px;
}
.zm-section h3 {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin: 24px 0 10px 0;
}
.zm-section h3:first-of-type {
    margin-top: 18px;
}

/* 导语 */
.zm-lead {
    background: #fff6ef;
    border-left: 4px solid #ff6b00;
    border-radius: 4px;
    padding: 18px 20px;
}
.zm-lead p {
    margin-bottom: 0;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.95;
}

/* 表格 */
.zm-scroll {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}
.zm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.8;
}
.zm-table-wide {
    min-width: 760px;
}
.zm-table th {
    background: #fff6ef;
    color: #333;
    font-weight: bold;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #f0f0f0;
    white-space: nowrap;
}
.zm-table td {
    color: #555;
    padding: 10px 14px;
    border: 1px solid #f0f0f0;
    vertical-align: top;
}
.zm-table tbody tr:nth-child(even) td {
    background: #fcfcfc;
}
.zm-table td:first-child {
    color: #333;
    font-weight: bold;
}

/* 状态标签 */
.zm-tag {
    display: inline-block;
    background: #fff6ef;
    color: #ff6b00;
    font-size: 13px;
    line-height: 1.6;
    padding: 1px 8px;
    border-radius: 2px;
    white-space: nowrap;
}

/* 编辑短评 */
.zm-note {
    background: #f7f8fa;
    border-left: 3px solid #ff6b00;
    border-radius: 0 4px 4px 0;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.zm-note p {
    font-size: 14px;
    color: #666;
    line-height: 1.85;
    margin-bottom: 0;
}

/* 未解之谜条目 */
.zm-item {
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 4px 20px 16px 20px;
    margin-bottom: 16px;
}
.zm-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
}
.zm-item strong {
    color: #333;
}
.zm-mark {
    font-size: 13px !important;
    color: #ff6b00 !important;
    background: #fff6ef;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 0 !important;
}

/* 角色表中的站内链接 */
.zm-links {
    white-space: nowrap;
    font-size: 13px;
}
.zm-links a {
    color: #ff6b00;
    text-decoration: none;
}
.zm-links a:hover {
    text-decoration: underline;
}
.zm-none {
    color: #bbb;
    font-size: 13px;
}

/* 相关页面列表 */
.zm-link-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
}
.zm-link-list li {
    margin: 0;
}
.zm-link-list a {
    display: inline-block;
    background: #f7f8fa;
    color: #444;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.zm-link-list a:hover {
    background: #ff6b00;
    color: #fff;
}
.zm-more-link {
    margin-top: 18px;
}
.zm-more-link a {
    color: #ff6b00;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}
.zm-more-link a:hover {
    text-decoration: underline;
}

/* 角色解析文章列表 */
.zm-article-list {
    list-style: none;
    margin-bottom: 8px;
}
.zm-article-list li {
    background: #f7f8fa;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 8px;
}
.zm-article-list li a {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s;
}
.zm-article-list li a:hover {
    color: #ff6b00;
}
.zm-article-list li p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin: 4px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 侧边栏目录吸顶 */
.main-right .sidebar {
    position: sticky;
    top: 16px;
}

/* 侧边栏目录当前项高亮 */
.main-right .sidebar-list li a.active {
    color: #ff6b00;
    font-weight: bold;
}

/* 小屏侧边栏移到正文下方，取消吸顶 */
@media screen and (max-width: 1024px) {
    .main-right .sidebar {
        position: static;
        top: auto;
    }
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .zm-article {
        padding: 18px 16px 24px 16px;
        margin-top: 8px;
    }
    .zm-head h1 {
        font-size: 20px;
    }
    .zm-section h2 {
        font-size: 17px;
        padding-left: 10px;
        border-left-width: 3px;
    }
    .zm-section h3 {
        font-size: 16px;
        margin-top: 20px;
    }
    .zm-section p,
    .zm-lead p,
    .zm-item p {
        font-size: 14px;
        line-height: 1.85;
    }
    .zm-table {
        font-size: 13px;
    }
    .zm-table th,
    .zm-table td {
        padding: 8px 10px;
    }
    .zm-table-wide {
        min-width: 640px;
    }
    .zm-lead,
    .zm-note {
        padding: 14px;
    }
    .zm-item {
        padding: 2px 14px 12px 14px;
    }
}
