/* ============================================================
   通用头部和脚部样式
   ============================================================ */

.scm-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.3) !important;
}

.scm-header-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 15px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.scm-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.scm-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: white !important;
}

.scm-logo-icon {
    font-size: 28px !important;
}

.scm-logo-text {
    font-size: 20px !important;
    font-weight: 700 !important;
}

.scm-slogan {
    font-size: 13px !important;
    opacity: 0.9 !important;
    padding-left: 15px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.scm-nav {
    display: flex !important;
    align-items: center !important;
}

.scm-nav-list {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 5px !important;
    align-items: center !important;
}

.scm-nav-item a,
.scm-nav-list li a {
    display: inline-block !important;
    padding: 8px 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
}

.scm-nav-item a:hover,
.scm-nav-list li a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

.scm-nav-item.active a,
.scm-nav-list li.current a,
.scm-nav-list li.active a,
.scm-nav-list a.active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.scm-footer {
    background: #1e2329 !important;
    color: #999 !important;
    padding: 40px 0 0 !important;
    margin-top: 40px !important;
    clear: both;
    float: none;
    border: none;
    font-size: 14px;
    line-height: 1.6;
}

.scm-footer-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative;
}

.scm-footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 40px !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid #2d343b !important;
}

.scm-footer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: white !important;
    margin-bottom: 15px !important;
}

.scm-footer-logo .scm-logo-icon {
    font-size: 24px !important;
}

.scm-footer-logo .scm-logo-text {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: white !important;
}

.scm-footer-desc {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #999 !important;
    margin: 0 !important;
}

.scm-footer-title {
    color: white !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.scm-footer-link-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.scm-footer-link-list li {
    margin-bottom: 10px !important;
}

.scm-footer-link-list a {
    color: #999 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.2s ease;
    display: inline-block;
}

.scm-footer-link-list a:hover {
    color: #667eea !important;
}

.scm-footer-copyright {
    padding: 20px 0 !important;
    text-align: center !important;
    font-size: 13px !important;
}

.scm-footer-copyright p {
    margin: 5px 0 !important;
    color: #666 !important;
}

.scm-footer-icp {
    color: #666 !important;
}

/* ============================================================
   详情页 PC 端样式
   ============================================================ */

.detail-page {
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.detail-page .scm-header + * {
    flex: 1;
}

.detail-breadcrumb {
    padding: 0 0 20px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left !important;
}

.detail-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.detail-breadcrumb a:hover {
    text-decoration: underline;
}

.detail-breadcrumb span {
    color: #999;
    font-size: 14px;
}

.detail-breadcrumb .current {
    color: #333;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.detail-main {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-header-box {
    margin-bottom: 25px;
}

.detail-header-box .detail-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.detail-header-box .detail-offline-badge {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 13px;
    margin-left: 10px;
}

.detail-header-box .detail-views {
    float: right;
    color: #999;
    font-size: 13px;
    margin-top: 5px;
}

.detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 15px 0 20px;
    line-height: 1.4;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.detail-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.detail-offline-banner {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-offline-icon {
    font-size: 24px;
}

.detail-offline-text {
    color: #dc2626;
    font-size: 14px;
}

.detail-gallery {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.detail-gallery-main {
    text-align: center;
    margin-bottom: 15px;
}

.detail-gallery-main img {
    max-width: 680px;
    border-radius: 12px;
    object-fit: contain;
}

.detail-gallery-main .placeholder {
    font-size: 100px;
    padding: 50px 0;
}

.detail-gallery-detail {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.detail-gallery-detail-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.detail-gallery-detail img {
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.detail-gallery .fallback-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 24px;
    color: #999;
}

.detail-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px dashed #ddd;
    gap: 10px;
}

.detail-no-image-icon {
    font-size: 40px;
    opacity: 0.4;
}

.detail-no-image-text {
    font-size: 14px;
    color: #999;
}

.detail-specs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.detail-spec-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecff 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.detail-spec-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.detail-spec-label {
    font-size: 13px;
    color: #666;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #667eea;
}

.detail-info-list {
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.detail-info-item {
    display: flex;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-info-item:last-child {
    border-bottom: none;
}

.detail-info-label {
    width: 100px;
    flex-shrink: 0;
    color: #666;
    font-size: 14px;
}

.detail-info-value {
    flex: 1;
    color: #1a1a1a;
    font-size: 14px;
}

.detail-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 80px;
}

.detail-price-box {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.detail-price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.detail-price-value {
    font-size: 42px;
    font-weight: 700;
    color: #dc2626;
}

.detail-price-value .unit {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.detail-action-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.detail-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.detail-action-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.detail-action-btn.disabled:hover {
    transform: none;
}

.detail-quick-info {
    margin-top: 20px;
}

.detail-quick-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.detail-quick-info-item:last-child {
    border-bottom: none;
}

.detail-quick-info-label {
    color: #666;
}

.detail-quick-info-value {
    color: #333;
    font-weight: 500;
}

/* ============================================================
   详情图样式
   ============================================================ */

.detail-detail-images {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
}

.detail-detail-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ============================================================
   移动端样式（独立文件，通过 @media 或者独立 CSS 文件）
   ============================================================ */

/* 移动端：卡片网格调整 */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .card-card-title {
        font-size: 13px;
        line-height: 1.3;
        min-height: 34px;
    }
    
    .card-card-price-value {
        font-size: 18px;
    }
    
    .card-card-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .card-card-specs {
        min-height: 20px;
    }
    
    .card-card-spec {
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .card-carrier-tabs {
        padding: 0 15px;
    }
    
    .card-carrier-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .card-carrier-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .card-carrier-text {
        display: none;
    }
    
    .card-site-name {
        font-size: 18px;
    }
    
    .card-site-slogan {
        display: none;
    }
    
    .card-search-input {
        font-size: 14px;
    }
    
    .card-empty {
        padding: 40px 20px;
    }
    
    .card-empty-icon {
        font-size: 60px;
    }
    
    .card-page-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .card-page-info {
        font-size: 12px;
    }
}

.detail-footer-sticky {
    display: none;
}

/* 移动端：详情页 */
@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px 80px;
    }
    
    .detail-main {
        padding: 20px;
        order: 2;
    }
    
    .detail-sidebar {
        order: 1;
    }
    
    .detail-sidebar-card {
        position: static;
        padding: 20px;
    }
    
    .detail-header-box .detail-views {
        float: none;
        display: block;
        margin-top: 10px;
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .detail-specs-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .detail-spec-card {
        padding: 15px 10px;
    }
    
    .detail-spec-value {
        font-size: 18px;
    }
    
    .detail-spec-label {
        font-size: 12px;
    }
    
    .detail-gallery-main img {
        max-width: 100%;
    }
    
    .detail-info-label {
        width: 80px;
        font-size: 13px;
    }
    
    .detail-info-value {
        font-size: 13px;
    }
    
    .detail-price-value {
        font-size: 36px;
    }
    
    .detail-footer-sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 15px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .detail-footer-sticky .sticky-price {
        display: flex;
        align-items: baseline;
    }
    
    .detail-footer-sticky .sticky-price-value {
        font-size: 24px;
        font-weight: 700;
        color: #dc2626;
    }
    
    .detail-footer-sticky .sticky-price-unit {
        font-size: 12px;
        color: #666;
        margin-left: 3px;
    }
    
    .detail-footer-sticky .sticky-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 30px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }
    
    .detail-footer-sticky .sticky-btn.disabled {
        background: #ccc;
    }
    
    .detail-bottom-bar {
        display: none;
    }
    
    .detail-card-inner {
        padding-bottom: 0;
    }
    
    .detail-page .scm-footer {
        padding-bottom: 70px;
    }
}

/* 移动端：头部导航 */
@media (max-width: 768px) {
    .scm-header-inner {
        padding: 12px 15px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .scm-header-left {
        justify-content: center !important;
    }
    
    .scm-slogan {
        display: none !important;
    }
    
    .scm-logo-icon {
        font-size: 24px !important;
    }
    
    .scm-logo-text {
        font-size: 18px !important;
    }
    
    .scm-nav-item a,
    .scm-nav-list li a {
        padding: 6px 14px !important;
        font-size: 13px !important;
    }
    
    .scm-nav {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

/* 移动端：底部 */
@media (max-width: 768px) {
    .scm-footer-content {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .scm-footer {
        padding-top: 25px !important;
    }
    
    .scm-footer-title {
        font-size: 14px !important;
    }
    
    .scm-footer-link-list li {
        margin-bottom: 8px !important;
    }
}

/* 侧边栏：IP推荐模块 */
.scm-recommend-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

.scm-recommend-box dt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 15px;
    border: none;
}

.scm-recommend-box dd {
    padding: 15px;
}

.scm-recommend-location {
    font-size: 13px;
    color: #667eea;
    background: #f0f2ff;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.scm-recommend-location span {
    font-weight: 600;
}

.scm-recommend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scm-recommend-item {
    margin-bottom: 12px;
}

.scm-recommend-item:last-child {
    margin-bottom: 0;
}

.scm-recommend-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.scm-recommend-link:hover {
    background: #f0f2ff;
    transform: translateX(3px);
}

.scm-recommend-main {
    flex: 1;
    min-width: 0;
}

.scm-recommend-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scm-recommend-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.scm-recommend-carrier {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.scm-recommend-traffic {
    color: #ff6b6b;
}

.scm-recommend-price {
    text-align: right;
    margin-left: 10px;
}

.scm-recommend-price-num {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b6b;
}

.scm-recommend-price-unit {
    font-size: 12px;
    color: #999;
}

.scm-recommend-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

/* 侧边栏：滚动播报模块 */
.scm-broadcast-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

.scm-broadcast-box dt {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 15px;
    border: none;
}

.scm-broadcast-box dd {
    padding: 0;
}

.scm-broadcast-container {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.scm-broadcast-list {
    list-style: none;
    padding: 15px;
    margin: 0;
    animation: scm-scroll 30s linear infinite;
}

.scm-broadcast-list:hover {
    animation-play-state: paused;
}

@keyframes scm-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.scm-broadcast-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.scm-broadcast-item:last-child {
    border-bottom: none;
}

.scm-broadcast-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
}

.scm-broadcast-content {
    flex: 1;
    min-width: 0;
}

.scm-broadcast-text {
    font-size: 13px;
    color: #333;
    margin-bottom: 3px;
    line-height: 1.5;
}

.scm-broadcast-phone {
    font-weight: 600;
    color: #667eea;
    margin-right: 5px;
}

.scm-broadcast-action {
    color: #52c41a;
    margin: 0 5px;
}

.scm-broadcast-package {
    color: #333;
    font-weight: 500;
}

.scm-broadcast-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.scm-broadcast-area {
    color: #999;
}

.scm-broadcast-time {
    color: #999;
}

/* 列表页样式：与号卡页面一致 */
.scm-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.scm-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.scm-post-header {
    padding: 20px 20px 15px;
}

.scm-post-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.scm-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.scm-post-title a:hover {
    color: #667eea;
}

.scm-post-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.scm-post-info span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.scm-post-info a {
    color: #667eea;
    text-decoration: none;
}

.scm-post-body {
    padding: 0 20px 20px;
}

.scm-post-content {
    display: flex;
    gap: 20px;
}

.scm-post-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.scm-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scm-post-card:hover .scm-post-thumb img {
    transform: scale(1.05);
}

.scm-post-excerpt {
    flex: 1;
}

.scm-post-excerpt p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scm-post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.scm-post-readmore:hover {
    opacity: 0.9;
    transform: translateX(3px);
}

/* 文章页样式：与号卡页面一致 */
.scm-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.scm-article-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.scm-article-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.scm-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #999;
}

.scm-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.scm-article-meta a {
    color: #667eea;
    text-decoration: none;
}

.scm-article-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.scm-article-content p {
    margin-bottom: 20px;
}

.scm-article-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #667eea;
    color: #333;
}

.scm-article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: #333;
}

.scm-article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
}

.scm-article-content blockquote {
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9faff;
    border-radius: 0 8px 8px 0;
    color: #666;
}

.scm-article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
}

.scm-article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.scm-article-tags-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.scm-article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scm-article-tag {
    padding: 5px 14px;
    background: #f0f2ff;
    color: #667eea;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.scm-article-tag:hover {
    background: #667eea;
    color: #fff;
}

.scm-article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.scm-article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.scm-article-nav-link {
    flex: 1;
    padding: 15px 20px;
    background: #fafafa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.scm-article-nav-link:hover {
    background: #f0f2ff;
}

.scm-article-nav-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.scm-article-nav-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 办卡弹窗样式 */
.apply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.apply-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.apply-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.apply-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.apply-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.apply-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-modal-close:hover {
    background: #eee;
    color: #333;
}

.apply-modal-body {
    padding: 24px;
}

.apply-modal-tip {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    text-align: center;
}

.apply-option {
    margin-bottom: 20px;
}

.apply-btn-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
}

.apply-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.apply-btn-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.apply-btn-text {
    font-size: 16px;
    font-weight: 600;
}

.apply-btn-desc {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

.apply-contact {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
}

.apply-contact-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.apply-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.apply-contact-item:last-child {
    border-bottom: none;
}

.apply-contact-icon {
    font-size: 20px;
    margin-right: 12px;
}

.apply-contact-label {
    width: 50px;
    font-size: 14px;
    color: #666;
}

.apply-contact-value {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.apply-qrcode-item {
    flex-direction: column;
    text-align: center;
}

.apply-qrcode-item .apply-contact-label {
    width: auto;
    margin-bottom: 12px;
}

.apply-qrcode-img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .scm-post-thumb {
        width: 120px;
        height: 90px;
    }
    
    .scm-post-content {
        gap: 12px;
    }
    
    .scm-post-header,
    .scm-post-body {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .scm-post-title {
        font-size: 17px;
    }
    
    .scm-article-title {
        font-size: 22px;
    }
    
    .scm-article-container {
        padding: 20px 15px;
    }
    
    .scm-article-nav-links {
        flex-direction: column;
    }
    
    .scm-article-nav-link {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .scm-post-content {
        flex-direction: column;
    }
    
    .scm-post-thumb {
        width: 100%;
        height: 180px;
    }
    
    .scm-post-excerpt p {
        -webkit-line-clamp: 3;
    }
}

/* ============================================================
   统一页面布局样式
   ============================================================ */

body.index, body.category, body.tag, body.author, body.search, body.article, body.page {
    background: #f5f7fa;
}

.scm-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 50px;
}

.scm-page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.scm-page-main {
    min-width: 0;
}

.scm-page-sidebar {
    position: sticky;
    top: 80px;
}

.scm-page-sidebar .widget {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.scm-page-sidebar .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.scm-page-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scm-page-sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.scm-page-sidebar li:last-child {
    border-bottom: none;
}

.scm-page-sidebar a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.scm-page-sidebar a:hover {
    color: #667eea;
}

@media (max-width: 1024px) {
    .scm-page-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .scm-page-sidebar {
        display: none;
    }
}

.scm-page-breadcrumb {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.scm-page-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.scm-page-breadcrumb a:hover {
    text-decoration: underline;
}

.scm-page-breadcrumb span {
    color: #999;
    font-size: 14px;
}

.scm-page-breadcrumb .current {
    color: #333;
}

.scm-page-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 15px 0 25px;
    line-height: 1.4;
}

.scm-page-header {
    margin-bottom: 25px;
}

.scm-page-list {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.scm-page-article {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

/* 文章内容样式 */
.scm-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.scm-article-content p {
    margin-bottom: 20px;
}

.scm-article-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #667eea;
    color: #333;
}

.scm-article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: #333;
}

.scm-article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
}

.scm-article-content blockquote {
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9faff;
    border-radius: 0 8px 8px 0;
    color: #666;
}

.scm-article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
}

.scm-article-content ul,
.scm-article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.scm-article-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.scm-article-content ol li {
    list-style: decimal;
}

/* 分页样式 */
.scm-pagebar {
    text-align: center;
    padding: 30px 0;
}

.scm-pagebar a,
.scm-pagebar span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 3px;
    background: white;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.scm-pagebar a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.scm-pagebar .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.scm-pagebar .pagebar-prev,
.scm-pagebar .pagebar-next {
    padding: 10px 20px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .scm-page-container {
        padding: 20px 15px 40px;
    }
    
    .scm-page-title {
        font-size: 20px;
    }
    
    .scm-page-list {
        padding: 15px;
    }
    
    .scm-page-article {
        padding: 20px;
    }
    
    .scm-article-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .scm-article-content h2 {
        font-size: 18px;
    }
    
    .scm-article-content h3 {
        font-size: 16px;
    }
    
    .scm-post-content {
        flex-direction: column;
    }
    
    .scm-post-thumb {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .scm-post-excerpt p {
        -webkit-line-clamp: 3;
    }
    
    .banner {
        border-radius: 12px;
    }
}
