/* ============================================================
   乐鱼看台 · leyu-spark.com.cn
   Site Kit — 夜间看台电子记分屏 / 侧边轨道 + 展签纸层
   ============================================================ */

:root {
  /* 品牌色 */
  --ly-deep: #0A1E33;
  --ly-deep-soft: #0B2237;
  --ly-night: #101820;
  --ly-teal: #16A6A1;
  --ly-teal-dim: #0E7C79;
  --ly-orange: #F26A2E;
  --ly-mist: #D7E6E6;
  --ly-paper: #F5F0E6;
  --ly-rock: #6F7B82;
  --ly-moss: #5F7A5C;
  --ly-clay: #B86A4B;
  --ly-shell: #FFFDF8;

  /* 结构 */
  --ly-rail-w: 268px;
  --ly-topbar-h: 60px;
  --ly-max: 1180px;

  /* 字体 */
  --ly-font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ly-font-display: "PingFang SC", "Helvetica Neue", "Arial Narrow", "Microsoft YaHei", system-ui, sans-serif;
  --ly-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 动效 */
  --ly-ease: cubic-bezier(.32, .72, 0, 1);
  --ly-radius: 2px;
  --ly-progress: 0;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ly-font-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.75;
  color: #1B2A33;
  background-color: var(--ly-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--ly-font-display);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: .02em;
  color: var(--ly-deep);
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ly-teal-dim);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ly-orange); }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li > ul, li > ol { margin-bottom: 0; }

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

hr {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: rgba(10, 30, 51, .16);
}

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

/* ---------- 无障碍工具 ---------- */
.ly-skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  background: var(--ly-orange);
  color: var(--ly-night);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transform: translateY(-130%);
  transition: transform .18s var(--ly-ease);
}
.ly-skip:focus,
.ly-skip:focus-visible {
  transform: translateY(0);
  color: var(--ly-night);
  outline: 2px solid var(--ly-deep);
  outline-offset: -4px;
}

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

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

/* ============================================================
   头部
   ============================================================ */
.ly-header {
  position: relative;
  z-index: 80;
}

/* --- 移动顶栏（桌面隐藏） --- */
.ly-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ly-topbar-h);
  padding: 0 16px;
  background: rgba(10, 30, 51, .95);
  border-bottom: 1px solid rgba(22, 166, 161, .34);
  z-index: 70;
}

/* --- 品牌锁定 --- */
.ly-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ly-shell);
  min-width: 0;
}
.ly-brand:hover { color: var(--ly-shell); }

.ly-brand__mark {
  position: relative;
  flex: none;
  display: block;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ly-teal);
  border-radius: var(--ly-radius);
  overflow: hidden;
}
.ly-brand__mark::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  height: 3px;
  background: var(--ly-orange);
  box-shadow: 0 -6px 0 0 rgba(22, 166, 161, .75);
}
.ly-brand__mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: rgba(22, 166, 161, .28);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.ly-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ly-brand__name {
  display: block;
  font-family: var(--ly-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.3;
  color: var(--ly-shell);
}
.ly-brand__line {
  display: block;
  font-family: var(--ly-font-mono);
  font-size: .5938rem;
  letter-spacing: .16em;
  line-height: 1.5;
  color: #7F949E;
  white-space: nowrap;
}

/* --- 移动菜单按钮 --- */
.ly-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(22, 166, 161, .45);
  border-radius: var(--ly-radius);
  color: var(--ly-mist);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  cursor: pointer;
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease);
}
.ly-nav-toggle:hover { color: var(--ly-teal); border-color: var(--ly-teal); }
.ly-nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}
.ly-nav-toggle__bars > span {
  display: block;
  height: 1.5px;
  background: currentColor;
}
.ly-nav-toggle__bars > span:nth-child(2) { width: 68%; }
.ly-nav-toggle__label { line-height: 1; }

/* --- 侧边轨道 / 移动抽屉 --- */
.ly-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--ly-rail-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 26px 0 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  color: var(--ly-mist);
  background:
    radial-gradient(140% 60% at 0% 0%, rgba(22, 166, 161, .16), transparent 58%),
    linear-gradient(180deg, var(--ly-deep) 0%, var(--ly-deep-soft) 58%, var(--ly-night) 100%);
  border-right: 1px solid rgba(22, 166, 161, .3);
}
.ly-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ly-teal), rgba(22, 166, 161, .1) 70%, transparent);
}

.ly-rail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px 18px 24px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(215, 230, 230, .13);
}

.ly-rail__close {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ly-mist);
  background: transparent;
  border: 1px solid rgba(215, 230, 230, .26);
  border-radius: var(--ly-radius);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease);
}
.ly-rail__close:hover { color: var(--ly-orange); border-color: var(--ly-orange); }

.ly-rail__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 24px;
  font-size: .625rem;
  letter-spacing: .2em;
  color: #6B8492;
}
.ly-rail__metaDot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ly-orange);
}

/* --- 导航列表 --- */
.ly-nav { display: flex; flex-direction: column; }

.ly-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ly-nav__item { margin: 0; }

.ly-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 20px 11px 24px;
  color: #B9CBD2;
  font-size: .9688rem;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color .18s var(--ly-ease), background-color .18s var(--ly-ease);
}
.ly-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: transparent;
  transition: background-color .18s var(--ly-ease);
}
.ly-nav__link:hover {
  color: var(--ly-shell);
  background: rgba(22, 166, 161, .13);
}
.ly-nav__link:hover::before { background: rgba(22, 166, 161, .55); }

.ly-nav__link[aria-current="page"] {
  color: var(--ly-shell);
  background: rgba(22, 166, 161, .18);
}
.ly-nav__link[aria-current="page"]::before { background: var(--ly-teal); }
.ly-nav__link[aria-current="page"] .ly-nav__id { color: var(--ly-orange); }

.ly-nav__id {
  flex: none;
  font-family: var(--ly-font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  color: #56707E;
  transition: color .18s var(--ly-ease);
}
.ly-nav__label { min-width: 0; }

/* --- 轨道主入口 --- */
.ly-rail__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 24px 0;
  padding: 11px 14px;
  background: var(--ly-orange);
  color: var(--ly-night);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: var(--ly-radius);
  box-shadow: inset 0 -3px 0 rgba(10, 30, 51, .22);
  transition: transform .18s var(--ly-ease), box-shadow .18s var(--ly-ease);
}
.ly-rail__cta:hover {
  color: var(--ly-night);
  transform: translateY(-2px);
  box-shadow: inset 0 -3px 0 rgba(10, 30, 51, .22), 0 10px 20px rgba(242, 106, 46, .32);
}
.ly-rail__ctaArrow {
  font-family: var(--ly-font-mono);
  font-size: .875rem;
  letter-spacing: 0;
}

/* --- 轨道底栏 --- */
.ly-rail__foot {
  margin-top: auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(215, 230, 230, .13);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--ly-font-mono);
  font-size: .5938rem;
  letter-spacing: .2em;
  color: #6B8492;
}
.ly-rail__code { display: block; }
.ly-rail__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ly-rail__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ly-teal);
  box-shadow: 0 0 0 3px rgba(22, 166, 161, .18);
}

/* --- 遮罩与进度轨 --- */
.ly-scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(6, 16, 26, .68);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ly-ease);
}

.ly-progress {
  position: fixed;
  top: 0;
  bottom: auto;
  left: var(--ly-rail-w);
  width: 2px;
  height: 100vh;
  z-index: 66;
  background: rgba(22, 166, 161, .16);
  pointer-events: none;
}
.ly-progress > span {
  display: block;
  width: 100%;
  height: calc(var(--ly-progress) * 100%);
  background: linear-gradient(180deg, var(--ly-teal) 0%, var(--ly-orange) 100%);
}

/* ============================================================
   桌面端布局：轨道固定 + 主区右推
   ============================================================ */
@media (min-width: 1024px) {
  body { padding-left: var(--ly-rail-w); }
  .ly-topbar { display: none; }
  .ly-rail__close { display: none; }
  .ly-scrim { display: none; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  :root { --ly-rail-w: 238px; }
}

/* ============================================================
   移动 / 平板：顶栏 + 抽屉
   ============================================================ */
@media (max-width: 1023px) {
  body { padding-top: var(--ly-topbar-h); }

  .ly-topbar { display: flex; }
  .ly-nav-toggle { display: inline-flex; }

  .ly-rail {
    top: 0;
    bottom: 0;
    width: min(86vw, 342px);
    border-right: 1px solid rgba(22, 166, 161, .38);
    transform: translateX(-104%);
    transition: transform .26s var(--ly-ease);
    box-shadow: none;
  }
  .ly-rail__close { display: inline-flex; }

  .ly-header[data-open="true"] .ly-rail {
    transform: translateX(0);
    box-shadow: 26px 0 64px rgba(4, 12, 22, .58);
  }
  .ly-header[data-open="true"] .ly-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .ly-header[data-open="true"] .ly-nav-toggle {
    color: var(--ly-orange);
    border-color: var(--ly-orange);
  }

  .ly-progress {
    top: var(--ly-topbar-h);
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
  }
  .ly-progress > span {
    width: calc(var(--ly-progress) * 100%);
    height: 100%;
    background: linear-gradient(90deg, var(--ly-teal) 0%, var(--ly-orange) 100%);
  }
}

@media (max-width: 400px) {
  .ly-brand__line { display: none; }
}

/* ============================================================
   页脚
   ============================================================ */
.ly-footer {
  position: relative;
  background:
    radial-gradient(120% 90% at 14% 0%, rgba(22, 166, 161, .14), transparent 62%),
    var(--ly-night);
  color: #C3D2D8;
}

.ly-footer__line {
  height: 2px;
  background: linear-gradient(90deg, var(--ly-teal) 0%, rgba(22, 166, 161, .35) 38%, rgba(22, 166, 161, .06) 72%, transparent 100%);
}

.ly-footer__inner {
  max-width: var(--ly-max);
  margin: 0 auto;
  padding: 52px 28px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr);
  gap: 40px 30px;
}

.ly-footer__brand { min-width: 0; }

.ly-footer__word {
  margin: 0 0 12px;
  font-family: var(--ly-font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--ly-shell);
}
.ly-footer__word::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  background: var(--ly-orange);
}

.ly-footer__summary {
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.8;
  color: #9FB2BB;
  max-width: 34ch;
}

.ly-footer__stamp {
  margin: 0;
  font-family: var(--ly-font-mono);
  font-size: .625rem;
  letter-spacing: .18em;
  color: #6B8492;
}

.ly-footer__col { min-width: 0; }

.ly-footer__h {
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(215, 230, 230, .14);
  font-family: var(--ly-font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  color: var(--ly-teal);
}

.ly-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ly-footer__link {
  color: #B7C8CF;
  font-size: .9375rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease);
}
.ly-footer__link:hover,
.ly-footer__link:focus-visible {
  color: var(--ly-teal);
  border-bottom-color: var(--ly-teal);
}

.ly-footer__contactList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ly-footer__contactList > li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ly-footer__meta {
  font-family: var(--ly-font-mono);
  font-size: .5938rem;
  letter-spacing: .22em;
  color: #6B8492;
}
.ly-footer__value {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ly-mist);
  word-break: break-word;
}

.ly-footer__note {
  margin: 16px 0 0;
  font-size: .75rem;
  line-height: 1.75;
  color: #7F949E;
  max-width: 34ch;
}

.ly-footer__bottom {
  max-width: var(--ly-max);
  margin: 0 auto;
  padding: 20px 28px 0;
  border-top: 1px solid rgba(215, 230, 230, .13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
}

.ly-footer__legal {
  margin: 0;
  font-family: var(--ly-font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: #7F949E;
}

.ly-footer__legalList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.ly-footer__legalList .ly-footer__link { font-size: .75rem; }

@media (max-width: 1080px) {
  .ly-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
  }
  .ly-footer__brand { grid-column: 1 / -1; }
  .ly-footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .ly-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 20px 28px;
  }
  .ly-footer__brand,
  .ly-footer__col--contact { grid-column: auto; }
  .ly-footer__bottom {
    padding: 18px 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   通用布局组件
   ============================================================ */
.ly-container {
  width: 100%;
  max-width: var(--ly-max);
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 640px) {
  .ly-container { padding-inline: 20px; }
}

.ly-band { padding-block: clamp(40px, 6vw, 78px); }
.ly-band--deep { background: var(--ly-deep); color: var(--ly-mist); }
.ly-band--deep h1, .ly-band--deep h2, .ly-band--deep h3 { color: var(--ly-shell); }
.ly-band--mist { background: var(--ly-mist); }
.ly-band--paper { background: var(--ly-paper); }
.ly-band--shell { background: var(--ly-shell); }
.ly-band--night { background: var(--ly-night); color: var(--ly-mist); }

.ly-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.ly-grid--12 {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
@media (max-width: 780px) {
  .ly-grid--12 { grid-template-columns: minmax(0, 1fr); }
  .ly-grid--12 > * { grid-column: auto !important; }
}

.ly-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: rgba(10, 30, 51, .16);
}

/* ============================================================
   索引 / 标签 / 按钮
   ============================================================ */
.ly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--ly-font-mono);
  font-size: .6875rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ly-teal-dim);
}
.ly-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ly-orange);
}

.ly-index {
  font-family: var(--ly-font-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--ly-teal);
}

.ly-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--ly-font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--ly-rock);
}
.ly-breadcrumb li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.ly-breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: #AFBCC1;
}
.ly-breadcrumb li:last-child::after { content: none; }
.ly-breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 123, 130, .38);
}
.ly-breadcrumb a:hover {
  color: var(--ly-teal-dim);
  border-bottom-color: var(--ly-teal);
}

.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--ly-font-sans);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--ly-radius);
  cursor: pointer;
  transition: transform .18s var(--ly-ease), background-color .18s var(--ly-ease), color .18s var(--ly-ease), box-shadow .18s var(--ly-ease), border-color .18s var(--ly-ease);
}
.ly-btn:hover { transform: translateY(-2px); }

.ly-btn--primary {
  background: var(--ly-orange);
  color: var(--ly-night);
  box-shadow: inset 0 -3px 0 rgba(10, 30, 51, .22);
}
.ly-btn--primary:hover {
  color: var(--ly-night);
  box-shadow: inset 0 -3px 0 rgba(10, 30, 51, .22), 0 12px 24px rgba(242, 106, 46, .3);
}

.ly-btn--ghost {
  background: transparent;
  color: var(--ly-deep);
  border-color: rgba(10, 30, 51, .34);
}
.ly-btn--ghost:hover {
  color: var(--ly-teal-dim);
  border-color: var(--ly-teal);
}

.ly-btn--onDark {
  background: transparent;
  color: var(--ly-mist);
  border-color: rgba(215, 230, 230, .38);
}
.ly-btn--onDark:hover {
  color: var(--ly-teal);
  border-color: var(--ly-teal);
}

.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--ly-font-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ly-deep);
  background: var(--ly-shell);
  border: 1px solid rgba(10, 30, 51, .26);
  border-radius: var(--ly-radius);
}
.ly-tag--teal { color: var(--ly-teal-dim); border-color: rgba(22, 166, 161, .55); background: rgba(22, 166, 161, .09); }
.ly-tag--clay { color: var(--ly-clay); border-color: rgba(184, 106, 75, .55); background: rgba(184, 106, 75, .09); }
.ly-tag--moss { color: var(--ly-moss); border-color: rgba(95, 122, 92, .55); background: rgba(95, 122, 92, .1); }
.ly-tag--orange { color: var(--ly-night); background: var(--ly-orange); border-color: var(--ly-orange); }

/* ============================================================
   展签 / 纸张叠层
   ============================================================ */
.ly-plate {
  position: relative;
  background: var(--ly-shell);
  border: 1px solid rgba(10, 30, 51, .17);
  border-radius: var(--ly-radius);
  padding: 22px 22px 20px;
  box-shadow: 6px 6px 0 rgba(10, 30, 51, .055);
}
.ly-plate::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(10, 30, 51, .12);
  border-radius: 1px;
  pointer-events: none;
}

.ly-sheet {
  background: var(--ly-shell);
  border: 1px solid rgba(10, 30, 51, .15);
  border-radius: var(--ly-radius);
  box-shadow:
    5px 5px 0 rgba(215, 230, 230, .95),
    5px 5px 0 1px rgba(10, 30, 51, .1),
    0 16px 34px rgba(10, 30, 51, .08);
}

/* ============================================================
   图像容器（页面阶段放置 img / svg）
   ============================================================ */
.ly-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(10, 30, 51, .18);
  border-radius: var(--ly-radius);
  background-color: var(--ly-deep);
  background-image:
    repeating-linear-gradient(90deg, rgba(22, 166, 161, .17) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(22, 166, 161, .11) 0 1px, transparent 1px 58px),
    radial-gradient(120% 90% at 78% 12%, rgba(242, 106, 46, .22), transparent 58%);
}
.ly-media > img,
.ly-media > svg,
.ly-media > picture,
.ly-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--16x9 { aspect-ratio: 16 / 9; }
.ly-media--4x3 { aspect-ratio: 4 / 3; }
.ly-media--1x1 { aspect-ratio: 1 / 1; }
.ly-media--3x4 { aspect-ratio: 3 / 4; }

/* ============================================================
   显现动效
   ============================================================ */
html.ly-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .42s var(--ly-ease), transform .42s var(--ly-ease);
  will-change: opacity, transform;
}
html.ly-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ============================================================
   减少动效
   ============================================================ */
@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;
  }

  .ly-rail { transition: none; }
  .ly-btn:hover,
  .ly-rail__cta:hover { transform: none; }

  html.ly-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
