/**
 * 彩种栏目 hub 页（双色球 / 3D / 快乐8 / 七乐彩 等）
 */
body.channel-hub-page {
    --hub-panel-bg: rgba(255, 255, 255, 0.1);
    --hub-panel-border: rgba(255, 255, 255, 0.15);
    --hub-panel-radius: 10px;
    --hub-gap: 12px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a0a0a 0%, #8b1a1a 100%);
    color: #fff;
}

.channel-hub-page .channel-hub-main {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 8px 12px 24px;
}

.channel-hub-page .ld-channel-breadcrumb,
.channel-hub-page .article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 10px;
    padding: 10px 14px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg, 12px);
}

.channel-hub-page .ld-channel-breadcrumb a,
.channel-hub-page .article-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color var(--transition-fast, 0.2s);
}

.channel-hub-page .ld-channel-breadcrumb a:hover,
.channel-hub-page .article-breadcrumb a:hover {
    color: var(--color-accent, #f5a623);
}

.channel-hub-page .ld-channel-breadcrumb .sep,
.channel-hub-page .article-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
}

.channel-hub-page .ld-channel-breadcrumb .article-breadcrumb-current,
.channel-hub-page .article-breadcrumb-current {
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.channel-hub-page .channel-hub-panel {
    background: var(--hub-panel-bg);
    border: 1px solid var(--hub-panel-border);
    border-radius: var(--hub-panel-radius);
    overflow: hidden;
    margin-bottom: var(--hub-gap);
}

.channel-hub-page .channel-hub-panel .category-title {
    font-size: 1.12rem;
    margin: 0;
    padding: 10px 12px 10px 10px;
    border-left: 4px solid #f5a623;
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #ffe8b0;
    letter-spacing: 0.02em;
}

.channel-hub-page .channel-title-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-hub-page .channel-title-icon-wrap i {
    color: #f5a623;
    font-size: 1rem;
    opacity: 0.92;
}

.channel-hub-page .channel-hub-panel .lottery-logo {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
}

.channel-hub-page .channel-hub-panel .lottery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
}

.channel-hub-page .channel-hub-panel .lottery-card {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 8px;
    min-height: 44px;
    display: grid;
    place-items: center;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.channel-hub-page .channel-hub-panel .lottery-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    transform: none;
    box-shadow: none;
}

.channel-hub-page .channel-hub-panel .lottery-card .card-icon {
    display: none;
}

.channel-hub-page .channel-hub-panel .lottery-card h4 {
    margin: 0;
    font-size: clamp(0.78rem, 3.2vw, 0.9rem);
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.channel-hub-page .channel-hub-panel .lottery-card p {
    display: none;
}

.channel-hub-page .articles-section {
    background: var(--hub-panel-bg);
    border: 1px solid var(--hub-panel-border);
    border-radius: var(--hub-panel-radius);
    overflow: hidden;
    padding: 0;
    color: rgba(255, 255, 255, 0.92);
}

.channel-hub-page .articles-section > .section-title {
    margin: 0;
    padding: 10px 12px 10px 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-hub-page .articles-section > .section-title i {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.channel-hub-page .article-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.channel-hub-page .article-group {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.channel-hub-page .article-group:first-child {
    border-top: none;
}

.channel-hub-page .article-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 6px;
}

.channel-hub-page .article-group-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffe8b0;
    letter-spacing: 0.02em;
}

.channel-hub-page .article-group-more {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.channel-hub-page .article-group-more:hover {
    color: #f5a623;
    background: rgba(255, 255, 255, 0.06);
}

.channel-hub-page .article-group .articles-list {
    padding-top: 0;
}

.channel-hub-page .articles-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 8px 8px;
}

.channel-hub-page .article-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.15s ease;
}

.channel-hub-page .article-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.channel-hub-page .article-date {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.channel-hub-page .article-title {
    flex: 1;
    min-width: 0;
    font-size: 0.84rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-hub-page .article-hits {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .channel-hub-page .channel-hub-main {
        padding: 6px 10px 20px;
    }

    .channel-hub-page .ld-channel-breadcrumb,
    .channel-hub-page .article-breadcrumb {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .channel-hub-page .channel-hub-panel .category-title {
        font-size: 1.05rem;
        padding: 9px 10px 9px 8px;
    }

    .channel-hub-page .channel-hub-panel .lottery-grid {
        gap: 6px;
        padding: 8px;
    }

    .channel-hub-page .channel-hub-panel .lottery-card {
        min-height: 40px;
        padding: 8px 6px;
    }

    .channel-hub-page .channel-hub-panel .lottery-card h4 {
        font-size: clamp(0.82rem, 3.4vw, 0.9rem);
    }

    .channel-hub-page .article-date {
        display: none;
    }

    .channel-hub-page .article-group-head {
        padding: 8px 10px 4px;
    }

    .channel-hub-page .article-group-title {
        font-size: 0.84rem;
    }
}

@media (max-width: 390px) {
    .channel-hub-page .channel-hub-panel .lottery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
