:root {
  --icz-accent: #0a0a0a;
  --icz-accent-soft: rgba(10, 10, 10, 0.06);
  --icz-border: rgba(10, 10, 10, 0.18);
  --icz-glitch: #111111;
}

html.icz-static {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.18);
  --surface: #f6f6f6;
  --surface-hover: #ececec;
  --muted: #8a8a8a;
  --muted-fg: #444444;
  --code-bg: #f0f0f0;
  color-scheme: light;
}

/* Static export: never leave the mount wrapper invisible */
html.icz-static [style*="blur(8px)"] {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

html.icz-static .relative.min-h-dvh {
  background: #fff !important;
  color: #0a0a0a !important;
}

html.icz-static.icz-ready .page-enter {
  animation: page-fade-up 0.5s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

html.icz-static .icz-mount-reveal {
  transition: opacity 0.65s ease, filter 0.65s ease, transform 0.65s ease;
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translateY(0) !important;
}

::selection {
  background: var(--icz-accent);
  color: #fff;
}

body {
  accent-color: var(--icz-accent);
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--icz-accent);
  outline-offset: 3px;
}

html.icz-static body {
  background: #fff;
  color: #0a0a0a;
}

html.icz-static canvas[aria-hidden="true"] {
  opacity: 0.04 !important;
  mix-blend-mode: multiply !important;
}

html.icz-static .status-dot {
  background: #0a0a0a !important;
}

html.icz-static .bg-\[rgba\(255\,255\,255\,0\.07\)\] {
  background: rgba(0, 0, 0, 0.08) !important;
}

html.icz-static .shimmer-band {
  background: linear-gradient(90deg, #f0f0f0 0%, #e4e4e4 50%, #f0f0f0 100%) !important;
}

html.icz-static .panel-bar {
  background: #0a0a0a !important;
  color: #fff !important;
}

html.icz-static .panel-bar .status-dot {
  background: #fff !important;
}

img[src*="bnb-bnb-logo"],
img[src*="icz-logo"],
img[src*="cz.png"],
.icz-mark {
  border-radius: 24%;
}

.icz-bnb-logo {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: -0.14em;
  border-radius: 50%;
}

.icz-accent,
.icz-runtime [data-accent] {
  color: var(--icz-accent);
}

.icz-runtime {
  color: inherit;
}

.icz-panel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(255, 255, 255, 0.9));
}

.icz-panel-hot {
  border-color: var(--icz-border);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.icz-grid {
  display: grid;
  gap: 1px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.icz-grid > * {
  background: #fff;
}

.icz-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--icz-border);
  background: var(--icz-accent-soft);
  color: var(--icz-accent);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.icz-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
}

.icz-table th,
.icz-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.7rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.icz-table th {
  color: rgba(0, 0, 0, 0.45);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.icz-table td:last-child,
.icz-table th:last-child {
  text-align: right;
}

.icz-card-title {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.icz-card-value {
  margin-top: 0.4rem;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.icz-vote-button {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.02);
  color: #0a0a0a;
  padding: 0.8rem;
  text-align: left;
}

.icz-vote-button[data-leading="true"] {
  border-color: var(--icz-border);
  background: var(--icz-accent-soft);
}

.icz-runtime .text-white,
.icz-runtime [class*="text-white"] {
  color: #0a0a0a !important;
}

.icz-runtime [class*="text-white/"] {
  color: rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 720px) {
  .icz-table {
    font-size: 10px;
  }

  .icz-table th,
  .icz-table td {
    padding: 0.55rem 0.4rem;
  }
}
