* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --press-primary: #2563eb;
    --press-primary-dark: #1e40af;
    --press-secondary: #dc2626;
    --press-bg: #f8fafc;
    --press-surface: #ffffff;
    --press-border: #e2e8f0;
    --press-text: #1e293b;
    --press-text-secondary: #64748b;
    --press-text-light: #94a3b8;
    --press-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --press-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --sidebar-width: 260px;
}

body.press-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: var(--press-bg);
    color: var(--press-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.press-wrapper {
    display: flex;
    min-height: 100vh;
}

/* 侧边导航 */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--press-surface);
    border-right: 1px solid var(--press-border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--press-border);
    background: linear-gradient(135deg, var(--press-primary) 0%, var(--press-primary-dark) 100%);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    stroke: currentColor;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.sidebar-menu {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--press-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--press-primary);
}

.menu-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--press-primary);
    border-left-color: var(--press-primary);
    font-weight: 500;
}

.menu-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: all 0.2s;
}

.menu-text {
    flex: 1;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    background: var(--press-surface);
    border: 1px solid var(--press-border);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.sidebar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--press-text);
    border-radius: 2px;
    transition: all 0.2s;
    display: block;
}

/* 主内容区 */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部搜索栏 */
.top-header {
    background: var(--press-surface);
    border-bottom: 1px solid var(--press-border);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
}

.header-top {
    margin-bottom: 16px;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--press-text-secondary);
}

.date-text {
    font-weight: 600;
    color: var(--press-primary);
}

.weekday {
    color: var(--press-text-light);
}

.search-form {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--press-bg);
    border: 2px solid var(--press-border);
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.3s;
    max-width: 800px;
}

.search-box:focus-within {
    border-color: var(--press-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
    color: var(--press-text-light);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 12px 12px 8px;
    font-size: 15px;
    outline: none;
    color: var(--press-text);
}

.search-input::placeholder {
    color: var(--press-text-light);
}

.search-btn {
    border: none;
    background: var(--press-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 8px;
}

.search-btn:hover {
    background: var(--press-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* 主内容 */
.press-main {
    flex: 1;
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Hero区域 */
.press-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.headline-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--press-shadow);
    background: var(--press-surface);
}

.headline-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.headline-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--press-primary) 0%, var(--press-primary-dark) 100%);
}

.headline-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.headline-link:hover .headline-image img {
    transform: scale(1.05);
}

.headline-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
}

.headline-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: #fff;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.badge-hot {
    background: var(--press-secondary);
    color: #fff;
}

.headline-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.headline-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.headline-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.headline-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.headline-side h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--press-text);
}

.side-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--press-surface);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid var(--press-border);
    box-shadow: var(--press-shadow);
}

.side-item:hover {
    transform: translateX(4px);
    box-shadow: var(--press-shadow-hover);
    border-color: var(--press-primary);
}

.side-thumb {
    position: relative;
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--press-primary) 0%, var(--press-primary-dark) 100%);
}

.side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-info {
    flex: 1;
    min-width: 0;
}

.side-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--press-text);
}

.side-info p {
    font-size: 12px;
    color: var(--press-text-light);
}

/* Section */
.press-section {
    margin-bottom: 50px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--press-text);
}

.section-sub {
    font-size: 14px;
    color: var(--press-text-light);
    margin-top: 4px;
}

.section-head a {
    color: var(--press-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.section-head a:hover {
    color: var(--press-primary-dark);
    gap: 6px;
}

.section-tools {
    display: flex;
    gap: 8px;
}

.filter-chip {
    padding: 6px 16px;
    background: var(--press-surface);
    border: 1px solid var(--press-border);
    border-radius: 20px;
    color: var(--press-text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip:hover {
    background: var(--press-bg);
    color: var(--press-text);
}

.filter-chip.active {
    background: var(--press-primary);
    color: #fff;
    border-color: var(--press-primary);
}

/* Grid */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.press-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.press-card {
    background: var(--press-surface);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--press-shadow);
    border: 1px solid var(--press-border);
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--press-shadow-hover);
    border-color: var(--press-primary);
}

.press-thumb {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--press-primary) 0%, var(--press-primary-dark) 100%);
}

.press-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.press-card:hover .press-thumb img {
    transform: scale(1.1);
}

.press-body {
    padding: 16px;
}

.press-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--press-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.press-title:hover {
    color: var(--press-primary);
}

.press-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--press-text-light);
    margin-bottom: 8px;
}

.press-desc {
    font-size: 13px;
    color: var(--press-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-card.compact .press-body {
    padding: 12px;
}

.press-card.compact .press-title {
    font-size: 14px;
    height: 40px;
}

/* List */
.press-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.press-row {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--press-surface);
    border-radius: 12px;
    box-shadow: var(--press-shadow);
    border: 1px solid var(--press-border);
    transition: all 0.3s;
}

.press-row:hover {
    transform: translateX(4px);
    box-shadow: var(--press-shadow-hover);
    border-color: var(--press-primary);
}

.row-thumb {
    position: relative;
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--press-primary) 0%, var(--press-primary-dark) 100%);
}

.row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row-body {
    flex: 1;
    min-width: 0;
}

.row-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--press-text);
    text-decoration: none;
    line-height: 1.4;
}

.row-title:hover {
    color: var(--press-primary);
}

.row-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--press-text-light);
    margin-bottom: 12px;
}

.row-desc {
    font-size: 14px;
    color: var(--press-text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Detail */
.press-detail {
    background: var(--press-surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--press-shadow);
    margin: 20px 0;
}

.detail-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--press-text);
}

.detail-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--press-text-secondary);
    margin-bottom: 24px;
}

.detail-media {
    margin: 24px 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.detail-media img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.media-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--press-secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.detail-body {
    margin-top: 32px;
}

.detail-summary,
.detail-player {
    background: #f1f5f9;
    border: 1px solid var(--press-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.detail-summary h2,
.detail-player h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--press-primary);
}

.summary-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.summary-tags span {
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: var(--press-primary);
}

.summary-list {
    list-style: none;
    margin-bottom: 16px;
}

.summary-list li {
    font-size: 14px;
    color: var(--press-text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.summary-desc {
    font-size: 14px;
    color: var(--press-text);
    line-height: 1.8;
}

.detail-content {
    margin-top: 32px;
}

.detail-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--press-text);
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--press-text);
    white-space: pre-wrap;
}

/* Player */
.press-player {
    margin: 24px 0;
}

.press-player .player-screen {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 420px;
}

.press-player .player-screen > div {
    border-radius: 12px !important;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--press-text);
}

.control-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.control-btn {
    padding: 8px 16px;
    background: var(--press-surface);
    border: 1px solid var(--press-border);
    border-radius: 8px;
    color: var(--press-text);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn:hover {
    background: var(--press-bg);
    border-color: var(--press-primary);
    color: var(--press-primary);
}

.control-btn.active {
    background: var(--press-primary);
    border-color: var(--press-primary);
    color: #fff;
}

.player-empty {
    padding: 40px;
    text-align: center;
    color: var(--press-text-light);
    background: #f1f5f9;
    border: 2px dashed var(--press-border);
    border-radius: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-page {
    padding: 8px 16px;
    border: 1px solid var(--press-border);
    background: var(--press-surface);
    border-radius: 8px;
    text-decoration: none;
    color: var(--press-text);
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled),
.pagination-page:hover {
    background: var(--press-primary);
    color: #fff;
    border-color: var(--press-primary);
}

.pagination-page.active {
    background: var(--press-primary);
    color: #fff;
    border-color: var(--press-primary);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: var(--press-text-light);
}

/* Footer */
.press-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: #94a3b8;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--press-text-secondary);
}

/* 响应式 */
@media (max-width: 1024px) {
    .press-hero {
        grid-template-columns: 1fr;
    }

    .press-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar-nav {
        transform: translateX(-100%);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    }

    body.sidebar-open .sidebar-nav {
        transform: translateX(0);
    }

    body.sidebar-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .sidebar-toggle {
        display: flex !important;
        z-index: 1002;
    }

    .main-content {
        margin-left: 0;
    }

    .press-main {
        padding: 20px 15px;
    }

    .press-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .headline-content h1 {
        font-size: 24px;
    }

    .press-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .press-row {
        flex-direction: column;
    }

    .row-thumb {
        width: 100%;
        height: 200px;
    }

    .detail-header h1 {
        font-size: 24px;
    }

    .press-detail {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .headline-content h1 {
        font-size: 20px;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }

    .section-head h2 {
        font-size: 20px;
    }
}

