html[data-skin="zcc"] {
  color-scheme: dark;
  --bg: #0e1210;
  --panel: rgba(20, 25, 22, .72);
  --line: rgba(232, 226, 202, .16);
  --text: #f4f0df;
  --muted: #a8b0a6;
  --green: #63d38c;
  --amber: #e5b86d;
  --blue: #79b8ff;
  --red: #eb796f;
  --accent-rgb: 99, 211, 140;
  --secondary-rgb: 229, 184, 109;
  --card-surface: rgba(14, 18, 16, .86);
}

html[data-skin="zcc"][data-theme="guihang"] {
  --bg: #100e0b;
  --panel: rgba(25, 21, 16, .76);
  --line: rgba(229, 184, 109, .18);
  --text: #f8f3e6;
  --muted: #b8ad9c;
  --green: #e5b86d;
  --amber: #63d38c;
  --accent-rgb: 229, 184, 109;
  --secondary-rgb: 99, 211, 140;
  --card-surface: rgba(20, 16, 12, .86);
}

html[data-skin="zcc"] body {
  margin: 0;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(var(--accent-rgb), .13), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(var(--secondary-rgb), .13), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #090b0a 100%);
  color: var(--text);
}

.zcc-view a { color: inherit; }

html[data-skin="zcc"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 240, 223, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 223, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 82%);
}

.zcc-view #field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.zcc-view .shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(78px, 10vw, 112px) clamp(24px, 7vw, 72px) clamp(24px, 5vw, 56px);
}

.zcc-view .topbar {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(22px, 4.5vw, 48px);
  color: rgba(244, 240, 223, .86);
  user-select: none;
}

.zcc-view .topbar::after {
  content: "";
  position: absolute;
  left: clamp(22px, 4.5vw, 48px);
  right: clamp(22px, 4.5vw, 48px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.zcc-view .brand,
.zcc-view .nav-links {
  display: flex;
  align-items: center;
}

.zcc-view .brand {
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.zcc-view .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--accent-rgb), .52);
  border-radius: 6px;
  color: var(--green);
  background: var(--card-surface);
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}

.zcc-view .nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.zcc-view .nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.zcc-view .nav-links a:hover,
.zcc-view .nav-links a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--green);
}

.zcc-view .hero,
.zcc-view .error-panel {
  width: min(920px, 100%);
  min-height: min(680px, calc(100svh - 148px));
  display: grid;
  align-content: center;
  justify-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 5.5vw, 60px) 0;
  text-align: center;
}

.zcc-view .eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.zcc-view h1 {
  margin: 0;
  font-size: clamp(54px, 11vw, 132px);
  line-height: .86;
  font-weight: 800;
  letter-spacing: 0;
}

.zcc-view .lead {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.45;
  min-height: 2.9em;
}

.zcc-view .lead[data-typewrite-translation] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(15px, 1.85vw, 20px);
  line-height: 1.48;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}

.zcc-view .status-grid {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.zcc-view .status-grid span {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: var(--card-surface);
  text-decoration: none;
  transition: background-color .25s ease;
}

.zcc-view .status-grid b {
  font-size: 13px;
  color: var(--text);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.zcc-view .status-grid em {
  color: var(--muted);
  font-style: normal;
}

.zcc-view .home-link {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 28px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
}

.zcc-view .home-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}

.zcc-view .quote-panel {
  user-select: none;
}

.zcc-view .error-code {
  margin: 0 0 18px;
  color: rgba(244, 240, 223, .42);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.zcc-view .quote-line {
  max-width: min(900px, 100%);
  min-height: 2.4em;
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  text-wrap: balance;
}

.zcc-view .quote-line::before {
  content: none;
  color: var(--green);
}

.zcc-view .quote-line::after {
  content: none;
  color: var(--green);
}

.zcc-view .quote-fixed-line {
  display: block;
  min-height: 1.18em;
  white-space: nowrap;
}

.zcc-view .quote-mark {
  color: var(--green);
  transition: color .25s ease;
}

.zcc-view .quote-cursor {
  display: none;
}

.zcc-view .quote-tail {
  white-space: nowrap;
}

.zcc-view .quote-cursor-inline {
  display: inline;
  margin-left: .02em;
  color: var(--amber);
  white-space: nowrap;
  animation: cursor-blink 1.05s steps(1) infinite;
}

.zcc-view .quote-author {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  min-height: 1.3em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.zcc-view .hero-quote {
  margin-top: 24px;
  font-size: clamp(26px, 4vw, 46px);
  min-height: 2.4em;
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

html[data-skin="zcc"] body[data-code="403"] .zcc-view .eyebrow { color: var(--red); }
html[data-skin="zcc"] body[data-code="404"] .zcc-view .eyebrow { color: var(--amber); }
html[data-skin="zcc"] body[data-code="404"] .zcc-view .quote-line::before,
html[data-skin="zcc"] body[data-code="404"] .zcc-view .quote-line::after,
html[data-skin="zcc"] body[data-code="404"] .zcc-view .quote-mark,
html[data-skin="zcc"] body[data-code="404"] .zcc-view .quote-author { color: var(--amber); }
html[data-skin="zcc"] body[data-code="410"] .zcc-view .quote-line::before,
html[data-skin="zcc"] body[data-code="410"] .zcc-view .quote-line::after,
html[data-skin="zcc"] body[data-code="410"] .zcc-view .quote-mark,
html[data-skin="zcc"] body[data-code="410"] .zcc-view .quote-author { color: var(--green); }
html[data-skin="zcc"] body[data-code="50x"] .zcc-view .eyebrow { color: var(--blue); }

@media (max-width: 680px) {
  html[data-skin="zcc"] body { overflow: auto; }
  .zcc-view .shell {
    min-height: 100svh;
    place-items: center;
    padding: 88px 16px 32px;
  }
  .zcc-view .topbar {
    padding: 12px 14px;
  }
  .zcc-view .topbar::after {
    left: 14px;
    right: 14px;
  }
  .zcc-view .status-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .zcc-view .status-grid span { min-height: 72px; padding: 14px; }
  .zcc-view .hero,
  .zcc-view .error-panel { min-height: min(640px, calc(100svh - 128px)); padding: 24px 0; }
  .zcc-view .quote-line,
  .zcc-view .hero-quote {
    font-size: clamp(22px, 6vw, 32px);
    min-height: 2.42em;
  }
  .zcc-view .lead {
    margin-top: 12px;
    min-height: 3.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zcc-view #field { display: none; }
  .zcc-view .quote-cursor,
  .zcc-view .quote-cursor-inline { display: none; }
}
