:root {
    --summary-page-bg: #f5f7fb;
    --summary-text: #1f2937;
    --summary-card-bg: #ffffff;
    --summary-card-border: #e5e7eb;
    --summary-soft-bg: #fcfcfd;
    --summary-muted: #6b7280;
    --summary-title: #111827;
    --summary-subtext: #4b5563;
    --summary-divider: #eceff3;
    --summary-footer-divider: #dbe2ea;
    --summary-thumb-bg: #e5e7eb;
    --summary-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    --summary-shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.05);
    --summary-switch-bg: #eef2f7;
    --summary-switch-text: #1f2937;
}

html, body {
    min-width: 1200px;
    background: var(--summary-page-bg);
    color: var(--summary-text);
}

html.theme-dark,
html[data-theme="dark"] {
    --summary-page-bg: #0f172a;
    --summary-text: #e5edf7;
    --summary-card-bg: #111827;
    --summary-card-border: #243041;
    --summary-soft-bg: #151d2b;
    --summary-muted: #94a3b8;
    --summary-title: #f8fafc;
    --summary-subtext: #cbd5e1;
    --summary-divider: #263244;
    --summary-footer-divider: #263244;
    --summary-thumb-bg: #1e293b;
    --summary-shadow: 0 12px 32px rgba(2, 6, 23, 0.4);
    --summary-shadow-soft: 0 8px 20px rgba(2, 6, 23, 0.35);
    --summary-switch-bg: #1e293b;
    --summary-switch-text: #e2e8f0;
}

body {
    margin: 0;
}

.top-header .header-container {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
}

.summary-main-container {
    display: block;
    min-width: 1200px;
}

.summary-home-page {
    width: 1200px;
    margin: 24px auto 48px;
    padding: 0 0 32px;
}

.summary-section {
    background: var(--summary-card-bg);
    box-shadow: var(--summary-shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.summary-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--summary-card-border);
}

.summary-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--summary-title);
}

.summary-section-subtitle {
    font-size: 13px;
    color: var(--summary-muted);
}

#darkswitch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--summary-card-border);
    background: var(--summary-switch-bg);
    color: var(--summary-switch-text);
    cursor: pointer;
    user-select: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

#darkswitch:hover {
    transform: translateY(-1px);
}

#darkswitch .icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#darkswitch .darkswitch-label {
    font-size: 13px;
    line-height: 1;
}

.hero-news-layout {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 24px;
    align-items: start;
}

.hero-side-list,
.hero-center-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-small-card,
.hero-large-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-small-card {
    display: block;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--summary-card-border);
    background: var(--summary-card-bg);
}

.hero-side-list .hero-small-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.hero-small-thumb-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: var(--summary-thumb-bg);
    aspect-ratio: 16 / 9;
}

.hero-small-thumb,
.hero-large-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-small-title {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.38;
    font-weight: 700;
    color: var(--summary-title);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-large-card {
    border: 1px solid var(--summary-card-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--summary-card-bg);
    box-shadow: var(--summary-shadow-soft);
}

.hero-large-thumb-wrap {
    display: block;
    width: 100%;
    background: var(--summary-thumb-bg);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hero-large-body {
    padding: 18px 20px 20px;
}

.hero-large-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--summary-title);
}

.hero-large-summary {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--summary-subtext);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.summary-empty {
    padding: 36px 0;
    text-align: center;
    color: var(--summary-muted);
    font-size: 15px;
}

.stream-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.stream-column {
    border: 1px solid var(--summary-card-border);
    background: var(--summary-soft-bg);
    padding: 16px 16px 4px;
}

.stream-column-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--summary-title);
}

.stream-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stream-item {
    border-top: 1px solid var(--summary-divider);
}

.stream-item:first-child {
    border-top: none;
}

.stream-link {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: var(--summary-text);
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stream-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-footer {
    width: 1200px;
    margin: 0 auto 28px;
    padding: 20px 0 0;
    border-top: 1px solid var(--summary-footer-divider);
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: var(--summary-muted);
}
#sidebarToggle{display: none;}