/* ==========================================================================
   九游赛场 · 共享站点样式 /assets/site.css
   深空长卷 + 切角档案卡 + 转播信号噪点
   ========================================================================== */

/* 1. Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

table { border-collapse: collapse; }

/* 2. 变量 ----------------------------------------------------------------- */
:root {
  --ink-900: #070A18;
  --navy-800: #0E1533;
  --navy-700: #141D42;
  --violet-600: #5B4BFF;
  --violet-300: #A79BFF;
  --volt-400: #3BF08C;
  --amber-400: #FFC24B;
  --cyan-400: #35D6F0;
  --slate-200: #C7CEE4;
  --white: #FFFFFF;
  --paper-100: #F2F3FA;
  --coral-500: #FF6B6B;

  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --bar-h: 44px;
  --bar-h-slim: 32px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --edge: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --rule: rgba(167, 155, 255, 0.18);
}

/* 3. 基础排版 ------------------------------------------------------------- */
body {
  padding-top: var(--bar-h);
  background: var(--ink-900);
  color: var(--slate-200);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 低频噪点：转播信号质感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.045) 0.5px, transparent 0.7px),
    radial-gradient(rgba(167, 155, 255, 0.05) 0.5px, transparent 0.7px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 3px;
}

h1, h2, h3, h4 { line-height: 1.2; color: var(--white); font-weight: 700; }

p { word-break: break-word; }

::selection { background: rgba(91, 75, 255, 0.5); color: #fff; }

/* 4. 工具类 --------------------------------------------------------------- */
.jy-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.jy-skip {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 400;
  padding: 8px 16px;
  background: var(--volt-400);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-220%);
  transition: transform 0.15s var(--ease);
}
.jy-skip:focus { transform: translateY(0); }

.jy-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 5. 命令栏 --------------------------------------------------------------- */
.jy-cmdbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  color: var(--slate-200);
  background: linear-gradient(180deg, rgba(7, 10, 24, 0.97), rgba(7, 10, 24, 0.88));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.jy-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  overflow: hidden;
}
.jy-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--violet-600), var(--cyan-400) 55%, var(--volt-400));
  transition: width 0.1s linear;
}

.jy-cmdbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
  height: var(--bar-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height 0.18s var(--ease);
}
.jy-cmdbar[data-slim] .jy-cmdbar__inner { height: var(--bar-h-slim); }
.jy-cmdbar[data-slim] .jy-brand__name { font-size: 15px; }

.jy-cmdbar__lead {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.jy-cmdbar__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* 品牌 */
.jy-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: 0 0 auto;
}
.jy-brand__mark {
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, var(--violet-600), var(--cyan-400) 70%, var(--volt-400));
  clip-path: polygon(0 0, 100% 0, 100% 58%, 58% 100%, 0 100%);
  transition: transform 0.15s var(--ease);
}
.jy-brand:hover .jy-brand__mark { transform: rotate(-8deg); }
.jy-brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
}

/* 章节读数 */
.jy-chapter {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding-left: 10px;
  border-left: 2px solid var(--volt-400);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-200);
  white-space: nowrap;
}
.jy-chapter__num { color: var(--volt-400); font-weight: 700; }
.jy-chapter__label { color: rgba(199, 206, 228, 0.85); }

/* 主导航 */
.jy-nav { margin-inline: auto; }
.jy-nav__list { display: flex; align-items: center; gap: 2px; }
.jy-nav__item { display: flex; }
.jy-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--slate-200);
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.jy-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--volt-400);
  transform: translateY(-50%);
  transition: height 0.15s var(--ease);
}
.jy-nav__link:hover { color: var(--white); background: rgba(91, 75, 255, 0.16); }
.jy-nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(91, 75, 255, 0.24);
}
.jy-nav__link[aria-current="page"]::before { height: 16px; }

/* 信息密度分段控件 */
.jy-density {
  display: inline-flex;
  border: 1px solid rgba(167, 155, 255, 0.28);
  border-radius: 2px;
  overflow: hidden;
}
.jy-density__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(199, 206, 228, 0.8);
  font-size: 11px;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.jy-density__btn + .jy-density__btn { border-left: 1px solid rgba(167, 155, 255, 0.28); }
.jy-density__btn:hover { color: var(--white); background: rgba(167, 155, 255, 0.12); }
.jy-density__btn[aria-pressed="true"] {
  background: rgba(91, 75, 255, 0.42);
  color: var(--white);
  box-shadow: inset 2px 0 0 var(--volt-400);
}

/* 搜索入口 */
.jy-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding-left: 10px;
  border-left: 2px solid var(--cyan-400);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-200);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.jy-search:hover { color: var(--cyan-400); }
.jy-search__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(199, 206, 228, 0.55);
}

/* 移动导航按钮 */
.jy-navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(167, 155, 255, 0.3);
  border-radius: 2px;
  color: var(--slate-200);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.jy-navtoggle:hover { border-color: var(--volt-400); color: var(--volt-400); }
.jy-navtoggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.12s var(--ease);
}
.jy-navtoggle__bars::before,
.jy-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s var(--ease);
}
.jy-navtoggle__bars::before { top: -6px; }
.jy-navtoggle__bars::after { top: 6px; }
.jy-navtoggle[aria-expanded="true"] .jy-navtoggle__bars { background: transparent; }
.jy-navtoggle[aria-expanded="true"] .jy-navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.jy-navtoggle[aria-expanded="true"] .jy-navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. 悬浮赛程胶囊 --------------------------------------------------------- */
.jy-fixture {
  position: fixed;
  left: 0;
  top: calc(var(--bar-h) + 28px);
  z-index: 180;
  font-family: var(--font-body);
}
.jy-fixture__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 62px;
  padding: 14px 10px;
  background: linear-gradient(180deg, rgba(14, 21, 51, 0.96), rgba(7, 10, 24, 0.96));
  border: 1px solid rgba(59, 240, 140, 0.35);
  border-left: 3px solid var(--volt-400);
  border-radius: 0 3px 3px 0;
  color: var(--slate-200);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.jy-fixture__btn:hover {
  border-color: var(--volt-400);
  background: linear-gradient(180deg, rgba(20, 29, 66, 0.98), rgba(7, 10, 24, 0.98));
}
.jy-fixture__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt-400);
  box-shadow: 0 0 0 3px rgba(59, 240, 140, 0.18);
}
.jy-fixture__label {
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--white);
}
.jy-fixture__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--volt-400);
}
.jy-fixture__panel {
  position: absolute;
  left: calc(100% + 8px);
  top: 0;
  width: min(324px, calc(100vw - 120px));
  padding: 14px 16px 16px;
  background: var(--navy-800);
  border: 1px solid rgba(167, 155, 255, 0.26);
  border-left: 2px solid var(--volt-400);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  animation: jy-panel-in 0.16s var(--ease);
}
.jy-fixture__panel[hidden] { display: none !important; }
@keyframes jy-panel-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}
.jy-fixture__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.jy-fixture__list { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.jy-fixture__row { display: block; }
.jy-fixture__link {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 10px;
  align-items: baseline;
  padding: 9px 8px;
  text-decoration: none;
  color: var(--slate-200);
  border-left: 2px solid transparent;
  transition: background-color 0.12s var(--ease), border-color 0.12s var(--ease);
}
.jy-fixture__link:hover { background: rgba(91, 75, 255, 0.16); border-left-color: var(--volt-400); }
.jy-fixture__time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--volt-400);
}
.jy-fixture__match { font-size: 13px; color: var(--white); }
.jy-fixture__state {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.jy-fixture__state--preview { color: var(--amber-400); }
.jy-fixture__state--live { color: var(--volt-400); }
.jy-fixture__state--saved { color: var(--cyan-400); }

/* 7. 页脚 ----------------------------------------------------------------- */
.jy-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, var(--ink-900), #050813 65%, #04060F);
  border-top: 1px solid var(--rule);
  color: var(--slate-200);
  font-size: 13px;
}
.jy-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: 0.72;
  background: linear-gradient(90deg, var(--volt-400), var(--violet-600) 38%, var(--cyan-400) 72%, var(--amber-400));
}
.jy-footer__inner { padding-block: clamp(26px, 4vw, 42px); }

.jy-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(199, 206, 228, 0.1);
}
.jy-footer__brand { max-width: 46ch; }
.jy-footer__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.jy-footer__tagline {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(199, 206, 228, 0.75);
}
.jy-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.jy-footer__link {
  font-size: 13px;
  color: var(--slate-200);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.jy-footer__link:hover { color: var(--white); border-bottom-color: var(--violet-300); }

.jy-footer__contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(199, 206, 228, 0.1);
}
.jy-contact { display: flex; flex-direction: column; gap: 3px; }
.jy-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.jy-contact__value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  word-break: break-word;
}
.jy-contact__note { font-size: 11px; color: rgba(199, 206, 228, 0.55); }

.jy-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 16px;
}
.jy-footer__copy,
.jy-footer__icp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(199, 206, 228, 0.65);
}
.jy-region-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid rgba(199, 206, 228, 0.16);
}
.jy-region-mark__flake {
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--slate-200), var(--slate-200)) center / 1px 100% no-repeat,
    linear-gradient(var(--slate-200), var(--slate-200)) center / 100% 1px no-repeat,
    radial-gradient(circle, transparent 0 52%, rgba(199, 206, 228, 0.85) 52% 62%, transparent 62%);
  opacity: 0.85;
}
.jy-region-mark__text {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--slate-200);
}

/* 8. 通用布局组件 --------------------------------------------------------- */
.jy-section {
  position: relative;
  padding-block: clamp(44px, 7vw, 88px);
}
.jy-section--tight { padding-block: clamp(24px, 4vw, 48px); }
.jy-section--pause { padding-block: clamp(72px, 12vw, 160px); }

.jy-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.jy-col-3 { grid-column: span 3; }
.jy-col-4 { grid-column: span 4; }
.jy-col-5 { grid-column: span 5; }
.jy-col-6 { grid-column: span 6; }
.jy-col-7 { grid-column: span 7; }
.jy-col-8 { grid-column: span 8; }
.jy-col-12 { grid-column: span 12; }

/* 章节头 */
.jy-chapter-head { max-width: 68ch; margin-bottom: clamp(20px, 3vw, 34px); }
.jy-kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt-400);
}
.jy-h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}

/* 正文 */
.jy-prose { max-width: 68ch; font-size: 17px; line-height: 1.75; color: var(--slate-200); }
.jy-prose > * + * { margin-top: 1.1em; }
.jy-prose h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-top: 1.7em;
}
.jy-prose a { color: var(--violet-300); text-underline-offset: 3px; }
.jy-prose a:hover { color: var(--volt-400); }
.jy-prose strong { color: var(--white); }
.jy-prose ul, .jy-prose ol { padding-left: 1.25em; }
.jy-prose ul { list-style: disc; }
.jy-prose ol { list-style: decimal; }
.jy-prose li + li { margin-top: 0.5em; }
.jy-prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--cyan-400);
  background: rgba(53, 214, 240, 0.1);
  padding: 1px 5px;
  border-radius: 2px;
}
.jy-lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.7; color: var(--white); }
.jy-note { font-size: 13px; line-height: 1.65; color: rgba(199, 206, 228, 0.66); }
.jy-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* 按钮 */
.jy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.12s var(--ease), background-color 0.15s var(--ease),
              border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.jy-btn--primary {
  background: var(--violet-600);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.jy-btn--primary:hover { background: #6E60FF; transform: translateY(-2px); }
.jy-btn--ghost { border-color: rgba(167, 155, 255, 0.45); color: var(--white); background: transparent; }
.jy-btn--ghost:hover { border-color: var(--volt-400); color: var(--volt-400); transform: translateY(-2px); }

/* 面包屑 */
.jy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(199, 206, 228, 0.7);
}
.jy-breadcrumb a { text-decoration: none; transition: color 0.15s var(--ease); }
.jy-breadcrumb a:hover { color: var(--volt-400); }
.jy-breadcrumb [aria-current="page"] { color: var(--white); }
.jy-breadcrumb__sep { color: var(--violet-300); }

/* 档案卡 */
.jy-panel {
  position: relative;
  padding: 20px 20px 22px;
  background: var(--navy-800);
  border: 1px solid rgba(167, 155, 255, 0.2);
  border-radius: 3px;
  color: var(--slate-200);
  overflow: hidden;
  transition: transform 0.12s var(--ease), border-color 0.12s var(--ease);
}
.jy-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(225deg, rgba(91, 75, 255, 0.55), transparent 62%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.jy-panel:hover { transform: translateY(-2px); border-color: var(--volt-400); }
.jy-panel__tag {
  display: inline-flex;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.jy-panel__spine {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  background: var(--violet-600);
}

/* 色带 */
.jy-band {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.jy-band--schedule { background: var(--volt-400); }
.jy-band--preview { background: var(--amber-400); }
.jy-band--matrix { background: var(--cyan-400); }

/* 标签 */
.jy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.jy-tag--schedule { color: var(--volt-400); }
.jy-tag--preview { color: var(--amber-400); }
.jy-tag--data { color: var(--cyan-400); }

/* 数据小块 */
.jy-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(14, 21, 51, 0.6);
  border-left: 2px solid var(--cyan-400);
}
.jy-stat__value {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.jy-stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-200);
}

/* 对比矩阵 */
.jy-matrix__wrap {
  overflow-x: auto;
  border: 1px solid rgba(167, 155, 255, 0.18);
  background-image:
    linear-gradient(rgba(199, 206, 228, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 206, 228, 0.05) 1px, transparent 1px);
  background-size: 52px 52px, 52px 52px;
}
.jy-matrix { width: 100%; min-width: 640px; font-size: 13px; }
.jy-matrix caption {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.jy-matrix th,
.jy-matrix td {
  height: 52px;
  padding: 0 12px;
  text-align: left;
  border-bottom: 1px solid rgba(199, 206, 228, 0.1);
}
.jy-matrix thead th {
  position: sticky;
  top: var(--bar-h);
  z-index: 2;
  background: var(--navy-800);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.jy-matrix td { font-family: var(--font-mono); color: var(--slate-200); }
.jy-matrix td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.jy-matrix tbody tr:hover { background: rgba(91, 75, 255, 0.1); }

/* 图片容器 */
.jy-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), #0A1128);
  border: 1px solid rgba(167, 155, 255, 0.16);
  border-radius: 3px;
}
.jy-media > img,
.jy-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jy-media--wide { aspect-ratio: 16 / 9; }
.jy-media--tall { aspect-ratio: 4 / 5; }
.jy-media--square { aspect-ratio: 1 / 1; }
.jy-media--cold > img { filter: saturate(0.82) contrast(1.12) hue-rotate(-6deg) brightness(0.94); }
.jy-media--slant { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 18px)); }
.jy-media__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 12px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-200);
  background: linear-gradient(0deg, rgba(7, 10, 24, 0.92), transparent);
}

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

/* 信息密度：紧凑 */
html[data-density="compact"] .jy-section { padding-block: clamp(26px, 4.5vw, 54px); }
html[data-density="compact"] .jy-section--pause { padding-block: clamp(44px, 7vw, 88px); }
html[data-density="compact"] .jy-panel { padding: 14px 16px 16px; }
html[data-density="compact"] .jy-prose { line-height: 1.6; }
html[data-density="compact"] .jy-matrix th,
html[data-density="compact"] .jy-matrix td { height: 40px; }
html[data-density="compact"] .jy-grid { gap: clamp(10px, 1.6vw, 18px); }

/* 9. 响应式 --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .jy-navtoggle { display: inline-flex; }

  .jy-nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--bar-h);
    display: none;
    margin: 0;
    padding: 6px var(--gutter) 18px;
    max-height: calc(100dvh - var(--bar-h));
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(14, 21, 51, 0.99), rgba(7, 10, 24, 0.99));
    border-bottom: 1px solid rgba(167, 155, 255, 0.24);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }
  .jy-cmdbar[data-slim] .jy-nav { top: var(--bar-h-slim); }
  .jy-nav[data-open="true"] { display: block; }
  .jy-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .jy-nav__item { display: block; }
  .jy-nav__link {
    height: 46px;
    padding: 0 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(199, 206, 228, 0.08);
    border-radius: 0;
  }
  .jy-nav__link::before { height: 0; }
  .jy-nav__link[aria-current="page"]::before { height: 22px; }
  .jy-chapter__label { display: none; }
  .jy-search__hint { display: none; }
}

@media (max-width: 1199px) {
  .jy-fixture {
    left: 0; right: 0;
    top: auto;
    bottom: 0;
  }
  .jy-fixture__btn {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
    padding: 9px 16px;
    border-left: 0;
    border-top: 2px solid var(--volt-400);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(14, 21, 51, 0.97), rgba(7, 10, 24, 0.99));
  }
  .jy-fixture__label {
    writing-mode: horizontal-tb;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .jy-fixture__panel {
    left: 0; right: 0;
    top: auto;
    bottom: calc(100% + 6px);
    width: auto;
    border-left: 1px solid rgba(167, 155, 255, 0.26);
    border-top: 2px solid var(--volt-400);
    animation-name: jy-panel-up;
  }
  @keyframes jy-panel-up {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
  .jy-footer { padding-bottom: 58px; }
  .jy-footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .jy-grid > [class*="jy-col-"] { grid-column: span 12; }
  .jy-footer__top { flex-direction: column; }
  .jy-footer__contact { grid-template-columns: minmax(0, 1fr); }
  .jy-matrix thead th { top: var(--bar-h); }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .jy-chapter { display: none; }
  .jy-density { display: none; }
  .jy-brand__name { font-size: 16px; }
  .jy-footer__legal { gap: 6px 14px; }
  .jy-region-mark { margin-left: 0; padding-left: 0; border-left: 0; }
  .jy-prose { font-size: 16px; }
}

@media (max-width: 400px) {
  .jy-search { padding-left: 8px; font-size: 11px; }
  .jy-cmdbar__tools { gap: 6px; }
}

/* 10. 可访问性与动效降级 ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .jy-progress__bar { transition: none !important; }
  .jy-panel:hover,
  .jy-btn:hover { transform: none; }
}
