/* ==========================================================================
   千亿球友会 QY · /assets/site.css
   共享外壳与基础组件：reset、变量、排版、头部、页脚、按钮、卡片、网格
   ========================================================================== */

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

:root {
  color-scheme: light;

  --qy-indigo: #12294F;
  --qy-indigo-deep: #0E2145;
  --qy-sky: #2F7FD0;
  --qy-sky-deep: #1F5FA8;
  --qy-sand: #E4BE8C;
  --qy-paper: #F7ECDD;
  --qy-white: #FFFDF7;
  --qy-red: #C74432;
  --qy-green: #2F7D5D;
  --qy-yellow: #E0A32E;
  --qy-ink: #14202B;
  --qy-mist: #6C7A89;

  --qy-body: #26313D;
  --qy-line: rgba(18, 41, 79, .12);
  --qy-line-strong: rgba(18, 41, 79, .24);
  --qy-hair: rgba(255, 253, 247, .16);

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

  --qy-ease: cubic-bezier(.22, .61, .36, 1);
  --qy-max: 1280px;
  --qy-gutter: clamp(18px, 4vw, 40px);
  --qy-shadow: 0 20px 44px -32px rgba(18, 41, 79, .55);

  --qy-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  --qy-sans: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--qy-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--qy-body);
  background-color: var(--qy-paper);
  background-image: radial-gradient(rgba(18, 41, 79, .05) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--qy-serif);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--qy-indigo);
}

p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

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

/* ---------- 跳转链接 ---------- */

.qy-skip-link {
  position: absolute;
  left: 16px;
  top: -96px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--qy-pill);
  background: var(--qy-white);
  color: var(--qy-indigo);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 36px -18px rgba(10, 20, 38, .8);
  transition: top .22s var(--qy-ease);
}
.qy-skip-link:focus { top: 16px; }

/* ---------- 容器与网格 ---------- */

.qy-container {
  width: 100%;
  max-width: var(--qy-max);
  margin-inline: auto;
  padding-inline: var(--qy-gutter);
}

.qy-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.qy-col-3 { grid-column: span 3; }
.qy-col-4 { grid-column: span 4; }
.qy-col-6 { grid-column: span 6; }
.qy-col-8 { grid-column: span 8; }
.qy-col-12 { grid-column: span 12; }

/* ---------- 章节 ---------- */

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

.qy-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.qy-section__index {
  display: block;
  font-family: var(--qy-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  color: rgba(18, 41, 79, .16);
}

.qy-section__title {
  font-size: clamp(24px, 3.2vw, 40px);
  color: var(--qy-indigo);
}

.qy-section__lede {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: #3A4653;
}

/* ---------- 阅读列 ---------- */

.qy-prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--qy-body);
}
.qy-prose h2 {
  margin: 1.9em 0 .6em;
  font-size: clamp(22px, 2.4vw, 28px);
}
.qy-prose h3 {
  margin: 1.5em 0 .5em;
  font-family: var(--qy-serif);
  font-size: clamp(18px, 1.8vw, 21px);
}
.qy-prose ul, .qy-prose ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.qy-prose li { margin-bottom: .45em; }
.qy-prose a {
  color: var(--qy-sky-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qy-prose strong { color: var(--qy-indigo); }

/* ---------- 面包屑 ---------- */

.qy-breadcrumb { padding-block: 8px; }
.qy-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--qy-mist);
}
.qy-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.qy-breadcrumb__link {
  color: var(--qy-sky-deep);
  font-weight: 600;
  text-decoration: none;
}
.qy-breadcrumb__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.qy-breadcrumb__sep { color: rgba(18, 41, 79, .3); }
.qy-breadcrumb__current { color: var(--qy-ink); font-weight: 600; }

/* ---------- 经幡五色条 ---------- */

.qy-flags {
  display: flex;
  width: 100%;
  height: 5px;
  overflow: hidden;
}
.qy-flags__item { flex: 1 1 0; height: 100%; }
.qy-flags__item--sky { background: var(--qy-sky); }
.qy-flags__item--white { background: var(--qy-white); }
.qy-flags__item--red { background: var(--qy-red); }
.qy-flags__item--green { background: var(--qy-green); }
.qy-flags__item--yellow { background: var(--qy-yellow); }

/* ---------- 头部命令栏 ---------- */

.qy-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  background: var(--qy-indigo);
  color: var(--qy-white);
  border-bottom: 1px solid rgba(255, 253, 247, .12);
  transition: background-color .24s var(--qy-ease), box-shadow .24s var(--qy-ease);
}
.qy-header[data-scrolled="true"] {
  background: var(--qy-indigo-deep);
  box-shadow: 0 18px 44px -34px rgba(6, 14, 28, .95);
}

.qy-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 74px;
  padding-block: 10px;
  transition: min-height .24s var(--qy-ease);
}
.qy-header[data-scrolled="true"] .qy-header__inner { min-height: 60px; }

/* 品牌 */

.qy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--qy-r-md);
  color: inherit;
  text-decoration: none;
}

.qy-brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--qy-sky) 0%, var(--qy-sky-deep) 100%);
  color: var(--qy-white);
  font-family: var(--qy-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, .28);
}
.qy-brand__mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--qy-yellow), var(--qy-red), var(--qy-green));
}

.qy-brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.qy-brand__name {
  font-family: var(--qy-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.3;
  color: var(--qy-white);
  white-space: nowrap;
}

.qy-brand__line {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.3;
  color: rgba(255, 253, 247, .62);
  white-space: nowrap;
}

.qy-brand--footer .qy-brand__name { font-size: 16px; }
.qy-brand--footer .qy-brand__line { color: rgba(255, 253, 247, .58); }

/* 导航 */

.qy-nav { justify-self: center; min-width: 0; }

.qy-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qy-nav__item { margin: 0; }

.qy-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 12px 11px;
  border-radius: var(--qy-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 253, 247, .78);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--qy-ease), background-color .2s var(--qy-ease);
}
.qy-nav__link:hover { color: var(--qy-white); background: rgba(255, 253, 247, .09); }

.qy-nav__index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--qy-yellow);
  opacity: .8;
}

.qy-nav__link[aria-current="page"] {
  color: var(--qy-white);
  background: rgba(47, 127, 208, .24);
}
.qy-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--qy-sky);
}
.qy-nav__link[aria-current="page"] .qy-nav__index { opacity: 1; }

.qy-nav__foot { display: none; }

/* 右侧工具区 */

.qy-header__tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.qy-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 13px;
  border-radius: var(--qy-pill);
  border: 1px solid rgba(255, 253, 247, .18);
  background: rgba(255, 253, 247, .07);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 253, 247, .84);
  white-space: nowrap;
}

.qy-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qy-green);
  box-shadow: 0 0 0 3px rgba(47, 125, 93, .28);
}

/* 移动导航按钮 */

.qy-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--qy-pill);
  border: 1px solid rgba(255, 253, 247, .3);
  background: transparent;
  color: var(--qy-white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--qy-ease), border-color .2s var(--qy-ease);
}
.qy-nav-toggle:hover { background: rgba(255, 253, 247, .12); }

.qy-nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  transition: box-shadow .2s var(--qy-ease), transform .2s var(--qy-ease);
}

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

.qy-nav-toggle[aria-expanded="true"] { background: rgba(47, 127, 208, .28); border-color: var(--qy-sky); }
.qy-nav-toggle[aria-expanded="true"] .qy-nav-toggle__bars {
  transform: rotate(45deg);
  box-shadow: 0 0 0 currentColor, 0 0 0 currentColor;
}

/* ---------- 按钮 ---------- */

.qy-btn {
  --btn-bg: transparent;
  --btn-fg: var(--qy-indigo);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--qy-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--qy-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s var(--qy-ease), color .22s var(--qy-ease),
              border-color .22s var(--qy-ease), transform .22s var(--qy-ease);
}
.qy-btn:hover { transform: translateY(-1px); }

.qy-btn--primary {
  --btn-bg: var(--qy-sky-deep);
  --btn-fg: var(--qy-white);
  --btn-bd: var(--qy-sky-deep);
}
.qy-btn--primary:hover {
  --btn-bg: var(--qy-sky);
  --btn-bd: var(--qy-sky);
}

.qy-btn--sand {
  --btn-bg: var(--qy-sand);
  --btn-fg: var(--qy-ink);
  --btn-bd: var(--qy-sand);
}
.qy-btn--sand:hover {
  --btn-bg: #EFCFA4;
  --btn-bd: #EFCFA4;
}

.qy-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--qy-white);
  --btn-bd: rgba(255, 253, 247, .34);
}
.qy-btn--ghost:hover {
  --btn-bg: rgba(255, 253, 247, .14);
  --btn-bd: rgba(255, 253, 247, .62);
}

.qy-btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--qy-indigo);
  --btn-bd: var(--qy-line-strong);
}
.qy-btn--outline:hover {
  --btn-bg: var(--qy-indigo);
  --btn-fg: var(--qy-white);
  --btn-bd: var(--qy-indigo);
}

.qy-btn--compact {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

/* ---------- 卡片 ---------- */

.qy-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--qy-line);
  border-radius: var(--qy-r-lg);
  background: var(--qy-white);
  box-shadow: var(--qy-shadow);
  transition: transform .24s var(--qy-ease), border-color .24s var(--qy-ease);
}
.qy-card:hover { transform: translateY(-2px); border-color: var(--qy-line-strong); }

.qy-card--sand {
  background: linear-gradient(160deg, #F3D8B6 0%, var(--qy-sand) 100%);
  border-color: rgba(18, 41, 79, .16);
}
.qy-card--indigo {
  background: var(--qy-indigo);
  border-color: rgba(255, 253, 247, .18);
  color: rgba(255, 253, 247, .84);
}
.qy-card--sky {
  background: linear-gradient(160deg, #E4F1FE 0%, #CBE4FB 100%);
  border-color: rgba(18, 41, 79, .12);
}

.qy-card__index {
  font-family: var(--qy-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--qy-yellow);
}

.qy-card__title {
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 800;
  line-height: 1.32;
  color: var(--qy-indigo);
}
.qy-card--indigo .qy-card__title { color: var(--qy-white); }

.qy-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #3A4653;
}
.qy-card--indigo .qy-card__text { color: rgba(255, 253, 247, .78); }

.qy-card__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--qy-mist);
}
.qy-card--indigo .qy-card__meta { color: rgba(255, 253, 247, .6); }

/* ---------- 标签 ---------- */

.qy-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: var(--qy-pill);
  background: rgba(47, 127, 208, .12);
  color: var(--qy-sky-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.6;
}
.qy-tag--red { background: rgba(199, 68, 50, .13); color: #A3352A; }
.qy-tag--green { background: rgba(47, 125, 93, .14); color: #1F6448; }
.qy-tag--yellow { background: rgba(224, 163, 46, .2); color: #815608; }
.qy-tag--sand { background: rgba(228, 190, 140, .34); color: #7A5320; }

/* ---------- 图片容器 ---------- */

.qy-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--qy-r-lg);
  background: linear-gradient(145deg, var(--qy-indigo) 0%, #1B4A86 55%, var(--qy-sky) 100%);
  box-shadow: var(--qy-shadow);
}
.qy-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .7;
  background-image:
    linear-gradient(rgba(255, 253, 247, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 247, .09) 1px, transparent 1px);
  background-size: 32px 32px;
}
.qy-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.qy-media--sand { background: linear-gradient(145deg, #EFD3AC 0%, var(--qy-sand) 60%, #D3A46E 100%); }
.qy-media--sand::after {
  background-image:
    linear-gradient(rgba(18, 41, 79, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 41, 79, .09) 1px, transparent 1px);
}

.qy-media__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(255, 253, 247, .88);
}

/* ---------- 主题筛选 ---------- */

.qy-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.qy-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--qy-line-strong);
  border-radius: var(--qy-pill);
  background: var(--qy-white);
  color: var(--qy-indigo);
  font-family: var(--qy-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s var(--qy-ease), color .16s var(--qy-ease),
              border-color .16s var(--qy-ease);
}
.qy-filter:hover { background: rgba(47, 127, 208, .1); border-color: var(--qy-sky); }
.qy-filter[aria-pressed="true"] {
  background: var(--qy-indigo);
  border-color: var(--qy-indigo);
  color: var(--qy-white);
}

.qy-filter__count {
  font-size: 11px;
  font-weight: 700;
  color: var(--qy-mist);
}
.qy-filter[aria-pressed="true"] .qy-filter__count { color: var(--qy-yellow); }

.qy-filter-status {
  margin: 0;
  font-size: 13px;
  color: var(--qy-mist);
}

[data-filter-item][hidden] { display: none; }

/* ---------- 进入视口淡入 ---------- */

.qy-reveal { opacity: 1; transform: none; }

.qy-js .qy-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--qy-ease), transform .5s var(--qy-ease);
}
.qy-js .qy-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */

.qy-footer {
  margin-top: 0;
  background: var(--qy-indigo);
  color: rgba(255, 253, 247, .8);
  border-top: 1px solid rgba(255, 253, 247, .1);
}

.qy-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 72px) clamp(20px, 2.6vw, 32px);
}

.qy-footer__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.qy-footer__tagline {
  margin: 0;
  max-width: 32ch;
  font-family: var(--qy-serif);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--qy-white);
}

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

.qy-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.qy-footer__title {
  margin: 0;
  font-family: var(--qy-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  color: var(--qy-yellow);
}

.qy-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qy-footer__link {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 253, 247, .8);
  text-decoration: none;
  transition: color .2s var(--qy-ease);
}
.qy-footer__link:hover {
  color: var(--qy-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--qy-yellow);
}

.qy-footer__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 18px 28px;
  margin: 0;
  padding: clamp(20px, 2.6vw, 28px) 0;
  border-top: 1px solid rgba(255, 253, 247, .14);
  border-bottom: 1px solid rgba(255, 253, 247, .14);
  list-style: none;
}

.qy-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.qy-footer__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--qy-yellow);
}

.qy-footer__value {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 253, 247, .9);
  overflow-wrap: anywhere;
}

.qy-footer__bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding-top: clamp(18px, 2.2vw, 24px);
}

.qy-footer__legal {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 253, 247, .62);
}

.qy-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

.qy-footer__icp {
  margin: 0;
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(255, 253, 247, .55);
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .qy-nav__index { display: none; }
  .qy-nav__link { padding: 9px 10px 11px; font-size: 13.5px; }
  .qy-status { display: none; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 88px; }

  .qy-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 64px;
  }
  .qy-header[data-scrolled="true"] .qy-header__inner { min-height: 56px; }

  .qy-header__tools .qy-btn { display: none; }
  .qy-nav-toggle { display: inline-flex; }

  .qy-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--qy-gutter));
    right: calc(-1 * var(--qy-gutter));
    display: none;
    justify-self: stretch;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 12px var(--qy-gutter) 22px;
    background: var(--qy-indigo-deep);
    border-top: 1px solid rgba(255, 253, 247, .14);
    box-shadow: 0 30px 54px -30px rgba(4, 10, 20, .95);
  }
  .qy-nav[data-open="true"] { display: block; }

  .qy-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .qy-nav__link {
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 14px;
    font-size: 16px;
  }
  .qy-nav__index { display: inline; font-size: 11px; }
  .qy-nav__link[aria-current="page"]::after { left: 14px; right: auto; width: 22px; bottom: 8px; }

  .qy-nav__foot {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 253, 247, .14);
  }
  .qy-nav__foot .qy-btn { width: 100%; }

  .qy-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .qy-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .qy-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .qy-col-3, .qy-col-4 { grid-column: span 3; }
  .qy-col-6, .qy-col-8 { grid-column: span 6; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .qy-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qy-footer__bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .qy-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qy-col-3, .qy-col-4, .qy-col-6, .qy-col-8, .qy-col-12 { grid-column: 1 / -1; }

  .qy-brand__line { display: none; }
  .qy-brand__mark { width: 40px; height: 40px; border-radius: 12px; }
  .qy-brand__name { font-size: 14px; }

  .qy-nav-toggle__label { display: none; }
  .qy-nav-toggle { padding: 0 13px; }

  .qy-footer__nav { grid-template-columns: minmax(0, 1fr); }
  .qy-media { border-radius: var(--qy-r-md); }
}

@media (max-width: 400px) {
  .qy-btn { min-height: 42px; padding: 0 16px; font-size: 13.5px; }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */

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

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

  .qy-js .qy-reveal,
  .qy-reveal {
    opacity: 1;
    transform: none;
  }

  .qy-btn:hover,
  .qy-card:hover {
    transform: none;
  }
}
