/* 无线电爱好者协会 - 公共样式 */

/* 基础变量 */
:root {
  --nav-height: 3.5rem;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-accent: #2563eb;
  --color-text: #1f2937;
  --color-text-light: #4b5563;
  --color-text-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-gray: #f8fafc;
  --color-bg-card: #ffffff;
  --color-border: #e5e7eb;
  --color-link: #2563eb;
  --color-link-hover: #1d4ed8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --radius: 8px;
}

/* 基础样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover {
  color: var(--color-link-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* 容器 */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3rem;
}

.page-container--narrow {
  max-width: 40rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

/* 导航栏 */
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--color-primary);
}

.nav-logo img {
  width: 2rem;
  height: 2rem;
  background-color: var(--color-primary);
  border-radius: 4px;
  padding: 2px;
}

.nav-logo span {
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-links a {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;
  border-radius: 4px;
  transition: color 200ms ease, background-color 200ms ease;
}

.nav-links a:hover {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
}

.nav-links a.active {
  color: var(--color-primary);
  font-weight: 500;
  background: rgba(37, 99, 235, 0.1);
}

/* 移动端菜单按钮 */
.menu-btn {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}

.menu-btn:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.menu-btn:active {
  transform: scale(0.96);
}

.menu-btn__icon {
  position: relative;
  display: flex;
  width: 1.25rem;
  height: 1rem;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
  transform-origin: center;
}

.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 0.5rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  max-height: calc(100vh - var(--nav-height));
  max-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid #f3f4f6;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  z-index: 999;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  color: #4b5563;
  border-radius: 8px;
  transition: color 180ms ease, background-color 180ms ease, transform 150ms ease;
}

.mobile-menu a:hover {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.06);
}

.mobile-menu a:active {
  transform: scale(0.99);
}

.mobile-menu a.active {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu a {
    min-height: 2.75rem;
  }
}

@media (max-width: 800px) {
  .nav {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .page-container {
    padding: 1.75rem 1rem 2.5rem;
  }
  
  .nav-logo span {
    display: none;
  }

  .form-card {
    padding: 1.25rem;
  }

  .activity-card {
    min-height: 0;
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.26) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 52%, #000 100%);
}

.hero-signal {
  position: absolute;
  top: 50%;
  right: max(4vw, calc((100vw - 1100px) / 2));
  width: clamp(190px, 24vw, 310px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.48;
}

.hero-signal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bfdbfe;
  box-shadow:
    0 0 0 5px rgba(96, 165, 250, 0.12),
    0 0 24px 8px rgba(96, 165, 250, 0.42);
  transform: translate(-50%, -50%);
}

.hero-signal span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(147, 197, 253, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  animation: hero-signal-pulse 7.5s ease-in-out infinite;
}

.hero-signal span:nth-child(1) {
  width: 34%;
  height: 34%;
}

.hero-signal span:nth-child(2) {
  width: 64%;
  height: 64%;
  animation-delay: 1.2s;
}

.hero-signal span:nth-child(3) {
  width: 94%;
  height: 94%;
  animation-delay: 2.4s;
}

.hero-wave {
  position: absolute;
  right: -2%;
  bottom: 13%;
  width: min(45vw, 560px);
  height: 52px;
  opacity: 0.16;
  background: linear-gradient(90deg, transparent, #93c5fd 14%, #dbeafe 78%, transparent);
  clip-path: polygon(
    0 49%, 7% 49%, 11% 30%, 15% 68%, 19% 42%, 23% 58%, 28% 49%,
    36% 49%, 40% 20%, 44% 80%, 48% 36%, 52% 63%, 57% 49%,
    66% 49%, 70% 29%, 74% 70%, 78% 42%, 82% 57%, 87% 49%, 100% 49%,
    100% 52%, 87% 52%, 82% 60%, 78% 45%, 74% 73%, 70% 32%, 66% 52%,
    57% 52%, 52% 66%, 48% 39%, 44% 83%, 40% 23%, 36% 52%,
    28% 52%, 23% 61%, 19% 45%, 15% 71%, 11% 33%, 7% 52%, 0 52%
  );
  animation: hero-wave-drift 9s ease-in-out infinite alternate;
}

@keyframes hero-signal-pulse {
  0%,
  100% {
    opacity: 0.46;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

@keyframes hero-wave-drift {
  from {
    opacity: 0.1;
    transform: translateX(-8px);
  }
  to {
    opacity: 0.2;
    transform: translateX(8px);
  }
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.5rem;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-solid:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.btn-primary:focus-visible,
.btn-solid:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-primary:active,
.btn-solid:active {
  transform: translateY(0);
}

.btn-solid:disabled,
.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

/* 卡片 */
.card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.card-section {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.045);
}

.card-title {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.card-title--accent {
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #dbeafe;
}

.content-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-panel {
  padding: 1rem;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  background: #f8fafc;
}

@media (hover: hover) {
  a.card:hover,
  .card-interactive:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
    border-color: rgba(37, 99, 235, 0.32);
  }

  .btn-primary:hover,
  .btn-solid:hover {
    transform: translateY(-1px);
  }
}

/* 网格 */
.grid {
  display: grid;
  gap: 1rem;
}

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

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .md\:grid-cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:col-span-2 {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* 间距 */
.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

/* 文本 */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* 颜色 */
.text-gray-400 {
  color: #6b7280;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-800 {
  color: #1f2937;
}

.text-blue-600 {
  color: #2563eb;
}

.text-green-600 {
  color: #16a34a;
}

.text-yellow-600 {
  color: #ca8a04;
}

.text-red-500 {
  color: #dc2626;
}

.text-white {
  color: #ffffff;
}

/* 背景 */
.bg-white {
  background-color: #ffffff;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-blue-50\/50 {
  background-color: rgba(239, 246, 255, 0.5);
}

.bg-green-50 {
  background-color: #f0fdf4;
}

.bg-yellow-50 {
  background-color: #fefce8;
}

.bg-black\/40 {
  background-color: rgba(0, 0, 0, 0.4);
}

/* 边框 */
.border {
  border: 1px solid var(--color-border);
}

.border-t {
  border-top: 1px solid var(--color-border);
}

.border-b {
  border-bottom: 1px solid var(--color-border);
}

.border-b-2 {
  border-bottom: 2px solid var(--color-border);
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-green-200 {
  border-color: #bbf7d0;
}

.border-yellow-200 {
  border-color: #fef08a;
}

.border-blue-100 {
  border-color: #dbeafe;
}

.border-blue-400 {
  border-color: #60a5fa;
}

.border-blue-600 {
  border-color: #2563eb;
}

.border-l-4 {
  border-left-width: 4px;
  border-left-style: solid;
}

.border-t-4 {
  border-top-width: 4px;
  border-top-style: solid;
}

/* 圆角 */
.rounded {
  border-radius: 4px;
}

.rounded-lg {
  border-radius: 8px;
}

.rounded-full {
  border-radius: 9999px;
}

/* 阴影 */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

/* 其他 */
.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.-mt-6 {
  margin-top: -1.5rem;
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-hint {
  display: none;
}

.w-full {
  width: 100%;
}

.shrink-0 {
  flex-shrink: 0;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.transition-all {
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease,
    opacity 200ms ease;
}

.opacity-90 {
  opacity: 0.9;
}

.group:hover .group-hover\:text-blue-600 {
  color: #2563eb;
}

.group:hover .group-hover\:underline {
  text-decoration: underline;
}

.hover\:shadow-md:hover {
  box-shadow: var(--shadow-md);
}

.hover\:border-gray-300:hover {
  border-color: #d1d5db;
}

.hover\:text-blue-600:hover {
  color: #2563eb;
}

.hover\:bg-blue-50:hover {
  background-color: #eff6ff;
}

.hover\:underline:hover {
  text-decoration: underline;
}

/* 首页分区链接 */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.more-link::after {
  content: "→";
  display: inline-block;
  opacity: 0.75;
  transition: transform 180ms ease, opacity 180ms ease;
}

.more-link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (hover: hover) {
  .more-link:hover::after {
    opacity: 1;
    transform: translateX(3px);
  }
}

/* 分区标题 */
.section-title {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 6.75rem;
  height: 2px;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.16);
}

.section-title.mb-0 {
  margin-bottom: 0;
}

.section-title.border-none {
  border-bottom: none;
  padding-bottom: 0;
}

.section-title.border-none::after {
  display: none;
}

/* 首页无线电主题标题与装饰 */
.radio-section {
  position: relative;
}

.radio-section-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-position: 0 3.5rem;
  background-size: 32px 32px;
}

.themed-section-header {
  position: relative;
}

.themed-section-title {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.themed-section-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-wave {
  display: block;
  width: 6.75rem;
  height: 0.75rem;
  overflow: visible;
  color: rgba(37, 99, 235, 0.7);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.section-wave-baseline {
  opacity: 0.22;
}

.mini-spectrum {
  display: inline-flex;
  width: 1.75rem;
  height: 1.1rem;
  align-items: flex-end;
  justify-content: center;
  gap: 0.16rem;
  opacity: 0.72;
}

.mini-spectrum span {
  --bar-scale: 0.55;
  width: 0.16rem;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  transform: scaleY(var(--bar-scale));
  transform-origin: center bottom;
  animation: mini-spectrum-shift 3.2s ease-in-out infinite;
}

.mini-spectrum span:nth-child(2) {
  --bar-scale: 0.82;
  animation-delay: -1.8s;
}

.mini-spectrum span:nth-child(3) {
  --bar-scale: 0.42;
  animation-delay: -0.8s;
}

.mini-spectrum span:nth-child(4) {
  --bar-scale: 0.95;
  animation-delay: -2.4s;
}

.mini-spectrum span:nth-child(5) {
  --bar-scale: 0.64;
  animation-delay: -1.2s;
}

@keyframes mini-spectrum-shift {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleY(var(--bar-scale));
  }

  50% {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

.mini-radar {
  position: relative;
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 50%;
  opacity: 0.68;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at center, transparent 0 34%, rgba(37, 99, 235, 0.18) 35% 38%, transparent 39%),
    linear-gradient(90deg, transparent 48%, rgba(37, 99, 235, 0.16) 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, rgba(37, 99, 235, 0.16) 49% 51%, transparent 52%);
}

.mini-radar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.85), transparent);
  transform: rotate(25deg);
  transform-origin: left center;
  animation: mini-radar-sweep 8s linear infinite;
}

@keyframes mini-radar-sweep {
  to {
    transform: rotate(385deg);
  }
}

.signal-card {
  position: relative;
}

.signal-card::before,
.signal-card::after {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: -0.22rem;
  border-radius: 50%;
  pointer-events: none;
}

.signal-card::before {
  width: 0.42rem;
  height: 0.42rem;
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.48);
}

.signal-card::after {
  width: 0.78rem;
  height: 0.78rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transform: translate(-0.18rem, -0.18rem);
}

@media (max-width: 800px) {
  .radio-section-grid {
    background-size: 26px 26px;
  }

  .themed-section-title-row {
    gap: 0.55rem;
  }

  .section-wave {
    width: 5rem;
  }

  .mini-radar {
    width: 1.5rem;
    height: 1.5rem;
  }

  .mini-radar::before {
    animation: none;
  }

  .mini-spectrum span {
    animation: none;
  }
}

@media (max-width: 480px) {
  .mini-spectrum {
    display: none;
  }

  .mini-radar {
    opacity: 0.68;
  }
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.85rem;
  transition: background-color 200ms ease, color 200ms ease;
}

.tag:hover {
  background: rgba(37, 99, 235, 0.15);
}

/* 数据表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.overflow-x-auto .data-table {
  min-width: 36rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.data-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
  white-space: nowrap;
}

.data-table tr:hover {
  background: rgba(239, 246, 255, 0.52);
}

/* 表单 */
.form-input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background: #fff;
  color: #333;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.form-input:hover {
  border-color: #b9c5d4;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: #6b7280;
  opacity: 1;
}

select.form-input:invalid {
  color: #6b7280;
}

select.form-input option {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: #172033;
}

textarea.form-input {
  min-height: 7rem;
  resize: vertical;
}

.form-card {
  padding: 1.75rem;
}

@media (max-width: 480px) {
  .card,
  .info-panel,
  .notice-card {
    overflow-wrap: anywhere;
  }

  .form-card {
    padding: 1.125rem;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

/* 页脚 */
.footer {
  background: #f9fafb;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}

.footer .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid > div:last-child {
    grid-column: 3;
  }
}

.footer h4 {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: #374151;
}

.footer p, .footer a {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.625;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-recruitment-officer-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-contact-meta {
  margin-top: 0.5rem;
}

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.qq-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.qq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #12B7F5;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  line-height: 1;
}

/* 回到顶部 */
.scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scrollTopBtn:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.scrollTopBtn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

@media (hover: hover) {
  .scrollTopBtn.visible:hover {
    transform: translateY(0) scale(1.05);
  }
}

@media (max-width: 480px) {
  .scrollTopBtn {
    right: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* 模态框 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.modal p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* 徽章 */
.badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* 隐藏 */
.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:inline {
    display: inline;
  }
  
  .md\:table-cell {
    display: table-cell;
  }
}

/* 图片查看器 */
.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
  cursor: pointer;
}

.image-viewer.open {
  opacity: 1;
  visibility: visible;
}

.image-viewer img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-viewer__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.56);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.image-viewer__close:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

/* 返回链接 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* 统计卡片 */
.stat-card {
  text-align: center;
  padding: 0.85rem 0.65rem;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: var(--radius);
  background: #f8fafc;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

/* 服务卡片 */
.service-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.28);
}

.service-card .num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.service-card .name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

/* 工具提示 */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 0.75rem;
  background: #1f2937;
  color: white;
  font-size: 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
  margin-bottom: 0.5rem;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.home-page .home-honors-section .section-title {
  color: #f8fbff;
}

@keyframes home-aurora-primary {
  from {
    opacity: 0.58;
    transform: translate3d(-3%, 1%, 0) scale(0.96);
  }

  to {
    opacity: 0.76;
    transform: translate3d(4%, -3%, 0) scale(1.06);
  }
}

@keyframes home-aurora-secondary {
  from {
    opacity: 0.42;
    transform: translate3d(2%, 5%, 0) scale(1);
  }

  to {
    opacity: 0.62;
    transform: translate3d(-5%, -2%, 0) scale(1.08);
  }
}

@keyframes home-aurora-accent {
  from {
    opacity: 0.24;
    transform: translate3d(-5%, -3%, 0) scale(0.9);
  }

  to {
    opacity: 0.46;
    transform: translate3d(7%, 5%, 0) scale(1.12);
  }
}

@keyframes home-scroll-cue {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }

  35%,
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(220%);
  }
}

/* 尊重用户的减少动画偏好 */
@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;
  }

  a.card:hover,
  .card-interactive:hover,
  .service-card:hover,
  .btn-primary:hover,
  .btn-solid:hover,
  .more-link:hover::after,
  .scrollTopBtn,
  .scrollTopBtn.visible,
  .scrollTopBtn.visible:hover {
    transform: none;
  }

  .hero-signal span,
  .hero-wave,
  .mini-spectrum span,
  .mini-radar::before {
    animation: none !important;
  }

  .home-page .home-hero-scroll-cue span::after {
    animation: none !important;
  }

  .home-page.home-effects-ready .home-reveal,
  .home-page.home-effects-ready .home-reveal-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 第六轮：全站内页视觉系统（首页与业务逻辑隔离） */
.site-page {
  --site-surface: rgba(255, 255, 255, 0.94);
  --site-surface-soft: rgba(248, 250, 252, 0.9);
  --site-border: rgba(148, 163, 184, 0.22);
  --site-border-strong: rgba(59, 130, 246, 0.32);
  --site-ink: #14213d;
  --site-muted: #5c6b83;
  --site-blue: #2563eb;
  --site-cyan: #06b6d4;
  --site-violet: #60a5fa;
  --site-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --site-shadow-hover: 0 24px 60px rgba(30, 64, 175, 0.14);
  --site-section-gap: clamp(1.5rem, 2.5vw, 2rem);
  background: #f5f8fc;
  color: var(--site-ink);
}
.site-page {
  padding-top: 3.5rem;
}


.site-page .page-container.subpage-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--site-section-gap);
  padding-top: 3.25rem;
  padding-bottom: 4.75rem;
}

/* 内页同级区块统一间距，避免各页面的 mb-6 叠加出不同留白。 */
.site-page .page-container.subpage-content > .mb-6 {
  margin-bottom: 0;
}

.site-page .page-container.subpage-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: min(7rem, 18vw);
  height: 2px;
  background: var(--site-blue);
  opacity: 0.72;
}

/* 首页和内页共用的高级导航外观，链接结构保持不变 */
.home-page .nav,
.site-page .nav {
  background: rgba(245, 250, 255, 0.96);
  border-bottom-color: rgba(30, 78, 121, 0.18);
  box-shadow: 0 4px 14px rgba(41, 76, 112, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.home-page .nav-logo,
.site-page .nav-logo {
  color: #10233f;
}

.home-page .nav-logo:hover,
.site-page .nav-logo:hover {
  color: #1d4ed8;
}

.home-page .nav-logo img,
.site-page .nav-logo img {
  background: #2563eb;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

.home-page .nav-links a,
.site-page .nav-links a {
  position: relative;
  color: #52657d;
  border: 1px solid transparent;
  border-radius: 7px;
}

.home-page .nav-links a:hover,
.site-page .nav-links a:hover {
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.58);
  border-color: rgba(37, 99, 235, 0.12);
}

.home-page .nav-links a.active,
.site-page .nav-links a.active {
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.58);
  border-color: transparent;
  box-shadow: inset 0 -2px 0 #2563eb;
}

.home-page .menu-btn,
.site-page .menu-btn {
  color: #294866;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 10px;
}

.home-page .menu-btn:hover,
.site-page .menu-btn:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.home-page .mobile-menu,
.site-page .mobile-menu {
  border-top-color: rgba(37, 99, 235, 0.12);
  background: rgba(248, 251, 255, 0.98);
}

.home-page .mobile-menu a,
.site-page .mobile-menu a {
  color: #52657d;
  border: 1px solid transparent;
}

.home-page .mobile-menu a:hover,
.site-page .mobile-menu a:hover,
.home-page .mobile-menu a.active,
.site-page .mobile-menu a.active {
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.72);
  border-color: rgba(37, 99, 235, 0.18);
}

/* 内页统一 Page Hero */
.site-page .subpage-hero {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  isolation: isolate;
  color: #10233f;
  background: #edf6ff;
}

.site-page .subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(30, 78, 121, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 78, 121, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 72%, transparent);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 72%, transparent);
}

.site-page .subpage-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -52%;
  right: -6%;
  width: min(38rem, 58vw);
  aspect-ratio: 1;
  border: 1px solid rgba(30, 79, 145, 0.2);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 3.25rem rgba(37, 99, 235, 0.025),
    0 0 0 7rem rgba(37, 99, 235, 0.02);
  opacity: 0.74;
  animation: site-hero-orbit 16s ease-in-out infinite alternate;
}

.site-page .subpage-hero--compact {
  min-height: 15rem;
}

.site-page .subpage-hero__inner {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 3.5rem;
  padding-bottom: 3.75rem;
}

.site-page .subpage-hero h1 {
  max-width: 48rem;
  margin: 0;
  color: #10233f;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-shadow: none;
}

.site-page .subpage-hero p {
  max-width: 42rem;
  margin-top: 1rem;
  color: #52657d;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.8;
}

/* 内页内容容器与卡片系统 */
.site-page .card {
  border: 1px solid var(--site-border);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9));
  box-shadow: var(--site-shadow);
}

.site-page .card-section {
  padding: clamp(1.35rem, 2.6vw, 2rem);
}

.site-page .content-stack {
  gap: var(--site-section-gap);
}

.site-page .card-title {
  color: var(--site-ink);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.012em;
}

.site-page .card-title--accent {
  position: relative;
  padding-bottom: 0.9rem;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

.site-page .card-title--accent::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 4rem;
  height: 2px;
  background: var(--site-blue);
}

.site-page .info-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  background: #f5f8fc;
}

.site-page .tag,
.site-page .badge {
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.78), rgba(238, 242, 255, 0.72));
  color: #1d4ed8;
}

.site-page .stat-card {
  border-color: rgba(96, 165, 250, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 0%, rgba(96, 165, 250, 0.14), transparent 6rem),
    linear-gradient(145deg, #ffffff, #f4f7fb);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.site-page .stat-value {
  color: #1d4ed8;
  font-weight: 750;
}

.site-page .stat-label {
  color: var(--site-muted);
}

.site-page .back-link {
  min-height: 2.75rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

.site-page .back-link:hover {
  border-color: rgba(37, 99, 235, 0.38);
  text-decoration: none;
}

/* 表格：局部滚动，不撑破页面 */
.site-page .overflow-x-auto {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.82);
  scrollbar-color: rgba(59, 130, 246, 0.38) transparent;
}

@media (max-width: 700px) {
  .site-page .table-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.55rem;
    color: #64748b;
    font-size: 0.75rem;
  }

  .site-page .table-scroll-hint::before {
    content: "↔";
    color: #2563eb;
    font-size: 1rem;
  }
}

.site-page .data-table th {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom-color: rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, #eef4fb, #f8fafc);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-page .data-table td {
  border-bottom-color: rgba(226, 232, 240, 0.8);
  color: #526075;
}

.site-page .data-table tbody tr {
  transition: background-color 180ms ease;
}

.site-page .data-table tbody tr:hover {
  background: rgba(219, 234, 254, 0.48);
}

/* 入会申请、查询与管理表单 */
.site-page .form-card {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.site-page .form-label {
  color: #27364f;
  font-weight: 650;
}

.site-page .form-input,
.site-page .search-bar input,
.site-page .search-bar select {
  min-height: 2.9rem;
  border-color: rgba(148, 163, 184, 0.38);
  border-radius: 9px;
  background: rgba(248, 250, 252, 0.72);
  color: #172033;
}

.site-page .form-input:hover,
.site-page .search-bar input:hover,
.site-page .search-bar select:hover {
  border-color: rgba(59, 130, 246, 0.46);
  background: #ffffff;
}

.site-page .form-input:focus,
.site-page .search-bar input:focus,
.site-page .search-bar select:focus {
  border-color: var(--site-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.site-page .btn-solid,
.site-page .btn-primary {
  min-height: 2.75rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
  transition:
    transform 200ms ease,
    opacity 200ms ease,
    box-shadow 200ms ease;
}

.site-page .btn-solid:hover,
.site-page .btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.site-page .btn-solid:disabled,
.site-page .btn-primary:disabled {
  box-shadow: none;
}

.site-page .modal {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

/* 页脚与背景形成完整的明暗层次 */
.home-page .footer,
.site-page .footer {
  margin-top: 0;
  border-top-color: rgba(30, 78, 121, 0.24);
  background: #e7f1fa;
}

.home-page .footer .container,
.site-page .footer .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.home-page .footer-grid,
.site-page .footer-grid {
  gap: 1.5rem;
}

.home-page .footer h4,
.site-page .footer h4 {
  color: #10233f;
}

.home-page .footer p,
.home-page .footer a,
.site-page .footer p,
.site-page .footer a {
  color: #52657d;
}

.home-page .footer a:hover,
.site-page .footer a:hover {
  color: #1d4ed8;
}

.home-page .footer-bottom,
.site-page .footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top-color: rgba(30, 79, 145, 0.14);
}

/* 只使用 transform 与 opacity 的轻量页面进入效果 */
.site-page .subpage-hero h1,
.site-page .subpage-hero p,
.site-page .subpage-content > * {
  animation: site-content-enter 420ms both;
}

.site-page .subpage-hero h1 {
  animation-delay: 50ms;
}

.site-page .subpage-hero p {
  animation-delay: 100ms;
}

.site-page .subpage-content > :nth-child(2) {
  animation-delay: 55ms;
}

.site-page .subpage-content > :nth-child(3) {
  animation-delay: 100ms;
}

.site-page .subpage-content > :nth-child(n + 4) {
  animation-delay: 145ms;
}

@media (hover: hover) {
  .site-page .activity-card:hover,
  .site-page .content-stack > .card:hover,
  .site-page #honors-cards > .card:hover {
    transform: translateY(-3px);
    border-color: var(--site-border-strong);
    box-shadow: var(--site-shadow-hover);
  }

  .site-page .btn-solid:hover,
  .site-page .btn-primary:hover {
    transform: translateY(-2px);
  }

  .site-page .back-link:hover {
    transform: translateX(-2px);
  }
}

@keyframes site-content-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes site-hero-orbit {
  from {
    opacity: 0.62;
    transform: translate3d(-5px, 0, 0);
  }

  to {
    opacity: 0.82;
    transform: translate3d(5px, 8px, 0);
  }
}

@media (max-width: 900px) {
  .home-page .nav,
  .site-page .nav {
    background: #f8fbff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-page .subpage-hero {
    min-height: 15.5rem;
  }

  .site-page .subpage-hero--compact {
    min-height: 13.5rem;
  }
}

@media (max-width: 800px) {
  .site-page .page-container.subpage-content {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .site-page .page-container.subpage-content::before {
    left: 1rem;
  }

  .site-page .subpage-hero::after {
    animation: none;
    opacity: 0.58;
  }

  .site-page .subpage-hero::before {
    background-size: 38px 38px;
    opacity: 0.72;
  }

  .site-page .subpage-hero__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .site-page .subpage-hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.15rem);
  }

  .site-page .subpage-content > *,
  .site-page .subpage-hero h1,
  .site-page .subpage-hero p {
    animation: none;
  }

  .site-page .activity-card,
  .site-page .content-stack > .card,
  .site-page #honors-cards > .card {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-page {
    --site-section-gap: 1.25rem;
  }

  .site-page .subpage-hero,
  .site-page .subpage-hero--compact {
    min-height: 13rem;
  }

  .site-page .subpage-hero__inner {
    padding-top: 2.5rem;
    padding-bottom: 2.65rem;
  }

  .site-page .subpage-hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .site-page .subpage-hero p {
    margin-top: 0.7rem;
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .site-page .card-section {
    padding: 1.2rem;
  }

  .site-page .metric-strip {
    gap: 0.5rem;
  }

  .site-page .search-bar {
    align-items: stretch;
  }

  .site-page .search-bar input,
  .site-page .search-bar select,
  .site-page .search-bar .btn-solid {
    width: 100%;
    flex-basis: 100%;
  }

  .site-page .recruitment-officer-table-card {
    margin-right: 0;
    margin-left: 0;
  }

  .site-page .pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 800px) {
  .about-association-page .hero-eyebrow,
  .about-association-page .home-card-kicker,
  .about-association-page .home-card-date,
  .about-association-page .home-card-link-cue,
  .about-association-page .home-honor-kicker,
  .about-association-page .home-honor-badge,
  .about-association-page .home-section-index,
  .about-association-page .department-metrics span,
  .about-association-page .department-summary > span {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .site-page .page-container.subpage-content {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .site-page .subpage-hero__inner {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .site-page .activity-card {
    min-height: 0;
  }

  .site-page .form-card {
    padding: 1.15rem;
  }

  .site-page .query-form {
    padding: 0;
  }

  .site-page .data-table th,
  .site-page .data-table td {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-page .subpage-hero::after,
  .site-page .subpage-hero h1,
  .site-page .subpage-hero p,
  .site-page .subpage-content > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-page .activity-card:hover,
  .site-page .content-stack > .card:hover,
  .site-page #honors-cards > .card:hover,
  .site-page .btn-solid:hover,
  .site-page .btn-primary:hover,
  .site-page .back-link:hover {
    transform: none !important;
  }
}

/* 第七轮：内页编辑式视觉层级（按页面作用域隔离） */
.site-page.activity-page {
  --page-accent: #2563eb;
  --page-accent-soft: rgba(37, 99, 235, 0.1);
}

/* 活动详情：日期侧栏 + 记录内容 */
.site-page.activity-page .activity-record {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
}

.site-page.activity-page .activity-record::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8rem;
  height: 3px;
  background: linear-gradient(90deg, var(--page-accent), #67e8f9);
}

.site-page.activity-page .activity-record__rail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, var(--page-accent-soft), rgba(248, 250, 252, 0.28));
}

.site-page.activity-page .activity-record__index {
  color: var(--page-accent);
  font-size: 1.9rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.site-page.activity-page .activity-record__date {
  color: var(--site-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.site-page.activity-page .activity-record__content {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.site-page.activity-page .activity-record__content > .card-title {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.site-page.activity-page .activity-record__summary {
  max-width: 52rem;
  margin-bottom: 1.25rem;
  color: var(--site-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.site-page.activity-page .activity-record__details {
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  gap: 0.9rem;
}

.site-page.activity-page .activity-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.site-page.activity-page .activity-gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.65rem;
  background: #eef4fb;
  cursor: zoom-in;
}

.site-page.activity-page .activity-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

@media (hover: hover) {
  .site-page.activity-page .activity-gallery__item:hover img {
    transform: scale(1.035);
  }
}

.site-page.activity-page .activity-record__metric,
.site-page.activity-page .activity-record__note,
.site-page.activity-page .activity-record__highlights {
  padding: 1rem;
  box-shadow: none;
}

.site-page.activity-page .activity-record__metric span,
.site-page.activity-page .activity-record__note h3,
.site-page.activity-page .activity-record__highlights h3 {
  margin-bottom: 0.45rem;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-page.activity-page .activity-record__note p,
.site-page.activity-page .activity-record__highlights li {
  color: var(--site-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .site-page.activity-page .activity-gateway {
    min-height: 21rem;
  }

  .site-page.activity-page .activity-gateway h2 {
    margin-top: 3.25rem;
  }

  .site-page.activity-page .activity-record {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }

  .site-page.activity-page .activity-record__details,
  .site-page.activity-page .activity-record__details--equal {
    grid-template-columns: 1fr;
  }

  .site-page.activity-page .activity-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-page.activity-page .activity-hub-grid {
    gap: 1rem;
  }

  .site-page.activity-page .activity-gateway {
    min-height: 19rem;
  }

  .site-page.activity-page .activity-gateway__body {
    max-width: 100%;
    padding: 1.4rem;
  }

  .site-page.activity-page .activity-gateway__visual {
    width: 55%;
    opacity: 0.32;
  }

  .site-page.activity-page .activity-gateway h2 {
    margin-top: 2.75rem;
  }

  .site-page.activity-page .activity-record {
    display: block;
  }

  .site-page.activity-page .activity-record__rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }

  .site-page.activity-page .activity-record__index {
    font-size: 1.3rem;
  }

  .site-page.activity-page .activity-record__rail .badge {
    margin-left: auto;
  }

  .site-page.activity-page .activity-record__content {
    padding: 1.25rem 1.15rem;
  }

  .site-page.activity-page .activity-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-page.honor-page .honor-section__heading {
    display: block;
  }

  .site-page.honor-page .honor-section__heading > p {
    margin-top: 0.5rem;
  }

  .site-page.about-association-page .department-summary {
    display: block;
  }

  .site-page.about-association-page .department-summary > span {
    margin-bottom: 0.5rem;
  }

  .site-page.about-association-page .department-metrics {
    gap: 0.25rem;
  }

  .site-page.about-association-page .department-metrics strong {
    font-size: 1.25rem;
  }

  .site-page.about-association-page .department-metrics span {
    font-size: 0.64rem;
    text-align: center;
  }

  .site-page.query-page .query-form {
    grid-template-columns: 1fr;
    padding: 0.65rem;
  }

  .site-page.query-page .query-form .btn-solid {
    width: 100%;
    min-height: 2.9rem;
  }
}
