/* ════════════════════════════════════════════════
   AquaControl Pro — style.css
   ════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Russo+One&family=JetBrains+Mono:wght@300;400;700&display=swap');

/* ── Variables ─────────────────────────────────── */
:root {
  --bg0: #060b14;
  --bg1: #0b1220;
  --bg2: #101a2e;
  --glass:   rgba(255,255,255,0.04);
  --glass2:  rgba(255,255,255,0.07);
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(0,210,255,0.2);
  --cyan:  #00d2ff;
  --cyan2: #00f5ff;
  --orange:  #ff6b2b;
  --orange2: #ffaa00;
  --green:  #00ff9d;
  --red:    #ff2d55;
  --yellow: #ffd60a;
  --text:   #e0eeff;
  --muted:  #4a6a8a;
  --water-top: #22d3ee;
  --water-bot: #0369a1;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Body & background ─────────────────────────── */
body {
  background: var(--bg0);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0,210,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,107,43,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(0,255,157,0.03) 0%, transparent 70%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}
@keyframes meshPulse { from { opacity: 0.7; } to { opacity: 1; } }
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,210,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ── Layout ─────────────────────────────────────── */
.wrap {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 20px;
}
.grid {
  display: grid;
  grid-template-columns: 300px 1fr 280px;
  gap: 18px; align-items: start;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── Header ─────────────────────────────────────── */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; margin-bottom: 24px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 16px; backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
}
header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--orange), transparent);
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--bg2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  from { box-shadow: 0 0 15px rgba(0,210,255,0.2); }
  to   { box-shadow: 0 0 30px rgba(0,210,255,0.5); }
}
.logo-text h1 {
  font-family: 'Russo One', sans-serif; font-size: 1.3rem; letter-spacing: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-text p {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  color: var(--muted); letter-spacing: 2px; margin-top: 2px;
}
.header-right { display: flex; align-items: center; gap: 16px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.header-clock {
  font-family: 'JetBrains Mono', monospace; font-size: 1.4rem;
  font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 20px rgba(0,210,255,0.5); letter-spacing: 4px;
}
.header-mode {
  padding: 5px 14px; border-radius: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 2px; transition: all 0.4s;
}

/* ── Glass card ─────────────────────────────────── */
.card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px;
  backdrop-filter: blur(16px); position: relative;
  overflow: hidden; transition: border-color 0.3s;
}
.card:hover { border-color: var(--border2); }
.card::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,210,255,0.4), transparent);
}
.card-title {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 3px; color: var(--muted); text-transform: uppercase;
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.card-title .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}

/* ── Tank ───────────────────────────────────────── */
.tank-section { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tank-wrapper { position: relative; width: 140px; }
.tank-cap {
  width: 154px; height: 14px; margin: 0 auto;
  background: linear-gradient(to bottom, rgba(0,210,255,0.3), rgba(0,210,255,0.1));
  border: 1px solid var(--border2); border-bottom: none;
  border-radius: 10px 10px 0 0; position: relative; left: -7px;
}
.tank {
  width: 140px; height: 280px;
  border: 1px solid rgba(0,210,255,0.25); border-top: none;
  border-radius: 0 0 20px 20px; background: rgba(0,15,30,0.8);
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5),
              0 0 40px rgba(0,210,255,0.08),
              0 20px 60px rgba(0,0,0,0.4);
}
.tank::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 12px;
  background: repeating-linear-gradient(
    to bottom, transparent 0px, transparent 27px,
    rgba(0,210,255,0.15) 27px, rgba(0,210,255,0.15) 28px
  );
}
.water {
  position: absolute; bottom: 0; left: 0; right: 0;
  transition: height 0.8s cubic-bezier(0.34,1.56,0.64,1);
  background: linear-gradient(to bottom, var(--water-top), var(--water-bot));
  border-radius: 0 0 19px 19px;
}
.water-shine {
  position: absolute; top: 0; left: 8%; width: 30%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.12), transparent);
  border-radius: 0 0 4px 4px;
}
.water-surface { position: absolute; top: 0; left: 0; right: 0; height: 10px; overflow: hidden; }
.wave {
  position: absolute; top: 0; width: 200%; height: 10px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,255,255,0.3) 25%,
    transparent 50%, rgba(255,255,255,0.2) 75%, transparent 100%);
  animation: waveAnim 2.5s linear infinite;
}
.wave2 { animation: waveAnim 3.5s linear infinite reverse; opacity: 0.5; }
@keyframes waveAnim { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.bubble {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.25);
  animation: bubbleRise linear infinite;
}
@keyframes bubbleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-200px) scale(0.3); opacity: 0; }
}

/* ── Sensor beam ────────────────────────────────── */
.sensor-mount {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 10; pointer-events: none;
}
.sensor-body {
  width: 32px; height: 18px;
  background: linear-gradient(135deg, #1a2a3a, #0a1520);
  border: 1px solid rgba(0,210,255,0.4); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 0 10px rgba(0,210,255,0.2);
}
.sensor-beam {
  width: 1px; background: linear-gradient(to bottom, var(--cyan), transparent);
  opacity: 0.6; transition: height 0.8s ease; box-shadow: 0 0 4px var(--cyan);
}
.tank-scale {
  position: absolute; left: -30px; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0;
}
.scale-lbl { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: var(--muted); }

/* ── Pct ring ───────────────────────────────────── */
.pct-ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pct-ring { position: relative; width: 90px; height: 90px; }
.pct-ring svg { width: 90px; height: 90px; transform: rotate(-90deg); }
.pct-ring-bg  { fill: none; stroke: rgba(0,210,255,0.1); stroke-width: 6; }
.pct-ring-fill {
  fill: none; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 245; stroke-dashoffset: 245;
  transition: stroke-dashoffset 0.8s ease, stroke 0.5s ease;
}
.pct-ring-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pct-num  { font-family: 'Russo One', sans-serif; font-size: 1.4rem; line-height: 1; }
.pct-unit { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: var(--muted); margin-top: 2px; }

.dist-badge {
  background: var(--glass2); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 16px; text-align: center; width: 100%;
}
.dist-badge .lbl { font-size: 0.6rem; color: var(--muted); letter-spacing: 2px; font-family: 'JetBrains Mono', monospace; }
.dist-badge .val { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; color: var(--cyan); font-weight: 700; margin-top: 2px; }

/* ── Chart ──────────────────────────────────────── */
.chart-wrap { position: relative; width: 100%; height: 70px; }
.chart-wrap canvas { width: 100% !important; height: 70px !important; }
.threshold-labels { display: flex; justify-content: space-between; margin-top: 4px; }
.thr-lbl { font-family: 'JetBrains Mono', monospace; font-size: 0.5rem; color: var(--muted); }

/* ── Center column ──────────────────────────────── */
.center-col { display: flex; flex-direction: column; gap: 16px; }

/* LCD */
.lcd-card {
  background: #020f04; border: 1px solid rgba(0,255,80,0.15);
  border-radius: 14px; padding: 16px 20px; position: relative;
  box-shadow: inset 0 0 30px rgba(0,255,80,0.03), 0 0 30px rgba(0,255,80,0.06);
}
.lcd-card::before {
  content: 'LCD 16×2 I2C'; position: absolute; top: -9px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.55rem;
  color: rgba(0,255,80,0.5); background: #020f04; padding: 0 8px; letter-spacing: 2px;
}
.lcd-pixel-row { display: flex; gap: 2px; margin-bottom: 6px; }
.lcd-pix { width: 3px; height: 3px; border-radius: 1px; background: rgba(0,255,80,0.08); }
.lcd-line {
  font-family: 'JetBrains Mono', monospace; font-size: 1rem;
  color: #00ee55; text-shadow: 0 0 10px rgba(0,238,85,0.7), 0 0 20px rgba(0,238,85,0.3);
  letter-spacing: 2px; line-height: 2; min-height: 2em;
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-tile {
  background: var(--glass2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 10px; text-align: center;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.stat-tile::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transition: transform 0.3s;
}
.stat-tile:hover::before { transform: scaleX(1); }
.stat-lbl { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: var(--muted); letter-spacing: 2px; margin-bottom: 8px; }
.stat-val { font-family: 'Russo One', sans-serif; font-size: 1.05rem; }

/* Mode banner */
.mode-card {
  border-radius: 14px; padding: 14px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.5s; position: relative; overflow: hidden;
}
.mode-card::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; filter: blur(20px); opacity: 0.3;
}
.mode-icon  { font-size: 1.8rem; z-index: 1; }
.mode-info  { z-index: 1; }
.mode-title { font-family: 'Russo One', sans-serif; font-size: 0.95rem; letter-spacing: 2px; }
.mode-desc  { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: rgba(255,255,255,0.6); margin-top: 3px; letter-spacing: 1px; }

/* Pump */
.pump-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; transition: all 0.4s;
}
.pump-spinner {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #1a2a3a, #0a1520);
  border: 2px solid rgba(0,210,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; position: relative; flex-shrink: 0;
}
.pump-spinner::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--cyan);
  opacity: 0; transition: opacity 0.3s;
}
.pump-spinner.on::before { opacity: 1; animation: spinRing 1s linear infinite; }
@keyframes spinRing { to { transform: rotate(360deg); } }
.pump-emoji { transition: transform 0.3s; }
.pump-spinner.on .pump-emoji { animation: pumpPulse 0.8s ease-in-out infinite alternate; }
@keyframes pumpPulse { from{transform:scale(1)} to{transform:scale(1.15)} }
.pump-info { flex: 1; }
.pump-model { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--muted); letter-spacing: 1px; }
.pump-name  { font-family: 'Russo One', sans-serif; font-size: 0.9rem; margin: 3px 0; }
.pump-status { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 2px; font-weight: 700; transition: color 0.3s; }

/* Pipe */
.pipe-wrap { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.pipe-label { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: var(--muted); }
.pipe { flex: 1; height: 6px; background: rgba(0,210,255,0.08); border-radius: 3px; overflow: hidden; border: 1px solid rgba(0,210,255,0.1); }
.pipe-liquid {
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--water-top), var(--water-top), transparent);
  background-size: 200%; opacity: 0; transition: opacity 0.5s;
  animation: liquidFlow 1s linear infinite;
}
.pipe-liquid.on { opacity: 1; }
@keyframes liquidFlow { from{background-position:100%} to{background-position:-100%} }

/* Serial */
.serial-card {
  background: rgba(0,5,10,0.9); border: 1px solid rgba(0,210,255,0.1);
  border-radius: 12px; padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  color: #4af0a0; height: 90px; overflow-y: auto; line-height: 1.7;
}
.serial-card::-webkit-scrollbar { width: 3px; }
.serial-card::-webkit-scrollbar-thumb { background: rgba(0,210,255,0.2); border-radius: 2px; }
.serial-line  { display: flex; gap: 6px; }
.serial-prompt { color: rgba(0,210,255,0.4); }

/* Uptime */
.uptime-row { display: flex; gap: 8px; }
.uptime-tile {
  flex: 1; background: var(--glass2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
}
.uptime-key { font-family: 'JetBrains Mono', monospace; font-size: 0.5rem; color: var(--muted); letter-spacing: 1px; }
.uptime-val { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--cyan); font-weight: 700; margin-top: 4px; }

/* ── Right column ───────────────────────────────── */
.right-col { display: flex; flex-direction: column; gap: 16px; }

/* LEDs */
.leds-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.led-tile {
  background: var(--glass2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 10px; text-align: center; transition: all 0.3s;
}
.led-orb {
  width: 28px; height: 28px; border-radius: 50%;
  margin: 0 auto 8px; position: relative; transition: all 0.3s;
}
.led-orb::after {
  content: ''; position: absolute; top: 4px; left: 5px;
  width: 8px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.3); transform: rotate(-30deg);
}
.orb-green  { background: #1a2e1a; border: 1px solid rgba(0,255,80,0.2); }
.orb-green.on  { background: var(--green); border-color: var(--green); box-shadow: 0 0 16px var(--green), 0 0 32px rgba(0,255,157,0.4); }
.orb-yellow { background: #2e2a1a; border: 1px solid rgba(255,214,10,0.2); }
.orb-yellow.on { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 16px var(--yellow), 0 0 32px rgba(255,214,10,0.4); }
.orb-red    { background: #2e1a1a; border: 1px solid rgba(255,45,85,0.2); }
.orb-red.on    { background: var(--red); border-color: var(--red); box-shadow: 0 0 16px var(--red), 0 0 32px rgba(255,45,85,0.4); animation: urgBlink 0.6s ease-in-out infinite; }
@keyframes urgBlink { 0%,100%{opacity:1} 50%{opacity:0.5} }
.orb-blue   { background: #1a1a2e; border: 1px solid rgba(0,210,255,0.2); }
.orb-blue.on   { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(0,210,255,0.4); }
.led-tile-lbl { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: var(--muted); letter-spacing: 1px; }
.led-tile-pin { font-size: 0.5rem; color: rgba(0,210,255,0.4); margin-top: 2px; }

/* Sliders */
.ctrl-block { display: flex; flex-direction: column; gap: 4px; }
.ctrl-lbl {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--muted); letter-spacing: 1px;
}
.ctrl-lbl span { color: var(--cyan); font-weight: 700; }
input[type=range] {
  width: 100%; height: 4px; background: rgba(0,210,255,0.12);
  border-radius: 2px; outline: none; cursor: pointer; -webkit-appearance: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px rgba(0,210,255,0.6);
  cursor: pointer; transition: box-shadow 0.2s;
}
input[type=range]::-webkit-slider-thumb:hover { box-shadow: 0 0 20px rgba(0,210,255,0.9); }

/* Config tiles */
.cfg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cfg-item {
  background: rgba(0,210,255,0.04); border: 1px solid rgba(0,210,255,0.08);
  border-radius: 8px; padding: 8px 10px;
}
.cfg-key { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: var(--muted); letter-spacing: 1px; }
.cfg-val { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 700; margin-top: 3px; }

/* Buttons */
.btn-group { display: flex; gap: 8px; }
.btn {
  flex: 1; padding: 11px 8px; border-radius: 10px;
  font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 2px; cursor: pointer; border: 1px solid var(--border);
  background: var(--glass2); color: var(--text); transition: all 0.2s; text-transform: uppercase;
}
.btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 20px rgba(0,210,255,0.15); }
.btn.active {
  background: linear-gradient(135deg, rgba(0,210,255,0.2), rgba(0,210,255,0.05));
  border-color: var(--cyan); color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,210,255,0.2), inset 0 0 20px rgba(0,210,255,0.05);
}
.btn-live { background: linear-gradient(135deg,rgba(0,255,100,0.08),rgba(0,255,100,0.02)); border-color: rgba(0,255,100,0.3); color: var(--green); }
.btn-live.connected { background: linear-gradient(135deg,rgba(0,255,100,0.22),rgba(0,255,100,0.08)); border-color: var(--green); color: var(--green); box-shadow: 0 0 20px rgba(0,255,100,0.3); animation: livePulse 2s ease-in-out infinite; }
.btn-live.error { border-color: var(--red); color: var(--red); }
@keyframes livePulse { 0%,100%{box-shadow:0 0 10px rgba(0,255,100,0.2);} 50%{box-shadow:0 0 28px rgba(0,255,100,0.5);} }

/* Live panel */
#liveBanner { display:none; margin-bottom:10px; padding:8px 14px; border-radius:10px; background:linear-gradient(135deg,rgba(0,255,100,0.1),rgba(0,210,255,0.05)); border:1px solid rgba(0,255,100,0.25); font-family:'JetBrains Mono',monospace; font-size:0.62rem; color:var(--green); letter-spacing:1px; text-align:center; }
#liveBanner.show { display:block; }
#livePanel { display:none; padding:12px; background:rgba(0,255,100,0.04); border:1px solid rgba(0,255,100,0.15); border-radius:10px; margin-bottom:8px; gap:8px; flex-direction:column; }
#livePanel.show { display:flex; }
#ipInput { background:rgba(0,0,0,0.4); border:1px solid rgba(0,255,100,0.2); border-radius:8px; color:var(--green); font-family:'JetBrains Mono',monospace; font-size:0.75rem; padding:8px 12px; width:100%; outline:none; letter-spacing:1px; }
#ipInput:focus { border-color:var(--green); box-shadow:0 0 12px rgba(0,255,100,0.15); }
.ip-lbl  { font-family:'JetBrains Mono',monospace; font-size:0.6rem; color:rgba(0,255,100,0.6); letter-spacing:1px; }
.ip-hint { font-family:'JetBrains Mono',monospace; font-size:0.55rem; color:var(--muted); letter-spacing:1px; }

/* Footer */
footer {
  margin-top: 22px; padding: 14px 24px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 14px; backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-left { font-family:'JetBrains Mono',monospace; font-size:0.6rem; color:var(--muted); letter-spacing:1px; }
.footer-left strong { color:var(--cyan); }
.footer-badges { display: flex; gap: 8px; }
.f-badge {
  padding: 4px 10px; border-radius: 6px;
  font-family:'JetBrains Mono',monospace; font-size:0.5rem; letter-spacing:1px;
  border: 1px solid rgba(0,210,255,0.15); color: var(--muted);
  background: rgba(0,210,255,0.04);
}
