/* ============================================
   Cdhwia - Game Channel (Category) Page Styles
   Doodle Comic Theme
   ============================================ */

/* --- Channel Page Header --- */
.cd-channel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--cd-surface);
    border: 2.5px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: var(--cd-shadow);
}

.cd-channel-header-icon {
    font-size: 42px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cd-accent-dim);
    border: 2.5px solid var(--cd-border);
    border-radius: var(--cd-radius);
    flex-shrink: 0;
    box-shadow: var(--cd-shadow-sm);
}

.cd-channel-header-info {
    flex: 1;
}

.cd-channel-header-name {
    font-family: var(--cd-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--cd-text);
    margin-bottom: 4px;
}

.cd-channel-header-desc {
    font-family: var(--cd-font-hand);
    font-size: 16px;
    color: var(--cd-text-muted);
    line-height: 1.5;
}

.cd-channel-game-count {
    font-family: var(--cd-font-hand);
    font-size: 16px;
    color: var(--cd-text-muted);
    margin-bottom: 20px;
}

/* --- Channel Grid --- */
.cd-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

/* --- Channel Recommend Section --- */
.cd-channel-recommend-section {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 3px dashed var(--cd-border-light);
}

.cd-channel-recommend-title {
    font-family: var(--cd-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--cd-text);
    margin-bottom: 18px;
}

/* --- Loading State --- */
.cd-loading {
    text-align: center;
    padding: 40px;
    color: var(--cd-text-muted);
    font-family: var(--cd-font-hand);
    font-size: 18px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .cd-channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .cd-channel-header { padding: 18px; gap: 14px; }
    .cd-channel-header-icon { width: 56px; height: 56px; font-size: 32px; }
    .cd-channel-header-name { font-size: 28px; }

    .cd-channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .cd-channel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
