/* ==========================================================================
   乐鱼体育 · site.css — 共享外壳（reset / tokens / header / footer / 基础组件）
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, address, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --abyss: #071C2C;
  --ink: #0E2E45;
  --cyan: #2FE6D6;
  --coral: #FF6B4A;
  --violet: #9A5CFF;
  --cream: #F3E9D7;
  --sand: #D8C6A8;
  --charcoal: #1B1512;
  --muted: #7FA6B8;
  --green: #3DD68C;

  --line: rgba(127, 166, 184, .22);
  --line-strong: rgba(127, 166, 184, .38);
  --line-cyan: rgba(47, 230, 214, .34);

  --font-display: "Helvetica Neue Condensed", "Arial Narrow", system-ui, -apple-system,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "PingFang SC", monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --sh-soft: 0 18px 44px -30px rgba(0, 0, 0, .95);
  --sh-inset: inset 0 1px 0 rgba(243, 233, 215, .05);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --wrap: 1240px;
  --header-h: 108px;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--cream);
  background-color: var(--abyss);
  background-image:
    radial-gradient(1100px 620px at 78% -160px, rgba(47, 230, 214, .13), transparent 66%),
    radial-gradient(880px 560px at -6% 260px, rgba(154, 92, 255, .11), transparent 64%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(47, 230, 214, .32); color: #04191F; }

.ly-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.ly-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0;
  color: var(--cream);
}
.ly-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -.02em;
  line-height: 1.12;
  font-size: clamp(24px, 3.4vw, 40px);
  margin: 0;
  color: var(--cream);
}
.ly-h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -.01em;
  line-height: 1.24;
  font-size: clamp(18px, 2vw, 23px);
  margin: 0;
  color: var(--cream);
}
.ly-lede {
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.78;
  color: rgba(243, 233, 215, .8);
  max-width: 32em;
}
.ly-prose {
  max-width: 34em;
  color: rgba(243, 233, 215, .82);
}
.ly-prose > * + * { margin-top: 1.05em; }
.ly-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}
.ly-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex: 0 0 auto;
}
.ly-link {
  color: var(--cyan);
  border-bottom: 1px solid rgba(47, 230, 214, .42);
  padding-bottom: 1px;
  transition: border-color .18s var(--ease);
}
.ly-link:hover { border-bottom-color: var(--cyan); }
.ly-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(127, 166, 184, 0));
}

/* ---------- 4. Layout primitives ---------- */
.ly-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.ly-main { display: block; }
.ly-section { padding-block: clamp(48px, 8vw, 96px); }
.ly-section--tight { padding-block: clamp(28px, 5vw, 56px); }
.ly-stack > * + * { margin-top: clamp(12px, 1.6vw, 20px); }

.ly-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .ly-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ly-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .ly-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ly-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 5. Skip link ---------- */
.ly-skip {
  position: fixed;
  left: 14px;
  top: 0;
  z-index: 300;
  transform: translateY(-120%);
  background: var(--cyan);
  color: #04191F;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 11px 20px;
  border-radius: 0 0 12px 12px;
  transition: transform .2s var(--ease);
}
.ly-skip:focus,
.ly-skip:focus-visible { transform: translateY(0); outline-offset: 4px; }

/* ---------- 6. Brand ---------- */
.ly-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}
.ly-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--cyan) 0%, #1FC7C0 42%, var(--violet) 100%);
  box-shadow: 0 0 0 1px rgba(47, 230, 214, .38), 0 8px 20px -10px rgba(47, 230, 214, .7);
}
.ly-brand__mark::before,
.ly-brand__mark::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  height: 12px;
  border-radius: 50%;
  background: rgba(7, 28, 44, .62);
}
.ly-brand__mark::before { bottom: -2px; transform: rotate(-7deg); }
.ly-brand__mark::after { bottom: 6px; transform: rotate(6deg); background: rgba(7, 28, 44, .3); }

.ly-brand__name { display: flex; flex-direction: column; line-height: 1.12; }
.ly-brand__name strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .015em;
  font-stretch: condensed;
  color: var(--cream);
}
.ly-brand__name em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}

/* ---------- 7. Header ---------- */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(7, 28, 44, .97), rgba(9, 33, 51, .93));
  border-bottom: 1px solid var(--line-cyan);
  box-shadow: 0 14px 34px -30px rgba(0, 0, 0, 1);
}
.ly-header__top { border-bottom: 1px solid rgba(127, 166, 184, .16); }
.ly-header__topin {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  min-height: 62px;
  padding-block: 8px;
}
.ly-header__meta {
  display: none;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--muted);
  padding-left: 18px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.ly-header__aside {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ly-chip {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(47, 230, 214, .09);
  border: 1px solid var(--line-cyan);
  white-space: nowrap;
}
.ly-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 230, 214, .16);
  flex: 0 0 auto;
}
.ly-header__link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(243, 233, 215, .82);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.ly-header__link:hover { color: var(--cyan); border-bottom-color: var(--line-cyan); }

.ly-burger {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 46, 69, .8);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ly-burger:hover { border-color: var(--line-cyan); background: rgba(20, 58, 84, .9); }
.ly-burger__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.ly-header[data-open] .ly-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ly-header[data-open] .ly-burger__bar:nth-child(2) { opacity: 0; }
.ly-header[data-open] .ly-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ly-header__navrow { background: rgba(14, 46, 69, .42); }
.ly-nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(4px, 1.6vw, 20px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ly-nav__list::-webkit-scrollbar { display: none; }
.ly-nav__link {
  position: relative;
  display: inline-block;
  padding: 15px 6px 16px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(243, 233, 215, .76);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.ly-nav__link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.ly-nav__link:hover { color: var(--cream); }
.ly-nav__link:hover::after { transform: scaleX(1); }
.ly-nav__link[aria-current="page"] { color: var(--cyan); }
.ly-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- 8. Floating helpers ---------- */
.ly-float { display: none; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70; }
.ly-float__link {
  display: block;
  writing-mode: vertical-rl;
  padding: 20px 11px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .26em;
  color: #04191F;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  border-radius: 14px 0 0 14px;
  box-shadow: -10px 0 28px -14px rgba(47, 230, 214, .8);
  transition: padding-right .22s var(--ease);
}
.ly-float__link:hover { padding-right: 16px; }

.ly-totop {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  bottom: 76px;
  z-index: 80;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(14, 46, 69, .94);
  border: 1px solid var(--line-cyan);
  border-radius: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.ly-totop[data-visible] { opacity: 1; visibility: visible; transform: none; }
.ly-totop:hover { background: rgba(20, 58, 84, .98); }

.ly-quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 28, 44, .96);
  border-top: 1px solid var(--line-cyan);
  transition: opacity .3s var(--ease);
}
.ly-quickbar[data-dim] { opacity: .58; }
.ly-quickbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 2px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(243, 233, 215, .72);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.ly-quickbar__dot {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: currentColor;
  opacity: .55;
}
.ly-quickbar__item[aria-current="page"] { color: var(--cyan); background: rgba(47, 230, 214, .1); }

/* ---------- 9. Footer ---------- */
.ly-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 108px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 46, 69, .38), rgba(7, 28, 44, .96) 42%, #05141E 100%);
  border-top: 1px solid var(--line-cyan);
}
.ly-footer::before {
  content: "";
  position: absolute;
  left: -12%;
  right: 34%;
  top: -46%;
  height: 78%;
  background: radial-gradient(closest-side, rgba(47, 230, 214, .14), transparent 72%);
  pointer-events: none;
}
.ly-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  padding-block: clamp(44px, 6vw, 72px);
}
.ly-footer__brandcol { display: flex; flex-direction: column; gap: 12px; }
.ly-footer__tagline {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(243, 233, 215, .74);
  max-width: 22em;
}
.ly-footer__service {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}
.ly-footer__col { min-width: 0; }
.ly-footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--cream);
  margin: 0 0 14px;
}
.ly-footer__title::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  margin-top: 9px;
}
.ly-footer__list { display: flex; flex-direction: column; }
.ly-footer__link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(243, 233, 215, .7);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.ly-footer__link:hover { color: var(--cyan); border-bottom-color: var(--line-cyan); }
.ly-footer__link[aria-current="page"] { color: var(--cyan); }

.ly-footer__contact p {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(243, 233, 215, .78);
  word-break: break-word;
}
.ly-footer__label {
  flex: 0 0 34px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}
.ly-footer__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 24em;
}
.ly-footer__icp { margin-top: 14px; font-size: 13px; color: rgba(243, 233, 215, .8); }
.ly-footer__region { margin-top: 6px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }

.ly-footer__districts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(127, 166, 184, .16);
  border-bottom: 1px solid rgba(127, 166, 184, .16);
}
.ly-district {
  text-align: center;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
  letter-spacing: .06em;
  line-height: 1;
  padding: 7px 2px;
  border-radius: 6px;
  color: rgba(127, 166, 184, .72);
  background: rgba(14, 46, 69, .62);
  border: 1px solid rgba(127, 166, 184, .13);
}
.ly-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 20px 26px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 10. Components ---------- */
.ly-btn {
  --btn-bg: linear-gradient(135deg, var(--cyan), var(--green));
  --btn-fg: #04191F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  box-shadow: 0 12px 30px -16px rgba(47, 230, 214, .85);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.ly-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.ly-btn:active { transform: translateY(0); }
.ly-btn--coral {
  --btn-bg: linear-gradient(135deg, var(--coral), #FF9770);
  --btn-fg: #2A0D06;
  box-shadow: 0 12px 30px -16px rgba(255, 107, 74, .9);
}
.ly-btn--violet {
  --btn-bg: linear-gradient(135deg, var(--violet), #C08BFF);
  --btn-fg: #12061F;
  box-shadow: 0 12px 30px -16px rgba(154, 92, 255, .9);
}
.ly-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(243, 233, 215, .3);
  box-shadow: none;
}
.ly-btn--ghost:hover { color: var(--cyan); border-color: var(--line-cyan); }

.ly-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(14, 46, 69, .94), rgba(14, 46, 69, .6));
  box-shadow: var(--sh-inset), var(--sh-soft);
}
.ly-card > * + * { margin-top: 14px; }

.ly-surface--cream {
  border-radius: var(--r-xl);
  padding: clamp(22px, 3.4vw, 44px);
  background: linear-gradient(180deg, #F3E9D7, #EADCC3);
  color: var(--charcoal);
}
.ly-surface--cream .ly-display,
.ly-surface--cream .ly-h2,
.ly-surface--cream .ly-h3 { color: var(--charcoal); }
.ly-surface--cream .ly-lede,
.ly-surface--cream .ly-prose,
.ly-surface--cream p { color: #3A2C22; }
.ly-surface--cream .ly-kicker { color: #B3401F; }

.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  color: #CDE3EC;
  background: rgba(127, 166, 184, .14);
  border: 1px solid rgba(127, 166, 184, .26);
}
.ly-tag--cyan { color: #8BF6EC; background: rgba(47, 230, 214, .13); border-color: rgba(47, 230, 214, .42); }
.ly-tag--coral { color: #FFA98F; background: rgba(255, 107, 74, .14); border-color: rgba(255, 107, 74, .42); }
.ly-tag--violet { color: #C6A9FF; background: rgba(154, 92, 255, .16); border-color: rgba(154, 92, 255, .42); }
.ly-tag--green { color: #8DE9BD; background: rgba(61, 214, 140, .14); border-color: rgba(61, 214, 140, .42); }

.ly-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 92% at 78% 8%, rgba(47, 230, 214, .24), transparent 62%),
    radial-gradient(94% 84% at 12% 96%, rgba(154, 92, 255, .22), transparent 64%),
    linear-gradient(150deg, #0E2E45, #071C2C);
  isolation: isolate;
}
.ly-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background: repeating-linear-gradient(115deg, rgba(47, 230, 214, .1) 0 1px, transparent 1px 15px);
}
.ly-media > img,
.ly-media > svg,
.ly-media > picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 3 / 4; }
.ly-media--square { aspect-ratio: 1 / 1; }
.ly-media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--muted);
}

.ly-breadcrumb {
  font-size: 12.5px;
  letter-spacing: .07em;
  color: var(--muted);
}
.ly-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ly-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.ly-breadcrumb li + li::before {
  content: "／";
  color: rgba(127, 166, 184, .5);
}
.ly-breadcrumb a { color: rgba(243, 233, 215, .74); transition: color .18s var(--ease); }
.ly-breadcrumb a:hover { color: var(--cyan); }
.ly-breadcrumb [aria-current="page"] { color: var(--cyan); }

/* ---------- 11. Motion ---------- */
.ly-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}
.ly-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 12. Responsive ---------- */
@media (min-width: 480px) {
  .ly-chip { display: inline-flex; }
}
@media (min-width: 640px) {
  .ly-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .ly-header__meta { display: block; }
  .ly-footer__districts { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
}
@media (min-width: 860px) {
  .ly-burger { display: none; }
  .ly-header__topin { min-height: 68px; }
  .ly-quickbar { display: none; }
  .ly-totop { bottom: 28px; }
}
@media (min-width: 1024px) {
  .ly-float { display: block; }
}
@media (min-width: 1040px) {
  .ly-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.25fr 1fr; }
}
@media (max-width: 859px) {
  html { scroll-padding-top: 88px; }
  .ly-header__navrow { display: none; }
  .ly-header[data-open] .ly-header__navrow { display: block; }
  .ly-header[data-open] .ly-nav__list {
    flex-direction: column;
    gap: 0;
    max-height: 62vh;
    overflow-y: auto;
    padding: 6px 0 14px;
  }
  .ly-header[data-open] .ly-nav__link {
    display: block;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(127, 166, 184, .16);
  }
  .ly-header[data-open] .ly-nav__link::after { display: none; }
  .ly-header[data-open] .ly-nav__link[aria-current="page"] {
    color: var(--cyan);
    background: linear-gradient(90deg, rgba(47, 230, 214, .12), transparent 78%);
  }
  .ly-footer { padding-bottom: 76px; }
  .ly-footer__legal { flex-direction: column; }
}
@media (max-width: 479px) {
  .ly-header__aside { display: none; }
  .ly-brand__name em { font-size: 9.5px; letter-spacing: .12em; }
}
@media (max-width: 359px) {
  .ly-brand__name em { display: none; }
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ly-reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ly-btn:hover { transform: none; }
  .ly-float__link:hover { padding-right: 11px; }
}
