/* 公网说明页 — 独立样式（不依赖 app.css，避免后台浅色主题覆盖） */
html.public-home-root {
  color-scheme: dark;
  --bs-body-bg: #070b12;
  --bs-body-color: #c8d4e8;
  --bs-secondary-color: #94a3b8;
  --bs-border-color: rgba(100, 160, 255, 0.14);
}

html.public-home-root,
html.public-home-root body.public-home-page {
  min-height: 100%;
  margin: 0;
}

html.public-home-root body.public-home-page {
  min-height: 100vh;
  color: #c8d4e8 !important;
  background: #070b12 !important;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 0.9375rem;
}

.public-home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(70, 95, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(46, 196, 182, 0.12), transparent 50%),
    linear-gradient(180deg, #070b12 0%, #0c1220 45%, #070b12 100%);
}

.public-home-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(100, 140, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 140, 220, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.public-home-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.public-home-header {
  border-bottom: 1px solid rgba(100, 160, 255, 0.12);
}

.public-home-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  font-size: 1.35rem;
  color: #7dd3fc;
  background: rgba(70, 95, 255, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.25);
  box-shadow: 0 0 24px rgba(70, 95, 255, 0.25);
}

.public-home-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #64748b;
  font-weight: 600;
}

.public-home-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.public-home-lead {
  max-width: 42rem;
  color: #94a3b8;
  line-height: 1.65;
}

.public-home-lead strong {
  color: #cbd5e1;
  font-weight: 600;
}

.public-home-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: #86efac;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
}

.public-home-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: public-home-pulse 2s ease-in-out infinite;
}

@keyframes public-home-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.public-home-panel {
  padding: 1.35rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(100, 160, 255, 0.18) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.public-home-panel--compact {
  padding: 1.25rem;
}

.public-home-panel-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
}

.public-home-heading {
  color: #e2e8f0;
}

.public-home-text {
  color: #94a3b8;
  line-height: 1.65;
}

.public-home-text strong {
  color: #cbd5e1;
}

.public-home-meta dt {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.public-home-meta dd {
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.public-home-meta dd:last-child {
  margin-bottom: 0;
}

.public-home-ip {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
  font-size: 1.35rem;
  color: #7dd3fc !important;
  text-shadow: 0 0 20px rgba(125, 211, 252, 0.35);
  word-break: break-all;
}

.public-home-time {
  font-size: 0.8125rem !important;
  color: #94a3b8 !important;
}

.public-home-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: #7dd3fc;
  background: rgba(70, 95, 255, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.2);
}

.public-home-accent-icon {
  color: #7dd3fc;
}

.public-home-list {
  color: #94a3b8;
  padding-left: 1.1rem;
  line-height: 1.65;
}

.public-home-list li {
  margin-bottom: 0.65rem;
}

.public-home-list li:last-child {
  margin-bottom: 0;
}

.public-home-list strong {
  color: #cbd5e1;
}

.public-home-footer {
  border-top: 1px solid rgba(100, 160, 255, 0.1);
  color: #64748b;
}
