/* ===== 体育直播主题 · 靛蓝 + 琥珀金 ===== */
:root {
    --c-primary: #1e1b4b;
    --c-primary-mid: #312e81;
    --c-primary-light: #4338ca;
    --c-accent: #d97706;
    --c-accent-bright: #fbbf24;
    --c-accent-soft: #fef3c7;
    --c-bg: #f5f4fa;
    --c-bg-alt: #eeedf5;
    --c-surface: #ffffff;
    --c-text: #18181b;
    --c-muted: #64748b;
    --c-border: #ddd6e8;
    --c-radius: 12px;
    --c-radius-sm: 8px;
    --c-shadow: 0 1px 3px rgba(30, 27, 75, 0.06), 0 4px 16px rgba(30, 27, 75, 0.05);
    --c-header-h: 64px;
    --c-max: 1160px;
}

*, *::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;
}

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

/* ===== 头部导航 ===== */
.z1818dheader {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--c-surface);
    border-bottom: 2px solid var(--c-primary);
}

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

.z1818dlogo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.z1818dlogo h1 a {
    color: var(--c-primary);
}

.z1818dlogo-tagline {
    font-size: 0.72rem;
    color: var(--c-muted);
    margin-top: 2px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.z1818dmain-nav a {
    display: block;
    padding: 0.4rem 0.7rem;
    font-size: 0.86rem;
    color: var(--c-text);
    border-radius: var(--c-radius-sm);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.z1818dmain-nav a:hover,
.z1818dmain-nav .z1818dthis a {
    background: var(--c-accent-soft);
    color: var(--c-accent);
}

.z1818dmenu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 7px;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    cursor: pointer;
    flex-shrink: 0;
}

.z1818dmenu-toggle span {
    display: block;
    height: 2px;
    background: var(--c-primary);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

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

.z1818dmenu-toggle.z1818dactive span:nth-child(2) {
    opacity: 0;
}

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

/* ===== 首页 Hero ===== */
.z1818dhero {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 2.75rem 0;
}

.z1818dhero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.z1818dhero-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--c-accent);
    background: var(--c-accent-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}

.z1818dhero-text h2 {
    font-size: clamp(1.45rem, 3.2vw, 2.05rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-primary);
    margin-bottom: 0.85rem;
}

.z1818dhero-desc {
    font-size: 0.92rem;
    color: var(--c-muted);
    margin-bottom: 1.1rem;
    max-width: 520px;
    line-height: 1.75;
}

.z1818dhero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.z1818dhero-features li {
    font-size: 0.82rem;
    color: var(--c-muted);
    padding-left: 0.85rem;
    position: relative;
}

.z1818dhero-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-accent);
}

.z1818dhero-features strong {
    color: var(--c-primary);
    font-weight: 600;
    margin-right: 0.15rem;
}

.z1818dhero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

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

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

.z1818dbtn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-border);
}

.z1818dbtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 27, 75, 0.12);
}

.z1818dhero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.z1818dhero-stat {
    flex: 1;
    min-width: 90px;
    max-width: 140px;
    text-align: center;
    padding: 0.65rem 0.5rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-bg);
}

.z1818dhero-stat b {
    display: block;
    font-size: 1.15rem;
    color: var(--c-primary-light);
    margin-bottom: 0.15rem;
}

.z1818dhero-stat span {
    font-size: 0.72rem;
    color: var(--c-muted);
}

.z1818dhero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.z1818dhero-frame {
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 1rem;
    background: var(--c-bg);
    box-shadow: var(--c-shadow);
    width: 100%;
    max-width: 380px;
}

.z1818dhero-img {
    max-height: 260px;
    width: 100%;
    object-fit: contain;
}

.z1818dhero-badge {
    position: absolute;
    bottom: 8%;
    right: 0;
    background: var(--c-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(30, 27, 75, 0.2);
}

/* ===== 价值条 ===== */
.z1818dvalue-bar {
    background: var(--c-primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.15rem 0;
}

.z1818dvalue-inner p {
    font-size: 0.88rem;
    line-height: 1.8;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.z1818dvalue-bar strong {
    color: var(--c-accent-bright);
    font-weight: 600;
}

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

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

.z1818dblock-alt {
    background: var(--c-bg-alt);
    border-color: #d8d2e4;
}

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

.z1818dblock-head-row {
    align-items: center;
}

.z1818dblock-title h2 {
    font-size: 1.25rem;
    color: var(--c-primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.z1818dblock-title p {
    font-size: 0.82rem;
    color: var(--c-muted);
}

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

.z1818dfilter-btn {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    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;
}

.z1818dblock-alt .z1818dfilter-btn {
    background: var(--c-surface);
}

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

.z1818dfilter-btn.z1818dactive {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

/* ===== Bento 直播频道 ===== */
.z1818dbento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 0.85rem;
}

.z1818dbento-item {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    min-height: 130px;
    transition: border-color 0.2s;
}

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

.z1818dbento-main {
    grid-row: 1 / 3;
    grid-column: 1;
    background: linear-gradient(145deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
    color: #fff;
    border-color: transparent;
    min-height: auto;
}

.z1818dbento-main h3,
.z1818dbento-main .z1818dbento-tip,
.z1818dbento-main .z1818dbento-foot {
    color: rgba(255, 255, 255, 0.92);
}

.z1818dbento-main .z1818dvs em {
    color: rgba(255, 255, 255, 0.55);
}

.z1818dstatus {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
}

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

.z1818dstatus-wait {
    background: var(--c-accent-bright);
    color: var(--c-primary);
}

.z1818dstatus-replay {
    background: var(--c-muted);
    color: #fff;
}

.z1818dbento-item h3 {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
}

.z1818dvs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.86rem;
}

.z1818dvs em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--c-muted);
    flex-shrink: 0;
}

.z1818dbento-tip {
    font-size: 0.76rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.z1818dbento-foot {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--c-muted);
    margin-top: auto;
    padding-top: 0.25rem;
}

/* ===== 热门赛事行 ===== */
.z1818dmatch-rows {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.z1818dmatch-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    border-left: 3px solid var(--c-primary-light);
    min-width: 0;
    transition: border-color 0.2s;
}

.z1818dblock-alt .z1818dmatch-row {
    background: var(--c-surface);
}

.z1818dmatch-row:hover {
    border-left-color: var(--c-accent);
}

.z1818dmatch-time time {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-primary-light);
}

.z1818dmatch-time small {
    font-size: 0.72rem;
    color: var(--c-muted);
}

.z1818dmatch-info {
    min-width: 0;
}

.z1818dmatch-teams {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.z1818dmatch-teams em {
    font-style: normal;
    font-size: 0.75rem;
    color: var(--c-muted);
}

.z1818dmatch-teams b {
    color: var(--c-accent);
    margin-left: 0.2rem;
}

.z1818dmatch-info p {
    font-size: 0.82rem;
    color: var(--c-muted);
    line-height: 1.55;
}

.z1818dmatch-tags {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.z1818dmatch-tags span {
    font-size: 0.7rem;
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    white-space: nowrap;
}

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

.z1818dschedule-card {
    padding: 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-bg);
    min-width: 0;
    transition: border-color 0.2s;
}

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

.z1818dschedule-card time {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--c-accent);
    background: var(--c-accent-soft);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.45rem;
}

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

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

/* ===== 最新动态 ===== */
.z1818dnews-wrap {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0.85rem;
}

.z1818dnews-feature {
    padding: 1.15rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    min-width: 0;
}

.z1818dnews-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.18rem 0.5rem;
    background: var(--c-primary);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.z1818dnews-feature h3 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    line-height: 1.4;
    color: var(--c-primary);
}

.z1818dnews-feature > p {
    font-size: 0.85rem;
    color: var(--c-muted);
    margin-bottom: 0.85rem;
    line-height: 1.7;
}

.z1818dnews-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.76rem;
    color: var(--c-muted);
}

.z1818dnews-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
}

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

.z1818dnews-item h4 {
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
    line-height: 1.35;
    color: var(--c-text);
}

.z1818dnews-item p {
    font-size: 0.78rem;
    color: var(--c-muted);
    line-height: 1.55;
}

/* ===== 球员数据 ===== */
.z1818drank-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

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

.z1818drank-col h3 {
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
    background: var(--c-primary);
    color: #fff;
}

.z1818drank-col ol {
    list-style: none;
    padding: 0.35rem;
}

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

.z1818drank-col li:last-child {
    border-bottom: none;
}

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

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

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

/* ===== 观赛百科 ===== */
.z1818dguide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.z1818dguide-item {
    padding: 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    background: var(--c-surface);
    min-width: 0;
}

.z1818dguide-num {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-accent);
    margin-bottom: 0.4rem;
}

.z1818dguide-item h3 {
    font-size: 0.9rem;
    color: var(--c-primary);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

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

/* ===== 深度阅读 ===== */
.z1818dmore-link {
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    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;
}

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

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

.z1818darticle-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;
}

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

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

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

.z1818darticle-body {
    padding: 0.65rem 0.7rem;
}

.z1818darticle-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--c-muted);
    margin-bottom: 0.35rem;
    gap: 0.25rem;
}

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

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

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

/* ===== 页脚 ===== */
.z1818dfooter {
    background: var(--c-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.25rem 0 1.25rem;
    margin-top: 0.5rem;
}

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

.z1818dfooter-section h3 {
    color: var(--c-accent-bright);
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

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

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

.z1818dfooter-section a {
    color: rgba(255, 255, 255, 0.78);
}

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

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

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

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

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

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

.z1818dpage-title {
    font-size: 1.4rem;
    margin-bottom: 0.45rem;
    color: #fff;
}

.z1818dpage-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
    max-width: 720px;
    line-height: 1.65;
}

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

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

.z1818dbreadcrumb span {
    margin: 0 0.3rem;
}

.z1818dinner-main {
    padding: 1.75rem 0 2.5rem;
}

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

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

.z1818darticle-panel,
.z1818dlist-panel,
.z1818drelated-panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 1.25rem;
    box-shadow: var(--c-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.z1818darticle-header h1 {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 0.65rem;
    color: var(--c-primary);
}

.z1818darticle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--c-muted);
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--c-border);
}

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

.z1818darticle-cover {
    margin: 0.85rem 0;
}

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

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

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

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

.z1818darticle-gallery-item figcaption {
    font-size: 0.8rem;
    color: var(--c-muted);
    margin-top: 0.35rem;
}

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

.z1818dmeta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin-top: 1rem;
}

.z1818dtagitem a {
    display: inline-block;
    padding: 0.22rem 0.65rem;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--c-muted);
}

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

.z1818darticle-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

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

.z1818dpanel-title {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid var(--c-accent);
    color: var(--c-primary);
}

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

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

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

.z1818drelated-thumb {
    flex: 0 0 100px;
    min-width: 0;
}

.z1818drelated-thumb img {
    width: 100px;
    height: 68px;
    object-fit: cover;
    border-radius: var(--c-radius-sm);
    border: 1px solid var(--c-border);
}

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

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

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

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

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

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

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

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

.z1818dlist-thumb {
    flex: 0 0 150px;
    min-width: 0;
}

.z1818dlist-thumb img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--c-radius-sm);
    border: 1px solid var(--c-border);
}

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

.z1818dlist-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--c-muted);
    margin-bottom: 0.35rem;
}

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

.z1818dlist-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

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

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

.z1818dlist-intro {
    font-size: 0.85rem;
    color: var(--c-muted);
    line-height: 1.6;
}

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

.z1818dpagebar .pagelist,
.z1818dpagelist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
}

.z1818dpagebar .pagelist a,
.z1818dpagebar .pagelist span,
.z1818dpagelist a,
.z1818dpagelist span {
    display: inline-block;
    padding: 0.38rem 0.7rem;
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius-sm);
    font-size: 0.82rem;
    color: var(--c-text);
    background: var(--c-bg);
}

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

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

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

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

.z1818dsidebar-title {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid var(--c-accent);
    color: var(--c-primary);
}

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

.z1818dsidebar-list li {
    margin-bottom: 0.35rem;
}

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

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

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

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

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

.z1818dsidebar-thumb {
    flex: 0 0 64px;
    min-width: 0;
}

.z1818dsidebar-thumb img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--c-border);
}

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

.z1818dsidebar-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(--c-text);
    margin-bottom: 0.15rem;
}

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

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

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

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

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

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

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

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

    .z1818dbento-main {
        grid-row: auto;
        grid-column: 1 / -1;
    }

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

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

    .z1818dhero-media {
        order: -1;
    }

    .z1818dhero-frame {
        max-width: 320px;
        margin: 0 auto;
    }

    .z1818dhero-badge {
        right: calc(50% - 160px);
    }

    .z1818dhero-stat {
        max-width: none;
    }

    .z1818dnews-wrap {
        grid-template-columns: 1fr;
    }

    .z1818drank-board,
    .z1818dguide-grid {
        grid-template-columns: 1fr;
    }

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

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

    .z1818dmatch-tags {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 0.25rem;
    }

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

    .z1818dsidebar {
        position: static;
    }

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

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

    .z1818dheader-inner {
        flex-wrap: wrap;
        position: relative;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .z1818dlogo-tagline {
        max-width: 180px;
    }

    .z1818dmain-nav {
        display: none;
        width: 100%;
        order: 10;
        background: var(--c-bg);
        border: 1px solid var(--c-border);
        border-radius: var(--c-radius-sm);
        padding: 0.45rem;
        margin-top: 0.45rem;
    }

    .z1818dmain-nav.z1818dactive {
        display: block;
    }

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

    .z1818dmain-nav a {
        padding: 0.6rem 0.7rem;
    }

    .z1818dhero {
        padding: 1.5rem 0;
    }

    .z1818dhero-features {
        flex-direction: column;
        gap: 0.4rem;
    }

    .z1818dhero-stats {
        width: 100%;
    }

    .z1818dhero-stat {
        flex: 1 1 calc(33.33% - 0.5rem);
        min-width: 80px;
    }

    .z1818dhero-badge {
        right: 5%;
        bottom: 5%;
    }

    .z1818dblock {
        padding: 1rem 0.85rem;
    }

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

    .z1818dfilter-row {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .z1818dfilter-row::-webkit-scrollbar {
        display: none;
    }

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

    .z1818dbento-main {
        grid-column: 1;
    }

    .z1818dmatch-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .z1818dmatch-tags {
        flex-wrap: wrap;
    }

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

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

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

    .z1818dlist-thumb img {
        width: 100%;
        height: auto;
        max-height: 190px;
    }

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

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

    .z1818drelated-thumb img {
        width: 100%;
        height: auto;
        max-height: 170px;
    }

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

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

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

    .z1818dvalue-inner p {
        text-align: left;
        font-size: 0.85rem;
    }
}

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

    .z1818dhero-actions {
        flex-direction: column;
    }

    .z1818dbtn {
        width: 100%;
    }

    .z1818dhero-stat {
        flex: 1 1 100%;
    }

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

    .z1818darticle-thumb img {
        height: 130px;
    }

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

@media (hover: none) {
    .z1818dbento-item:hover,
    .z1818dmatch-row:hover,
    .z1818dschedule-card:hover,
    .z1818darticle-card:hover {
        box-shadow: none;
    }
}
