/* =========================================================
   HNYZ · 衡南一中编程社 — 蓝白科技风样式
   ---------------------------------------------------------
   设计要点：
   1. 蓝白配色：浅蓝背景 + 白色卡片 + 深海军蓝文字
   2. 主色 #2563eb，辅助深天蓝 #0369a1
   3. 项目卡片：16:9 封面、3 行简介、等宽字体数据栏
   4. Hover：边框高亮 + 柔和蓝色投影 + 轻微上浮
   5. 移动端：900px 切换菜单，1020 / 720px 调整网格

   所有颜色集中在 :root，想换主题只改变量即可。
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #f5f9ff;
  --bg-deep: #eaf2ff;
  --panel: #ffffff;
  --panel-2: #f2f7ff;
  --panel-3: #e8f1ff;

  --border: #d7e3f4;
  --border-strong: #b9cde8;

  --text: #0f2744;
  --text-soft: #29486b;
  --muted: #526b89;
  --dim: #58718f;

  --blue: #2563eb;
  --blue-bright: #1d4ed8;
  --green: #0369a1;
  --green-bright: #075985;
  --orange: #b45309;
  --red: #dc2626;
  --purple: #7c3aed;

  --blue-soft: rgba(37, 99, 235, 0.08);
  --green-soft: rgba(3, 105, 161, 0.1);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 14px;

  --mono: "SFMono-Regular", "Cascadia Code", "JetBrains Mono", Consolas,
    "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --glow-blue: 0 10px 28px rgba(37, 99, 235, 0.14);
  --glow-green: 0 10px 26px rgba(14, 165, 233, 0.13);
  --shadow-card: 0 18px 48px rgba(30, 64, 175, 0.1);
  color-scheme: light;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  /* 让滚动条的位置一直留着：切换主题、弹出层出现时内容宽度不会突然变一下 */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  /* 顶部蓝色光晕 + 极淡的工程网格 */
  background-image:
    radial-gradient(ellipse 70% 42% at 50% -12%, rgba(37, 99, 235, 0.12), transparent 65%),
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: #ffffff;
  background: var(--blue);
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--blue-bright);
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}

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

code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(110, 118, 129, 0.12);
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 0.86em;
  word-break: break-word;
}

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

/* 跳过导航，键盘用户可见 */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. 页头 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--blue);
  box-shadow: inset 0 0 16px rgba(37, 99, 235, 0.08);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: var(--mono);
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  color: var(--text);
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(14, 165, 233, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.08);
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 0.78rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  border-color: var(--green);
  background: rgba(14, 165, 233, 0.16);
  color: var(--green-bright);
  box-shadow: var(--glow-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-soft);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- 4. 首屏 ---------- */
.hero {
  position: relative;
  padding: 94px 0 90px;
  overflow: hidden;
}

/* 首屏右侧的蓝色网格光斑 */
.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.85);
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--text);
  font-size: clamp(3rem, 5.8vw, 5.15rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.accent-text {
  color: var(--blue);
  text-shadow: 0 0 40px rgba(37, 99, 235, 0.18);
}

.hero-lead {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button--primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.2);
}

.button--primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.32);
  transform: translateY(-2px);
}

.button--secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
}

.button--secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.button--full {
  width: 100%;
}

/* 首屏数据 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  padding: 18px 16px 0 0;
}

.hero-stat + .hero-stat {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.hero-stat dt {
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-stat dt small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.hero-stat dd {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

/* 快捷联系卡：终端窗口造型 */
.quick-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: var(--shadow-card);
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.7;
}

.quick-path {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(234, 242, 255, 0.72);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.quick-dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 4px;
}

.quick-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.quick-dots i:nth-child(1) {
  background: #ff5f56;
}

.quick-dots i:nth-child(2) {
  background: #ffbd2e;
}

.quick-dots i:nth-child(3) {
  background: #27c93f;
}

.quick-body {
  padding: 28px;
}

.card-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quick-body h2 {
  margin: 10px 0 24px;
  color: var(--text);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.quick-lines {
  border-top: 1px solid var(--border);
}

.quick-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.quick-label {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.quick-value {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-value--link:hover {
  color: var(--blue);
}

.mini-button {
  padding: 5px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mini-button:hover,
.mini-button.is-copied {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

.quick-note {
  margin-top: 18px;
  padding-left: 11px;
  border-left: 2px solid var(--border-strong);
  color: var(--dim);
  font-size: 0.78rem;
  line-height: 1.75;
}

/* ---------- 5. 通用区块 ---------- */
.section {
  position: relative;
  padding: 92px 0;
}

.section--soft {
  background: rgba(234, 242, 255, 0.58);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-head h2 {
  margin: 14px 0 16px;
  color: var(--text);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

/* ---------- 6. 关于 ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.95;
}

.about-quote {
  margin: 26px 0 0;
  padding: 18px 0 18px 20px;
  border-left: 2px solid var(--blue);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.8;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent);
}

.fact-list {
  border-top: 1px solid var(--border);
}

.fact-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.fact-list dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.fact-list dd {
  color: var(--text-soft);
  font-size: 0.86rem;
}

/* ---------- 7. 我们做什么 ---------- */
.do-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.do-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  transition: all 0.3s ease;
}

.do-card:hover {
  border-color: var(--blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-3px);
}

.do-num {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.do-card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.do-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* ---------- 8. 项目区 ---------- */
.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.code-line {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt {
  margin-right: 8px;
  color: var(--green);
}

.project-count {
  flex-shrink: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.render-note {
  margin-bottom: 20px;
  padding: 12px 15px;
  border: 1px solid rgba(210, 153, 34, 0.35);
  border-left: 2px solid var(--orange);
  border-radius: var(--radius-sm);
  background: rgba(210, 153, 34, 0.07);
  color: var(--orange);
  font-size: 0.8rem;
  line-height: 1.75;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.loading-state {
  grid-column: 1 / -1;
  padding: 40px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-align: center;
}

.loading-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.8);
  animation: blink 1.4s ease-in-out infinite;
}

.project-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- 9. 项目卡片 ---------- */
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  /* 统一过渡，hover 时边框、发光、位移一起变化 */
  transition: all 0.3s ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: var(--blue);
  box-shadow: var(--glow-blue), 0 18px 40px rgba(30, 64, 175, 0.12);
  transform: translateY(-4px);
}

/* 16:9 封面区域 */
.project-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-cover img {
  transform: scale(1.035);
}

/* 封面底部做一点暗角，让角标更清楚 */
.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(15, 39, 68, 0.42));
  pointer-events: none;
}

/* coverImg 为空时的科技网格占位 */
.cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(37, 99, 235, 0.2), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(14, 165, 233, 0.14), transparent 42%),
    linear-gradient(135deg, #eaf3ff 0%, #dbeafe 52%, #eff6ff 100%);
}

.cover-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  opacity: 0.75;
}

/* 缓慢移动的扫描线，增加一点“设备在线”的感觉 */
.cover-placeholder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
  animation: scan 6s linear infinite;
}

@keyframes scan {
  from {
    transform: translateY(-40px);
  }
  to {
    transform: translateY(220px);
  }
}

.cover-tag,
.cover-mark,
.cover-repo {
  position: relative;
  z-index: 1;
}

.cover-tag {
  padding: 3px 7px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 3px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  background: rgba(255, 255, 255, 0.72);
}

.cover-mark {
  margin: 12px 0 6px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-shadow: 0 0 26px rgba(37, 99, 235, 0.22);
}

.cover-repo {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.cover-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  backdrop-filter: blur(6px);
}

.cover-badge[data-state="rate-limit"],
.cover-badge[data-state="network"],
.cover-badge[data-state="error"] {
  border-color: rgba(210, 153, 34, 0.45);
  color: var(--orange);
}

.cover-badge[data-state="not-found"] {
  border-color: rgba(248, 81, 73, 0.45);
  color: var(--red);
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.project-heading {
  margin-bottom: 10px;
}

.project-title {
  overflow: hidden;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-owner {
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.project-desc {
  display: -webkit-box;
  min-height: 4.6em;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.project-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.project-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.stat-label {
  color: var(--dim);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.stat-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-soft);
}

.lang-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* 科技风描边按钮 */
.project-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: transparent;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.project-source:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-bright);
  box-shadow: var(--glow-blue);
}

.source-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.project-source:hover .source-arrow {
  transform: translate(2px, -2px);
}

.projects-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.projects-foot p {
  color: var(--dim);
  font-size: 0.82rem;
}

.projects-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
  white-space: nowrap;
}

.projects-archive-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.projects-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.projects-more:hover {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  transform: translateX(3px);
}

/* ---------- 9.5 全部项目页 ---------- */
.archive {
  padding-top: 144px;
}

.archive-head {
  max-width: 840px;
  margin-bottom: 44px;
}

.archive-head h1 {
  margin: 18px 0 18px;
  color: var(--text);
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.project-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-group {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.member-group[open] {
  border-color: var(--border-strong);
}

.member-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  transition: background 0.25s ease;
}

.member-summary::-webkit-details-marker {
  display: none;
}

.member-summary:hover {
  background: rgba(37, 99, 235, 0.05);
}

.member-group[open] .member-summary {
  border-bottom: 1px solid var(--border);
  background: rgba(37, 99, 235, 0.045);
}

.member-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.member-prompt {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.member-name {
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-meta {
  flex-shrink: 0;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.member-toggle {
  flex-shrink: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.member-group[open] .member-toggle {
  transform: rotate(45deg);
}

.member-body {
  padding: 20px;
}

/* 成员个人主页横幅：ghxiaochi 专属 */
.member-profile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.15), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 58%, #dceeff 100%);
}

.member-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 68%);
  mask-image: linear-gradient(115deg, #000, transparent 68%);
  pointer-events: none;
}

.member-profile__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.member-profile__kicker {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.member-profile__title {
  margin: 7px 0 5px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-profile__desc {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.member-profile__sprites {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 8px;
}

.member-chibi {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #ffffff;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.16);
  animation: chibi-bob-a 3.4s ease-in-out infinite;
}

.member-chibi--a {
  transform: rotate(-5deg);
}

.member-chibi--b {
  transform: rotate(4deg);
  animation-name: chibi-bob-b;
  animation-delay: -1.7s;
}

@keyframes chibi-bob-a {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-7px) rotate(-5deg); }
}

@keyframes chibi-bob-b {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

.member-hint {
  padding: 26px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-align: center;
}

.archive-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.archive-foot p {
  color: var(--dim);
  font-size: 0.82rem;
}

.archive-foot a {
  flex-shrink: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.noscript-note {
  padding: 16px;
  border: 1px solid rgba(210, 153, 34, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(210, 153, 34, 0.07);
  color: var(--orange);
  font-size: 0.85rem;
}

/* ---------- 10. 活动节奏 ---------- */
.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.schedule-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.schedule-item:last-child {
  border-bottom: 1px solid var(--border);
}

.schedule-when {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.schedule-item h3 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 1.04rem;
}

.schedule-item p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.85;
}

.agenda-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.agenda-card h3 {
  margin: 10px 0 18px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.4;
}

.agenda-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
  font-size: 0.84rem;
}

.agenda-time {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.agenda-note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.76rem;
  line-height: 1.8;
}

/* ---------- 11. 资源墙 ---------- */
.wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.wall-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: start;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  color: var(--text);
  transition: all 0.3s ease;
}

.wall-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wall-card:hover {
  border-color: var(--green);
  box-shadow: var(--glow-green), 0 16px 40px rgba(2, 132, 199, 0.12);
  color: var(--text);
  transform: translateY(-4px);
}

.wall-card:hover::before {
  opacity: 1;
}

.wall-index {
  padding-top: 2px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.wall-kicker {
  margin-bottom: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.wall-body h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.12rem;
}

.wall-body p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.wall-arrow {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 1.05rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.wall-card:hover .wall-arrow {
  color: var(--green);
  transform: translate(2px, -2px);
}

.wall-note {
  margin-top: 22px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.8;
}

/* ---------- 12. FAQ ---------- */
.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 780px;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

/* ---------- 13. 加入我们 ---------- */
.section--join {
  padding-top: 0;
  padding-bottom: 96px;
  background: transparent;
  border: 0;
}

.join-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  padding: 52px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.12), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 52%, #e0efff 100%);
  box-shadow: 0 28px 70px rgba(30, 64, 175, 0.14);
}

.join-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 62%);
  mask-image: linear-gradient(115deg, #000, transparent 62%);
  pointer-events: none;
}

.join-copy,
.join-contact {
  position: relative;
  z-index: 1;
}

.section-label--light {
  color: var(--green);
}

.join-copy h2 {
  margin: 14px 0 16px;
  color: var(--text);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.join-lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.join-steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.join-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.join-step-num {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.8;
}

.join-steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.join-steps p {
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.7;
}

.join-contact {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(8px);
}

.join-contact-label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.join-number {
  margin: 6px 0 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.join-divider {
  height: 1px;
  margin: 22px 0;
  background: var(--border);
}

.join-email {
  display: inline-block;
  margin: 6px 0 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85rem;
  word-break: break-all;
}

.join-email:hover {
  color: var(--blue);
}

.join-note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.74rem;
  line-height: 1.75;
}

.join-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.join-qr__img {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.join-qr__copy {
  min-width: 0;
}

.join-qr__copy strong {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
}

.join-qr__copy span {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-size: 0.7rem;
  line-height: 1.65;
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  padding: 46px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(234, 242, 255, 0.62);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-brand > p {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.9;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5.4vw, 4.3rem);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .schedule-layout,
  .join-panel {
    gap: 36px;
  }
}

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

  .container {
    width: min(calc(100% - 40px), 720px);
  }

  .header-inner {
    min-height: 64px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(30, 64, 175, 0.16);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.84rem;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero {
    padding: 66px 0 70px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 9vw, 4rem);
  }

  .quick-card {
    max-width: 560px;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .about-layout,
  .schedule-layout,
  .join-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .join-panel {
    padding: 38px 30px;
  }

  .schedule-item {
    grid-template-columns: 128px minmax(0, 1fr);
  }

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

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .do-grid,
  .wall-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .project-desc {
    min-height: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat:nth-child(3) {
    border-left: 0;
  }

  .hero-stat:nth-child(n + 3) {
    margin-top: 12px;
    border-top: 1px solid var(--border);
  }

  .project-toolbar,
  .projects-foot,
  .archive-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-source {
    width: 100%;
    justify-content: space-between;
  }

  .schedule-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .faq-item summary {
    font-size: 0.92rem;
  }

  .archive {
    padding-top: 112px;
  }

  .member-summary {
    padding: 16px;
  }

  .member-body {
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-copy span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.2rem);
  }

  .hero-lead {
    font-size: 0.94rem;
  }

  .button {
    width: 100%;
  }

  .quick-body {
    padding: 22px;
  }

  .quick-line {
    grid-template-columns: 66px minmax(0, 1fr) auto;
  }

  .quick-value {
    font-size: 0.76rem;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .join-panel {
    padding: 28px 20px;
  }

  .join-contact {
    padding: 20px;
  }

  .fact-list > div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .project-body {
    padding: 18px 16px 16px;
  }

  .project-stats {
    gap: 10px;
  }

  .archive-head h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .archive-actions .button {
    width: 100%;
  }

  .member-identity {
    gap: 8px;
  }

  .member-meta {
    display: none;
  }

  .wall-card {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    padding: 20px;
  }

  .footer-nav {
    gap: 10px 14px;
  }
}

/* ---------- 16. 可访问性：减少动画 ---------- */
@media (max-width: 720px) {
  .member-profile {
    gap: 12px;
    padding: 18px;
  }

  .member-chibi {
    width: 66px;
    height: 66px;
    border-radius: 14px;
  }
}

@media (max-width: 340px) {
  .member-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .member-profile__sprites {
    align-self: flex-end;
  }

  .member-profile__kicker {
    white-space: normal;
  }

  .join-qr {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-qr__img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 520px) {
  .join-qr {
    gap: 10px;
    padding: 8px;
  }

  .join-qr__img {
    width: 120px;
    height: 120px;
  }

  .member-profile {
    padding: 16px;
  }

  .member-profile__title {
    font-size: 1rem;
  }

  .member-profile__desc {
    font-size: 0.72rem;
  }

  .member-profile__kicker {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .member-profile__sprites {
    gap: 5px;
  }

  .member-chibi {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }
}

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