/* 体育直播主题 - 紫罗兰 + 琥珀金 官方风 */
:root {
    --primary: #5b21b6;
    --primary-dark: #3b0764;
    --primary-light: #7c3aed;
    --accent: #d97706;
    --accent-light: #fbbf24;
    --accent-soft: #fef3c7;
    --bg: #f5f3ff;
    --surface: #ffffff;
    --text: #1e1b4b;
    --text-muted: #6366a0;
    --border: #ddd6fe;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(91, 33, 182, 0.06), 0 4px 16px rgba(91, 33, 182, 0.05);
    --header-h: 64px;
    --max-w: 1160px;
}

* {
    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.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
}

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

/* ========== 头部导航 ========== */
.z29499header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--border);
}

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

.z29499logo h1 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.z29499logo-tagline {
    font-size: 0.72rem;
    color: var(--accent);
    margin-top: 2px;
    font-weight: 500;
}

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

.z29499main-nav a {
    display: block;
    padding: 0.4rem 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.z29499main-nav a:hover,
.z29499main-nav .z29499this a,
.z29499main-nav li.z29499this a {
    color: var(--primary);
    background: var(--accent-soft);
}

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

.z29499menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--primary);
    margin: 3px auto;
    transition: transform 0.25s, opacity 0.25s;
}

.z29499menu-toggle.z29499active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.z29499menu-toggle.z29499active span:nth-child(2) {
    opacity: 0;
}

.z29499menu-toggle.z29499active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

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

/* ========== 首页 Hero ========== */
.z29499hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2.75rem 0 2.25rem;
    position: relative;
    overflow: hidden;
}

.z29499hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.z29499hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
}

.z29499hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(217, 119, 6, 0.25);
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.z29499hero-copy h2 {
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.85rem;
    font-weight: 800;
    color: var(--primary-dark);
    border: none;
    padding: 0;
    letter-spacing: -0.02em;
}

.z29499hero-lead {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    line-height: 1.75;
    max-width: 540px;
}

.z29499hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}

.z29499hero-points li {
    font-size: 0.82rem;
    padding: 0.3rem 0.65rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
}

.z29499download-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

.z29499dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 1px solid transparent;
}

.z29499dl-main {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.z29499dl-main:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(91, 33, 182, 0.3);
}

.z29499dl-alt {
    background: var(--surface);
    color: var(--primary);
    border-color: var(--border);
}

.z29499dl-alt:hover {
    border-color: var(--primary-light);
    background: var(--bg);
}

.z29499hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.z29499hero-metrics > div {
    min-width: 0;
}

.z29499hero-metrics strong {
    display: block;
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 800;
    line-height: 1.2;
}

.z29499hero-metrics span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.z29499hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.z29499hero-img {
    max-height: 260px;
    width: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* 简介条 */
.z29499intro-strip {
    background: var(--primary-dark);
    padding: 1.5rem 0;
}

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

.z29499intro-item {
    text-align: center;
    padding: 0.85rem 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 0;
}

.z29499intro-item:last-child {
    border-right: none;
}

.z29499intro-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--accent-light);
    margin-bottom: 0.35rem;
}

.z29499intro-item p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.z29499intro-strip > .z29499container > p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    text-align: center;
    max-width: 880px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.z29499intro-strip > .z29499container > p strong {
    color: var(--accent-light);
}

/* ========== 通用板块 ========== */
.z29499main-content {
    padding: 2rem 0 2.75rem;
}

.z29499section {
    margin-bottom: 1.5rem;
}

.z29499panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.z29499section-head h2 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 0;
    border: none;
    padding: 0;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.z29499section-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.5;
}

.z29499tab-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

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

.z29499nav-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

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

/* 徽章 */
.z29499badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.z29499badge-live {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.z29499badge-soon {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.z29499badge-replay {
    background: var(--bg);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* 直播卡片 - Bento 布局 */
.z29499live-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0.75rem;
}

.z29499live-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    background: var(--bg);
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.z29499live-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.z29499live-card:nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
}

.z29499live-card:nth-child(2),
.z29499live-card:nth-child(3) {
    grid-column: span 3;
}

.z29499live-card:nth-child(4) {
    grid-column: span 6;
}

.z29499live-hot {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-color: var(--primary);
}

.z29499live-hot h3,
.z29499live-hot .z29499card-foot {
    color: rgba(255, 255, 255, 0.95);
}

.z29499live-card h3 {
    font-size: 0.92rem;
    margin: 0.45rem 0 0.6rem;
    line-height: 1.35;
    padding-right: 3.5rem;
}

.z29499live-hot h3 {
    font-size: 1.05rem;
}

.z29499live-card .z29499badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
}

.z29499match-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: auto;
    padding: 0.5rem 0;
}

.z29499match-row span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.z29499match-row em {
    flex-shrink: 0;
    font-style: normal;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.15rem 0.35rem;
    background: var(--surface);
    border-radius: 3px;
}

.z29499live-hot .z29499match-row em {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.z29499card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    font-size: 0.74rem;
    color: var(--text-muted);
    padding-top: 0.65rem;
    margin-top: 0.65rem;
    border-top: 1px solid var(--border);
}

.z29499live-hot .z29499card-foot {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* 热门对决 */
.z29499feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.z29499feature-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    background: var(--surface);
    min-width: 0;
    overflow: hidden;
    border-left: 3px solid var(--primary-light);
}

.z29499feature-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    gap: 0.5rem;
}

.z29499scoreboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    padding: 0.65rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z29499scoreboard > div {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.z29499scoreboard strong {
    display: block;
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 0.1rem;
}

.z29499team-ico {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.1rem;
}

.z29499vs {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-light);
}

.z29499feature-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.z29499tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.z29499tag-row span {
    font-size: 0.7rem;
    padding: 0.12rem 0.4rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-muted);
}

/* 赛事排期 - 时间轴 */
.z29499schedule-list {
    list-style: none;
    position: relative;
    padding-left: 1.25rem;
}

.z29499schedule-list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--border);
}

.z29499schedule-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0 0.75rem 0.85rem;
    border-bottom: 1px solid var(--border);
    min-width: 0;
    position: relative;
}

.z29499schedule-item::before {
    content: "";
    position: absolute;
    left: -1.3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 2px var(--border);
}

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

.z29499schedule-item time {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}

.z29499schedule-body {
    min-width: 0;
}

.z29499schedule-body h3 {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
    line-height: 1.35;
}

.z29499schedule-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 新闻 - 杂志布局 */
.z29499news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.z29499news-main {
    grid-row: span 3;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    background: var(--primary-dark);
    color: #fff;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.z29499news-time {
    font-size: 0.72rem;
    opacity: 0.75;
}

.z29499news-main h3 {
    font-size: 1rem;
    margin: 0.45rem 0;
    line-height: 1.4;
}

.z29499news-main p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.65;
    margin-bottom: auto;
    padding-bottom: 0.75rem;
}

.z29499news-main .z29499tag-row span {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.z29499news-side {
    display: contents;
}

.z29499news-mini {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem;
    background: var(--bg);
    min-width: 0;
    overflow: hidden;
}

.z29499news-mini h3 {
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
    line-height: 1.35;
}

.z29499news-mini p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 数据榜 */
.z29499stats-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

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

.z29499stats-col h3 {
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem;
    background: var(--bg);
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.z29499rank-list {
    list-style: none;
    padding: 0.4rem 0.5rem;
}

.z29499rank-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.35rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
    min-width: 0;
}

.z29499rank-list li:last-child {
    border-bottom: none;
}

.z29499rank-list li > span:not(.z29499rank-n) {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.z29499rank-n {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.z29499rank-list strong {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
}

/* 首页文章 */
.z29499article-home-header {
    align-items: center;
}

.z29499article-more {
    display: inline-block;
    padding: 0.38rem 0.9rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
    border: 1px solid var(--accent);
}

.z29499article-more:hover {
    background: #b45309;
    border-color: #b45309;
}

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

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

.z29499article-home-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.z29499article-home-thumb {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

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

.z29499article-home-body {
    padding: 0.6rem;
}

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

.z29499article-home-body h3 {
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.z29499article-home-body h3 a:hover {
    color: var(--primary);
}

/* ========== 页脚 ========== */
.z29499footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 2rem 0 1.25rem;
    margin-top: 0;
    border-top: 3px solid var(--accent);
}

.z29499footer-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.z29499footer-section h3 {
    color: var(--accent-light);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.z29499footer-section p,
.z29499footer-section li {
    font-size: 0.85rem;
    line-height: 1.65;
}

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

.z29499footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

.z29499copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.z29499copyright a {
    color: var(--accent-light);
    text-decoration: none;
}

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

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

/* ========== 内页通用 ========== */
.z29499page-banner {
    background: var(--primary-dark);
    color: #fff;
    padding: 1.65rem 0 1.35rem;
    border-bottom: 3px solid var(--accent);
}

.z29499page-title {
    font-size: 1.4rem;
    margin-bottom: 0.45rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.35;
}

.z29499page-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
    max-width: 720px;
    line-height: 1.6;
}

.z29499breadcrumb {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.z29499breadcrumb a {
    color: var(--accent-light);
    text-decoration: none;
}

.z29499breadcrumb a:hover {
    text-decoration: underline;
}

.z29499breadcrumb span {
    margin: 0 0.3rem;
}

.z29499inner-main {
    padding: 1.5rem 0 2.5rem;
}

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

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

.z29499article-panel,
.z29499list-panel,
.z29499related-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.15rem;
    overflow: hidden;
}

.z29499article-header h1 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0.7rem;
    color: var(--primary-dark);
    font-weight: 800;
}

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

.z29499article-meta a {
    color: var(--accent);
    text-decoration: none;
}

.z29499article-cover {
    margin: 1rem 0;
}

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

.z29499article-content {
    line-height: 1.8;
    font-size: 0.94rem;
    color: var(--text);
    word-break: break-word;
}

.z29499article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 0.65rem 0;
    border: 1px solid var(--border);
}

.z29499article-gallery-item {
    margin: 0.85rem 0;
    text-align: center;
}

.z29499article-gallery-item figcaption {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

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

.z29499meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.z29499tagitem a {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}

.z29499tagitem a:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

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

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

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

.z29499panel-title {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
}

.z29499related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.z29499related-thumb {
    flex: 0 0 100px;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z29499related-thumb img {
    width: 100px;
    height: 68px;
    object-fit: cover;
}

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

.z29499related-body h3 {
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

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

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

.z29499related-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* 列表页 */
.z29499list-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.z29499list-thumb {
    flex: 0 0 150px;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z29499list-thumb img {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

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

.z29499list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.z29499list-cat {
    color: var(--accent);
    font-weight: 600;
}

.z29499list-title {
    font-size: 1.02rem;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.z29499list-title a {
    color: var(--text);
    text-decoration: none;
}

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

.z29499list-intro {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

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

.z29499pagebar .pagelist,
.z29499pagelist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.z29499pagebar .pagelist a,
.z29499pagebar .pagelist span,
.z29499pagelist a,
.z29499pagelist span {
    display: inline-block;
    padding: 0.38rem 0.7rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 0.84rem;
}

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

.z29499pagebar .pagelist .thisclass,
.z29499pagebar .pagelist .thisclass a,
.z29499pagelist .thisclass,
.z29499pagelist .thisclass a {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    font-weight: 600;
}

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

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

.z29499sidebar-title {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
}

.z29499sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.z29499sidebar-list li {
    margin-bottom: 0.3rem;
}

.z29499sidebar-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
}

.z29499sidebar-list a:hover,
.z29499sidebar-list .z29499this a {
    color: var(--primary);
}

.z29499sidebar-articles {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.z29499sidebar-thumb {
    flex: 0 0 64px;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z29499sidebar-thumb img {
    width: 64px;
    height: 48px;
    object-fit: cover;
}

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

.z29499sidebar-article-info > a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 0.15rem;
}

.z29499sidebar-article-info > a:hover {
    color: var(--primary);
}

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

/* 网站地图 */
.z29499sitemap-page .z29499inner-main {
    padding: 1.5rem 0;
}

.z29499sitemap-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.z29499sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

.z29499sitemap-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
}

.z29499sitemap-list a:hover {
    color: var(--primary);
}

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

    .z29499live-card:nth-child(1),
    .z29499live-card:nth-child(2),
    .z29499live-card:nth-child(3),
    .z29499live-card:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

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

@media (max-width: 991px) {
    .z29499hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .z29499hero-lead {
        max-width: none;
    }

    .z29499hero-visual {
        order: -1;
    }

    .z29499hero-img {
        max-height: 200px;
    }

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

    .z29499intro-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.65rem 0;
    }

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

    .z29499feature-grid,
    .z29499stats-columns {
        grid-template-columns: 1fr;
    }

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

    .z29499news-main {
        grid-row: span 1;
    }

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

    .z29499sidebar {
        position: static;
    }

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

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

    .z29499container {
        padding: 0 14px;
    }

    .z29499menu-toggle {
        display: flex;
    }

    .z29499main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 0.5rem;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    .z29499main-nav.z29499active {
        display: block;
    }

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

    .z29499main-nav a {
        padding: 0.6rem 0.75rem;
    }

    .z29499hero {
        padding: 1.5rem 0 1.25rem;
    }

    .z29499hero-points {
        gap: 0.35rem;
    }

    .z29499hero-metrics {
        gap: 1rem;
    }

    .z29499panel {
        padding: 1rem;
    }

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

    .z29499tab-row {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

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

    .z29499schedule-list {
        padding-left: 1rem;
    }

    .z29499schedule-item {
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        padding-left: 0.65rem;
    }

    .z29499schedule-item::before {
        left: -1.05rem;
    }

    .z29499schedule-item .z29499badge {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 0.15rem;
    }

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

    .z29499footer-content {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .z29499related-thumb img {
        width: 100%;
        height: auto;
        max-height: 160px;
    }

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

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

    .z29499live-card h3 {
        padding-right: 0;
        padding-top: 1.5rem;
    }

    .z29499live-card .z29499badge {
        top: 0.5rem;
        right: 0.5rem;
    }
}

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

    .z29499logo-tagline {
        font-size: 0.68rem;
    }

    .z29499download-group {
        flex-direction: column;
    }

    .z29499dl-btn {
        width: 100%;
    }

    .z29499hero-metrics {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .z29499sitemap-list {
        grid-template-columns: 1fr;
    }
}

@media (hover: none) {
    .z29499live-card:hover,
    .z29499article-home-card:hover {
        transform: none;
        box-shadow: none;
    }
}
