/* 补充样式：为自建的容器/辅助类提供布局，复用 veridrop.css 的 :root 变量 */

/* 页面主体居中容器（leaderboard / relays / about / faq / apply / content） */
.leaderboard-page {
  width: min(1100px, calc(100vw - 48px));
  margin: 28px auto 56px;
}
.leaderboard-page.narrow-page {
  width: min(720px, calc(100vw - 32px));
}
.lb-detail-hero {
  width: min(1100px, calc(100vw - 48px));
  margin: 24px auto 0;
}

/* 页头 */
.lb-header { margin-bottom: 22px; }
.lb-header h1 { font-size: 32px; line-height: 1.15; margin: 0 0 10px; color: var(--text); }
.lb-intro { color: var(--muted); max-width: 720px; margin: 0 0 16px; line-height: 1.6; }

/* 协议切换标签 */
.lb-protocols-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.lb-protocols-nav a {
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); background: var(--bg);
  transition: all .15s;
}
.lb-protocols-nav a:hover { border-color: var(--green); color: var(--green-dark); }
.lb-protocols-nav a.active { background: var(--green); color: #fff; border-color: transparent; }

.lb-empty { color: var(--muted); padding: 2.5rem 0; text-align: center; }

/* 协议标签栏 */
.lb-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 24px 0 12px; border-bottom: 1px solid var(--line); }
.lb-tabs a {
  padding: 9px 18px; font-size: 15px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.lb-tabs a:hover { color: var(--green-dark); }
.lb-tabs a.is-active { color: var(--green-dark); border-bottom-color: var(--green); }

/* 中转站导航列表 */
.relays-list { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.relays-list-title { margin: 0 0 8px; }
.relay-proto {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px;
  border-radius: 999px; background: var(--bg-soft); color: var(--muted); margin-right: 4px;
}
.relay-proto.proto-claude { background: #f3e8ff; color: #7c3aed; }
.relay-proto.proto-openai { background: var(--green-soft); color: var(--green-dark); }
.relay-proto.proto-gemini { background: #dbeafe; color: #1d4ed8; }

/* 首页 hero 辅助文字 */
.home-hero-kicker { color: var(--green-dark); font-weight: 700; font-size: 13px; margin: 0 0 8px; letter-spacing: .02em; }
.home-hero-lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 700px; margin: 0 0 18px; }

/* 协议卡片内文字 */
.home-protocol-name { display: block; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 6px; }
.home-protocol-desc { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* 首页 FAQ 三点 */
.home-faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow);
}
.home-faq-item h3 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.home-faq-item p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 14px; }

/* toast（apply 页用） */
.toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 100; padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: #fff; opacity: 0; pointer-events: none; transition: opacity .25s;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.toast.show { opacity: 1; }
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

/* ===== 真伪检测 ===== */
.detect-card{background:var(--card,#fff);border:1px solid var(--border,#e5e9f0);border-radius:.85rem;padding:1.5rem 1.75rem;margin:1rem 0}
.detect-title{font-size:1.2rem;margin:0 0 .5rem}
.detect-sub{font-size:.86rem;color:var(--muted,#6b7280);line-height:1.6;margin:0 0 1rem}
.detect-form{display:flex;flex-direction:column;gap:.8rem}
.detect-fld{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}
.detect-fld input,.detect-fld select{padding:.6rem .7rem;border:1px solid var(--border,#e5e9f0);border-radius:.5rem;font-size:.9rem;font-weight:400;width:100%}
.detect-hint{font-weight:400;color:var(--muted,#9ca3af);font-size:.75rem}
.detect-row{display:flex;gap:1rem;align-items:flex-end;flex-wrap:wrap}
.detect-fld-sm{flex:1;min-width:16rem}
.detect-check{display:flex;align-items:center;gap:.4rem;font-size:.83rem;color:var(--muted,#6b7280);font-weight:500}
.detect-result-head{display:flex;gap:1.5rem;align-items:flex-start;background:var(--card,#fff);border:1px solid var(--border,#e5e9f0);border-radius:.85rem;padding:1.5rem 1.75rem;margin-top:1rem;flex-wrap:wrap}
.detect-score{flex:0 0 auto;width:7rem;height:7rem;border-radius:.85rem;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.detect-score-ok{background:#16a34a}.detect-score-warn{background:#d97706}.detect-score-fail{background:#dc2626}
.detect-score-num{font-size:2.4rem;font-weight:800;line-height:1}
.detect-score-label{font-size:.85rem;margin-top:.3rem}
.detect-result-meta{flex:1;min-width:16rem}
.detect-summary{font-size:1.05rem;font-weight:700;margin:0 0 .4rem}
.detect-tier{font-size:.85rem;color:var(--muted,#6b7280);margin:.2rem 0}
.detect-meta-line{font-size:.8rem;color:var(--muted,#9ca3af);margin:.3rem 0 0}
.detect-warn-line{font-size:.85rem;color:#d97706;margin:.5rem 0 0}
.detect-runerror{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:.6rem;padding:.8rem 1rem;margin-top:1rem;font-size:.9rem}
.detect-detail-cell{font-size:.78rem;color:var(--muted,#6b7280);max-width:22rem}
.detect-perf{font-size:.8rem;color:var(--muted,#9ca3af);margin-top:.8rem}
.model-score-skip{background:#e5e7eb;color:#6b7280}
