/* 全站浅色页脚 — portal / hipds 风格；站点地图 + 使用功能（.nj-foot-min） */

.body-tpl-play-light .nj-foot-min {
  margin-top: 1.25rem;
}

.nj-foot-min {
  position: relative;
  margin-top: 2rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  color: #475569;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, #f1f5f9 55%, #e8eef5 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.nj-foot-min__accent {
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6 38%, #6366f1 72%, #a78bfa);
  opacity: 0.85;
}

.nj-foot-min__sheet {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.35rem 1rem 1.5rem;
}

.nj-foot-min__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.nj-foot-min__row--top {
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nj-foot-min__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
}

.nj-foot-min__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-decoration: none;
  border-radius: 6px;
}

.nj-foot-min__name:hover {
  color: #2563eb;
}

.nj-foot-min__muted {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.nj-foot-min__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nj-foot-min__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 48%, #1d4ed8 100%);
  box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.45);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.nj-foot-min__btn:hover {
  filter: brightness(1.05);
}

.nj-foot-min__btn:active {
  transform: translateY(1px);
}

.nj-foot-min__btn--ghost {
  color: #1e40af !important;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.nj-foot-min__btn--ghost:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.45);
}

.nj-foot-min__legal {
  margin: 1.15rem 0 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #64748b;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
}

.nj-foot-min__row--bottom {
  justify-content: space-between;
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(203, 213, 225, 0.85);
  gap: 0.75rem 1.5rem;
}

.nj-foot-min__copy {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.nj-foot-min__fine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.nj-foot-min__fine a {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}

.nj-foot-min__fine a:hover {
  color: #2563eb;
}

.nj-foot-min a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .nj-foot-min {
    margin-top: 1.5rem;
  }

  .nj-foot-min__sheet {
    padding: 1.1rem 0.85rem 1.35rem;
  }

  .nj-foot-min__row--top {
    flex-direction: column;
    align-items: stretch;
  }

  .nj-foot-min__quick {
    justify-content: flex-start;
  }

  .nj-foot-min__row--bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
