/* ============ 365体育手机版 · 共享样式 /assets/site.css ============ */

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

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

:root {
  --ink: #0B1220;
  --ink-2: #121C31;
  --ink-3: #0E1728;
  --green: #00C46A;
  --green-deep: #007A46;
  --lime: #D8FF3E;
  --orange: #FF8A3D;
  --mist: #F4F7F2;
  --stone: #8A96A8;
  --ice: #7FD7FF;
  --red: #FF5A5F;

  --line: rgba(138, 150, 168, .28);
  --line-soft: rgba(138, 150, 168, .14);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --rail-w: 236px;
  --strip-h: 78px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-head: "Inter Tight", "Archivo Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .68, .18, 1);
  --glow: 0 18px 44px -24px rgba(0, 196, 106, .55);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
  background-color: var(--ink);
  background-image:
    radial-gradient(58vw 40vw at 84% -8%, rgba(0, 196, 106, .13), transparent 62%),
    radial-gradient(48vw 34vw at 2% 102%, rgba(127, 215, 255, .07), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .55em;
  color: var(--mist);
}
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--lime); }

strong { color: var(--lime); font-weight: 700; }

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

main { display: block; }

#main-content { scroll-margin-top: calc(var(--strip-h) + 18px); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--lime);
  color: #101a06;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #101a06; }

/* ---------- 滚动进度 ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--lime), var(--orange));
  pointer-events: none;
  will-change: transform;
}

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

.site-strip {
  position: sticky;
  top: 0;
  z-index: 66;
  background: linear-gradient(180deg, rgba(11, 18, 32, .97), rgba(11, 18, 32, .88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  min-height: var(--strip-h);
  display: flex;
  align-items: center;
}

.site-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: repeating-linear-gradient(100deg,
    var(--green) 0 22px,
    rgba(0, 196, 106, 0) 22px 32px,
    var(--lime) 32px 46px,
    rgba(0, 196, 106, 0) 46px 68px);
  opacity: .55;
  pointer-events: none;
}

.site-strip__inner {
  width: min(1380px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: var(--strip-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--mist);
  flex: none;
}
.brand:hover { color: var(--mist); }

.brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(216, 255, 62, .28);
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 100%);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 7px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--ink);
}

.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .01em;
  line-height: 1.2;
}
.brand__line {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.2;
}

/* 赛季芯片 */
.season-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 6px 13px 7px;
  border-radius: 11px;
  background: rgba(216, 255, 62, .1);
  border: 1px solid rgba(216, 255, 62, .38);
  flex: none;
}
.season-chip__label {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--stone);
}
.season-chip__value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* 顶部工具 */
.strip-tools {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-link {
  position: relative;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.tool-link:hover,
.tool-link:focus-visible {
  color: var(--lime);
  border-color: rgba(0, 196, 106, .55);
  background: rgba(0, 196, 106, .08);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 196, 106, .45);
  background: rgba(0, 196, 106, .08);
  color: var(--mist);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nav-toggle:hover { color: var(--lime); border-color: var(--lime); }
.nav-toggle[data-open="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #101a06;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[data-open="true"] .nav-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[data-open="true"] .nav-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ============ 左侧目录栏 ============ */
.site-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-w);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 0 16px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(0, 196, 106, .09), transparent 34%),
    var(--ink-3);
  border-inline-end: 1px solid var(--line-soft);
  scrollbar-width: thin;
}
.site-rail::-webkit-scrollbar { width: 6px; }
.site-rail::-webkit-scrollbar-thumb { background: rgba(0, 196, 106, .3); border-radius: 3px; }

.site-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--lime) 0, rgba(0, 196, 106, .55) 22%, rgba(0, 196, 106, .12) 58%, transparent 88%);
  opacity: .55;
}

.rail__head {
  height: var(--strip-h);
  flex: none;
  display: flex;
  align-items: center;
  padding-inline: 4px;
  margin-bottom: 22px;
  border-bottom: 1px dashed var(--line-soft);
}
.rail__caption {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  position: relative;
  padding-left: 14px;
}
.rail__caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 2px;
  background: var(--lime);
}

.rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px 11px 13px;
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mist);
  text-decoration: none;
  transition: color .2s var(--ease), background .25s var(--ease), border-color .2s var(--ease);
}
.rail__num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}
.rail__link:hover,
.rail__link:focus-visible {
  background: rgba(0, 196, 106, .1);
  border-left-color: var(--green);
  color: #fff;
}
.rail__link:hover .rail__num,
.rail__link:focus-visible .rail__num { color: var(--lime); }

.rail__link[aria-current="page"] {
  background: linear-gradient(100deg, rgba(0, 196, 106, .26), rgba(0, 196, 106, .02));
  border-left-color: var(--lime);
  color: #fff;
  font-weight: 700;
}
.rail__link[aria-current="page"] .rail__num { color: var(--lime); }
.rail__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(216, 255, 62, .14);
}

.rail__foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--line-soft);
  display: grid;
  gap: 12px;
}
.rail__note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--stone);
}
.rail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(216, 255, 62, .45);
  background: transparent;
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.rail__cta:hover,
.rail__cta:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: #101a06;
}

/* ============ 通用排版 / 容器 ============ */
.shell {
  width: min(1240px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.shell--narrow { width: min(880px, calc(100% - var(--gutter) * 2)); }

.section { padding-block: clamp(38px, 6vw, 76px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lime);
}

.stack > * + * { margin-top: 18px; }

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.rule {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 48px) 0;
  background: linear-gradient(90deg, rgba(0, 196, 106, .6), rgba(138, 150, 168, .18) 42%, transparent);
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}
.crumbs a {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.crumbs a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.crumbs__sep { color: rgba(138, 150, 168, .5); }
.crumbs [aria-current="page"] { color: var(--mist); }

/* ============ 按钮 / 标签 / 卡片 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn--primary {
  background: var(--green);
  color: #04160D;
  box-shadow: var(--glow);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--lime);
  color: #101a06;
}
.btn--ghost {
  background: rgba(0, 196, 106, .07);
  border-color: rgba(0, 196, 106, .5);
  color: var(--mist);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(216, 255, 62, .07);
}
.btn--lime {
  background: var(--lime);
  color: #101a06;
}
.btn--lime:hover,
.btn--lime:focus-visible { background: var(--mist); color: #101a06; }
.btn:active { transform: translateY(1px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag--league {
  background: rgba(0, 196, 106, .13);
  border-color: rgba(0, 196, 106, .42);
  color: var(--green);
}
.tag--new {
  background: rgba(255, 138, 61, .15);
  border-color: rgba(255, 138, 61, .46);
  color: var(--orange);
}
.tag--season {
  background: var(--lime);
  border-color: var(--lime);
  color: #101a06;
  border-radius: 9px;
}

.card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 26px);
  transition: border-color .24s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.card:hover,
.card:focus-within {
  border-color: rgba(0, 196, 106, .58);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -30px rgba(0, 196, 106, .85);
}
.card__title { margin: 0 0 10px; font-size: 20px; }
.card__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ============ 图片容器（页面阶段使用） ============ */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background:
    linear-gradient(150deg, #16223a 0%, #0b1220 78%);
  isolation: isolate;
}
.media > img,
.media > picture,
.media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }

.media__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--lime);
  color: #101a06;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ============ 页脚 ============ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 46%, #0a1526 100%);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(116deg,
    rgba(0, 196, 106, .09) 0 2px,
    transparent 2px 46px);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 255, 62, .12), transparent 68%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: clamp(40px, 5.6vw, 72px) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.42fr);
  gap: clamp(28px, 4.5vw, 64px);
}

.footer-kicker {
  margin: 0 0 14px;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
}

.footer-brand {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -.014em;
  color: var(--mist);
}
.footer-brand span { color: var(--green); }

.footer-summary {
  margin: 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--stone);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-col__list a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color .22s var(--ease);
}
.footer-col__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.footer-col__list a:hover,
.footer-col__list a:focus-visible { color: var(--lime); }
.footer-col__list a:hover::after,
.footer-col__list a:focus-visible::after { transform: scaleX(1); }

.footer-meta {
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px dashed rgba(138, 150, 168, .3);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  font-size: 12.5px;
  color: var(--stone);
}
.footer-contact { margin: 0; line-height: 1.8; }
.footer-legal {
  margin: 0;
  letter-spacing: .06em;
  color: rgba(138, 150, 168, .85);
  font-variant-numeric: tabular-nums;
}

/* 固定工具条 */
.fixed-tools {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 46;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border-radius: var(--r-pill);
  background: rgba(11, 18, 32, .88);
  border: 1px solid rgba(0, 196, 106, .34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 44px -28px #000;
}
.fixed-tools__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.fixed-tools__btn:hover,
.fixed-tools__btn:focus-visible {
  background: rgba(0, 196, 106, .16);
  color: var(--lime);
  border-color: rgba(0, 196, 106, .4);
}
.fixed-tools__btn--top {
  background: var(--green);
  color: #04160D;
}
.fixed-tools__btn--top:hover,
.fixed-tools__btn--top:focus-visible {
  background: var(--lime);
  color: #101a06;
  border-color: var(--lime);
}

/* ============ 响应式 ============ */
@media (min-width: 1080px) {
  body { padding-inline-start: var(--rail-w); }
  .nav-toggle { display: none; }
}

@media (max-width: 1079px) {
  :root { --strip-h: 64px; }

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

  .site-rail {
    position: fixed;
    inset: var(--strip-h) 0 0 0;
    width: auto;
    z-index: 65;
    padding: 24px var(--gutter) 44px;
    border-inline-end: 0;
    border-top: 1px solid var(--line-soft);
    background:
      radial-gradient(80vw 60vw at 100% 0%, rgba(0, 196, 106, .16), transparent 62%),
      var(--ink-3);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -10px, 0);
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s linear;
  }
  .site-rail[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .rail__head { display: none; }
  .rail__link {
    font-size: 16px;
    padding: 14px 14px 14px 16px;
  }
  .rail__num { font-size: 12px; }
  .rail__foot { margin-top: 30px; }
  .rail__note { font-size: 12.5px; }

  body.nav-open { overflow: hidden; }

  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .tool-link { display: none; }
  .brand__line { display: none; }
  .brand__name { font-size: 16px; }
  .season-chip__label { display: none; }
  .season-chip { padding: 5px 10px; }
  .season-chip__value { font-size: 13.5px; }
  .site-strip__inner { gap: 10px; }
  .btn { min-height: 40px; padding: 0 15px; font-size: 13px; }
  .strip-tools .btn--primary { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .site-footer { padding-bottom: 76px; }
  .fixed-tools {
    left: 12px;
    right: 12px;
    bottom: 10px;
    justify-content: space-between;
  }
  .fixed-tools__btn { flex: 1; }
}

@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;
  }
}
