/* =========================================================
   环亚赛事 / Site Kit — /assets/site.css
   深色档案框架 · 斜切语言 · 珠宝色分区
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--hy-bg);
  color: var(--hy-body);
  font-family: var(--hy-font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
dl,
dd,
blockquote {
  margin: 0;
}

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

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

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

a {
  color: var(--hy-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--hy-orange);
}

::selection {
  background: var(--hy-orange);
  color: var(--hy-bg);
}

:focus-visible {
  outline: 2px solid var(--hy-blue);
  outline-offset: 3px;
}

#main-content {
  display: block;
  flex: 1 0 auto;
}

/* ---------- Variables ---------- */
:root {
  color-scheme: dark;
  --hy-bg: #0A0E12;
  --hy-panel: #121A21;
  --hy-elevated: #1E2A33;
  --hy-orange: #F26B21;
  --hy-orange-soft: #FFA66B;
  --hy-blue: #00B2E6;
  --hy-blue-soft: #6AA9FF;
  --hy-text: #E8EDF2;
  --hy-body: #A4B4C2;
  --hy-muted: #6B7F8F;
  --hy-teal: #144B52;
  --hy-wine: #5C2438;
  --hy-font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --hy-font-mono: "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --hy-header-rail: 44px;
  --hy-top-h: 72px;
  --hy-nav-h: 50px;
  --hy-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--hy-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--hy-elevated);
  border: 2px solid var(--hy-bg);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hy-muted);
}

/* ---------- Skip Link ---------- */
.hy-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--hy-blue);
  color: #07202C;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transform: translateY(calc(-100% - 20px));
  transition: transform 0.3s ease;
}

.hy-skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- Header Frame ---------- */
.hy-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(10, 14, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hy-elevated);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hy-header[data-scrolled="true"] {
  border-bottom-color: rgba(0, 178, 230, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hy-header__inner {
  display: grid;
  grid-template-columns: var(--hy-header-rail) minmax(0, 1fr) var(--hy-header-rail);
  align-items: stretch;
  max-width: 1560px;
  margin-inline: auto;
  min-height: 0;
}

.hy-header__main {
  min-width: 0;
}

.hy-header__rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  font-family: var(--hy-font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--hy-muted);
  background: var(--hy-panel);
  border-inline: 1px solid var(--hy-elevated);
}

.hy-header__rail::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  margin-left: -2px;
  width: 4px;
  height: 4px;
  background: var(--hy-blue);
}

.hy-header__rail-text {
  display: block;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* ---------- Header Top ---------- */
.hy-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--hy-top-h);
  padding: 0 28px;
  border-bottom: 1px solid var(--hy-elevated);
  transition: height 0.3s ease, padding 0.3s ease;
}

.hy-header[data-scrolled="true"] {
  --hy-top-h: 56px;
  --hy-nav-h: 44px;
}

/* ---------- Brand ---------- */
.hy-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--hy-text);
  min-width: 0;
}

.hy-brand:hover {
  color: var(--hy-text);
}

.hy-brand__block {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: var(--hy-elevated);
  color: var(--hy-text);
  font-family: var(--hy-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background 0.25s ease;
}

.hy-brand:hover .hy-brand__block {
  background: var(--hy-orange);
  color: var(--hy-bg);
}

.hy-brand__block::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, transparent 50%, var(--hy-orange) 50%);
  transition: opacity 0.25s ease;
}

.hy-brand:hover .hy-brand__block::after {
  opacity: 0;
}

.hy-brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hy-brand__name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--hy-text);
}

.hy-brand__sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--hy-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

/* ---------- Header Meta ---------- */
.hy-header__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hy-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--hy-muted);
  white-space: nowrap;
}

.hy-header__meta-ver {
  color: var(--hy-blue-soft);
}

.hy-header__meta-sep {
  color: var(--hy-elevated);
}

/* ---------- Nav Row ---------- */
.hy-header__navrow {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--hy-nav-h);
  padding: 0 28px;
  transition: min-height 0.3s ease, padding 0.3s ease;
}

/* ---------- Nav Toggle ---------- */
.hy-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hy-elevated);
  background: var(--hy-panel);
  color: var(--hy-text);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hy-nav-toggle:hover {
  border-color: var(--hy-blue);
  background: var(--hy-elevated);
}

.hy-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.hy-nav-toggle__icon b {
  display: block;
  height: 2px;
  background: var(--hy-orange);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.hy-nav-toggle__icon b:nth-child(1) {
  width: 16px;
}

.hy-nav-toggle__icon b:nth-child(2) {
  width: 12px;
}

.hy-nav-toggle__icon b:nth-child(3) {
  width: 8px;
}

.hy-nav-toggle[aria-expanded="true"] .hy-nav-toggle__icon b:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 16px;
}

.hy-nav-toggle[aria-expanded="true"] .hy-nav-toggle__icon b:nth-child(2) {
  opacity: 0;
}

.hy-nav-toggle[aria-expanded="true"] .hy-nav-toggle__icon b:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 16px;
}

/* ---------- Nav ---------- */
.hy-nav {
  display: flex;
  align-items: center;
}

.hy-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hy-nav__item {
  display: block;
}

.hy-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--hy-nav-h);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hy-body);
  transition: color 0.25s ease, background 0.25s ease;
}

.hy-nav__link:hover {
  color: var(--hy-blue);
  background: rgba(0, 178, 230, 0.06);
}

.hy-nav__num {
  font-family: var(--hy-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--hy-muted);
  transition: color 0.25s ease;
}

.hy-nav__link:hover .hy-nav__num,
.hy-nav__link[aria-current="page"] .hy-nav__num {
  color: var(--hy-orange);
}

.hy-nav__link[aria-current="page"] {
  color: var(--hy-text);
  font-weight: 700;
}

.hy-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hy-orange) 0 60%, var(--hy-blue) 60% 100%);
}

/* ---------- Header Tools ---------- */
.hy-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hy-viewswitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--hy-elevated);
  color: var(--hy-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hy-viewswitch:hover {
  border-color: var(--hy-blue);
  background: var(--hy-panel);
}

.hy-viewswitch__label {
  white-space: nowrap;
}

.hy-viewswitch__track {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 32px;
  height: 16px;
  border-radius: 20px;
  background: var(--hy-bg);
  border: 1px solid var(--hy-elevated);
  transition: border-color 0.25s ease;
}

.hy-viewswitch__track b {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hy-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.hy-viewswitch[aria-checked="true"] .hy-viewswitch__track b {
  transform: translateX(16px);
  background: var(--hy-orange);
}

.hy-viewswitch__state {
  font-family: var(--hy-font-mono);
  font-size: 11px;
  color: var(--hy-blue-soft);
  transition: color 0.25s ease;
}

.hy-viewswitch[aria-checked="true"] .hy-viewswitch__state {
  color: var(--hy-orange);
}

/* ---------- Buttons ---------- */
.hy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--hy-bg);
  background: var(--hy-orange);
  border: 0;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.25s ease, color 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.hy-btn:hover {
  color: var(--hy-bg);
  filter: brightness(1.08);
}

.hy-btn:active {
  transform: translateY(1px);
}

.hy-btn__icon {
  font-family: var(--hy-font-mono);
  font-size: 14px;
  line-height: 1;
}

.hy-btn--ghost {
  background: var(--hy-elevated);
  color: var(--hy-text);
}

.hy-btn--ghost:hover {
  background: rgba(0, 178, 230, 0.14);
  color: var(--hy-blue);
  filter: none;
}

.hy-btn--blue {
  background: var(--hy-blue);
  color: #06202A;
}

.hy-btn--blue:hover {
  filter: brightness(1.12);
  color: #06202A;
}

/* ---------- Footer ---------- */
.hy-footer {
  position: relative;
  margin-top: auto;
  background: var(--hy-panel);
  border-top: 1px solid var(--hy-elevated);
  overflow: hidden;
}

.hy-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: clamp(180px, 30vw, 420px);
  height: 2px;
  background: linear-gradient(90deg, var(--hy-orange) 0%, var(--hy-blue) 100%);
}

.hy-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px 28px;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 4vw, 56px) 44px;
}

.hy-footer__brand-col {
  grid-column: span 5;
}

.hy-footer__nav-col {
  grid-column: span 2;
}

.hy-footer__legal-col {
  grid-column: span 2;
}

.hy-footer__contact-col {
  grid-column: span 3;
}

.hy-brand--footer .hy-brand__block {
  width: 40px;
  height: 40px;
}

.hy-footer__trust {
  margin-top: 18px;
  max-width: 44ch;
  font-size: 13px;
  line-height: 1.85;
  color: var(--hy-muted);
}

.hy-footer__title {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hy-elevated);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--hy-text);
}

.hy-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 22px;
  height: 2px;
  background: var(--hy-orange);
}

.hy-footer__list {
  display: grid;
  gap: 8px;
}

.hy-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--hy-body);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.hy-footer__list a::before {
  content: "→";
  font-family: var(--hy-font-mono);
  font-size: 11px;
  line-height: 1;
  color: var(--hy-orange);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hy-footer__list a:hover {
  color: var(--hy-blue);
  padding-left: 4px;
}

.hy-footer__list a:hover::before {
  opacity: 1;
}

.hy-footer__contact-list {
  display: grid;
  gap: 12px;
}

.hy-footer__contact-list li {
  display: grid;
  gap: 2px;
}

.hy-footer__k {
  font-family: var(--hy-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hy-muted);
}

.hy-footer__v {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hy-body);
  word-break: break-all;
}

.hy-footer__legal {
  position: relative;
  border-top: 1px solid var(--hy-elevated);
  background: var(--hy-bg);
}

.hy-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 16px clamp(20px, 4vw, 56px);
  font-family: var(--hy-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hy-muted);
}

.hy-footer__dot {
  color: var(--hy-orange);
}

/* ---------- Page Up ---------- */
.hy-pageup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hy-elevated);
  background: var(--hy-panel);
  color: var(--hy-blue);
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s, border-color 0.25s ease, color 0.25s ease;
}

.hy-pageup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

.hy-pageup:hover {
  border-color: var(--hy-orange);
  color: var(--hy-orange);
}

/* ---------- Container ---------- */
.hy-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

/* ---------- Breadcrumb ---------- */
.hy-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--hy-font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--hy-muted);
}

.hy-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.hy-breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--hy-elevated);
}

.hy-breadcrumb a {
  color: var(--hy-blue);
}

.hy-breadcrumb a:hover {
  color: var(--hy-orange);
}

.hy-breadcrumb li[aria-current="page"] {
  color: var(--hy-body);
}

/* ---------- Section ---------- */
.hy-section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--hy-elevated);
}

.hy-section--first {
  border-top: 0;
  padding-top: 0;
}

.hy-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.hy-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hy-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hy-orange);
}

.hy-section__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--hy-orange);
}

.hy-section__title {
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--hy-text);
}

/* ---------- Grid ---------- */
.hy-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.hy-grid__span-4 {
  grid-column: span 4;
}

.hy-grid__span-6 {
  grid-column: span 6;
}

.hy-grid__span-8 {
  grid-column: span 8;
}

.hy-grid__span-12 {
  grid-column: span 12;
}

/* ---------- Media Placeholder ---------- */
.hy-media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: repeating-linear-gradient(
    135deg,
    var(--hy-elevated) 0px,
    var(--hy-elevated) 12px,
    var(--hy-panel) 12px,
    var(--hy-panel) 24px
  );
}

.hy-media--ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.hy-media--ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.hy-media--ratio-3x2 {
  aspect-ratio: 3 / 2;
}

.hy-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hy-media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5px 12px;
  background: rgba(10, 14, 18, 0.8);
  font-family: var(--hy-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--hy-body);
}

/* ---------- Data / Tags / Table ---------- */
.hy-data {
  font-family: var(--hy-font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--hy-text);
}

.hy-data--orange {
  color: var(--hy-orange);
}

.hy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 178, 230, 0.25);
  background: rgba(0, 178, 230, 0.1);
  color: var(--hy-blue-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hy-tag--orange {
  border-color: rgba(242, 107, 33, 0.3);
  background: rgba(242, 107, 33, 0.1);
  color: var(--hy-orange);
}

.hy-tag--muted {
  border-color: var(--hy-elevated);
  background: var(--hy-panel);
  color: var(--hy-muted);
}

.hy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hy-table th,
.hy-table td {
  border: 1px solid var(--hy-elevated);
  padding: 10px 12px;
  text-align: left;
}

.hy-table th {
  background: var(--hy-panel);
  color: var(--hy-text);
  font-weight: 700;
}

.hy-table td {
  font-family: var(--hy-font-mono);
  color: var(--hy-body);
}

.hy-table tr:nth-child(even) td {
  background: rgba(18, 26, 33, 0.6);
}

/* ---------- Collapsible Panels ---------- */
.hy-collapse {
  border: 1px solid var(--hy-elevated);
  background: var(--hy-panel);
}

.hy-collapse + .hy-collapse {
  border-top-color: transparent;
}

.hy-collapse__trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  color: var(--hy-text);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}

.hy-collapse__trigger:hover {
  background: var(--hy-elevated);
}

.hy-collapse__trigger::after {
  content: "+";
  margin-left: auto;
  font-family: var(--hy-font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--hy-orange);
  transition: transform 0.35s ease;
}

.hy-collapse__trigger[aria-expanded="true"] {
  background: var(--hy-elevated);
  color: var(--hy-text);
}

.hy-collapse__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.hy-collapse__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease,
    visibility 0s linear 0.5s;
}

.hy-collapse__panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease,
    visibility 0s;
}

.hy-collapse__panel > * {
  min-height: 0;
}

.hy-collapse__inner {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--hy-body);
}

/* ---------- Compact View Mode ---------- */
html[data-view-mode="compact"] .hy-section {
  padding-block: clamp(28px, 4vw, 56px);
}

html[data-view-mode="compact"] .hy-section__title {
  font-size: clamp(22px, 3vw, 32px);
}

html[data-view-mode="compact"] .hy-data {
  font-size: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hy-header {
    --hy-header-rail: 34px;
  }

  .hy-header__rail {
    font-size: 9px;
  }

  .hy-header__top,
  .hy-header__navrow {
    padding-inline: 18px;
  }

  .hy-header__meta {
    display: none;
  }

  .hy-nav__num {
    display: none;
  }

  .hy-nav__link {
    padding-inline: 10px;
  }

  .hy-footer__legal-col {
    grid-column: span 3;
  }

  .hy-footer__contact-col {
    grid-column: span 3;
  }
}

@media (max-width: 1020px) {
  .hy-header__rail {
    display: none;
  }

  .hy-header__inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hy-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: block;
    background: var(--hy-bg);
    border-top: 1px solid transparent;
    border-bottom: 1px solid var(--hy-elevated);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      border-color 0.3s ease,
      visibility 0s linear 0.3s;
  }

  .hy-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    border-top-color: var(--hy-orange);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      border-color 0.3s ease,
      visibility 0s;
  }

  .hy-nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 10px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: var(--hy-elevated);
  }

  .hy-nav__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 46px;
    width: 100%;
    padding: 0 14px;
    background: var(--hy-bg);
  }

  .hy-nav__link:hover {
    background: var(--hy-panel);
  }

  .hy-nav__link[aria-current="page"]::after {
    display: none;
  }

  .hy-nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(242, 107, 33, 0.16) 0%, rgba(0, 178, 230, 0.08) 100%);
  }

  .hy-nav__num {
    display: inline;
  }

  .hy-footer__brand-col {
    grid-column: span 12;
  }

  .hy-footer__nav-col {
    grid-column: span 4;
  }

  .hy-footer__legal-col {
    grid-column: span 4;
  }

  .hy-footer__contact-col {
    grid-column: span 4;
  }

  .hy-grid__span-4,
  .hy-grid__span-6,
  .hy-grid__span-8 {
    grid-column: span 12;
  }
}

@media (min-width: 641px) and (max-width: 1020px) {
  .hy-grid__span-4 {
    grid-column: span 6;
  }

  .hy-grid__span-6 {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .hy-header__top {
    height: 62px;
    padding-inline: 14px;
  }

  .hy-header__navrow {
    min-height: 48px;
    padding-inline: 14px;
  }

  .hy-brand__sub {
    display: none;
  }

  .hy-header__tools .hy-btn {
    display: none;
  }

  .hy-viewswitch__label {
    display: none;
  }

  .hy-nav__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hy-footer__nav-col,
  .hy-footer__legal-col {
    grid-column: span 6;
  }

  .hy-footer__contact-col {
    grid-column: span 12;
  }

  .hy-footer__legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
