/* ============================================================
   天天娱乐会馆 · 中文站  共享样式 /assets/site.css
   基调：墨蓝夜间底 + 霓虹青/暖橙撞色 + 暖纸面板 + 等宽数字
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 变量 ---------- */
:root {
  --ink: #0A1A2B;
  --ink-2: #12293D;
  --ink-3: #07131F;
  --cyan: #31E1D4;
  --orange: #FF7B33;
  --paper: #F4EADA;
  --paper-ink: #10161F;
  --silver: #C6CEDA;
  --violet: #A96BFF;
  --teal-deep: #0E3B45;
  --amber: #FFD166;

  --rail-w: 252px;

  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --pill: 999px;

  --font-cn: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --line: rgba(198, 206, 218, .16);
  --line-strong: rgba(198, 206, 218, .34);
  --shadow-lift: 0 24px 60px rgba(3, 10, 18, .55);
  --shadow-neon: 0 12px 34px rgba(49, 225, 212, .22);

  --tt-progress: 0;
}

/* ---------- 基底 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(49, 225, 212, .10), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(169, 107, 255, .10), transparent 60%),
    var(--ink);
  color: var(--silver);
  font-family: var(--font-cn);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* ---------- 跳转链接 ---------- */
.tt-skip {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: top .18s ease;
}
.tt-skip:focus { top: 16px; }

/* ============================================================
   头部：移动端 = 顶部命令栏；桌面端 = 左侧固定品牌轨道
   ============================================================ */
.tt-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 26, 43, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.tt-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
  padding: 10px 0 12px;
}

/* 品牌 */
.tt-brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tt-brand__code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tt-brand__name {
  display: inline-block;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  letter-spacing: .02em;
  transform: skewX(-1.5deg);
}
.tt-brand__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--silver);
  opacity: .75;
}

/* 导航按钮 */
.tt-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--silver);
  font-size: 13px;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tt-nav-toggle__bars { position: relative; width: 16px; height: 10px; flex: 0 0 auto; }
.tt-nav-toggle__bars::before,
.tt-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .2s ease, background-color .18s ease;
}
.tt-nav-toggle__bars::before { top: 0; }
.tt-nav-toggle__bars::after { bottom: 0; }
.tt-header[data-open] .tt-nav-toggle { background: var(--cyan); color: var(--ink); border-color: transparent; }
.tt-header[data-open] .tt-nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); background: var(--ink); }
.tt-header[data-open] .tt-nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); background: var(--ink); }

/* 导航 */
.tt-nav { grid-column: 1 / -1; display: none; }
.tt-header[data-open] .tt-nav { display: block; animation: tt-fade .18s ease both; }
.tt-nav__list {
  display: flex;
  gap: 8px;
  padding: 4px 0 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.tt-nav__list::-webkit-scrollbar { height: 4px; }
.tt-nav__list::-webkit-scrollbar-thumb { background: rgba(49, 225, 212, .35); border-radius: 9px; }
.tt-nav__item { flex: 0 0 auto; }
.tt-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  color: var(--silver);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tt-nav__link:hover { color: #fff; border-color: var(--line-strong); }
.tt-nav__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: rgba(198, 206, 218, .6); }
.tt-nav__link[aria-current="page"] {
  background: var(--cyan);
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
}
.tt-nav__link[aria-current="page"] .tt-nav__idx { color: rgba(10, 26, 43, .65); }
.tt-nav__hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(198, 206, 218, .55);
}

/* 轨道底部：状态 + 行动 */
.tt-rail-foot {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 8px;
}
.tt-header[data-open] .tt-rail-foot { display: flex; }
.tt-status {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(49, 225, 212, .42);
  background: rgba(49, 225, 212, .07);
  font-size: 12.5px;
  line-height: 1.55;
}
.tt-status__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: tt-breathe 3.2s ease-in-out infinite;
}
@keyframes tt-breathe {
  0%, 100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1); }
}
.tt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--pill);
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 123, 51, .3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tt-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255, 123, 51, .4); }

/* 滚动进度 */
.tt-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(198, 206, 218, .12);
  overflow: hidden;
}
.tt-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--tt-progress));
  background: linear-gradient(90deg, var(--cyan), var(--violet) 68%, var(--orange));
}

@keyframes tt-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 桌面端：左侧固定轨道 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .tt-skip { left: calc(var(--rail-w) + 18px); }

  .tt-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    height: 100vh;
    display: flex;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #0C2033 0%, #0A1A2B 46%, #07131F 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .tt-header::before {
    content: "";
    position: absolute;
    left: -40px; top: -60px;
    width: 220px; height: 320px;
    background: radial-gradient(circle at 40% 40%, rgba(49, 225, 212, .20), transparent 68%);
    pointer-events: none;
  }
  .tt-header__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin: 0;
    padding: 26px 20px 28px;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .tt-header__inner::-webkit-scrollbar { width: 4px; }
  .tt-header__inner::-webkit-scrollbar-thumb { background: rgba(198, 206, 218, .28); border-radius: 9px; }

  .tt-brand__name { font-size: 21px; }
  .tt-nav-toggle { display: none; }
  .tt-nav { display: block; grid-column: auto; }
  .tt-nav__list {
    flex-direction: column;
    gap: 4px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .tt-nav__item { flex: none; }
  .tt-nav__link {
    position: relative;
    width: 100%;
    gap: 11px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 15px;
  }
  .tt-nav__link:hover { background: rgba(49, 225, 212, .08); color: #fff; border-color: transparent; }
  .tt-nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(49, 225, 212, .18), rgba(49, 225, 212, .02));
    border-color: rgba(49, 225, 212, .32);
    color: #fff;
  }
  .tt-nav__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 12px; top: 50%;
    width: 7px; height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
  }
  .tt-nav__link[aria-current="page"] .tt-nav__idx { color: var(--cyan); }
  .tt-nav__hint { display: none; }

  .tt-rail-foot { margin-top: auto; }
  .tt-cta { width: 100%; }

  .tt-progress { left: auto; right: 0; top: 0; bottom: 0; width: 3px; height: auto; }
  .tt-progress__bar { transform-origin: 50% 0; transform: scaleY(var(--tt-progress)); }
}

/* ============================================================
   通用容器与排版
   ============================================================ */
.tt-main { display: block; padding-bottom: 8px; }
.tt-shell { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .tt-shell { width: min(1180px, 100% - 56px); } }

.tt-section { padding: clamp(48px, 7vw, 96px) 0; }
.tt-section--tight { padding: clamp(28px, 4vw, 52px) 0; }
.tt-section--paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius-xl);
  padding-inline: clamp(20px, 4vw, 44px);
}
.tt-section--paper .tt-h1,
.tt-section--paper .tt-h2,
.tt-section--paper .tt-h3 { color: var(--paper-ink); }
.tt-section--paper .tt-lede,
.tt-section--paper .tt-serif { color: rgba(16, 22, 31, .78); }

.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
}
.tt-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.tt-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tt-h1 {
  font-weight: 900;
  font-size: clamp(38px, 7.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  transform: skewX(-1.5deg);
  margin: .12em 0 .4em;
}
.tt-h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: #fff;
}
.tt-h3 {
  font-weight: 800;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.32;
  color: #fff;
}
.tt-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.6;
  color: var(--silver);
}
.tt-lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--silver);
  max-width: 46ch;
}
.tt-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tt-accent-outline { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); text-stroke: 1.5px var(--cyan); }
.tt-prose { max-width: 68ch; }
.tt-prose p { margin: 0 0 1em; }
.tt-prose ul, .tt-prose ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.tt-prose h2, .tt-prose h3 { margin: 1.6em 0 .5em; }
.tt-rule {
  height: 1px;
  border: 0;
  margin: 26px 0;
  background: linear-gradient(90deg, rgba(49, 225, 212, .5), rgba(198, 206, 218, .06));
}

/* ---------- 按钮 ---------- */
.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--silver);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tt-btn:hover { transform: translateY(-2px); }
.tt-btn--primary { background: var(--orange); border-color: transparent; color: var(--ink); box-shadow: 0 12px 30px rgba(255, 123, 51, .28); }
.tt-btn--cyan { background: var(--cyan); border-color: transparent; color: var(--ink); box-shadow: var(--shadow-neon); }
.tt-btn--ghost { background: rgba(198, 206, 218, .04); }
.tt-btn--block { width: 100%; }

/* ---------- 胶囊标签 ---------- */
.tt-chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 5px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(198, 206, 218, .05);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--silver);
  white-space: nowrap;
}
.tt-chip--cyan { color: var(--cyan); border-color: rgba(49, 225, 212, .45); background: rgba(49, 225, 212, .1); }
.tt-chip--orange { color: var(--orange); border-color: rgba(255, 123, 51, .45); background: rgba(255, 123, 51, .1); }
.tt-chip--amber { color: var(--amber); border-color: rgba(255, 209, 102, .45); background: rgba(255, 209, 102, .1); }
.tt-chip--violet { color: var(--violet); border-color: rgba(169, 107, 255, .5); background: rgba(169, 107, 255, .12); }

/* ---------- 卡片 ---------- */
.tt-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink-2), rgba(18, 41, 61, .5));
  box-shadow: var(--shadow-lift);
}
.tt-card--paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: rgba(16, 22, 31, .12);
}
.tt-card--accent { border-left: 3px solid var(--cyan); }
.tt-card--alert {
  border-left: 3px solid var(--amber);
  background: linear-gradient(160deg, rgba(255, 209, 102, .1), rgba(18, 41, 61, .72));
}
.tt-card__title {
  margin-bottom: .35em;
  font-weight: 800;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.35;
  color: #fff;
}
.tt-card--paper .tt-card__title { color: var(--paper-ink); }
.tt-card__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(198, 206, 218, .7);
}
.tt-card--paper .tt-card__meta { color: rgba(16, 22, 31, .6); }

/* ---------- 网格 ---------- */
.tt-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.tt-grid--split { grid-template-columns: 1fr; }
.tt-grid--halves { grid-template-columns: 1fr; }
.tt-grid--cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 768px) {
  .tt-grid--halves { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .tt-grid--split { grid-template-columns: 7fr 5fr; align-items: start; }
  .tt-grid--offset > *:nth-child(even) { transform: translateY(clamp(24px, 5vw, 72px)); }
}

/* ---------- 面包屑 ---------- */
.tt-crumbs { margin: 22px 0 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; }
.tt-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tt-crumbs li { display: flex; align-items: center; gap: 10px; color: rgba(198, 206, 218, .7); }
.tt-crumbs li + li::before { content: "/"; color: rgba(198, 206, 218, .35); }
.tt-crumbs a { color: var(--silver); text-decoration: none; }
.tt-crumbs a:hover { color: var(--cyan); }
.tt-crumbs [aria-current="page"] { color: var(--cyan); }

/* ---------- 横向滑动条 ---------- */
.tt-strip {
  display: flex;
  gap: 16px;
  padding: 6px clamp(16px, 4vw, 32px) 18px;
  margin-inline: calc(-1 * clamp(16px, 4vw, 32px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.tt-strip > * { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; }
.tt-strip::-webkit-scrollbar { height: 6px; }
.tt-strip::-webkit-scrollbar-thumb { background: rgba(49, 225, 212, .35); border-radius: 9px; }

/* ---------- 分段切换 ---------- */
.tt-tabs { display: block; }
.tt-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(16px, 2vw, 24px); }
.tt-tabs__tab {
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  color: var(--silver);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-cn);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tt-tabs__tab:hover { color: #fff; border-color: var(--line-strong); }
.tt-tabs__tab[aria-selected="true"] { background: var(--cyan); border-color: transparent; color: var(--ink); }
.tt-tabs__panel { animation: tt-fade .18s ease both; }

/* ---------- 索引 / 旁注 ---------- */
.tt-index { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.tt-index__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--silver);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.tt-index__item:hover { background: rgba(49, 225, 212, .05); color: #fff; }
.tt-index__no { flex: 0 0 34px; font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.tt-index__text { flex: 1 1 auto; }
.tt-index__val { font-family: var(--font-mono); font-size: 13px; color: var(--orange); }

.tt-note { padding: 6px 0 6px 16px; border-left: 2px solid var(--cyan); font-size: 14.5px; color: rgba(198, 206, 218, .9); }
.tt-note--amber { border-left-color: var(--amber); }

/* ---------- 表格 ---------- */
.tt-table { font-size: 14.5px; }
.tt-table th, .tt-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tt-table thead th {
  background: var(--paper);
  color: var(--paper-ink);
  border-bottom: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tt-table thead th:first-child { border-radius: 12px 0 0 0; }
.tt-table thead th:last-child { border-radius: 0 12px 0 0; }
.tt-table td { font-variant-numeric: tabular-nums; }

/* ---------- 事实清单 ---------- */
.tt-facts { display: grid; gap: 10px; }
.tt-facts__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tt-facts dt {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(16, 22, 31, .55);
}
.tt-facts dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--paper-ink); }
.tt-facts--dark dt { color: rgba(198, 206, 218, .6); }
.tt-facts--dark dd { color: #fff; }

/* ---------- 图片容器（页面阶段放置 img/picture/video） ---------- */
.tt-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, var(--teal-deep), var(--ink-2) 60%, var(--ink));
}
.tt-media img,
.tt-media video,
.tt-media picture > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tt-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 43, 0) 42%, rgba(7, 19, 31, .74));
  pointer-events: none;
}
.tt-media--wide { aspect-ratio: 21 / 9; }
.tt-media--square { aspect-ratio: 1 / 1; }
.tt-media--tall { aspect-ratio: 3 / 4; }
.tt-media--bleed { border-radius: 0; }
.tt-media--bare::after { display: none; }
.tt-media__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .55;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(49, 225, 212, .14) 0 1px, transparent 1px 4px);
}
.tt-media__cap {
  position: absolute;
  left: 0; right: 0; top: auto; bottom: 0;
  z-index: 2;
  width: auto; height: auto;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--silver);
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .26s ease, transform .26s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   页脚
   ============================================================ */
.tt-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0C2033 0%, var(--ink-3) 100%);
}
.tt-footer__glow {
  position: absolute;
  left: -10%; right: -10%; bottom: -60%;
  height: 340px;
  pointer-events: none;
  background:
    radial-gradient(55% 100% at 18% 100%, rgba(49, 225, 212, .22), transparent 70%),
    radial-gradient(50% 100% at 82% 100%, rgba(169, 107, 255, .2), transparent 72%);
}
.tt-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0 28px;
}
.tt-footer__top { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .tt-footer__top { grid-template-columns: 4fr 8fr; align-items: start; } }

.tt-footer__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tt-footer__name {
  margin: 8px 0 10px;
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #fff;
  transform: skewX(-1.5deg);
}
.tt-footer__desc { max-width: 34ch; font-size: 14.5px; color: rgba(198, 206, 218, .8); }

.tt-footer__nav { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.tt-footer__col-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
  opacity: .8;
}
.tt-footer__links { display: grid; gap: 8px; }
.tt-footer__link {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: var(--silver);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
.tt-footer__link:hover { color: var(--cyan); border-bottom-color: rgba(49, 225, 212, .5); }
.tt-footer__link[aria-current="page"] { color: var(--orange); font-weight: 700; }

.tt-contact-card {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--paper-ink);
}
@media (min-width: 768px) {
  .tt-contact-card { grid-template-columns: minmax(150px, auto) minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
}
.tt-contact-card__title { font-weight: 900; font-size: 18px; color: var(--paper-ink); }
.tt-contact-card__note { font-size: 13.5px; line-height: 1.7; color: rgba(16, 22, 31, .72); }

.tt-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(198, 206, 218, .72);
}
.tt-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tt-footer__icp, .tt-footer__copy { margin: 0; }
.tt-footer__legal .tt-footer__link { font-size: 11.5px; }

/* ============================================================
   减少动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .tt-btn:hover, .tt-cta:hover { transform: none; }
}
