/* v0.32 — Breaker board, neon facade, operator fatigue, payphone card tone */

.analog-breaker-mount {
  margin: 12px 0 16px;
}

.v32-breaker-board {
  border: 1px solid rgba(120, 200, 255, 0.22);
  border-radius: 8px;
  padding: 10px 12px 12px;
  background: linear-gradient(165deg, rgba(8, 18, 32, 0.92), rgba(12, 10, 22, 0.88));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 4px 18px rgba(0, 0, 0, 0.25);
}

.v32-breaker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.v32-breaker-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 220, 255, 0.85);
}

.v32-breaker-load {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #7dffb3;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(125, 255, 179, 0.35);
}

.v32-breaker-load.is-over {
  color: #ffb86b;
  border-color: rgba(255, 184, 107, 0.5);
  animation: v32-breaker-warn-pulse 1.4s ease-in-out infinite;
}

@keyframes v32-breaker-warn-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.v32-breaker-hint {
  margin: 0 0 8px;
  font-size: 0.62rem;
}

.v32-circuit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.v32-circuit-btn {
  flex: 1 1 calc(33% - 6px);
  min-width: 88px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 28, 44, 0.85);
  color: rgba(230, 240, 255, 0.88);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.v32-circuit-btn:hover {
  border-color: rgba(120, 200, 255, 0.45);
  transform: translateY(-1px);
}

.v32-circuit-btn.tier-full {
  border-color: rgba(125, 255, 179, 0.45);
  color: #cfffec;
}

.v32-circuit-btn.tier-dim {
  border-color: rgba(255, 214, 125, 0.35);
  color: #ffe8b0;
}

.v32-circuit-btn.tier-off {
  opacity: 0.55;
  border-style: dashed;
}

.v32-neon-strip,
.v32-operator-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.v32-neon-label,
.v32-operator-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.75);
}

.v32-neon-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 166, 0.45);
  color: #ffc6e8;
  text-shadow: 0 0 12px rgba(255, 90, 180, 0.35);
}

.v32-neon-pill.mode-bright {
  border-color: rgba(125, 255, 179, 0.5);
  color: #b8ffd9;
  text-shadow: 0 0 10px rgba(100, 255, 180, 0.25);
}

.v32-neon-pill.mode-flicker {
  animation: v32-neon-flicker 2.2s step-end infinite;
}

.v32-neon-pill.mode-unstable {
  animation: v32-neon-flicker 0.9s step-end infinite;
  border-color: rgba(255, 120, 80, 0.55);
  color: #ffd0c0;
}

.v32-neon-pill.mode-dark {
  border-color: rgba(120, 140, 180, 0.35);
  color: rgba(200, 210, 230, 0.65);
  text-shadow: none;
}

.v32-neon-pill.is-forced::after {
  content: '';
}

@keyframes v32-neon-flicker {
  0%, 100% { opacity: 1; }
  40% { opacity: 0.55; }
  55% { opacity: 0.85; }
  70% { opacity: 0.35; }
}

.v32-fatigue-track {
  flex: 1 1 120px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.v32-fatigue-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ad4ff, #c96bff 55%, #ff5a8a);
  transition: width 0.25s ease;
}

.v32-fatigue-fill.is-steady {
  background: #5ad4ff;
  opacity: 0.45;
}

.v32-fatigue-fill.is-light {
  background: linear-gradient(90deg, #5ad4ff, #8eb8ff);
}

.v32-fatigue-fill.is-moderate {
  background: linear-gradient(90deg, #ffc46b, #ff8a5a);
}

.v32-fatigue-fill.is-severe {
  background: linear-gradient(90deg, #ff5a8a, #b84cff);
}

.v32-fatigue-tier {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 200, 160, 0.85);
  min-width: 4.5rem;
}

.mcb-analog-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mcb-analog-chip {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(120, 200, 255, 0.2);
  color: rgba(220, 235, 255, 0.85);
}

.mcb-analog-chip.neon-bright { border-color: rgba(125, 255, 179, 0.35); }
.mcb-analog-chip.neon-flicker { border-color: rgba(255, 180, 120, 0.45); color: #ffe0c2; }
.mcb-analog-chip.neon-dark { border-color: rgba(140, 150, 180, 0.3); opacity: 0.85; }
.mcb-analog-chip.neon-unstable { border-color: rgba(255, 100, 140, 0.5); color: #ffd0dc; }

.mcb-analog-chip.fatigue-severe { border-color: rgba(255, 120, 160, 0.45); }

#app[data-operator-fatigue="severe"] .shift-primary-block,
#app[data-operator-fatigue="moderate"] .shift-primary-block {
  filter: saturate(0.92);
}

#app[data-operator-fatigue="severe"] .guest-queue {
  filter: contrast(0.97) brightness(0.97);
}

.v32-fatigue-name {
  letter-spacing: 0.04em;
  filter: blur(0.35px);
  opacity: 0.88;
}

.active-night-event-card[data-event-type="lot-payphone"] {
  border-color: rgba(120, 200, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(80, 160, 255, 0.12), 0 8px 28px rgba(0, 40, 80, 0.35);
}

.active-night-event-card[data-event-type="lot-payphone"] .active-event-severity {
  background: rgba(60, 120, 200, 0.35);
}
