/* ============================================================
   爱游戏 · 全站共享样式
   路径 /assets/site.css
   与页头、页脚和组件指南同步维护
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ayx-green: #1B4D3E;
  --ayx-gold: #C9A227;
  --ayx-blue: #0F1B2D;
  --ayx-red: #9E2B25;
  --ayx-white: #F8F6F2;
  --ayx-charcoal: #2A2A2A;
  --ayx-mist: #C8D4C0;
  --ayx-orange: #FF8C42;

  --ayx-font-sans: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ayx-font-display: "Anton", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --ayx-radius: 20px;
  --ayx-radius-sm: 12px;
  --ayx-radius-pill: 999px;

  --ayx-container: 1280px;
  --ayx-space-1: 4px;
  --ayx-space-2: 8px;
  --ayx-space-3: 16px;
  --ayx-space-4: 24px;
  --ayx-space-5: 32px;
  --ayx-space-6: 48px;
  --ayx-space-7: 64px;

  --ayx-shadow-card: 0 4px 16px rgba(15, 27, 45, 0.08);
  --ayx-shadow-pop: 0 12px 32px rgba(15, 27, 45, 0.15);
  --ayx-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

* {
  margin: 0;
}

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

body {
  font-family: var(--ayx-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ayx-charcoal);
  background-color: var(--ayx-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:hover {
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--ayx-gold);
  color: var(--ayx-green);
}

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

/* ---------- 3. 排版 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ayx-font-display);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ayx-charcoal);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(30px, 4.5vw, 54px);
  letter-spacing: 2px;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
}

h4 {
  font-size: 17px;
}

h5 {
  font-size: 15px;
}

h6 {
  font-size: 13px;
}

p,
li,
dt,
dd {
  overflow-wrap: break-word;
}

.ayx-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ayx-charcoal);
}

.ayx-prose p {
  margin-bottom: 16px;
}

.ayx-prose h2,
.ayx-prose h3,
.ayx-prose h4 {
  margin-top: 28px;
  margin-bottom: 14px;
}

.ayx-prose ul,
.ayx-prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.ayx-prose li {
  margin-bottom: 6px;
}

.ayx-prose a {
  color: var(--ayx-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ayx-prose blockquote {
  border-left: 4px solid var(--ayx-gold);
  padding: 12px 20px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 0 var(--ayx-radius-sm) var(--ayx-radius-sm) 0;
  margin: 24px 0;
}

.ayx-stat {
  font-family: var(--ayx-font-display);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--ayx-blue);
  font-variant-numeric: tabular-nums;
}

.ayx-panel .ayx-stat {
  color: var(--ayx-gold);
}

/* ---------- 4. 布局容器 ---------- */
.ayx-wrap {
  max-width: var(--ayx-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4%, 40px);
}

.ayx-main,
#main-content {
  display: block;
  min-height: 60vh;
  outline: none;
  scroll-margin-top: 90px;
}

.ayx-section {
  padding-block: clamp(32px, 6vw, 84px);
}

.ayx-section--tint {
  background: var(--ayx-mist);
}

.ayx-section--blue {
  background: var(--ayx-blue);
}

/* ---------- 5. 无障碍与进度条 ---------- */
.ayx-skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background: var(--ayx-orange);
  color: var(--ayx-charcoal);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 0 0 var(--ayx-radius-pill) var(--ayx-radius-pill);
  transition: top 0.2s ease;
}

.ayx-skip:focus {
  top: 0;
}

.ayx-skip:focus-visible {
  outline: 3px solid var(--ayx-charcoal);
  outline-offset: 0;
}

.ayx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 999;
  pointer-events: none;
  background: transparent;
}

.ayx-progress__bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--ayx-gold), var(--ayx-orange));
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

/* ---------- 6. 页头 ---------- */
.ayx-header {
  position: relative;
  z-index: 100;
  background: var(--ayx-green);
  color: var(--ayx-white);
  box-shadow: 0 4px 20px rgba(11, 32, 27, 0.25);
}

@media (min-width: 768px) {
  .ayx-header {
    position: sticky;
    top: 0;
  }
}

.ayx-header__brandbar {
  background: var(--ayx-green);
  border-bottom: 1px solid rgba(248, 246, 242, 0.07);
}

.ayx-header__barrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

@media (min-width: 768px) {
  .ayx-header__barrow {
    min-height: 78px;
  }
}

.ayx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ayx-brand__badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #D6B63A 0%, var(--ayx-gold) 60%, #B28E20 100%);
  color: var(--ayx-green);
  font-family: var(--ayx-font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  border-radius: 12px 12px 12px 3px;
  transform: rotate(-2deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .ayx-brand__badge {
    width: 50px;
    height: 50px;
    font-size: 18px;
    border-radius: 14px 14px 14px 3px;
  }
}

.ayx-brand__block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ayx-brand__name {
  font-family: var(--ayx-font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 3px;
  color: var(--ayx-white);
}

@media (min-width: 768px) {
  .ayx-brand__name {
    font-size: 28px;
  }
}

.ayx-brand__tag {
  font-size: 12px;
  color: var(--ayx-mist);
  white-space: nowrap;
  letter-spacing: 1px;
  margin-top: 2px;
}

@media (max-width: 374px) {
  .ayx-brand__tag {
    display: none;
  }
}

.ayx-header__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ayx-header__live {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--ayx-mist);
  background: rgba(15, 27, 45, 0.45);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--ayx-radius-pill);
  padding: 6px 16px;
  white-space: nowrap;
}

.ayx-header__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ayx-orange);
  flex-shrink: 0;
  animation: ayx-pulse 1.8s ease-out infinite;
}

@keyframes ayx-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 140, 66, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 140, 66, 0);
  }
}

@media (min-width: 640px) {
  .ayx-header__live {
    display: inline-flex;
  }
}

.ayx-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ayx-radius-pill);
  color: var(--ayx-white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--ayx-transition), border-color var(--ayx-transition), color var(--ayx-transition);
}

.ayx-nav__toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ayx-nav__toggle[aria-expanded="true"] {
  background: var(--ayx-gold);
  border-color: var(--ayx-gold);
  color: var(--ayx-green);
}

.ayx-nav__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  transition: transform var(--ayx-transition);
}

.ayx-nav__bars i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--ayx-transition), opacity var(--ayx-transition);
}

.ayx-nav__toggle[aria-expanded="true"] .ayx-nav__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.ayx-nav__toggle[aria-expanded="true"] .ayx-nav__bars i:nth-child(2) {
  opacity: 0;
}

.ayx-nav__toggle[aria-expanded="true"] .ayx-nav__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.ayx-nav__toggle-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .ayx-nav__toggle {
    display: none !important;
  }
}

.ayx-header__navrow {
  background: rgba(13, 41, 32, 0.72);
  border-bottom: 3px solid var(--ayx-gold);
}

.ayx-nav {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
}

.ayx-nav[data-open] {
  max-height: 75vh;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
}

.ayx-nav__list {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 4px;
}

.ayx-nav__list a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--ayx-radius-sm);
  border-left: 3px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  transition: background var(--ayx-transition), color var(--ayx-transition), border-color var(--ayx-transition);
}

.ayx-nav__list a:hover {
  background: rgba(248, 246, 242, 0.08);
  color: var(--ayx-white);
}

.ayx-nav__list a[aria-current="page"] {
  border-left-color: var(--ayx-gold);
  background: rgba(201, 162, 39, 0.1);
  color: var(--ayx-white);
  font-weight: 800;
}

@media (min-width: 768px) {
  .ayx-nav {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible;
  }

  .ayx-nav__list {
    flex-direction: row;
    padding: 0;
    gap: 0;
  }

  .ayx-nav__list a {
    padding: 16px 22px;
    border-radius: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .ayx-nav__list a:hover {
    background: transparent;
    border-bottom-color: rgba(248, 246, 242, 0.25);
  }

  .ayx-nav__list a[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--ayx-gold);
    background: transparent;
  }
}

.ayx-header a:focus-visible,
.ayx-header button:focus-visible {
  outline-color: var(--ayx-gold);
}

/* ---------- 7. 页脚 ---------- */
.ayx-footer {
  position: relative;
  background: linear-gradient(140deg, var(--ayx-green) 0%, var(--ayx-blue) 80%);
  color: rgba(248, 246, 242, 0.8);
  overflow: hidden;
}

.ayx-footer > .ayx-wrap {
  position: relative;
  z-index: 1;
}

.ayx-footer::before {
  content: "AYX";
  position: absolute;
  right: -30px;
  bottom: -60px;
  font-family: var(--ayx-font-display);
  font-size: clamp(150px, 22vw, 280px);
  font-weight: 900;
  color: rgba(248, 246, 242, 0.025);
  line-height: 1;
  pointer-events: none;
  letter-spacing: 10px;
  z-index: 0;
}

.ayx-speedlines {
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(201, 162, 39, 0.9) 0px,
    rgba(201, 162, 39, 0.9) 4px,
    transparent 4px,
    transparent 18px
  );
  opacity: 0.7;
}

.ayx-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 48px;
  padding-bottom: 32px;
}

@media (min-width: 768px) {
  .ayx-footer__top {
    grid-template-columns: 1.6fr 0.8fr 0.8fr 1.4fr;
    gap: 32px;
    padding-top: 56px;
  }
}

.ayx-footer__brandcol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ayx-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ayx-font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--ayx-white);
  letter-spacing: 3px;
  text-decoration: none;
  transition: color var(--ayx-transition);
}

.ayx-footer__brand:hover {
  color: var(--ayx-gold);
}

.ayx-footer__brand::before {
  content: "AY";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--ayx-gold);
  color: var(--ayx-green);
  font-family: var(--ayx-font-display);
  font-size: 14px;
  font-weight: 900;
  border-radius: 12px 12px 12px 3px;
  transform: rotate(-2deg);
  letter-spacing: 0;
}

.ayx-footer__tagline {
  font-size: 13px;
  color: var(--ayx-gold);
  letter-spacing: 2px;
}

.ayx-footer__trust {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(248, 246, 242, 0.55);
}

.ayx-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.ayx-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ayx-gold);
  margin-bottom: 6px;
}

.ayx-footer__col a {
  color: rgba(248, 246, 242, 0.78);
  width: fit-content;
  font-size: 14px;
  transition: color var(--ayx-transition), padding-left var(--ayx-transition);
}

.ayx-footer__col a:hover {
  color: var(--ayx-white);
  padding-left: 6px;
}

.ayx-footer__contact span {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(248, 246, 242, 0.72);
}

.ayx-footer__bottom {
  border-top: 1px solid rgba(248, 246, 242, 0.1);
  padding: 18px 0 22px;
  font-size: 12.5px;
  color: rgba(248, 246, 242, 0.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.ayx-footer a:focus-visible,
.ayx-footer button:focus-visible,
.ayx-footer__bottom a:focus-visible {
  outline-color: var(--ayx-gold);
}

.ayx-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ayx-green);
  color: var(--ayx-gold);
  border: 2px solid rgba(201, 162, 39, 0.6);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 80;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ayx-to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ayx-to-top:hover {
  background: var(--ayx-gold);
  color: var(--ayx-green);
  transform: translateY(-3px);
}

.ayx-to-top:focus-visible {
  outline-color: var(--ayx-orange);
}

/* ---------- 8. 按钮 ---------- */
.ayx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--ayx-orange);
  color: var(--ayx-charcoal);
  border: 2px solid transparent;
  border-radius: var(--ayx-radius-pill);
  font-family: var(--ayx-font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ayx-transition), transform var(--ayx-transition), box-shadow var(--ayx-transition);
}

.ayx-btn:hover {
  background: #FFA05E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

.ayx-btn:active {
  transform: scale(0.98);
}

.ayx-btn--gold {
  background: var(--ayx-gold);
  color: var(--ayx-green);
}

.ayx-btn--gold:hover {
  background: #DDB53A;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.ayx-btn--ghost {
  background: transparent;
  color: var(--ayx-green);
  border-color: var(--ayx-green);
}

.ayx-btn--ghost:hover {
  background: rgba(27, 77, 62, 0.08);
  box-shadow: none;
}

.ayx-btn--light {
  background: var(--ayx-white);
  color: var(--ayx-charcoal);
}

.ayx-btn--light:hover {
  background: #FFFFFF;
}

/* ---------- 9. 卡片与面板 ---------- */
.ayx-card {
  background: var(--ayx-white);
  border-radius: var(--ayx-radius-sm) var(--ayx-radius) var(--ayx-radius) var(--ayx-radius-sm);
  padding: 24px;
  box-shadow: var(--ayx-shadow-card);
  transition: transform var(--ayx-transition), box-shadow var(--ayx-transition);
}

.ayx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ayx-shadow-pop);
}

.ayx-panel {
  position: relative;
  background: var(--ayx-blue);
  border-radius: var(--ayx-radius-sm) var(--ayx-radius) var(--ayx-radius) var(--ayx-radius-sm);
  padding: 28px;
  color: rgba(248, 246, 242, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.ayx-panel__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ayx-white);
  margin-bottom: 14px;
  line-height: 1.4;
}

.ayx-panel__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: var(--ayx-gold);
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: -3px;
}

/* ---------- 10. 区块标题与筛选 ---------- */
.ayx-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.ayx-section-head__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ayx-gold);
  margin-bottom: 4px;
}

.ayx-section-head__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ayx-charcoal);
}

.ayx-section-head--light .ayx-section-head__title {
  color: var(--ayx-white);
}

.ayx-section-head__link {
  color: var(--ayx-green);
  font-weight: 600;
  font-size: 14px;
}

.ayx-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ayx-filter__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid transparent;
  border-radius: var(--ayx-radius-pill);
  background: var(--ayx-mist);
  color: var(--ayx-charcoal);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--ayx-transition), color var(--ayx-transition), border-color var(--ayx-transition);
}

.ayx-filter__btn:hover {
  background: #D9E0D4;
}

.ayx-filter__btn[aria-pressed="true"] {
  background: var(--ayx-gold);
  border-color: var(--ayx-green);
  color: var(--ayx-green);
  font-weight: 800;
}

/* ---------- 11. 网格 ---------- */
.ayx-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.ayx-grid__span-3 {
  grid-column: span 3;
}

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

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

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

.ayx-grid__span-9 {
  grid-column: span 9;
}

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

@media (max-width: 767px) {
  .ayx-grid__span-3,
  .ayx-grid__span-4,
  .ayx-grid__span-6,
  .ayx-grid__span-8,
  .ayx-grid__span-9 {
    grid-column: span 12;
  }
}

/* ---------- 12. 时间轴 ---------- */
.ayx-timeline {
  position: relative;
  padding-left: 28px;
}

.ayx-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--ayx-gold) 0%, var(--ayx-orange) 50%, var(--ayx-red) 100%);
  border-radius: 3px;
}

.ayx-timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.ayx-timeline__item:last-child {
  padding-bottom: 0;
}

.ayx-timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ayx-white);
  border: 3px solid var(--ayx-green);
}

.ayx-timeline__item.is-highlight::before {
  background: var(--ayx-gold);
  border-color: var(--ayx-green);
}

/* ---------- 13. 面包屑 ---------- */
.ayx-breadcrumb {
  font-size: 13px;
  color: rgba(42, 42, 42, 0.55);
  padding: 14px 0;
}

.ayx-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.ayx-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(42, 42, 42, 0.3);
}

.ayx-breadcrumb a {
  color: var(--ayx-green);
  font-weight: 500;
  transition: color var(--ayx-transition);
}

.ayx-breadcrumb a:hover {
  color: var(--ayx-gold);
}

.ayx-breadcrumb [aria-current="page"] {
  color: var(--ayx-charcoal);
  font-weight: 700;
}

/* ---------- 14. 媒体容器 ---------- */
.ayx-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--ayx-radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 2px, transparent 2px, transparent 14px),
    var(--ayx-blue);
  min-height: 100px;
}

.ayx-media::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.ayx-media--wide::before {
  padding-top: 42%;
}

.ayx-media--portrait::before {
  padding-top: 125%;
}

.ayx-media--square::before {
  padding-top: 100%;
}

/* ---------- 15. 工具类 ---------- */
.ayx-divider {
  height: 3px;
  border: none;
  background: linear-gradient(90deg, var(--ayx-gold) 0%, var(--ayx-orange) 60%, transparent 100%);
  margin: 24px 0;
}

/* ---------- 16. 响应式与动效 ---------- */
@media (min-width: 768px) {
  .ayx-header__navrow {
    background: rgba(13, 41, 32, 0.72);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ayx-nav {
    transition: max-height 0.01ms ease, opacity 0.01ms ease, transform 0.01ms ease;
  }

  .ayx-to-top {
    transition: opacity 0.01ms ease, transform 0.01ms ease, visibility 0.01ms;
  }
}
