/* ============================================================
   天行体育 · Site Kit 全站共享样式
   文件位置: /assets/site.css
   视觉协议: 技术蓝图网格 / 编辑部目录 / 数据化赛事服务
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c-bg: #1D1C18;
  --c-bg-blue: #162A44;
  --c-bg-soft: #2A2824;
  --c-fg: #F0EBD8;
  --c-fg-light: #F9F5E8;
  --c-muted: #B0AFA9;
  --c-accent: #FF5A2B;
  --c-secondary: #C6F24E;
  --c-bronze: #C7775A;
  --c-teal: #1E5E5A;
  --c-danger: #9A3E2F;

  --font-head: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;

  --max-w: 1240px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 66px;
  --dur: 0.2s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

/* ---------- 2. Reset 与基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, canvas { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

body {
  background: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }
#main-content { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 3. 标题与链接 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--c-fg);
  max-width: 24em;
}
h1:not([class]), h2:not([class]), h3:not([class]) { margin-block-end: 0.6em; }
h1 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 24px; line-height: 1.35; }
h4 { font-size: 18px; line-height: 1.4; }

p { max-width: 70ch; }

a {
  color: var(--c-fg);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--c-accent); }

:focus-visible {
  outline: 2px solid var(--c-secondary);
  outline-offset: 3px;
  border-radius: 1px;
}
::selection { background: var(--c-accent); color: var(--c-bg); }

/* ---------- 4. 跳转链接 ---------- */
.tk-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  background: var(--c-fg-light);
  color: var(--c-bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(calc(-100% - 20px));
  transition: transform var(--dur) var(--ease);
}
.tk-skip:focus-visible { transform: translateY(0); }

/* ---------- 5. 滚动进度条 ---------- */
.tk-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 260;
  pointer-events: none;
  background: transparent;
}
.tk-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-secondary) 100%);
}

/* ---------- 6. 页头 ---------- */
.tk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: block;
  background: linear-gradient(180deg, rgba(29, 28, 24, 0.88) 0%, rgba(29, 28, 24, 0.5) 60%, rgba(29, 28, 24, 0.08) 100%);
  border-bottom: 1px solid rgba(240, 235, 216, 0);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tk-header[data-scrolled="true"] {
  background: var(--c-bg-blue);
  border-bottom-color: rgba(240, 235, 216, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.tk-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.tk-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--c-fg);
  flex: 0 0 auto;
}
.tk-brand:hover { color: var(--c-fg); }
.tk-brand__mark {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--c-accent);
  border: 1px solid rgba(255, 90, 43, 0.45);
  background: rgba(255, 90, 43, 0.1);
  padding: 2px 7px;
  border-radius: var(--radius);
}
.tk-brand__name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}
.tk-brand__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-secondary);
  border: 1px solid rgba(198, 242, 78, 0.35);
  padding: 2px 7px;
  white-space: nowrap;
}

/* ---------- 7. 主导航 ---------- */
.tk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.tk-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tk-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--c-secondary);
  opacity: 0.85;
}
.tk-nav__text { display: inline-block; }
.tk-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease);
}
.tk-nav__link:hover,
.tk-nav__link[aria-current="page"] { color: var(--c-fg); }
.tk-nav__link:hover::after,
.tk-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.tk-nav__link[aria-current="page"] .tk-nav__idx { color: var(--c-accent); opacity: 1; }

/* ---------- 8. 移动目录按钮 ---------- */
.tk-nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 52px;
  padding: 8px 4px 6px;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.tk-nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-fg);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tk-nav-toggle__bar:nth-child(2) { width: 17px; }
.tk-nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-secondary);
}
.tk-nav-toggle[aria-expanded="true"] .tk-nav-toggle__bar { background: var(--c-accent); width: 26px; }
.tk-nav-toggle[aria-expanded="true"] .tk-nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.tk-nav-toggle[aria-expanded="true"] .tk-nav-toggle__bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* 移动端导航抽屉 */
@media (max-width: 960px) {
  .tk-header__inner { gap: 8px; }
  .tk-nav-toggle { display: inline-flex; }

  .tk-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 88vw);
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(var(--header-h) + 28px) 24px 32px;
    background-color: var(--c-bg-blue);
    border-left: 1px solid rgba(240, 235, 216, 0.16);
    box-shadow: -20px 0 48px rgba(0, 0, 0, 0.4);
    transform: translateX(105%);
    overflow-y: auto;
    transition: transform 0.28s var(--ease);
  }
  .tk-nav[data-open] { transform: translateX(0); }

  .tk-nav__link {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--c-fg);
    padding: 14px 8px;
    border-bottom: 1px solid rgba(240, 235, 216, 0.1);
  }
  .tk-nav__link::after { display: none; }
  .tk-nav__link:hover,
  .tk-nav__link[aria-current="page"] { color: var(--c-secondary); }
  .tk-nav__idx { font-size: 11px; }
}

/* ---------- 9. 容器与章节 ---------- */
.tk-container {
  width: min(var(--max-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.tk-section {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid rgba(240, 235, 216, 0.08);
}
.tk-section--alt {
  background-color: var(--c-bg-blue);
  border-bottom-color: rgba(240, 235, 216, 0.1);
}
.tk-section--paper {
  background-color: var(--c-fg-light);
  color: var(--c-bg);
  border-bottom-color: rgba(29, 28, 24, 0.08);
}
.tk-section--paper h1,
.tk-section--paper h2,
.tk-section--paper h3,
.tk-section--paper h4 { color: var(--c-bg); }
.tk-section--paper a:not(.tk-btn) { color: var(--c-bg); }
.tk-section--paper .tk-section__label { color: var(--c-teal); }
.tk-section--paper .tk-section__label::before { background: var(--c-teal); }
.tk-section--paper .tk-coord { color: var(--c-teal); }
.tk-section--paper .tk-coord::before { color: var(--c-accent); }
.tk-section--paper .tk-meta { color: rgba(29, 28, 24, 0.65); }
.tk-section--first { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); }

.tk-section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.tk-section__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-secondary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tk-section__label::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--c-secondary);
}
.tk-section__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--c-fg);
  margin: 0;
}
.tk-section__intro {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 65ch;
}

/* ---------- 10. 章节时间线 ---------- */
.tk-chapter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 24px;
  padding-block: 22px;
  border-bottom: 1px solid rgba(240, 235, 216, 0.1);
}
.tk-chapter__label {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  padding-top: 6px;
  white-space: nowrap;
}
.tk-chapter__content { grid-column: 2; min-width: 0; }
.tk-chapter__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.tk-chapter__desc { color: var(--c-muted); font-size: 15px; }

/* ---------- 11. 坐标角标 ---------- */
.tk-coord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  white-space: nowrap;
}
.tk-coord::before {
  content: "+";
  font-size: 15px;
  line-height: 1;
  color: var(--c-accent);
}

/* ---------- 12. 栅格 ---------- */
.tk-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.tk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .tk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tk-grid--2, .tk-grid--3, .tk-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 13. 信息卡 ---------- */
.tk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-bg-soft);
  border: 1px solid rgba(240, 235, 216, 0.1);
  border-radius: var(--radius);
  padding: clamp(20px, 2.8vw, 30px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tk-card:hover {
  border-color: rgba(198, 242, 78, 0.6);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}
.tk-card[data-coord]::after {
  content: attr(data-coord);
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}
.tk-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-fg);
}
.tk-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.tk-card__text { color: var(--c-muted); font-size: 15px; }

/* ---------- 14. 面板与玻璃层 ---------- */
.tk-panel {
  position: relative;
  background: var(--c-fg-light);
  color: var(--c-bg);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}
.tk-panel h1, .tk-panel h2, .tk-panel h3, .tk-panel h4 { color: var(--c-bg); }
.tk-panel a:not(.tk-btn) { color: var(--c-bg); }
.tk-panel p { color: var(--c-bg); }
.tk-panel .tk-meta, .tk-panel .tk-card__text { color: rgba(29, 28, 24, 0.72); }

.tk-glass {
  background: rgba(42, 40, 36, 0.78);
  border: 1px solid rgba(240, 235, 216, 0.16);
  border-radius: var(--radius);
  padding: clamp(20px, 2.8vw, 30px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- 15. 按钮 ---------- */
.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-fg);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(240, 235, 216, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tk-btn:hover { color: var(--c-accent); border-color: var(--c-accent); }
.tk-btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: #FFFFFF; }
.tk-btn--primary:hover { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.tk-btn--ghost { border-color: rgba(198, 242, 78, 0.5); color: var(--c-secondary); }
.tk-btn--ghost:hover { background: rgba(198, 242, 78, 0.12); border-color: var(--c-secondary); color: var(--c-secondary); }

.tk-section--paper .tk-btn { color: var(--c-bg); border-color: rgba(29, 28, 24, 0.4); }
.tk-section--paper .tk-btn:hover { color: var(--c-accent); border-color: var(--c-accent); }
.tk-section--paper .tk-btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: #FFFFFF; }
.tk-section--paper .tk-btn--primary:hover { background: transparent; color: var(--c-accent); }

/* ---------- 16. 标签 ---------- */
.tk-tag {
  display: inline-block;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  border: 1px solid rgba(240, 235, 216, 0.24);
  border-radius: var(--radius);
  background: transparent;
}
.tk-tag--hot { color: var(--c-secondary); border-color: rgba(198, 242, 78, 0.55); }
.tk-tag--new { color: var(--c-accent); border-color: rgba(255, 90, 43, 0.55); }

/* ---------- 17. 面包屑 ---------- */
.tk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  padding-block: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(240, 235, 216, 0.08);
}
.tk-breadcrumb a { color: var(--c-muted); text-decoration: none; }
.tk-breadcrumb a:hover { color: var(--c-accent); }
.tk-breadcrumb__sep { color: rgba(240, 235, 216, 0.28); }
.tk-breadcrumb [aria-current="page"] { color: var(--c-fg); }

/* ---------- 18. 图片容器 ---------- */
.tk-figure { position: relative; margin: 0; }
.tk-figure__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.tk-visual {
  position: relative;
  display: block;
  width: 100%;
  background-color: var(--c-bg-blue);
  background-image:
    linear-gradient(rgba(240, 235, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 216, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid rgba(240, 235, 216, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.tk-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 46%, rgba(240, 235, 216, 0.09) 50%, transparent 54%);
  pointer-events: none;
}
.tk-visual::after {
  content: "IMAGE · 图像占位";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-secondary);
  background: rgba(29, 28, 24, 0.72);
  border-radius: var(--radius);
}
.tk-visual--loaded::after { content: none; }
.tk-visual--landscape { aspect-ratio: 16 / 9; }
.tk-visual--square { aspect-ratio: 1 / 1; }
.tk-visual--portrait { aspect-ratio: 4 / 5; }
.tk-visual--wide { aspect-ratio: 21 / 9; }
.tk-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 19. 编辑部索引 ---------- */
.tk-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(240, 235, 216, 0.14);
}
.tk-index__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(240, 235, 216, 0.14);
  text-decoration: none;
  color: var(--c-fg);
  transition: background-color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.tk-index__item:hover { background: rgba(198, 242, 78, 0.06); padding-left: 20px; }
.tk-index__num { font-family: var(--font-mono); font-size: 12px; color: var(--c-accent); }
.tk-index__title { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.4; }
.tk-index__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .tk-index__item { grid-template-columns: 48px minmax(0, 1fr); }
  .tk-index__meta { grid-column: 2; }
}

/* ---------- 20. 旁注 ---------- */
.tk-notes {
  border-left: 3px solid var(--c-bronze);
  background: rgba(199, 119, 90, 0.08);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-bronze);
}
.tk-notes--green {
  border-left-color: var(--c-secondary);
  color: var(--c-secondary);
  background: rgba(198, 242, 78, 0.06);
}

/* ---------- 21. 元数据行 ---------- */
.tk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}
.tk-meta span::before { content: "// "; color: var(--c-accent); }

/* ---------- 22. 分界线 ---------- */
.tk-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.tk-divider::before,
.tk-divider::after {
  content: "";
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(240, 235, 216, 0.22), transparent);
}

/* ---------- 23. 折叠面板 ---------- */
.tk-faq details { border-bottom: 1px solid rgba(240, 235, 216, 0.12); }
.tk-faq summary {
  position: relative;
  display: block;
  padding: 18px 44px 18px 4px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--c-fg);
  cursor: pointer;
  list-style: none;
}
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-accent);
  border: 1px solid rgba(240, 235, 216, 0.2);
  border-radius: var(--radius);
  transform: translateY(-50%);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tk-faq details[open] summary::after {
  content: "−";
  color: var(--c-secondary);
  transform: translateY(-50%) rotate(180deg);
}
.tk-faq details p { padding: 0 44px 20px 4px; color: var(--c-muted); font-size: 15px; }

/* ---------- 24. 页脚 ---------- */
.tk-footer {
  position: relative;
  background: var(--c-bg-blue);
  color: var(--c-fg);
  border-top: 1px solid rgba(240, 235, 216, 0.1);
}
.tk-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 235, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 216, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.tk-footer__inner {
  position: relative;
  width: min(var(--max-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(44px, 6vw, 64px) 28px;
}
.tk-footer__topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.tk-footer__coord {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-secondary);
  white-space: nowrap;
}
.tk-footer__line {
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(198, 242, 78, 0.45), rgba(240, 235, 216, 0.06));
}
.tk-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block-end: 32px;
}
.tk-footer__mark {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.tk-footer__slogan {
  max-width: 40ch;
  margin-bottom: 12px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}
.tk-footer__desc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-secondary);
}
.tk-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.tk-footer__link {
  display: inline-block;
  padding-block: 6px;
  padding-left: 0;
  color: var(--c-fg);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.tk-footer__link:hover {
  color: var(--c-secondary);
  border-bottom-color: rgba(198, 242, 78, 0.4);
  padding-left: 10px;
}
.tk-footer__contact { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.tk-footer__contact-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
}
.tk-footer__contact-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  padding-top: 2px;
}
.tk-footer__contact-row dd { margin: 0; color: var(--c-fg); overflow-wrap: anywhere; }
.tk-footer__trust {
  max-width: none;
  margin-bottom: 26px;
  padding: 14px 18px;
  background: rgba(255, 90, 43, 0.07);
  border-left: 3px solid var(--c-accent);
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.75;
}
.tk-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(240, 235, 216, 0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.tk-footer__year { color: var(--c-fg); }
.tk-footer__icp { color: var(--c-muted); text-decoration: none; }

/* ---------- 25. 返回顶部 ---------- */
.tk-gotop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 235, 216, 0.32);
  border-radius: var(--radius);
  background: rgba(42, 40, 36, 0.92);
  color: var(--c-fg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tk-gotop[data-visible] { opacity: 1; visibility: visible; transform: translateY(0); }
.tk-gotop:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ---------- 26. 工具类 ---------- */
html.tk-nav-lock { overflow: hidden; overscroll-behavior: none; }
.tk-text-block > p { margin-block-end: 1em; }

/* ---------- 27. 响应式调整 ---------- */
@media (max-width: 860px) {
  .tk-footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .tk-brand__tag { display: none; }
  .tk-brand__mark { font-size: 17px; }
  .tk-brand__name { font-size: 18px; }
  .tk-footer__base { flex-direction: column; align-items: flex-start; }
  .tk-gotop { right: 14px; bottom: 14px; }
}

/* ---------- 28. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .tk-nav { transition: none !important; }
}
