/*
  NZXT "Web Hero" theme — comic spider-suit face for the 640×640 round Kraken
  Elite LCD. Near-black canvas, red/blue web line art, hexagon mask lenses,
  condensed comic numerals.
*/

:root {
  --bg: #030101;
  --cream: #efe7d3;
  --red: #e11d2e;
  --red-bright: #ff2d3f;
  --blue: #2f7cff;
  --muted: #a99e86;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--cream);
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

body.kraken { gap: 0; }

.face-wrap {
  width: min(100vw, 100vh);
  height: min(100vw, 100vh);
  flex: none;
}

body:not(.kraken) .face-wrap {
  width: min(90vw, 560px);
  height: min(90vw, 560px);
}

#face { width: 100%; height: 100%; display: block; }

/* ---- typography (condensed comic look) ---- */

.banner {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 3px;
  fill: var(--cream);
}

.chip-text {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.lbl-red   { fill: #ff8d96; }
.lbl-blue  { fill: #8fb8ff; }

.pod-value {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 700;
  fill: var(--cream);
}

.cpu-label {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 4px;
  fill: var(--cream);
}

.cpu-value {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 104px;
  font-weight: 700;
  fill: var(--cream);
}

.pod-unit {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  fill: var(--muted);
}

.tagline {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 6px;
  fill: var(--cream);
  opacity: 0.8;
}

/* label chips */
.chip rect {
  fill: rgba(6, 6, 8, 0.85);
  stroke: #4a4a4a;
  stroke-width: 1.5;
}

/* pods */
.pod-bg {
  fill: rgba(3, 2, 3, 0.9);
  stroke: #14100c;
  stroke-width: 2;
}

/* mask lenses */
.eye-outline {
  fill: none;
  stroke: #050505;
  stroke-width: 9;
  stroke-linejoin: round;
}

.eye-rim { fill: none; stroke-width: 5; opacity: 0.85; }
.rim-red  { stroke: #e11d2e; }
.rim-blue { stroke: #2f7cff; }

/* honeycomb cells (built by script) */
#hex-left path, #hex-right path {
  fill: #e7dcc4;
  stroke: #14100a;
  stroke-width: 2;
}

/* web line art */
#web-left path, #web-left circle { stroke: #e11d2e; fill: none; }
#web-right path, #web-right circle { stroke: #2f7cff; fill: none; }

/* cpu tick marks */
#cpu-ticks line { stroke: var(--cream); }

/* ---- configuration card (browser only) ---- */

.config {
  width: 90%;
  max-width: 540px;
  background: #0d0d10;
  border: 1px solid #232329;
  border-radius: 14px;
  padding: 1.5rem;
  box-sizing: border-box;
  margin-top: 1.5rem;
}

.config h1 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.config h1 span { color: var(--red-bright); font-weight: 700; }

.config p,
.config label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0.4rem 0;
  display: block;
}

.config .hint { font-size: 0.8rem; }

.config code { color: var(--blue); word-break: break-all; }

.config input[type='text'] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  margin: 0.3rem 0 0.5rem;
  border: 1px solid #232329;
  border-radius: 8px;
  background: #131318;
  color: var(--cream);
  font-size: 0.85rem;
}

.config input[type='text']:focus { outline: none; border-color: var(--red-bright); }
