/* ============================================================
   天择网 · 物竞天择
   全局设计系统 v2 —— 紫 · 蓝 · 绿 渐变
   设计目标：克制优雅、流畅丝滑、信息层级清晰
   ============================================================ */

:root {
  /* 品牌渐变（保持不变） */
  --c-purple: #7c3aed;
  --c-violet: #8b5cf6;
  --c-indigo: #6366f1;
  --c-blue: #3b82f6;
  --c-sky: #0ea5e9;
  --c-cyan: #06b6d4;
  --c-green: #10b981;
  --c-emerald: #34d399;
  --c-violet-soft: #a78bfa;
  --c-blue-soft: #60a5fa;
  --c-green-soft: #6ee7b7;
  /* RGB 三元组（供 rgba(var(--x-rgb), α) 使用；配色皮肤切换时整体重定义） */
  --c-purple-rgb: 124,58,237;
  --c-violet-rgb: 139,92,246;
  --c-indigo-rgb: 99,102,241;
  --c-blue-rgb: 59,130,246;
  --c-sky-rgb: 14,165,233;
  --c-cyan-rgb: 6,182,212;
  --c-green-rgb: 16,185,129;
  --c-emerald-rgb: 52,211,153;
  --c-violet-soft-rgb: 167,139,250;
  --c-blue-soft-rgb: 96,165,250;
  --c-green-soft-rgb: 110,231,183;

  --grad-main: linear-gradient(135deg, #7c3aed 0%, #3b82f6 52%, #10b981 100%);
  --grad-soft: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #6ee7b7 100%);
  --grad-text: linear-gradient(120deg, #a78bfa, #60a5fa 45%, #6ee7b7);
  --grad-radial: radial-gradient(80vmax 80vmax at 20% 10%, rgba(var(--c-purple-rgb),0.28), transparent 55%),
                 radial-gradient(70vmax 70vmax at 85% 90%, rgba(var(--c-green-rgb),0.24), transparent 55%);

  /* 背景层级：更深的底色 + 抬升表面 */
  --bg-base: #070a14;
  --bg: #0b1020;
  --bg-soft: #11182e;
  --bg-elevated: rgba(255, 255, 255, 0.045);
  --bg-elevated-hover: rgba(255, 255, 255, 0.075);

  /* 文字色：提高对比度，降低层级间的跳跃 */
  --ink: #f7f8ff;
  --ink-dim: #c3c8e4;
  --ink-faint: #8b94b8;
  --ink-muted: #5e6689;

  /* 线条与边框 */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* 玻璃表面 */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);

  /* 阴影：更柔和、更克制 */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 12px 42px rgba(var(--c-indigo-rgb), 0.28);

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* 间距节奏 */
  --maxw: 1160px;
  --section-py: 84px;
  --gap: 24px;

  /* 动画曲线：丝滑为主，弹跳为辅 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* 动画时长 */
  --t-fast: 0.18s;
  --t-base: 0.3s;
  --t-slow: 0.6s;
  --t-reveal: 0.75s;
}

/* 全站本地数据入口与 PWA 更新提示。 */
.tz-data-center-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-dim);
  background: var(--glass);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
}
.tz-data-center-link:hover, .tz-data-center-link:focus-visible { color: var(--ink); border-color: rgba(var(--c-blue-rgb), .55); }
.tz-pwa-update {
  position: fixed;
  z-index: 2147482500;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(92vw, 620px);
  padding: 12px 14px;
  border: 1px solid rgba(var(--c-blue-rgb), .55);
  border-radius: 14px;
  background: var(--panel-strong, #102947);
  color: var(--ink);
  box-shadow: 0 18px 56px rgba(0,0,0,.38);
}
.tz-pwa-update span { flex: 1; }
.tz-pwa-update button { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: var(--glass); color: var(--ink); cursor: pointer; }
@media (max-width: 1100px) { .tz-data-center-link__label { display: none; } .tz-data-center-link { width: 38px; padding: 7px; } }
@media (max-width: 620px) { .tz-pwa-update { align-items: stretch; flex-wrap: wrap; } .tz-pwa-update span { flex-basis: 100%; } }

/* ----------------------- 基础重置 ----------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-base);
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 背景：多层渐变光斑 + 细微噪点感网格 */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  z-index: -3;
  pointer-events: none;
  will-change: transform;
  animation: float 26s var(--ease-in-out) infinite alternate;
}
body::before {
  top: -22vmax; left: -18vmax;
  background: radial-gradient(circle at 30% 30%, var(--c-purple), transparent 62%);
}
body::after {
  bottom: -24vmax; right: -20vmax;
  background: radial-gradient(circle at 70% 70%, var(--c-green), transparent 62%);
  animation-delay: -13s;
  animation-duration: 30s;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 75% 12%, rgba(var(--c-blue-rgb),0.18), transparent 60%),
    radial-gradient(38vmax 38vmax at 12% 88%, rgba(var(--c-purple-rgb),0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg) 40%, var(--bg-base) 100%);
}

.bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(5vmax, 4vmax) scale(1.06); }
  100% { transform: translate(-4vmax, 5vmax) scale(0.97); }
}

a { color: inherit; text-decoration: none; }

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

::selection { background: rgba(var(--c-purple-rgb), 0.45); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--grad-main);
  border-radius: 20px;
  border: 2px solid var(--bg-base);
}

/* ----------------------- 布局容器 ----------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   顶部栏（含天择网图标 + 导航）
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(11, 16, 32, 0.48);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.topbar.scrolled {
  background: rgba(11, 16, 32, 0.86);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

/* 天择网 Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 19px;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-bounce);
}
.brand:hover { transform: translateY(-1px) scale(1.02); }
.brand .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-out);
  will-change: transform;
}
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.brand .logo-mark svg { width: 22px; height: 22px; }
.brand .logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease-out);
}
.brand:hover .logo-mark::after { transform: translateX(130%); }
.brand .logo-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 导航 */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  position: relative;
  padding: 10px 17px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  overflow: hidden;
}
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.nav a span { position: relative; z-index: 1; }
.nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.nav a:hover::before { opacity: 1; transform: scale(1); }
.nav a.active { color: #fff; }
.nav a.active::before {
  opacity: 1;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  transform: scale(1);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  will-change: transform;
}
.nav-toggle:hover { background: var(--glass); transform: scale(1.05); }
.nav-toggle:active { transform: scale(0.96); }

/* ============================================================
   通用玻璃卡片
   ============================================================ */
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out),
              border-color var(--t-slow) var(--ease-out),
              background var(--t-slow) var(--ease-out);
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--c-purple-rgb),0.10), rgba(var(--c-green-rgb),0.07));
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px) scale(1.005);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--c-violet-rgb), 0.42);
  background: var(--bg-elevated-hover);
}
.card:hover::before { opacity: 1; }

/* 渐变描边卡片（用于强调） */
.card--accent {
  border-color: rgba(var(--c-violet-rgb), 0.32);
}
.card--accent:hover {
  border-color: rgba(var(--c-green-soft-rgb), 0.55);
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  color: #fff;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-base) var(--ease-bounce),
              box-shadow var(--t-base) var(--ease-out),
              filter var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease-out);
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(var(--c-indigo-rgb), 0.38);
  filter: brightness(1.08);
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  background: var(--glass-strong);
  color: var(--ink);
  border-color: var(--glass-border);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--glass);
  filter: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ============================================================
   进场动画与滚动揭示
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity var(--t-reveal) var(--ease-out),
              transform var(--t-reveal) var(--ease-out);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal.d6 { transition-delay: 0.48s; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Tianze Web 4.1 · Calm section identity and mobile hardening
   Each first-level zone owns one generated background with a
   recognizable subject. Central content remains deliberately quiet.
   ============================================================ */
:root {
  /* A theme may tint these images, but must never replace them. Keeping the
     image and focal-point tokens separate makes new first-level zones safe to
     register without coupling them to a particular visual skin. */
  --tz-section-bg-image: url("../img/section-bg/source/home-20260828.webp");
  --tz-section-bg-mobile-image: url("../img/section-bg/mobile/home-20260828.webp");
  --tz-section-bg: var(--tz-section-bg-image);
  --tz-section-bg-mobile: var(--tz-section-bg-mobile-image);
  --tz-section-overlay: linear-gradient(180deg, rgba(9, 28, 52, .18), rgba(7, 21, 42, .38));
  --tz-section-bg-position: center top;
  --tz-section-bg-position-mobile: center center;
  --tz-section-bg-size: cover;
  --tz-section-bg-size-mobile: cover;
  --tz-safe-top: env(safe-area-inset-top, 0px);
  --tz-safe-right: env(safe-area-inset-right, 0px);
  --tz-safe-bottom: env(safe-area-inset-bottom, 0px);
  --tz-safe-left: env(safe-area-inset-left, 0px);
}
html[data-zone="ai"] { --tz-section-bg-image: url("../img/section-bg/source/ai-20260828.webp"); --tz-section-bg-mobile-image: url("../img/section-bg/mobile/ai-20260828.webp"); --tz-section-bg-position: center top; --tz-section-bg-size: cover; }
html[data-zone="coc"] { --tz-section-bg-image: url("../img/section-bg/source/coc-20260828.webp"); --tz-section-bg-mobile-image: url("../img/section-bg/mobile/coc-20260828.webp"); }
html[data-zone="darwin"] { --tz-section-bg-image: url("../img/section-bg/source/darwin.webp"); --tz-section-bg-mobile-image: url("../img/section-bg/mobile/darwin.webp"); --tz-section-bg-position: center top; --tz-section-bg-position-mobile: center top; }
html[data-zone="english"] { --tz-section-bg-image: url("../img/section-bg/source/english-20260828.webp"); --tz-section-bg-mobile-image: url("../img/section-bg/mobile/english-20260828.webp"); }
html[data-zone="game"] { --tz-section-bg-image: url("../img/section-bg/source/game-20260828.webp"); --tz-section-bg-mobile-image: url("../img/section-bg/mobile/game-20260828.webp"); }
html[data-zone="os"] { --tz-section-bg-image: url("../img/section-bg/source/os.webp?v=20260828-refactor1"); --tz-section-bg-mobile-image: url("../img/section-bg/mobile/os.webp?v=20260828-refactor1"); }

@media (max-width: 680px) {
  html,
  body { width: 100%; max-width: 100%; overflow-x: clip; }

  body,
  body.tz-site-shell,
  .bg-mesh {
    background-attachment: scroll !important;
    background-position: var(--tz-section-bg-position-mobile) !important;
  }

  body.tz-site-shell { padding-bottom: 76px; }
  body.tz-site-shell .wrap,
  .wrap { width: 100%; max-width: 100%; padding-inline: 14px; }

  body.tz-site-shell .topbar {
    top: 4px;
    width: calc(100% - 8px);
    margin: 4px 4px 0;
    border-radius: 16px;
  }

  body.tz-site-shell .topbar-inner {
    height: 58px;
    padding-inline: 10px;
    gap: 8px;
  }

  body.tz-site-shell .nav {
    inset: 66px 6px auto;
    max-height: calc(100dvh - 78px);
    padding: 10px;
    overflow-y: auto;
    border: 1px solid var(--tz-v4-line);
    border-radius: 16px;
  }

  body.tz-site-shell .nav a { min-height: 44px; padding: 11px 14px; }
  .nav-toggle { width: 42px; height: 42px; flex: 0 0 42px; }

  main,
  main > *,
  section,
  .card,
  .tz-split-stack,
  .tz-split-content { min-width: 0; max-width: 100%; }

  .section { padding-block: 46px; }
  .card:hover { transform: none; }
  .btn,
  button,
  input,
  select,
  textarea { max-width: 100%; }
  .btn { min-height: 44px; padding-inline: 16px; }

  table { max-width: 100%; }
  pre,
  code { overflow-wrap: anywhere; }
  .dm-table-wrap,
  .tutorial-body,
  .kb-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .tz-home-network-workspace { width: 100%; padding-inline: 6px !important; }
  .tz-network-panel { min-height: 0; padding: 12px; border-radius: 20px; }
  .tz-network-map.is-site-orbit {
    width: 100%;
    min-height: 390px;
    max-height: 560px;
    margin-block: 12px;
    border-radius: 16px;
    overflow: hidden;
  }
  .tz-orbit-node__label { width: 108px; font-size: 12px; line-height: 1.2; }
  .tz-orbit-node--depth-1 .tz-orbit-node__label { width: 120px; font-size: 13px; }
  .tz-orbit-node__count { font-size: 10px; }

  .tz-home-hero { padding-top: 38px; }
  .tz-home-metrics { gap: 4px; }
  .tz-home-metrics div { padding-inline: 9px; }
  .tz-panel-foot { display: none; }

  .tzpal-btn { left: 10px; bottom: 76px; }
  .tzpal-panel,
  .tzpal-tip { right: 10px !important; left: 10px !important; width: auto; max-width: none; }
}

@media (max-width: 420px) {
  .brand-copy strong { font-size: 14px; }
  .tz-home-hero h1 { font-size: clamp(29px, 10vw, 40px); }
  .tz-home-lead { font-size: 14px; line-height: 1.7; }
  .tz-home-metrics dd { font-size: 19px; }
  .tz-panel-head h2 { font-size: 19px; }
  .tz-status-chip { font-size: 9px; }
  .tz-network-map.is-site-orbit { min-height: 410px; }
}

@media (hover: none) {
  .card,
  .btn,
  .nav-toggle,
  .banner,
  .news-row,
  .zone-card .z-icon,
  .feature-item .f-icon,
  .dq-cat,
  .dq-card .dc-emoji,
  .dq-close,
  .dl-card .dl-icon,
  .game-feature,
  .game-play-cta { will-change: auto; }
}

/* 跳过视口外长区块的布局和绘制，同时保留滚动条尺寸。 */
@supports (content-visibility: auto) {
  .section,
  .news-list,
  .article-body,
  .tutorial-body {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
  }
}

/* ============================================================
   首页专属
   ============================================================ */
.hero { padding: 76px 0 32px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 0 0 rgba(var(--c-purple-rgb),0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--c-purple-rgb),0.55); }
  70% { box-shadow: 0 0 0 12px rgba(var(--c-purple-rgb),0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--c-purple-rgb),0); }
}
.hero h1 {
  font-size: clamp(36px, 6.2vw, 64px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-dim);
  max-width: 640px;
  margin-bottom: 34px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 横幅（最新新闻） */
.banner {
  position: relative;
  margin: 48px 0 10px;
  border-radius: var(--r-xl);
  padding: 28px 34px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform var(--t-slow) var(--ease-bounce),
              filter var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out);
  will-change: transform;
}
.banner:hover {
  transform: translateY(-4px) scale(1.005);
  filter: saturate(1.08) brightness(1.05);
  box-shadow: 0 20px 56px rgba(var(--c-indigo-rgb), 0.42);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(30vmax 30vmax at 90% -20%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(24vmax 24vmax at -10% 120%, rgba(0,0,0,0.18), transparent 55%);
  pointer-events: none;
}
.banner .tag {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.22);
  color: #fff;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.banner .b-text { position: relative; z-index: 1; flex: 1; min-width: 220px; }
.banner .b-text small { display: block; opacity: 0.88; font-size: 13px; margin-bottom: 4px; }
.banner .b-text strong { font-size: 19px; font-weight: 800; line-height: 1.35; }
.banner .b-go { position: relative; z-index: 1; flex-shrink: 0; }

/* 区块标题 */
.section { padding: var(--section-py) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head h2 .bar {
  width: 6px;
  height: 32px;
  border-radius: 6px;
  background: var(--grad-main);
}
.section-head .more {
  color: var(--ink-faint);
  font-size: 14.5px;
  font-weight: 600;
  transition: color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-head .more:hover { color: var(--ink); transform: translateX(3px); }

/* 卡片网格 */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* 概览卡片 */
.ov-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 190px; }
.ov-card .meta {
  font-size: 13px;
  color: var(--ink-faint);
  display: flex;
  gap: 12px;
  align-items: center;
}
.ov-card .meta .pill {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 12px;
  background: var(--glass-strong);
  color: var(--ink-dim);
}
.ov-card h3 {
  font-size: 18.5px;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: -0.015em;
  transition: color var(--t-base) var(--ease-out);
}
.ov-card:hover h3 {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ov-card p { font-size: 14.5px; color: var(--ink-dim); flex: 1; line-height: 1.7; }
.ov-card .read {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-sky);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  transition: gap var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.ov-card:hover .read { gap: 13px; color: #7dd3fc; }

/* 专区入口卡片 */
.zone-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 220px; }
.zone-card .z-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-size: 27px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  transition: transform var(--t-slow) var(--ease-bounce),
              background var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out);
  will-change: transform;
}
.zone-card:hover .z-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
}
.zone-card h3 { font-size: 21px; font-weight: 780; letter-spacing: -0.015em; }
.zone-card p { font-size: 15px; color: var(--ink-dim); flex: 1; line-height: 1.7; }
.zone-card .z-go {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: gap var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.zone-card:hover .z-go { gap: 13px; color: var(--c-sky); }
.zone-card.locked { opacity: 0.85; }
.zone-card.locked .z-go { color: var(--ink-faint); }

/* ============================================================
   新闻列表页
   ============================================================ */
.page-head { padding: 60px 0 24px; }
.page-head .crumb {
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.page-head .crumb a {
  color: var(--ink-dim);
  transition: color var(--t-fast) var(--ease-out);
}
.page-head .crumb a:hover { color: var(--ink); }
.page-head h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 850;
  letter-spacing: -0.03em;
}
.page-head h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-head p { color: var(--ink-dim); margin-top: 14px; font-size: 17px; max-width: 640px; line-height: 1.7; }

.news-list { display: flex; flex-direction: column; gap: 18px; padding-bottom: 50px; }
.news-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  cursor: pointer;
  transition: transform var(--t-slow) var(--ease-out),
              border-color var(--t-slow) var(--ease-out),
              background var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out);
  will-change: transform;
}
.news-row:hover {
  transform: translateX(8px);
  border-color: rgba(var(--c-green-soft-rgb),0.45);
  background: var(--bg-elevated-hover);
  box-shadow: var(--shadow-md);
}
.news-row .n-date {
  flex-shrink: 0;
  width: 92px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.news-row .n-date b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.news-row .n-date small { font-size: 12px; color: var(--ink-faint); }
.news-row .n-body { flex: 1; min-width: 0; }
.news-row .n-body .n-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-cyan);
  margin-bottom: 7px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.news-row .n-body h3 {
  font-size: 18.5px;
  font-weight: 740;
  margin-bottom: 7px;
  letter-spacing: -0.015em;
  transition: color var(--t-base) var(--ease-out);
}
.news-row:hover .n-body h3 { color: var(--c-sky); }
.news-row .n-body p {
  font-size: 14.5px;
  color: var(--ink-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-row .n-arrow {
  flex-shrink: 0;
  color: var(--ink-faint);
  font-size: 20px;
  transition: transform var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.news-row:hover .n-arrow { transform: translateX(5px); color: var(--ink); }

/* ============================================================
   新闻详情页
   ============================================================ */
.article { max-width: 820px; margin: 0 auto; padding-bottom: 60px; }
.article-head { padding: 44px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.article-head .a-tag {
  display: inline-block;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.article-head h1 {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--ink-faint);
  font-size: 14px;
}
.article-meta span { display: inline-flex; gap: 8px; align-items: center; }
.article-body { font-size: 17px; line-height: 1.95; color: #e7ebfb; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-size: 25px; font-weight: 800; margin: 38px 0 16px; letter-spacing: -0.02em; }
.article-body blockquote {
  border-left: 4px solid;
  border-image: var(--grad-main) 1;
  padding: 16px 22px;
  margin: 26px 0;
  background: var(--glass);
  border-radius: 0 14px 14px 0;
  color: var(--ink-dim);
  font-size: 16px;
}
/* 文章内表格：深底白字表头 + 浅底深字行，避免深色主题下白字白底 */
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95em; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.article-body table th { padding: 11px 14px; border: 1px solid #475569; text-align: left; background: var(--grad-main); color: #fff; font-weight: 700; }
.article-body table td { padding: 11px 14px; border: 1px solid #e2e8f0; background: #f8fafc; color: #0f172a; }
.article-foot {
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   博客空态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 80px 30px;
  margin-bottom: 50px;
}
.empty-state .e-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 26px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 46px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  animation: floaty 4s var(--ease-out) infinite alternate;
  will-change: transform;
}
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.empty-state h3 { font-size: 24px; font-weight: 780; margin-bottom: 12px; letter-spacing: -0.015em; }
.empty-state p { color: var(--ink-dim); max-width: 440px; margin: 0 auto 24px; font-size: 15px; line-height: 1.7; }

/* ============================================================
   AI 专区
   ============================================================ */
.ai-hero { padding: 60px 0 28px; }
.ai-hero .ai-badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 17px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}
.ai-hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.ai-hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ai-hero p { color: var(--ink-dim); font-size: 17.5px; max-width: 640px; margin-top: 20px; line-height: 1.7; }

.dev-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: repeating-linear-gradient(45deg, rgba(var(--c-purple-rgb),0.10) 0 16px, rgba(var(--c-green-rgb),0.08) 16px 32px);
  border: 1px dashed rgba(var(--c-violet-rgb),0.5);
  margin: 40px 0;
}
.dev-bar .spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: var(--c-violet);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dev-bar .d-text strong { font-size: 17px; font-weight: 800; display: block; }
.dev-bar .d-text small { color: var(--ink-dim); font-size: 14px; }

.subzones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
.subzone {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
  opacity: 0.7;
}
.subzone .sz-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
}
.subzone h3 { font-size: 17.5px; font-weight: 760; letter-spacing: -0.01em; }
.subzone p { font-size: 14px; color: var(--ink-dim); flex: 1; line-height: 1.7; }
.subzone .soon {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
}


/* ============================================================
   404 页
   ============================================================ */
.err-wrap {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 24px;
}
.err-inner { max-width: 580px; }
.err-code {
  font-size: clamp(100px, 22vw, 200px);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -6px;
  animation: glitch 6s var(--ease-out) infinite;
}
@keyframes glitch {
  0%, 92%, 100% { transform: translate(0,0); filter: none; }
  94% { transform: translate(-2px, 1px); }
  96% { transform: translate(2px, -1px); }
  98% { transform: translate(-1px, 0); }
}
.err-inner h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 820; margin: 10px 0 16px; letter-spacing: -0.02em; }
.err-inner p { color: var(--ink-dim); font-size: 16.5px; margin-bottom: 14px; line-height: 1.7; }
.err-path {
  display: inline-block;
  margin: 8px 0 28px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--c-cyan);
  word-break: break-all;
  font-family: ui-monospace, monospace;
}
.err-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .subzones { grid-template-columns: 1fr; }
  .section { --section-py: 64px; }
}
@media (max-width: 680px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px 24px 24px;
    background: rgba(11,16,32,0.97);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease-out);
    margin-left: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 18px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .news-row { flex-wrap: wrap; gap: 14px; }
  .news-row .n-date { width: auto; border-right: none; padding-right: 0; display: flex; gap: 8px; align-items: baseline; }
  .news-row .n-arrow { display: none; }
  .banner { padding: 22px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 24px; }
  .section-head { margin-bottom: 26px; }
}

/* ============================================================
   Skill 二级专区 / 三级专区（tlh）
   ============================================================ */
.skill-hero { padding: 56px 0 26px; }
.skill-hero .sk-badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 17px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}
.skill-hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.skill-hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.skill-hero p { color: var(--ink-dim); font-size: 17.5px; max-width: 680px; margin-top: 20px; line-height: 1.7; }
.sk-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.sk-meta .chip {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink-dim);
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.sk-meta .chip b { color: var(--ink); }
.sk-meta .chip:hover { background: var(--glass); border-color: var(--line-strong); }

/* 功能卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item .f-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  transition: transform var(--t-base) var(--ease-bounce),
              background var(--t-base) var(--ease-out);
  will-change: transform;
}
.feature-item:hover .f-icon { transform: scale(1.1) rotate(-4deg); background: var(--grad-main); }
.feature-item h3 { font-size: 16.5px; font-weight: 760; letter-spacing: -0.01em; }
.feature-item p { font-size: 14px; color: var(--ink-dim); flex: 1; line-height: 1.7; }

/* 场景列表 */
.scenario-list { display: flex; flex-direction: column; gap: 12px; }
.scenario-list .sc-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.scenario-list .sc-row:hover { background: var(--bg-elevated-hover); transform: translateX(4px); }
.scenario-list .sc-row .sc-no {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--grad-main);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.scenario-list .sc-row .sc-tx { font-size: 15px; color: var(--ink-dim); line-height: 1.7; }
.scenario-list .sc-row .sc-tx b { color: var(--ink); }

/* 下载卡片 */
.dl-card { padding: 28px 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.dl-card .dl-icon {
  width: 68px;
  height: 68px;
  border-radius: 19px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-base) var(--ease-bounce);
  will-change: transform;
}
.dl-card:hover .dl-icon { transform: scale(1.08) rotate(-4deg); }
.dl-card .dl-info { flex: 1; min-width: 200px; }
.dl-card .dl-info h3 { font-size: 19px; font-weight: 780; margin-bottom: 5px; letter-spacing: -0.015em; }
.dl-card .dl-info p { font-size: 14px; color: var(--ink-dim); line-height: 1.65; }
.dl-card .dl-info .dl-meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; }

/* API Key 输入区 */
.apikey-box { padding: 26px 30px; }
.apikey-box h3 { font-size: 19px; font-weight: 780; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.apikey-box .ak-sub { font-size: 14.5px; color: var(--ink-dim); margin-bottom: 18px; line-height: 1.65; }
.apikey-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(var(--c-green-rgb), 0.10);
  border: 1px solid rgba(var(--c-green-rgb), 0.35);
  font-size: 14px;
  color: #b9f5d8;
  line-height: 1.7;
}
.apikey-notice .ak-ic { font-size: 20px; flex-shrink: 0; }
.ak-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.ak-input {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  transition: border-color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.ak-input:focus-within {
  border-color: rgba(var(--c-green-soft-rgb), 0.6);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 4px rgba(var(--c-green-rgb), 0.10);
}
.ak-input .ak-pre { font-size: 16px; color: var(--ink-faint); font-family: ui-monospace, monospace; }
.ak-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 15px;
  font-family: ui-monospace, monospace;
  padding: 14px 0;
  letter-spacing: 0.5px;
}
.ak-input input::placeholder { color: var(--ink-faint); letter-spacing: 0; }
.ak-status { font-size: 13px; color: var(--ink-dim); margin-top: 14px; min-height: 20px; }
.ak-status.ok { color: var(--c-emerald); }
.ak-status.err { color: #ff8a8a; }

/* 体验 iframe */
.exp-wrap { margin-top: 20px; position: relative; }
.exp-frame {
  width: 100%;
  height: 82vh;
  min-height: 560px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.exp-fs-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(28, 36, 56, 0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  will-change: transform;
}
.exp-fs-btn:hover { background: var(--grad-main); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.exp-wrap:fullscreen { background: #0b1020; }
.exp-wrap:fullscreen .exp-frame,
.exp-wrap:-webkit-full-screen .exp-frame {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.exp-wrap:fullscreen .exp-fs-btn,
.exp-wrap:-webkit-full-screen .exp-fs-btn { top: 18px; right: 18px; z-index: 10; }
.exp-placeholder {
  height: 82vh;
  min-height: 560px;
  border: 1px dashed var(--glass-border);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  background: var(--glass);
}
.exp-placeholder .ph-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 40px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  animation: floaty 4s var(--ease-out) infinite alternate;
  will-change: transform;
}
.exp-placeholder h3 { font-size: 21px; font-weight: 780; margin-bottom: 10px; }
.exp-placeholder p { color: var(--ink-dim); max-width: 440px; margin: 0 auto; font-size: 15px; line-height: 1.7; }

/* 教程页（about） */
.tutorial { max-width: 880px; margin: 0 auto; padding-bottom: 60px; }
.tutorial-body { font-size: 16.5px; line-height: 1.95; color: #e7ebfb; }
.tutorial-body h2 {
  font-size: 27px;
  font-weight: 820;
  margin: 42px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}
.tutorial-body h2 .bar { width: 6px; height: 26px; border-radius: 6px; background: var(--grad-main); }
.tutorial-body h3 { font-size: 21px; font-weight: 760; margin: 30px 0 14px; color: #fff; letter-spacing: -0.015em; }
.tutorial-body p { margin-bottom: 18px; }
.tutorial-body ul, .tutorial-body ol { margin: 0 0 20px 24px; }
.tutorial-body li { margin-bottom: 9px; }
.tutorial-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13.5px;
  background: rgba(var(--c-purple-rgb), 0.22);
  color: #d6c5ff;
  padding: 2px 7px;
  border-radius: 5px;
}
.tutorial-body pre {
  background: rgba(8, 12, 30, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 18px 0 24px;
}
.tutorial-body pre code { background: none; color: #c8d3f5; padding: 0; font-size: 13px; line-height: 1.7; }
.tutorial-body blockquote {
  border-left: 4px solid;
  border-image: var(--grad-main) 1;
  padding: 14px 22px;
  margin: 24px 0;
  background: var(--glass);
  border-radius: 0 14px 14px 0;
  color: var(--ink-dim);
}
.tutorial-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
  font-size: 14px;
}
.tutorial-body table th, .tutorial-body table td {
  border: 1px solid var(--line);
  padding: 11px 15px;
  text-align: left;
}
.tutorial-body table th { background: var(--glass-strong); font-weight: 760; color: #fff; }
.tutorial-body table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
.tutorial-body table code { font-size: 12.5px; }
.tut-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  margin-left: 10px;
  vertical-align: middle;
}
.tut-tag.req { background: rgba(229, 57, 53, 0.2); color: #ff9a9a; }
.tut-tag.opt { background: rgba(var(--c-sky-rgb), 0.2); color: #7dd3fc; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .dl-card { padding: 22px; }
  .exp-frame, .exp-placeholder { height: 70vh; }
}
@media (max-width: 680px) {
  .exp-frame, .exp-placeholder { height: 60vh; min-height: 440px; }
}

/* ============================================================
   COC 专区
   ============================================================ */
.coc-hero { padding: 60px 0 28px; }
.coc-hero .coc-badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 17px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}
.coc-hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.coc-hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.coc-hero p { color: var(--ink-dim); font-size: 17.5px; max-width: 660px; margin-top: 20px; line-height: 1.7; }

/* ---- 数据查询页 ---- */
.dq-toolbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}
.dq-search {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  transition: border-color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.dq-search:focus-within {
  border-color: rgba(var(--c-green-soft-rgb), 0.6);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 4px rgba(var(--c-green-rgb), 0.10);
}
.dq-search .dq-ic { font-size: 16px; color: var(--ink-faint); flex-shrink: 0; }
.dq-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 15px;
  padding: 14px 0;
}
.dq-search input::placeholder { color: var(--ink-faint); }
.dq-count { font-size: 14px; color: var(--ink-faint); white-space: nowrap; }
.dq-count b { color: var(--ink); }

.dq-cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.dq-cat {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-dim);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  transition: color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  will-change: transform;
}
.dq-cat:hover { color: var(--ink); transform: translateY(-2px); background: var(--bg-elevated); }
.dq-cat .ct-num { font-size: 12px; opacity: 0.7; font-weight: 600; }
.dq-cat.active {
  color: #fff;
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.dq-cat.active .ct-num { opacity: 0.9; }

.dq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.dq-card {
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}
.dq-card .dc-top { display: flex; align-items: flex-start; gap: 14px; }
.dq-card .dc-emoji {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  transition: transform var(--t-base) var(--ease-bounce),
              background var(--t-base) var(--ease-out);
  will-change: transform;
}
.dq-card:hover .dc-emoji { transform: scale(1.1) rotate(-6deg); background: var(--grad-main); }
.dq-card .dc-name { flex: 1; min-width: 0; }
.dq-card .dc-name h3 { font-size: 17.5px; font-weight: 760; line-height: 1.3; letter-spacing: -0.01em; transition: color var(--t-base) var(--ease-out); }
.dq-card:hover .dc-name h3 {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dq-card .dc-name .dc-en { font-size: 12px; color: var(--ink-faint); font-family: ui-monospace, monospace; }
.dq-card .dc-pill {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-dim);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
}
.dq-card .dc-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; }
.dq-card .dc-stat { font-size: 13px; color: var(--ink-dim); }
.dq-card .dc-stat b { color: var(--ink); font-weight: 700; }
.dq-card .dc-info {
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dq-empty {
  text-align: center;
  padding: 70px 24px;
  color: var(--ink-dim);
}
.dq-empty .de-icon { font-size: 48px; margin-bottom: 14px; }

/* 详情弹窗 */
.dq-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 16, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 20px;
  overflow-y: auto;
}
.dq-overlay.open { display: flex; animation: dqFade 0.3s var(--ease-out); }
@keyframes dqFade { from { opacity: 0; } to { opacity: 1; } }
.dq-modal {
  width: 100%;
  max-width: 760px;
  position: relative;
  background: rgba(17, 24, 46, 0.98);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 36px;
  animation: dqPop 0.4s var(--ease-bounce);
}
@keyframes dqPop { from { transform: translateY(28px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.dq-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
  will-change: transform;
}
.dq-close:hover { background: var(--grad-main); transform: rotate(90deg); color: #fff; }
.dq-modal .dm-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; padding-right: 48px; }
.dq-modal .dm-emoji {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
}
.dq-modal .dm-title h2 { font-size: 25px; font-weight: 820; line-height: 1.25; letter-spacing: -0.02em; }
.dq-modal .dm-title .dm-en { font-size: 13px; color: var(--ink-faint); font-family: ui-monospace, monospace; margin-top: 3px; }
.dq-modal .dm-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 20px; }
.dq-modal .dm-pills .p {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  color: var(--ink-dim);
  border: 1px solid var(--glass-border);
}
.dq-modal .dm-desc {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.8;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--glass);
  margin-bottom: 24px;
}
.dq-modal .dm-section-h { font-size: 15.5px; font-weight: 760; margin: 24px 0 14px; display: flex; align-items: center; gap: 9px; }
.dq-modal .dm-section-h .bar { width: 5px; height: 20px; border-radius: 5px; background: var(--grad-main); }
.dm-attrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dm-attr {
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.dm-attr:hover { background: var(--bg-elevated-hover); transform: translateY(-2px); }
.dm-attr .ak { font-size: 11.5px; color: var(--ink-faint); margin-bottom: 3px; }
.dm-attr .av { font-size: 15px; font-weight: 700; color: var(--ink); }
.dm-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.dm-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
.dm-table th, .dm-table td { border: 1px solid var(--line); padding: 10px 13px; text-align: center; white-space: nowrap; }
.dm-table th { background: var(--glass-strong); font-weight: 760; color: #fff; position: sticky; top: 0; }
.dm-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
.dm-table td.lv { font-weight: 700; color: var(--c-emerald); }
.dm-note { font-size: 13px; color: var(--ink-faint); margin-top: 16px; line-height: 1.7; }

.dq-loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-dim);
}
.dq-loading .spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 3px solid rgba(255,255,255,0.14);
  border-top-color: var(--c-violet);
  animation: spin 0.9s linear infinite;
}

@media (max-width: 680px) {
  .dq-modal { padding: 26px 22px; }
  .dq-modal .dm-head { gap: 12px; }
  .dq-modal .dm-emoji { width: 50px; height: 50px; font-size: 24px; }
  .dq-modal .dm-title h2 { font-size: 21px; }
}

/* ============================================================
   额外辅助：更平滑的聚焦环
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(var(--c-green-soft-rgb), 0.6);
  outline-offset: 2px;
}

/* 可点击卡片，无文本下划线 */
.card[href] { cursor: pointer; }

/* ============================================================
   游戏专区
   ============================================================ */
.game-zone-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 0 40px;
  flex-wrap: wrap;
}
.game-zone-copy { flex: 1; min-width: 280px; }
.game-zone-kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 17px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}
.game-zone-copy h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.game-zone-copy h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.game-zone-copy p { color: var(--ink-dim); font-size: 17.5px; max-width: 520px; margin-top: 20px; line-height: 1.7; }
.game-zone-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.orbit-card {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  text-align: center;
  animation: floaty 5s var(--ease-out) infinite alternate;
  will-change: transform;
}
.orbit-card b { display: block; font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.orbit-card span { font-size: 18px; font-weight: 800; color: var(--ink); }
.orbit-a { top: 10px; left: 0; }
.orbit-b { top: 50%; right: 0; transform: translateY(-50%); animation-delay: -1.5s; }
.orbit-c { bottom: 10px; left: 20%; animation-delay: -3s; }
.orbit-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  animation: floaty 4s var(--ease-out) infinite alternate;
}

/* 游戏特色卡片 */
.game-feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 32px;
  align-items: center;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  will-change: transform;
}
.game-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.game-feature-art {
  position: relative;
  height: 200px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(var(--c-purple-rgb),.15), rgba(var(--c-green-rgb),.1));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
}
.mini-card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.mini-card small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-faint); }
.score-stamp {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 14px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.game-feature-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.game-feature-meta span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink-dim);
}
.game-feature-copy h2 {
  font-size: 26px;
  font-weight: 820;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.game-feature-copy p { color: var(--ink-dim); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.game-feature-copy ul { margin: 0 0 18px 18px; }
.game-feature-copy li { font-size: 14px; color: var(--ink-dim); margin-bottom: 6px; }
.game-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-base) var(--ease-bounce);
  will-change: transform;
}
.game-feature:hover .game-play-cta { transform: translateX(4px); }

@media (max-width: 760px) {
  .game-feature { grid-template-columns: 1fr; }
  .game-feature-art { height: 160px; }
  .game-zone-orbit { width: 200px; height: 200px; }
}

/* ============================================================
   公共设计系统 v3 · 科技杂志版
   ============================================================ */
:root {
  --bg-base: #05070f;
  --bg: #090d19;
  --bg-soft: #0d1425;
  --ink: #f8f9ff;
  --ink-dim: #c7cde0;
  --ink-faint: #8f99b7;
  --ink-muted: #67708d;
  --line: rgba(198, 210, 255, 0.10);
  --line-strong: rgba(198, 210, 255, 0.20);
  --glass: rgba(14, 20, 36, 0.72);
  --glass-strong: rgba(20, 28, 50, 0.90);
  --glass-border: rgba(190, 205, 255, 0.14);
  --shadow-sm: 0 14px 38px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 36px 100px rgba(0, 0, 0, 0.46);
  --shadow-glow: 0 18px 60px rgba(75, 98, 255, 0.24);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --maxw: 1240px;
  --section-py: 72px;
}

html { scroll-padding-top: 88px; }
body {
  background: var(--bg-base);
  font-variation-settings: "opsz" 32;
}
body.nav-open { overflow: hidden; }

body::before,
body::after {
  filter: blur(150px);
  opacity: 0.25;
}

.bg-mesh {
  transform: translate3d(0, var(--mesh-offset, 0px), 0);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(116, 135, 205, 0.055) 50%, transparent calc(50% + 0.5px)),
    radial-gradient(42vmax 42vmax at 78% 4%, rgba(var(--c-blue-rgb),0.16), transparent 62%),
    radial-gradient(40vmax 40vmax at 12% 72%, rgba(var(--c-purple-rgb),0.14), transparent 64%),
    radial-gradient(34vmax 34vmax at 86% 92%, rgba(var(--c-green-rgb),0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-base), var(--bg) 52%, var(--bg-base));
}
.bg-mesh::after {
  background-image:
    linear-gradient(rgba(155, 171, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 171, 228, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.wrap { padding-inline: clamp(20px, 4vw, 48px); }
main { isolation: isolate; }

.topbar {
  background: rgba(5, 7, 15, 0.68);
  border-bottom-color: rgba(190, 205, 255, 0.09);
}
.topbar.scrolled { background: rgba(5, 7, 15, 0.92); }
.topbar-inner { height: 72px; }
.brand { font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand .logo-mark { width: 36px; height: 36px; border-radius: 10px; }

.nav { gap: 2px; }
.nav a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.035em;
}
.nav a::before { border-radius: 8px; }
.nav a.active::before {
  background: linear-gradient(135deg, rgba(var(--c-purple-rgb),.8), rgba(var(--c-blue-rgb),.78) 55%, rgba(var(--c-green-rgb),.72));
  box-shadow: 0 8px 24px rgba(65, 87, 220, 0.20);
}
.nav-toggle {
  display: none;
  place-items: center;
  font-size: 0;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease-out), top var(--t-base) var(--ease-out);
}
.nav-toggle::before { transform: translateY(-4px); }
.nav-toggle::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.card {
  background:
    linear-gradient(150deg, rgba(255,255,255,0.035), transparent 42%),
    rgba(12, 17, 31, 0.78);
  border-color: var(--glass-border);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 64px;
  height: 1px;
  background: var(--grad-main);
  opacity: 0.8;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 140, 255, 0.32);
  background: rgba(17, 24, 43, 0.92);
}

.btn {
  min-height: 48px;
  padding: 12px 23px;
  border-radius: 10px;
  letter-spacing: 0.015em;
}
.btn--ghost { background: rgba(19, 27, 48, 0.78); }
.btn--sm { min-height: 40px; padding: 9px 17px; }
.btn:active,
.nav a:active,
.news-row:active { translate: 0 1px; }

.hero {
  min-height: min(720px, calc(100vh - 72px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 56px;
  position: relative;
}
.hero::after {
  content: "TZ / 2026";
  position: absolute;
  top: 96px;
  right: clamp(20px, 4vw, 48px);
  color: var(--ink-muted);
  font: 700 11px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}
.hero-eyebrow,
.ai-badge,
.sk-badge,
.coc-badge,
.game-zone-kicker {
  border-radius: 7px !important;
  background: rgba(16, 23, 42, 0.78) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1120px;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.052em;
  margin-bottom: 30px;
}
.hero-title-line { white-space: nowrap; }
.hero p.lead { max-width: 760px; font-size: clamp(17px, 1.8vw, 21px); }
.hero-actions { margin-top: 2px; }
.hero-ledger {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 48px;
  width: fit-content;
  border-block: 1px solid var(--line);
}
.hero-ledger span {
  padding: 14px 24px 14px 0;
  margin-right: 24px;
  color: var(--ink-faint);
  font: 600 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.hero-ledger b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -.02em;
}

.banner {
  width: min(920px, 100%);
  margin-top: 72px;
  border-radius: 14px;
  padding: 22px 26px;
  background: linear-gradient(115deg, rgba(var(--c-purple-rgb),.92), rgba(var(--c-blue-rgb),.90) 56%, rgba(var(--c-green-rgb),.86));
}
.banner .tag { border-radius: 6px; letter-spacing: .08em; }

.section { position: relative; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent 70%);
}
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(25px, 3.2vw, 38px); letter-spacing: -.035em; }
.section-head h2 .bar,
.tutorial-body h2 .bar { width: 28px; height: 3px; border-radius: 2px; }
.section-head .more { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12px; letter-spacing: .06em; }

.grid { gap: 18px; }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); }
.ov-card,
.zone-card { min-height: 230px; padding: 28px; }
.zone-card .z-icon,
.feature-item .f-icon,
.subzone .sz-icon {
  border-radius: 12px;
  background: rgba(26, 36, 63, .78);
}
.ov-card .meta .pill,
.sk-meta .chip,
.game-feature-meta span { border-radius: 6px; }
.ov-card h3,
.zone-card h3 { letter-spacing: -.02em; }

.page-head,
.ai-hero,
.skill-hero,
.coc-hero {
  padding-top: 84px;
  padding-bottom: 44px;
  position: relative;
}
.page-head::after,
.ai-hero::after,
.skill-hero::after,
.coc-hero::after {
  content: "";
  display: block;
  width: min(360px, 45vw);
  height: 1px;
  margin-top: 34px;
  background: var(--grad-main);
}
.page-head .crumb {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: .04em;
}
.page-head h1,
.ai-hero h1,
.skill-hero h1,
.coc-hero h1,
.game-zone-copy h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.045em; }

.news-list { gap: 0; }
.news-row {
  border-radius: 0;
  border-width: 0 0 1px;
  background: transparent;
  box-shadow: none;
  padding: 27px 8px;
}
.news-row::before,
.news-row::after { display: none; }
.news-row:hover {
  transform: translateX(6px);
  background: linear-gradient(90deg, rgba(91, 76, 219, .10), transparent 72%);
  box-shadow: none;
}
.news-row .n-date { width: 112px; text-align: left; }
.news-row .n-date b { font: 700 19px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.news-row .n-body .n-tag { font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.news-row .n-body h3 { font-size: clamp(18px, 2.2vw, 22px); }

.article { max-width: 900px; }
.article-head { padding-top: 72px; margin-bottom: 40px; }
.article-head h1 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.16; letter-spacing: -.04em; }
.article-head .a-tag { border-radius: 6px; letter-spacing: .09em; }
.article-meta { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.article-body { font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 17px; line-height: 2; }
.article-body h2,
.article-body h3,
.article-body table,
.article-body code,
.article-meta,
.article-foot { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.article-body h2 { margin-top: 48px; }
.article-body h3 { margin: 30px 0 12px; }
.article-body a,
.tutorial-body a { color: #86d8ff; text-decoration: underline; text-decoration-color: rgba(134,216,255,.35); text-underline-offset: 4px; }
.article-body figure { margin: 32px 0 !important; }
.article-body figure img { width: 100%; border-radius: 12px !important; border: 1px solid var(--line); }
.article-body figcaption { color: var(--ink-faint) !important; }
.article-body blockquote { background: rgba(16, 23, 42, .88) !important; color: var(--ink-dim) !important; }

.empty-state { min-height: 430px; display: grid; place-content: center; }
.err-wrap { min-height: calc(100vh - 172px); }
.err-code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: -.08em; }
.err-path { border-radius: 8px; }

.game-zone-hero { min-height: 560px; }
.game-feature { border: 1px solid var(--glass-border); border-radius: var(--r-lg); background: rgba(12, 17, 31, .78); }
.game-feature-art { border-radius: 12px; }
.game-play-cta { border-radius: 9px; }
.orbit-b { animation-name: orbitFloatB; }
@keyframes orbitFloatB {
  from { transform: translateY(-50%); }
  to { transform: translateY(calc(-50% - 12px)); }
}

/* 渐进增强：无脚本时内容保持可读。 */
.reveal { opacity: 1; transform: none; }
.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(22px);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.in { transition-delay: var(--reveal-delay, 0ms); }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .nav a { padding-inline: 10px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(38px, 6.6vw, 56px); }
  .game-zone-hero { min-height: auto; }
}

@media (max-width: 680px) {
  :root { --section-py: 54px; }
  .topbar-inner { height: 64px; }
  .nav-toggle { display: grid; position: relative; }
  .nav {
    inset: 64px 0 auto;
    padding: 14px 20px 22px;
    background: rgba(5, 7, 15, .98);
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    opacity: 0;
    transition: transform .28s var(--ease-out), opacity .2s ease, visibility 0s linear .28s;
  }
  .nav.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s;
  }
  .nav a { padding: 13px 15px; border-radius: 8px; }
  html:not(.js) .nav {
    position: static;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    padding: 8px 0 14px;
    background: transparent;
    border: 0;
  }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .topbar-inner { height: auto; flex-wrap: wrap; }
  .hero { padding-top: 70px; padding-bottom: 40px; }
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.06; }
  .hero-title-line { white-space: normal; }
  .hero p.lead { font-size: 17px; }
  .hero-ledger { width: 100%; }
  .hero-ledger span { width: 50%; margin: 0; padding-right: 12px; }
  .banner { margin-top: 52px; }
  .page-head,
  .ai-hero,
  .skill-hero,
  .coc-hero { padding-top: 62px; }
  .page-head h1,
  .ai-hero h1,
  .skill-hero h1,
  .coc-hero h1,
  .game-zone-copy h1 { font-size: clamp(32px, 10vw, 46px); }
  .news-row { padding: 23px 4px; }
  .news-row .n-body p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .article-head { padding-top: 54px; }
  .article-head h1 { font-size: clamp(28px, 8.5vw, 39px); }
  .article-body { font-size: 16px; line-height: 1.9; }
  .article-body table,
  .tutorial-body table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before,
  body::after,
  .empty-state .e-icon,
  .exp-placeholder .ph-icon,
  .orbit-card,
  .orbit-core,
  .err-code,
  .hero-eyebrow .dot { animation: none !important; }
  .bg-mesh { transform: none !important; }
  .js .reveal,
  .js .reveal:not(.in) { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ============================================================
   英语专区 / 词库转 JSON 技能
   ============================================================ */
body.english-home.tz-site-shell .english-home-main {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: clamp(72px, 10vw, 120px);
}

.english-home .wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.english-home-hero {
  min-height: min(730px, calc(100svh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(54px, 9vw, 124px);
  padding-block: clamp(88px, 11vw, 144px);
  border-bottom: 1px solid var(--tz-v4-line);
}

.english-home-kicker,
.english-section-heading > p,
.english-tool-entry > div > p:first-child {
  margin: 0 0 14px;
  color: var(--tz-skin-focus);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.english-home-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(50px, 6.5vw, 82px);
  line-height: 1.12;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.english-home-copy > p:last-of-type {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-dim);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.85;
  text-wrap: pretty;
}

.english-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.english-home-actions .btn,
.english-tool-entry > .btn {
  min-height: 46px;
  border-radius: 6px;
  background: var(--tz-skin-focus);
  color: var(--tz-skin-canvas);
  box-shadow: none;
}

.english-home-actions .btn--ghost {
  border-color: var(--tz-v4-line);
  background: transparent;
  color: var(--ink);
}

.english-sample {
  min-height: 390px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--tz-v4-line);
  border-radius: 4px;
  background: var(--tz-skin-surface-internal);
  box-shadow: 14px 14px 0 color-mix(in srgb, var(--tz-skin-focus) 12%, transparent);
}

.english-sample > p {
  margin: 0 0 64px;
  color: var(--ink-faint);
  font-size: 12px;
}

.english-sample h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.3vw, 52px);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.english-sample > span {
  display: block;
  margin-top: 7px;
  color: var(--tz-skin-focus);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.english-sample dl {
  margin: 38px 0 0;
  border-top: 1px solid var(--tz-v4-line);
}

.english-sample dl > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px solid var(--tz-v4-line);
}

.english-sample dt {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.english-sample dd {
  margin: 0;
  color: var(--ink-dim);
}

.english-method {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.5fr);
  gap: clamp(48px, 9vw, 126px);
  padding-block: clamp(76px, 10vw, 126px);
  border-bottom: 1px solid var(--tz-v4-line);
  scroll-margin-top: 80px;
}

.english-section-heading h2,
.english-tool-entry h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.22;
  letter-spacing: -.04em;
}

.english-section-heading > span {
  display: block;
  max-width: 320px;
  margin-top: 20px;
  color: var(--ink-faint);
  line-height: 1.7;
}

.english-method-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--tz-v4-line);
  list-style: none;
}

.english-method-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding-block: 26px;
  border-bottom: 1px solid var(--tz-v4-line);
}

.english-method-list li > span {
  padding-top: 4px;
  color: var(--ink-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.english-method-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.english-method-list p {
  margin: 8px 0 0;
  color: var(--ink-faint);
  line-height: 1.75;
}

.english-tool-entry {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  margin-top: clamp(74px, 9vw, 116px);
  padding-block: clamp(34px, 5vw, 58px);
  border-block: 1px solid var(--tz-v4-line);
}

.english-tool-entry__mark {
  color: var(--tz-skin-focus);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
}

.english-tool-entry > div > p:not(:first-child) {
  max-width: 670px;
  margin: 14px 0 0;
  color: var(--ink-dim);
  line-height: 1.75;
}

.english-tool-entry ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--ink-faint);
  font-size: 12px;
  list-style-position: inside;
}

@media (max-width: 860px) {
  .english-home-hero,
  .english-method {
    grid-template-columns: 1fr;
  }

  .english-home-hero {
    min-height: 0;
  }

  .english-sample {
    width: min(560px, 100%);
  }

  .english-tool-entry {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .english-tool-entry > .btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .english-home .wrap {
    width: min(100% - 28px, 1140px);
    padding-inline: 0;
  }

  .english-home-hero {
    gap: 48px;
    padding-block: 62px;
  }

  .english-home-copy h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .english-home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .english-home-actions .btn {
    width: 100%;
  }

  .english-sample {
    min-height: 0;
    padding: 26px;
    box-shadow: 8px 8px 0 color-mix(in srgb, var(--tz-skin-focus) 10%, transparent);
  }

  .english-sample > p {
    margin-bottom: 44px;
  }

  .english-method {
    gap: 36px;
  }

  .english-method-list li {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .english-tool-entry {
    grid-template-columns: 1fr;
  }

  .english-tool-entry > .btn {
    grid-column: 1;
    width: 100%;
  }
}

.english-hero {
  min-height: 640px;
  padding-top: 96px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
  position: relative;
}
.english-hero::before {
  content: "EN / 01";
  position: absolute;
  top: 42px;
  right: 28px;
  color: var(--ink-muted);
  font: 700 11px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .2em;
}
.english-kicker {
  width: fit-content;
  margin-bottom: 25px;
  padding-left: 16px;
  border-left: 3px solid var(--c-green);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.english-kicker span,
.english-tool-kicker {
  color: #7ed9ff;
  font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
}
.english-kicker b { font-size: 13px; color: var(--ink-dim); letter-spacing: .04em; }
.english-hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.english-hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.english-hero-copy > p {
  max-width: 660px;
  margin-top: 26px;
  color: var(--ink-dim);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.85;
}
.english-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.english-word-stage {
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(26, 36, 63, .74), rgba(8, 12, 24, .92)),
    radial-gradient(circle at 90% 0, rgba(var(--c-green-rgb),.2), transparent 40%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.english-word-stage::after {
  content: "A";
  position: absolute;
  right: -18px;
  bottom: -74px;
  color: rgba(255,255,255,.035);
  font: 800 260px/1 Georgia, serif;
}
.english-stage-index,
.english-stage-label,
.english-stage-status {
  font: 700 10px/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
}
.english-stage-index { color: var(--ink-muted); align-self: flex-end; }
.english-stage-label { color: var(--c-green); margin-top: 70px; }
.english-word-stage strong { margin-top: 8px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
.english-phonetic { margin-top: 4px; color: #85d9ff; font-family: Georgia, serif; }
.english-stage-rule { width: 52px; height: 2px; margin: 25px 0 18px; background: var(--grad-main); }
.english-word-stage p { color: var(--ink-dim); line-height: 1.9; }
.english-stage-status { margin-top: auto; color: var(--ink-faint); }
.english-ledger { border-block: 1px solid var(--line); background: rgba(7, 10, 20, .48); }
.english-ledger-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.english-ledger-inner div { padding: 23px 28px; border-right: 1px solid var(--line); }
.english-ledger-inner div:first-child { border-left: 1px solid var(--line); }
.english-ledger-inner b { display: block; color: var(--ink); font: 780 21px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.english-ledger-inner span { display: block; margin-top: 4px; color: var(--ink-faint); font-size: 12px; }
.english-process { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.english-step { padding: 30px 26px; min-height: 230px; border-right: 1px solid var(--line); position: relative; }
.english-step:first-child { border-left: 1px solid var(--line); }
.english-step > span { color: var(--ink-muted); font: 700 12px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.english-step small { display: block; margin-top: 40px; color: var(--c-green); font: 700 10px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .13em; }
.english-step h3 { margin-top: 9px; font-size: 19px; letter-spacing: -.02em; }
.english-step p { margin-top: 12px; color: var(--ink-faint); font-size: 13.5px; line-height: 1.7; }
.english-tool-card { min-height: 270px; padding: 38px; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.english-tool-mark {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  font: 800 31px/1 Georgia, serif;
}
.english-tool-copy h3 { margin-top: 8px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.english-tool-copy p { max-width: 670px; margin-top: 11px; color: var(--ink-dim); line-height: 1.75; }
.english-tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.english-tool-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-faint); font: 650 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.english-tool-go { align-self: stretch; min-width: 150px; padding-left: 28px; border-left: 1px solid var(--line); display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--ink-dim); font-weight: 700; }
.english-tool-go b { color: var(--c-green); font-size: 24px; transition: transform var(--t-base) var(--ease-out); }
.english-tool-card:hover .english-tool-go b { transform: translateX(5px); }

.vocab-hero .crumb { margin-bottom: 30px; }
.vocab-hero .sk-badge { color: #86d8ff; }
.vocab-format-grid .feature-item .f-icon {
  width: auto;
  min-width: 52px;
  padding-inline: 10px;
  font: 800 12px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
  color: #a6e7ff;
}
.vocab-format-grid .feature-item { min-height: 190px; }
.vocab-output-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr); gap: 18px; align-items: stretch; }
.vocab-code-card { padding: 0; overflow: hidden; }
.vocab-code-head { padding: 15px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--ink-faint); font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.vocab-code-head b { color: var(--c-green); }
.vocab-code-card pre { padding: 25px; overflow-x: auto; color: #bdd9ef; font: 13px/1.72 ui-monospace, "SFMono-Regular", Consolas, monospace; tab-size: 2; }
.vocab-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vocab-rule { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.vocab-rule > span { flex: 0 0 auto; color: var(--c-green); font: 750 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.vocab-rule h3 { font-size: 15px; }
.vocab-rule p { margin-top: 7px; color: var(--ink-faint); font-size: 12.5px; line-height: 1.65; }
.vocab-rule code { color: #86d8ff; }
.vocab-import-card .dl-icon { font: 800 22px/1 Georgia, serif; }
.vocab-import-card .btn { margin-left: auto; }

@media (max-width: 900px) {
  .english-hero { grid-template-columns: 1fr; padding-top: 76px; }
  .english-word-stage { width: min(560px, 100%); min-height: 370px; }
  .english-stage-label { margin-top: 42px; }
  .english-process { grid-template-columns: repeat(2, 1fr); }
  .english-step:nth-child(2) { border-right: 1px solid var(--line); }
  .english-tool-card { grid-template-columns: 90px minmax(0, 1fr); }
  .english-tool-mark { width: 86px; height: 86px; }
  .english-tool-go { grid-column: 1 / -1; min-height: 52px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: flex-start; }
  .vocab-output-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .english-hero { min-height: auto; padding-top: 62px; padding-bottom: 50px; gap: 42px; }
  .english-hero::before { display: none; }
  .english-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .english-word-stage { min-height: 340px; padding: 26px; }
  .english-word-stage::after { font-size: 190px; }
  .english-ledger-inner { grid-template-columns: 1fr 1fr; }
  .english-ledger-inner div { padding: 19px 16px; border-bottom: 1px solid var(--line); }
  .english-process { grid-template-columns: 1fr; }
  .english-step { min-height: auto; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .english-step small { margin-top: 24px; }
  .english-tool-card { padding: 26px; grid-template-columns: 1fr; }
  .english-tool-mark { width: 70px; height: 70px; font-size: 25px; }
  .english-tool-go { grid-column: auto; }
  .vocab-rules { grid-template-columns: 1fr; }
  .vocab-code-card pre { padding: 20px; font-size: 12px; }
  .vocab-import-card .btn { width: 100%; margin-left: 0; justify-content: center; }
}

/* Legacy v4 accent mappings. The complete five-skin token contract near EOF
   supersedes these values while preserving old mid/warm component fallbacks. */
html[data-palette="mid"] {
  --c-purple: #3b82f6; --c-violet: #60a5fa; --c-indigo: #0ea5e9; --c-blue: #10b981;
  --c-sky: #34d399; --c-cyan: #4ade80; --c-green: #eab308; --c-emerald: #facc15;
  --c-violet-soft: #60a5fa; --c-blue-soft: #6ee7b7; --c-green-soft: #fde047;
  --c-purple-rgb: 59,130,246; --c-violet-rgb: 96,165,250; --c-indigo-rgb: 14,165,233;
  --c-blue-rgb: 16,185,129; --c-sky-rgb: 52,211,153; --c-cyan-rgb: 74,222,128;
  --c-green-rgb: 234,179,8; --c-emerald-rgb: 250,204,21;
  --c-violet-soft-rgb: 96,165,250; --c-blue-soft-rgb: 110,231,183; --c-green-soft-rgb: 253,224,71;
  --grad-main: linear-gradient(135deg, #3b82f6 0%, #10b981 52%, #eab308 100%);
  --grad-soft: linear-gradient(135deg, #60a5fa 0%, #6ee7b7 50%, #fde047 100%);
  --grad-text: linear-gradient(120deg, #60a5fa, #6ee7b7 45%, #fde047);
  --shadow-glow: 0 12px 42px rgba(59, 130, 246, 0.28);
}
html[data-palette="warm"] {
  --c-purple: #10b981; --c-violet: #34d399; --c-indigo: #eab308; --c-blue: #eab308;
  --c-sky: #fbbf24; --c-cyan: #fb923c; --c-green: #f97316; --c-emerald: #fdba74;
  --c-violet-soft: #6ee7b7; --c-blue-soft: #fde047; --c-green-soft: #fdba74;
  --c-purple-rgb: 16,185,129; --c-violet-rgb: 52,211,153; --c-indigo-rgb: 234,179,8;
  --c-blue-rgb: 234,179,8; --c-sky-rgb: 251,191,36; --c-cyan-rgb: 251,146,60;
  --c-green-rgb: 249,115,22; --c-emerald-rgb: 253,186,116;
  --c-violet-soft-rgb: 110,231,183; --c-blue-soft-rgb: 253,224,71; --c-green-soft-rgb: 253,186,116;
  --grad-main: linear-gradient(135deg, #10b981 0%, #eab308 52%, #f97316 100%);
  --grad-soft: linear-gradient(135deg, #6ee7b7 0%, #fde047 50%, #fdba74 100%);
  --grad-text: linear-gradient(120deg, #6ee7b7, #fde047 45%, #fdba74);
  --shadow-glow: 0 12px 42px rgba(249, 115, 22, 0.28);
}

/* 配色切换浮钮（main.js 注入） */
.tzpal-btn {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: var(--bg-soft, #11182e); border: 1px solid var(--line-strong, rgba(255,255,255,0.14));
  color: var(--ink-dim, #c3c8e4); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md, 0 18px 50px rgba(0,0,0,0.32));
  transition: transform 0.2s ease, color 0.2s ease;
}
.tzpal-btn:hover { transform: translateY(-2px); color: var(--ink, #f7f8ff); }
.tzpal-panel {
  position: fixed; left: 18px; bottom: 70px; z-index: 90; min-width: 168px;
  background: var(--bg-soft, #11182e); border: 1px solid var(--line-strong, rgba(255,255,255,0.14));
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg, 0 28px 80px rgba(0,0,0,0.38));
  display: none; flex-direction: column; gap: 2px;
}
.tzpal-panel.open { display: flex; }
.tzpal-opt,
.tzpal-opt:not(.active) {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px;
  cursor: pointer; font-size: 13px; color: var(--ink-dim, #c3c8e4); border: none; background: none;
  font-family: inherit; text-align: left; width: 100%;
}
.tzpal-opt:hover { background: var(--bg-elevated-hover, rgba(255,255,255,0.075)); }
.tzpal-opt.active { background: var(--bg-elevated, rgba(255,255,255,0.045)); color: var(--ink, #f7f8ff); }
.tzpal-opt.locked { opacity: 0.62; }
.tzpal-dots { display: flex; gap: 4px; }
.tzpal-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.tzpal-cost { margin-left: auto; font-size: 11px; color: var(--ink-faint, #8b94b8); }
.tzpal-tip {
  position: fixed; left: 18px; bottom: 70px; z-index: 91; max-width: 240px;
  background: var(--bg-soft, #11182e); border: 1px solid var(--line-strong, rgba(255,255,255,0.14));
  color: var(--ink-dim, #c3c8e4); border-radius: 10px; padding: 9px 12px; font-size: 12px; line-height: 1.6;
  box-shadow: var(--shadow-md, 0 18px 50px rgba(0,0,0,0.32)); display: none;
}

/* ============================================================
   Tianze Web UI v4
   Generated star-map wallpaper, material surfaces and icon atlas.
   This layer intentionally targets interface chrome only; article
   content and embedded learning payloads keep their original text.
   ============================================================ */
:root {
  --tz-v4-wallpaper: url("../img/ui-v4/wallpaper-cold.webp");
  --tz-v4-button: url("../img/ui-v4/button-cold.webp");
  --tz-v4-surface: url("../img/ui-v4/surface-cold.webp");
  --tz-v4-icon-atlas: url("../img/ui-v4/icon-atlas-cold.png");
  --tz-v4-icon-well: url("../img/ui-v4/icon-well-cold.webp");
  --tz-v4-surface-color: rgba(7, 13, 28, 0.82);
  --tz-v4-surface-color-strong: rgba(5, 10, 23, 0.92);
  --tz-v4-line: rgba(191, 211, 255, 0.2);
}

html[data-palette="mid"] {
  --tz-v4-wallpaper: url("../img/ui-v4/wallpaper-mid.webp");
  --tz-v4-button: url("../img/ui-v4/button-mid.webp");
  --tz-v4-surface: url("../img/ui-v4/surface-mid.webp");
  --tz-v4-icon-atlas: url("../img/ui-v4/icon-atlas-mid.png");
  --tz-v4-icon-well: url("../img/ui-v4/icon-well-mid.webp");
  --tz-v4-surface-color: rgba(5, 20, 27, 0.8);
  --tz-v4-surface-color-strong: rgba(4, 17, 23, 0.92);
  --tz-v4-line: rgba(164, 238, 210, 0.22);
}

html[data-palette="warm"] {
  --tz-v4-wallpaper: url("../img/ui-v4/wallpaper-warm.webp");
  --tz-v4-button: url("../img/ui-v4/button-warm.webp");
  --tz-v4-surface: url("../img/ui-v4/surface-warm.webp");
  --tz-v4-icon-atlas: url("../img/ui-v4/icon-atlas-warm.png");
  --tz-v4-icon-well: url("../img/ui-v4/icon-well-warm.webp");
  --tz-v4-surface-color: rgba(20, 18, 9, 0.8);
  --tz-v4-surface-color-strong: rgba(19, 14, 5, 0.92);
  --tz-v4-line: rgba(255, 222, 153, 0.24);
}

body {
  background-color: #09111f;
  background-image: var(--tz-v4-wallpaper);
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

.bg-mesh {
  background-color: transparent !important;
  background-image: var(--tz-v4-wallpaper) !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 0.96;
}

.bg-mesh::after {
  background-image:
    linear-gradient(rgba(192, 211, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 211, 255, 0.045) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  opacity: 0.26;
}

body::before,
body::after {
  background-color: transparent;
  background-image: var(--tz-v4-surface) !important;
  background-position: center;
  background-size: cover;
  opacity: 0.12;
}

:where(
  .topbar,
  .card,
  .game-feature,
  .english-word-stage,
  .english-tool-card,
  .vocab-code-card,
  .vocab-import-card,
  .exp-wrap,
  .dq-toolbar,
  .dq-modal,
  .tzpal-panel,
  .tzpal-tip
) {
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  border-color: var(--tz-v4-line) !important;
}

.topbar.scrolled,
.tzpal-panel,
.tzpal-tip,
.dq-modal {
  background-color: var(--tz-v4-surface-color-strong) !important;
}

.card:hover,
.game-feature:hover {
  background-color: rgba(var(--c-blue-rgb), 0.2) !important;
  background-image: var(--tz-v4-surface) !important;
  background-blend-mode: soft-light !important;
}

.card::before {
  background: var(--tz-v4-surface) center / cover !important;
  mix-blend-mode: screen;
  opacity: 0;
}

.card:hover::before { opacity: 0.16; }

.banner,
.nav a.active::before {
  background-color: rgba(var(--c-blue-rgb), 0.5) !important;
  background-image: var(--tz-v4-button) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: screen !important;
}

:where(
  .btn,
  .nav-toggle,
  .tzpal-btn,
  .tzpal-opt,
  .dq-cat,
  .dq-close,
  .dq-back,
  .exp-fs-btn,
  .game-play-cta,
  .vp-tab,
  .vp-mode-btn,
  .vp-zoom-btn,
  .dm-tab,
  .tts-btn,
  .modal-close
) {
  background-color: rgba(var(--c-blue-rgb), 0.42) !important;
  background-image: var(--tz-v4-button) !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-blend-mode: screen !important;
  border-color: var(--tz-v4-line) !important;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

:where(
  .btn,
  .nav-toggle,
  .tzpal-btn,
  .tzpal-opt,
  .dq-cat,
  .dq-close,
  .dq-back,
  .exp-fs-btn,
  .game-play-cta,
  .vp-tab,
  .vp-mode-btn,
  .vp-zoom-btn,
  .dm-tab,
  .tts-btn,
  .modal-close
):hover:not(:disabled) {
  background-color: rgba(var(--c-green-rgb), 0.54) !important;
  background-image: var(--tz-v4-button) !important;
  filter: brightness(1.1) saturate(1.08);
}

.btn::after { display: none !important; }
.btn--ghost,
.tzpal-opt:not(.active),
.vp-tab:not(.active),
.vp-mode-btn:not(.active) {
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-button) !important;
  background-blend-mode: multiply !important;
}

:where(.btn, button):disabled {
  filter: grayscale(0.45) brightness(0.72);
  opacity: 0.64;
}

:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  border-color: var(--tz-v4-line) !important;
}

.article-body :where(pre, code, blockquote),
.tutorial-body :where(pre, code, blockquote) {
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
}

.brand .logo-mark {
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
}

.brand .logo-mark svg { display: none; }
.brand .logo-mark::before {
  content: "";
  width: 23px;
  height: 23px;
  background-image: var(--tz-v4-icon-atlas);
  background-repeat: no-repeat;
  background-size: 800% 800%;
  background-position: 100% 100%;
}

/* Generated 8 x 8 transparent icon atlas.
   Render the bitmap directly instead of using it as a CSS mask. This keeps
   glyphs visible in Electron/custom protocols and browsers that drop masks. */
.tz-icon {
  --tz-icon-x: 0%;
  --tz-icon-y: 0%;
  display: inline-block;
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  vertical-align: -0.11em;
  background-color: transparent;
  background-image: var(--tz-v4-icon-atlas);
  background-repeat: no-repeat;
  background-size: 800% 800%;
  background-position: var(--tz-icon-x) var(--tz-icon-y);
  background-blend-mode: normal;
  -webkit-mask: none;
  mask: none;
}

.tz-icon[data-icon="home"] { --tz-icon-x: 0%; --tz-icon-y: 0%; }
.tz-icon[data-icon="newspaper"] { --tz-icon-x: 14.2857%; --tz-icon-y: 0%; }
.tz-icon[data-icon="pen"] { --tz-icon-x: 28.5714%; --tz-icon-y: 0%; }
.tz-icon[data-icon="unlock"] { --tz-icon-x: 42.8571%; --tz-icon-y: 0%; }
.tz-icon[data-icon="ai"] { --tz-icon-x: 57.1429%; --tz-icon-y: 0%; }
.tz-icon[data-icon="shield"] { --tz-icon-x: 71.4286%; --tz-icon-y: 0%; }
.tz-icon[data-icon="gamepad"] { --tz-icon-x: 85.7143%; --tz-icon-y: 0%; }
.tz-icon[data-icon="book"] { --tz-icon-x: 100%; --tz-icon-y: 0%; }
.tz-icon[data-icon="monitor"] { --tz-icon-x: 0%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="user"] { --tz-icon-x: 14.2857%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="palette"] { --tz-icon-x: 28.5714%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="menu"] { --tz-icon-x: 42.8571%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="key"] { --tz-icon-x: 57.1429%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="chat"] { --tz-icon-x: 71.4286%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="cart"] { --tz-icon-x: 85.7143%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="trophy"] { --tz-icon-x: 100%; --tz-icon-y: 14.2857%; }
.tz-icon[data-icon="settings"] { --tz-icon-x: 0%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="info"] { --tz-icon-x: 14.2857%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="folder"] { --tz-icon-x: 28.5714%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="globe"] { --tz-icon-x: 42.8571%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="bulb"] { --tz-icon-x: 57.1429%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="tree"] { --tz-icon-x: 71.4286%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="terminal"] { --tz-icon-x: 85.7143%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="clock"] { --tz-icon-x: 100%; --tz-icon-y: 28.5714%; }
.tz-icon[data-icon="document"] { --tz-icon-x: 0%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="notes"] { --tz-icon-x: 14.2857%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="calendar"] { --tz-icon-x: 28.5714%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="burst"] { --tz-icon-x: 42.8571%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="swords"] { --tz-icon-x: 57.1429%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="windows"] { --tz-icon-x: 71.4286%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="laptop"] { --tz-icon-x: 85.7143%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="android"] { --tz-icon-x: 100%; --tz-icon-y: 42.8571%; }
.tz-icon[data-icon="search"] { --tz-icon-x: 0%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="close"] { --tz-icon-x: 14.2857%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="power"] { --tz-icon-x: 28.5714%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="network"] { --tz-icon-x: 42.8571%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="volume"] { --tz-icon-x: 57.1429%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="battery"] { --tz-icon-x: 71.4286%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="moon"] { --tz-icon-x: 85.7143%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="pin"] { --tz-icon-x: 100%; --tz-icon-y: 57.1429%; }
.tz-icon[data-icon="refresh"] { --tz-icon-x: 0%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="left"] { --tz-icon-x: 14.2857%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="right"] { --tz-icon-x: 28.5714%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="download"] { --tz-icon-x: 42.8571%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="upload"] { --tz-icon-x: 57.1429%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="camera"] { --tz-icon-x: 71.4286%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="paperclip"] { --tz-icon-x: 85.7143%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="stop"] { --tz-icon-x: 100%; --tz-icon-y: 71.4286%; }
.tz-icon[data-icon="play"] { --tz-icon-x: 0%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="pause"] { --tz-icon-x: 14.2857%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="trash"] { --tz-icon-x: 28.5714%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="save"] { --tz-icon-x: 42.8571%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="edit"] { --tz-icon-x: 57.1429%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="copy"] { --tz-icon-x: 71.4286%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="check"] { --tz-icon-x: 85.7143%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="warning"] { --tz-icon-x: 100%; --tz-icon-y: 85.7143%; }
.tz-icon[data-icon="rocket"] { --tz-icon-x: 0%; --tz-icon-y: 100%; }
.tz-icon[data-icon="star"] { --tz-icon-x: 14.2857%; --tz-icon-y: 100%; }
.tz-icon[data-icon="heart"] { --tz-icon-x: 28.5714%; --tz-icon-y: 100%; }
.tz-icon[data-icon="lightning"] { --tz-icon-x: 42.8571%; --tz-icon-y: 100%; }
.tz-icon[data-icon="sparkle"] { --tz-icon-x: 57.1429%; --tz-icon-y: 100%; }
.tz-icon[data-icon="file"] { --tz-icon-x: 71.4286%; --tz-icon-y: 100%; }
.tz-icon[data-icon="cursor"] { --tz-icon-x: 85.7143%; --tz-icon-y: 100%; }
.tz-icon[data-icon="crystal"] { --tz-icon-x: 100%; --tz-icon-y: 100%; }

.tz-iconized {
  align-items: center;
  gap: 0.5em;
  line-height: 1;
}

/* Keep generated glyphs optically upright. Earlier playful rotations made
   otherwise aligned bitmap icons look crooked in cards and navigation. */
body.tz-site-shell .brand:hover .logo-mark {
  transform: translateY(-1px) scale(1.04);
}

body.tz-site-shell :where(
  .zone-card:hover .z-icon,
  .feature-item:hover .f-icon,
  .dl-card:hover .dl-icon,
  .dq-card:hover .dc-emoji
) {
  transform: translateY(-2px) scale(1.045);
}

:where(
  .z-icon,
  .f-icon,
  .sz-icon,
  .dl-icon,
  .oc-icon,
  .e-icon,
  .es-icon,
  .ph-icon,
  .orbit-core
).tz-iconized {
  background-color: transparent !important;
  background-image: var(--tz-v4-icon-well) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: normal !important;
}

:where(
  .z-icon,
  .f-icon,
  .sz-icon,
  .dc-emoji,
  .dm-emoji,
  .de-icon,
  .dl-icon,
  .oc-icon,
  .e-icon,
  .es-icon,
  .ph-icon,
  .orbit-core,
  .gpa-dialog-icon,
  .gpa-avatar
) > .tz-icon {
  width: 56%;
  height: 56%;
  min-width: 20px;
  min-height: 20px;
}

.vc-emoji > .tz-icon {
  width: 1em;
  height: 1em;
}

.nav-toggle.tz-iconized::before,
.nav-toggle.tz-iconized::after {
  display: none;
}

.nav-toggle > .tz-icon,
.tzpal-btn > .tz-icon {
  width: 21px;
  height: 21px;
  vertical-align: 0;
}

@media (max-width: 680px) {
  .nav {
    background-color: var(--tz-v4-surface-color-strong) !important;
    background-image: var(--tz-v4-surface) !important;
    background-position: center !important;
    background-size: cover !important;
    background-blend-mode: multiply !important;
  }
}

@media (prefers-reduced-data: reduce) {
  body,
  .bg-mesh {
    background-attachment: scroll;
  }
}

/* Shared site chrome */
:root {
  --tz-shell-rail: 0px;
  --tz-shell-status: 0px;
  --tz-shell-sticky-top: 72px;
}

body.tz-site-shell {
  min-height: 100vh;
  padding-bottom: max(18px, var(--tz-safe-bottom));
}

/* Always available before the optional motion stylesheet finishes loading. */
.tz-site-top-guard {
  position: fixed;
  z-index: 49;
  inset: 0 0 auto;
  height: 11px;
  pointer-events: none;
  background: color-mix(in srgb, var(--c-bg, #04111b) 96%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

@media (max-width: 1100px) {
  :root { --tz-shell-sticky-top: 82px; }
}

@media (max-width: 820px) {
  :root { --tz-shell-sticky-top: 78px; }
}

.tz-skip-link {
  position: fixed;
  z-index: 220;
  top: 8px;
  left: 50%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 12px;
  background: var(--tz-v4-surface-color-strong);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .34);
  transform: translate(-50%, calc(-100% - 18px));
  transition: transform .18s var(--ease-out);
}

.tz-skip-link:focus-visible {
  outline: 2px solid var(--c-blue-soft);
  outline-offset: 2px;
  transform: translate(-50%, 0);
}

body.tz-site-shell.tz-command-open {
  overflow: hidden;
}

body.tz-site-shell .topbar {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--tz-v4-line);
  border-radius: 0;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

body.tz-site-shell .topbar-inner {
  width: 100%;
  max-width: none;
  height: 64px;
  padding: 0 20px;
  gap: 12px;
}

body.tz-site-shell .brand {
  min-width: max-content;
  gap: 10px;
}

body.tz-site-shell .brand .logo-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .24);
}

body.tz-site-shell .brand .logo-mark::after {
  display: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy small {
  color: var(--ink-faint);
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
}

.tz-topbar-status {
  display: none !important;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .04em;
}

.tz-topbar-status time,
.tz-topbar-status > span:last-child:not(.tz-live-dot) {
  color: var(--ink-faint);
}

.tz-live-dot,
.tz-status-chip i,
.tz-site-statusbar__left > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green-soft);
  box-shadow: 0 0 12px rgba(var(--c-green-rgb), .8);
  flex: 0 0 auto;
}

.tz-command-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 92px;
  height: 38px;
  padding: 0 9px 0 11px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 7px;
  background: var(--tz-skin-control);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.tz-command-trigger .tz-icon {
  width: 16px;
  height: 16px;
}

.tz-command-trigger kbd,
.tz-status-command kbd {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  color: var(--ink-faint);
  background: rgba(3, 8, 20, .28);
  font: 9px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

body.tz-site-shell .nav {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

body.tz-site-shell .nav::-webkit-scrollbar {
  display: none;
}

body.tz-site-shell .nav a {
  flex: 0 0 auto;
  padding: 10px 11px 8px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-size: 12px;
}

body.tz-site-shell .nav a.active {
  border: 0;
  border-bottom: 2px solid var(--tz-skin-focus);
  color: var(--ink);
}

.tz-site-statusbar {
  display: none !important;
  position: fixed;
  z-index: 45;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: var(--tz-shell-status);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 13px;
  background-color: var(--tz-v4-surface-color-strong);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .07);
  color: var(--ink-faint);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: .05em;
}

.tz-site-statusbar__left,
.tz-site-statusbar__right {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.tz-site-statusbar__left b {
  color: var(--ink-dim);
  font-size: 9px;
}

.tz-site-statusbar__left span {
  padding-left: 8px;
  border-left: 1px solid var(--tz-v4-line);
}

.tz-site-statusbar__right {
  justify-content: flex-end;
}

.tz-site-statusbar__right .tz-icon {
  width: 13px;
  height: 13px;
}

.tz-status-command {
  display: inline-flex;
  height: 26px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 8px;
  background-color: rgba(var(--c-blue-rgb), .22);
  background-image: var(--tz-v4-button);
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  color: var(--ink-dim);
  cursor: pointer;
  font: inherit;
}

.tz-status-command .tz-icon {
  width: 12px;
  height: 12px;
}

.tz-command-palette {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: min(16vh, 150px) 18px 80px;
  background-color: rgba(3, 7, 18, .72);
  background-image: var(--tz-v4-wallpaper);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.tz-command-palette[hidden] {
  display: none;
}

.tz-command-dialog {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 24px;
  background-color: var(--tz-v4-surface-color-strong);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 36px 120px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .1);
}

.tz-command-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--tz-v4-line);
}

.tz-command-head > .tz-icon {
  width: 22px;
  height: 22px;
}

.tz-command-head input {
  flex: 1;
  min-width: 0;
  padding: 10px 4px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  outline: 0;
  font: 16px/1.4 inherit;
}

.tz-command-head button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tz-v4-line);
  border-radius: 10px;
  background-color: rgba(var(--c-blue-rgb), .26);
  background-image: var(--tz-v4-button);
  background-position: center;
  background-size: cover;
  color: #fff;
  cursor: pointer;
}

.tz-command-head button .tz-icon {
  width: 15px;
  height: 15px;
}

.tz-command-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: min(54vh, 420px);
  padding: 12px;
  overflow-y: auto;
}

.tz-command-list a {
  display: grid;
  min-height: 86px;
  grid-template-columns: 28px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2px 10px;
  padding: 13px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 15px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-dim);
}

.tz-command-list a:hover,
.tz-command-list a:focus-visible {
  background-color: rgba(var(--c-blue-rgb), .32);
  background-image: var(--tz-v4-button);
  background-blend-mode: screen;
  color: #fff;
  outline: 0;
}

.tz-command-list a .tz-icon {
  width: 26px;
  height: 26px;
  grid-row: 1 / 3;
}

.tz-command-list a span {
  font-weight: 700;
}

.tz-command-list a kbd {
  color: var(--ink-faint);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.tz-command-foot {
  padding: 9px 14px 12px;
  border-top: 1px solid var(--tz-v4-line);
  color: var(--ink-faint);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
  text-align: center;
}

@media (min-width: 1101px) {
  body.tz-site-shell main {
    padding-left: var(--tz-shell-rail);
  }
}

body.tz-site-shell.nochrome .tz-site-statusbar {
  display: none;
}

body.nochrome .tzpal-btn,
body.nochrome .tzpal-panel,
body.nochrome .tzpal-tip {
  display: none !important;
}

body.tz-site-shell.nochrome main {
  padding-left: 0;
}

body.tz-site-shell.nochrome {
  padding-bottom: 0;
}

body.tz-site-shell .topbar-inner > .tzpal-btn {
  position: static;
  z-index: auto;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin-left: 0;
  border-radius: 12px;
  background-color: rgba(var(--c-blue-rgb), .2);
}

body.tz-site-shell .topbar-inner > .tzpal-btn:hover {
  transform: translateY(-1px);
}

body.tz-site-shell .topbar-inner > .tzpal-btn + .tz-command-trigger {
  margin-left: 0;
}

body.tz-site-shell .tzpal-panel,
body.tz-site-shell .tzpal-tip {
  right: 20px;
  top: 84px;
  bottom: auto;
  left: auto;
}

/* Shared page structure */
body.tz-site-shell:not(.tz-homepage) main {
  padding-top: 18px;
}

body.tz-site-shell:not(.tz-homepage) :is(
  .hero,
  .page-head,
  .ai-hero,
  .skill-hero,
  .coc-hero,
  .english-hero,
  .game-zone-hero
) {
  position: relative;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 28px;
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .08);
}

body.tz-site-shell .section-head {
  min-height: 48px;
  align-items: end;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--tz-v4-line);
}

body.tz-site-shell .section-head h2 .bar {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background-color: rgba(var(--c-blue-rgb), .32) !important;
  background-image: var(--tz-v4-button) !important;
  background-position: center !important;
  background-size: cover !important;
}

body.tz-site-shell .news-row,
body.tz-site-shell .feature-item,
body.tz-site-shell .subzone {
  border-radius: 18px;
}

body.tz-site-shell .news-row {
  display: grid;
  grid-template-columns: minmax(84px, .28fr) 1fr auto;
  align-items: center;
  gap: 18px;
}

body.tz-site-shell .article-body {
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--tz-v4-line);
  border-radius: 24px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .2);
}

/* Homepage: a personal, editorial index. The former orbit map styles below
   remain compatible with archived markup; the current page uses this list. */
.home-journal-main {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(72px, 10vw, 132px);
}

.home-journal .wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.home-journal-hero {
  min-height: min(720px, calc(100svh - 88px));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: end;
  gap: clamp(48px, 9vw, 132px);
  padding-block: clamp(88px, 11vw, 152px) clamp(68px, 8vw, 108px);
  border-bottom: 1px solid var(--tz-v4-line);
}

.home-journal-motto,
.home-section-heading > p {
  margin: 0 0 14px;
  color: var(--tz-skin-focus);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.home-journal-hero h1 {
  max-width: 7ch;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(62px, 9vw, 116px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.home-journal-hero__intro {
  padding-bottom: 6px;
}

.home-journal-hero__intro > p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-dim);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.8;
  text-wrap: pretty;
}

.home-journal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.home-journal-actions .btn {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 6px;
  background: var(--tz-skin-focus);
  color: var(--tz-skin-canvas);
  box-shadow: none;
}

.home-journal-actions .btn--ghost {
  border-color: var(--tz-v4-line);
  background: transparent;
  color: var(--ink);
}

.home-journal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0 0;
  border-top: 1px solid var(--tz-v4-line);
}

.home-journal-facts div {
  min-width: 0;
  padding: 18px 16px 0 0;
}

.home-journal-facts dt {
  color: var(--ink-faint);
  font-size: 12px;
}

.home-journal-facts dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.home-current,
.home-directory,
.home-reading {
  padding-block: clamp(72px, 9vw, 118px);
  border-bottom: 1px solid var(--tz-v4-line);
  scroll-margin-top: 88px;
}

.home-current {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.6fr);
  gap: clamp(36px, 7vw, 100px);
}

.home-section-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.2;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.home-current-link {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px 24px;
  padding-block: 26px;
  border-block: 1px solid var(--tz-v4-line);
  color: inherit;
  text-decoration: none;
}

.home-current-link time,
.home-current-link span {
  color: var(--ink-faint);
  font-size: 13px;
}

.home-current-link strong {
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.35;
}

.home-current-link span {
  grid-column: 2;
  max-width: 640px;
  line-height: 1.7;
}

.home-current-link b {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--tz-skin-focus);
  font-size: 13px;
}

.home-current-link:hover strong,
.home-current-link:focus-visible strong {
  color: var(--tz-skin-focus);
}

.home-directory-heading {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, .8fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 44px;
}

.home-directory-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-faint);
  line-height: 1.75;
}

.home-directory-toggle-all,
.site-directory-zone__head > button {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--tz-v4-line);
  background: transparent;
  color: var(--ink-dim);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
}

.home-directory-toggle-all {
  min-width: 88px;
  padding: 0 4px;
}

.site-directory-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--tz-v4-line);
  list-style: none;
}

.site-directory-zone {
  border-bottom: 1px solid var(--tz-v4-line);
}

.site-directory-zone__head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 20px;
  min-height: 96px;
}

.site-directory-number {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.site-directory-zone__head > a {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(140px, .55fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.site-directory-zone__head strong {
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 24px;
}

.site-directory-zone__head a > span {
  color: var(--ink-faint);
  font-size: 14px;
}

.site-directory-zone__head > a:hover strong,
.site-directory-zone__head > a:focus-visible strong {
  color: var(--tz-skin-focus);
}

.site-directory-zone__head > button {
  justify-self: stretch;
  padding: 0;
}

.site-directory-zone > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: -8px 74px 24px;
  padding: 0 0 0 74px;
  border-left: 1px solid var(--tz-v4-line);
  list-style: none;
}

.site-directory-zone > ul[hidden] {
  display: none;
}

.site-directory-zone > ul a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-block: 9px;
  border-bottom: 1px solid color-mix(in srgb, var(--tz-v4-line) 62%, transparent);
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.site-directory-zone > ul a:hover,
.site-directory-zone > ul a:focus-visible {
  color: var(--tz-skin-focus);
}

.home-directory button:hover,
.home-directory button:focus-visible {
  color: var(--ink);
  border-color: var(--tz-skin-focus);
}

.home-reading {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.6fr);
  gap: clamp(36px, 7vw, 100px);
}

.home-reading-list {
  border-top: 1px solid var(--tz-v4-line);
}

.home-reading-list > a {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  min-height: 78px;
  padding-block: 20px;
  border-bottom: 1px solid var(--tz-v4-line);
  color: inherit;
  text-decoration: none;
}

.home-reading-list time,
.home-reading-list span {
  color: var(--ink-faint);
  font-size: 12px;
}

.home-reading-list strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.home-reading-list > a:hover strong,
.home-reading-list > a:focus-visible strong {
  color: var(--tz-skin-focus);
}

@media (max-width: 900px) {
  .home-journal-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
  }

  .home-journal-hero h1 {
    max-width: 9ch;
  }

  .home-current,
  .home-reading {
    grid-template-columns: 1fr;
  }

  .home-directory-heading {
    grid-template-columns: 1fr auto;
  }

  .home-directory-heading > p {
    grid-column: 1 / -1;
  }

  .site-directory-zone > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-journal .wrap {
    width: min(100% - 28px, 1180px);
    padding-inline: 0;
  }

  .home-journal-hero {
    padding-block: 64px 58px;
    gap: 34px;
  }

  .home-journal-hero h1 {
    font-size: clamp(50px, 17vw, 72px);
  }

  .home-journal-hero__intro > p {
    font-size: 17px;
  }

  .home-journal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-journal-actions .btn {
    width: 100%;
  }

  .home-journal-facts {
    grid-template-columns: 1fr;
  }

  .home-journal-facts div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    padding-block: 12px;
    border-bottom: 1px solid var(--tz-v4-line);
  }

  .home-journal-facts dd {
    margin: 0;
  }

  .home-current-link {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-current-link span,
  .home-current-link b {
    grid-column: 1;
    grid-row: auto;
  }

  .home-directory-heading {
    grid-template-columns: 1fr;
  }

  .home-directory-toggle-all {
    justify-self: start;
  }

  .site-directory-zone__head {
    grid-template-columns: 34px minmax(0, 1fr) 56px;
    gap: 10px;
    min-height: 88px;
  }

  .site-directory-zone__head > a {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .site-directory-zone__head strong {
    font-size: 20px;
  }

  .site-directory-zone__head a > span {
    font-size: 12px;
  }

  .site-directory-zone > ul {
    grid-template-columns: 1fr;
    margin: -2px 0 18px 34px;
    padding-left: 20px;
  }

  .home-reading-list > a {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }

  .home-reading-list strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Homepage workspace */
.tz-homepage .wrap {
  max-width: 1480px;
}

.tz-home-workspace {
  position: relative;
}

.tz-home-hero {
  display: grid;
  min-height: min(720px, calc(100vh - 106px));
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 108px);
  padding-top: clamp(70px, 9vh, 126px);
  padding-bottom: 58px;
}

.tz-home-hero__copy {
  min-width: 0;
}

.tz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 7px 8px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: .06em;
}

.tz-kicker .tz-icon {
  width: 20px;
  height: 20px;
}

.tz-kicker b {
  padding-left: 9px;
  border-left: 1px solid var(--tz-v4-line);
  color: var(--ink-faint);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.tz-home-hero h1 {
  max-width: 900px;
  margin: 28px 0 22px;
  font-size: clamp(48px, 5.7vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
}

.tz-home-hero h1 > span {
  color: var(--c-blue-soft);
  text-shadow: 0 0 34px rgba(var(--c-blue-rgb), .25);
}

.tz-home-lead {
  max-width: 760px;
  color: var(--ink-dim);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.85;
}

.tz-homepage .hero-actions {
  margin-top: 30px;
}

.tz-homepage .hero-actions .btn {
  min-height: 48px;
  gap: 9px;
  border-radius: 14px;
}

.tz-homepage .hero-actions .tz-icon {
  width: 18px;
  height: 18px;
}

.tz-home-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 760px;
  margin: 38px 0 0;
}

.tz-home-metrics div {
  display: flex;
  min-width: 0;
  flex-direction: column-reverse;
  gap: 3px;
  padding: 12px 14px;
  border-top: 1px solid var(--tz-v4-line);
  border-bottom: 1px solid var(--tz-v4-line);
}

.tz-home-metrics dt {
  color: var(--ink-faint);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.tz-home-metrics dd {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.tz-network-panel {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 30px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .1);
}

.tz-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tz-v4-line);
}

.tz-panel-head small,
.tz-domain-card small,
.tz-side-module > small {
  color: var(--ink-faint);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.tz-panel-head h2 {
  margin-top: 4px;
  font-size: 22px;
}

.tz-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-size: 10px;
}

.tz-network-map {
  position: relative;
  flex: 1;
  min-height: 360px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 24px;
  background-color: rgba(5, 12, 27, .34);
  background-image: var(--tz-v4-wallpaper);
  background-position: center;
  background-size: cover;
}

.tz-network-map::before,
.tz-network-map::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid var(--tz-v4-line);
  border-radius: 50%;
  opacity: .68;
}

.tz-network-map::after {
  inset: 28%;
  border-style: dashed;
}

.tz-network-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(280px, calc(100% - 40px));
  padding: 26px 24px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 24px;
  color: var(--ink);
  text-align: center;
  background: rgba(5, 12, 27, .76);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .12);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px);
}

.tz-network-loading .tz-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

.tz-network-loading b {
  font-size: 15px;
  letter-spacing: .04em;
}

.tz-network-loading small {
  margin-top: 7px;
  color: var(--ink-faint);
  font: 10px/1.5 var(--font-mono);
  letter-spacing: .08em;
}

.tz-network-core,
.tz-network-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid var(--tz-v4-line);
  background-color: transparent;
  background-image: var(--tz-v4-icon-well);
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .12);
}

.tz-network-core {
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  grid-template-rows: 1fr auto auto 1fr;
  border-radius: 34px;
  transform: translate(-50%, -50%);
}

.tz-network-core .tz-icon {
  width: 42px;
  height: 42px;
  align-self: end;
}

.tz-network-core .tz-icon[data-icon="crystal"] {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    color-mix(in srgb, var(--c-blue) 58%, #ffffff) 56%,
    color-mix(in srgb, var(--c-green) 70%, #ffffff) 100%
  );
  background-position: center;
  background-size: cover;
  -webkit-mask: url("../img/ui-v4/core-crystal-generated.png") center / contain no-repeat;
  mask: url("../img/ui-v4/core-crystal-generated.png") center / contain no-repeat;
  transform: none;
}

.tz-network-core b {
  margin-top: 5px;
  font-size: 13px;
}

.tz-network-core small {
  align-self: start;
  color: rgba(255, 255, 255, .62);
  font: 8px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
}

.tz-network-node {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  transition: transform .22s var(--ease-bounce), filter .22s var(--ease-out);
}

.tz-network-node:hover {
  z-index: 3;
  transform: translateY(-4px) scale(1.08);
  filter: brightness(1.12);
}

.tz-network-node .tz-icon {
  width: 25px;
  height: 25px;
}

.tz-network-node.n1 { left: 12%; top: 16%; }
.tz-network-node.n2 { right: 12%; top: 13%; }
.tz-network-node.n3 { left: 8%; top: 55%; }
.tz-network-node.n4 { right: 8%; top: 56%; }
.tz-network-node.n5 { left: 25%; bottom: 8%; }
.tz-network-node.n6 { right: 25%; bottom: 8%; }

.tz-network-map.is-site-tree {
  display: block;
  flex: none;
  min-height: 680px;
  max-height: min(78vh, 980px);
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: color-mix(in srgb, var(--c-blue) 72%, transparent)
    color-mix(in srgb, var(--tz-v4-surface-color) 84%, transparent);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.tz-network-map.is-site-tree::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.tz-network-map.is-site-tree::-webkit-scrollbar-track {
  border-radius: 999px;
  background: color-mix(in srgb, var(--tz-v4-surface-color) 82%, transparent);
}

.tz-network-map.is-site-tree::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    var(--tz-v4-button) center / cover padding-box,
    color-mix(in srgb, var(--c-blue) 72%, transparent) padding-box;
  background-blend-mode: screen;
}

.tz-network-map.is-site-tree::before,
.tz-network-map.is-site-tree::after {
  display: none;
}

.tz-site-tree {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 690px;
  padding: 4px 0 18px;
}

.tz-site-tree__root {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
}

.tz-site-tree .tz-network-core {
  position: relative;
  inset: auto;
  width: 104px;
  height: 104px;
  color: var(--ink);
  text-decoration: none;
  transform: none;
  transition:
    transform .34s var(--ease-bounce),
    filter .26s var(--ease-out),
    border-color .26s var(--ease-out);
}

.tz-site-tree .tz-network-core:hover,
.tz-site-tree .tz-network-core:focus-visible {
  border-color: color-mix(in srgb, var(--c-green) 64%, var(--tz-v4-line));
  filter: brightness(1.1) saturate(1.06);
  transform: translateY(-3px);
}

.tz-site-tree .tz-network-core:focus-visible,
.tz-tree-node:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-green) 82%, #fff);
  outline-offset: 4px;
}

.tz-site-tree__trunk {
  position: relative;
  width: min(88%, 630px);
  height: 42px;
  margin: 0 auto;
  border-bottom: 1px solid color-mix(in srgb, var(--c-green) 44%, var(--tz-v4-line));
}

.tz-site-tree__trunk::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--c-green) 78%, transparent),
    color-mix(in srgb, var(--c-blue) 48%, transparent)
  );
  box-shadow: 0 0 14px color-mix(in srgb, var(--c-green) 46%, transparent);
}

.tz-site-tree__branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tz-tree-subtree {
  position: relative;
  min-width: 0;
}

.tz-site-tree__branches > .tz-tree-subtree {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 146px;
  padding: 22px 10px 12px;
  border: 1px solid color-mix(in srgb, var(--tz-v4-line) 72%, transparent);
  border-radius: 20px;
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--tz-v4-surface-color) 88%, transparent),
      color-mix(in srgb, var(--tz-v4-surface-color-strong) 74%, transparent)
    ),
    var(--tz-v4-surface);
  background-position: center;
  background-size: auto, cover;
  background-blend-mode: normal, soft-light;
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 16px 42px rgba(0,0,0,.16);
}

.tz-site-tree__branches > .tz-tree-subtree::before {
  content: "";
  position: absolute;
  top: -23px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: color-mix(in srgb, var(--c-blue) 48%, var(--tz-v4-line));
}

.tz-site-tree__branches > [data-branch="news"] {
  grid-column: 1 / -1;
}

.tz-site-tree__branches > [data-branch="ai"] {
  grid-column: span 2;
}

.tz-tree-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: center;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: min(100%, 106px);
  min-height: 65px;
  padding: 0 4px;
  color: var(--ink-dim);
  text-align: center;
  text-decoration: none;
  transition:
    transform .28s var(--ease-bounce),
    color .2s var(--ease-out),
    filter .24s var(--ease-out);
}

.tz-tree-node:hover {
  z-index: 4;
  color: var(--ink);
  filter: brightness(1.12);
  transform: translateY(-4px);
}

.tz-tree-node__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--tz-v4-line) 86%, transparent);
  border-radius: 15px;
  background-color: transparent;
  background-image: var(--tz-v4-icon-well);
  background-position: center;
  background-size: cover;
  box-shadow: 0 9px 24px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.1);
}

.tz-tree-node__icon .tz-icon {
  width: 23px;
  height: 23px;
}

.tz-tree-node__label {
  display: -webkit-box;
  overflow: hidden;
  max-width: 100%;
  color: currentColor;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .015em;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tz-tree-node__count {
  position: absolute;
  top: -4px;
  right: calc(50% - 31px);
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 1px solid color-mix(in srgb, var(--c-green) 56%, var(--tz-v4-line));
  border-radius: 999px;
  background: var(--tz-v4-surface-color-strong);
  color: color-mix(in srgb, var(--c-green) 72%, #fff);
  font: 700 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  box-shadow: 0 5px 14px rgba(0,0,0,.28);
}

.tz-tree-children {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 14px 4px;
  width: 100%;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--c-blue) 36%, var(--tz-v4-line));
}

.tz-tree-children > .tz-tree-subtree::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 17px;
  background: color-mix(in srgb, var(--c-blue) 38%, var(--tz-v4-line));
}

.tz-tree-subtree--depth-1.has-children {
  grid-column: span 2;
  padding: 9px 6px 8px;
  border: 1px solid color-mix(in srgb, var(--tz-v4-line) 62%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--tz-v4-surface-color) 80%, transparent);
}

.tz-tree-subtree--depth-1.has-children > .tz-tree-children {
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  margin-top: 10px;
  padding-top: 14px;
}

.tz-tree-node--depth-0 {
  width: 112px;
}

.tz-tree-node--depth-0 .tz-tree-node__icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
}

.tz-tree-node--depth-0 .tz-tree-node__icon .tz-icon {
  width: 27px;
  height: 27px;
}

.tz-tree-node--depth-0 .tz-tree-node__label {
  font-size: 10px;
  font-weight: 760;
}

.tz-site-tree__branches > [data-branch="news"] > .tz-tree-children {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.tz-site-tree__branches > [data-branch="news"] .tz-tree-node__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.tz-site-tree__branches > [data-branch="news"] .tz-tree-node__icon .tz-icon {
  width: 19px;
  height: 19px;
}

.tz-site-tree__branches > [data-branch="news"] .tz-tree-node--depth-1 {
  width: 100%;
  min-height: 58px;
}

.tz-site-tree__branches > [data-branch="news"] .tz-tree-node__label {
  font-size: 8px;
}

.tz-network-map.is-site-orbit {
  display: block;
  flex: none;
  width: 100%;
  height: clamp(560px, 70vh, 720px);
  min-height: 0;
  max-height: 720px;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  scrollbar-width: none;
}

.tz-network-map.is-site-orbit::before,
.tz-network-map.is-site-orbit::after {
  display: none;
}

.tz-site-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  isolation: isolate;
  flex: none;
  margin: 0;
  transform: translate(-50%, -50%) scale(var(--tz-orbit-fit, .72));
  transform-origin: center;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c-green) 13%, transparent), transparent 17%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, color-mix(in srgb, var(--tz-v4-line) 50%, transparent) 22.1% 22.25%, transparent 22.4% 39%, color-mix(in srgb, var(--tz-v4-line) 38%, transparent) 39.1% 39.22%, transparent 39.35%);
}

.tz-site-orbit__lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.tz-orbit-edge {
  fill: none;
  stroke: color-mix(in srgb, var(--c-blue) 58%, var(--tz-v4-line));
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: .68;
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--c-blue) 34%, transparent));
}

.tz-orbit-edge--depth-2 { opacity: .54; stroke-width: 1; }
.tz-orbit-edge--depth-3,
.tz-orbit-edge--depth-4 {
  opacity: .42;
  stroke-dasharray: 3 5;
}

.tz-orbit-node,
.tz-site-orbit .tz-orbit-core {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 94px;
  min-height: 66px;
  padding: 0 3px;
  color: var(--ink-dim);
  text-align: center;
  text-decoration: none;
  transform: translate(-50%, -50%) scale(var(--tz-orbit-scale, 1));
  transform-origin: 50% 36%;
  will-change: transform;
  transition:
    transform .42s cubic-bezier(.2,.88,.24,1.16),
    color .22s ease,
    filter .28s ease;
}

.tz-orbit-node:hover,
.tz-orbit-node:focus-visible,
.tz-site-orbit .tz-orbit-core:hover,
.tz-site-orbit .tz-orbit-core:focus-visible {
  color: var(--ink);
  filter: brightness(1.12) saturate(1.08);
}

.tz-orbit-node.is-orbit-near {
  color: color-mix(in srgb, var(--ink) 82%, var(--ink-dim));
  filter: brightness(1.05);
}

.tz-orbit-node.is-orbit-focus,
.tz-site-orbit .tz-orbit-core.is-orbit-focus {
  color: #fff;
  filter: brightness(1.16) saturate(1.1);
}

.tz-orbit-node:focus-visible,
.tz-site-orbit .tz-orbit-core:focus-visible {
  outline: 0;
}

.tz-orbit-node:focus-visible .tz-orbit-node__icon,
.tz-site-orbit .tz-orbit-core:focus-visible {
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--c-green) 84%, #fff),
    0 12px 32px rgba(0,0,0,.32);
}

.tz-orbit-node__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--tz-v4-line) 84%, transparent);
  border-radius: 13px;
  background-color: transparent;
  background-image: var(--tz-v4-icon-well);
  background-position: center;
  background-size: cover;
  box-shadow: 0 9px 24px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.11);
  transition:
    border-color .26s ease,
    box-shadow .3s ease;
}

.tz-orbit-node:hover .tz-orbit-node__icon,
.tz-orbit-node.is-orbit-focus .tz-orbit-node__icon {
  border-color: color-mix(in srgb, var(--c-green) 56%, var(--tz-v4-line));
  box-shadow:
    0 0 22px color-mix(in srgb, var(--c-green) 24%, transparent),
    0 12px 32px rgba(0,0,0,.34),
    inset 0 1px rgba(255,255,255,.16);
}

.tz-orbit-node__icon .tz-icon {
  width: 21px;
  height: 21px;
}

.tz-orbit-node__label {
  display: -webkit-box;
  overflow: hidden;
  width: 94px;
  max-height: 2.7em;
  color: currentColor;
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .005em;
  text-wrap: balance;
  text-shadow: 0 2px 7px rgba(0,0,0,.75);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tz-orbit-node__count {
  position: absolute;
  top: -4px;
  left: calc(50% + 13px);
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 1px solid color-mix(in srgb, var(--c-green) 58%, var(--tz-v4-line));
  border-radius: 999px;
  background: var(--tz-v4-surface-color-strong);
  color: color-mix(in srgb, var(--c-green) 75%, #fff);
  font: 700 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  box-shadow: 0 5px 14px rgba(0,0,0,.3);
}

.tz-orbit-node--depth-1 {
  width: 108px;
  min-height: 76px;
}

.tz-orbit-node--depth-1 .tz-orbit-node__icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
}

.tz-orbit-node--depth-1 .tz-orbit-node__icon .tz-icon {
  width: 27px;
  height: 27px;
}

.tz-orbit-node--depth-1 .tz-orbit-node__label {
  width: 108px;
  font-size: 10px;
  font-weight: 760;
}

.tz-site-orbit .tz-orbit-core {
  display: grid;
  width: 112px;
  height: 112px;
  min-height: 112px;
  padding: 0;
  color: var(--ink);
  border-radius: 34px;
  transform: translate(-50%, -50%) scale(var(--tz-orbit-scale, 1));
}

.tz-site-orbit .tz-orbit-core .tz-icon {
  width: 42px;
  height: 42px;
}

@media (prefers-reduced-motion: no-preference) {
  .tz-orbit-edge {
    animation: tz-orbit-line-in .8s ease both;
  }

  .tz-orbit-node,
  .tz-site-orbit .tz-orbit-core {
    animation: tz-orbit-node-in .68s cubic-bezier(.16,1,.3,1) backwards;
  }
}

@keyframes tz-orbit-line-in {
  from { opacity: 0; stroke-dashoffset: 20; }
}

@keyframes tz-orbit-node-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.74);
  }
}

.tz-panel-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tz-panel-foot span {
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.45;
}

.tz-panel-foot i {
  display: block;
  margin-bottom: 3px;
  color: var(--c-blue-soft);
  font: normal 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.tz-priority-signal {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 13px 18px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 21px;
  background-color: rgba(var(--c-blue-rgb), .3);
  background-image: var(--tz-v4-button);
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .1);
}

.tz-signal-icon,
.tz-domain-icon,
.tz-side-module__icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--tz-v4-line);
  background-color: transparent;
  background-image: var(--tz-v4-icon-well);
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
  box-shadow: inset 0 1px rgba(255, 255, 255, .1);
}

.tz-signal-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.tz-signal-icon .tz-icon {
  width: 28px;
  height: 28px;
}

.tz-signal-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.tz-signal-copy small {
  color: rgba(255, 255, 255, .62);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .11em;
}

.tz-signal-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(14px, 1.5vw, 19px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-signal-action,
.tz-domain-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 700;
}

.tz-signal-action .tz-icon,
.tz-domain-go .tz-icon {
  width: 13px;
  height: 13px;
}

.tz-domain-section,
.tz-feed-section {
  padding-top: clamp(90px, 11vw, 156px);
}

.tz-feed-section {
  padding-bottom: clamp(90px, 11vw, 150px);
}

.tz-workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tz-v4-line);
}

.tz-workspace-heading > div > span {
  color: var(--c-blue-soft);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}

.tz-workspace-heading h2 {
  margin-top: 7px;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -.045em;
}

.tz-workspace-heading p {
  max-width: 480px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.tz-workspace-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-dim);
  font-size: 12px;
}

.tz-workspace-heading > a .tz-icon {
  width: 13px;
  height: 13px;
}

.tz-domain-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: minmax(204px, auto);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.tz-domain-card {
  position: relative;
  min-width: 0;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 23px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .07);
  transition: transform .24s var(--ease-bounce), border-color .24s var(--ease-out), filter .24s var(--ease-out);
}

.tz-domain-card:hover {
  border-color: rgba(var(--c-blue-rgb), .52);
  background-color: rgba(var(--c-blue-rgb), .26);
  background-image: var(--tz-v4-button);
  background-blend-mode: screen;
  filter: brightness(1.07);
  transform: translateY(-5px);
}

.tz-domain-card--os {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 422px;
  padding: 28px;
  background-color: rgba(var(--c-blue-rgb), .2);
  background-image: var(--tz-v4-wallpaper);
  background-blend-mode: multiply;
}

.tz-domain-card--wide {
  grid-column: span 4;
}

.tz-domain-index {
  position: absolute;
  top: 17px;
  right: 18px;
  color: var(--ink-faint);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.tz-domain-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.tz-domain-icon .tz-icon {
  width: 27px;
  height: 27px;
}

.tz-domain-card--os .tz-domain-icon {
  width: 82px;
  height: 82px;
  border-radius: 25px;
  background-color: transparent;
  background-image: var(--tz-v4-icon-well);
  background-blend-mode: normal;
}

.tz-domain-card--os .tz-domain-icon .tz-icon {
  width: 44px;
  height: 44px;
}

.tz-domain-card h3 {
  margin: 5px 0 8px;
  font-size: clamp(21px, 2vw, 29px);
  letter-spacing: -.035em;
}

.tz-domain-card--os h3 {
  font-size: clamp(34px, 4vw, 54px);
}

.tz-domain-card p {
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.72;
}

.tz-domain-card--os p {
  max-width: 560px;
  color: var(--ink-dim);
  font-size: 15px;
}

.tz-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: 16px;
}

.tz-feed-timeline {
  overflow: hidden;
  padding: 8px 22px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 24px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.tz-feed-entry {
  display: grid;
  grid-template-columns: 56px 18px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--tz-v4-line);
}

.tz-feed-entry:last-child {
  border-bottom: 0;
}

.tz-feed-entry time {
  padding-top: 3px;
  color: var(--ink-faint);
  font: 11px ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.tz-feed-marker {
  position: relative;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 50%;
  background-color: rgba(var(--c-blue-rgb), .5);
  background-image: var(--tz-v4-button);
  background-size: cover;
  box-shadow: 0 0 14px rgba(var(--c-blue-rgb), .55);
}

.tz-feed-marker::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: -77px;
  left: 3px;
  width: 1px;
  background: var(--tz-v4-line);
}

.tz-feed-entry:last-child .tz-feed-marker::after {
  display: none;
}

.tz-feed-entry small {
  color: var(--c-blue-soft);
  font: 9px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .11em;
}

.tz-feed-entry h3 {
  margin: 6px 0 7px;
  font-size: clamp(16px, 1.7vw, 22px);
  letter-spacing: -.025em;
}

.tz-feed-entry p {
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.65;
}

.tz-feed-side {
  display: grid;
  gap: 16px;
}

.tz-side-module {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 24px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .18);
}

.tz-side-module--manifest {
  background-color: rgba(var(--c-blue-rgb), .2);
  background-image: var(--tz-v4-wallpaper);
  background-blend-mode: multiply;
}

.tz-side-module__icon {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  border-radius: 15px;
}

.tz-side-module__icon .tz-icon {
  width: 24px;
  height: 24px;
}

.tz-side-module h3 {
  margin: 7px 0 9px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
}

.tz-side-module p {
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.7;
}

.tz-side-module--manifest > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 11px;
}

.tz-side-module--manifest > a .tz-icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 1380px) {
  .tz-topbar-status {
    display: none;
  }

  body.tz-site-shell .nav a {
    padding-inline: 10px;
  }

  .tz-home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
    gap: 48px;
  }
}

@media (max-width: 1100px) {
  :root {
    --tz-shell-rail: 0px;
    --tz-shell-status: 0px;
  }

  body.tz-site-shell {
    padding-bottom: max(18px, var(--tz-safe-bottom));
  }

  body.tz-site-shell .topbar {
    top: 6px;
    width: calc(100% - 12px);
    margin: 6px 6px 0;
  }

  .tz-site-statusbar {
    display: none;
  }

  body.tz-site-shell .tzpal-panel,
  body.tz-site-shell .tzpal-tip {
    right: 16px !important;
    top: 80px !important;
    bottom: auto !important;
    left: auto !important;
  }

  .tz-home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .tz-home-hero h1 {
    max-width: 880px;
  }

  .tz-network-panel {
    min-height: 520px;
  }

  .tz-domain-card {
    grid-column: span 4;
  }

  .tz-domain-card--os {
    grid-column: span 8;
  }

  .tz-domain-card--wide {
    grid-column: span 4;
  }
}

@media (max-width: 820px) {
  body.tz-site-shell .topbar-inner {
    height: 62px;
  }

  .tz-command-trigger {
    margin-left: auto;
    min-width: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .tz-command-trigger > span:not(.tz-icon),
  .tz-command-trigger kbd {
    display: none;
  }

  body.tz-site-shell .nav-toggle {
    margin-left: 0;
  }

  body.tz-site-shell .nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(72vh, 560px);
    padding: 10px;
    border: 1px solid var(--tz-v4-line);
    border-radius: 18px;
    overflow-y: auto;
  }

  body.tz-site-shell .nav a {
    padding: 13px 14px;
  }

  body.tz-site-shell .news-row .n-arrow {
    display: none;
  }

  .tz-home-hero {
    padding-top: 60px;
  }

  .tz-home-hero h1 {
    font-size: clamp(42px, 10vw, 68px);
  }

  .tz-priority-signal {
    grid-template-columns: 48px 1fr;
  }

  .tz-signal-action {
    display: none;
  }

  .tz-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .tz-domain-card,
  .tz-domain-card--wide {
    grid-column: span 1;
  }

  .tz-domain-card--os {
    grid-column: span 2;
    grid-row: auto;
    min-height: 350px;
  }

  .tz-feed-layout {
    grid-template-columns: 1fr;
  }

  .tz-feed-side {
    grid-template-columns: 1fr 1fr;
  }

  .tz-command-list {
    grid-template-columns: repeat(2, 1fr);
  }

  body.tz-site-shell .news-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.tz-site-shell .topbar-inner {
    padding-inline: 12px;
  }

  body.tz-site-shell .brand .logo-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    display: none;
  }

  .tz-home-hero {
    gap: 34px;
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .tz-kicker b {
    display: none;
  }

  .tz-home-hero h1 {
    margin-top: 22px;
    font-size: clamp(30px, 9vw, 44px);
  }

  .tz-home-lead {
    font-size: 15px;
  }

  .tz-homepage .hero-actions {
    display: grid;
  }

  .tz-homepage .hero-actions .btn {
    justify-content: center;
  }

  .tz-home-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .tz-network-panel {
    min-height: 470px;
    padding: 14px;
  }

  .tz-panel-head {
    align-items: start;
  }

  .tz-homepage .tz-network-panel .tz-panel-head {
    flex-direction: column;
    gap: 9px;
  }

  .tz-status-chip {
    max-width: none;
    line-height: 1.35;
  }

  .tz-network-map {
    min-height: 320px;
  }

  .tz-network-core {
    width: 94px;
    height: 94px;
    border-radius: 28px;
  }

  .tz-network-core .tz-icon {
    width: 34px;
    height: 34px;
  }

  .tz-network-node {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .tz-network-node .tz-icon {
    width: 22px;
    height: 22px;
  }

  .tz-panel-foot {
    grid-template-columns: 1fr;
  }

  .tz-panel-foot span:not(:first-child) {
    display: none;
  }

  .tz-priority-signal {
    padding: 11px;
  }

  .tz-signal-copy strong {
    font-size: 13px;
  }

  .tz-workspace-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .tz-workspace-heading p {
    text-align: left;
  }

  .tz-domain-grid {
    grid-template-columns: 1fr;
  }

  .tz-domain-card,
  .tz-domain-card--wide,
  .tz-domain-card--os {
    grid-column: 1;
    min-height: 210px;
  }

  .tz-domain-card--os {
    min-height: 330px;
  }

  .tz-feed-timeline {
    padding-inline: 14px;
  }

  .tz-feed-entry {
    grid-template-columns: 44px 12px 1fr;
    gap: 9px;
  }

  .tz-feed-side {
    grid-template-columns: 1fr;
  }

  .tz-command-palette {
    padding-top: 66px;
  }

  .tz-command-dialog {
    border-radius: 20px;
  }

  .tz-command-list {
    grid-template-columns: 1fr;
  }

  .tz-command-list a {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-domain-card,
  .tz-network-node {
    transition: none !important;
  }
}

/* ============================================================
   Tianze Web 4.1 · shared internal-page primitives
   These are structural components, not a compatibility skin:
   page hero / workspace card / workspace list / reader.
   ============================================================ */
body.tz-internal-v41 main {
  --tz-page-gutter: clamp(18px, 3vw, 34px);
  position: relative;
}

body.tz-internal-v41 main > .wrap,
body.tz-internal-v41 .tz-reader {
  width: min(100% - 36px, 1260px);
}

/* Page hero -------------------------------------------------- */
body.tz-internal-v41 .tz-page-hero {
  isolation: isolate;
  min-height: 286px;
  margin-top: 22px;
  padding: clamp(92px, 9vw, 124px) clamp(28px, 5vw, 70px) clamp(36px, 5vw, 64px) !important;
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 30px;
  background-color: rgba(var(--c-blue-rgb), .13) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, .25),
    inset 0 1px rgba(255, 255, 255, .1);
}

body.tz-internal-v41 .tz-page-hero.tz-page-hero--native-signal {
  padding-top: clamp(46px, 6vw, 72px) !important;
}

body.tz-internal-v41 .tz-page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 44%;
  display: block !important;
  background-color: rgba(var(--c-blue-rgb), .18);
  background-image: var(--tz-v4-wallpaper);
  background-position: 68% 42%;
  background-size: cover;
  background-blend-mode: screen;
  opacity: .72;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%);
  mask-image: linear-gradient(90deg, transparent, #000 26%);
}

body.tz-internal-v41 .tz-page-hero::after {
  content: attr(data-tz-zone-code);
  position: absolute;
  z-index: -1;
  right: clamp(18px, 4vw, 54px);
  bottom: -0.2em;
  display: block !important;
  color: rgba(255, 255, 255, .045);
  font: 850 clamp(72px, 14vw, 190px)/.82 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: -.09em;
  pointer-events: none;
}

body.tz-internal-v41 .tz-page-hero > :not(.tz-page-hero__signal) {
  position: relative;
  z-index: 1;
}

.tz-page-hero__signal {
  position: absolute !important;
  z-index: 4 !important;
  top: 22px;
  right: 24px;
  left: 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--tz-v4-line);
  color: var(--ink-dim);
}

.tz-page-hero__signal > .tz-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.tz-page-hero__signal-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.tz-page-hero__signal-copy b {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .04em;
}

.tz-page-hero__signal-copy small,
.tz-page-hero__signal > i {
  color: var(--ink-faint);
  font: 700 8px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}

.tz-page-hero__signal > i {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
  font-style: normal;
}

body.tz-internal-v41 .tz-page-hero h1 {
  max-width: 850px;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

body.tz-internal-v41 .tz-page-hero h1 .grad {
  white-space: nowrap;
}

.coc-tool .coc-hero h1 .grad {
  display: inline-block;
  white-space: nowrap;
}

body.tz-internal-v41 .tz-page-hero > p,
body.tz-internal-v41 .tz-page-hero .lead {
  max-width: 760px;
}

body.tz-internal-v41 .tz-page-hero.page-head {
  padding-bottom: clamp(38px, 5vw, 62px) !important;
}

/* Workspace sections and headings --------------------------- */
.tz-workspace-section {
  position: relative;
  padding-top: clamp(68px, 8vw, 104px);
  padding-bottom: clamp(26px, 5vw, 62px);
}

.tz-workspace-heading {
  position: relative;
  min-height: 66px !important;
  margin-bottom: 24px;
  padding: 0 0 16px 18px !important;
  border-bottom: 1px solid var(--tz-v4-line) !important;
  border-left: 3px solid rgba(var(--c-blue-rgb), .54);
}

.tz-workspace-heading h2 {
  max-width: 800px;
  font-size: clamp(25px, 3.4vw, 39px);
  letter-spacing: -.035em;
}

.tz-workspace-heading h2 .bar {
  display: none;
}

.tz-workspace-heading__code {
  position: absolute;
  top: -20px;
  left: 18px;
  color: var(--c-blue-soft);
  font: 700 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}

.tz-workspace-section__head {
  min-height: 52px;
  margin-bottom: 22px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 17px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.tz-workspace-section__head > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.tz-workspace-section__head .tz-icon {
  width: 21px;
  height: 21px;
}

.tz-workspace-section__head small {
  color: var(--ink-faint);
  font: 700 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
}

.tz-internal-v41 .tz-workspace-section pre {
  border: 1px solid var(--tz-v4-line) !important;
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  color: #c8d8f3 !important;
}

.tz-internal-v41 .tz-workspace-section :where(p, li) > code {
  border: 1px solid rgba(190, 211, 255, .12);
  background-color: rgba(var(--c-blue-rgb), .12) !important;
  background-image: var(--tz-v4-surface) !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
}

/* Workspace cards ------------------------------------------- */
.tz-workspace-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--tz-v4-line) !important;
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  box-shadow:
    0 22px 64px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .07);
}

.tz-workspace-card[data-tz-card-index]::after {
  content: "MODULE " attr(data-tz-card-index);
  position: absolute;
  z-index: 4;
  top: 13px;
  right: 15px;
  color: rgba(208, 222, 255, .44);
  font: 700 7px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
  pointer-events: none;
}

.tz-workspace-card:hover {
  border-color: rgba(var(--c-blue-rgb), .5) !important;
  background-color: rgba(var(--c-blue-rgb), .22) !important;
  background-image: var(--tz-v4-button) !important;
  background-blend-mode: screen !important;
  box-shadow:
    0 30px 82px rgba(0, 0, 0, .24),
    inset 0 1px rgba(255, 255, 255, .11);
}

.tz-workspace-card :where(.z-icon, .f-icon, .dl-icon, .oc-icon, .ci-icon, .mi-icon) {
  border: 1px solid var(--tz-v4-line);
  background-color: transparent !important;
  background-image: var(--tz-v4-icon-well) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: normal !important;
}

/* Workspace list -------------------------------------------- */
.tz-workspace-list {
  gap: 12px;
  padding: 0 0 70px;
}

.tz-workspace-list__head {
  min-height: 72px;
  margin-bottom: 6px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 20px;
  background-color: rgba(var(--c-blue-rgb), .18);
  background-image: var(--tz-v4-button);
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  box-shadow: 0 22px 62px rgba(0, 0, 0, .2);
}

.tz-workspace-list__lead {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.tz-workspace-list__lead > .tz-icon {
  width: 30px;
  height: 30px;
}

.tz-workspace-list__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tz-workspace-list__copy small,
.tz-workspace-list__count {
  color: rgba(255, 255, 255, .54);
  font: 700 8px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
}

.tz-workspace-list__copy b {
  color: #fff;
  font-size: 13px;
}

body.tz-internal-v41 .tz-workspace-list__item {
  min-height: 112px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 94px 14px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 18px;
  border-radius: 20px;
}

.tz-workspace-list__item:hover {
  transform: translateY(-3px);
}

.tz-workspace-list__item .n-date {
  width: auto;
  padding-right: 0;
  border-right: 0;
  text-align: left;
}

.tz-workspace-list__item .n-date b {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 800 18px/1.15 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.tz-workspace-list__marker {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 50%;
  background-color: rgba(var(--c-green-rgb), .58);
  background-image: var(--tz-v4-button);
  background-size: cover;
  box-shadow: 0 0 16px rgba(var(--c-green-rgb), .45);
}

.tz-workspace-list__marker::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -86px;
  left: 3px;
  width: 1px;
  background: var(--tz-v4-line);
}

.tz-workspace-list__item:last-child .tz-workspace-list__marker::after {
  display: none;
}

.tz-workspace-list__item .n-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 10px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-button);
  background-size: cover;
  background-blend-mode: multiply;
}

.tz-workspace-list__item .n-arrow .tz-icon {
  width: 15px;
  height: 15px;
}

/* Reader ----------------------------------------------------- */
.tz-reader.article,
.tz-reader.tutorial {
  max-width: 1120px;
  margin: 24px auto 0;
  padding-bottom: 72px;
}

.tz-reader__console {
  position: sticky;
  z-index: 22;
  top: 86px;
  min-height: 60px;
  margin-bottom: 14px;
  padding: 9px 15px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 18px;
  background-color: var(--tz-v4-surface-color-strong);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.tz-reader__console-lead {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.tz-reader__console-lead > .tz-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.tz-reader__console-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.tz-reader__console-copy small {
  color: var(--c-blue-soft);
  font: 700 8px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
}

.tz-reader__console-copy b {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-reader__console-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.tz-reader__console-meta > span {
  padding: 5px 8px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  color: var(--ink-faint);
  font: 700 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.tz-reader__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, .05);
}

.tz-reader__progress::after {
  content: "";
  display: block;
  width: var(--tz-reader-progress, 0%);
  height: 100%;
  background-color: rgba(var(--c-green-rgb), .62);
  background-image: var(--tz-v4-button);
  background-size: cover;
  box-shadow: 0 0 14px rgba(var(--c-green-rgb), .5);
}

.tz-reader > .tz-reader__masthead {
  position: relative;
  margin: 0 0 14px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--tz-v4-line) !important;
  border-radius: 26px;
  background-color: rgba(var(--c-blue-rgb), .18) !important;
  background-image: var(--tz-v4-wallpaper) !important;
  background-position: center 34% !important;
  background-size: cover !important;
  background-blend-mode: multiply !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.tz-reader > div.tz-reader__masthead {
  display: grid;
  gap: 0;
}

.tz-reader > div.tz-reader__masthead > :is(.page-head, .article-head) {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.tz-reader > div.tz-reader__masthead > .article-head {
  margin-top: 24px;
}

.tz-reader > .article-head.tz-reader__masthead {
  border-bottom: 1px solid var(--tz-v4-line) !important;
}

.tz-reader__masthead h1 {
  max-width: 900px;
  text-wrap: balance;
}

body.tz-internal-v41 .tz-reader__body {
  max-width: none;
  margin: 0;
  padding: clamp(32px, 6vw, 74px);
  border: 1px solid var(--tz-v4-line);
  border-radius: 26px;
  background-color: rgba(6, 13, 27, .7);
  background-image: var(--tz-v4-surface);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 28px 84px rgba(0, 0, 0, .2);
}

.tz-reader__body > :first-child {
  margin-top: 0;
}

.tz-reader__body > :last-child {
  margin-bottom: 0;
}

.tz-reader__body h2 {
  padding-top: 10px;
  border-top: 1px solid rgba(190, 211, 255, .1);
}

.tz-reader__end {
  min-height: 58px;
  margin-top: 14px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 18px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-faint);
  font: 700 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}

.tz-reader__end .tz-icon {
  width: 18px;
  height: 18px;
}

.tz-reader__footer {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 20px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
}

/* Landing-page specializations ------------------------------ */
body.tz-internal-v41 .english-ledger {
  width: min(100% - 36px, 1260px);
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 22px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
}

body.tz-internal-v41 .english-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

body.tz-internal-v41 .english-step {
  min-height: 238px;
  border-radius: 19px;
}

body.tz-internal-v41 .english-step:first-child {
  border-left: 1px solid var(--tz-v4-line);
}

body.tz-internal-v41 .english-word-stage {
  min-height: 430px;
}

body.tz-internal-v41 .game-zone-orbit {
  padding: 14px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 26px;
  background-color: rgba(var(--c-blue-rgb), .12);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
}

body.tz-internal-v41 .orbit-card,
body.tz-internal-v41 .orbit-core {
  border-color: var(--tz-v4-line);
  background-color: var(--tz-v4-surface-color) !important;
  background-image: var(--tz-v4-button) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: screen !important;
}

body.tz-internal-v41 .game-feature-art {
  border: 1px solid var(--tz-v4-line);
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-wallpaper);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.tz-prose-card {
  padding: clamp(26px, 4vw, 40px) !important;
}

.tz-prose-card > .section-head {
  margin-bottom: 15px !important;
}

.tz-prose-card > p {
  max-width: 840px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.9;
}

.tz-open-quote {
  margin: 22px 0 0;
  padding: 16px 19px;
  border: 1px solid var(--tz-v4-line);
  border-left: 3px solid rgba(var(--c-blue-rgb), .55);
  border-radius: 0 14px 14px 0;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
}

.tz-open-meta {
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 11px;
}

.tz-open-actions,
.tz-open-files {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tz-open-actions {
  margin-top: 15px;
}

.tz-open-actions .z-go {
  padding: 9px 12px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 11px;
  background-color: rgba(var(--c-blue-rgb), .26);
  background-image: var(--tz-v4-button);
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  color: #fff;
}

.tz-open-actions .tz-icon {
  width: 16px;
  height: 16px;
}

.tz-open-files {
  margin-top: 12px;
  font-size: 12px;
}

.tz-open-files a {
  color: var(--c-blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(var(--c-blue-rgb), .32);
  text-underline-offset: 3px;
}

.tz-open-status {
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 12px;
}

.tz-workspace-status {
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 12px;
}

.tz-open-version {
  color: var(--c-green-soft);
  font-size: 11px;
  font-weight: 700;
}

.tz-inline-link {
  color: var(--c-blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(var(--c-blue-rgb), .32);
  text-underline-offset: 3px;
}

/* Contact landing */
.tz-contact-content {
  padding-top: 34px !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  min-height: 296px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-card .ci-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-card .ci-icon,
.mini-card .mi-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--tz-v4-line);
  background-color: transparent !important;
  background-image: var(--tz-v4-icon-well) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: normal !important;
}

.contact-card .ci-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.contact-card .ci-icon .tz-icon {
  width: 25px;
  height: 25px;
}

.contact-card .ci-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
}

.contact-card .ci-sub,
.mini-card .mi-sub {
  color: var(--ink-faint);
  font-size: 12px;
}

.contact-card .ci-value {
  margin: 8px 0 16px;
  padding: 14px 15px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 13px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink);
  font: 700 17px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  word-break: break-all;
}

.contact-card .ci-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.contact-card .ci-actions .btn {
  min-width: 0;
  padding: 11px 12px;
  font-size: 13px;
}

.copy-toast {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(var(--c-green-rgb), .38);
  border-radius: 999px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  color: var(--c-green-soft);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: none;
}

.contact-mini {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-mini .mini-card {
  min-height: 90px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.mini-card .mi-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.mini-card .mi-icon .tz-icon,
.mini-card .mi-arrow .tz-icon {
  width: 21px;
  height: 21px;
}

.mini-card .mi-text {
  min-width: 0;
  flex: 1;
}

.mini-card .mi-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.mini-card .mi-arrow {
  display: grid;
  place-items: center;
}

.note-card {
  margin-top: 16px;
  padding: 24px 27px;
}

.note-card .note-title {
  margin-bottom: 9px;
  color: var(--ink);
  font-weight: 750;
}

.note-card p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
}

.note-card p + p {
  margin-top: 8px;
}

/* OS landing */
.tz-os-landing-hero {
  min-height: 470px !important;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .7fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
}

.tz-os-hero-copy {
  max-width: 720px;
}

.tz-os-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--c-blue-soft);
  font: 700 10px/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
}

.tz-os-landing-hero h1 {
  margin: 0;
  font-size: clamp(45px, 7vw, 80px) !important;
  line-height: 1;
  letter-spacing: -.065em;
}

.tz-os-version {
  display: inline-block;
  margin-left: 12px;
  padding: 6px 9px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  color: var(--ink-dim);
  font: 700 10px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
  vertical-align: middle;
}

.tz-os-hero-copy > p {
  max-width: 640px;
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.8;
}

.tz-os-hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tz-os-hero-node {
  min-height: 280px;
  padding: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tz-v4-line);
  border-radius: 28px;
  background-color: rgba(var(--c-blue-rgb), .18);
  background-image: var(--tz-v4-wallpaper);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 26px 74px rgba(0, 0, 0, .25);
}

.tz-os-hero-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tz-v4-line);
  border-radius: 34px;
  background-color: transparent;
  background-image: var(--tz-v4-icon-well);
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
}

.tz-os-hero-icon .tz-icon {
  width: 56px;
  height: 56px;
}

.tz-os-node-meta {
  width: 100%;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.tz-os-node-meta span {
  padding: 10px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 12px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-faint);
  font: 700 8px/1.35 ui-monospace, "SFMono-Regular", Consolas, monospace;
  text-align: center;
}

.os-pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.os-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.os-card.cl {
  grid-column: 1 / -1;
  min-height: 0;
}

.os-card .oc-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}

.os-card h3 {
  margin-bottom: 5px;
  font-size: 22px;
}

.os-card .oc-tag {
  margin-bottom: 17px;
  color: var(--ink-faint);
  font-size: 12px;
}

.os-card ul {
  margin: 0 0 20px;
  flex: 1;
  list-style: none;
}

.os-card li {
  position: relative;
  padding: 6px 0 6px 21px;
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.55;
}

.os-card li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(var(--c-green-rgb), .62);
  background-image: var(--tz-v4-button);
  background-size: cover;
  box-shadow: 0 0 10px rgba(var(--c-green-rgb), .42);
}

.os-card .btn {
  width: 100%;
}

.changelog {
  max-height: 520px;
  padding: 8px 4px 4px 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  overflow-y: auto;
}

.cl-item {
  position: relative;
  min-height: 104px;
  margin-left: 6px;
  padding: 4px 0 20px 23px;
  border-left: 1px solid var(--tz-v4-line);
}

.cl-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 50%;
  background-color: rgba(var(--c-blue-rgb), .62);
  background-image: var(--tz-v4-button);
  background-size: cover;
  box-shadow: 0 0 12px rgba(var(--c-blue-rgb), .44);
}

.cl-ver {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.cl-badge {
  padding: 3px 7px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  background-color: rgba(var(--c-blue-rgb), .22);
  background-image: var(--tz-v4-button);
  background-size: cover;
  color: #fff;
  font-size: 9px;
}

.cl-date {
  margin: 3px 0 7px;
  color: var(--ink-faint);
  font-size: 11px;
}

.cl-item ul {
  margin: 0;
  list-style: none;
}

.cl-item li {
  padding: 2px 0;
  color: var(--ink-dim);
  font-size: 12px;
  line-height: 1.55;
}

.os-note {
  margin-top: 22px;
  padding: 17px 20px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 17px;
  background-color: var(--tz-v4-surface-color);
  background-image: var(--tz-v4-surface);
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.dl-meta {
  min-height: 16px;
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 11px;
  text-align: center;
}

.btn[data-loading] {
  opacity: .65;
  pointer-events: none;
}

@media (max-width: 900px) {
  body.tz-internal-v41 .english-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tz-os-landing-hero {
    grid-template-columns: 1fr;
  }

  .tz-os-hero-node {
    min-height: 240px;
  }
}

@media (max-width: 680px) {
  body.tz-internal-v41 main > .wrap,
  body.tz-internal-v41 .tz-reader {
    width: min(100% - 24px, 1260px);
  }

  body.tz-internal-v41 .tz-page-hero {
    min-height: 250px;
    padding: 88px 22px 34px !important;
    border-radius: 22px;
  }

  body.tz-internal-v41 .tz-page-hero.tz-page-hero--native-signal {
    min-height: 0;
    padding: 34px 22px !important;
  }

  body.tz-internal-v41 .tz-page-hero h1 {
    font-size: clamp(30px, 8.8vw, 42px);
  }

  body.tz-internal-v41 .tz-page-hero::before {
    inset: 42% 0 0 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%);
    mask-image: linear-gradient(180deg, transparent, #000 28%);
  }

  .tz-page-hero__signal {
    right: 14px;
    left: 14px;
  }

  .tz-workspace-section {
    padding-top: 62px;
  }

  .tz-workspace-list__head {
    min-height: 66px;
  }

  .tz-workspace-list__count {
    display: none;
  }

  body.tz-internal-v41 .tz-workspace-list__item {
    min-height: 0;
    padding: 19px 17px;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 12px;
  }

  .tz-workspace-list__item .n-date {
    grid-column: 2;
    display: flex;
    gap: 6px;
    align-items: baseline;
  }

  .tz-workspace-list__item .tz-workspace-list__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 6px;
  }

  .tz-workspace-list__item .n-body {
    grid-column: 2;
  }

  .tz-workspace-list__item .n-arrow {
    display: none;
  }

  .tz-reader__console {
    top: 74px;
  }

  .tz-reader__console-meta > span:first-child {
    display: none;
  }

  .tz-reader > .tz-reader__masthead,
  body.tz-internal-v41 .tz-reader__body {
    padding: 28px 22px;
    border-radius: 21px;
  }

  .tz-reader__body {
    font-size: 16px;
  }

  .contact-grid,
  .contact-mini,
  .os-pick,
  .changelog {
    grid-template-columns: 1fr;
  }

  .contact-card .ci-actions {
    grid-template-columns: 1fr;
  }

  body.tz-internal-v41 .english-process {
    grid-template-columns: 1fr;
  }

  .os-card.cl {
    grid-column: 1;
  }

  .tz-os-landing-hero h1 {
    font-size: clamp(42px, 14vw, 64px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-workspace-card,
  .tz-reader__progress::after,
  .copy-toast {
    transition: none !important;
  }
}

/* ============================================================
   Tianze Web 4.1 · clarity pass
   The generated material remains visible, but internal pages use
   a calmer blue/graphite canvas instead of near-black slabs.
   ============================================================ */
body.tz-internal-v41 {
  --tz-v41-canvas:
    color-mix(in srgb, var(--tz-v4-surface-color-strong) 72%, rgb(var(--c-blue-rgb)) 28%);
  --tz-v41-panel:
    color-mix(in srgb, var(--tz-v4-surface-color) 68%, rgb(var(--c-blue-rgb)) 32%);
  --tz-v41-panel-raised:
    color-mix(in srgb, var(--tz-v4-surface-color) 56%, rgb(var(--c-indigo-rgb)) 44%);
  background-color: #081321;
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--tz-v4-surface-color-strong) 56%, transparent),
      color-mix(in srgb, var(--tz-v4-surface-color-strong) 78%, transparent)
    ),
    var(--tz-v4-wallpaper);
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

body.tz-internal-v41 .tz-page-hero {
  background-color: var(--tz-v41-canvas) !important;
  background-image: var(--tz-v4-surface) !important;
  background-blend-mode: soft-light !important;
  box-shadow:
    0 26px 76px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .08);
}

body.tz-internal-v41 .tz-page-hero::before {
  background-color: rgba(var(--c-blue-rgb), .08);
  background-blend-mode: soft-light;
  opacity: .56;
}

body.tz-internal-v41 :is(
  .tz-workspace-card,
  .tz-workspace-list__item,
  .tz-workspace-section__head,
  .english-ledger,
  .contact-card,
  .contact-mini,
  .os-card,
  .os-note
) {
  border-color: color-mix(in srgb, var(--tz-v4-line) 78%, transparent) !important;
  background-color: var(--tz-v41-panel) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: soft-light !important;
  box-shadow:
    0 18px 54px rgba(0, 0, 0, .13),
    inset 0 1px rgba(255, 255, 255, .045);
}

body.tz-internal-v41 :is(.tz-workspace-card, .tz-workspace-list__item):hover {
  border-color: color-mix(in srgb, rgb(var(--c-blue-rgb)) 46%, var(--tz-v4-line)) !important;
  background-color: var(--tz-v41-panel-raised) !important;
  background-image: var(--tz-v4-surface) !important;
  background-blend-mode: soft-light !important;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, .16),
    inset 0 1px rgba(255, 255, 255, .06);
}

body.tz-internal-v41 .tz-workspace-list__head {
  background-color: color-mix(in srgb, var(--tz-v41-panel-raised) 78%, rgb(var(--c-blue-rgb)) 22%);
  background-image: var(--tz-v4-button);
  background-blend-mode: soft-light;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .15);
}

body.tz-internal-v41 .tz-reader__console,
body.tz-internal-v41 .tz-reader__end,
body.tz-internal-v41 .tz-reader__footer {
  background-color: var(--tz-v41-canvas);
  background-image: var(--tz-v4-surface);
  background-blend-mode: soft-light;
}

body.tz-internal-v41 .tz-reader > .tz-reader__masthead {
  background-color: color-mix(in srgb, var(--tz-v41-canvas) 78%, rgb(var(--c-blue-rgb)) 22%) !important;
  background-blend-mode: soft-light !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

body.tz-internal-v41 .tz-reader__body {
  background-color: var(--tz-v41-panel) !important;
  background-image: var(--tz-v4-surface);
  background-blend-mode: soft-light;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .15);
}

body.tz-internal-v41 .tz-reader__body :is(p, li) {
  color: color-mix(in srgb, var(--ink-dim) 88%, white 12%);
}

body.tz-internal-v41 .tz-workspace-section {
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--tz-v41-canvas) 24%, transparent) 22%,
    transparent
  );
}

/* ============================================================
   Tianze Web 4.1 · complete free appearance system
   Palette tokens own colour and material. Section-image tokens above own
   subject matter and focal points; the two systems intentionally stay
   orthogonal so every new zone keeps its own visual identity in every skin.
   ============================================================ */
:root,
html[data-palette="cold"] {
  color-scheme: dark;
  --tz-accent-purple: #7c3aed;
  --tz-accent-violet: #8b5cf6;
  --tz-accent-indigo: #6366f1;
  --tz-accent-blue: #3b82f6;
  --tz-accent-sky: #0ea5e9;
  --tz-accent-cyan: #06b6d4;
  --tz-accent-green: #10b981;
  --tz-accent-emerald: #34d399;
  --tz-accent-violet-soft: #a78bfa;
  --tz-accent-blue-soft: #60a5fa;
  --tz-accent-green-soft: #6ee7b7;
  --tz-accent-purple-rgb: 124,58,237;
  --tz-accent-violet-rgb: 139,92,246;
  --tz-accent-indigo-rgb: 99,102,241;
  --tz-accent-blue-rgb: 59,130,246;
  --tz-accent-sky-rgb: 14,165,233;
  --tz-accent-cyan-rgb: 6,182,212;
  --tz-accent-green-rgb: 16,185,129;
  --tz-accent-emerald-rgb: 52,211,153;
  --tz-accent-violet-soft-rgb: 167,139,250;
  --tz-accent-blue-soft-rgb: 96,165,250;
  --tz-accent-green-soft-rgb: 110,231,183;
  --tz-theme-grad-main: linear-gradient(135deg, #7c3aed 0%, #3b82f6 52%, #10b981 100%);
  --tz-theme-grad-soft: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #6ee7b7 100%);
  --tz-theme-grad-text: linear-gradient(120deg, #a78bfa, #60a5fa 45%, #6ee7b7);
  --tz-theme-bg-base: #081629;
  --tz-theme-bg: #0d2340;
  --tz-theme-bg-soft: #112b4a;
  --tz-theme-bg-elevated: rgba(165, 198, 255, .08);
  --tz-theme-bg-elevated-hover: rgba(165, 206, 255, .14);
  --tz-theme-ink: #f5f8ff;
  --tz-theme-ink-dim: #cad8eb;
  --tz-theme-ink-faint: #91a8c2;
  --tz-theme-ink-muted: #6e829d;
  --tz-theme-line: rgba(184, 211, 246, .14);
  --tz-theme-line-strong: rgba(184, 219, 255, .25);
  --tz-theme-glass: rgba(14, 38, 68, .7);
  --tz-theme-glass-strong: rgba(10, 30, 56, .88);
  --tz-theme-glass-border: rgba(180, 214, 255, .22);
  --tz-theme-shadow-sm: 0 8px 26px rgba(1, 9, 24, .22);
  --tz-theme-shadow-md: 0 20px 58px rgba(1, 9, 24, .3);
  --tz-theme-shadow-lg: 0 34px 96px rgba(1, 9, 24, .4);
  --tz-theme-shadow-glow: 0 16px 52px rgba(76, 112, 232, .25);
  /* Cold image assets stay on the low-specificity :root declaration above.
     Nested apps can then replace their relative URLs safely. */
  --tz-v4-surface-color: rgba(10, 30, 55, .78);
  --tz-v4-surface-color-strong: rgba(7, 23, 45, .92);
  --tz-v4-line: rgba(184, 211, 246, .23);
  --tz-skin-canvas: #102947;
  --tz-skin-scene:
    linear-gradient(180deg, rgba(9, 31, 59, .07), rgba(5, 19, 40, .34)),
    radial-gradient(circle at 82% 10%, rgba(82, 128, 226, .08), transparent 38%);
  --tz-skin-scene-mobile:
    linear-gradient(180deg, rgba(8, 28, 56, .13), rgba(5, 19, 42, .32)),
    radial-gradient(circle at 76% 8%, rgba(92, 150, 238, .1), transparent 42%);
  --tz-skin-mesh: linear-gradient(180deg, rgba(13, 41, 73, .04), rgba(8, 27, 52, .2));
  --tz-skin-grid: rgba(192, 211, 255, .035);
  --tz-skin-surface: rgba(10, 29, 54, .75);
  --tz-skin-surface-mobile: rgba(10, 31, 59, .64);
  --tz-skin-surface-internal: rgba(11, 35, 66, .7);
  --tz-skin-surface-internal-mobile: rgba(10, 31, 59, .64);
  --tz-skin-surface-raised: rgba(18, 49, 84, .84);
  --tz-skin-surface-blend: soft-light;
  --tz-skin-network-canvas: rgba(3, 10, 22, .82);
  --tz-skin-network-overlay: linear-gradient(180deg, rgba(3, 9, 20, .3), rgba(3, 9, 20, .72));
  --tz-skin-control: rgba(27, 62, 102, .76);
  --tz-skin-input: rgba(8, 27, 51, .88);
  --tz-skin-backdrop: rgba(3, 8, 20, .72);
  --tz-skin-focus: #7dd3fc;
  --tz-skin-focus-halo: rgba(96, 165, 250, .24);
  --tz-skin-selection: rgba(99, 102, 241, .64);
  --tz-skin-map-label-shadow: 0 2px 7px rgba(0, 0, 0, .78);
  --tz-status-online: #6ee7b7;
  --tz-status-online-rgb: 110,231,183;
  --tz-skin-letter-spacing: .01em;
}

html[data-palette="mid"] {
  color-scheme: dark;
  --tz-accent-purple: #3b82f6; --tz-accent-violet: #60a5fa; --tz-accent-indigo: #0ea5e9;
  --tz-accent-blue: #10b981; --tz-accent-sky: #34d399; --tz-accent-cyan: #4ade80;
  --tz-accent-green: #eab308; --tz-accent-emerald: #facc15;
  --tz-accent-violet-soft: #60a5fa; --tz-accent-blue-soft: #6ee7b7; --tz-accent-green-soft: #fde047;
  --tz-accent-purple-rgb: 59,130,246; --tz-accent-violet-rgb: 96,165,250; --tz-accent-indigo-rgb: 14,165,233;
  --tz-accent-blue-rgb: 16,185,129; --tz-accent-sky-rgb: 52,211,153; --tz-accent-cyan-rgb: 74,222,128;
  --tz-accent-green-rgb: 234,179,8; --tz-accent-emerald-rgb: 250,204,21;
  --tz-accent-violet-soft-rgb: 96,165,250; --tz-accent-blue-soft-rgb: 110,231,183; --tz-accent-green-soft-rgb: 253,224,71;
  --tz-theme-grad-main: linear-gradient(135deg, #3b82f6 0%, #10b981 52%, #eab308 100%);
  --tz-theme-grad-soft: linear-gradient(135deg, #60a5fa 0%, #6ee7b7 50%, #fde047 100%);
  --tz-theme-grad-text: linear-gradient(120deg, #60a5fa, #6ee7b7 45%, #fde047);
  --tz-theme-bg-base: #0b2228; --tz-theme-bg: #103238; --tz-theme-bg-soft: #164148;
  --tz-theme-bg-elevated: rgba(133, 226, 211, .08); --tz-theme-bg-elevated-hover: rgba(133, 226, 211, .14);
  --tz-theme-ink: #f3fbfa; --tz-theme-ink-dim: #c9dedb; --tz-theme-ink-faint: #8faeab; --tz-theme-ink-muted: #698884;
  --tz-theme-line: rgba(170, 231, 220, .14); --tz-theme-line-strong: rgba(170, 238, 224, .25);
  --tz-theme-glass: rgba(11, 48, 53, .7); --tz-theme-glass-strong: rgba(7, 39, 45, .9); --tz-theme-glass-border: rgba(156, 231, 215, .22);
  --tz-theme-shadow-sm: 0 8px 26px rgba(1, 17, 20, .22); --tz-theme-shadow-md: 0 20px 58px rgba(1, 17, 20, .3);
  --tz-theme-shadow-lg: 0 34px 96px rgba(1, 17, 20, .4); --tz-theme-shadow-glow: 0 16px 52px rgba(16, 185, 129, .22);
  --tz-v4-wallpaper: url("../img/ui-v4/wallpaper-mid.webp"); --tz-v4-button: url("../img/ui-v4/button-mid.webp");
  --tz-v4-surface: url("../img/ui-v4/surface-mid.webp"); --tz-v4-icon-atlas: url("../img/ui-v4/icon-atlas-mid.png");
  --tz-v4-icon-well: url("../img/ui-v4/icon-well-mid.webp"); --tz-v4-surface-color: rgba(7, 42, 47, .78);
  --tz-v4-surface-color-strong: rgba(5, 32, 38, .92); --tz-v4-line: rgba(164, 238, 210, .24);
  --tz-skin-canvas: #123136;
  --tz-skin-scene: linear-gradient(180deg, rgba(7, 42, 48, .08), rgba(4, 28, 34, .4)), radial-gradient(circle at 82% 9%, rgba(46, 198, 177, .1), transparent 40%);
  --tz-skin-scene-mobile: linear-gradient(180deg, rgba(7, 43, 48, .14), rgba(4, 28, 34, .38)), radial-gradient(circle at 76% 8%, rgba(61, 211, 180, .12), transparent 44%);
  --tz-skin-mesh: linear-gradient(180deg, rgba(15, 69, 72, .04), rgba(7, 39, 44, .22)); --tz-skin-grid: rgba(181, 239, 223, .035);
  --tz-skin-surface: rgba(8, 43, 49, .75); --tz-skin-surface-mobile: rgba(9, 47, 52, .65);
  --tz-skin-surface-internal: rgba(10, 50, 56, .72); --tz-skin-surface-internal-mobile: rgba(9, 47, 52, .65);
  --tz-skin-surface-raised: rgba(18, 67, 71, .85); --tz-skin-surface-blend: soft-light;
  --tz-skin-network-canvas: rgba(3, 24, 29, .84); --tz-skin-network-overlay: linear-gradient(180deg, rgba(3, 28, 32, .3), rgba(2, 20, 25, .74));
  --tz-skin-control: rgba(25, 80, 82, .78); --tz-skin-input: rgba(7, 38, 43, .9); --tz-skin-backdrop: rgba(2, 19, 23, .74);
  --tz-skin-focus: #6ee7d0; --tz-skin-focus-halo: rgba(52, 211, 153, .24); --tz-skin-selection: rgba(16, 185, 129, .58);
  --tz-skin-map-label-shadow: 0 2px 7px rgba(0, 12, 14, .82); --tz-status-online: #67e8b7; --tz-status-online-rgb: 103,232,183;
  --tz-skin-letter-spacing: .012em;
}

html[data-palette="warm"] {
  color-scheme: dark;
  --tz-accent-purple: #10b981; --tz-accent-violet: #34d399; --tz-accent-indigo: #eab308;
  --tz-accent-blue: #eab308; --tz-accent-sky: #fbbf24; --tz-accent-cyan: #fb923c;
  --tz-accent-green: #f97316; --tz-accent-emerald: #fdba74;
  --tz-accent-violet-soft: #6ee7b7; --tz-accent-blue-soft: #fde047; --tz-accent-green-soft: #fdba74;
  --tz-accent-purple-rgb: 16,185,129; --tz-accent-violet-rgb: 52,211,153; --tz-accent-indigo-rgb: 234,179,8;
  --tz-accent-blue-rgb: 234,179,8; --tz-accent-sky-rgb: 251,191,36; --tz-accent-cyan-rgb: 251,146,60;
  --tz-accent-green-rgb: 249,115,22; --tz-accent-emerald-rgb: 253,186,116;
  --tz-accent-violet-soft-rgb: 110,231,183; --tz-accent-blue-soft-rgb: 253,224,71; --tz-accent-green-soft-rgb: 253,186,116;
  --tz-theme-grad-main: linear-gradient(135deg, #10b981 0%, #eab308 52%, #f97316 100%);
  --tz-theme-grad-soft: linear-gradient(135deg, #6ee7b7 0%, #fde047 50%, #fdba74 100%);
  --tz-theme-grad-text: linear-gradient(120deg, #6ee7b7, #fde047 45%, #fdba74);
  --tz-theme-bg-base: #261d12; --tz-theme-bg: #382a18; --tz-theme-bg-soft: #49371e;
  --tz-theme-bg-elevated: rgba(255, 211, 128, .08); --tz-theme-bg-elevated-hover: rgba(255, 211, 128, .14);
  --tz-theme-ink: #fff8e8; --tz-theme-ink-dim: #e8d9bc; --tz-theme-ink-faint: #b7a382; --tz-theme-ink-muted: #8c795e;
  --tz-theme-line: rgba(255, 221, 159, .14); --tz-theme-line-strong: rgba(255, 224, 166, .26);
  --tz-theme-glass: rgba(58, 42, 22, .72); --tz-theme-glass-strong: rgba(43, 30, 14, .9); --tz-theme-glass-border: rgba(255, 218, 147, .22);
  --tz-theme-shadow-sm: 0 8px 26px rgba(20, 10, 1, .22); --tz-theme-shadow-md: 0 20px 58px rgba(20, 10, 1, .31);
  --tz-theme-shadow-lg: 0 34px 96px rgba(20, 10, 1, .42); --tz-theme-shadow-glow: 0 16px 52px rgba(249, 115, 22, .23);
  --tz-v4-wallpaper: url("../img/ui-v4/wallpaper-warm.webp"); --tz-v4-button: url("../img/ui-v4/button-warm.webp");
  --tz-v4-surface: url("../img/ui-v4/surface-warm.webp"); --tz-v4-icon-atlas: url("../img/ui-v4/icon-atlas-warm.png");
  --tz-v4-icon-well: url("../img/ui-v4/icon-well-warm.webp"); --tz-v4-surface-color: rgba(55, 39, 18, .79);
  --tz-v4-surface-color-strong: rgba(42, 28, 11, .93); --tz-v4-line: rgba(255, 222, 153, .25);
  --tz-skin-canvas: #3a2918;
  --tz-skin-scene: linear-gradient(180deg, rgba(56, 37, 15, .08), rgba(38, 24, 9, .42)), radial-gradient(circle at 82% 9%, rgba(245, 174, 55, .1), transparent 40%);
  --tz-skin-scene-mobile: linear-gradient(180deg, rgba(61, 41, 17, .14), rgba(38, 24, 9, .4)), radial-gradient(circle at 76% 8%, rgba(249, 184, 67, .12), transparent 44%);
  --tz-skin-mesh: linear-gradient(180deg, rgba(84, 58, 24, .04), rgba(53, 35, 15, .24)); --tz-skin-grid: rgba(255, 224, 169, .035);
  --tz-skin-surface: rgba(56, 40, 20, .76); --tz-skin-surface-mobile: rgba(58, 42, 22, .66);
  --tz-skin-surface-internal: rgba(64, 45, 22, .72); --tz-skin-surface-internal-mobile: rgba(58, 42, 22, .66);
  --tz-skin-surface-raised: rgba(83, 58, 26, .86); --tz-skin-surface-blend: soft-light;
  --tz-skin-network-canvas: rgba(29, 19, 8, .84); --tz-skin-network-overlay: linear-gradient(180deg, rgba(38, 25, 9, .28), rgba(24, 15, 5, .76));
  --tz-skin-control: rgba(96, 68, 30, .78); --tz-skin-input: rgba(44, 30, 13, .9); --tz-skin-backdrop: rgba(22, 13, 4, .75);
  --tz-skin-focus: #fde68a; --tz-skin-focus-halo: rgba(251, 191, 36, .25); --tz-skin-selection: rgba(234, 179, 8, .58);
  --tz-skin-map-label-shadow: 0 2px 7px rgba(20, 10, 0, .84); --tz-status-online: #6ee7b7; --tz-status-online-rgb: 110,231,183;
  --tz-skin-letter-spacing: .012em;
}

html[data-palette="porcelain"] {
  color-scheme: light;
  --tz-accent-purple: #6552b8; --tz-accent-violet: #7561c8; --tz-accent-indigo: #4669ad;
  --tz-accent-blue: #2563a8; --tz-accent-sky: #277ca4; --tz-accent-cyan: #178e98;
  --tz-accent-green: #167d69; --tz-accent-emerald: #218b70;
  --tz-accent-violet-soft: #7967bd; --tz-accent-blue-soft: #3476af; --tz-accent-green-soft: #1c806d;
  --tz-accent-purple-rgb: 101,82,184; --tz-accent-violet-rgb: 117,97,200; --tz-accent-indigo-rgb: 70,105,173;
  --tz-accent-blue-rgb: 37,99,168; --tz-accent-sky-rgb: 39,124,164; --tz-accent-cyan-rgb: 23,142,152;
  --tz-accent-green-rgb: 22,125,105; --tz-accent-emerald-rgb: 33,139,112;
  --tz-accent-violet-soft-rgb: 121,103,189; --tz-accent-blue-soft-rgb: 52,118,175; --tz-accent-green-soft-rgb: 28,128,109;
  --tz-theme-grad-main: linear-gradient(135deg, #6552b8 0%, #2563a8 50%, #167d69 100%);
  --tz-theme-grad-soft: linear-gradient(135deg, #c9c4eb 0%, #b8d5ea 50%, #b9ddd3 100%);
  --tz-theme-grad-text: linear-gradient(120deg, #5946a9, #2563a8 48%, #126b5a);
  --tz-theme-bg-base: #edf3f7; --tz-theme-bg: #f7fafc; --tz-theme-bg-soft: #e3edf2;
  --tz-theme-bg-elevated: rgba(255, 255, 255, .68); --tz-theme-bg-elevated-hover: rgba(255, 255, 255, .92);
  --tz-theme-ink: #172536; --tz-theme-ink-dim: #3d5368; --tz-theme-ink-faint: #596e82; --tz-theme-ink-muted: #788999;
  --tz-theme-line: rgba(38, 75, 101, .14); --tz-theme-line-strong: rgba(38, 75, 101, .25);
  --tz-theme-glass: rgba(250, 253, 255, .72); --tz-theme-glass-strong: rgba(250, 253, 255, .9); --tz-theme-glass-border: rgba(55, 91, 117, .2);
  --tz-theme-shadow-sm: 0 8px 25px rgba(48, 73, 91, .12); --tz-theme-shadow-md: 0 20px 55px rgba(48, 73, 91, .16);
  --tz-theme-shadow-lg: 0 32px 90px rgba(48, 73, 91, .2); --tz-theme-shadow-glow: 0 14px 46px rgba(37, 99, 168, .16);
  --tz-v4-wallpaper: radial-gradient(circle at 16% 8%, rgba(101,82,184,.12), transparent 34%), linear-gradient(145deg, #f9fbfc, #dfeaf0 62%, #edf5f3);
  --tz-v4-button: linear-gradient(145deg, rgba(255,255,255,.94), rgba(207,224,234,.82));
  --tz-v4-surface: linear-gradient(145deg, rgba(255,255,255,.88), rgba(218,231,239,.72)), repeating-linear-gradient(90deg, rgba(44,78,104,.025) 0 1px, transparent 1px 7px);
  --tz-v4-icon-well: radial-gradient(circle at 36% 24%, rgba(70,132,162,.7), transparent 36%), linear-gradient(145deg, #2e5870, #19374e);
  --tz-v4-surface-color: rgba(248, 251, 253, .82); --tz-v4-surface-color-strong: rgba(247, 251, 253, .95); --tz-v4-line: rgba(43, 82, 108, .22);
  --tz-skin-canvas: #edf3f7;
  --tz-skin-scene: linear-gradient(180deg, rgba(248, 251, 253, .4), rgba(224, 235, 242, .58)), radial-gradient(circle at 82% 9%, rgba(64, 126, 171, .09), transparent 40%);
  --tz-skin-scene-mobile: linear-gradient(180deg, rgba(249, 252, 253, .5), rgba(226, 237, 243, .64)), radial-gradient(circle at 76% 8%, rgba(63, 123, 165, .09), transparent 44%);
  --tz-skin-mesh: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(211, 226, 235, .26)); --tz-skin-grid: rgba(44, 78, 104, .055);
  --tz-skin-surface: rgba(249, 252, 253, .78); --tz-skin-surface-mobile: rgba(250, 253, 254, .86);
  --tz-skin-surface-internal: rgba(247, 251, 253, .78); --tz-skin-surface-internal-mobile: rgba(250, 253, 254, .88);
  --tz-skin-surface-raised: rgba(255, 255, 255, .94); --tz-skin-surface-blend: soft-light;
  --tz-skin-network-canvas: rgba(230, 239, 245, .88); --tz-skin-network-overlay: linear-gradient(180deg, rgba(248, 252, 253, .5), rgba(218, 231, 239, .72));
  --tz-skin-control: rgba(220, 233, 241, .92); --tz-skin-input: rgba(251, 253, 254, .96); --tz-skin-backdrop: rgba(38, 55, 69, .42);
  --tz-skin-focus: #174f8c; --tz-skin-focus-halo: rgba(37, 99, 168, .2); --tz-skin-selection: rgba(37, 99, 168, .72);
  --tz-skin-map-label-shadow: 0 1px 2px rgba(255, 255, 255, .98), 0 0 7px rgba(255, 255, 255, .9);
  --tz-status-online: #08765e; --tz-status-online-rgb: 8,118,94;
  --tz-skin-letter-spacing: .008em;
}

html[data-palette="ink"] {
  color-scheme: dark;
  --tz-accent-purple: #4856a8; --tz-accent-violet: #5967b7; --tz-accent-indigo: #4f66a8;
  --tz-accent-blue: #327b99; --tz-accent-sky: #258699; --tz-accent-cyan: #158a91;
  --tz-accent-green: #527f69; --tz-accent-emerald: #6c8d72;
  --tz-accent-violet-soft: #8791d0; --tz-accent-blue-soft: #6aa4ba; --tz-accent-green-soft: #8ab39a;
  --tz-accent-purple-rgb: 72,86,168; --tz-accent-violet-rgb: 89,103,183; --tz-accent-indigo-rgb: 79,102,168;
  --tz-accent-blue-rgb: 50,123,153; --tz-accent-sky-rgb: 37,134,153; --tz-accent-cyan-rgb: 21,138,145;
  --tz-accent-green-rgb: 82,127,105; --tz-accent-emerald-rgb: 108,141,114;
  --tz-accent-violet-soft-rgb: 135,145,208; --tz-accent-blue-soft-rgb: 106,164,186; --tz-accent-green-soft-rgb: 138,179,154;
  --tz-theme-grad-main: linear-gradient(135deg, #4856a8 0%, #327b99 50%, #527f69 100%);
  --tz-theme-grad-soft: linear-gradient(135deg, #8791d0 0%, #6aa4ba 50%, #8ab39a 100%);
  --tz-theme-grad-text: linear-gradient(120deg, #98a1d8, #77b3c6 48%, #94b9a1);
  --tz-theme-bg-base: #061013; --tz-theme-bg: #09171b; --tz-theme-bg-soft: #0d2227;
  --tz-theme-bg-elevated: rgba(126, 169, 171, .065); --tz-theme-bg-elevated-hover: rgba(126, 169, 171, .11);
  --tz-theme-ink: #edf6f3; --tz-theme-ink-dim: #c2d1cc; --tz-theme-ink-faint: #849a94; --tz-theme-ink-muted: #60746f;
  --tz-theme-line: rgba(154, 190, 181, .12); --tz-theme-line-strong: rgba(154, 190, 181, .22);
  --tz-theme-glass: rgba(8, 25, 29, .76); --tz-theme-glass-strong: rgba(5, 19, 22, .92); --tz-theme-glass-border: rgba(139, 181, 171, .19);
  --tz-theme-shadow-sm: 0 8px 26px rgba(0, 7, 8, .26); --tz-theme-shadow-md: 0 20px 58px rgba(0, 7, 8, .36);
  --tz-theme-shadow-lg: 0 34px 96px rgba(0, 7, 8, .48); --tz-theme-shadow-glow: 0 16px 52px rgba(21, 138, 145, .16);
  --tz-v4-wallpaper: radial-gradient(circle at 84% 10%, rgba(50,123,153,.1), transparent 34%), repeating-linear-gradient(101deg, rgba(139,176,169,.018) 0 1px, transparent 1px 9px), linear-gradient(160deg, #071417, #081d21 56%, #071215);
  --tz-v4-button: linear-gradient(145deg, rgba(37, 69, 75, .9), rgba(12, 36, 41, .94));
  --tz-v4-surface: repeating-linear-gradient(101deg, rgba(152,188,178,.022) 0 1px, transparent 1px 8px), linear-gradient(145deg, rgba(19,49,54,.9), rgba(8,28,32,.94));
  --tz-v4-icon-well: radial-gradient(circle at 35% 25%, rgba(82,128,137,.46), transparent 36%), linear-gradient(145deg, #1d3e45, #0c252a);
  --tz-v4-surface-color: rgba(9, 31, 35, .82); --tz-v4-surface-color-strong: rgba(5, 22, 25, .94); --tz-v4-line: rgba(139, 181, 171, .2);
  --tz-skin-canvas: #071417;
  --tz-skin-scene: linear-gradient(180deg, rgba(5, 20, 23, .2), rgba(3, 13, 15, .66)), radial-gradient(circle at 82% 9%, rgba(46, 117, 137, .08), transparent 40%);
  --tz-skin-scene-mobile: linear-gradient(180deg, rgba(5, 20, 23, .28), rgba(3, 13, 15, .66)), radial-gradient(circle at 76% 8%, rgba(54, 128, 143, .09), transparent 44%);
  --tz-skin-mesh: linear-gradient(180deg, rgba(13, 44, 47, .04), rgba(3, 19, 22, .3)); --tz-skin-grid: rgba(150, 184, 176, .025);
  --tz-skin-surface: rgba(8, 28, 32, .8); --tz-skin-surface-mobile: rgba(8, 29, 33, .72);
  --tz-skin-surface-internal: rgba(9, 32, 36, .78); --tz-skin-surface-internal-mobile: rgba(8, 29, 33, .72);
  --tz-skin-surface-raised: rgba(16, 46, 50, .88); --tz-skin-surface-blend: soft-light;
  --tz-skin-network-canvas: rgba(2, 12, 14, .88); --tz-skin-network-overlay: linear-gradient(180deg, rgba(4, 18, 21, .42), rgba(2, 10, 12, .8));
  --tz-skin-control: rgba(24, 58, 63, .82); --tz-skin-input: rgba(5, 23, 27, .94); --tz-skin-backdrop: rgba(1, 8, 9, .78);
  --tz-skin-focus: #91c8c1; --tz-skin-focus-halo: rgba(106, 164, 186, .2); --tz-skin-selection: rgba(50, 123, 153, .68);
  --tz-skin-map-label-shadow: 0 2px 7px rgba(0, 5, 6, .9); --tz-status-online: #8ab39a; --tz-status-online-rgb: 138,179,154;
  --tz-skin-letter-spacing: .014em;
}

:root,
html[data-palette] {
  --c-purple: var(--tz-accent-purple); --c-violet: var(--tz-accent-violet); --c-indigo: var(--tz-accent-indigo);
  --c-blue: var(--tz-accent-blue); --c-sky: var(--tz-accent-sky); --c-cyan: var(--tz-accent-cyan);
  --c-green: var(--tz-accent-green); --c-emerald: var(--tz-accent-emerald);
  --c-violet-soft: var(--tz-accent-violet-soft); --c-blue-soft: var(--tz-accent-blue-soft); --c-green-soft: var(--tz-accent-green-soft);
  --c-purple-rgb: var(--tz-accent-purple-rgb); --c-violet-rgb: var(--tz-accent-violet-rgb); --c-indigo-rgb: var(--tz-accent-indigo-rgb);
  --c-blue-rgb: var(--tz-accent-blue-rgb); --c-sky-rgb: var(--tz-accent-sky-rgb); --c-cyan-rgb: var(--tz-accent-cyan-rgb);
  --c-green-rgb: var(--tz-accent-green-rgb); --c-emerald-rgb: var(--tz-accent-emerald-rgb);
  --c-violet-soft-rgb: var(--tz-accent-violet-soft-rgb); --c-blue-soft-rgb: var(--tz-accent-blue-soft-rgb); --c-green-soft-rgb: var(--tz-accent-green-soft-rgb);
  --grad-main: var(--tz-theme-grad-main); --grad-soft: var(--tz-theme-grad-soft); --grad-text: var(--tz-theme-grad-text);
  --bg-base: var(--tz-theme-bg-base); --bg: var(--tz-theme-bg); --bg-soft: var(--tz-theme-bg-soft);
  --bg-elevated: var(--tz-theme-bg-elevated); --bg-elevated-hover: var(--tz-theme-bg-elevated-hover);
  --ink: var(--tz-theme-ink); --ink-dim: var(--tz-theme-ink-dim); --ink-faint: var(--tz-theme-ink-faint); --ink-muted: var(--tz-theme-ink-muted);
  --line: var(--tz-theme-line); --line-strong: var(--tz-theme-line-strong);
  --glass: var(--tz-theme-glass); --glass-strong: var(--tz-theme-glass-strong); --glass-border: var(--tz-theme-glass-border);
  --shadow-sm: var(--tz-theme-shadow-sm); --shadow-md: var(--tz-theme-shadow-md); --shadow-lg: var(--tz-theme-shadow-lg); --shadow-glow: var(--tz-theme-shadow-glow);
  --c-bg: var(--tz-theme-bg-base); --c-bg-card: var(--tz-theme-bg-soft); --c-border: var(--tz-skin-focus);
  --tz-ui-card-image: var(--tz-v4-surface);
}

/* Final material baseline: section artwork stays in the page background;
   content surfaces are quiet, solid and readable. */
body,
body.tz-site-shell {
  background-color: var(--tz-skin-canvas) !important;
  background-image: var(--tz-skin-scene), var(--tz-section-bg-image) !important;
  background-position: var(--tz-section-bg-position) !important;
  background-size: var(--tz-section-bg-size) !important;
  background-repeat: no-repeat !important;
  color: var(--ink);
  caret-color: var(--tz-skin-focus);
  letter-spacing: var(--tz-skin-letter-spacing);
}
.bg-mesh {
  background-color: var(--tz-skin-canvas) !important;
  background-image: var(--tz-skin-mesh), var(--tz-section-bg-image) !important;
  background-position: var(--tz-section-bg-position) !important;
  background-size: var(--tz-section-bg-size) !important;
  opacity: 1 !important;
}
.bg-mesh::after {
  background-image: linear-gradient(var(--tz-skin-grid) 1px, transparent 1px) !important;
  background-size: 112px 112px !important;
  opacity: .06 !important;
}
body::before,
body::after { background-image: none !important; opacity: .12 !important; animation: none !important; }
:where(.card, .topbar, .tz-network-panel, .tz-domain-card, .tz-feed-panel, .article-body) {
  border-color: var(--tz-v4-line) !important;
  background-color: var(--tz-skin-surface) !important;
  background-image: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.tz-internal-v41 :is(
  .tz-page-hero,
  .tz-workspace-card,
  .tz-workspace-list__item,
  .tz-workspace-section__head,
  .english-ledger,
  .contact-card,
  .contact-mini,
  .os-card,
  .os-note,
  .tz-reader__body
) {
  border-color: var(--tz-v4-line) !important;
  background-color: var(--tz-skin-surface-internal) !important;
  background-image: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tz-network-map,
.tz-network-map.is-site-orbit {
  background-color: var(--tz-skin-network-canvas) !important;
  background-image: var(--tz-skin-network-overlay), var(--tz-section-bg-image) !important;
  background-position: center !important;
  background-size: cover !important;
}
.tz-network-map.is-site-orbit { overflow: hidden !important; scrollbar-width: none !important; }

@media (min-width: 681px) {
  html[data-zone="ai"] { --tz-section-bg-position: center calc(100% + 52px); --tz-section-bg-size: 100% auto; }
  html[data-zone="ai"] :is(body, body.tz-site-shell, .bg-mesh) { background-color: var(--tz-skin-canvas) !important; }
}

@media (max-width: 680px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  body, body.tz-site-shell { background-attachment: scroll !important; }
  body,
  body.tz-site-shell,
  .bg-mesh {
    background-color: var(--tz-skin-canvas) !important;
    background-image: var(--tz-skin-scene-mobile), var(--tz-section-bg-mobile-image) !important;
    background-size: var(--tz-section-bg-size-mobile) !important;
    background-position: var(--tz-section-bg-position-mobile) !important;
    background-repeat: no-repeat !important;
  }
  :where(.card, .topbar, .tz-network-panel, .tz-domain-card, .tz-feed-panel, .article-body) {
    background-color: var(--tz-skin-surface-mobile) !important;
    background-image: var(--tz-v4-surface) !important;
    background-blend-mode: var(--tz-skin-surface-blend) !important;
    backdrop-filter: blur(2px) saturate(108%);
    -webkit-backdrop-filter: blur(2px) saturate(108%);
  }
  body.tz-internal-v41 :is(.tz-page-hero, .tz-workspace-card, .tz-workspace-list__item, .tz-workspace-section__head, .english-ledger, .contact-card, .contact-mini, .os-card, .os-note, .tz-reader__body) {
    background-color: var(--tz-skin-surface-internal-mobile) !important;
    background-image: var(--tz-v4-surface) !important;
    background-blend-mode: var(--tz-skin-surface-blend) !important;
    backdrop-filter: blur(2px) saturate(108%);
    -webkit-backdrop-filter: blur(2px) saturate(108%);
  }
  body.tz-site-shell { padding-bottom: max(18px, var(--tz-safe-bottom)); }
  body.tz-site-shell .wrap, .wrap { width: 100%; max-width: 100%; padding-inline: 14px; }
  body.tz-site-shell .topbar {
    top: max(4px, var(--tz-safe-top));
    width: calc(100% - 8px - var(--tz-safe-left) - var(--tz-safe-right));
    margin: 4px calc(4px + var(--tz-safe-right)) 0 calc(4px + var(--tz-safe-left));
    border-radius: 16px;
  }
  body.tz-site-shell .topbar-inner { height: 58px; padding-inline: 10px; gap: 8px; }
  body.tz-site-shell .nav { inset: 66px 6px auto; max-height: calc(100dvh - 78px); overflow-y: auto; border-radius: 16px; }
  main, main > *, section, .card, .tz-split-stack, .tz-split-content { min-width: 0; max-width: 100%; }
  .tz-home-network-workspace { width: 100%; padding-inline: 6px !important; }
  .tz-network-panel { min-height: 0; padding: 12px; border-radius: 20px; }
  .tz-network-map.is-site-orbit { width: 100%; margin-block: 12px; border-radius: 16px; }
  .tz-panel-foot { display: none; }
  .tzpal-btn { left: calc(10px + var(--tz-safe-left)); bottom: calc(10px + var(--tz-safe-bottom)); }
}

/* Tianze Web 4.1 mobile navigation and full-site discovery. */
.tz-command-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  scrollbar-color: rgba(148, 184, 225, .48) transparent;
  scrollbar-width: thin;
}

.tz-command-list::-webkit-scrollbar { display: block; width: 8px; }
.tz-command-list::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(148, 184, 225, .42); }

.tz-command-list a {
  min-height: 70px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-rows: 1fr;
  gap: 10px;
}

.tz-command-list a .tz-icon { grid-row: auto; }
.tz-command-copy { display: grid; gap: 3px; min-width: 0; }
.tz-command-copy strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tz-command-copy small {
  overflow: hidden;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500 !important;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tz-command-section {
  max-width: 74px;
  padding: 3px 7px;
  overflow: hidden;
  border: 1px solid var(--tz-v4-line);
  border-radius: 999px;
  color: var(--ink-faint);
  font: 650 9px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tz-command-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink-faint);
  text-align: center;
}

.tz-network-map.is-site-mobile-tree {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  max-height: none;
  margin-block: 12px;
  padding: 12px;
  overflow: visible;
  border-radius: 18px;
  overscroll-behavior: auto;
}

.tz-mobile-tree { display: grid; gap: 12px; width: 100%; }
.tz-mobile-tree__root,
.tz-mobile-tree__section-link,
.tz-mobile-tree__child {
  color: var(--ink);
  text-decoration: none;
}
.tz-mobile-tree__root {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 15px;
  background-color: var(--tz-skin-surface-raised);
  background-image: var(--tz-v4-surface);
  background-blend-mode: var(--tz-skin-surface-blend);
}
.tz-mobile-tree__root > .tz-icon { width: 34px; height: 34px; flex: 0 0 34px; }
.tz-mobile-tree__root > span { display: grid; gap: 2px; }
.tz-mobile-tree__root strong { font-size: 14px; }
.tz-mobile-tree__root small { color: var(--ink-faint); font-size: 10px; }

.tz-mobile-tree__zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.tz-mobile-tree__zone {
  position: relative;
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 2px 7px;
  padding: 8px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 14px;
  background-color: var(--tz-skin-control);
  background-image: var(--tz-v4-button);
  background-blend-mode: var(--tz-skin-surface-blend);
  color: var(--ink-dim);
  text-align: left;
}
.tz-mobile-tree__zone > .tz-icon { width: 27px; height: 27px; grid-row: 1 / 3; }
.tz-mobile-tree__zone > span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tz-mobile-tree__zone > small { color: var(--ink-faint); font: 700 9px/1 ui-monospace, Consolas, monospace; }
.tz-mobile-tree__zone.active {
  border-color: color-mix(in srgb, var(--c-green) 62%, var(--tz-v4-line));
  background-color: color-mix(in srgb, var(--tz-skin-surface-raised) 82%, var(--c-green) 18%);
  background-image: var(--tz-v4-button);
  color: var(--ink);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .22);
}

.tz-mobile-tree__panel {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--c-blue) 36%, var(--tz-v4-line));
  border-radius: 16px;
  background-color: var(--tz-skin-surface-internal);
  background-image: var(--tz-v4-surface);
  background-blend-mode: var(--tz-skin-surface-blend);
}
.tz-mobile-tree__panel:focus-visible { outline: 2px solid var(--c-blue-soft); outline-offset: 2px; }
.tz-mobile-tree__section-link {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 13px;
  background-color: color-mix(in srgb, var(--tz-skin-control) 82%, var(--c-blue) 18%);
  background-image: var(--tz-v4-button);
  background-blend-mode: var(--tz-skin-surface-blend);
}
.tz-mobile-tree__section-link > .tz-icon:first-child { width: 32px; height: 32px; }
.tz-mobile-tree__section-link > .tz-icon:last-child { width: 16px; height: 16px; }
.tz-mobile-tree__section-link > span { display: grid; gap: 2px; min-width: 0; }
.tz-mobile-tree__section-link strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.tz-mobile-tree__section-link small { color: var(--ink-faint); font-size: 10px; }
.tz-mobile-tree__children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.tz-mobile-tree__child {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 12px;
  background-color: var(--tz-skin-surface);
  background-image: var(--tz-v4-surface);
  background-blend-mode: var(--tz-skin-surface-blend);
}
.tz-mobile-tree__child > .tz-icon { width: 23px; height: 23px; }
.tz-mobile-tree__child > span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tz-mobile-tree :is(a, button):focus-visible { outline: 2px solid var(--c-green-soft); outline-offset: 2px; }

@media (min-width: 600px) {
  .tz-network-map.is-site-mobile-tree .tz-mobile-tree__zones { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tz-network-map.is-site-mobile-tree .tz-mobile-tree__children { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  body.tz-site-shell .topbar {
    top: max(6px, var(--tz-safe-top));
    width: calc(100% - 12px - var(--tz-safe-left) - var(--tz-safe-right));
    margin-right: calc(6px + var(--tz-safe-right));
    margin-left: calc(6px + var(--tz-safe-left));
  }
  body.tz-site-shell .nav-toggle { display: grid !important; }
  body.tz-site-shell .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: calc(100dvh - 90px - var(--tz-safe-top) - var(--tz-safe-bottom));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--tz-v4-line);
    border-radius: 16px;
    background-color: var(--tz-v4-surface-color-strong);
    background-image: var(--tz-v4-surface);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: transform .2s var(--ease-out), opacity .16s ease, visibility 0s linear .2s;
    scrollbar-width: thin;
  }
  body.tz-site-shell .nav.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
  body.tz-site-shell .nav a { min-width: 0; min-height: 44px; padding: 11px 13px; }
  body.tz-site-shell .nav::-webkit-scrollbar { display: block; width: 8px; }
  body.tz-site-shell .nav::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(148, 184, 225, .42); }
}

@media (max-width: 820px) {
  .tz-homepage .tz-network-panel { min-height: 0; }
  .tz-command-list { grid-template-columns: 1fr; }
  .tz-command-dialog { max-height: calc(100dvh - 84px - var(--tz-safe-top) - var(--tz-safe-bottom)); }
}

/* Complete-skin component integration and accessible appearance chooser. */
::selection { background: var(--tz-skin-selection); color: #fff; }
html { scrollbar-color: color-mix(in srgb, var(--tz-skin-focus) 62%, transparent) var(--tz-theme-bg-base); }
::-webkit-scrollbar-track { background: var(--tz-theme-bg-base); }
::-webkit-scrollbar-thumb { border-color: var(--tz-theme-bg-base); background: var(--grad-main); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--tz-skin-focus) !important;
  outline-offset: 3px !important;
}

.tz-live-dot,
.tz-status-chip i,
.tz-site-statusbar__left > i {
  background: var(--tz-status-online) !important;
  box-shadow: 0 0 12px rgba(var(--tz-status-online-rgb), .72) !important;
}

:where(.tz-command-trigger, .tz-status-command, .nav-toggle, .tz-command-head button) {
  border-color: var(--tz-v4-line) !important;
  background-color: var(--tz-skin-control) !important;
  background-image: var(--tz-v4-button) !important;
  background-blend-mode: var(--tz-skin-surface-blend) !important;
  color: var(--ink) !important;
}

:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  border-color: var(--tz-v4-line) !important;
  background-color: var(--tz-skin-input) !important;
  background-image: var(--tz-v4-surface) !important;
  background-blend-mode: var(--tz-skin-surface-blend) !important;
  color: var(--ink) !important;
}

:where(input, textarea)::placeholder { color: var(--ink-faint) !important; opacity: .86; }

.tz-command-palette {
  background-color: var(--tz-skin-backdrop) !important;
  background-image: var(--tz-v4-wallpaper) !important;
  background-blend-mode: soft-light !important;
}

.tz-command-dialog,
.tz-site-statusbar {
  border-color: var(--tz-v4-line) !important;
  background-color: var(--tz-v4-surface-color-strong) !important;
  background-image: var(--tz-v4-surface) !important;
  background-blend-mode: var(--tz-skin-surface-blend) !important;
}

.tz-orbit-node__label { text-shadow: var(--tz-skin-map-label-shadow); }
.tz-orbit-node__count { background-color: var(--tz-v4-surface-color-strong); }

html[data-palette="porcelain"] :is(
  .hero,
  .page-head,
  .ai-hero,
  .skill-hero,
  .coc-hero,
  .english-hero,
  .game-zone-hero,
  .tz-page-hero
) {
  color: var(--ink) !important;
  text-shadow: none !important;
}

html[data-palette="porcelain"] :is(
  .tz-orbit-node.is-orbit-focus,
  .tz-site-orbit .tz-orbit-core.is-orbit-focus
) { color: var(--ink) !important; }

html[data-palette="porcelain"] :is(.tz-command-trigger kbd, .tz-status-command kbd) {
  border-color: rgba(30, 65, 91, .18);
  background: rgba(255, 255, 255, .46);
  color: var(--ink-dim);
}

html[data-palette="porcelain"] .tz-icon,
html[data-palette="porcelain"] .brand .logo-mark::before {
  filter: brightness(0) saturate(100%) invert(22%) sepia(21%) saturate(1047%) hue-rotate(163deg) brightness(88%) contrast(91%);
}

html[data-palette="porcelain"] :is(
  .z-icon,
  .f-icon,
  .sz-icon,
  .dl-icon,
  .oc-icon,
  .e-icon,
  .es-icon,
  .ph-icon,
  .orbit-core,
  .tz-network-core,
  .tz-network-node,
  .tz-tree-node__icon,
  .tz-orbit-node__icon,
  .tz-signal-icon,
  .tz-domain-icon,
  .tz-side-module__icon,
  .ci-icon,
  .mi-icon,
  .tz-os-hero-icon
) .tz-icon,
html[data-palette="porcelain"] .btn:not(.btn--ghost) .tz-icon {
  filter: none;
}

.tzpal-btn {
  border-color: var(--tz-v4-line) !important;
  background-color: var(--tz-skin-control) !important;
  background-image: var(--tz-v4-button) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: var(--tz-skin-surface-blend) !important;
  color: var(--ink) !important;
}

.tzpal-panel {
  left: calc(18px + var(--tz-safe-left));
  bottom: calc(70px + var(--tz-safe-bottom));
  width: min(430px, calc(100vw - 32px - var(--tz-safe-left) - var(--tz-safe-right)));
  min-width: 0;
  max-height: calc(100dvh - 96px - var(--tz-safe-top) - var(--tz-safe-bottom));
  padding: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--tz-v4-line) !important;
  border-radius: 20px;
  background-color: var(--tz-v4-surface-color-strong) !important;
  background-image: var(--tz-v4-surface) !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: var(--tz-skin-surface-blend) !important;
  box-shadow: var(--shadow-lg);
  scrollbar-width: thin;
}

.tzpal-panel[hidden] { display: none !important; }
.tzpal-panel.open { display: grid; gap: 10px; }

body.tz-site-shell .tzpal-panel {
  top: max(84px, calc(72px + var(--tz-safe-top)));
  right: calc(14px + var(--tz-safe-right));
  bottom: auto;
  left: auto;
}

.tzpal-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 4px 9px;
  border-bottom: 1px solid var(--tz-v4-line);
}

.tzpal-panel__head > span { display: grid; gap: 3px; min-width: 0; }
.tzpal-panel__head strong { color: var(--ink); font-size: 14px; line-height: 1.3; }
.tzpal-panel__head small { color: var(--ink-faint); font-size: 10px; line-height: 1.45; }
.tzpal-free-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--tz-status-online) 44%, var(--tz-v4-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--tz-status-online) 12%, transparent);
  color: var(--tz-status-online);
  font-size: 10px;
  line-height: 1.2;
}

.tzpal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tzpal-opt {
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--tz-v4-line) !important;
  border-radius: 14px;
  background-color: var(--tz-skin-surface) !important;
  background-image: var(--tz-v4-surface) !important;
  background-blend-mode: var(--tz-skin-surface-blend) !important;
  color: var(--ink-dim) !important;
}

.tzpal-opt:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--tz-skin-focus) 52%, var(--tz-v4-line)) !important;
  background-color: var(--tz-skin-surface-raised) !important;
  background-image: var(--tz-v4-button) !important;
}

.tzpal-opt.active {
  border-color: color-mix(in srgb, var(--tz-skin-focus) 68%, var(--tz-v4-line)) !important;
  background-color: color-mix(in srgb, var(--tz-skin-surface-raised) 84%, var(--tz-skin-focus) 16%) !important;
  background-image: var(--tz-v4-button) !important;
  color: var(--ink) !important;
}

.tzpal-dots {
  width: 37px;
  height: 37px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--tz-v4-line);
  border-radius: 12px;
  background: var(--tz-v4-icon-well);
  background-position: center;
  background-size: cover;
}

.tzpal-dots i { width: auto; height: auto; min-width: 0; border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, .28); }
.tzpal-opt__copy { display: grid; gap: 2px; min-width: 0; }
.tzpal-opt__copy strong { overflow: hidden; color: currentColor; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.tzpal-opt__copy small { overflow: hidden; color: var(--ink-faint); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.tzpal-cost {
  margin-left: 0;
  padding: 3px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tz-status-online) 11%, transparent);
  color: var(--tz-status-online);
  font-size: 9px;
  white-space: nowrap;
}

.tzpal-status {
  min-height: 15px;
  margin: 0;
  padding-inline: 4px;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .tz-network-map.is-site-mobile-tree {
    background-image: var(--tz-skin-network-overlay), var(--tz-section-bg-mobile-image) !important;
    background-position: var(--tz-section-bg-position-mobile) !important;
  }
}

@media (max-width: 520px) {
  body.tz-site-shell .tzpal-panel,
  .tzpal-panel {
    top: calc(68px + var(--tz-safe-top)) !important;
    right: calc(8px + var(--tz-safe-right)) !important;
    bottom: auto !important;
    left: calc(8px + var(--tz-safe-left)) !important;
    width: auto;
    max-height: calc(100dvh - 80px - var(--tz-safe-top) - var(--tz-safe-bottom));
    border-radius: 17px;
  }
  .tzpal-options { grid-template-columns: 1fr; }
  .tzpal-opt { min-height: 62px; }
  .tzpal-panel__head small { max-width: 220px; }
}

@media (forced-colors: active) {
  .tzpal-dots { forced-color-adjust: none; }
  :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: Highlight !important; }
}

.coc-fan-notice {
  max-width: 1180px;
  margin: 22px auto 34px;
  padding: 12px 18px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
.coc-fan-notice a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }

/* 5.3 公共品牌与首页助手舞台：实体表面、清楚网格、无装饰性玻璃层。 */
body.tz-site-shell .brand {
  color: var(--ink);
  text-transform: none;
}

body.tz-site-shell .brand:hover {
  transform: none;
}

body.tz-site-shell .brand .logo-mark {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background-color: transparent !important;
  background-image: url("../img/brand/tianze-mark.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  box-shadow: none;
}

body.tz-site-shell .brand:hover .logo-mark {
  transform: none;
}

body.tz-site-shell .brand .logo-mark::before,
body.tz-site-shell .brand .logo-mark::after,
body.tz-site-shell .brand .logo-mark svg {
  display: none !important;
}

body.tz-site-shell .brand .logo-text {
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.home-ai-section {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.68fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(54px, 8vw, 104px);
  border-top: 1px solid var(--line-strong);
}

.home-ai-heading {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 24px;
}

.home-ai-heading .home-section-heading {
  padding: 0;
  border: 0;
}

.home-ai-heading h2 {
  max-width: 12ch;
  margin: 6px 0 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(32px, 4.1vw, 58px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.home-ai-intro {
  display: grid;
  gap: 10px;
  max-width: 34rem;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
}

.home-ai-intro p {
  margin: 0;
}

.home-ai-stage {
  grid-column: 2;
  min-width: 0;
  height: clamp(560px, 64vw, 660px);
  max-height: 680px;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--tz-skin-surface-internal);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .22);
}

.home-ai-stage__waiting,
.home-ai-stage__noscript {
  align-self: center;
  justify-self: center;
  margin: 0;
  color: var(--ink-dim);
  font-size: 14px;
}

.home-ai-stage[data-home-ai-ready="true"] > .home-ai-stage__waiting {
  display: none;
}

.home-ai-stage:is([data-home-ai-mode="floating"], [data-home-ai-mode="launcher"]) {
  overflow: visible;
}

@media (max-width: 900px) {
  .home-ai-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 48px;
  }

  .home-ai-heading {
    position: static;
    top: auto;
  }

  .home-ai-heading h2 {
    max-width: 15ch;
  }

  .home-ai-stage {
    grid-column: 1;
    width: 100%;
    height: clamp(540px, 76dvh, 640px);
    max-height: none;
    border-radius: 9px;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .home-ai-section {
    padding-inline: 14px;
  }

  .home-ai-heading h2 {
    font-size: clamp(29px, 9.5vw, 42px);
  }

  .home-ai-stage {
    height: clamp(520px, 74dvh, 610px);
  }
}

/* 5.3 首页返工：站内助手直接占据原星图右栏，页面回到紧凑的个人站布局。 */
body.home-journal,
body.home-journal.tz-site-shell {
  background-color: var(--tz-skin-canvas) !important;
  background-image: none !important;
}

body.home-journal > .bg-mesh {
  display: none;
}

.home-journal-main {
  padding-top: 12px;
  padding-bottom: 76px;
}

.home-journal .wrap {
  width: min(1320px, calc(100% - 64px));
}

.home-journal-hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, .64fr) minmax(560px, 1.36fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(20px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tz-v4-line) 78%, transparent);
  border-radius: 12px;
  background-color: #071719;
  background-image:
    linear-gradient(90deg, rgba(4, 18, 22, .97) 0%, rgba(4, 18, 22, .88) 39%, rgba(4, 18, 22, .38) 100%),
    var(--tz-section-bg-image);
  background-position: center;
  background-size: cover;
  box-shadow: none;
}

.home-journal-hero__copy {
  min-width: 0;
  padding: 12px 0;
}

.home-journal-hero h1 {
  max-width: none;
  margin: 0;
  color: #f5f8f7;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.home-journal-motto {
  color: #70ddc3;
  letter-spacing: .04em;
}

.home-journal-hero__intro {
  max-width: 31rem;
  margin: 24px 0 0;
  color: rgba(235, 243, 242, .8);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.8;
  text-wrap: pretty;
}

.home-journal-actions {
  margin-top: 28px;
}

body.home-journal .home-journal-actions .btn {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 7px;
  background-color: #5bcab1 !important;
  background-image: none !important;
  background-blend-mode: normal !important;
  color: #061716 !important;
  text-shadow: none !important;
  box-shadow: none;
  transform: none;
}

body.home-journal .home-journal-actions .btn:hover,
body.home-journal .home-journal-actions .btn:focus-visible {
  background-color: #78dcc5 !important;
  filter: none;
  transform: none;
}

body.home-journal .home-journal-actions .btn--ghost {
  border-color: rgba(230, 244, 241, .32) !important;
  background-color: rgba(7, 25, 28, .62) !important;
  background-image: none !important;
  color: #eef7f5 !important;
}

.home-journal-hero .home-ai-stage {
  grid-column: 2;
  width: 100%;
  height: clamp(520px, calc(100svh - 164px), 630px);
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(174, 221, 212, .22);
  border-radius: 9px;
  background: #08191d;
  box-shadow: none;
  scroll-margin-top: 96px;
}

.home-current,
.home-reading {
  padding-block: clamp(48px, 5vw, 72px);
}

/* 站点控件使用清楚的实体色，不再把整张图片贴到按钮上。 */
body.tz-site-shell :is(.btn, .nav-toggle, .tzpal-btn, .tz-command-trigger, .tz-status-command) {
  background-color: var(--tz-skin-control) !important;
  background-image: none !important;
  background-blend-mode: normal !important;
  text-shadow: none !important;
  box-shadow: none;
}

body.tz-site-shell .nav a.active::before {
  inset: auto 10px 1px;
  height: 2px;
  border-radius: 0;
  background-color: var(--tz-skin-focus) !important;
  background-image: none !important;
  background-blend-mode: normal !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .home-journal-main {
    padding-top: 16px;
  }

  .home-journal .wrap {
    width: min(100% - 28px, 760px);
  }

  .home-journal-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
    background-position: 62% center;
  }

  .home-journal-hero .home-ai-stage {
    grid-column: 1;
    height: clamp(520px, 72dvh, 610px);
  }
}

@media (max-width: 560px) {
  .home-journal-main {
    padding-top: 12px;
  }

  .home-journal-hero {
    padding: 24px 16px 16px;
    border-radius: 0;
  }

  .home-journal-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .home-journal-hero .home-ai-stage {
    height: clamp(500px, 72dvh, 580px);
  }
}

/* 正文直接出现。旧版逐块淡入会让首屏在加载后短暂发灰，也会拖慢阅读。 */
.js .reveal,
.js .reveal:not(.in),
.js .reveal.in {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}

/* 5.3.0 视觉收口：主页专属背景贯穿全文，内容区只保留轻薄阅读底。 */
body.home-journal > .bg-mesh {
  display: block !important;
  background-color: var(--tz-skin-canvas) !important;
  background-image: var(--tz-skin-scene), var(--tz-section-bg-image) !important;
  background-position: var(--tz-section-bg-position) !important;
  background-size: var(--tz-section-bg-size) !important;
  background-repeat: no-repeat !important;
}

body.home-journal .home-current,
body.home-journal .home-reading {
  border-color: color-mix(in srgb, var(--tz-v4-line) 68%, transparent) !important;
  background-color: color-mix(in srgb, var(--tz-skin-surface) 62%, transparent) !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-palette="porcelain"] body.home-journal .home-current,
html[data-palette="porcelain"] body.home-journal .home-reading {
  background-color: color-mix(in srgb, var(--tz-skin-surface) 74%, transparent) !important;
}

/* 天择OS 移动端：先呈现产品说明与两个入口，移除没有信息增量的装饰卡。 */
@media (max-width: 680px) {
  body.home-journal > .bg-mesh {
    background-image: var(--tz-skin-scene-mobile), var(--tz-section-bg-mobile-image) !important;
    background-position: var(--tz-section-bg-position-mobile) !important;
    background-size: var(--tz-section-bg-size-mobile) !important;
  }

  body.home-journal .home-current,
  body.home-journal .home-reading {
    background-color: color-mix(in srgb, var(--tz-skin-surface-mobile) 70%, transparent) !important;
  }

  html[data-palette="porcelain"] body.home-journal .home-current,
  html[data-palette="porcelain"] body.home-journal .home-reading {
    background-color: color-mix(in srgb, var(--tz-skin-surface-mobile) 78%, transparent) !important;
  }

  body[data-workspace-page="os"] .tz-os-landing-hero {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    margin-top: 12px;
    padding: 22px 18px 18px !important;
    border-radius: 15px !important;
  }

  body[data-workspace-page="os"] .tz-os-kicker {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: .08em;
  }

  body[data-workspace-page="os"] .tz-os-hero-copy h1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: clamp(34px, 10.5vw, 42px) !important;
    line-height: 1.04;
    letter-spacing: -.045em;
  }

  body[data-workspace-page="os"] .tz-os-version {
    margin-left: 0;
    padding: 4px 7px;
    font-size: 9px;
  }

  body[data-workspace-page="os"] .tz-os-hero-copy > p {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.62;
  }

  body[data-workspace-page="os"] .tz-os-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  body[data-workspace-page="os"] .tz-os-hero-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }

  body[data-workspace-page="os"] .tz-os-hero-node {
    display: none !important;
  }

  body[data-workspace-page="os"] .tz-workspace-section {
    padding-top: 30px !important;
    scroll-margin-top: 70px;
  }

  body[data-workspace-page="os"] .section-head {
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  body[data-workspace-page="os"] .section-head h2 {
    font-size: clamp(22px, 6.8vw, 27px);
    line-height: 1.2;
  }

  body[data-workspace-page="os"] .section-head .more {
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .03em;
  }

  body[data-workspace-page="os"] .os-pick {
    gap: 12px;
  }

  body[data-workspace-page="os"] .os-card {
    min-height: 0 !important;
    padding: 18px 16px !important;
    border-radius: 15px !important;
  }

  body[data-workspace-page="os"] .os-card .oc-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 11px;
    border-radius: 12px;
  }

  body[data-workspace-page="os"] .os-card h3 {
    font-size: 19px;
    line-height: 1.3;
  }

  body[data-workspace-page="os"] .os-card .oc-tag {
    margin-bottom: 12px;
    font-size: 11px;
  }

  body[data-workspace-page="os"] .os-card ul {
    margin-bottom: 15px;
  }

  body[data-workspace-page="os"] .os-card li {
    padding-block: 4px;
    font-size: 12px;
    line-height: 1.5;
  }

  body[data-workspace-page="os"] .os-card .btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.4;
  }
}
