/* 公开页共享骨架。只映射现有导航与组件，不注入页面或账户逻辑。 */
:is(.site-nav, .nav-in) {
  min-height: 80px;
  gap: 26px;
}
:is(.brand, .nav-brand) {
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.025em;
  text-decoration: none;
}
.nav-brand span {
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
}
.nav-brand span::after {
  content: "XINJING";
  display: block;
  margin-top: 2px;
  color: var(--muted, #655f56);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .2em;
}
:is(.nav-links, .site-nav .nav-links) {
  gap: 24px;
  font-size: 14px;
}
:is(.nav-links, .site-nav .nav-links) a {
  min-height: 44px;
  text-underline-offset: 7px;
}
:is(.nav-links, .site-nav .nav-links) a[aria-current="page"] {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.nav-tag {
  font-size: 11px;
}

:is(.btn, .button, .share-copy-btn) {
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}
:is(.primary-link, .plain-link, .text-link, .learn-link) {
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}
.button-dark {
  background: var(--ink);
  color: var(--paper, var(--bg-0));
}
.button-outline,
.btn-ghost {
  background: var(--panel, #fff);
  color: var(--ink);
}
.btn-acc {
  background: var(--yellow);
  color: var(--on-yellow, #22211e);
}

:is(.field input, .auth-field input, .auth-field select, .auth-field textarea) {
  min-height: 44px;
  border-color: var(--control-line, var(--line));
  border-radius: var(--radius-md);
  background: var(--panel, #fff);
}
.auth-card {
  border-radius: var(--radius-lg);
  background: var(--panel, #fff);
  box-shadow: var(--shadow-sm);
}
.auth-note,
.auth-msg,
.field label {
  font-size: 13px;
}
.auth-tab {
  min-height: 44px;
}

.gcard {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel, #fff);
}
.gcard .en {
  font-size: 11px;
}
.assessment-entry {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--panel, #fff);
}
.directory-heading h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.035em;
}
.directory-meta {
  font-size: 13px;
}
.directory-boundary {
  line-height: 1.8;
}

:is(.hero-note, .hero-guide p, .facts p, .route > small, .section-note,
  .compact-feature small, .reward-grid p, .reward-note p,
  .resource-links p, .news-list time, .news-list span,
  .source-panel > p, .source-heading a, .share-hint,
  .share-qr-wrap small, .footer-notes > p) {
  font-size: 13px;
}
.scene-caption span {
  font-size: 11px;
}
.footer-line nav,
.site-footer,
.disclaimer {
  font-size: 13px;
}
:is(.site-footer, footer) {
  border-top: 2px solid var(--ink);
}
:is(.footer-line nav, .foot-links) a {
  min-height: 44px;
}

@media (max-width: 820px) {
  :is(.site-nav, .nav-in) { gap: 14px; }
  :is(.brand, .nav-brand) { font-size: 23px; }
  .gcard { padding: 20px 16px; }
  .assessment-entry { padding: 20px; }
}
@media (max-width: 600px) {
  :is(.hero-actions .button, .guardian-copy .button, .feedback-banner .button) {
    font-size: 13px;
  }
  .hero-note { font-size: 12px; }
  .footer-line nav { font-size: 13px; }
  .assessment-entry h3 { font-size: 23px; }
}
