@charset "utf-8";
/* ============================================================================
   arena-chrome.css —— 内页页头 / 页脚（2026-11-13）

   ⚠️ 2026-11-16 起：下面的 nb-* 页头 / 页脚样式**已停用**（死代码，留着备查）。
   内页页头页脚改成和首页同一份标记 + 同一份样式（views/public/arena_parts.php
   + arena.css，包裹层 .arena-chrome.is-arena，见文件末尾那段）。改页头页脚
   请改 arena_parts.php，不要动这里的 nb- 规则。

   历史：首页 2026-11-13 换成 ARENA 浅色版式后，内页的 KANTAI 深色刊头（kt- 前缀）
   和首页脱节，这一版把内页页头 / 页脚重写成 ARENA 的「设计语言」……
     · 页头：毛玻璃吸顶 + 胶囊导航 + 强调色「今日赛程」按钮；
     · 页脚：深色底 + 品牌简介 + 友情链接 + 版权行（和首页 site-foot 同构）。

   和首页 arena.css 的差别：颜色不写死 —— 全部走 --cs07-* 主题令牌 +
   color-mix 就地计算，后面接「切换主题」功能时不用重写这套 chrome
   （浅色皮肤下页头是浅色毛玻璃，深色皮肤自动变成深色毛玻璃）。

   页脚底色刻意压暗（混 #0B1120）：浅色皮肤下得到藏青底，深色皮肤下
   得到比页面底更暗的一档，两种主题下都是「页脚比正文沉」的观感，
   所以页脚内的文字统一用白色系透明度，不跟正文令牌走。
   ============================================================================ */

/* ------------------------------------------------------------
   页头（毛玻璃吸顶 + 胶囊导航）
------------------------------------------------------------ */
.nb-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cs07-card, #fff) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cs07-line-2, #e2e8f0);
  box-shadow: var(--cs07-header-shadow, none);
}

.nb-head-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 66px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 品牌：站标 / logo + 站名（和首页 ARENA 同构） */
.nb-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  min-width: 0;
  text-decoration: none;
}

.nb-brand-seal {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  color: var(--cs07-on-accent, #fff);
  background-image: linear-gradient(145deg,
    color-mix(in srgb, rgb(var(--accent-rgb)) 82%, #ff8a5c) 0%,
    rgb(var(--accent-rgb)) 100%);
  box-shadow: 0 8px 16px -8px rgb(var(--accent-rgb) / 0.7);
}

.nb-brand-logo {
  height: 38px;
  width: auto;
  flex: none;
}

.nb-brand-name {
  min-width: 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--cs07-ink-title, #0f172a);
}

/* 桌面导航：胶囊 */
.nb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nb-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--cs07-ink-2, #334155);
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nb-nav a:hover {
  color: rgb(var(--accent-rgb));
  background: color-mix(in srgb, rgb(var(--accent-rgb)) 10%, transparent);
}

.nb-nav a.active {
  color: var(--cs07-on-accent, #fff);
  background: rgb(var(--accent-rgb));
}

/* 「今日赛程」CTA：和首页 head-cta 同款 */
.nb-cta {
  flex: none;
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--cs07-on-accent, #fff);
  background: rgb(var(--accent-rgb));
  box-shadow: 0 10px 18px -10px rgb(var(--accent-rgb) / 0.8);
  transition: filter 0.16s ease, transform 0.16s ease;
}

.nb-cta:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

/* 汉堡：桌面隐藏 */
.nb-burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--cs07-line-3, #cbd5e1);
  background: var(--cs07-card, #fff);
  color: var(--cs07-ink, #1e293b);
  font-size: 18px;
  cursor: pointer;
}

/* ------------------------------------------------------------
   页脚（深色底：品牌简介 + 友情链接 + 版权行）
------------------------------------------------------------ */
.nb-foot {
  margin-top: 44px;
  /* 卡片色占比压得很低（18%）：浅色皮肤得到近黑的深藏青底、深色皮肤比页面再沉一档，
     两种主题下都是「页脚比正文沉」的观感。早先 42% 在浅色主题下会混成中灰底，白字对比度不够 */
  background: color-mix(in srgb, var(--cs07-card, #fff) 18%, #0b1120);
  color: rgb(255 255 255 / 0.72);
}

.nb-foot-main {
  /* 居中式页脚（2026-11-13 二改，和首页 site-foot 同构）：品牌 → 友情链接依次居中，版权行最底 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 34px;
  text-align: center;
}

.nb-foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nb-foot-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nb-foot-brand .nb-brand-seal {
  width: 42px;
  height: 42px;
  font-size: 21px;
  border-radius: 13px;
}

.nb-foot-logo-img {
  height: 42px;
  width: auto;
}

.nb-foot-name {
  font-size: 21px;
  font-weight: 900;
  color: #fff;
}

.nb-foot-intro {
  margin: 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.9;
  color: rgb(255 255 255 / 0.52);
}

.nb-foot-col h5 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* 强调色提亮一档：深底上直接用 accent 会发闷 */
  color: color-mix(in srgb, rgb(var(--accent-rgb)) 55%, #ffffff);
}

.nb-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.nb-foot-links a {
  font-size: 13.5px;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nb-foot-links a:hover {
  color: color-mix(in srgb, rgb(var(--accent-rgb)) 55%, #ffffff);
}

.nb-foot-empty {
  font-size: 13px;
  color: rgb(255 255 255 / 0.38);
}

.nb-foot-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 12.5px;
  color: rgb(255 255 255 / 0.42);
}

.nb-foot-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nb-foot-bottom a:hover {
  color: color-mix(in srgb, rgb(var(--accent-rgb)) 55%, #ffffff);
}

/* 版权行里的备案 <a>（后台 copyright 原样输出，可能带链接） */
.nb-foot-bottom a:not(.nb-entry) {
  color: inherit;
}

/* ------------------------------------------------------------
   响应式
------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nb-nav,
  .nb-cta {
    display: none;
  }

  .nb-burger {
    display: grid;
    place-items: center;
  }

  /* 窄屏下拉：和首页 ARENA 的汉堡菜单同一套做法 */
  .nb-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    margin: 0;
    padding: 10px 16px 14px;
    background: color-mix(in srgb, var(--cs07-card, #fff) 97%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--cs07-line-2, #e2e8f0);
    box-shadow: 0 22px 34px -22px rgb(15 23 42 / 0.35);
  }

  .nb-nav.open a {
    padding: 11px 14px;
    border-radius: 12px;
  }

  .nb-nav.open a.active {
    background: color-mix(in srgb, rgb(var(--accent-rgb)) 12%, transparent);
    color: rgb(var(--accent-rgb));
  }
}

@media (max-width: 720px) {
  .nb-head-bar {
    height: 58px;
    padding: 0 16px;
  }

  .nb-brand-name {
    font-size: 17px;
  }

  .nb-foot-main {
    gap: 14px;
    padding: 34px 16px 28px;
  }

  .nb-foot-bottom {
    padding: 18px 16px;
  }
}

/* ============================================================================
   ARENA chrome 复用层（2026-11-16）

   内页页头 / 页脚现在和首页是同一份标记（views/public/arena_parts.php），
   样式直接用 arena.css 那套 —— 那套规则全部挂在 .is-arena 下，令牌
   （--ink / --panel / --chalk / --oswald …）原本写在 body.is-arena 上。

   内页正文是 CS07 版式，不能给 body 挂 is-arena（body.is-arena 会把正文的
   a / p / ul / img 全重置掉，排版会散），所以页头页脚裹在
   <div class="arena-chrome is-arena"> 里，令牌在这里补一份，靠继承传下去。

   display: contents 是关键：这层包裹元素不生成盒子，.masthead 的
   position: sticky 仍然以 body 为包含块，吸顶照常；页脚也不会被多套一层
   宽度约束（.wrap 自己会居中）。
   ============================================================================ */
.arena-chrome {
  display: contents;

  --ink: #08090C;
  --panel: #11141A;
  --panel-2: #161A22;
  --line: #242A34;
  --line-soft: #1B2029;
  --chalk: #F1EAE0;
  --mute: #8B95A3;
  --text-1: #E4DED4;
  --text-2: #C9CFD9;
  --text-3: #A8B0BC;
  --text-4: #7C8593;
  --flare: #FF5A1F;
  --flare-soft: rgba(255, 90, 31, .14);
  /* arena.css 里半透明高光 / 强调色上的字读这几个；内页选了别的主题时，
     layout_top 会在本文件之后补一条 .arena-chrome 规则整组替换掉，
     这里的值只是「没主题」时的兜底（= 首页炭黑橙）。 */
  --flare-rgb: 255 90 31;
  --chalk-rgb: 241 234 224;
  --on-flare: #0B0C0F;
  --surface-2: #05070A;
  --surface-3: #0C0F14;
  --media-bg: #0E1116;
  --media-ink: #F1EAE0;
  --media-ink-2: #C6CCD6;
  --media-mute: #9AA4B2;
  --media-rgb: 241 234 224;
  --media-accent: #FF5A1F;
  --media-accent-rgb: 255 90 31;
  --media-scrim: 5 6 8;
  --shadow-card: 0 16px 30px -18px rgb(0 0 0 / .9);
  --wrap: 1240px;
  --pad: 16px;
  --oswald: "Oswald", "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  color: var(--chalk);
  font-family: var(--sans);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

/* body.is-arena 上那几条全局重置，这里按需补一份（只作用于 chrome 内部） */
.arena-chrome *,
.arena-chrome *::before,
.arena-chrome *::after { box-sizing: border-box; }
.arena-chrome a { color: inherit; text-decoration: none; }
.arena-chrome button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.arena-chrome img { display: block; max-width: 100%; }
.arena-chrome p,
.arena-chrome h4 { margin: 0; }
.arena-chrome ul { margin: 0; padding: 0; list-style: none; }

@media (min-width: 640px) {
  /* 首页是 body.is-arena { --pad: 24px }，内页这层补同样的断点 */
  .arena-chrome { --pad: 24px; }
}
