/* ==========================================================================
   乐鱼赛事 · 全站共享样式  /assets/site.css
   页面特色布局由后续页面专属 CSS 承接，本文件只负责骨架与基础组件。
   ========================================================================== */

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

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

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

input, textarea, select, label { font: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --ly-deep: #0A2342;
  --ly-deep-2: #12395F;
  --ly-lime: #B6F24A;
  --ly-lime-dim: #86C22A;
  --ly-sun: #FF7A45;
  --ly-snow: #F6F9FC;
  --ly-frost: #C7D3E0;
  --ly-graphite: #071321;
  --ly-data: #4EA8FF;
  --ly-mist: #E8F1FA;

  --ly-line: rgba(199, 211, 224, .16);
  --ly-line-strong: rgba(199, 211, 224, .34);

  --ly-font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ly-font-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo,
    Consolas, "Courier New", monospace;

  --ly-radius: 2px;
  --ly-radius-pill: 999px;

  --ly-shell: 1280px;
  --ly-gutter: 20px;

  --ly-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --ly-gutter: 32px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--ly-deep);
  background-image:
    radial-gradient(1100px 600px at 86% -6%, rgba(78, 168, 255, .18), transparent 62%),
    radial-gradient(720px 500px at 0% 16%, rgba(182, 242, 74, .10), transparent 64%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ly-snow);
  font-family: var(--ly-font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }

::selection { background: var(--ly-lime); color: var(--ly-graphite); }

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

/* ---------- 4. 无障碍工具 ---------- */
.ly-skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 120;
  padding: 11px 20px;
  background: var(--ly-lime);
  color: var(--ly-graphite);
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--ly-radius);
  transition: top .18s var(--ly-ease);
}
.ly-skip:focus { top: 12px; }

/* ---------- 5. 布局容器与网格 ---------- */
.ly-shell {
  width: 100%;
  max-width: var(--ly-shell);
  margin-inline: auto;
  padding-inline: var(--ly-gutter);
}

.ly-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .ly-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  .ly-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
}

/* ---------- 6. 区块节奏 ---------- */
.ly-section { padding-block: 56px; }
.ly-section--tight { padding-block: 36px; }
.ly-section--deep { background: var(--ly-deep-2); }
.ly-section--graphite { background: var(--ly-graphite); }
.ly-section--light { background: var(--ly-mist); color: var(--ly-deep); }

@media (min-width: 768px) {
  .ly-section { padding-block: 84px; }
  .ly-section--tight { padding-block: 52px; }
}

/* ---------- 7. 标题与文本 ---------- */
.ly-h1 {
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 900;
}
.ly-h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.ly-h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -.015em;
}
.ly-h4 { font-size: 1.0625rem; font-weight: 800; }

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

.ly-slash {
  display: inline-block;
  width: 30px;
  height: 8px;
  background: var(--ly-lime);
  transform: skewX(-26deg);
  flex: 0 0 auto;
}

.ly-lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ly-frost);
  max-width: 42ch;
}

.ly-prose {
  font-size: 16.5px;
  line-height: 1.9;
  max-width: 38em;
  color: rgba(246, 249, 252, .86);
}
.ly-prose p + p { margin-top: 1em; }
.ly-prose a { color: var(--ly-data); border-bottom: 1px solid rgba(78, 168, 255, .45); }
.ly-prose a:hover { color: var(--ly-lime); border-bottom-color: var(--ly-lime); }

.ly-section--light .ly-lede,
.ly-section--light .ly-prose { color: #36506c; }
.ly-section--light .ly-eyebrow { color: var(--ly-lime-dim); }

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

/* ---------- 8. 按钮 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--ly-radius);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  transition: background-color .2s var(--ly-ease), color .2s var(--ly-ease),
    border-color .2s var(--ly-ease), transform .2s var(--ly-ease);
}
.ly-btn--primary { background: var(--ly-lime); color: var(--ly-graphite); }
.ly-btn--primary:hover { background: var(--ly-lime-dim); }
.ly-btn--ghost { border-color: var(--ly-line-strong); color: var(--ly-snow); }
.ly-btn--ghost:hover { border-color: var(--ly-lime); color: var(--ly-lime); }
.ly-btn--sun { background: var(--ly-sun); color: var(--ly-graphite); }
.ly-btn--sun:hover { background: #ff9066; }
.ly-btn--text {
  padding: 0;
  border: 0;
  color: var(--ly-data);
  font-weight: 700;
}
.ly-btn--text:hover { color: var(--ly-lime); }

/* ---------- 9. 标签 / 卡片 ---------- */
.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--ly-line-strong);
  border-radius: var(--ly-radius);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ly-frost);
  white-space: nowrap;
}
.ly-tag--live { border-color: var(--ly-lime); color: var(--ly-lime); }
.ly-tag--soon { border-color: var(--ly-sun); color: var(--ly-sun); }
.ly-tag--data { border-color: var(--ly-data); color: var(--ly-data); }

.ly-card {
  position: relative;
  padding: 22px;
  background: linear-gradient(155deg, rgba(18, 57, 95, .92), rgba(10, 35, 66, .74));
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  overflow: hidden;
}
.ly-card--notch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 5px;
  background: var(--ly-lime);
  transform: skewX(-26deg);
  transform-origin: left top;
}
.ly-section--light .ly-card {
  background: #ffffff;
  border-color: rgba(10, 35, 66, .14);
  color: var(--ly-deep);
}

/* ---------- 10. 横向主题带 ---------- */
.ly-band { padding-block: 8px; }
.ly-band__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--ly-gutter) 18px;
  margin-inline: calc(var(--ly-gutter) * -1);
  scrollbar-width: thin;
}
.ly-band__track > * {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  scroll-snap-align: start;
}
.ly-band__track::-webkit-scrollbar { height: 4px; }
.ly-band__track::-webkit-scrollbar-track { background: rgba(199, 211, 224, .12); }
.ly-band__track::-webkit-scrollbar-thumb {
  background: rgba(182, 242, 74, .55);
  border-radius: 99px;
}

/* ---------- 11. 面包屑 ---------- */
.ly-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--ly-font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(199, 211, 224, .72);
}
.ly-breadcrumb a { color: var(--ly-frost); }
.ly-breadcrumb a:hover { color: var(--ly-lime); }
.ly-breadcrumb__sep { color: rgba(199, 211, 224, .38); }
.ly-breadcrumb [aria-current="page"] { color: var(--ly-lime); }

/* ---------- 12. 章节跟随目录 ---------- */
.ly-toc { display: grid; gap: 2px; }
.ly-toc__link {
  display: block;
  padding: 9px 12px;
  border-left: 1px solid var(--ly-line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ly-frost);
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease),
    background-color .18s var(--ly-ease);
}
.ly-toc__link:hover { color: var(--ly-snow); background: rgba(78, 168, 255, .08); }
.ly-toc__link[aria-current="true"] {
  color: var(--ly-lime);
  border-left-color: var(--ly-lime);
  background: rgba(182, 242, 74, .07);
}

/* ---------- 13. 图片容器基础规则 ---------- */
.ly-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  background-color: var(--ly-deep-2);
  background-image:
    linear-gradient(135deg, rgba(78, 168, 255, .18), rgba(7, 19, 33, .9)),
    repeating-linear-gradient(90deg, rgba(199, 211, 224, .07) 0 1px, transparent 1px 48px);
}
.ly-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ly-ease);
}
.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 3 / 4; }
.ly-media--portrait { aspect-ratio: 4 / 5; }
.ly-media--square { aspect-ratio: 1 / 1; }

.ly-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(7, 19, 33, .92), transparent);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ly-snow);
}

.ly-media__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 26px solid var(--ly-lime);
  border-left: 26px solid transparent;
}

/* ==========================================================================
   14. 页头
   ========================================================================== */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 19, 33, .97) 0%, rgba(7, 19, 33, .88) 100%);
  border-bottom: 1px solid var(--ly-line);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  transition: box-shadow .24s var(--ly-ease);
}
.ly-header[data-condensed] {
  box-shadow: 0 18px 46px -28px rgba(0, 0, 0, .95);
}

.ly-header__bar { position: relative; }

.ly-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 12px;
  transition: padding .24s var(--ly-ease);
}

/* 品牌胶囊 */
.ly-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  padding: 6px 18px 6px 8px;
  background: rgba(18, 57, 95, .92);
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius-pill);
  transition: border-color .2s var(--ly-ease);
}
.ly-brand:hover { border-color: var(--ly-line-strong); }

.ly-brand__mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  background: var(--ly-lime);
  color: var(--ly-graphite);
  border-radius: var(--ly-radius);
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.ly-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ly-brand__name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.25;
  white-space: nowrap;
}
.ly-brand__desc {
  font-family: var(--ly-font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  line-height: 1.4;
  color: var(--ly-frost);
  white-space: nowrap;
}

/* 栏目胶囊 */
.ly-nav {
  margin-left: auto;
  padding: 5px;
  background: rgba(18, 57, 95, .92);
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius-pill);
}
.ly-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ly-nav__link {
  display: block;
  padding: 9px 16px;
  border-radius: var(--ly-radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--ly-frost);
  white-space: nowrap;
  transition: color .18s var(--ly-ease), background-color .18s var(--ly-ease);
}
.ly-nav__link:hover {
  color: var(--ly-snow);
  background: rgba(78, 168, 255, .16);
}
.ly-nav__link[aria-current="page"] {
  background: var(--ly-lime);
  color: var(--ly-deep);
}

/* 移动导航按钮 */
.ly-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  background: rgba(18, 57, 95, .92);
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius-pill);
  transition: border-color .2s var(--ly-ease);
}
.ly-nav-toggle:hover { border-color: var(--ly-lime); }

.ly-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ly-snow);
  transition: background-color .18s var(--ly-ease);
}
.ly-nav-toggle__bars::before,
.ly-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ly-snow);
  transition: transform .22s var(--ly-ease);
}
.ly-nav-toggle__bars::before { top: -6px; }
.ly-nav-toggle__bars::after { top: 6px; }

.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars { background: transparent; }
.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}
.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 关注球队滑条 */
.ly-follow {
  border-top: 1px solid rgba(199, 211, 224, .09);
  background: rgba(10, 35, 66, .72);
  transition: background-color .24s var(--ly-ease);
}
.ly-follow__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  transition: padding .24s var(--ly-ease);
}
.ly-follow__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ly-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ly-lime);
}
.ly-follow__label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ly-sun);
  transform: skewX(-22deg);
}
.ly-follow__track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.ly-follow__track::-webkit-scrollbar { display: none; }
.ly-follow__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  font-size: 12.5px;
  color: var(--ly-frost);
  white-space: nowrap;
  transition: border-color .18s var(--ly-ease), color .18s var(--ly-ease),
    background-color .18s var(--ly-ease);
}
.ly-follow__item:hover {
  border-color: var(--ly-lime);
  color: var(--ly-snow);
  background: rgba(182, 242, 74, .07);
}
.ly-follow__abbr {
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ly-snow);
}
.ly-follow__time {
  font-family: var(--ly-font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ly-data);
}

/* 滚动收窄 */
.ly-header[data-condensed] .ly-header__inner { padding-block: 7px; }
.ly-header[data-condensed] .ly-brand__desc { display: none; }
.ly-header[data-condensed] .ly-follow__inner { padding-block: 5px; }

/* 移动端导航面板 */
@media (max-width: 959px) {
  .ly-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 8px;
    display: none;
    border-radius: var(--ly-radius);
    border-color: var(--ly-line-strong);
    background: rgba(7, 19, 33, .98);
    box-shadow: 0 26px 52px -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: var(--ly-radius); font-size: 15px; }
  .ly-nav-toggle { display: grid; margin-left: auto; }
}

@media (max-width: 639px) {
  .ly-brand__desc { display: none; }
  .ly-brand { padding-right: 14px; }
  .ly-follow__label { font-size: 10px; letter-spacing: .12em; }
}

/* ==========================================================================
   15. 页脚
   ========================================================================== */
.ly-footer {
  position: relative;
  background: var(--ly-graphite);
  border-top: 1px solid rgba(182, 242, 74, .42);
  color: var(--ly-frost);
}
.ly-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 211, 224, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 211, 224, .05) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 78%);
}

.ly-footer__inner {
  position: relative;
  z-index: 1;
  padding-block: 56px 24px;
}

.ly-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 640px) {
  .ly-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}
@media (min-width: 1024px) {
  .ly-footer__grid {
    grid-template-columns: 1.5fr .9fr .9fr 1.35fr;
    gap: 48px;
  }
}

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

.ly-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ly-footer__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  background: var(--ly-lime);
  color: var(--ly-graphite);
  border-radius: var(--ly-radius);
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 700;
}
.ly-footer__brandname {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--ly-snow);
}
.ly-footer__lede {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(199, 211, 224, .78);
}

.ly-footer__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ly-line);
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ly-snow);
}

.ly-footer__list { display: grid; gap: 10px; }
.ly-footer__list a {
  display: inline-block;
  font-size: 14px;
  color: var(--ly-frost);
  transition: color .18s var(--ly-ease), transform .18s var(--ly-ease);
}
.ly-footer__list a:hover {
  color: var(--ly-lime);
  transform: translateX(3px);
}

.ly-footer__list--meta li { display: grid; gap: 2px; }
.ly-footer__k {
  font-family: var(--ly-font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(199, 211, 224, .55);
}
.ly-footer__v {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ly-frost);
  word-break: break-word;
}

.ly-footer__base {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--ly-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.ly-footer__note {
  font-family: var(--ly-font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: rgba(199, 211, 224, .68);
}
.ly-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12.5px;
  color: rgba(199, 211, 224, .68);
}
.ly-footer__legal a {
  color: var(--ly-frost);
  transition: color .18s var(--ly-ease);
}
.ly-footer__legal a:hover { color: var(--ly-lime); }

/* ==========================================================================
   16. 阅读进度条与返回顶部
   ========================================================================== */
.ly-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}
.ly-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ly-lime) 0%, var(--ly-data) 68%, var(--ly-sun) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

.ly-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 88;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(18, 57, 95, .96);
  border: 1px solid rgba(182, 242, 74, .5);
  border-radius: var(--ly-radius);
  color: var(--ly-lime);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .22s var(--ly-ease), transform .22s var(--ly-ease),
    background-color .2s var(--ly-ease), color .2s var(--ly-ease),
    border-color .2s var(--ly-ease), visibility .22s;
}
.ly-to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ly-to-top:hover {
  background: var(--ly-lime);
  border-color: var(--ly-lime);
  color: var(--ly-graphite);
}
.ly-to-top__icon {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

@media (min-width: 768px) {
  .ly-to-top { right: 28px; bottom: 28px; }
}

/* ==========================================================================
   17. 入场显现协议
   ========================================================================== */
.ly-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.ly-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .42s var(--ly-ease), transform .42s var(--ly-ease);
}

/* ==========================================================================
   18. 减少动态效果
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-padding-top: 100px; }

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

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

  .ly-progress__bar { transition: none; }
}
