/* ===== 设计令牌：靛蓝 + 珊瑚橙（全新配色） ===== */
:root {
    --primary: #1B2A4A;
    --primary-light: #2D4373;
    --accent: #E76F51;
    --accent-2: #2A9D8F;
    --bg: #E8EEF4;
    --surface: #FFFFFF;
    --surface-alt: #F4F7FB;
    --border: #D0DAE6;
    --text: #243447;
    --text-muted: #5C6B7A;
    --live: #DC2626;
    --upcoming: #D97706;
    --replay: #64748B;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow: 0 2px 12px rgba(27, 42, 74, 0.08);
    --header-h: 64px;
    --container: 1180px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-2);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

.z319f2container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ===== 顶栏 ===== */
.z319f2header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.z319f2header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
    position: relative;
}

.z319f2logo {
    flex-shrink: 0;
    min-width: 0;
}

.z319f2logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.z319f2logo h1 a {
    color: var(--primary);
    text-decoration: none;
}

.z319f2logo-tagline {
    color: var(--accent-2);
    font-size: 0.75rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.z319f2main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.z319f2main-nav a {
    color: var(--text);
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.z319f2main-nav a:hover,
.z319f2main-nav .z319f2this a,
.z319f2main-nav li.z319f2this a {
    background: rgba(42, 157, 143, 0.12);
    color: var(--accent-2);
}

.z319f2menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    flex-shrink: 0;
}

.z319f2menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.25s, opacity 0.25s;
}

.z319f2menu-toggle.z319f2active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.z319f2menu-toggle.z319f2active span:nth-child(2) {
    opacity: 0;
}

.z319f2menu-toggle.z319f2active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 首屏横幅 ===== */
.z319f2banner {
    background: linear-gradient(125deg, var(--primary) 0%, #1a4d5c 55%, var(--accent-2) 100%);
    color: #fff;
    padding: 3rem 0;
}

.z319f2banner-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.z319f2banner-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    margin-bottom: 1rem;
}

.z319f2banner-text h2 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: #fff;
    border: none;
    padding: 0;
}

.z319f2banner-text p {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 1.25rem;
    max-width: 540px;
}

.z319f2banner-text p strong {
    color: #fff;
    font-weight: 600;
}

.z319f2banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.z319f2feature {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    background: rgba(231, 111, 81, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
}

.z319f2banner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 420px;
}

.z319f2stat-item {
    text-align: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.z319f2stat-number {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
}

.z319f2stat-label {
    font-size: 0.75rem;
    opacity: 0.85;
}

.z319f2banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.z319f2banner-img {
    max-width: 100%;
    width: 320px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

/* ===== 主内容区 ===== */
.z319f2main-content {
    padding: 2rem 0 3rem;
}

/* 知识导读 */
.z319f2intro-panel {
    margin-bottom: 1.75rem;
}

.z319f2intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.z319f2intro-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem;
    border-left: 4px solid var(--accent-2);
}

.z319f2intro-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.z319f2intro-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 通用板块 */
.z319f2section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.25rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.z319f2section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.z319f2section-title-wrap h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0 0 0.35rem;
    padding: 0 0 0 12px;
    border: none;
    border-left: 4px solid var(--accent);
    line-height: 1.3;
}

.z319f2section-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    margin: 0;
    max-width: 520px;
}

.z319f2section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.z319f2nav-btn {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface-alt);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.z319f2nav-btn:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.z319f2nav-btn.z319f2active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.z319f2section-footer {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.z319f2load-more {
    padding: 0.65rem 1.75rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.z319f2load-more:hover {
    background: #d45a3f;
}

/* 赛事频道 */
.z319f2live-hall-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.z319f2live-hall-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    min-width: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.z319f2live-hall-card:hover {
    border-color: var(--accent-2);
    box-shadow: var(--shadow);
}

.z319f2live-hall-card.z319f2featured {
    grid-column: span 2;
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-color: var(--primary);
}

.z319f2live-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--live);
    color: #fff;
    z-index: 1;
}

.z319f2live-status.z319f2upcoming {
    background: var(--upcoming);
}

.z319f2live-status.z319f2replay {
    background: var(--replay);
}

.z319f2live-hall-content {
    padding: 1.1rem;
    min-width: 0;
}

.z319f2live-hall-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.z319f2live-hall-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    word-break: break-word;
}

.z319f2live-hall-card.z319f2featured h3,
.z319f2live-hall-card.z319f2featured .z319f2vs,
.z319f2live-hall-card.z319f2featured .z319f2label {
    color: rgba(255, 255, 255, 0.75);
}

.z319f2live-hall-card.z319f2featured h3,
.z319f2live-hall-card.z319f2featured .z319f2value {
    color: #fff;
}

.z319f2live-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.z319f2team {
    flex: 1;
    text-align: center;
    min-width: 0;
    word-break: break-word;
}

.z319f2vs {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.z319f2live-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.z319f2quality {
    color: var(--accent-2);
    font-weight: 600;
}

.z319f2live-hall-card.z319f2featured .z319f2quality {
    color: #7ee8d8;
}

.z319f2live-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
}

.z319f2live-hall-card.z319f2featured .z319f2live-stats {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.z319f2stat {
    text-align: center;
    min-width: 0;
}

.z319f2label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.z319f2value {
    font-weight: 700;
    font-size: 0.9rem;
}

/* 热门赛程 */
.z319f2featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.z319f2featured-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-alt);
    overflow: hidden;
    min-width: 0;
    position: relative;
}

.z319f2match-status {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    z-index: 1;
}

.z319f2match-status.z319f2live {
    background: var(--live);
    color: #fff;
}

.z319f2match-status.z319f2upcoming {
    background: var(--upcoming);
    color: #fff;
}

.z319f2match-content {
    padding: 1.1rem;
    padding-top: 2rem;
}

.z319f2match-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.z319f2match-time {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.z319f2match-type {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

.z319f2match-teams,
.z319f2upcoming-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.z319f2team-logo {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.z319f2team-name {
    font-size: 0.88rem;
    font-weight: 600;
    word-break: break-word;
}

.z319f2team-score {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

.z319f2match-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin: 0.75rem 0;
    font-size: 0.8rem;
}

.z319f2stat-item {
    text-align: center;
    padding: 0.4rem;
    background: var(--surface);
    border-radius: 6px;
    border: 1px solid var(--border);
    min-width: 0;
}

.z319f2stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.z319f2stat-value {
    font-weight: 600;
}

.z319f2match-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 0.65rem 0;
}

.z319f2info-item {
    text-align: center;
    font-size: 0.82rem;
}

.z319f2info-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.z319f2info-value {
    font-weight: 600;
}

.z319f2match-preview,
.z319f2upcoming-preview {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.5rem 0;
    line-height: 1.5;
}

.z319f2match-quality,
.z319f2upcoming-quality {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.z319f2quality-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    background: rgba(42, 157, 143, 0.12);
    color: var(--accent-2);
    border-radius: 4px;
    border: 1px solid rgba(42, 157, 143, 0.25);
}

/* 赛程预告 */
.z319f2upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.z319f2upcoming-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-alt);
    overflow: hidden;
    min-width: 0;
    position: relative;
}

.z319f2upcoming-card.z319f2featured {
    border-color: var(--accent-2);
    background: linear-gradient(180deg, rgba(42, 157, 143, 0.08) 0%, var(--surface-alt) 100%);
}

.z319f2upcoming-status {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    background: var(--upcoming);
    color: #fff;
    border-radius: 4px;
    z-index: 1;
}

.z319f2upcoming-content {
    padding: 1.1rem;
    padding-top: 2.25rem;
}

/* 赛讯 */
.z319f2news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.z319f2news-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
    transition: border-color 0.2s;
}

.z319f2news-card:hover {
    border-color: var(--accent-2);
}

.z319f2news-card.z319f2featured {
    grid-column: span 2;
    border-left: 4px solid var(--accent);
}

.z319f2news-content {
    padding: 1.15rem;
}

.z319f2news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.z319f2news-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.z319f2news-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0.65rem;
}

.z319f2news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.z319f2news-tag {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

/* 数据看台 */
.z319f2stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.z319f2stats-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
    background: var(--surface-alt);
}

.z319f2stats-card.z319f2featured {
    border-top: 3px solid var(--accent);
}

.z319f2stats-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: var(--primary);
    color: #fff;
}

.z319f2stats-card.z319f2featured .z319f2stats-card-header {
    background: var(--primary-light);
}

.z319f2stats-card-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.z319f2stats-period {
    font-size: 0.75rem;
    opacity: 0.8;
}

.z319f2stats-list {
    padding: 0.5rem 0;
}

.z319f2stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
    min-width: 0;
}

.z319f2stats-item:last-child {
    border-bottom: none;
}

.z319f2player-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    flex: 1;
}

.z319f2rank {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.z319f2player-details {
    min-width: 0;
}

.z319f2player-name {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.z319f2stats-card .z319f2team-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.z319f2stats-value {
    font-weight: 700;
    color: var(--accent-2);
    flex-shrink: 0;
}

/* 精选阅读 */
.z319f2article-home-section .z319f2article-home-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.z319f2article-more {
    padding: 0.45rem 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.z319f2article-more:hover {
    background: var(--accent-2);
    color: #fff;
}

.z319f2article-home-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.z319f2article-home-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-alt);
    min-width: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.z319f2article-home-card:hover {
    border-color: var(--accent-2);
    box-shadow: var(--shadow);
}

.z319f2article-home-thumb {
    display: block;
    overflow: hidden;
}

.z319f2article-home-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.z319f2article-home-body {
    padding: 0.75rem;
}

.z319f2article-home-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    gap: 0.25rem;
}

.z319f2article-home-body h3 {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.z319f2article-home-body h3 a {
    color: var(--primary);
    text-decoration: none;
}

.z319f2article-home-body h3 a:hover {
    color: var(--accent-2);
}

/* ===== 页脚 ===== */
.z319f2footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.5rem;
    margin-top: 1rem;
}

.z319f2footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.z319f2footer-section h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.z319f2footer-section p,
.z319f2footer-section li {
    font-size: 0.88rem;
    line-height: 1.7;
}

.z319f2footer-section ul {
    list-style: none;
}

.z319f2footer-section a {
    color: rgba(255, 255, 255, 0.75);
}

.z319f2footer-section a:hover {
    color: var(--accent);
}

.z319f2copyright {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.z319f2copyright a {
    color: var(--accent);
}

.z319f2sitemap-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.15rem;
}

.z319f2sitemap-links a:hover {
    color: var(--accent);
}

/* ===== 内页 ===== */
.z319f2page-banner {
    background: linear-gradient(125deg, var(--primary) 0%, #1a4d5c 100%);
    color: #fff;
    padding: 2rem 0 1.75rem;
}

.z319f2page-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.35;
    word-break: break-word;
}

.z319f2page-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    max-width: 720px;
    font-size: 0.9rem;
}

.z319f2breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.z319f2breadcrumb a {
    color: #7ee8d8;
}

.z319f2breadcrumb span {
    margin: 0 0.35rem;
}

.z319f2inner-main {
    padding: 2rem 0 3rem;
}

.z319f2inner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.5rem;
    align-items: start;
}

.z319f2inner-content {
    min-width: 0;
}

.z319f2article-panel,
.z319f2list-panel,
.z319f2related-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.z319f2article-header h1 {
    font-size: 1.45rem;
    line-height: 1.4;
    margin-bottom: 0.85rem;
    color: var(--primary);
    word-break: break-word;
}

.z319f2article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.z319f2article-meta a {
    color: var(--accent-2);
}

.z319f2thumb-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z319f2article-content {
    line-height: 1.8;
    font-size: 1rem;
    padding-top: 1rem;
    word-break: break-word;
}

.z319f2article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 0.75rem 0;
}

.z319f2article-gallery-item {
    margin: 1rem 0;
    text-align: center;
}

.z319f2article-gallery-item figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.z319f2diyfield {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.z319f2meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.z319f2tagitem a {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.z319f2tagitem a:hover {
    background: rgba(42, 157, 143, 0.12);
    color: var(--accent-2);
    border-color: var(--accent-2);
}

.z319f2article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.25rem;
}

.z319f2prenext-item {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    word-break: break-word;
}

.z319f2prenext-next {
    text-align: right;
}

.z319f2panel-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding: 0 0 0.5rem 10px;
    border-left: 4px solid var(--accent);
    color: var(--primary);
}

.z319f2related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}

.z319f2related-item:last-child {
    border-bottom: none;
}

.z319f2related-thumb {
    flex: 0 0 110px;
}

.z319f2related-thumb img {
    width: 110px;
    height: 74px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.z319f2related-body {
    flex: 1;
    min-width: 0;
}

.z319f2related-body h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.z319f2related-body h3 a {
    color: var(--primary);
}

.z319f2related-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* 列表 */
.z319f2list-items {
    list-style: none;
}

.z319f2list-item {
    display: flex;
    gap: 1.15rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}

.z319f2list-item:last-child {
    border-bottom: none;
}

.z319f2list-thumb {
    flex: 0 0 160px;
}

.z319f2list-thumb img {
    width: 160px;
    height: 106px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z319f2list-body {
    flex: 1;
    min-width: 0;
}

.z319f2list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.z319f2list-cat {
    color: var(--accent-2);
}

.z319f2list-title {
    font-size: 1.1rem;
    margin: 0 0 0.45rem;
    line-height: 1.4;
}

.z319f2list-title a {
    color: var(--primary);
}

.z319f2list-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.z319f2pagebar {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.z319f2pagebar .pagelist,
.z319f2pagelist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.z319f2pagebar .pagelist a,
.z319f2pagebar .pagelist span,
.z319f2pagelist a,
.z319f2pagelist span {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 0.88rem;
}

.z319f2pagebar .pagelist a:hover,
.z319f2pagelist a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.z319f2pagebar .pagelist .thisclass,
.z319f2pagebar .pagelist .thisclass a,
.z319f2pagelist .thisclass,
.z319f2pagelist .thisclass a {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* 侧栏 */
.z319f2sidebar {
    position: sticky;
    top: calc(var(--header-h) + 12px);
}

.z319f2sidebar-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.z319f2sidebar-title {
    font-size: 1rem;
    margin-bottom: 0.85rem;
    padding-left: 10px;
    border-left: 4px solid var(--accent-2);
    color: var(--primary);
}

.z319f2sidebar-list {
    list-style: none;
}

.z319f2sidebar-list li {
    margin-bottom: 0.4rem;
}

.z319f2sidebar-list a {
    color: var(--text);
    font-size: 0.9rem;
}

.z319f2sidebar-list a:hover,
.z319f2sidebar-list .z319f2this a {
    color: var(--accent-2);
}

.z319f2sidebar-article-item {
    display: flex;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}

.z319f2sidebar-article-item:last-child {
    border-bottom: none;
}

.z319f2sidebar-thumb {
    flex: 0 0 68px;
}

.z319f2sidebar-thumb img {
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.z319f2sidebar-article-info {
    flex: 1;
    min-width: 0;
}

.z319f2sidebar-article-info > a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.z319f2sidebar-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 网站地图 */
.z319f2sitemap-page .z319f2inner-main {
    padding: 0;
}

.z319f2sitemap-title {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    padding-left: 10px;
    border-left: 4px solid var(--accent);
    color: var(--primary);
}

.z319f2sitemap-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1.25rem;
}

.z319f2sitemap-articles {
    grid-template-columns: repeat(2, 1fr);
}

.z319f2sitemap-list a {
    color: var(--text);
    font-size: 0.9rem;
}

.z319f2sitemap-list a:hover {
    color: var(--accent-2);
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .z319f2live-hall-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z319f2live-hall-card.z319f2featured {
        grid-column: span 2;
    }

    .z319f2article-home-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .z319f2main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow);
        padding: 0.5rem;
    }

    .z319f2main-nav.z319f2active {
        display: block;
    }

    .z319f2main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .z319f2main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .z319f2main-nav li:last-child {
        border-bottom: none;
    }

    .z319f2main-nav a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .z319f2menu-toggle {
        display: flex;
    }

    .z319f2banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .z319f2banner-text p {
        max-width: none;
    }

    .z319f2banner-features,
    .z319f2banner-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .z319f2intro-grid {
        grid-template-columns: 1fr;
    }

    .z319f2featured-grid,
    .z319f2upcoming-grid,
    .z319f2stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z319f2news-card.z319f2featured {
        grid-column: span 2;
    }

    .z319f2inner-layout {
        grid-template-columns: 1fr;
    }

    .z319f2sidebar {
        position: static;
    }

    .z319f2article-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .z319f2section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .z319f2section-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767px) {
    :root {
        --header-h: 56px;
    }

    .z319f2container {
        padding: 0 16px;
    }

    .z319f2banner {
        padding: 2rem 0;
    }

    .z319f2banner-text h2 {
        font-size: 1.45rem;
    }

    .z319f2banner-stats {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .z319f2section {
        padding: 1.15rem;
    }

    .z319f2live-hall-grid,
    .z319f2featured-grid,
    .z319f2upcoming-grid,
    .z319f2stats-grid,
    .z319f2news-grid {
        grid-template-columns: 1fr;
    }

    .z319f2live-hall-card.z319f2featured,
    .z319f2news-card.z319f2featured {
        grid-column: span 1;
    }

    .z319f2match-teams,
    .z319f2upcoming-teams {
        flex-wrap: wrap;
        justify-content: center;
    }

    .z319f2match-stats {
        grid-template-columns: 1fr;
    }

    .z319f2article-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z319f2footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .z319f2list-item {
        flex-direction: column;
    }

    .z319f2list-thumb {
        flex: none;
        width: 100%;
    }

    .z319f2list-thumb img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .z319f2related-item {
        flex-direction: column;
    }

    .z319f2related-thumb {
        flex: none;
    }

    .z319f2related-thumb img {
        width: 100%;
        height: auto;
        max-height: 180px;
    }

    .z319f2article-nav {
        flex-direction: column;
    }

    .z319f2prenext-next {
        text-align: left;
    }

    .z319f2load-more {
        width: 100%;
    }

    .z319f2sitemap-list,
    .z319f2sitemap-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .z319f2logo h1 {
        font-size: 1.05rem;
    }

    .z319f2article-home-grid {
        grid-template-columns: 1fr;
    }

    .z319f2article-home-thumb img {
        height: 140px;
    }
}

@media (hover: none) {
    .z319f2live-hall-card:hover,
    .z319f2featured-card:hover,
    .z319f2article-home-card:hover {
        transform: none;
    }
}
