:root {
    --site-bg: #f0f2f5;
    --site-paper: #ffffff;
    --site-soft: #f6f7f8;
    --site-ink: #333333;
    --site-muted: #8a9096;
    --site-line: #dcdfe3;
    --site-line-strong: #b9bec4;
    --site-dark: #1a1a2e;
    --site-green: #1abc9c;
    --site-red: #e94560;
    --site-blue: #3498db;
    --serif: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    --sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--site-bg);
    color: var(--site-ink);
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.7;
}
.site-header, .site-footer { flex: 0 0 auto; }
.site-main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; }

.site-container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- 头部 ---------- */
.site-topline {
    background: var(--site-dark);
    color: #ffd700;
    font-size: 12px;
}
.topline-inner {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topline-inner > span:first-child { color: #ffd700; font-weight: 700; }
.topline-right { display: flex; align-items: center; gap: 12px; color: #dfe3e8; }
.topline-sep { width: 1px; height: 12px; background: #4a4f5c; }

.site-header {
    background: var(--site-paper);
    border-bottom: 2px solid var(--site-red);
    position: sticky;
    top: 0;
    z-index: 30;
}
.mainhead-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}
.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-family: var(--sans);
    font-size: 22px;
    border-radius: 6px;
}
.logo-mark.small { width: 30px; height: 30px; font-size: 16px; border-radius: 4px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--sans); font-size: 23px; font-weight: 700; letter-spacing: 1px; background: linear-gradient(135deg,#e74c3c,#f39c12); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-text small { color: var(--site-muted); font-size: 10px; letter-spacing: 3px; margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
    position: relative;
    padding: 7px 16px;
    color: #333;
    font-size: 13px;
    border-radius: 20px;
    transition: background .15s, color .15s;
}
.site-nav a:hover { color: #e74c3c; background: #fdecee; }
.site-nav a.active { color: #fff; background: var(--site-red); font-weight: 600; }
.site-nav a.active::after { display: none; }
.site-nav a[href="/publish"] { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; }
.site-nav a[href="/publish"]:hover { color: #fff; opacity: .92; }

.site-account { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.account-balance {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--site-line);
    color: var(--site-muted);
    font-size: 12px;
}
.account-balance b { color: var(--site-ink); font-family: Georgia, serif; font-size: 13px; }
.account-user { display: flex; align-items: center; gap: 7px; }
.account-avatar {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef0f2;
    border: 1px solid var(--site-line);
    color: #3d444a;
    font-size: 12px;
}
.account-name { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #4d555c; }
.account-login { font-size: 12px; color: var(--site-muted); padding: 6px 8px; }
.account-register {
    font-size: 12px;
    background: var(--site-red);
    color: #fff;
    padding: 7px 14px;
    border-radius: 4px;
}

.site-main { padding: 18px 0 32px; min-height: 60vh; }
.site-flash {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #d9e3dc;
    background: #f4f8f5;
    color: var(--site-green);
    margin-bottom: 12px;
    font-size: 13px;
}
.site-flash-error { border-color: #e6d3d0; background: #fbf4f3; color: var(--site-red); }

/* ---------- 首页 ---------- */
.home-intro {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 24px 28px;
    margin-bottom: 16px;
}
.home-intro-main { max-width: 700px; }
.home-kicker {
    margin: 0 0 7px;
    color: var(--site-muted);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.home-intro h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1.25;
}
.home-intro p { margin: 9px 0 0; color: var(--site-muted); font-size: 13px; }
.home-stats { display: flex; align-items: center; gap: 0; border-left: 1px solid var(--site-line); padding-left: 28px; }
.home-stat { min-width: 92px; padding: 0 18px; }
.home-stat:first-child { padding-left: 0; }
.home-stat b { display: block; font-family: Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.2; }
.home-stat span { display: block; color: var(--site-muted); font-size: 11px; margin-top: 4px; }

.announcement-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e94560;
    background: linear-gradient(90deg, #1a1a2e, #2c3e50, #1a1a2e);
    padding: 7px 14px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 6px;
}
.announcement-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.announcement-track { display: flex; align-items: center; gap: 28px; overflow: hidden; white-space: nowrap; }
.announcement-track span { color: #ffd700; font-size: 12px; }

.ad-section {
    --accent: #a98545;
    background: #fff;
    border: 1px solid #a0a0a0;
    border-radius: 4px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: none;
}
/* 除钻石固顶外：整块按板块铺浅色，栏目头深色，今日套黄整行铺金黄 */
.ad-section.ad-panel {
    background: #fff;
    border: 1px solid #b8b8b8;
}
.ad-section.ad-panel:not(.section-diamond) {
    border-top: 4px solid var(--accent);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.ad-section.ad-panel.section-top,
.ad-section.ad-panel.section-night,
.ad-section.ad-panel.section-upcoming,
.ad-section.ad-panel.section-opened {
    border-left-color: var(--head-line);
    border-right-color: var(--head-line);
    border-bottom-color: var(--head-line);
}
.ad-section.ad-panel.section-diamond {
    background: #ffff00;
    border: 1px solid #270b2b;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.ad-cta-section { background: #fff; border: 1px solid #a0a0a0; }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 13px 20px;
    border-bottom: 2px solid #d9b48b;
    background: linear-gradient(98deg, #0a2a3a, #154254);
}
.section-head-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.section-dot { flex: 0 0 auto; width: 3px; height: 18px; background: var(--accent, #d9b48b); border-radius: 0; }
.section-head h2 {
    margin: 0;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1.35;
    color: #f7f3e8;
    white-space: nowrap;
}
.section-head .section-meta {
    display: inline-flex;
    align-items: center;
    height: 25px;
    padding: 0 10px;
    border: 1px solid rgba(217, 180, 139, .6);
    background: rgba(247, 243, 232, .1);
    color: #f7f3e8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border-radius: 20px;
}
.section-head a { color: #f5e6c4; font-size: 12px; font-weight: 600; white-space: nowrap; }
.section-head a:hover { color: #fff; }
.section-diamond, .section-top, .section-today, .section-night,
.section-upcoming, .section-opened, .section-result { --accent: #a98545; }
.section-top {
    --accent: #b33a3a;
    --head-bg: #b33a3a;
    --head-line: #922b2b;
    --body-bg: #ffe6e6;
    --head-cell-bg: #ffd8d8;
}
.section-today { --accent: #b06a3c; --head-bg: #173645; --body-bg: #ffffff; --head-cell-bg: #f5f5f3; }
.section-night {
    --accent: #2f5f8f;
    --head-bg: #2f5f8f;
    --head-line: #234a73;
    --body-bg: #e4f0fb;
    --head-cell-bg: #d8eaf9;
}
.section-upcoming {
    --accent: #4f8a33;
    --head-bg: #4f8a33;
    --head-line: #3d6b26;
    --body-bg: #eef8e3;
    --head-cell-bg: #def0c9;
}
.section-opened {
    --accent: #3d94c9;
    --head-bg: #3d94c9;
    --head-line: #2b75a0;
    --body-bg: #e8f6fd;
    --head-cell-bg: #d8edfa;
    --head-link: #ffffff;
}
.section-diamond .section-meta,
.section-top .section-meta,
.section-today .section-meta,
.section-night .section-meta,
.section-upcoming .section-meta,
.section-opened .section-meta,
.section-result .section-meta {
    background: rgba(247, 243, 232, .1);
    border-color: rgba(217, 180, 139, .6);
    color: #f7f3e8;
}
.section-opened .section-head h2 { color: #fff; }
.section-opened .section-meta {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}
.section-diamond .section-head h2::before { content: none; }

/* 普通分组统一深墨蓝栏目头，彩色只留在 4px 顶边、标题竖条和广告位标签上 */
.ad-section.ad-panel:not(.section-diamond) .section-head {
    min-height: 52px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--head-line, #8d9ba3);
    background: var(--head-bg, #173645);
}
.ad-section.ad-panel:not(.section-diamond) .section-dot { width: 4px; height: 20px; }
.ad-section.ad-panel:not(.section-diamond) .section-head .section-meta {
    border-radius: 2px;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
}
.ad-section.ad-panel:not(.section-diamond) .section-head a { color: var(--head-link, #e8dfcb); }
.ad-section.ad-panel.section-opened .section-head .section-meta {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}

.table-scroll { width: 100%; overflow-x: auto; background: transparent; }
.ad-table { width: 100%; border-collapse: collapse; table-layout: auto; }
.ad-table th {
    background: #f8fafc;
    color: #0f172a;
    font-family: "宋体", SimSun, "Microsoft YaHei", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 9px 10px;
    border: 1px solid #a0a0a0;
    border-top: 0;
    border-bottom: 2px solid #d9b48b;
    white-space: nowrap;
}
.ad-table td {
    padding: 10px;
    border: 1px solid #a0a0a0;
    vertical-align: middle;
    font-family: "宋体", SimSun, "Microsoft YaHei", Arial, sans-serif;
    font-size: 13px;
    color: #212529;
    line-height: 1.65;
    text-align: center;
    background: transparent;
}
.ad-section.ad-panel:not(.section-diamond) .ad-table tbody tr td {
    background: var(--body-bg, #fff);
}
.ad-table tr:last-child td { border-bottom: 1px solid #a0a0a0; }
.ad-table tbody tr { transition: background-color .18s ease, box-shadow .18s ease; }
.ad-table tbody tr:hover { box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .18), 0 0 0 2px #d9b48b; }
.ad-table tbody tr:hover td { background: #f7f7f5; }
.ad-section.ad-panel.section-diamond .ad-table tbody tr:hover td { background: #fff100; }

/* 普通分组：浅灰表头、细灰表格线，悬停只做轻底色，不再整行描金边 */
.ad-section.ad-panel:not(.section-diamond) .ad-table th {
    background: var(--head-cell-bg, #f5f5f3);
    border: 1px solid #bdbdbd;
    border-top: 0;
    border-bottom: 1px solid #bdbdbd;
}
.ad-section.ad-panel.section-opened .ad-table th { background: var(--head-cell-bg, #d8edfa); }
.ad-section.ad-panel:not(.section-diamond) .ad-table td { border-color: #c8c8c8; }
.ad-section.ad-panel:not(.section-diamond) .ad-table tr:last-child td { border-bottom-color: #c8c8c8; }
.ad-section.ad-panel:not(.section-diamond) .ad-table tbody tr:hover { box-shadow: none; }
.ad-section.ad-panel:not(.section-diamond) .ad-table tbody tr:hover td { background: #f7f7f5; }
.ad-section.ad-panel.section-top .ad-table tbody tr:hover td { background: #ffdada; }
.ad-section.ad-panel.section-today .ad-table tbody tr:hover td { background: #f7f7f5; }
/* 勾选套黄：整个广告条整行金黄色，黑色字，灰色细线 */
.ad-section.ad-panel.section-today .ad-table tbody tr.row-taohuang,
.ad-section.ad-panel.section-today .ad-table tbody tr.row-taohuang td {
    background: #ffd700 !important;
    color: #1f1a00 !important;
}
.ad-section.ad-panel.section-today .ad-table tbody tr.row-taohuang:hover td { background: #f5c400 !important; }
.ad-section.ad-panel.section-today .ad-table tbody tr.row-taohuang .status-mark.hot {
    background: #7a4f00;
    border-color: #5c3b00;
    border-left-color: #5c3b00;
    color: #fff;
}
.ad-section.ad-panel.section-night .ad-table tbody tr:hover td { background: #d9eaf9; }
.ad-section.ad-panel.section-upcoming .ad-table tbody tr:hover td { background: #d9efdf; }
.ad-section.ad-panel.section-opened .ad-table tbody tr:hover td { background: #fafafa; }
.ad-name { color: #000; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ad-name:hover { color: #0a58ca; text-decoration: underline; text-underline-offset: 3px; }
.ad-slogan { color: #212529; white-space: nowrap; }
.ad-time { font-family: "Times New Roman", Georgia, serif; font-size: 13px; color: #212529; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ad-time small { color: #5c636a; font-family: var(--sans); font-size: 10px; line-height: 1.4; display: block; }
.time-note { color: #5c636a; font-family: var(--sans); font-size: 11px; }
.ad-brief { min-width: 220px; max-width: 360px; color: #212529; font-size: 13px; line-height: 1.7; text-align: left; }
.ad-official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 72px;
    padding: 5px 10px;
    border: 1px solid #b0b0b0;
    border-radius: 2px;
    background: #fff;
    color: #202a33;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .2px;
    white-space: nowrap;
}

.ad-official::after {
    content: "↗";
    color: #6b747c;
    font-size: 10px;
    line-height: 1;
}

.ad-official:hover { background: #f2f4f5; color: #111820; border-color: #8d979f; }
.ad-official:hover::after { color: #111820; }
.ad-official:focus-visible { outline: 2px solid #8e3b3b; outline-offset: 1px; }
.version-tag {
    display: inline-block;
    padding: 2px 7px;
    border: 1px solid #d6d6d6;
    border-left: 3px solid var(--tag-color, #b5852b);
    border-radius: 2px;
    background: #fff;
    color: #2b333a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.linkage-badge {
    display: inline-block;
    margin-right: 5px;
    padding: 0 5px;
    border: 1px solid #cfd4d9;
    color: var(--site-muted);
    font-size: 10px;
    vertical-align: 1px;
}
.status-mark {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border: 1px solid #d5dbe2;
    border-left: 3px solid #98a2ad;
    border-radius: 0;
    background: #fff;
    color: #525b65;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: .2px;
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
}
.status-mark.hot { background: #fff; border-color: #d6d6d6; border-left-color: #98a2ad; color: #525b65; }
.status-mark.night { background: #fff; border-color: #d6d6d6; border-left-color: #5f6f84; color: #435166; }
.status-mark.tongxiao { background: #fff; border-color: #d6d6d6; border-left-color: #87836b; color: #5b5744; }
.status-mark.top { background: #fff; border-color: #d6d6d6; border-left-color: #7b639c; color: #513c6c; }
.status-mark.new { background: #fff; border-color: #d6d6d6; border-left-color: #4e8a63; color: #356247; }
.status-mark.opened { background: #fff; border-color: #d6d6d6; border-left-color: #2f7d50; color: #286642; }
.status-mark.upcoming { background: #fff; border-color: #d6d6d6; border-left-color: #b18422; color: #725916; }
.status-mark.diamond { background: #2c2823; border-color: #2c2823; border-left-color: #c2a166; color: #fff; font-weight: 600; }
.status-mark.diamond::before { content: "◆"; margin-right: 4px; color: #d6bb86; font-size: 9px; line-height: 1; }
.section-top .status-mark.top {
    padding: 0 9px;
    border: 1px solid #d6d6d6;
    border-left: 3px solid #9b3b44;
    border-radius: 2px;
    background: #fff;
    color: #73343a;
}
.section-today .status-mark.new {
    padding: 0 8px;
    border: 1px solid #cfcfcf;
    border-left: 3px solid #6b7f68;
    border-radius: 2px;
    background: #fff;
    color: #3f4f3d;
}
.section-upcoming .status-mark.upcoming {
    padding: 0 8px;
    border: 1px solid #d6d6d6;
    border-left: 3px solid #3f728c;
    border-radius: 2px;
    background: #fff;
    color: #315d73;
}
.section-opened .status-mark.opened {
    padding: 0 8px;
    border: 1px solid #cfd4d8;
    border-left: 3px solid #858b90;
    border-radius: 2px;
    background: #fff;
    color: #4f565b;
}

/* 广告位铭牌：按价值层级用实色底，不靠渐变和大圆角 */
.status-mark {
    height: 26px;
    padding: 0 10px;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.status-mark.diamond {
    border-color: #b08a3e;
    background: #1f1a00;
    color: #ffd700;
    font-size: 12px;
}
.section-top .status-mark.top {
    border-color: #6f1b1b;
    background: #8f2626;
    color: #fff;
}
.section-today .status-mark.hot {
    border-color: #5c3b00;
    background: #7a4f00;
    color: #fff;
}
.section-today .status-mark.tongxiao,
.section-night .status-mark.tongxiao {
    border-color: #183650;
    background: #234a73;
    color: #fff;
}
.section-upcoming .status-mark.upcoming {
    border-color: #3d6b26;
    background: #4f8a33;
    color: #fff;
}
.section-opened .status-mark.opened {
    border-color: #2b75a0;
    background: #3d94c9;
    color: #fff;
}

.ad-cta-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 20px 18px;
}
.ad-cta-copy { flex: 1 1 270px; min-width: 240px; color: #666e77; font-size: 12px; line-height: 1.9; }
.ad-package-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 2 1 620px; }
.ad-package {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 8px 10px 9px;
    border: 1px solid #d6dbe2;
    border-left: 3px solid #d9b48b;
    background: #fff;
}
.ad-package.is-primary { background: #fefce8; border-color: #e5c97c; border-left-color: #b8860b; }
.ad-package > span { color: #4d555e; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-package > div { display: flex; align-items: baseline; gap: 7px; }
.ad-package b { color: #22272e; font-family: "Times New Roman", Georgia, serif; font-size: 19px; font-weight: 700; line-height: 1; white-space: nowrap; }
.ad-package em { color: #7b838c; font-size: 11px; font-style: normal; white-space: nowrap; }

.empty-row { padding: 34px 16px; text-align: center; color: var(--site-muted); font-size: 12px; }

/* ---------- 广告列表 ---------- */
.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}
.page-head h1 {
    margin: 0;
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}
.page-head p { margin: 5px 0 0; color: var(--site-muted); font-size: 12px; }
.page-head .head-action { display: inline-flex; gap: 8px; }

.filter-panel {
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 12px 14px;
    margin-bottom: 14px;
}
.filter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-form input[type=text],
.filter-form select {
    height: 32px;
    border: 1px solid var(--site-line);
    background: #fff;
    padding: 0 10px;
    font-size: 12px;
    color: var(--site-ink);
    outline: none;
}
.filter-form input[type=text] { width: 200px; }
.filter-form select { min-width: 110px; }
.filter-form input:focus, .filter-form select:focus { border-color: #9aa1a8; }
.btn-dark, .btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 15px;
    border: 1px solid var(--site-dark);
    font-size: 12px;
    cursor: pointer;
}
.btn-dark { background: var(--site-red); color: #fff; }
.btn-dark:hover { background: #c0392b; color: #fff; }
.btn-line { background: #fff; color: var(--site-ink); border-color: var(--site-line-strong); }
.btn-line:hover { border-color: var(--site-dark); }

.pager-wrap {
    padding: 12px 16px;
    border-top: 1px solid var(--site-line);
    display: flex;
    justify-content: flex-end;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pagination li { list-style: none; }
.pagination li a,
.pagination li span,
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid #cfd4da;
    background: #fff;
    color: #333;
    font-size: 12px;
    text-decoration: none;
}
.pagination li a:hover { border-color: #e94560; color: #e94560; }
.pagination .active a,
.pagination .active span { background: #e94560; border-color: #e94560; color: #fff; }
.pagination .disabled a,
.pagination .disabled span { color: #b7bdc4; background: #f7f8fa; cursor: default; }

/* ---------- 广告详情 ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.detail-card { background: var(--site-paper); border: 1px solid var(--site-line); }
.detail-head { padding: 22px 24px; border-bottom: 1px solid var(--site-line); }
.detail-head .detail-slogan { color: var(--site-muted); font-size: 13px; margin: 0 0 7px; }
.detail-head h1 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: 1px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.detail-body { padding: 20px 24px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--site-line); border: 1px solid var(--site-line); }
.detail-item { background: #fff; padding: 12px 14px; }
.detail-item span { display: block; color: var(--site-muted); font-size: 10px; margin-bottom: 3px; }
.detail-item b { font-weight: 400; color: var(--site-ink); word-break: break-all; }
.detail-brief { margin: 18px 0 0; color: #4f575e; line-height: 1.9; font-size: 13px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.detail-side { background: var(--site-paper); border: 1px solid var(--site-line); }
.detail-side-head { padding: 13px 16px; border-bottom: 1px solid var(--site-line); font-family: var(--serif); font-size: 16px; }
.related-list { padding: 4px 0; }
.related-item { display: block; padding: 10px 16px; border-bottom: 1px solid #eceef0; }
.related-item:last-child { border-bottom: 0; }
.related-item b { display: block; font-weight: 600; font-size: 12px; }
.related-item span { color: var(--site-muted); font-size: 11px; }

/* ---------- 发布广告 ---------- */
.publish-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; align-items: start; }
.publish-form { background: var(--site-paper); border: 1px solid var(--site-line); }
.form-section { padding: 20px 22px; border-bottom: 1px solid var(--site-line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--serif); font-size: 16px; font-weight: 400; letter-spacing: 1px; }
.form-section-title .step { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--site-dark); color: #fff; font-family: Georgia, serif; font-size: 11px; }

.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.type-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 13px 12px 11px;
    border: 1px solid var(--site-line);
    background: #fff;
    cursor: pointer;
    min-height: 112px;
}
.type-card:hover { border-color: #aeb4ba; }
.type-card.is-selected { border-color: var(--site-dark); background: #f5f6f7; box-shadow: inset 0 0 0 1px var(--site-dark); }
.type-card input { position: absolute; opacity: 0; }
.type-card strong { font-size: 13px; font-weight: 600; }
.type-card .type-price { margin-top: auto; padding-top: 10px; font-family: Georgia, serif; font-size: 19px; }
.type-card .type-desc { color: var(--site-muted); font-size: 10px; margin-top: 2px; }
.type-badge { position: absolute; top: 8px; right: 8px; padding: 0 4px; border: 1px solid #d8dde2; color: var(--site-muted); font-size: 9px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-field { min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; color: #4d555c; font-size: 12px; }
.form-field label em { font-style: normal; color: var(--site-muted); font-size: 10px; }
.form-field input[type=text], .form-field input[type=url], .form-field input[type=date], .form-field select, .form-field textarea {
    width: 100%;
    border: 1px solid var(--site-line);
    background: #fff;
    color: var(--site-ink);
    font-size: 12px;
    padding: 8px 10px;
    outline: none;
}
.form-field input, .form-field select { height: 36px; }
.form-field textarea { min-height: 68px; resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #8f969d; }
.form-field .hint { color: var(--site-muted); font-size: 10px; margin-top: 3px; }
.check-row { display: flex; flex-wrap: wrap; gap: 18px; }
.check-row label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #4d555c; cursor: pointer; }
.check-row input { width: 14px; height: 14px; accent-color: var(--site-dark); }
.free-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--site-line); background: #f8f9fa; padding: 11px 13px; margin-top: 10px; }
.free-box span { color: var(--site-muted); font-size: 11px; }
.free-box b { color: var(--site-ink); }
.publish-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--site-line); background: #fafbfb; }
.publish-submit .pay-hint { color: var(--site-muted); font-size: 11px; }
.publish-submit .pay-hint b { color: var(--site-ink); font-family: Georgia, serif; font-size: 18px; font-weight: 400; margin-left: 4px; }
.btn-publish {
    height: 40px;
    padding: 0 28px;
    border: 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0;
    border-radius: 4px;
    cursor: pointer;
}
.btn-publish:hover { background: #c0392b; }
.btn-publish:disabled { opacity: .55; cursor: not-allowed; }

.publish-side { background: var(--site-paper); border: 1px solid var(--site-line); position: sticky; top: 96px; }
.side-head { padding: 14px 16px; border-bottom: 1px solid var(--site-line); font-family: var(--serif); font-size: 16px; }
.side-body { padding: 14px 16px; }
.side-account { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.side-account span { color: var(--site-muted); font-size: 12px; }
.side-account b { font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.side-list { margin: 0; padding: 0; list-style: none; }
.side-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #e8eaec; font-size: 11px; color: #5f666d; }
.side-list li:last-child { border-bottom: 0; }
.side-note { margin: 12px 0 0; color: var(--site-muted); font-size: 10px; line-height: 1.7; }
.side-link { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--site-line); color: var(--site-ink); font-size: 12px; }
.side-link:hover { text-decoration: underline; }

/* ---------- 我的广告 ---------- */
.my-ad-layout { display: grid; gap: 14px; }
.status-tabs { display: flex; gap: 0; border: 1px solid var(--site-line); background: #fff; }
.status-tabs a { padding: 10px 16px; font-size: 12px; color: var(--site-muted); border-right: 1px solid var(--site-line); }
.status-tabs a:last-child { border-right: 0; }
.status-tabs a.active { background: var(--site-dark); color: #fff; }
.my-ad-table td { white-space: nowrap; }
.my-ad-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn { display: inline-flex; align-items: center; height: 25px; padding: 0 8px; border: 1px solid var(--site-line-strong); background: #fff; color: #4d555c; font-size: 10px; cursor: pointer; }
.mini-btn:hover { border-color: var(--site-dark); color: var(--site-ink); }
.mini-btn.danger { color: var(--site-red); border-color: #e0c7c4; }
.mini-btn.danger:hover { border-color: var(--site-red); }
.ad-status { display: inline-block; padding: 1px 7px; border: 1px solid; font-size: 10px; }
.ad-status.active { color: var(--site-green); border-color: #c4d9cb; background: #f5f9f6; }
.ad-status.off { color: #6b737a; border-color: #d7dbdf; background: #f7f8f9; }
.ad-status.expired { color: var(--site-red); border-color: #e2cac7; background: #fbf5f4; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1a1a2e; border-top: 2px solid var(--site-red); padding: 16px 0; color: #999; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.footer-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; color: #9ba1a8; font-size: 11px; line-height: 1.8; }
.footer-sep { color: #5f666e; }
.footer-icp { color: #7f858d; font-size: 11px; line-height: 1.7; }
.footer-icp a { color: #8c929a; }
.footer-icp a:hover { color: var(--site-red); }

@media (max-width: 680px) {
    .footer-sep { display: none; }
    .footer-meta { gap: 2px 8px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .site-nav { gap: 0; }
    .site-nav a { padding: 9px 9px; }
    .home-intro { padding: 20px; }
    .home-stats { padding-left: 20px; }
    .detail-layout, .publish-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}

@media (max-width: 900px) {
    .mainhead-inner { gap: 18px; min-height: 68px; }
    .site-nav a { padding: 8px 7px; font-size: 12px; }
    .account-balance { display: none; }
    .home-intro h1 { font-size: 26px; }
    .home-stat { min-width: 74px; padding: 0 12px; }
    .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .type-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-layout, .publish-layout { grid-template-columns: minmax(0, 1fr); }
    .publish-side { position: static; }
}

@media (max-width: 680px) {
    .site-container { width: calc(100% - 24px); }
    .topline-right span:not(:first-child), .topline-sep { display: none; }
    .mainhead-inner { flex-wrap: wrap; padding: 10px 0; gap: 8px 14px; }
    .site-logo { flex: 1; }
    .logo-mark { width: 36px; height: 36px; font-size: 19px; }
    .logo-text strong { font-size: 18px; }
    .logo-text small { font-size: 9px; letter-spacing: 3px; }
    .site-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
    .site-nav a { white-space: nowrap; padding: 7px 9px 9px; }
    .site-nav a.active::after { left: 9px; right: 9px; bottom: 2px; }
    .site-account { margin-left: auto; }
    .account-name { display: none; }
    .home-intro { display: block; padding: 18px 16px; }
    .home-intro h1 { font-size: 23px; letter-spacing: 1px; }
    .home-stats { border-left: 0; border-top: 1px solid var(--site-line); padding: 14px 0 0; margin-top: 14px; justify-content: space-between; }
    .home-stat { padding: 0; min-width: 0; }
    .home-stat b { font-size: 20px; }
    .announcement-track { gap: 18px; }
    .section-head { padding: 12px 14px; flex-wrap: wrap; row-gap: 6px; }
    .section-head-title { flex: 1 1 260px; flex-wrap: wrap; gap: 6px 8px; }
    .section-head h2 { font-size: 16px; }
    .section-head .section-meta { height: 22px; font-size: 11px; }
    .ad-table th, .ad-table td { padding: 8px 10px; }
    .ad-brief { min-width: 140px; max-width: 180px; }
    .ad-cta-body { align-items: flex-start; }
    .ad-package-list { flex-basis: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ad-cta-body .btn-dark { width: 100%; text-align: center; }
    .filter-form input[type=text] { width: 100%; }
    .filter-form select { flex: 1 1 30%; min-width: 0; font-size: 11px; padding: 0 4px; }
    .filter-form .btn-dark, .filter-form .btn-line { flex: 1 1 46%; }
    .detail-head { padding: 18px 16px; }
    .detail-head h1 { font-size: 23px; }
    .detail-body { padding: 16px; }
    .detail-grid { grid-template-columns: 1fr; }
    .form-section { padding: 16px; }
    .form-grid, .form-grid.three { grid-template-columns: 1fr; }
    .publish-submit { flex-direction: column; align-items: stretch; }
    .btn-publish { width: 100%; }
}

/* ---------- 联系我们 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.contact-card {
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 30px 24px;
    text-align: center;
}
.contact-card .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--site-line);
    color: var(--site-ink);
    margin-bottom: 14px;
}
.contact-card h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
}
.contact-card p {
    margin: 7px 0 14px;
    color: var(--site-muted);
    font-size: 12px;
}
.contact-card b {
    display: block;
    margin-bottom: 16px;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}
.contact-single {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}
.contact-single .contact-card {
    padding: 34px 30px;
}
.contact-single .contact-card p {
    max-width: 430px;
    margin: 10px auto 18px;
    line-height: 1.8;
}
.contact-note {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 4px 0;
    color: var(--site-muted);
    font-size: 11px;
}
.contact-single a:focus-visible {
    outline: 1px solid #1a1a2e;
    outline-offset: 2px;
}

/* ---------- 免费次数提示 ---------- */
.free-empty a {
    color: var(--site-ink);
    font-size: 11px;
}

@media (max-width: 680px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-note { flex-direction: column; gap: 4px; }
}

@media (max-width: 680px) {
    .mainhead-inner {
        align-items: center;
    }
    .site-logo {
        flex: 0 1 auto;
        min-width: 0;
    }
    .logo-text {
        white-space: nowrap;
    }
    .site-nav {
        flex: 0 0 100%;
        order: 3;
        width: 100%;
        overflow-x: auto;
    }
    .site-account {
        order: 2;
    }
}

/* ---------- 资讯 / 工具 / 服务器 ---------- */
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.content-main { min-width: 0; }
.content-side { display: flex; flex-direction: column; gap: 18px; }
.side-panel {
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 18px;
}
.side-title {
    font-family: var(--serif);
    font-size: 17px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--site-line);
}
.side-links { display: flex; flex-direction: column; gap: 4px; }
.side-links a {
    padding: 7px 8px;
    color: var(--site-muted);
    border-left: 2px solid transparent;
}
.side-links a:hover, .side-links a.is-active {
    color: var(--site-ink);
    background: var(--site-soft);
    border-left-color: var(--site-red);
}
.side-search { display: flex; gap: 8px; }
.side-search input {
    flex: 1;
    min-width: 0;
    height: 34px;
    border: 1px solid var(--site-line);
    padding: 0 10px;
}
.side-search .btn-dark { height: 34px; padding: 0 14px; }
.side-notice p { color: var(--site-muted); font-size: 12px; margin: 0 0 12px; }
.side-notice .btn-line { width: 100%; }

.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-card {
    display: flex;
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    overflow: hidden;
    min-height: 170px;
}
.article-cover { flex: 0 0 260px; background: #ececec; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--site-muted); font-size: 11px; align-items: center; }
.article-body h2 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.35; }
.article-body h2 a:hover { color: var(--site-red); }
.article-body p { margin: 0; color: var(--site-muted); font-size: 13px; }
.article-more { color: var(--site-red); font-size: 12px; margin-top: auto; }

.article-wrap { max-width: 980px; margin: 0 auto; }
.bread-line { display: flex; flex-wrap: wrap; gap: 8px; color: var(--site-muted); font-size: 12px; padding: 4px 0 18px; }
.bread-line a:hover { color: var(--site-red); }
.article-detail, .comments-panel, .related-panel {
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 34px 40px;
    margin-bottom: 24px;
}
.article-detail h1 { margin: 0 0 14px; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.35; }
.article-detail-meta { padding-bottom: 16px; border-bottom: 1px solid var(--site-line); }
.article-content { font-size: 15px; line-height: 1.9; padding-top: 22px; color: #333; }
.article-content p { margin: 0 0 16px; }
.article-content img { max-width: 100%; height: auto; }

.comments-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--site-line); padding-bottom: 12px; margin-bottom: 8px; }
.comments-head h2 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.comments-head span { color: var(--site-muted); font-size: 12px; }
.comment-list { display: flex; flex-direction: column; }
.comment-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--site-line); }
.comment-avatar {
    flex: 0 0 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--site-soft);
    border: 1px solid var(--site-line);
    font-family: var(--serif);
}
.comment-name { font-size: 13px; font-weight: 600; }
.comment-name small { margin-left: 10px; color: var(--site-muted); font-weight: 400; font-size: 11px; }
.comment-body p { margin: 4px 0 0; color: #444; font-size: 13px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.comment-form input, .comment-form textarea {
    width: 100%;
    border: 1px solid var(--site-line);
    padding: 10px 12px;
    resize: vertical;
}
.comment-form .btn-dark { align-self: flex-start; }
.related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.related-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--site-line); font-size: 13px; }
.related-list a span { color: var(--site-muted); font-size: 11px; white-space: nowrap; }

.tab-line {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 6px;
    margin-bottom: 24px;
}
.tab-line a { padding: 8px 18px; color: var(--site-muted); font-size: 13px; }
.tab-line a.is-active { background: var(--site-dark); color: #fff; }

.tool-list { display: flex; flex-direction: column; gap: 10px; }
.tool-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 18px 22px;
}
.tool-main h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.tool-main h3 a:hover { color: var(--site-red); }
.tool-main p { margin: 6px 0 0; color: var(--site-muted); font-size: 12px; }
.tool-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--site-muted); font-size: 11px; }
.tool-actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* GM 资源站 */
.tool-page-head { align-items: flex-start; }
.tool-head-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--site-line);
    background: var(--site-paper);
    color: var(--site-muted);
    font-size: 12px;
}
.tool-head-stat b { color: var(--site-ink); font-weight: 600; }
.tool-tabs {
    gap: 0;
    padding: 0;
    border: 1px solid #d8d8d8;
    background: #fff;
    margin-bottom: 16px;
    overflow: hidden;
}
.tool-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
    .tool-tabs { scrollbar-width: none; }
}
.tool-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 18px;
    border-right: 1px solid #ececec;
    color: #555;
    font-size: 13px;
}
.tool-tabs a:last-child { border-right: 0; }
.tool-tabs a:hover { color: #c0392b; background: #fafafa; }
.tool-tabs a.is-active {
    color: #c0392b;
    background: #fff;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 #c0392b;
}
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #f1f2f4;
    color: #8a9096;
    font-size: 10px;
    font-weight: 400;
}
.tool-tabs a.is-active .tab-count { background: #fdecee; color: #c0392b; }
.tool-panel {
    background: #fff;
    border: 1px solid #d8d8d8;
    margin-bottom: 30px;
}
.tool-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid #ececec;
}
.tool-panel-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: #222;
}
.tool-panel-head p { margin: 5px 0 0; color: var(--site-muted); font-size: 12px; }
.tool-panel-count { color: var(--site-muted); font-size: 12px; white-space: nowrap; }
.tool-panel .tool-list { padding: 16px 18px 20px; }
.tool-panel .tool-item { border-color: #ececec; }
.tool-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 54px 24px 46px;
    text-align: center;
}
.tool-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fafafa;
    color: #c0392b;
}
.tool-empty h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: #222; }
.tool-empty p { max-width: 560px; margin: 0 0 22px; color: #7b8187; font-size: 13px; line-height: 1.9; }
.tool-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool-empty-actions .btn-dark,
.tool-empty-actions .btn-line { display: inline-flex; align-items: center; gap: 6px; }
.tool-empty-note { margin-top: 18px; color: #a0a5aa; font-size: 11px; }
.tool-empty-cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 920px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #ededed;
}
.tool-empty-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #e1e1e1;
    background: #fff;
    text-align: left;
    transition: border-color .2s, background .2s;
}
.tool-empty-cat:hover { border-color: #b9b9b9; background: #fcfcfc; }
.tool-empty-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    color: #7b8187;
}
.tool-empty-cat-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tool-empty-cat-text strong { color: #333; font-size: 13px; font-weight: 500; }
.tool-empty-cat-text em { overflow: hidden; color: #9a9fa4; font-size: 11px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.tool-empty-cat-tag { margin-left: auto; flex: 0 0 auto; color: #b0b4b8; font-size: 10px; }
.tool-image { margin-bottom: 20px; }
.tool-image img { max-height: 260px; border: 1px solid var(--site-line); }
.download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--site-soft);
    border: 1px solid var(--site-line);
    padding: 20px;
    margin-top: 26px;
}
.download-box h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.download-box p { margin: 0; color: var(--site-muted); font-size: 12px; }

.server-section { margin-bottom: 30px; }
.server-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.server-card {
    display: flex;
    flex-direction: column;
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    padding: 20px;
    transition: border-color .2s, transform .2s;
}
.server-card:hover { border-color: #9da4aa; transform: translateY(-2px); }
.server-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.server-card-head h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.server-price { display: flex; align-items: baseline; gap: 4px; color: var(--site-red); margin-bottom: 14px; }
.server-price b { font-size: 26px; font-weight: 500; }
.server-price span { color: var(--site-muted); font-size: 11px; }
.server-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; padding: 12px 0; border-top: 1px dashed var(--site-line); }
.server-specs span { display: flex; justify-content: space-between; gap: 8px; color: var(--site-muted); font-size: 11px; padding: 3px 0; }
.server-specs b { color: var(--site-ink); font-weight: 400; }
.server-card-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--site-line); padding-top: 12px; color: var(--site-muted); font-size: 11px; }
.server-title-line { display: flex; align-items: center; gap: 12px; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--site-line); margin-bottom: 24px; }
.spec-table > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--site-line); }
.spec-table > div:nth-child(odd) { border-right: 1px solid var(--site-line); }
.spec-table span { color: var(--site-muted); }
.spec-table b { font-weight: 400; }
.order-form { background: var(--site-paper); border: 1px solid var(--site-line); padding: 24px; margin-top: 24px; }
.order-form h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.duration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.duration-option input { display: none; }
.duration-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--site-line);
    cursor: pointer;
}
.duration-option input:checked + .duration-card { border-color: var(--site-dark); background: var(--site-soft); }
.duration-card em { color: var(--site-muted); font-style: normal; font-size: 12px; }
.duration-card b { font-size: 18px; font-weight: 500; }
.order-submit { display: inline-flex; margin-top: 18px; }
.step-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.step-list li { display: flex; align-items: center; gap: 10px; color: var(--site-muted); font-size: 12px; }
.step-list span { font-family: var(--serif); color: var(--site-red); }

@media (max-width: 980px) {
    .content-layout { grid-template-columns: 1fr; }
    .content-side { display: grid; grid-template-columns: 1fr 1fr; }
    .article-cover { flex-basis: 190px; }
    .server-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .duration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tool-empty-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .content-side { grid-template-columns: 1fr; }
    .article-card { flex-direction: column; }
    .article-cover { flex-basis: 180px; }
    .article-body { padding: 16px 18px; }
    .article-detail, .comments-panel, .related-panel { padding: 22px 18px; }
    .article-detail h1 { font-size: 24px; }
    .related-list { grid-template-columns: 1fr; }
    .tool-item { flex-direction: column; align-items: flex-start; }
    .tool-page-head { flex-direction: column; gap: 12px; }
    .tool-page-head .head-action { width: 100%; justify-content: space-between; }
    .tool-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .tool-tabs a { flex: 0 0 auto; padding: 10px 13px; }
    .tool-panel-head { align-items: flex-start; padding: 15px 16px; }
    .tool-panel-head h2 { font-size: 18px; }
    .tool-panel .tool-list { padding: 12px; }
    .tool-empty { min-height: 320px; padding: 38px 16px 34px; }
    .tool-empty h3 { font-size: 19px; }
    .tool-empty-cats { grid-template-columns: 1fr; margin-top: 26px; padding-top: 22px; }
    .tool-empty-actions { width: 100%; flex-direction: column; }
    .tool-empty-actions .btn-dark,
    .tool-empty-actions .btn-line { justify-content: center; }
    .server-grid { grid-template-columns: 1fr; }
    .spec-table { grid-template-columns: 1fr; }
    .spec-table > div:nth-child(odd) { border-right: 0; }
    .duration-grid { grid-template-columns: 1fr; }
}

.home-banners { margin-bottom: 18px; }
.home-banner { display: block; border: 1px solid var(--site-line); background: var(--site-paper); }
.home-banner img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: cover; }
.home-links {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 20px;
    background: var(--site-paper);
    border: 1px solid var(--site-line);
    font-size: 12px;
}
.home-links > span { color: var(--site-muted); white-space: nowrap; }
.home-links div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.home-links a { color: var(--site-muted); }
.home-links a:hover { color: var(--site-red); }


/* 广告分组：默认颜色与悬停色统一参考 zfs123，不使用逐行底色覆盖 */

/* 原站文章频道 */
.article-list { gap: 12px; }
.article-card { border: 1px solid #ddd; border-radius: 8px; min-height: 150px; }
.article-cover { flex-basis: 220px; }
.article-body { padding: 16px 20px; gap: 6px; }
.article-body h2 { font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.5; }
.article-body p { font-size: 12px; line-height: 1.7; }
.article-meta { font-size: 11px; }
.article-wrap { max-width: 900px; }
.article-detail, .comments-panel, .related-panel { border: 1px solid #ddd; border-radius: 8px; padding: 26px 30px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.article-detail h1 { font-family: var(--sans); font-size: 24px; font-weight: 700; }
.article-content { font-size: 16px; line-height: 1.8; color: #444; }
.article-content h3 { font-size: 17px; margin: 22px 0 10px; color: #222; }
.comments-head { border-bottom: 2px solid var(--site-red); }
.comments-head h2 { font-family: var(--sans); font-size: 18px; font-weight: 700; }
.comment-avatar { background: #e9ecef; border: 0; border-radius: 50%; color: #666; font-weight: 700; }
.comment-name { font-size: 15px; }
.comment-body p { color: #555; font-size: 14px; line-height: 1.6; }

.article-index { max-width: 1000px; margin: 0 auto; padding: 24px 0 40px; }
.article-page-title {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    background: #fff; border-radius: 8px; padding: 16px 20px; margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.article-page-title h1 { margin: 0; font-size: 20px; font-weight: 700; color: #222; }
.article-page-title p { margin: 4px 0 0; font-size: 12px; color: #999; }
.index-search { display: flex; flex: 0 0 260px; }
.index-search input { flex: 1; min-width: 0; height: 34px; border: 1px solid #ddd; border-right: 0; border-radius: 6px 0 0 6px; padding: 0 10px; }
.index-search button { height: 34px; padding: 0 16px; border: 0; border-radius: 0 6px 6px 0; background: var(--site-red); color: #fff; cursor: pointer; }
.article-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.article-tabs a { padding: 6px 14px; background: #fff; border: 1px solid #ddd; border-radius: 4px; color: #555; font-size: 12px; }
.article-tabs a.is-active { background: var(--site-red); border-color: var(--site-red); color: #fff; }
.article-card { margin-bottom: 0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); min-height: 130px; }
.article-cover { flex: 0 0 200px; height: 130px; }
.article-body { padding: 12px 18px; justify-content: center; }
.article-body h2 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.article-body h2 a { color: #333; }
.article-body h2 a:hover { color: var(--site-red); }
.article-body p { font-size: 13px; line-height: 1.6; color: #666; margin-top: 2px; }
@media (max-width: 768px) {
    .article-page-title { flex-direction: column; align-items: stretch; }
    .index-search { flex-basis: auto; }
    .article-card { flex-direction: column; }
    .article-cover { flex-basis: auto; width: 100%; height: 170px; }
}

/* 原站深色顶栏 */
.site-header {
    background: #1a1a2e;
    border-bottom: 1px solid #2c3148;
    position: sticky; top: 0; z-index: 30;
}
.mainhead-inner { min-height: 64px; gap: 30px; }
.logo-mark { width: 34px; height: 34px; font-size: 18px; border-radius: 3px; background: #e94560; }
.logo-text strong { background: none; -webkit-text-fill-color: #fff; color: #fff; font-size: 21px; letter-spacing: 1px; }
.logo-text small { color: #8d94a3; letter-spacing: 4px; font-size: 9px; }
.site-nav { justify-content: center; gap: 2px; }
.site-nav a {
    color: #b9bfcb;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 0;
    letter-spacing: .5px;
    transition: color .15s, background .15s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.site-nav a.active {
    color: #fff;
    background: transparent;
    font-weight: 600;
}
.site-nav a.active::after {
    content: "";
    display: block;
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    background: #e94560;
}
.site-nav a[href="/publish"] { color: #b9bfcb; background: transparent; border-radius: 0; padding: 10px 18px; }
.site-nav a[href="/publish"]:hover { color: #fff; background: rgba(255,255,255,.05); }
.site-nav a[href="/publish"].active { color: #fff; background: transparent; }
.site-account { gap: 12px; padding-left: 22px; border-left: 1px solid #343a50; }
.account-kefu { font-size: 12px; color: #aeb5c2; padding: 5px 12px; border: 1px solid #3d445c; border-radius: 2px; }
.account-kefu:hover { color: #fff; border-color: #6b7389; }
.account-balance { border-color: #3d445c; color: #aeb5c2; border-radius: 2px; }
.account-balance b { color: #f0c96a; }
.account-avatar { background: #262b3d; border-color: #3d445c; color: #fff; }
.account-name { color: #d5d9e1; }
.account-login { color: #b9bfcb; padding: 6px 4px; }
.account-login:hover { color: #fff; }
.account-register { background: transparent; color: #ff8a9a; border: 1px solid #e94560; border-radius: 2px; padding: 6px 14px; }
.account-register:hover { background: #e94560; color: #fff; }
@media (max-width: 1080px) {
    .site-header .mainhead-inner { min-height: 0; padding: 8px 0 0; flex-wrap: wrap; gap: 4px; }
    .site-nav { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
    .site-nav a { color: #b9bfcb; padding: 8px 12px; }
    .site-account { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
    .site-nav { gap: 0; }
    .site-nav a { padding: 8px 7px; font-size: 12px; letter-spacing: 0; }
    .site-nav a[href="/publish"] { padding: 8px 7px; }
    .site-nav a.active::after { left: 7px; right: 7px; }
}

/* 1024/125% 缩放下隐藏简介列，保证右侧“进入官网”按钮完整可见 */
@media (max-width: 1120px) and (min-width: 769px) {
    .ad-table th:nth-child(8), .ad-table td:nth-child(8) { display: none; }
    .ad-table th, .ad-table td { padding: 8px 6px; }
}

/* 移动端开服表精简列：保留广告位（价值）列 */
@media (max-width: 768px) {
    .ad-table th:nth-child(5), .ad-table td:nth-child(5),
    .ad-table th:nth-child(6), .ad-table td:nth-child(6),
    .ad-table th:nth-child(7), .ad-table td:nth-child(7),
    .ad-table th:nth-child(8), .ad-table td:nth-child(8) { display: none; }
    .ad-table th, .ad-table td { padding: 7px 5px; font-size: 12px; }
    .ad-name { white-space: normal; }
    .ad-slogan { white-space: normal; }
    .ad-time { font-family: var(--sans); font-size: 12px; }
    .ad-time small { display: none; }
    .ad-official { min-width: 56px; padding: 4px 6px; font-size: 11px; }
    .ad-official::after { display: none; }
    .section-head .section-meta { display: inline-flex; height: 22px; padding: 0 8px; font-size: 11px; border-left-width: 1px; }
    .announcement-label { font-size: 11px; }
    .announcement-track span { font-size: 11px; }
}
@media (max-width: 480px) {
    .ad-table th:nth-child(2), .ad-table td:nth-child(2) { display: none; }
    .ad-table th:nth-child(1), .ad-table td:nth-child(1) { width: 42%; }
    .ad-table th:nth-child(3), .ad-table td:nth-child(3) { width: 26%; }
    .ad-table th:nth-child(4), .ad-table td:nth-child(4) { width: 18%; }
    .status-mark { height: 22px; padding: 0 5px; font-size: 11px; line-height: 20px; }
    .ad-official { min-width: 48px; padding: 4px 4px; font-size: 10px; }
}

/* 原站公告跑马灯：单轨循环，不再并排复制导致文字重叠 */
.announcement-bar { overflow: hidden; }
.announcement-track { flex: 1 1 auto; min-width: 0; display: block; height: 20px; line-height: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.announcement-text { display: inline-block; padding-left: 0; white-space: nowrap; animation: announcement-marquee 20s linear infinite; }
.announcement-text span { color: #ffd700; font-size: 12px; }
.announcement-text span + span::before { content: "◆"; margin: 0 22px; color: #e94560; }
.announcement-bar:hover .announcement-text { animation-play-state: paused; }
@keyframes announcement-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .announcement-text { animation: none; padding-left: 0; }
}

/* 服务器租用原站表格 */
.server-section { margin-bottom: 14px; }
.server-head { background: linear-gradient(135deg, #e74c3c, #c0392b); border-bottom: 0; }
.server-head h2, .server-head .section-meta, .server-head > span { color: #fff; }
.server-head .section-meta { background: transparent; border-color: rgba(255,255,255,.28); border-left-color: #ffd700; }
.server-head .section-dot { background: #ffd700; }
.server-table th { background: #f5f6f8; }
.server-table td { text-align: center; }
.server-name-cell { text-align: left; }
.server-price-cell b { color: #e74c3c; font-size: 16px; }
.server-price-cell small { color: #999; font-size: 11px; margin-left: 2px; }
.server-price-cell span { color: #999; }
.server-table .ad-official { display: inline-block; }
@media (max-width: 768px) {
    .server-table th:nth-child(2), .server-table td:nth-child(2),
    .server-table th:nth-child(3), .server-table td:nth-child(3),
    .server-table th:nth-child(4), .server-table td:nth-child(4),
    .server-table th:nth-child(5), .server-table td:nth-child(5) { display: none; }
    .server-head > span { display: none; }
}


/* GM 首服免费活动：首页底部转化位，白底细边，不做大色块 */
.gm-free-section {
    margin: 0 0 12px;
    border: 1px solid #b8b8b8;
    border-top: 4px solid #b33a3a;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.gm-free-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 18px;
    border-bottom: 1px solid #dedede;
}
.gm-free-heading { min-width: 0; }
.gm-free-kicker {
    color: #8f2626;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}
.gm-free-kicker b {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 5px;
    border-radius: 2px;
    background: #b33a3a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    vertical-align: 1px;
}
.gm-free-head h2 {
    margin: 3px 0 2px;
    color: #17202a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.gm-free-head p {
    margin: 0;
    color: #5b6470;
    font-size: 12px;
    line-height: 1.5;
}
.gm-free-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #8f2626;
    border-radius: 2px;
    background: #b33a3a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.gm-free-cta:hover { background: #8f2626; color: #fff; }
.gm-free-body {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 18px;
    padding: 15px 18px;
}
.gm-free-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.gm-free-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 70px;
    padding: 9px 10px;
    border: 1px solid #d5dbe2;
    background: #fff;
}
.gm-free-step b {
    color: #b33a3a;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.gm-free-step span {
    color: #303a44;
    font-size: 12px;
    line-height: 1.55;
}
.gm-free-copybox {
    align-self: stretch;
    padding: 10px 12px;
    border: 1px solid #cfd4d9;
    background: #f8f9fa;
}
.gm-free-copy-label {
    margin-bottom: 7px;
    color: #5b6470;
    font-size: 11px;
    line-height: 1.4;
}
.gm-free-copylines {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.gm-free-copytext {
    color: #17202a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.gm-free-copy {
    padding: 3px 7px;
    border: 1px solid #b8b8b8;
    border-radius: 2px;
    background: #fff;
    color: #333a40;
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
}
.gm-free-copy:hover { border-color: #8f2626; color: #8f2626; }
.gm-free-copy:disabled { cursor: default; color: #8f2626; }
.gm-free-rules {
    padding: 9px 18px 11px;
    border-top: 1px solid #e5e5e5;
    color: #5b6470;
    font-size: 11px;
    line-height: 1.65;
}
.gm-free-rules span {
    margin-right: 6px;
    color: #8f2626;
    font-weight: 700;
}

@media (max-width: 768px) {
    .gm-free-head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 14px; }
    .gm-free-cta { width: 100%; }
    .gm-free-body { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; }
    .gm-free-steps { grid-template-columns: 1fr; gap: 6px; }
    .gm-free-step { flex-direction: row; align-items: center; min-height: 0; padding: 8px 10px; }
    .gm-free-step b { flex: 0 0 auto; }
    .gm-free-rules { padding: 9px 14px 11px; }
}

/* 节日活动：仅日期内显示，白底细边，红色只做点缀 */
.festival-strip {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    padding: 9px 16px;
    border-bottom: 1px solid #efd9d9;
    background: #fff9f9;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.5;
}
.festival-strip-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    background: #b33a3a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}
.festival-strip b { color: #8f2626; font-weight: 700; }
.festival-strip a { margin-left: auto; color: #8f2626; font-size: 12px; font-weight: 700; white-space: nowrap; }
.festival-strip a:hover { text-decoration: underline; }
.festival-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 9px 12px;
    border: 1px solid #e3cccc;
    border-left: 4px solid #b33a3a;
    background: #fffafa;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.5;
}
.festival-notice-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    background: #b33a3a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.festival-notice b { color: #8f2626; font-weight: 700; }
.type-card .type-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.type-card .type-price small {
    display: block;
    margin-top: 2px;
    color: #8a949c;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: line-through;
}
.ad-package-old {
    display: block;
    margin-top: 3px;
    color: #8a949c;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .festival-strip { padding: 9px 12px; }
    .festival-strip a { margin-left: 0; }
    .festival-notice { margin-bottom: 10px; }
}

.ad-package > div { flex-wrap: wrap; }
.ad-package-old { flex-basis: 100%; }

.festival-note { flex-basis: 100%; color: #7b838c; font-size: 11px; line-height: 1.5; }

/* 文章站 -> 发布站导流：细黑边框，不用金色/红块 */
.article-main-cta {
    border-color: #111 !important;
    color: #111 !important;
    background: #fff !important;
    font-weight: 600;
}
.article-main-cta:hover {
    background: #f5f5f3 !important;
}
.footer-main-link {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
}
.footer-main-link:hover { text-decoration: none; background: #f5f5f3; }
