/* 验证门页面样式：居中卡片，零商店内容；跟随系统亮暗主题。 */

:root {
  --gate-bg: #f5f6f8;
  --gate-card-bg: #ffffff;
  --gate-text: #1f2430;
  --gate-muted: #6b7280;
  --gate-accent: #2563eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --gate-bg: #14161a;
    --gate-card-bg: #1e222a;
    --gate-text: #e5e7eb;
    --gate-muted: #9ca3af;
    --gate-accent: #60a5fa;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gate-bg);
  color: var(--gate-text);
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.gate-card {
  width: min(360px, calc(100vw - 32px));
  padding: 40px 32px;
  text-align: center;
  background: var(--gate-card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gate-title {
  margin: 0 0 16px;
  font-size: 22px;
}

.gate-status {
  margin: 0;
  color: var(--gate-muted);
  font-size: 14px;
  line-height: 1.6;
}

.gate-status.is-busy {
  color: var(--gate-accent);
}

.gate-noscript {
  margin: 16px 0 0;
  color: #dc2626;
  font-size: 13px;
  line-height: 1.6;
}

/* ICP 备案号：核查脚本与访客第一眼见到的页面也要悬挂；未配置 JCHUB_ICP_NUMBER 时不渲染 */

.gate-icp {
  margin: 20px 0 0;
  font-size: 12px;
}

.gate-icp a {
  color: var(--gate-muted);
  text-decoration: none;
}

.gate-icp a:hover {
  text-decoration: underline;
}
