@charset "utf-8";
/* ============================================================================
   新航娱乐 · 页面层（pages.css）
   仅在单页使用的组合：首页舞台、排期板、货盘轨、达人分层、基地平面、
   投放漏斗、案例墙、登录台、资讯与文章版式、404
   ============================================================================ */

@layer pages {

  /* ==========================================================================
     首页 · 首屏
     ========================================================================== */
  .xh-hero {
    position: relative;
    padding-block: clamp(36px, 5vw, 74px) clamp(30px, 4vw, 56px);
    background:
      linear-gradient(var(--xh-line) 1px, transparent 1px) 0 0 / 100% 96px,
      var(--xh-bone);
    overflow: hidden;
  }

  .xh-hero::before {
    content: "";
    position: absolute;
    left: -14%;
    top: -32%;
    width: 58%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(43, 75, 255, 0.08), transparent 70%);
    pointer-events: none;
  }

  .xh-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(26px, 4vw, 64px);
    align-items: center;
  }

  .xh-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 6px;
    border: 1px solid var(--xh-line-2);
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--xh-ink-2);
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 22px;
  }

  .xh-hero__tag b {
    font-family: var(--xh-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    background: var(--xh-void);
    color: var(--xh-lime);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
  }

  .xh-hero h1 {
    font-size: clamp(2.35rem, 1.3rem + 3.6vw, 4.35rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 20px;
  }

  .xh-hero h1 em {
    position: relative;
    font-style: normal;
    display: inline-block;
    padding: 0 8px;
    z-index: 0;
    white-space: nowrap;
  }

  .xh-hero h1 em::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12% -2px 6%;
    background: var(--xh-lime);
    transform: rotate(-1.2deg);
  }

  .xh-hero .xh-lead { max-width: 50ch; }

  .xh-hero__actions { margin-top: 26px; }

  .xh-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--xh-line);
  }

  .xh-hero__points li {
    position: relative;
    padding-left: 15px;
    font-size: 0.78rem;
    color: var(--xh-ink-3);
  }

  .xh-hero__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--xh-cobalt);
  }

  /* ---------- 首页模拟直播间 ---------- */
  .xh-stage {
    position: relative;
    background: var(--xh-void);
    padding: 12px;
    border-radius: var(--xh-rad-lg);
    box-shadow: var(--xh-shadow);
  }

  .xh-stage__screen {
    position: relative;
    aspect-ratio: 1 / 1.02;
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(217, 255, 63, 0.14), transparent 58%),
      linear-gradient(165deg, #1b2431 0%, #0d1116 64%, #090b0f 100%);
    border: 1px solid var(--xh-void-line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
  }

  .xh-stage__screen::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 26%;
    width: 46%;
    height: 46%;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(245, 241, 232, 0.16), transparent 70%);
    filter: blur(2px);
  }

  .xh-stage__hud {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--xh-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: rgba(245, 241, 232, 0.6);
  }

  .xh-stage__view { margin-left: auto; color: rgba(245, 241, 232, 0.6); }
  .xh-stage__view b { color: var(--xh-lime); font-weight: 700; }

  .xh-stage__podium {
    position: relative;
    z-index: 2;
    align-self: center;
    width: 74%;
    margin-top: -6%;
    padding: 18px 18px 20px;
    background: rgba(10, 12, 16, 0.72);
    border: 1px solid rgba(245, 241, 232, 0.18);
    backdrop-filter: blur(6px);
    text-align: left;
  }

  .xh-stage__podium::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 9px;
    height: 1px;
    background: linear-gradient(90deg, var(--xh-lime), transparent);
  }

  .xh-stage__sku {
    display: block;
    font-family: var(--xh-mono);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    color: var(--xh-lime);
    margin-bottom: 8px;
  }

  .xh-stage__podium strong {
    display: block;
    font-size: 1.18rem;
    color: var(--xh-bone);
    letter-spacing: 0.01em;
    margin-bottom: 4px;
  }

  .xh-stage__podium em {
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(245, 241, 232, 0.66);
  }

  .xh-stage__podium em b {
    color: var(--xh-lime);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
  }

  .xh-stage__chat {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 5px;
    font-size: 0.66rem;
    color: rgba(245, 241, 232, 0.62);
    padding-bottom: 6px;
  }

  .xh-stage__chat p { margin: 0; }
  .xh-stage__chat b { color: var(--xh-bone); font-weight: 600; margin-right: 5px; }

  .xh-stage__bars {
    position: absolute;
    right: 14px;
    bottom: 52px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 34px;
    opacity: 0.5;
  }

  .xh-stage__bars i {
    width: 3px;
    background: var(--xh-lime);
    animation: xh-eq 1.8s var(--xh-ease) infinite alternate;
  }

  .xh-stage__bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
  .xh-stage__bars i:nth-child(2) { height: 78%; animation-delay: 0.2s; }
  .xh-stage__bars i:nth-child(3) { height: 52%; animation-delay: 0.35s; }
  .xh-stage__bars i:nth-child(4) { height: 94%; animation-delay: 0.5s; }
  .xh-stage__bars i:nth-child(5) { height: 62%; animation-delay: 0.65s; }
  .xh-stage__bars i:nth-child(6) { height: 36%; animation-delay: 0.8s; }

  @keyframes xh-eq {
    from { transform: scaleY(0.55); opacity: 0.55; }
    to { transform: scaleY(1); opacity: 1; }
  }

  .xh-stage__foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 4px 1px;
    font-family: var(--xh-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(245, 241, 232, 0.5);
  }

  .xh-stage__badge {
    position: absolute;
    right: -14px;
    top: 18%;
    z-index: 3;
    background: var(--xh-lime);
    color: var(--xh-void);
    padding: 10px 12px;
    transform: rotate(3deg);
    box-shadow: 0 12px 24px -16px rgba(10, 12, 16, 0.9);
  }

  .xh-stage__badge b {
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .xh-stage__badge span {
    font-family: var(--xh-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  /* ---------- 首屏数据带 ---------- */
  .xh-hero__band {
    margin-top: clamp(30px, 4vw, 60px);
    background: var(--xh-void);
    color: var(--xh-bone);
    padding-block: 26px 18px;
  }

  /* ==========================================================================
     首页 · 排期板
     ========================================================================== */
  .xh-board {
    border: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.4);
  }

  .xh-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--xh-line-2);
    font-family: var(--xh-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--xh-ink-3);
  }

  .xh-board__row {
    display: grid;
    grid-template-columns: 96px 108px minmax(0, 1fr) 150px 96px;
    gap: 14px;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--xh-line);
    font-size: 0.85rem;
    transition: background var(--xh-fast);
  }

  .xh-board__row:last-child { border-bottom: 0; }
  .xh-board__row:hover { background: rgba(43, 75, 255, 0.04); }
  .xh-board__row time { font-family: var(--xh-mono); font-size: 0.76rem; color: var(--xh-ink-2); }
  .xh-board__row span { color: var(--xh-ink-3); font-size: 0.8rem; }
  .xh-board__row strong { color: var(--xh-ink); font-weight: 700; }

  .xh-board__state {
    justify-self: end;
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border: 1px solid var(--xh-line-2);
    color: var(--xh-ink-3);
    white-space: nowrap;
  }

  .xh-board__state--live {
    background: var(--xh-lime);
    border-color: var(--xh-lime);
    color: var(--xh-void);
    font-weight: 700;
  }

  /* ==========================================================================
     首页 · 货盘横向轨
     ========================================================================== */
  .xh-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(232px, 1fr);
    gap: var(--xh-gap);
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--xh-line-3) transparent;
    scrollbar-width: thin;
  }

  .xh-rail > * { scroll-snap-align: start; }

  .xh-railcard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    min-height: 212px;
    border: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.44);
    transition: border-color var(--xh-fast), background var(--xh-fast);
  }

  .xh-railcard:hover { border-color: var(--xh-line-3); background: rgba(255, 255, 255, 0.72); }

  .xh-railcard__idx {
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--xh-cobalt);
  }

  .xh-railcard h3 { font-size: 1.02rem; }

  .xh-railcard p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--xh-ink-3);
    margin: 0;
  }

  .xh-railcard__meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--xh-line-2);
    font-family: var(--xh-mono);
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    color: var(--xh-ink-3);
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  /* ==========================================================================
     通用 · 双栏粘性布局
     ========================================================================== */
  .xh-sticky {
    position: sticky;
    top: calc(var(--xh-top-h) + var(--xh-status-h) + 26px);
  }

  .xh-sticky__note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--xh-line);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--xh-ink-3);
  }

  /* ==========================================================================
     通用 · 指标条（浅色）
     ========================================================================== */
  .xh-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--xh-line-2);
    border-bottom: 1px solid var(--xh-line-2);
  }

  .xh-metric {
    padding: 22px 24px 22px 0;
    border-right: 1px solid var(--xh-line);
  }

  .xh-metric:last-child { border-right: 0; }
  .xh-metric + .xh-metric { padding-left: 24px; }

  .xh-metric b {
    display: block;
    font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .xh-metric span {
    display: block;
    margin-top: 6px;
    font-size: 0.76rem;
    color: var(--xh-ink-3);
  }

  /* ==========================================================================
     带货直播页
     ========================================================================== */
  .xh-shift {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--xh-line);
  }

  .xh-shift__time {
    font-family: var(--xh-mono);
    font-size: 0.72rem;
    color: var(--xh-cobalt);
    letter-spacing: 0.06em;
    padding-top: 3px;
  }

  .xh-shift h3 { font-size: 1rem; margin-bottom: 5px; }
  .xh-shift p { font-size: 0.86rem; color: var(--xh-ink-2); margin: 0; }

  .xh-table--shift td:first-child {
    font-family: var(--xh-mono);
    font-size: 0.76rem;
    color: var(--xh-cobalt);
    white-space: nowrap;
  }

  /* ==========================================================================
     选品页 · 货盘三层
     ========================================================================== */
  .xh-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--xh-line); }

  .xh-tier {
    position: relative;
    padding: 28px 24px 26px;
    border-right: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.36);
  }

  .xh-tier:last-child { border-right: 0; }
  .xh-tier:nth-child(2) { background: var(--xh-bone-1); }

  .xh-tier__no {
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--xh-ink-3);
  }

  .xh-tier h3 { margin: 10px 0 8px; font-size: 1.15rem; }

  .xh-tier p { font-size: 0.85rem; color: var(--xh-ink-2); }

  .xh-tier__bar {
    margin-top: 16px;
    height: 4px;
    background: var(--xh-bone-3);
    position: relative;
  }

  .xh-tier__bar i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--xh-cobalt);
  }

  .xh-tier:nth-child(1) .xh-tier__bar i { width: 58%; }
  .xh-tier:nth-child(2) .xh-tier__bar i { width: 30%; }
  .xh-tier:nth-child(3) .xh-tier__bar i { width: 12%; background: var(--xh-coral); }

  .xh-tier__bar span {
    display: block;
    margin-top: 7px;
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    color: var(--xh-ink-3);
  }

  .xh-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--xh-line);
    border-left: 1px solid var(--xh-line);
  }

  .xh-cat {
    padding: 18px;
    border-right: 1px solid var(--xh-line);
    border-bottom: 1px solid var(--xh-line);
    min-height: 128px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background var(--xh-fast);
  }

  .xh-cat:hover { background: rgba(255, 255, 255, 0.55); }

  .xh-cat b { font-size: 0.94rem; }
  .xh-cat span { font-size: 0.76rem; line-height: 1.65; color: var(--xh-ink-3); }
  .xh-cat em {
    margin-top: auto;
    font-family: var(--xh-mono);
    font-style: normal;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--xh-cobalt);
  }

  /* ==========================================================================
     达人页 · 分层矩阵
     ========================================================================== */
  .xh-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--xh-gap);
  }

  .xh-matrix__cell {
    padding: 26px 22px;
    border: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.4);
  }

  .xh-matrix__cell h3 { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
  .xh-matrix__cell h3 small {
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--xh-ink-3);
  }

  .xh-matrix__cell p { font-size: 0.84rem; color: var(--xh-ink-2); }

  .xh-matrix__cell ul { margin-top: 12px; display: grid; gap: 6px; }
  .xh-matrix__cell li {
    font-size: 0.78rem;
    color: var(--xh-ink-3);
    padding-left: 13px;
    position: relative;
  }
  .xh-matrix__cell li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--xh-cobalt);
  }

  .xh-course {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    border-top: 1px solid var(--xh-line-2);
  }

  .xh-course th,
  .xh-course td {
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid var(--xh-line);
    vertical-align: top;
  }

  .xh-course th {
    font-family: var(--xh-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--xh-ink-3);
    font-weight: 600;
    white-space: nowrap;
  }

  .xh-course td:first-child {
    font-family: var(--xh-mono);
    font-size: 0.72rem;
    color: var(--xh-cobalt);
    white-space: nowrap;
  }

  /* ==========================================================================
     基地页 · 平面与房间
     ========================================================================== */
  .xh-floor {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 84px;
    gap: 6px;
    background: var(--xh-void);
    padding: 14px;
    border: 1px solid var(--xh-void-line-2);
  }

  .xh-room {
    position: relative;
    border: 1px solid rgba(245, 241, 232, 0.22);
    background: rgba(245, 241, 232, 0.04);
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(245, 241, 232, 0.72);
    transition: background var(--xh-fast), border-color var(--xh-fast);
  }

  .xh-room:hover { background: rgba(217, 255, 63, 0.1); border-color: var(--xh-lime); }

  .xh-room b { font-size: 0.76rem; color: var(--xh-bone); font-weight: 600; }
  .xh-room span { font-family: var(--xh-mono); font-size: 0.55rem; letter-spacing: 0.08em; color: rgba(245, 241, 232, 0.45); }

  .xh-room--live {
    background: var(--xh-lime-wash);
    border-color: var(--xh-lime);
  }

  .xh-room--live b { color: var(--xh-lime); }

  .xh-room--a { grid-column: span 5; grid-row: span 2; }
  .xh-room--b { grid-column: span 4; }
  .xh-room--c { grid-column: span 3; }
  .xh-room--d { grid-column: span 3; grid-row: span 2; }
  .xh-room--e { grid-column: span 4; }
  .xh-room--f { grid-column: span 3; }
  .xh-room--g { grid-column: span 2; }
  .xh-room--h { grid-column: span 4; }
  .xh-room--i { grid-column: span 5; }

  .xh-floor__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 12px;
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: rgba(245, 241, 232, 0.55);
  }

  .xh-floor__legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid var(--xh-lime);
    background: var(--xh-lime-wash);
    margin-right: 6px;
    vertical-align: -1px;
  }

  /* ==========================================================================
     投流页 · 漏斗
     ========================================================================== */
  .xh-funnel { display: grid; gap: 8px; }

  .xh-funnel__row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    font-size: 0.82rem;
  }

  .xh-funnel__row > span {
    font-family: var(--xh-mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: var(--xh-ink-3);
    text-align: right;
  }

  .xh-funnel__bar {
    position: relative;
    height: 46px;
    background: var(--xh-bone-2);
    overflow: hidden;
  }

  .xh-funnel__bar i {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--xh-void);
  }

  .xh-funnel__bar b {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--xh-bone);
    letter-spacing: 0.02em;
  }

  .xh-funnel__bar b em {
    font-family: var(--xh-mono);
    font-style: normal;
    font-size: 0.7rem;
    color: var(--xh-lime);
  }

  .xh-funnel__row:nth-child(1) .xh-funnel__bar i { width: 100%; }
  .xh-funnel__row:nth-child(2) .xh-funnel__bar i { width: 78%; background: #1b2432; }
  .xh-funnel__row:nth-child(3) .xh-funnel__bar i { width: 52%; background: #27324a; }
  .xh-funnel__row:nth-child(4) .xh-funnel__bar i { width: 31%; background: var(--xh-cobalt); }
  .xh-funnel__row:nth-child(5) .xh-funnel__bar i { width: 18%; background: var(--xh-lime-2); }
  .xh-funnel__row:nth-child(5) .xh-funnel__bar b { color: var(--xh-void); }
  .xh-funnel__row:nth-child(5) .xh-funnel__bar b em { color: var(--xh-void); }

  /* ==========================================================================
     案例墙
     ========================================================================== */
  .xh-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--xh-gap);
  }

  .xh-case {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(22px, 2.4vw, 32px);
    border: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.42);
    transition: border-color var(--xh-fast), transform var(--xh-fast), box-shadow var(--xh-fast);
  }

  .xh-case:hover {
    border-color: var(--xh-line-3);
    transform: translateY(-3px);
    box-shadow: var(--xh-shadow-2);
  }

  .xh-case__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-family: var(--xh-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    color: var(--xh-ink-3);
  }

  .xh-case h3 { font-size: 1.14rem; }
  .xh-case p { font-size: 0.86rem; color: var(--xh-ink-2); }

  .xh-case__nums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--xh-line);
  }

  .xh-case__nums b {
    display: block;
    font-size: 1.06rem;
    letter-spacing: -0.02em;
  }

  .xh-case__nums span {
    display: block;
    font-size: 0.66rem;
    color: var(--xh-ink-3);
    margin-top: 2px;
  }

  /* ==========================================================================
     开户页 · 资料清单
     ========================================================================== */
  .xh-doclist { display: grid; gap: 0; border-top: 1px solid var(--xh-line-2); }

  .xh-doc {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 118px;
    gap: 14px;
    align-items: center;
    padding: 16px 4px;
    border-bottom: 1px solid var(--xh-line);
    font-size: 0.88rem;
  }

  .xh-doc__idx {
    font-family: var(--xh-mono);
    font-size: 0.68rem;
    color: var(--xh-cobalt);
  }

  .xh-doc b { font-weight: 600; }
  .xh-doc span { font-size: 0.76rem; color: var(--xh-ink-3); }

  .xh-doc__tag {
    justify-self: end;
    font-family: var(--xh-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border: 1px solid var(--xh-line-2);
    color: var(--xh-ink-3);
    white-space: nowrap;
  }

  .xh-doc__tag--must { border-color: var(--xh-coral); color: #b8381a; background: var(--xh-coral-wash); }

  /* ==========================================================================
     登录页 · 工作台
     ========================================================================== */
  .xh-portal {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(26px, 5vw, 72px);
    align-items: start;
  }

  .xh-login {
    background: var(--xh-void);
    color: var(--xh-bone);
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid var(--xh-void-line-2);
    position: relative;
  }

  .xh-login::before {
    content: "SECURE SIGN-IN";
    position: absolute;
    right: 16px;
    top: 14px;
    font-family: var(--xh-mono);
    font-size: 0.54rem;
    letter-spacing: 0.16em;
    color: rgba(245, 241, 232, 0.28);
  }

  .xh-login h2 { font-size: 1.4rem; margin-bottom: 6px; }
  .xh-login > p { font-size: 0.82rem; color: rgba(245, 241, 232, 0.6); }

  .xh-login__tabs {
    display: flex;
    gap: 0;
    margin: 22px 0 18px;
    border-bottom: 1px solid var(--xh-void-line);
  }

  .xh-login__tabs button {
    padding: 9px 16px;
    font-size: 0.82rem;
    color: rgba(245, 241, 232, 0.5);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--xh-fast), border-color var(--xh-fast);
  }

  .xh-login__tabs button.is-active {
    color: var(--xh-lime);
    border-bottom-color: var(--xh-lime);
  }

  .xh-login form { display: grid; gap: 14px; }

  .xh-field { display: grid; gap: 6px; }

  .xh-field label {
    font-size: 0.74rem;
    color: rgba(245, 241, 232, 0.66);
    letter-spacing: 0.02em;
  }

  .xh-field input,
  .xh-field select,
  .xh-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: rgba(245, 241, 232, 0.04);
    border: 1px solid var(--xh-void-line-2);
    border-radius: 1px;
    color: var(--xh-bone);
    font-size: 0.88rem;
    transition: border-color var(--xh-fast), background var(--xh-fast);
  }

  .xh-field input::placeholder,
  .xh-field textarea::placeholder { color: rgba(245, 241, 232, 0.3); }

  .xh-field input:focus,
  .xh-field select:focus,
  .xh-field textarea:focus {
    outline: none;
    border-color: var(--xh-lime);
    background: rgba(245, 241, 232, 0.07);
  }

  .xh-login__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.74rem;
    color: rgba(245, 241, 232, 0.55);
    margin-top: 2px;
  }

  .xh-login__row label { display: inline-flex; align-items: center; gap: 7px; }
  .xh-login__row input { width: 14px; height: 14px; accent-color: var(--xh-lime); }

  .xh-login__note {
    margin-top: 14px;
    padding: 10px 12px;
    border-left: 2px solid var(--xh-lime);
    background: rgba(217, 255, 63, 0.07);
    font-size: 0.7rem;
    line-height: 1.7;
    color: rgba(245, 241, 232, 0.6);
  }

  .xh-portal__roles { display: grid; gap: 12px; }

  .xh-role {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.42);
  }

  .xh-role__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--xh-void);
    color: var(--xh-lime);
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .xh-role h3 { font-size: 0.96rem; margin-bottom: 3px; }
  .xh-role p { font-size: 0.8rem; color: var(--xh-ink-3); margin: 0; }

  /* ==========================================================================
     关于页
     ========================================================================== */
  .xh-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--xh-gap); }

  .xh-value {
    padding: 24px;
    background: var(--xh-void);
    color: var(--xh-bone);
  }

  .xh-value b {
    display: block;
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--xh-lime);
    margin-bottom: 12px;
  }

  .xh-value h3 { font-size: 1.05rem; margin-bottom: 8px; }
  .xh-value p { font-size: 0.82rem; color: rgba(245, 241, 232, 0.7); margin: 0; }

  /* ==========================================================================
     联系页
     ========================================================================== */
  .xh-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(26px, 5vw, 64px);
    align-items: start;
  }

  .xh-contact__form {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 3vw, 34px);
    background: var(--xh-void);
    color: var(--xh-bone);
  }

  .xh-contact__form h2 { font-size: 1.35rem; margin-bottom: 4px; }
  .xh-contact__form > p { font-size: 0.8rem; color: rgba(245, 241, 232, 0.6); }

  .xh-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .xh-form textarea { min-height: 108px; resize: vertical; }

  .xh-info { display: grid; gap: 18px; }

  .xh-info__item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--xh-line);
  }

  .xh-info__item b {
    display: block;
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--xh-cobalt);
    margin-bottom: 5px;
  }

  .xh-info__item p,
  .xh-info__item a { font-size: 0.92rem; color: var(--xh-ink-2); }
  .xh-info__item a:hover { color: var(--xh-cobalt); }

  /* ==========================================================================
     资讯列表
     ========================================================================== */
  .xh-news { border-top: 1px solid var(--xh-line-2); }

  .xh-news__item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: clamp(14px, 2vw, 30px);
    align-items: start;
    padding: 24px 4px;
    border-bottom: 1px solid var(--xh-line);
    transition: background var(--xh-fast), padding-left var(--xh-fast);
  }

  .xh-news__item:hover { background: rgba(255, 255, 255, 0.5); padding-left: 14px; }

  .xh-news__date {
    font-family: var(--xh-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--xh-ink-3);
    padding-top: 4px;
  }

  .xh-news__item h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .xh-news__item p { font-size: 0.85rem; color: var(--xh-ink-2); margin: 0; max-width: 66ch; }

  .xh-news__more {
    font-family: var(--xh-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    color: var(--xh-cobalt);
    white-space: nowrap;
    padding-top: 5px;
  }

  .xh-brief { display: grid; gap: 0; border-top: 1px solid var(--xh-line); }
  .xh-brief li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--xh-line);
    font-size: 0.84rem;
    color: var(--xh-ink-2);
  }
  .xh-brief time { font-family: var(--xh-mono); font-size: 0.68rem; color: var(--xh-ink-3); }

  /* ==========================================================================
     文章页
     ========================================================================== */
  .xh-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 264px;
    gap: clamp(26px, 4vw, 64px);
    align-items: start;
  }

  .xh-prose { font-size: 1rem; line-height: 1.95; color: var(--xh-ink-2); }
  .xh-prose > * + * { margin-top: 18px; }
  .xh-prose h2 {
    font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.68rem);
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--xh-line);
    color: var(--xh-ink);
  }
  .xh-prose h3 { margin-top: 28px; font-size: 1.1rem; color: var(--xh-ink); }
  .xh-prose ul { display: grid; gap: 8px; padding-left: 2px; }
  .xh-prose ul li { position: relative; padding-left: 20px; }
  .xh-prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--xh-lime);
    border: 1px solid var(--xh-lime-2);
  }
  .xh-prose ol { counter-reset: xh-li; display: grid; gap: 10px; }
  .xh-prose ol li { position: relative; padding-left: 30px; counter-increment: xh-li; }
  .xh-prose ol li::before {
    content: counter(xh-li, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    font-family: var(--xh-mono);
    font-size: 0.68rem;
    color: var(--xh-cobalt);
  }
  .xh-prose blockquote { margin: 26px 0; }
  .xh-prose table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
  .xh-prose th, .xh-prose td { border: 1px solid var(--xh-line); padding: 10px 12px; text-align: left; }
  .xh-prose th { background: var(--xh-bone-1); font-family: var(--xh-mono); font-size: 0.68rem; letter-spacing: 0.06em; }

  .xh-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 14px 0;
    border-top: 1px solid var(--xh-line);
    border-bottom: 1px solid var(--xh-line);
    font-family: var(--xh-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    color: var(--xh-ink-3);
    margin-bottom: 26px;
  }

  .xh-toc {
    position: sticky;
    top: calc(var(--xh-top-h) + var(--xh-status-h) + 26px);
    border: 1px solid var(--xh-line);
    background: rgba(255, 255, 255, 0.45);
    padding: 20px;
  }

  .xh-toc h2 {
    font-family: var(--xh-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    color: var(--xh-ink-3);
    margin-bottom: 12px;
    text-transform: uppercase;
  }

  .xh-toc ol { display: grid; gap: 9px; counter-reset: xh-toc; }
  .xh-toc li { counter-increment: xh-toc; }
  .xh-toc a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 4px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--xh-ink-2);
    transition: color var(--xh-fast);
  }
  .xh-toc a::before {
    content: counter(xh-toc, decimal-leading-zero);
    font-family: var(--xh-mono);
    font-size: 0.62rem;
    color: var(--xh-ink-4);
  }
  .xh-toc a:hover { color: var(--xh-cobalt); }

  .xh-toc__note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--xh-line);
    font-size: 0.72rem;
    line-height: 1.75;
    color: var(--xh-ink-3);
  }

  /* ==========================================================================
     404
     ========================================================================== */
  .xh-404 {
    min-height: 72vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: 70px;
    background:
      linear-gradient(var(--xh-line) 1px, transparent 1px) 0 0 / 100% 96px,
      var(--xh-bone);
  }

  .xh-404__code {
    font-family: var(--xh-mono);
    font-size: clamp(4rem, 16vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 1px var(--xh-ink);
    margin-bottom: 18px;
  }

  .xh-404 p { max-width: 44ch; margin-inline: auto; color: var(--xh-ink-3); }

  /* ==========================================================================
     响应式
     ========================================================================== */
  @media (max-width: 1080px) {
    .xh-hero__grid { grid-template-columns: 1fr; }
    .xh-stage { max-width: 520px; }
    .xh-case__nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xh-post { grid-template-columns: 1fr; }
    .xh-toc { position: static; }
    .xh-contact { grid-template-columns: 1fr; }
    .xh-portal { grid-template-columns: 1fr; }
    .xh-tiers { grid-template-columns: 1fr; }
    .xh-tier { border-right: 0; border-bottom: 1px solid var(--xh-line); }
    .xh-tier:last-child { border-bottom: 0; }
    .xh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xh-matrix { grid-template-columns: 1fr; }
    .xh-values { grid-template-columns: 1fr; }
  }

  @media (max-width: 780px) {
    .xh-hero__band { padding-block: 22px 14px; }
    .xh-stage__podium { width: 86%; }
    .xh-board__row {
      grid-template-columns: 1fr auto;
      gap: 4px 12px;
      padding: 13px 16px;
    }
    .xh-board__row time { grid-column: 1; }
    .xh-board__row strong { grid-column: 1; }
    .xh-board__row span:nth-of-type(1) { grid-column: 1; }
    .xh-board__row span:nth-of-type(2) { grid-column: 1; }
    .xh-board__state { grid-column: 2; grid-row: 1; }
    .xh-cases { grid-template-columns: 1fr; }
    .xh-metrics { grid-template-columns: 1fr; }
    .xh-metric { border-right: 0; border-bottom: 1px solid var(--xh-line); padding: 16px 0; }
    .xh-metric + .xh-metric { padding-left: 0; }
    .xh-metric:last-child { border-bottom: 0; }
    .xh-news__item { grid-template-columns: 1fr; gap: 6px; }
    .xh-news__more { padding-top: 0; }
    .xh-floor { grid-auto-rows: 70px; }
    .xh-room--a, .xh-room--b, .xh-room--c, .xh-room--d,
    .xh-room--e, .xh-room--f, .xh-room--g, .xh-room--h, .xh-room--i {
      grid-column: span 6;
      grid-row: span 1;
    }
    .xh-doc { grid-template-columns: 30px minmax(0, 1fr); }
    .xh-doc__tag { grid-column: 2; justify-self: start; }
    .xh-funnel__row { grid-template-columns: 76px minmax(0, 1fr); }
    .xh-form__grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 560px) {
    .xh-hero h1 { font-size: 2.1rem; }
    .xh-stage__badge { right: -6px; }
    .xh-cats { grid-template-columns: 1fr; }
    .xh-news__date { font-size: 0.62rem; }
    .xh-portal { gap: 24px; }
  }
}
