/* ============================================================
   易游品牌 · 共享样式 /assets/site.css
   01 Reset  02 Tokens  03 Base  04 Typography  05 Header
   06 Footer 07 Buttons 08 Utilities  09 Media  10 Motion
   ============================================================ */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

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

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

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

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

/* ---------- 02 Tokens ---------- */
:root {
  --ink: #0E1B2C;
  --ink-2: #16283D;
  --ink-3: #1E3550;
  --yellow: #F5C518;
  --orange: #FF7A2F;
  --mint: #3FD6A8;
  --fog: #F4F6F8;
  --graphite: #5A6878;
  --sand: #EDE6D8;
  --red: #E5484D;
  --glass: rgba(244, 246, 248, 0.14);
  --glass-line: rgba(244, 246, 248, 0.22);
  --line: rgba(14, 27, 44, 0.12);
  --line-light: rgba(244, 246, 248, 0.18);

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: clamp(64px, 7vw, 84px);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  --font-display: "Montserrat", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-editorial: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* ---------- 03 Base ---------- */
body {
  min-height: 100vh;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

#main-content {
  display: block;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

#main-content:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(14, 27, 44, 0.85);
}

.yy-dark :focus-visible,
.yy-header :focus-visible,
.yy-footer :focus-visible {
  box-shadow: 0 0 0 2px rgba(14, 27, 44, 0.9);
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- 04 Typography ---------- */
.yy-h1,
.yy-h2,
.yy-h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: inherit;
  text-wrap: balance;
}

.yy-h1 { font-size: clamp(30px, 4.6vw, 62px); }
.yy-h2 { font-size: clamp(24px, 3.1vw, 42px); line-height: 1.15; }
.yy-h3 { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; font-weight: 700; }

.yy-lead {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.75;
  color: var(--ink-2);
}

.yy-text {
  max-width: 40em;
  line-height: 1.8;
}

.yy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}

.yy-kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--yellow);
  flex: 0 0 auto;
}

.yy-coord {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}

.yy-rule {
  height: 0;
  border: 0;
  border-top: 1px dashed currentColor;
  opacity: 0.25;
  margin-block: clamp(20px, 3vw, 36px);
}

.yy-dark {
  background: var(--ink);
  color: var(--fog);
}

.yy-dark .yy-lead { color: rgba(244, 246, 248, 0.84); }
.yy-dark .yy-text { color: rgba(244, 246, 248, 0.8); }
.yy-dark .yy-kicker,
.yy-dark .yy-coord { color: rgba(244, 246, 248, 0.55); }
.yy-dark .yy-section__head { border-bottom-color: var(--line-light); }

.yy-surface-sand {
  background: var(--sand);
  color: var(--ink);
}

/* ---------- 05 Header ---------- */
.yy-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.yy-skip:focus {
  transform: translateY(0);
}

.yy-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--fog);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow 0.25s var(--ease);
}

.yy-header[data-scrolled="true"] {
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.75);
}

.yy-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
}

.yy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--fog);
}

.yy-brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--yellow);
  clip-path: polygon(0 0, 66% 0, 100% 50%, 66% 100%, 0 100%, 30% 50%);
  transition: transform 0.28s var(--ease);
}

.yy-brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(36% 26%, 52% 26%, 68% 50%, 52% 74%, 36% 74%, 52% 50%);
}

.yy-brand:hover .yy-brand__mark {
  transform: translateX(3px);
}

.yy-brand__text {
  display: grid;
  gap: 2px;
}

.yy-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--fog);
}

.yy-brand__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: rgba(244, 246, 248, 0.55);
}

.yy-header__gap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(244, 246, 248, 0.3);
}

.yy-header__gap-line {
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 14px);
}

.yy-header__gap-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(244, 246, 248, 0.38);
  white-space: nowrap;
}

.yy-header__util {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(244, 246, 248, 0.5);
  white-space: nowrap;
}

.yy-header__util::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--mint);
  flex: 0 0 auto;
}

.yy-nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.yy-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.2vw, 20px);
  flex-wrap: nowrap;
}

.yy-nav__item {
  flex: 0 0 auto;
}

.yy-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 2px;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--fog);
  transition: color 0.2s var(--ease);
}

.yy-nav__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--yellow);
  opacity: 0.9;
}

.yy-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.yy-nav__link:hover,
.yy-nav__link:focus-visible {
  color: #fff;
}

.yy-nav__link:hover::after,
.yy-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.yy-nav__link[aria-current="page"] {
  color: var(--yellow);
}

.yy-nav__link[aria-current="page"] .yy-nav__idx {
  color: var(--mint);
}

.yy-nav__link[aria-current="page"]::after {
  background: var(--yellow);
  transform: scaleX(1);
}

.yy-nav__foot {
  display: none;
}

.yy-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--glass-line);
  border-radius: 2px;
  background: rgba(244, 246, 248, 0.06);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.yy-nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
  flex: 0 0 auto;
}

.yy-nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--yellow);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}

.yy-nav-toggle__label {
  line-height: 1;
}

.yy-header[data-open="true"] .yy-nav-toggle {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.yy-header[data-open="true"] .yy-nav-toggle__bars span {
  background: var(--ink);
}

.yy-header[data-open="true"] .yy-nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.yy-header[data-open="true"] .yy-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.yy-header[data-open="true"] .yy-nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.yy-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.yy-nav-lock {
  overflow: hidden;
}

/* ---------- 06 Footer ---------- */
.yy-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  background: var(--ink);
  color: var(--fog);
}

.yy-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  width: clamp(56px, 16vw, 200px);
  height: 4px;
  background: var(--yellow);
}

.yy-footer__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(24px, 3vw, 40px);
}

.yy-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px dashed var(--line-light);
}

.yy-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.yy-footer__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--yellow);
}

.yy-footer__tagline {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  max-width: 18em;
  color: rgba(244, 246, 248, 0.88);
}

.yy-footer__coord {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 246, 248, 0.48);
}

.yy-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

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

.yy-footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(244, 246, 248, 0.58);
}

.yy-footer__title::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--yellow);
}

.yy-footer__col:nth-child(2) .yy-footer__title::before {
  background: var(--orange);
}

.yy-footer__col:nth-child(3) .yy-footer__title::before {
  background: var(--mint);
}

.yy-footer__list {
  display: grid;
  gap: 4px;
}

.yy-footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 15px;
  color: rgba(244, 246, 248, 0.76);
  transition: color 0.2s var(--ease);
}

.yy-footer__link::after {
  content: "→";
  font-size: 12px;
  color: var(--mint);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s var(--ease), transform 0.28s var(--ease);
}

.yy-footer__link:hover,
.yy-footer__link:focus-visible {
  color: #fff;
}

.yy-footer__link:hover::after,
.yy-footer__link:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.yy-footer__bottom {
  display: grid;
  gap: 10px;
  padding-top: clamp(20px, 3vw, 32px);
}

.yy-footer__legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 246, 248, 0.48);
}

.yy-footer__contact {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(244, 246, 248, 0.66);
  overflow-wrap: anywhere;
}

.yy-footer__note {
  font-size: 12.5px;
  line-height: 1.75;
  max-width: 56em;
  color: rgba(244, 246, 248, 0.42);
}

/* ---------- 07 Buttons ---------- */
.yy-btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--fog);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.yy-btn--primary {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  --btn-bd: var(--yellow);
}

.yy-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--mint);
  --btn-bd: var(--mint);
}

.yy-btn--signal {
  --btn-bg: var(--orange);
  --btn-fg: var(--ink);
  --btn-bd: var(--orange);
}

.yy-btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13.5px;
}

.yy-btn:hover {
  transform: translateY(-2px);
}

.yy-btn--primary:hover {
  --btn-bg: #ffd633;
  --btn-bd: #ffd633;
}

.yy-btn--ghost:hover {
  --btn-bg: rgba(63, 214, 168, 0.14);
}

.yy-btn__arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  transition: transform 0.28s var(--ease);
}

.yy-btn:hover .yy-btn__arrow {
  transform: translateX(4px);
}

/* ---------- 08 Utilities ---------- */
.yy-container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.yy-container--narrow {
  max-width: 760px;
}

.yy-section {
  padding-block: clamp(48px, 7vw, 96px);
}

.yy-section--tight {
  padding-block: clamp(32px, 4vw, 56px);
}

.yy-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.yy-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: inherit;
  opacity: 0.72;
}

.yy-crumbs__item {
  transition: opacity 0.2s var(--ease);
}

a.yy-crumbs__item:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--yellow);
}

.yy-crumbs__sep {
  opacity: 0.5;
}

.yy-crumbs__current {
  font-weight: 600;
  opacity: 1;
}

.yy-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

.yy-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yy-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yy-grid--asym { grid-template-columns: 5fr 7fr; }
.yy-grid--side { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }

.yy-glass {
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 2px;
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.yy-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.yy-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yy-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--graphite);
}

.yy-dot--yellow { background: var(--yellow); }
.yy-dot--orange { background: var(--orange); }
.yy-dot--mint { background: var(--mint); }
.yy-dot--red { background: var(--red); }
.yy-dot--graphite { background: var(--graphite); }
.yy-dot--ink { background: var(--ink); }

.yy-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.6vw, 32px);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.yy-tile--sand { background: var(--sand); }
.yy-tile--mint { background: rgba(63, 214, 168, 0.14); }

.yy-tile--ink {
  background: var(--ink);
  color: var(--fog);
}

a.yy-tile:hover,
a.yy-tile:focus-visible {
  transform: translateY(-3px);
}

.yy-tile__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.yy-tile--ink .yy-tile__idx {
  color: var(--yellow);
}

.yy-tile__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
}

.yy-tile__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
}

.yy-tile--ink .yy-tile__text {
  color: rgba(244, 246, 248, 0.74);
}

.yy-tile__foot {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.yy-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.yy-rail__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--graphite);
  transition: color 0.2s var(--ease);
}

.yy-rail__link::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}

.yy-rail__link[aria-current="true"] {
  color: var(--ink);
}

.yy-rail__link[aria-current="true"]::before {
  width: 24px;
  background: var(--yellow);
}

/* ---------- 09 Media ---------- */
.yy-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink-2);
  border-radius: 2px;
}

.yy-media--wide { aspect-ratio: 16 / 9; }
.yy-media--tall { aspect-ratio: 4 / 5; }
.yy-media--square { aspect-ratio: 1 / 1; }

.yy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yy-media--empty {
  background-color: var(--ink-2);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(244, 246, 248, 0.07) 0 10px,
    rgba(244, 246, 248, 0) 10px 20px
  );
}

.yy-media__glass {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  background: var(--glass);
  border-top: 1px solid var(--glass-line);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.yy-media__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  background: var(--yellow);
  color: var(--ink);
}

.yy-media__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

/* ---------- 10 Motion ---------- */
.yy-js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

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

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

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

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

  .yy-btn:hover,
  a.yy-tile:hover,
  a.yy-tile:focus-visible,
  .yy-brand:hover .yy-brand__mark {
    transform: none;
  }
}

/* ---------- 11 Responsive ---------- */
@media (max-width: 1180px) {
  .yy-header__util { display: none; }
  .yy-rail { display: none; }
}

@media (max-width: 1024px) {
  .yy-header__gap-label { display: none; }
  .yy-nav__list { gap: 6px; }
  .yy-nav__link { font-size: 14px; }
  .yy-nav__idx { font-size: 9.5px; }
  .yy-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yy-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }

  .yy-header__gap { display: none; }

  .yy-nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 80;
    margin-left: auto;
  }

  .yy-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + clamp(20px, 6vw, 40px)) var(--gutter) clamp(28px, 6vw, 44px);
    overflow-y: auto;
    background: var(--ink);
    background-image:
      linear-gradient(180deg, rgba(244, 246, 248, 0.05) 0, rgba(244, 246, 248, 0) 220px),
      repeating-linear-gradient(90deg, rgba(244, 246, 248, 0.04) 0 1px, transparent 1px 96px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0s linear 0.26s;
  }

  .yy-header[data-open="true"] .yy-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0s linear 0s;
  }

  .yy-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .yy-nav__item {
    border-bottom: 1px dashed var(--line-light);
  }

  .yy-nav__link {
    display: flex;
    align-items: baseline;
    gap: 14px;
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(21px, 5.4vw, 28px);
    letter-spacing: 0.02em;
  }

  .yy-nav__idx {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--yellow);
  }

  .yy-nav__link::after {
    bottom: 10px;
    right: auto;
    width: 34px;
  }

  .yy-nav__foot {
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px dashed var(--line-light);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(244, 246, 248, 0.55);
  }

  .yy-nav__foot-line {
    overflow-wrap: anywhere;
  }

  .yy-grid--side { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .yy-grid--2,
  .yy-grid--3,
  .yy-grid--asym {
    grid-template-columns: 1fr;
  }

  .yy-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .yy-footer__col:nth-child(3) {
    grid-column: 1 / -1;
  }

  .yy-section__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .yy-brand__line { display: none; }
  .yy-nav-toggle { padding: 9px 12px; }
  .yy-footer__cols { grid-template-columns: 1fr; }
  .yy-footer__col:nth-child(3) { grid-column: auto; }
  .yy-btn { width: 100%; }
  .yy-footer__brand .yy-btn { width: auto; }
}

@media print {
  .yy-header,
  .yy-footer,
  .yy-rail,
  .yy-skip {
    display: none !important;
  }
}
