/* ===== 体育直播主题 · 墨绿 + 赤陶橙 ===== */
:root {
    --c-primary: #0b3d2e;
    --c-primary-mid: #145a42;
    --c-primary-light: #1a7a55;
    --c-accent: #c45c26;
    --c-accent-bright: #e07a3a;
    --c-accent-soft: #fdf0e8;
    --c-bg: #f7f4ef;
    --c-bg-tone: #f0ebe3;
    --c-surface: #ffffff;
    --c-text: #1a2420;
    --c-muted: #5a6b62;
    --c-border: #d5cfc4;
    --c-radius: 10px;
    --c-radius-sm: 6px;
    --c-shadow: 0 2px 8px rgba(11, 61, 46, 0.07);
    --c-header-h: 62px;
    --c-max: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: var(--c-primary-light);
    text-decoration: none;
}

.z4b97dcontainer {
    max-width: var(--c-max);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* ===== 头部 ===== */
.z4b97dheader {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--c-primary);
}

.z4b97dheader-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--c-header-h);
}

.z4b97dlogo h1 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.z4b97dlogo h1 a {
    color: #fff;
}

.z4b97dlogo-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.z4b97dmain-nav a {
    display: block;
    padding: 0.38rem 0.65rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    border-radius: var(--c-radius-sm);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.z4b97dmain-nav a:hover,
.z4b97dmain-nav .z4b97dthis a {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.z4b97dmenu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--c-radius-sm);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.z4b97dmenu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

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

.z4b97dmenu-toggle.z4b97dactive span:nth-child(2) {
    opacity: 0;
}

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

/* ===== 首页 Showcase ===== */
.z4b97dshowcase {
    background: linear-gradient(160deg, var(--c-primary-mid) 0%, var(--c-primary) 60%, #072a1f 100%);
    color: #fff;
    padding: 2.5rem 0 0;
}

.z4b97dshowcase-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
}

.z4b97dshowcase-tag {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--c-accent-bright);
    margin-bottom: 0.7rem;
}

.z4b97dshowcase-main h2 {
    font-size: clamp(1.4rem, 3vw, 1.95rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.8rem;
    color: #fff;
}

.z4b97dshowcase-lead {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
    max-width: 500px;
    line-height: 1.75;
}

.z4b97dshowcase-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.z4b97dshowcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 1.15rem;
    border-radius: var(--c-radius-sm);
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.z4b97dshowcase-btn-main {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

.z4b97dshowcase-btn-sub {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.z4b97dshowcase-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.z4b97dshowcase-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.z4b97dshowcase-img {
    max-height: 240px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.z4b97dshowcase-strip {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.z4b97dshowcase-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.z4b97dstrip-item {
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.z4b97dstrip-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--c-accent-bright);
    margin-bottom: 0.15rem;
}

.z4b97dstrip-item span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 三栏介绍 ===== */
.z4b97dpitch {
    padding: 1.5rem 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}

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

.z4b97dpitch-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    background: var(--c-bg);
    min-width: 0;
}

.z4b97dpitch-card h3 {
    font-size: 0.92rem;
    color: var(--c-primary);
    margin-bottom: 0.4rem;
}

.z4b97dpitch-card p {
    font-size: 0.82rem;
    color: var(--c-muted);
    line-height: 1.65;
}

.z4b97dpitch-card strong {
    color: var(--c-accent);
}

/* ===== 主内容 ===== */
.z4b97dmain-content {
    padding: 1.75rem 0 2.75rem;
}

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

.z4b97dpanel-tone {
    background: var(--c-bg-tone);
    border-color: #ccc5b8;
}

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

.z4b97dpanel-top-flex {
    align-items: center;
}

.z4b97dpanel-info h2 {
    font-size: 1.2rem;
    color: var(--c-primary);
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.z4b97dpanel-info p {
    font-size: 0.8rem;
    color: var(--c-muted);
}

.z4b97dchip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.z4b97dchip {
    padding: 0.32rem 0.75rem;
    font-size: 0.78rem;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    background: var(--c-surface);
    color: var(--c-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.z4b97dpanel-tone .z4b97dchip {
    background: var(--c-surface);
}

.z4b97dchip:hover {
    border-color: var(--c-primary-light);
    color: var(--c-primary-light);
}

.z4b97dchip.z4b97don {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

/* ===== 赛事中心 ===== */
.z4b97dlive-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.z4b97dlive-tile {
    padding: 0.9rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    min-height: 140px;
    transition: border-color 0.2s;
}

.z4b97dlive-tile:hover {
    border-color: var(--c-primary-light);
}

.z4b97dlive-tile--hot {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.z4b97dlive-tile--hot h3,
.z4b97dlive-tile--hot p,
.z4b97dlive-tile--hot footer {
    color: rgba(255, 255, 255, 0.92);
}

.z4b97dlive-tile--hot .z4b97dduel i {
    color: rgba(255, 255, 255, 0.5);
}

.z4b97ddot {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.03em;
}

.z4b97ddot-live {
    background: var(--c-accent);
    color: #fff;
}

.z4b97ddot-soon {
    background: var(--c-accent-bright);
    color: #fff;
}

.z4b97ddot-vod {
    background: var(--c-muted);
    color: #fff;
}

.z4b97dlive-tile h3 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.z4b97dduel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.84rem;
}

.z4b97dduel i {
    font-style: normal;
    font-size: 0.7rem;
    color: var(--c-muted);
    flex-shrink: 0;
}

.z4b97dlive-tile p {
    font-size: 0.74rem;
    color: var(--c-muted);
    line-height: 1.45;
}

.z4b97dlive-tile footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--c-muted);
    margin-top: auto;
    padding-top: 0.2rem;
}

/* ===== 精选对阵 ===== */
.z4b97dfocus-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.z4b97dfocus-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    min-width: 0;
    transition: border-color 0.2s;
}

.z4b97dpanel-tone .z4b97dfocus-row {
    background: var(--c-surface);
}

.z4b97dfocus-row:nth-child(even) {
    background: var(--c-bg);
}

.z4b97dpanel-tone .z4b97dfocus-row:nth-child(even) {
    background: var(--c-bg);
}

.z4b97dfocus-row:hover {
    border-color: var(--c-primary-light);
}

.z4b97dfocus-clock time {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-accent);
}

.z4b97dfocus-clock small {
    font-size: 0.7rem;
    color: var(--c-muted);
}

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

.z4b97dfocus-vs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.6rem;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.z4b97dfocus-vs em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--c-muted);
}

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

.z4b97dfocus-labels {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.z4b97dfocus-labels span {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    white-space: nowrap;
}

/* ===== 近期赛程 ===== */
.z4b97dplan-list {
    position: relative;
    padding-left: 1.5rem;
}

.z4b97dplan-list::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--c-border);
}

.z4b97dplan-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--c-border);
    min-width: 0;
}

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

.z4b97dplan-dot {
    position: absolute;
    left: -1.5rem;
    top: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-accent);
    border: 2px solid var(--c-surface);
    box-shadow: 0 0 0 2px var(--c-accent);
}

.z4b97dplan-item time {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--c-primary);
}

.z4b97dplan-text {
    min-width: 0;
}

.z4b97dplan-text h3 {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
    color: var(--c-text);
}

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

/* ===== 赛事资讯 ===== */
.z4b97dfeed {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 0.75rem;
}

.z4b97dfeed-lead {
    grid-row: 1 / 3;
    padding: 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    min-width: 0;
}

.z4b97dfeed-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    background: var(--c-primary);
    color: #fff;
    border-radius: 3px;
    margin-bottom: 0.55rem;
}

.z4b97dfeed-lead h3 {
    font-size: 1rem;
    margin-bottom: 0.55rem;
    line-height: 1.4;
    color: var(--c-primary);
}

.z4b97dfeed-lead > p {
    font-size: 0.82rem;
    color: var(--c-muted);
    margin-bottom: 0.7rem;
    line-height: 1.65;
}

.z4b97dfeed-meta {
    display: flex;
    gap: 0.85rem;
    font-size: 0.74rem;
    color: var(--c-muted);
}

.z4b97dfeed-card {
    padding: 0.85rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.z4b97dfeed-card h4 {
    font-size: 0.84rem;
    margin-bottom: 0.3rem;
    line-height: 1.35;
}

.z4b97dfeed-card p {
    font-size: 0.76rem;
    color: var(--c-muted);
    line-height: 1.5;
}

/* ===== 排名数据 ===== */
.z4b97ddata-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.z4b97ddata-box {
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    overflow: hidden;
    background: var(--c-bg);
    min-width: 0;
}

.z4b97ddata-box h3 {
    font-size: 0.86rem;
    padding: 0.6rem 0.8rem;
    background: var(--c-primary);
    color: #fff;
}

.z4b97ddata-box ol {
    list-style: none;
    padding: 0.3rem;
}

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

.z4b97ddata-box li:last-child {
    border-bottom: none;
}

.z4b97ddata-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.z4b97ddata-player {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.z4b97ddata-box li strong {
    flex-shrink: 0;
    color: var(--c-primary-light);
    font-weight: 700;
}

/* ===== 观赛知识库 ===== */
.z4b97dtips-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.z4b97dtips-item {
    padding: 0.85rem 0.9rem 0.85rem 1rem;
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-accent);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    min-width: 0;
}

.z4b97dtips-item h3 {
    font-size: 0.88rem;
    color: var(--c-primary);
    margin-bottom: 0.3rem;
}

.z4b97dtips-item p {
    font-size: 0.8rem;
    color: var(--c-muted);
    line-height: 1.6;
}

/* ===== 专栏精选 ===== */
.z4b97dmore-link {
    font-size: 0.8rem;
    padding: 0.38rem 0.85rem;
    border: 1px solid var(--c-primary-light);
    border-radius: var(--c-radius-sm);
    color: var(--c-primary-light);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.z4b97dmore-link:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

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

.z4b97dpost-card {
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    overflow: hidden;
    background: var(--c-bg);
    min-width: 0;
    transition: box-shadow 0.2s;
}

.z4b97dpost-card:hover {
    box-shadow: var(--c-shadow);
}

.z4b97dpost-thumb {
    display: block;
    overflow: hidden;
}

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

.z4b97dpost-body {
    padding: 0.6rem 0.65rem;
}

.z4b97dpost-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--c-muted);
    margin-bottom: 0.3rem;
    gap: 0.2rem;
}

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

.z4b97dpost-body h3 a {
    color: var(--c-text);
}

.z4b97dpost-body h3 a:hover {
    color: var(--c-accent);
}

/* ===== 页脚 ===== */
.z4b97dfooter {
    background: var(--c-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 2rem 0 1.15rem;
}

.z4b97dfooter-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.15rem;
}

.z4b97dfooter-section h3 {
    color: var(--c-accent-bright);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

.z4b97dfooter-section p,
.z4b97dfooter-section li {
    font-size: 0.83rem;
    line-height: 1.6;
}

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

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

.z4b97dfooter-section a:hover {
    color: #fff;
}

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

.z4b97dcopyright a {
    color: var(--c-accent-bright);
}

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

.z4b97dsitemap-links a:hover {
    color: #fff;
}

/* ===== 内页通用 ===== */
.z4b97dpage-banner {
    background: linear-gradient(135deg, var(--c-primary-mid) 0%, var(--c-primary) 100%);
    color: #fff;
    padding: 1.65rem 0 1.4rem;
}

.z4b97dpage-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.z4b97dpage-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.86rem;
    margin-bottom: 0.6rem;
    max-width: 700px;
    line-height: 1.6;
}

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

.z4b97dbreadcrumb a {
    color: var(--c-accent-bright);
}

.z4b97dbreadcrumb span {
    margin: 0 0.3rem;
}

.z4b97dinner-main {
    padding: 1.65rem 0 2.5rem;
}

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

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

.z4b97darticle-panel,
.z4b97dlist-panel,
.z4b97drelated-panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 1.15rem;
    box-shadow: var(--c-shadow);
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.z4b97darticle-header h1 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    color: var(--c-primary);
}

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

.z4b97darticle-meta a {
    color: var(--c-accent);
}

.z4b97darticle-cover {
    margin: 0.75rem 0;
}

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

.z4b97darticle-content {
    line-height: 1.85;
    font-size: 0.92rem;
    color: var(--c-text);
    word-break: break-word;
}

.z4b97darticle-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--c-radius-sm);
    margin: 0.6rem 0;
}

.z4b97darticle-gallery-item {
    margin: 0.75rem 0;
    text-align: center;
}

.z4b97darticle-gallery-item figcaption {
    font-size: 0.78rem;
    color: var(--c-muted);
    margin-top: 0.3rem;
}

.z4b97ddiyfield {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--c-border);
}

.z4b97dmeta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    list-style: none;
    margin-top: 0.9rem;
}

.z4b97dtagitem a {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--c-muted);
}

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

.z4b97darticle-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.9rem;
    font-size: 0.86rem;
}

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

.z4b97dpanel-title {
    font-size: 1.02rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--c-accent);
    color: var(--c-primary);
}

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

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

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

.z4b97drelated-thumb {
    flex: 0 0 96px;
    min-width: 0;
}

.z4b97drelated-thumb img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--c-radius-sm);
    border: 1px solid var(--c-border);
}

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

.z4b97drelated-body h3 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    line-height: 1.35;
}

.z4b97drelated-body h3 a {
    color: var(--c-text);
}

.z4b97drelated-body h3 a:hover {
    color: var(--c-accent);
}

.z4b97drelated-body p {
    font-size: 0.8rem;
    color: var(--c-muted);
}

/* ===== 列表页 ===== */
.z4b97dlist-items {
    list-style: none;
}

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

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

.z4b97dlist-thumb {
    flex: 0 0 145px;
    min-width: 0;
}

.z4b97dlist-thumb img {
    width: 145px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--c-radius-sm);
    border: 1px solid var(--c-border);
}

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

.z4b97dlist-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.76rem;
    color: var(--c-muted);
    margin-bottom: 0.3rem;
}

.z4b97dlist-cat {
    color: var(--c-accent);
}

.z4b97dlist-title {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.z4b97dlist-title a {
    color: var(--c-text);
}

.z4b97dlist-title a:hover {
    color: var(--c-accent);
}

.z4b97dlist-intro {
    font-size: 0.83rem;
    color: var(--c-muted);
    line-height: 1.55;
}

.z4b97dpagebar {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--c-border);
}

.z4b97dpagebar .pagelist,
.z4b97dpagelist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    list-style: none;
}

.z4b97dpagebar .pagelist a,
.z4b97dpagebar .pagelist span,
.z4b97dpagelist a,
.z4b97dpagelist span {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    font-size: 0.8rem;
    color: var(--c-text);
    background: var(--c-bg);
}

.z4b97dpagebar .pagelist a:hover,
.z4b97dpagelist a:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

.z4b97dpagebar .pagelist .thisclass a,
.z4b97dpagelist .thisclass a {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}

/* ===== 侧栏 ===== */
.z4b97dsidebar {
    position: sticky;
    top: calc(var(--c-header-h) + 10px);
}

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

.z4b97dsidebar-title {
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--c-accent);
    color: var(--c-primary);
}

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

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

.z4b97dsidebar-list a {
    font-size: 0.83rem;
    color: var(--c-text);
}

.z4b97dsidebar-list a:hover,
.z4b97dsidebar-list .z4b97dthis a {
    color: var(--c-accent);
}

.z4b97dsidebar-articles {
    list-style: none;
}

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

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

.z4b97dsidebar-thumb {
    flex: 0 0 60px;
    min-width: 0;
}

.z4b97dsidebar-thumb img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--c-border);
}

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

.z4b97dsidebar-article-info > a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--c-text);
    margin-bottom: 0.12rem;
}

.z4b97dsidebar-article-info > a:hover {
    color: var(--c-accent);
}

.z4b97dsidebar-date {
    font-size: 0.7rem;
    color: var(--c-muted);
}

/* ===== 站点地图 ===== */
.z4b97dsitemap-panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 1.15rem;
    box-shadow: var(--c-shadow);
}

.z4b97dsitemap-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.3rem 1rem;
}

.z4b97dsitemap-list a {
    font-size: 0.83rem;
    color: var(--c-text);
    display: block;
    padding: 0.28rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.z4b97dsitemap-list a:hover {
    color: var(--c-accent);
}

/* ===== 锚点偏移 ===== */
section[id] {
    scroll-margin-top: calc(var(--c-header-h) + 10px);
}

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

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

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

    .z4b97dfeed-lead {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .z4b97dshowcase-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .z4b97dshowcase-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .z4b97dshowcase-btns {
        justify-content: center;
    }

    .z4b97dshowcase-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .z4b97dstrip-item:nth-child(2) {
        border-right: none;
    }

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

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

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

    .z4b97dfocus-row {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .z4b97dfocus-labels {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 0.2rem;
    }

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

    .z4b97dsidebar {
        position: static;
    }

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

@media (max-width: 767px) {
    .z4b97dmenu-toggle {
        display: flex;
    }

    .z4b97dheader-inner {
        flex-wrap: wrap;
        position: relative;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .z4b97dlogo-tagline {
        max-width: 160px;
    }

    .z4b97dmain-nav {
        display: none;
        width: 100%;
        order: 10;
        background: var(--c-primary-mid);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--c-radius-sm);
        padding: 0.4rem;
        margin-top: 0.4rem;
    }

    .z4b97dmain-nav.z4b97dactive {
        display: block;
    }

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

    .z4b97dmain-nav a {
        padding: 0.55rem 0.65rem;
    }

    .z4b97dshowcase {
        padding-top: 1.5rem;
    }

    .z4b97dshowcase-inner {
        padding-bottom: 1.25rem;
    }

    .z4b97dshowcase-strip-inner {
        grid-template-columns: 1fr 1fr;
    }

    .z4b97dstrip-item {
        padding: 0.65rem 0.35rem;
    }

    .z4b97dstrip-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .z4b97dstrip-item:nth-child(even) {
        border-right: none;
    }

    .z4b97dpanel {
        padding: 1rem 0.85rem;
    }

    .z4b97dpanel-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .z4b97dchip-group {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.15rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .z4b97dchip-group::-webkit-scrollbar {
        display: none;
    }

    .z4b97dlive-row {
        grid-template-columns: 1fr;
    }

    .z4b97dfocus-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .z4b97dplan-item {
        grid-template-columns: 50px minmax(0, 1fr);
    }

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

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

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

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

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

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

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

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

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

    .z4b97dfooter-content {
        text-align: center;
    }
}

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

    .z4b97dshowcase-btns {
        flex-direction: column;
        width: 100%;
    }

    .z4b97dshowcase-btn {
        width: 100%;
    }

    .z4b97dshowcase-strip-inner {
        grid-template-columns: 1fr;
    }

    .z4b97dstrip-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

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

    .z4b97dpost-thumb img {
        height: 125px;
    }
}

@media (hover: none) {
    .z4b97dlive-tile:hover,
    .z4b97dfocus-row:hover,
    .z4b97dpost-card:hover {
        box-shadow: none;
    }
}
