/* ============================================================
   乐鱼赛场 / assets/site.css
   赛场战术板 + 数据仪表盘：堆叠面板、纸张描边、珠宝色分区
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

ul, ol { padding: 0; }

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

button { font: inherit; color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #08192B;
  --panel: #102A44;
  --panel-2: #0C2137;
  --violet: #22224A;
  --teal: #0B3B3C;
  --wine: #5E1C34;
  --cyan: #2BE3D2;
  --coral: #FF6B4A;
  --paper: #F2EFE7;
  --text: #E9EEF4;
  --muted: #8296AC;

  --cold-1: #8FE9F2;
  --cold-2: #4CC3E0;
  --cold-3: #2C7FC2;
  --cold-4: #1B3F86;

  --warm-1: #FFC08A;
  --warm-2: #FF9A62;
  --warm-3: #E2603F;
  --warm-4: #B23830;

  --line: rgba(130, 150, 172, .22);
  --line-2: rgba(130, 150, 172, .4);
  --line-cyan: rgba(43, 227, 210, .52);

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

  --wrap: 1280px;
  --rail: 240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基底与中文排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(43, 227, 210, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 227, 210, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); }

strong { font-weight: 800; }

::selection { background: var(--cyan); color: #06231F; }

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

/* ---------- 4. 容器 / 网格 ---------- */
.ly-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.ly-main {
  display: block;
  padding-block: 28px 0;
}

.ly-section {
  margin-block: 0 56px;
}

.ly-grid {
  display: grid;
  gap: 18px;
}

.ly-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ly-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ly-grid--asym { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.ly-grid--rail { grid-template-columns: var(--rail) minmax(0, 1fr); align-items: start; }

/* ---------- 5. 跳过链接 ---------- */
.ly-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  display: inline-block;
  padding: 11px 18px;
  background: var(--paper);
  color: #08192B;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 4px 4px 0 rgba(43, 227, 210, .5);
  transition: top .18s var(--ease);
}

.ly-skip:focus {
  top: 14px;
}

/* ---------- 6. 头部 ---------- */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 25, 43, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.ly-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(43, 227, 210, 0) 46%, rgba(255, 107, 74, .75) 82%, rgba(255, 107, 74, 0));
  opacity: .85;
}

.ly-header[data-stuck] {
  background: rgba(6, 20, 35, .97);
  box-shadow: 0 14px 28px -22px rgba(0, 0, 0, .95);
}

.ly-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  transition: padding .2s var(--ease);
}

.ly-header[data-stuck] .ly-header__inner {
  padding-block: 8px;
}

/* 品牌浮岛 */
.ly-brand {
  grid-column: 1;
  justify-self: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 8px 15px 8px 11px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(43, 227, 210, .12), rgba(16, 42, 68, .92));
  box-shadow: 4px 4px 0 rgba(43, 227, 210, .16);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.ly-brand:hover,
.ly-brand:focus-visible {
  border-color: var(--cyan);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(43, 227, 210, .24);
}

.ly-brand__mark {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(242, 239, 231, .9) 46%, rgba(242, 239, 231, .9) 54%, transparent 54%),
    linear-gradient(180deg, transparent 46%, rgba(242, 239, 231, .9) 46%, rgba(242, 239, 231, .9) 54%, transparent 54%),
    linear-gradient(135deg, var(--cyan), var(--coral));
  box-shadow: inset 0 0 0 1px rgba(242, 239, 231, .28);
}

.ly-brand__name {
  grid-column: 2;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.ly-brand__tag {
  grid-column: 2;
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: .1em;
  color: var(--muted);
}

/* 导航胶囊 */
.ly-nav {
  grid-column: 2;
  justify-self: center;
  padding: 5px;
  background: rgba(16, 42, 68, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

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

.ly-nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: #C6D4E2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}

.ly-nav__link:hover,
.ly-nav__link:focus-visible {
  color: var(--text);
  background: rgba(43, 227, 210, .13);
}

.ly-nav__link[aria-current="page"] {
  color: #06231F;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(43, 227, 210, .55), 0 8px 18px -12px var(--cyan);
}

/* 移动导航按钮 */
.ly-navtoggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  background: rgba(16, 42, 68, .85);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}

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

.ly-navtoggle__bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.ly-navtoggle__bar::before,
.ly-navtoggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .18s var(--ease), top .18s var(--ease);
}

.ly-navtoggle__bar::before { top: -6px; }
.ly-navtoggle__bar::after { top: 6px; }

.ly-navtoggle[aria-expanded="true"] { border-color: var(--coral); }

.ly-navtoggle[aria-expanded="true"] .ly-navtoggle__bar { background: transparent; }

.ly-navtoggle[aria-expanded="true"] .ly-navtoggle__bar::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--coral);
}

.ly-navtoggle[aria-expanded="true"] .ly-navtoggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--coral);
}

/* 右侧控制台 */
.ly-console {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ly-console__meter {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 42, 68, .6);
}

.ly-console__key {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.ly-console__val {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cyan);
}

.ly-console__unit {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* 轮次选择器 */
.ly-picker { position: relative; }

.ly-picker__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 107, 74, .5);
  border-radius: 999px;
  background: rgba(255, 107, 74, .13);
  color: #FFD9CD;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.ly-picker__toggle::-webkit-details-marker { display: none; }

.ly-picker__toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.ly-picker__toggle:hover {
  background: rgba(255, 107, 74, .24);
  border-color: var(--coral);
  color: #FFFFFF;
}

.ly-picker[open] > .ly-picker__toggle {
  background: var(--coral);
  border-color: var(--coral);
  color: #2A0C05;
}

.ly-picker__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 95;
  width: min(304px, calc(100vw - 32px));
  padding: 15px;
  background: var(--panel);
  border: 1px solid var(--line-cyan);
  border-radius: 4px;
  box-shadow: 7px 7px 0 rgba(43, 227, 210, .17), 0 26px 50px -30px rgba(0, 0, 0, .95);
}

.ly-picker__note {
  margin-bottom: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.ly-picker__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 12px;
}

.ly-round {
  padding: 6px 0;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  text-align: center;
  color: #B9C9D9;
  background: rgba(8, 25, 43, .72);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease), background-color .15s var(--ease);
}

.ly-round:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(43, 227, 210, .1);
}

.ly-round[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #06231F;
  font-weight: 700;
}

.ly-picker__link {
  position: relative;
  display: block;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.ly-picker__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.ly-picker__link:hover::after,
.ly-picker__link:focus-visible::after { transform: scaleX(1); }

/* ---------- 7. 页脚 ---------- */
.ly-footer {
  position: relative;
  margin-top: 72px;
  background: linear-gradient(180deg, #061424 0%, #040E1A 100%);
  border-top: 1px solid var(--line-cyan);
}

.ly-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--coral) 42%, rgba(255, 107, 74, 0) 88%);
}

.ly-footer__inner {
  padding-block: 58px 28px;
}

.ly-footer__lead {
  max-width: 780px;
  margin-bottom: 42px;
}

.ly-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.ly-footer__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--paper);
  color: #08192B;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 2px;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 rgba(94, 28, 52, .8);
}

.ly-footer__note {
  max-width: 64ch;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.ly-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.ly-footer__title {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
}

.ly-footer__title::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 9px;
  background: var(--coral);
}

.ly-footer__list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.ly-footer__link {
  position: relative;
  display: inline-block;
  color: #B9C9D9;
  font-size: 14px;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.ly-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.ly-footer__link:hover,
.ly-footer__link:focus-visible { color: var(--cyan); }

.ly-footer__link:hover::after,
.ly-footer__link:focus-visible::after { transform: scaleX(1); }

.ly-footer__text {
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted);
}

.ly-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.ly-footer__copy {
  font-family: var(--mono);
  letter-spacing: .02em;
}

.ly-footer__icp {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  color: #A9B9CB;
}

.ly-totop {
  padding: 8px 17px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: var(--cyan);
  color: #06231F;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.ly-totop:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(255, 107, 74, .55);
}

/* ---------- 8. 通用按钮 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--cyan);
  border-radius: 3px;
  background: var(--cyan);
  color: #06231F;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.ly-btn:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 rgba(255, 107, 74, .5);
}

.ly-btn--coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #2A0C05;
}

.ly-btn--coral:hover { box-shadow: 5px 5px 0 rgba(43, 227, 210, .45); }

.ly-btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}

.ly-btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 5px 5px 0 rgba(43, 227, 210, .2);
}

/* ---------- 9. 堆叠面板 ---------- */
.ly-panel {
  position: relative;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.ly-panel:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 6px 8px 0 rgba(43, 227, 210, .14);
}

.ly-panel--slab { padding: 28px; }

.ly-panel--slip {
  padding: 15px;
  background: rgba(16, 42, 68, .62);
  box-shadow: 4px 4px 0 rgba(8, 25, 43, .7);
}

.ly-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ly-panel__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.ly-panel__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* 珠宝色分区 */
.ly-zone--violet {
  background-color: var(--violet);
  border-color: rgba(129, 140, 248, .3);
}

.ly-zone--teal {
  background-color: var(--teal);
  border-color: rgba(43, 227, 210, .26);
}

.ly-zone--wine {
  background-color: var(--wine);
  border-color: rgba(255, 107, 74, .3);
}

/* ---------- 10. 标签 / 等宽数字 / 眉题 ---------- */
.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  white-space: nowrap;
}

.ly-tag--warm1 { background: rgba(255, 192, 138, .16); color: var(--warm-1); border-color: rgba(255, 192, 138, .45); }
.ly-tag--warm2 { background: rgba(255, 154, 98, .16); color: var(--warm-2); border-color: rgba(255, 154, 98, .45); }
.ly-tag--warm3 { background: rgba(226, 96, 63, .18); color: #FF8C6E; border-color: rgba(226, 96, 63, .5); }
.ly-tag--warm4 { background: rgba(178, 56, 48, .22); color: #FF7A6B; border-color: rgba(178, 56, 48, .6); }

.ly-tag--cold1 { background: rgba(143, 233, 242, .14); color: var(--cold-1); border-color: rgba(143, 233, 242, .42); }
.ly-tag--cold2 { background: rgba(76, 195, 224, .16); color: var(--cold-2); border-color: rgba(76, 195, 224, .45); }
.ly-tag--cold3 { background: rgba(44, 127, 194, .2); color: #7FB6E8; border-color: rgba(44, 127, 194, .55); }
.ly-tag--cold4 { background: rgba(27, 63, 134, .34); color: #9AB4E6; border-color: rgba(27, 63, 134, .8); }

.ly-tag--paper {
  background: var(--paper);
  color: #08192B;
  border-color: var(--paper);
  box-shadow: 2px 2px 0 rgba(94, 28, 52, .85);
}

.ly-mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.ly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

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

.ly-title {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin: 0;
}

/* ---------- 11. 面包屑 / 正文容器 ---------- */
.ly-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.ly-crumbs__link {
  color: #B9C9D9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.ly-crumbs__link:hover,
.ly-crumbs__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.ly-crumbs__sep { color: #40566D; }

.ly-crumbs__current { color: var(--text); font-weight: 600; }

.ly-prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.85;
}

.ly-prose h2 {
  margin: 40px 0 14px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.ly-prose h3 {
  margin: 28px 0 10px;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.ly-prose p { margin-bottom: 16px; }

.ly-prose ul,
.ly-prose ol {
  margin: 0 0 18px;
  padding-left: 1.35em;
}

.ly-prose li { margin-bottom: 8px; }

.ly-prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 227, 210, .45);
  transition: border-color .16s var(--ease);
}

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

/* ---------- 12. 图片容器（页面阶段放置占位） ---------- */
.ly-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(43, 227, 210, .12), rgba(94, 28, 52, .3)),
    var(--panel);
}

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

.ly-media--wide { aspect-ratio: 16 / 9; }
.ly-media--band { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 3 / 4; }
.ly-media--square { aspect-ratio: 1 / 1; }

.ly-media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #DCE6F0;
  background: linear-gradient(0deg, rgba(8, 25, 43, .94), rgba(8, 25, 43, 0));
}

.ly-media--empty::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
  color: var(--muted);
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1180px) {
  .ly-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .ly-console { grid-column: 2; }
  .ly-console__meter { display: none; }

  .ly-navtoggle { display: inline-flex; }

  .ly-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 10px 16px 18px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 6px 6px;
    background: #0B2138;
    box-shadow: 0 26px 40px -26px rgba(0, 0, 0, .95);
  }

  .ly-nav[data-open] { display: block; }

  .ly-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .ly-nav__link {
    padding: 12px 14px;
    border-radius: 3px;
    font-size: 15.5px;
  }

  .ly-grid--rail { grid-template-columns: minmax(0, 1fr); }
  .ly-grid--asym { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

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

  .ly-footer__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .ly-footer__brand { font-size: 22px; }
}

@media (max-width: 620px) {
  .ly-header__inner { padding: 10px 14px; gap: 10px; }

  .ly-brand { padding: 6px 12px 6px 9px; }
  .ly-brand__name { font-size: 17px; }
  .ly-brand__tag { display: none; }
  .ly-brand__mark { grid-row: auto; width: 22px; height: 22px; }

  .ly-picker__toggle { padding: 7px 12px; font-size: 12.5px; }

  .ly-wrap { padding-inline: 14px; }

  .ly-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .ly-footer__meta { flex-direction: column; align-items: flex-start; }

  .ly-panel { padding: 18px; }
  .ly-panel--slab { padding: 20px; }

  .ly-section { margin-bottom: 42px; }
}

/* ---------- 14. 无障碍：降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
