/* zb1-theme ¡ª dark base (default) */
:root,
[data-theme="dark"] {
  --zb-bg: #0d1117;
  --zb-bg-elevated: #161b22;
  --zb-bg-card: #1c2128;
  --zb-bg-hover: #21262d;
  --zb-border: #30363d;
  --zb-text: #e6edf3;
  --zb-text-muted: #8b949e;
  --zb-text-dim: #6e7681;
  --zb-accent: #d4a017;
  --zb-accent-hover: #e6b422;
  --zb-accent-soft: rgba(212, 160, 23, 0.15);
  --zb-live: #3fb950;
  --zb-live-soft: rgba(63, 185, 80, 0.15);
  --zb-danger: #f85149;
  --zb-topbar-bg: #010409;
  --zb-footer-bg: #010409;
  --zb-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --zb-radius: 8px;
  --zb-radius-pill: 999px;
  --zb-container: 1200px;
  --zb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--zb-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--zb-text);
  background: var(--zb-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--zb-accent);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(var(--zb-container), 100% - 32px);
  margin-inline: auto;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
