/* 新 morepage 版式 18 样式（10-16）：深藏蓝 #0f1b33 + 金黄 #f5b81c，浅灰白底、白卡片圆角轻阴影。
   类名一律 tn- 前缀，不复用别的版式类名；body 带 .mp18（内页再加 .tn-inner）。
   列表 / 文章 / 隐私 / 条款页 body 是「mp18 mp18-old」，还加载 bootstrap + module.css，正文沿用 module.css，
   这里只保证页头、收尾、页脚在那几页也正常（颜色、链接写死在 tn- 类上，container 内边距补回来）。 */
.mp18 {
  --tn-navy: #0f1b33;
  --tn-navy-deep: #0a1326;
  --tn-navy-2: #16264a;
  --tn-navy-3: #24407a;
  --tn-gold: #f5b81c;
  --tn-gold-2: #ffcb3d;
  --tn-gold-ink: #8a6100;
  --tn-gold-soft: #fff6dc;
  --tn-ink: #17233b;
  --tn-text: #34405a;
  --tn-muted: #5b6880;
  --tn-bg: #f4f6fa;
  --tn-line: #e3e8f1;
  --tn-shadow: 0 6px 24px rgba(15, 27, 51, .07);
}

/* 基础（只管首页和内页） */
body.mp18:not(.mp18-old) { color: var(--tn-text); background: var(--tn-bg); font-size: 16px; line-height: 1.8; }
.mp18 main { counter-reset: tn; }
.mp18 main section[id] { scroll-margin-top: 140px; }

/* ===== 页头 ===== */
.tn-header { position: sticky; top: 0; z-index: 1030; background: var(--tn-navy); box-shadow: 0 4px 18px rgba(5, 10, 22, .28); font-size: 15px; line-height: 1.6; }
.tn-topbar { background: var(--tn-navy-deep); color: rgba(255, 255, 255, .66); font-size: 13px; padding: 5px 0; letter-spacing: .04em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tn-sep { color: var(--tn-gold); margin: 0 9px; }
.tn-nav { padding: 10px 0; }
.tn-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tn-brand img { max-height: 44px; width: auto; height: auto; }
.tn-links .nav-link { position: relative; color: rgba(255, 255, 255, .84) !important; font-weight: 600; padding: 8px 15px !important; text-decoration: none; }
.tn-links .nav-link:hover, .tn-links .nav-link:focus { color: #fff !important; }
.tn-links .nav-link.active { color: var(--tn-gold) !important; }
.tn-join { display: inline-block; background: var(--tn-gold); color: var(--tn-navy-deep) !important; font-size: 14px; font-weight: 700; line-height: 1.4; border-radius: 999px; padding: 8px 22px; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(245, 184, 28, .3); }
.tn-join:hover, .tn-join:focus { background: var(--tn-gold-2); color: var(--tn-navy-deep) !important; }
.tn-toggler { border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; padding: 10px 9px; margin-left: 10px; }
.tn-toggler:focus { box-shadow: 0 0 0 2px rgba(245, 184, 28, .5); }
.tn-burger, .tn-burger::before, .tn-burger::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; }
.tn-burger { position: relative; margin: 7px 0; }
.tn-burger::before, .tn-burger::after { content: ""; position: absolute; left: 0; }
.tn-burger::before { top: -7px; }
.tn-burger::after { top: 7px; }
.tn-anchors { background: var(--tn-navy-2); border-top: 1px solid rgba(255, 255, 255, .07); font-size: 14px; overflow-x: auto; white-space: nowrap; }
.tn-anchors .container { display: flex; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.tn-anchors a { flex: 0 0 auto; color: rgba(255, 255, 255, .72); text-decoration: none; }
.tn-anchors a:hover, .tn-anchors a:focus { color: var(--tn-gold); }

/* ===== 按钮 ===== */
.tn-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; line-height: 1.4; border-radius: 999px; padding: 12px 30px; border: 2px solid transparent; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.tn-btn-gold { background: var(--tn-gold); border-color: var(--tn-gold); color: var(--tn-navy-deep) !important; box-shadow: 0 8px 22px rgba(245, 184, 28, .32); }
.tn-btn-gold:hover, .tn-btn-gold:focus { background: var(--tn-gold-2); border-color: var(--tn-gold-2); }
.tn-btn-white { background: transparent; border-color: rgba(255, 255, 255, .88); color: #fff !important; }
.tn-btn-white:hover, .tn-btn-white:focus { background: #fff; color: var(--tn-navy) !important; }
.tn-btn-navy { background: var(--tn-navy); border-color: var(--tn-navy); color: #fff !important; }
.tn-btn-navy:hover, .tn-btn-navy:focus { background: var(--tn-navy-3); border-color: var(--tn-navy-3); }
.tn-btn-edge { background: transparent; border-color: var(--tn-navy); color: var(--tn-navy) !important; }
.tn-btn-edge:hover, .tn-btn-edge:focus { background: rgba(15, 27, 51, .08); }
.tn-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ===== 首屏：整宽大图 + 深色渐变 ===== */
.tn-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 560px; background: var(--tn-navy-deep); color: #fff; }
.tn-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 15, 31, .96) 0%, rgba(12, 22, 44, .86) 45%, rgba(15, 27, 51, .38) 100%), linear-gradient(0deg, rgba(8, 15, 31, .55) 0%, transparent 40%); }
.tn-hero-in { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 84px; }
.tn-hero-copy { max-width: 690px; }
.tn-eyebrow { display: inline-block; color: var(--tn-gold); background: rgba(245, 184, 28, .12); border: 1px solid rgba(245, 184, 28, .42); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 4px 14px; margin-bottom: 18px; }
.tn-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.85rem); font-weight: 800; line-height: 1.28; margin-bottom: 20px; }
.tn-hero-p { color: rgba(255, 255, 255, .82); font-size: 15.5px; margin-bottom: 10px; }

/* ===== 版块与标题 ===== */
.tn-sec { padding: 72px 0; }
.tn-sec-white { background: #fff; }
.tn-title { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.tn-title::before { content: ""; display: block; width: 58px; height: 6px; margin: 0 auto 16px; border-radius: 6px; background: linear-gradient(90deg, var(--tn-gold) 0 62%, var(--tn-navy-3) 62% 100%); }
.tn-title h2 { color: var(--tn-navy); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.tn-title p { color: var(--tn-muted); margin: 0; }
.tn-card { background: #fff; border: 1px solid var(--tn-line); border-radius: 16px; box-shadow: var(--tn-shadow); }

/* ===== 表格（即时比分 / 未来赛程 / 版本记录） ===== */
.tn-board { background: #fff; border: 1px solid var(--tn-line); border-radius: 16px; box-shadow: var(--tn-shadow); }
.tn-table { --bs-table-bg: transparent; --bs-table-color: var(--tn-text); margin: 0; min-width: 600px; font-size: 15px; }
.tn-table thead th { background: var(--tn-navy); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; border: 0; border-bottom: 3px solid var(--tn-gold); padding: 14px 20px; }
.tn-table td { vertical-align: middle; border-color: #edf0f6; padding: 15px 20px; }
.tn-table tbody tr:last-child td { border-bottom: 0; }
.tn-table tbody tr:hover td { background: #fffaf0; }
.tn-day { color: var(--tn-muted) !important; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tn-league { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--tn-navy-3); background: #edf2fb; border-radius: 6px; padding: 2px 9px; white-space: nowrap; }
.tn-pair { color: var(--tn-ink) !important; font-weight: 600; }
.tn-dash { color: var(--tn-gold-ink); margin: 0 6px; }
.tn-big { display: inline-block; color: var(--tn-navy); font-size: 1.5rem; font-weight: 800; line-height: 1; letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tn-state { display: inline-block; font-size: 13px; font-weight: 600; color: var(--tn-gold-ink); background: var(--tn-gold-soft); border: 1px solid #f1d98e; border-radius: 999px; padding: 2px 12px; white-space: nowrap; }
.tn-ver { color: var(--tn-navy) !important; font-weight: 700; white-space: nowrap; }

/* ===== 话题 1~3：大卡片 ===== */
.tn-topic { padding: 14px 0; }
.tn-hero + .tn-topic { padding-top: 64px; }
.tn-topic + .tn-sec, .tn-topic + .tn-rows-wrap { margin-top: 58px; }
.tn-topic-card { display: flex; overflow: hidden; }
.tn-flip { flex-direction: row-reverse; }
.tn-topic-pic { flex: 0 0 44%; max-width: 44%; }
.tn-topic-pic img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.tn-topic-body { flex: 1 1 auto; min-width: 0; align-self: center; padding: 40px 46px; }
.tn-num { display: flex; align-items: flex-start; gap: 12px; color: var(--tn-navy); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; line-height: 1.4; margin-bottom: 8px; }
.tn-topic-body h3, .tn-row-body h3 { color: var(--tn-gold-ink); font-size: 1.02rem; font-weight: 700; line-height: 1.6; margin: 4px 0 16px; }
.tn-topic-body p, .tn-row-body p { color: var(--tn-text); }
.tn-topic-body p:last-child, .tn-row-body p:last-child { margin-bottom: 0; }

/* ===== 三小标题块：藏蓝底 ===== */
.tn-navy { background: var(--tn-navy); background-image: radial-gradient(circle at 88% 12%, rgba(245, 184, 28, .14), transparent 42%); color: rgba(255, 255, 255, .78); }
.tn-navy .tn-title h2 { color: #fff; }
.tn-navy .tn-title p { color: rgba(255, 255, 255, .7); }
.tn-point { height: 100%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-top: 3px solid var(--tn-gold); border-radius: 16px; padding: 28px 26px; }
.tn-point h3 { color: var(--tn-gold-2); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.tn-point p { color: rgba(255, 255, 255, .78); font-size: 15px; margin: 0; }

/* ===== 资讯 ===== */
.tn-post { height: 100%; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tn-post:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 27, 51, .12); }
.tn-post-pic img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.tn-post-body { padding: 16px 18px 20px; }
.tn-post-body time { font-size: 12.5px; font-weight: 700; color: var(--tn-gold-ink); }
.tn-post-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.55; margin: 6px 0 8px; }
.tn-post-body h3 a { color: var(--tn-navy); text-decoration: none; }
.tn-post-body h3 a:hover { color: var(--tn-gold-ink); }
.tn-post-body p { color: var(--tn-muted); font-size: 14px; line-height: 1.7; margin: 0; }
.tn-more { text-align: center; margin-top: 34px; }
.tn-more a { display: inline-block; color: var(--tn-navy); font-weight: 700; border: 2px solid var(--tn-navy); border-radius: 999px; padding: 9px 30px; text-decoration: none; }
.tn-more a:hover, .tn-more a:focus { background: var(--tn-navy); color: #fff; }

/* ===== 话题 4~6：白板逐行 ===== */
.tn-rows { padding: 6px 40px; }
.tn-row { display: flex; align-items: center; gap: 36px; padding: 34px 0; border-bottom: 1px dashed #dbe1ec; }
.tn-row:last-child { border-bottom: 0; }
.tn-row-body { flex: 1 1 auto; min-width: 0; }
.tn-row-pic { flex: 0 0 320px; }
.tn-row-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }

/* ===== 问答 ===== */
.tn-faq-list { max-width: 900px; margin: 0 auto; }
.tn-qa { background: #fff; border: 1px solid var(--tn-line); border-radius: 14px; box-shadow: 0 3px 12px rgba(15, 27, 51, .04); padding: 0 24px; margin-bottom: 12px; }
.tn-qa summary { position: relative; cursor: pointer; list-style: none; color: var(--tn-navy); font-weight: 700; padding: 18px 40px 18px 0; }
.tn-qa summary::-webkit-details-marker { display: none; }
.tn-qa summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--tn-gold); color: var(--tn-navy-deep); font-weight: 800; line-height: 26px; text-align: center; }
.tn-qa[open] summary::after { content: "−"; }
.tn-qa p { color: var(--tn-text); border-top: 1px dashed var(--tn-line); padding: 14px 0 18px; margin: 0; }

/* ===== 内页 ===== */
.tn-banner { background: var(--tn-navy); background-image: radial-gradient(circle at 86% 18%, rgba(245, 184, 28, .18), transparent 40%), linear-gradient(120deg, var(--tn-navy-deep) 0%, var(--tn-navy) 55%, var(--tn-navy-3) 100%); color: #fff; padding: 40px 0 52px; border-bottom: 4px solid var(--tn-gold); }
.tn-crumb { font-size: 14px; margin-bottom: 12px; }
.tn-crumb a { color: var(--tn-gold); text-decoration: none; }
.tn-crumb .breadcrumb-item.active, .tn-crumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .62); }
.tn-banner h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.3; margin: 0 0 16px; }
.tn-banner-p { color: rgba(255, 255, 255, .82); max-width: 880px; }
.tn-prose { max-width: 880px; margin: 0 auto; }
.tn-item { height: 100%; padding: 26px; border-top: 4px solid var(--tn-gold); }
.tn-sec-white .tn-card { box-shadow: 0 4px 16px rgba(15, 27, 51, .05); }
.tn-item h3 { color: var(--tn-navy); font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.tn-item p { color: var(--tn-text); font-size: 15px; margin: 0; }
.tn-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--tn-navy); background: var(--tn-gold-soft); border: 1px solid #f1d98e; border-radius: 999px; padding: 1px 10px; margin-bottom: 10px; }
.tn-contact { list-style: none; max-width: 880px; margin: 28px auto 0; padding: 6px 28px; }
.tn-contact li { padding: 12px 0; border-bottom: 1px dashed var(--tn-line); }
.tn-contact li:last-child { border-bottom: 0; }
.tn-contact span { display: inline-block; min-width: 96px; color: var(--tn-muted); font-weight: 600; }

/* ===== 收尾 + 页脚 ===== */
.tn-cta { padding: 24px 0 0; background: linear-gradient(180deg, transparent 50%, var(--tn-navy-deep) 50%); }
.tn-cta-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 40px; background: linear-gradient(110deg, var(--tn-gold) 0%, var(--tn-gold-2) 100%); border-radius: 20px; padding: 40px 48px; box-shadow: 0 16px 40px rgba(5, 10, 22, .25); color: var(--tn-navy-deep); }
.tn-cta-copy { flex: 1 1 420px; }
.tn-cta h2 { color: var(--tn-navy-deep); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.35; margin: 0 0 8px; }
.tn-cta p { color: rgba(10, 19, 38, .78); margin: 0; }
.tn-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tn-footer { background: var(--tn-navy-deep); color: rgba(255, 255, 255, .64); font-size: 14px; line-height: 1.75; padding: 56px 0 22px; }
.tn-footer h3 { color: #fff; font-size: 15px; font-weight: 700; border-left: 3px solid var(--tn-gold); padding-left: 10px; margin-bottom: 14px; }
.tn-footer ul { list-style: none; padding: 0; margin: 0; }
.tn-footer li { margin-bottom: 8px; }
.tn-footer a { color: rgba(255, 255, 255, .64); text-decoration: none; }
.tn-footer a:hover, .tn-footer a:focus { color: var(--tn-gold); }
.tn-footer-logo { height: 44px; width: auto; margin-bottom: 14px; }
.tn-footer-desc { margin: 0; }
.tn-footer-rec { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 16px; }
.tn-footer-rec span { color: var(--tn-gold); font-weight: 700; }
.tn-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 16px; padding-top: 16px; }

/* ===== 列表 / 文章 / 隐私 / 条款页（body.mp18-old）：module.css 在 768 以上把 .container 左右内边距清零，页头页脚补回来 ===== */
.mp18-old .tn-header .container, .mp18-old .tn-cta .container, .mp18-old .tn-footer .container { padding-left: 12px; padding-right: 12px; }
.mp18-old .tn-cta { padding-top: 48px; font-size: 16px; line-height: 1.7; }

/* ===== 响应式 ===== */
@media (min-width: 992px) {
  .tn-links { margin-left: 26px; }
  .tn-menu .tn-join { margin-left: auto; }
  .tn-links .nav-link.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -10px; height: 3px; border-radius: 3px 3px 0 0; background: var(--tn-gold); }
}
@media (max-width: 991.98px) {
  .tn-menu { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 10px; padding: 6px 0; }
  .tn-links .nav-link { padding: 10px 4px !important; }
  .tn-topic-card, .tn-flip { flex-direction: column; }
  .tn-topic-pic { flex: 0 0 auto; max-width: 100%; }
  .tn-topic-pic img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .tn-topic-body { padding: 30px 30px 34px; }
  .tn-row-pic { flex-basis: 260px; }
}
@media (max-width: 767.98px) {
  .tn-sec { padding: 48px 0; }
  .tn-title { margin-bottom: 28px; }
  .tn-hero { min-height: 0; }
  .tn-hero::after { background: linear-gradient(180deg, rgba(8, 15, 31, .8) 0%, rgba(10, 19, 38, .9) 100%); }
  .tn-hero-in { padding-top: 52px; padding-bottom: 56px; }
  .tn-topic-body { padding: 24px 20px 28px; }
  .tn-rows { padding: 2px 20px; }
  .tn-row { flex-direction: column; align-items: stretch; gap: 16px; padding: 26px 0; }
  .tn-row-pic { flex-basis: auto; order: -1; }
  .tn-table { font-size: 14px; }
  .tn-big { font-size: 1.25rem; }
  .tn-cta-box { padding: 28px 22px; }
  .tn-qa { padding: 0 16px; }
}
@media (max-width: 575.98px) {
  .tn-brand img { max-height: 36px; }
  .tn-join { font-size: 13px; padding: 6px 14px; }
  .tn-hero-btns .tn-btn, .tn-cta-btns .tn-btn { flex: 1 1 auto; padding-left: 18px; padding-right: 18px; }
}
