/* 公开推广素材 SEO 页 */
.mseo-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 14px 40px;
}

.mseo-nav {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

.mseo-nav a {
    color: #00b38a;
    text-decoration: none;
}

.mseo-nav span {
    margin: 0 6px;
}

.mseo-sheet {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.mseo-hero,
.mseo-list-head {
    padding: 20px 20px 8px;
}

.mseo-h1 {
    margin: 0 0 8px;
    font-size: 1.375rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.mseo-sub {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.mseo-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 12px 20px 24px;
}

@media (max-width: 767.98px) {
    .mseo-layout {
        grid-template-columns: 1fr;
    }
}

.mseo-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mseo-cover {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.mseo-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.mseo-cover figcaption {
    font-size: 0.75rem;
    color: #94a3b8;
    padding: 6px 10px 8px;
}

.mseo-panel {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.mseo-panel-title {
    margin: 0 0 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
}

.mseo-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #334155;
    word-break: break-word;
    white-space: pre-wrap;
}

.mseo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mseo-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f8f3;
    color: #008f6f;
    font-size: 0.8125rem;
}

.mseo-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.mseo-btn-primary {
    background: #00b38a;
    color: #fff;
}

.mseo-btn-ghost {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.mseo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.mseo-card {
    display: block;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s, box-shadow 0.15s;
}

.mseo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.mseo-card-cover {
    aspect-ratio: 3 / 4;
    background: #f1f5f9;
    overflow: hidden;
}

.mseo-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mseo-card-empty {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.mseo-card-body {
    padding: 12px 12px 14px;
}

.mseo-card-title {
    margin: 0 0 6px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mseo-card-book {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mseo-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: #94a3b8;
}

.mseo-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: #64748b;
}

.mseo-pager a {
    color: #00b38a;
    text-decoration: none;
    font-weight: 600;
}

/* 首页模块 */
.dy-idx-mat-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dy-idx-mat-track::-webkit-scrollbar {
    display: none;
}

.dy-idx-mat-card {
    flex: 0 0 148px;
    width: 148px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dy-idx-mat-cover {
    aspect-ratio: 3 / 4;
    background: #f1f5f9;
    overflow: hidden;
}

.dy-idx-mat-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dy-idx-mat-cover-empty {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

.dy-idx-mat-title {
    margin: 0;
    padding: 8px 10px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
