/* ==========================================================================
   爱游戏看台 · 共享样式表 /assets/site.css
   夜间看台两层光线：冷静数据光（玻璃、网格、等宽数字）+ 现场暖光（霓虹描边、斜切）
   ========================================================================== */

/* 1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  --kt-night: #070E1F;
  --kt-indigo: #151B3F;
  --kt-teal: #0B2F32;
  --kt-wine: #5C1730;
  --kt-cyan: #34F2CE;
  --kt-orange: #FF8B3D;
  --kt-text: #E6EDF8;
  --kt-muted: #8E9DBA;
  --kt-white: #FFFFFF;
  --kt-glass: rgba(255, 255, 255, .07);
  --kt-glass-strong: rgba(255, 255, 255, .13);
  --kt-line: rgba(230, 237, 248, .14);
  --kt-bg: #070E1F;
  --kt-surface: #151B3F;
  --kt-header-bg: linear-gradient(180deg, rgba(7, 14, 31, .97), rgba(7, 14, 31, .86));
  --kt-drawer-bg: linear-gradient(180deg, rgba(11, 17, 38, .99), rgba(7, 14, 31, 1));
  --kt-ticker-bg: rgba(21, 27, 63, .55);
  --kt-footer-bg: linear-gradient(180deg, rgba(21, 27, 63, .5), rgba(7, 14, 31, .95));
  --kt-grid-line: rgba(230, 237, 248, .028);
  --kt-font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --kt-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --kt-radius: 14px;
  --kt-shell: 1360px;
  --kt-gutter: 20px;
  color-scheme: dark;
}

[data-theme="light"] {
  --kt-night: #EEF2FA;
  --kt-indigo: #FFFFFF;
  --kt-teal: #E2F3F1;
  --kt-wine: #F6E6EC;
  --kt-text: #0B1226;
  --kt-muted: #5A6784;
  --kt-glass: rgba(11, 18, 38, .05);
  --kt-glass-strong: rgba(11, 18, 38, .1);
  --kt-line: rgba(11, 18, 38, .14);
  --kt-bg: #EEF2FA;
  --kt-surface: #FFFFFF;
  --kt-header-bg: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .88));
  --kt-drawer-bg: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(238, 242, 250, 1));
  --kt-ticker-bg: rgba(11, 18, 38, .045);
  --kt-footer-bg: linear-gradient(180deg, rgba(11, 18, 38, .05), rgba(255, 255, 255, .7));
  --kt-grid-line: rgba(11, 18, 38, .04);
  color-scheme: light;
}

/* 2. 基础重置与中文排版
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background-color: var(--kt-bg);
  background-image:
    linear-gradient(var(--kt-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--kt-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: transparent;
  color: var(--kt-text);
  font-family: var(--kt-font);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 84% 6%, rgba(52, 242, 206, .11), transparent 68%),
    radial-gradient(52% 40% at 10% 92%, rgba(255, 139, 61, .09), transparent 70%),
    radial-gradient(40% 30% at 50% 50%, rgba(92, 23, 48, .12), transparent 72%);
}

@media (prefers-reduced-motion: no-preference) {
  body::before { animation: kt-breathe 12s ease-in-out infinite; }
}

@keyframes kt-breathe {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

img,
picture,
svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
  color: var(--kt-text);
}

p { margin: 0 0 1.2em; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--kt-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. 跳过链接
   -------------------------------------------------------------------------- */
.kt-skip {
  position: absolute;
  left: var(--kt-gutter);
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--kt-cyan);
  color: #04131A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top .22s ease;
}

.kt-skip:focus { top: 0; }

/* 4. 页头
   -------------------------------------------------------------------------- */
.kt-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--kt-header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--kt-line);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.kt-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--kt-cyan), var(--kt-orange) 52%, rgba(52, 242, 206, 0) 100%);
  opacity: .9;
  pointer-events: none;
}

.kt-header[data-scrolled] {
  box-shadow: 0 14px 40px rgba(0, 0, 0, .38);
}

.kt-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--kt-cyan);
  box-shadow: 0 0 14px rgba(52, 242, 206, .65);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: 4;
}

.kt-header__inner {
  width: min(100% - (var(--kt-gutter) * 2), var(--kt-shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 68px;
  padding-block: 11px;
  transition: min-height .28s ease, padding .28s ease;
}

.kt-header[data-scrolled] .kt-header__inner {
  min-height: 56px;
  padding-block: 6px;
}

/* 品牌块 */
.kt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--kt-text);
}

.kt-brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background:
    repeating-linear-gradient(118deg, rgba(52, 242, 206, .85) 0 2px, rgba(52, 242, 206, 0) 2px 6px),
    linear-gradient(135deg, var(--kt-indigo), var(--kt-teal));
  box-shadow:
    inset 0 0 0 1px rgba(52, 242, 206, .5),
    0 0 18px rgba(52, 242, 206, .2);
}

.kt-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.kt-brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: font-size .28s ease;
}

.kt-header[data-scrolled] .kt-brand__name { font-size: 15.5px; }

.kt-brand__state {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--kt-muted);
  white-space: nowrap;
}

.kt-header[data-scrolled] .kt-brand__state { display: none; }

/* 移动导航按钮 */
.kt-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--kt-line);
  border-radius: 999px;
  background: var(--kt-glass);
  color: var(--kt-text);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .16em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.kt-navtoggle:hover {
  border-color: var(--kt-cyan);
  color: var(--kt-cyan);
}

.kt-navtoggle__bars,
.kt-navtoggle__bars::before,
.kt-navtoggle__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .22s ease, background .22s ease, opacity .22s ease;
}

.kt-navtoggle__bars { position: relative; }

.kt-navtoggle__bars::before,
.kt-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.kt-navtoggle__bars::before { top: -5px; }
.kt-navtoggle__bars::after { top: 5px; }

.kt-navtoggle[aria-expanded="true"] .kt-navtoggle__bars { background: transparent; }
.kt-navtoggle[aria-expanded="true"] .kt-navtoggle__bars::before { transform: translateY(5px) rotate(45deg); }
.kt-navtoggle[aria-expanded="true"] .kt-navtoggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 主导航 */
.kt-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.kt-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.kt-nav__item { list-style: none; }

.kt-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 14.5px;
  letter-spacing: .04em;
  color: var(--kt-text);
  text-decoration: none;
  border-radius: 9px;
  transition: color .2s ease, background .2s ease;
}

.kt-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--kt-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

.kt-nav__link:hover { background: var(--kt-glass); }

.kt-nav__link:hover::after { transform: scaleX(1); }

.kt-nav__link[aria-current="page"] {
  color: var(--kt-white);
}

.kt-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--kt-orange);
  box-shadow: 0 0 12px rgba(255, 139, 61, .5);
}

.kt-nav__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kt-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 15px;
  border: 1px solid var(--kt-line);
  border-radius: 999px;
  background: var(--kt-glass);
  color: var(--kt-text);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .16em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.kt-tool:hover {
  border-color: var(--kt-cyan);
  color: var(--kt-cyan);
  background: var(--kt-glass-strong);
}

/* 比分条 */
.kt-ticker {
  position: relative;
  background: var(--kt-ticker-bg);
  border-top: 1px solid var(--kt-line);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.kt-ticker::-webkit-scrollbar { display: none; }

.kt-ticker::before,
.kt-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 3;
  pointer-events: none;
}

.kt-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--kt-bg), rgba(7, 14, 31, 0));
}

.kt-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--kt-bg), rgba(7, 14, 31, 0));
}

[data-theme="light"] .kt-ticker::before {
  background: linear-gradient(90deg, #EEF2FA, rgba(238, 242, 250, 0));
}

[data-theme="light"] .kt-ticker::after {
  background: linear-gradient(270deg, #EEF2FA, rgba(238, 242, 250, 0));
}

.kt-ticker__track {
  display: flex;
  width: max-content;
  padding-block: 8px;
  transition: padding .28s ease;
}

.kt-header[data-scrolled] .kt-ticker__track { padding-block: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .kt-ticker__track[data-cloned] {
    animation: kt-ticker-scroll 46s linear infinite;
  }
}

@keyframes kt-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.kt-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid var(--kt-line);
}

.kt-ticker__team { color: var(--kt-muted); }

.kt-ticker__score {
  font-family: var(--kt-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--kt-cyan);
}

.kt-ticker__meta {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--kt-orange);
}

/* 5. 页脚
   -------------------------------------------------------------------------- */
.kt-footer {
  margin-top: 96px;
  border-top: 1px solid var(--kt-line);
  background: var(--kt-footer-bg);
  color: var(--kt-text);
}

.kt-footer__inner {
  width: min(100% - (var(--kt-gutter) * 2), var(--kt-shell));
  margin-inline: auto;
  padding: 60px 0 28px;
}

.kt-footer__top {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--kt-line);
}

.kt-footer__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.kt-footer__brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .1em;
  position: relative;
  padding-left: 16px;
}

.kt-footer__brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--kt-cyan), var(--kt-orange));
}

.kt-footer__tagline {
  margin: 0;
  max-width: 22em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--kt-muted);
}

.kt-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.kt-footer__title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kt-muted);
}

.kt-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.kt-footer__link {
  position: relative;
  display: inline-block;
  font-size: 15px;
  text-decoration: none;
  color: var(--kt-text);
  transition: color .2s ease, padding-left .2s ease;
}

.kt-footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--kt-cyan);
  transform: translateY(-50%);
  transition: width .2s ease;
}

.kt-footer__link:hover {
  color: var(--kt-cyan);
  padding-left: 12px;
}

.kt-footer__link:hover::before { width: 8px; }

.kt-footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--kt-line);
}

.kt-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.kt-contact--wide { grid-column: span 2; }

.kt-contact__key {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--kt-muted);
}

.kt-contact__val {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--kt-text);
}

.kt-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 22px;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--kt-muted);
}

.kt-footer__copy,
.kt-footer__note { margin: 0; }

/* 6. 通用布局 */
.kt-container {
  width: min(100% - (var(--kt-gutter) * 2), var(--kt-shell));
  margin-inline: auto;
}

.kt-grid {
  display: grid;
  gap: 22px;
}

.kt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kt-grid--split { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); }

.kt-divider {
  height: 1px;
  border: 0;
  margin: 44px 0;
  background: linear-gradient(90deg, var(--kt-line), rgba(230, 237, 248, 0) 85%);
}

/* 7. 文字层级 */
.kt-display {
  margin: 0;
  font-size: clamp(44px, 7.5vw, 128px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: .95;
  color: var(--kt-text);
}

.kt-h2 {
  margin: 0 0 .5em;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
}

.kt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kt-muted);
}

.kt-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--kt-cyan);
}

.kt-num {
  font-family: var(--kt-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.kt-prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.85;
}

.kt-prose h2 { font-size: clamp(22px, 2.4vw, 30px); }
.kt-prose h3 { font-size: 19px; }

.kt-prose a {
  color: var(--kt-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 242, 206, .4);
}

.kt-prose a:hover { border-bottom-color: var(--kt-cyan); }

.kt-prose ul,
.kt-prose ol { padding-left: 1.2em; margin-bottom: 1.2em; }

.kt-prose li { margin-bottom: .5em; }

/* 8. 面板与容器 */
.kt-panel {
  position: relative;
  padding: 26px;
  border: 1px solid var(--kt-line);
  border-radius: var(--kt-radius);
  background: var(--kt-surface);
  overflow: hidden;
}

.kt-panel--teal { background: var(--kt-teal); }
.kt-panel--wine { background: var(--kt-wine); }

.kt-glass {
  background: var(--kt-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--kt-line);
  border-radius: var(--kt-radius);
}

.kt-slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform .26s ease, background .26s ease, border-color .26s ease;
}

.kt-slant--r {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.kt-slant:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 242, 206, .4);
}

/* 9. 按钮与标签 */
.kt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.kt-btn--primary {
  background: var(--kt-orange);
  color: #1A0D02;
  box-shadow: 0 10px 26px rgba(255, 139, 61, .22);
}

.kt-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 139, 61, .34);
}

.kt-btn--ghost {
  background: var(--kt-glass);
  border-color: var(--kt-line);
  color: var(--kt-text);
}

.kt-btn--ghost:hover {
  border-color: var(--kt-cyan);
  color: var(--kt-cyan);
  background: var(--kt-glass-strong);
}

.kt-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border: 1px solid rgba(52, 242, 206, .35);
  border-radius: 999px;
  background: rgba(52, 242, 206, .09);
  color: var(--kt-cyan);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1.7;
}

.kt-tag--warm {
  border-color: rgba(255, 139, 61, .35);
  background: rgba(255, 139, 61, .09);
  color: var(--kt-orange);
}

/* 10. 面包屑 */
.kt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--kt-muted);
}

.kt-breadcrumb li { display: inline-flex; align-items: center; }

.kt-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(142, 157, 186, .55);
}

.kt-breadcrumb a {
  color: var(--kt-muted);
  text-decoration: none;
  transition: color .2s ease;
}

.kt-breadcrumb a:hover { color: var(--kt-cyan); }

/* 11. 图片容器基础规则 */
.kt-figure {
  display: block;
  margin: 0;
}

.kt-figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--kt-line);
  border-radius: var(--kt-radius);
  background:
    radial-gradient(70% 60% at 80% 12%, rgba(52, 242, 206, .16), transparent 70%),
    linear-gradient(135deg, var(--kt-indigo), var(--kt-teal));
}

.kt-figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kt-figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 14, 31, 0) 55%, rgba(7, 14, 31, .45));
}

.kt-figure--wide .kt-figure__media { aspect-ratio: 21 / 9; }
.kt-figure--tall .kt-figure__media { aspect-ratio: 3 / 4; }

.kt-figure__caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--kt-muted);
}

/* 12. 显现与章节跟随 */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-section-link] {
  color: var(--kt-muted);
  text-decoration: none;
  transition: color .2s ease;
}

[data-section-link].is-active {
  color: var(--kt-cyan);
}

/* 13. 返回顶部 */
.kt-totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--kt-line);
  border-radius: 50%;
  background: var(--kt-glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--kt-text);
  font-family: var(--kt-mono);
  font-size: 17px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s ease, border-color .2s ease, color .2s ease;
}

.kt-totop[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.kt-totop:hover {
  border-color: var(--kt-cyan);
  color: var(--kt-cyan);
  box-shadow: 0 0 22px rgba(52, 242, 206, .25);
}

/* 14. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .kt-navtoggle { display: inline-flex; margin-left: auto; }

  .kt-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 88;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 14px var(--kt-gutter) 26px;
    max-height: min(78vh, 640px);
    overflow-y: auto;
    background: var(--kt-drawer-bg);
    border-bottom: 1px solid var(--kt-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }

  .kt-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .kt-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .kt-nav__item { width: 100%; }

  .kt-nav__link {
    display: block;
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--kt-line);
    border-radius: 0;
  }

  .kt-nav__link::after { display: none; }

  .kt-nav__link[aria-current="page"] { color: var(--kt-cyan); }

  .kt-nav__tools { margin-top: 18px; }

  .kt-figure--wide .kt-figure__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .kt-footer { margin-top: 72px; }

  .kt-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .kt-footer__nav { gap: 26px 20px; }

  .kt-contact--wide { grid-column: span 1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.8; }

  .kt-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .kt-grid--2,
  .kt-grid--3,
  .kt-grid--split { grid-template-columns: minmax(0, 1fr); }

  .kt-display { font-size: clamp(38px, 11vw, 64px); }

  .kt-prose { font-size: 16px; }

  .kt-panel { padding: 20px; }

  .kt-footer__legal { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --kt-gutter: 16px; }

  .kt-navtoggle__label { display: none; }

  .kt-footer__nav { grid-template-columns: minmax(0, 1fr); }

  .kt-btn { width: 100%; justify-content: center; }

  .kt-totop { right: 14px; bottom: 14px; }
}

/* 15. 动效降级
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .kt-ticker__track { animation: none !important; }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
