* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'DIN';
  src: local('DIN Alternate'), local('DIN'), local('Arial');
}

:root {
  --bg-dark: #020b1a;
  --bg-darker: #010814;
  --bg-panel: rgba(5, 18, 50, 0.85);
  --bg-card: rgba(8, 25, 65, 0.5);
  --border-color: rgba(32, 128, 200, 0.25);
  --border-glow: rgba(0, 180, 255, 0.5);
  --corner-color: #1e90d0;
  --corner-bright: #00ccff;
  --cyan: #00d4ff;
  --cyan-light: #40e8ff;
  --cyan-dim: #0088aa;
  --blue: #2979ff;
  --blue-deep: #0a4ea0;
  --purple: #7c4dff;
  --yellow: #ffca28;
  --orange: #ff9800;
  --green: #00e676;
  --red: #ff5252;
  --pink: #ff4081;
  --text-primary: #e8f0ff;
  --text-secondary: #8cb4d8;
  --text-dim: #4a7898;
  --font-data: 'DIN', 'Consolas', 'Courier New', monospace;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 16px;
  background: var(--bg-dark);
  color: var(--text-primary);
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(5, 40, 100, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(40, 10, 90, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 90%, rgba(0, 60, 120, 0.1) 0%, transparent 70%),
    var(--bg-dark);
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 120, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.top-deco-line {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--cyan) 20%, rgba(255,255,255,0.8) 50%, var(--cyan) 80%, transparent 95%);
  z-index: 100;
  animation: decoLinePulse 4s ease-in-out infinite;
}

.bottom-deco-line {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,180,255,0.3) 30%, rgba(0,180,255,0.5) 50%, rgba(0,180,255,0.3) 70%, transparent 90%);
  z-index: 100;
}

@keyframes decoLinePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  background: linear-gradient(180deg, rgba(5, 20, 60, 0.95) 0%, rgba(3, 12, 40, 0.7) 100%);
  border-bottom: 1px solid rgba(0, 140, 220, 0.2);
  flex-shrink: 0;
  z-index: 10;
}

.header-bottom-line {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 140, 220, 0.1) 10%,
    var(--cyan) 35%,
    rgba(255,255,255,0.9) 50%,
    var(--cyan) 65%,
    rgba(0, 140, 220, 0.1) 90%,
    transparent 100%
  );
}

.header-glow {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 8px;
  background: radial-gradient(ellipse, rgba(0, 200, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-time-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-icon {
  font-size: 28px;
  color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(0,200,255,0.5));
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(0,200,255,0.3)); }
  50% { filter: drop-shadow(0 0 10px rgba(0,200,255,0.8)); }
}

.header-datetime {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-date {
  font-size: 20px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.header-clock {
  font-family: var(--font-data);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.status-indicators {
  display: flex;
  gap: 16px;
  background: rgba(5, 20, 60, 0.6);
  border: 1px solid rgba(0, 140, 220, 0.2);
  border-radius: 6px;
  padding: 6px 16px;
  backdrop-filter: blur(8px);
}

.status-indicators .indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: var(--text-secondary);
}

.status-indicators .indicator b {
  font-family: var(--font-data);
  color: var(--text-primary);
  font-size: 20px;
}

.indicator-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.indicator-dot.normal { background: var(--green); box-shadow: 0 0 8px var(--green); }
.indicator-dot.warning { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.indicator-dot.critical { background: var(--red); box-shadow: 0 0 8px var(--red); animation: criticalBlink 1s ease-in-out infinite; }

@keyframes criticalBlink {
  0%, 100% { box-shadow: 0 0 6px var(--red); }
  50% { box-shadow: 0 0 18px var(--red), 0 0 30px rgba(255, 82, 82, 0.4); }
}

.header-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-deco svg {
  display: block;
}

.title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 6px;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.3));
}

.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.subtitle {
  font-size: 18px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.main-content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 20%) minmax(0, 60%) minmax(280px, 20%);
  gap: 12px;
  padding: 12px;
  overflow: hidden;
  min-height: 0;
  z-index: 1;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.col::-webkit-scrollbar { width: 4px; }
.col::-webkit-scrollbar-thumb { background: rgba(0, 160, 255, 0.2); border-radius: 2px; }

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 16px rgba(0, 40, 120, 0.15);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.panel:hover {
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: 0 4px 24px rgba(0, 100, 220, 0.2);
}

.panel-corner {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 2;
}

.panel-corner.tl {
  top: -1px; left: -1px;
  border-top: 2px solid var(--corner-color);
  border-left: 2px solid var(--corner-color);
}
.panel-corner.tr {
  top: -1px; right: -1px;
  border-top: 2px solid var(--corner-color);
  border-right: 2px solid var(--corner-color);
}
.panel-corner.bl {
  bottom: -1px; left: -1px;
  border-bottom: 2px solid var(--corner-color);
  border-left: 2px solid var(--corner-color);
}
.panel-corner.br {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--corner-color);
  border-right: 2px solid var(--corner-color);
}

.panel:hover .panel-corner {
  border-color: var(--corner-bright);
  filter: drop-shadow(0 0 4px rgba(0, 200, 255, 0.5));
}

.panel-top-line {
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--cyan) 70%, transparent);
  opacity: 0.5;
}

.panel::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.4), rgba(255,255,255,0.3), transparent);
  animation: scanLine 5s linear infinite;
  pointer-events: none;
}

@keyframes scanLine {
  0% { left: -40%; }
  100% { left: 140%; }
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 140, 220, 0.1);
}

.panel-title-deco {
  width: 3px; height: 16px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-deep));
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
}

.panel-title span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.panel-title em {
  font-size: 14px;
  font-style: normal;
  color: var(--text-dim);
  letter-spacing: 2px;
  opacity: 0.6;
}

.col-left .panel:nth-child(1) { flex: 1; }
.col-left .panel:nth-child(2) { flex: 0.4; }
.col-left .panel:nth-child(3) { flex: 0.55; }

.cooling-status {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cooling-param {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(0, 120, 200, 0.06);
  transition: background 0.3s;
}

.cooling-param:hover {
  background: rgba(0, 80, 180, 0.1);
}

.cooling-param:last-child { border-bottom: none; }

.param-label {
  color: var(--text-secondary);
  font-size: 15px;
}

.param-value {
  font-weight: 700;
  font-family: var(--font-data);
  font-size: 17px;
  color: var(--cyan-light);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
  transition: text-shadow 0.3s;
}

.cooling-param:hover .param-value {
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.7);
}

.leak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sensor-card {
  background: linear-gradient(145deg, rgba(5, 25, 60, 0.7), rgba(10, 35, 80, 0.3));
  border: 1px solid rgba(0, 140, 220, 0.12);
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.sensor-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.3;
}

.sensor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 120, 220, 0.15);
  border-color: rgba(0, 180, 255, 0.4);
}

.sensor-status {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin: 0 auto 6px;
}

.sensor-normal { background: var(--green); box-shadow: 0 0 8px var(--green); }
.sensor-warning { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.sensor-alarm { background: var(--red); box-shadow: 0 0 10px var(--red); animation: alarmPulse 1s infinite; }

@keyframes alarmPulse {
  0%, 100% { box-shadow: 0 0 8px var(--red); }
  50% { box-shadow: 0 0 20px var(--red), 0 0 40px rgba(255, 82, 82, 0.3); }
}

.sensor-name { font-size: 16px; color: var(--text-secondary); margin-bottom: 4px; }
.sensor-value { font-size: 22px; font-weight: 700; color: var(--cyan); font-family: var(--font-data); text-shadow: 0 0 6px rgba(0, 212, 255, 0.3); }
.sensor-status-text { font-size: 16px; color: var(--green); margin-top: 3px; font-weight: 600; }

.col-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-liquid {
  flex: 1;
  position: relative;
  padding: 0;
  background: #060e1f;
  border: 1px solid rgba(0, 140, 220, 0.35);
  border-radius: 4px;
  overflow: hidden;
  min-height: 220px;
  max-height: 52vh;
  box-shadow: 0 0 20px rgba(0, 80, 180, 0.15);
}

.panel-liquid::after { display: none; }
.panel-liquid .panel-corner { display: none; }
.panel-liquid .panel-top-line { display: none; }

.liquid-header {
  position: absolute;
  top: 12px; left: 18px; right: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.liquid-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-shadow: 0 0 8px rgba(0,200,255,0.3);
}

.liquid-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.liquid-status {
  margin-left: auto;
  font-size: 18px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.status-dot.running {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 5px var(--green); }
  50% { box-shadow: 0 0 16px var(--green), 0 0 30px rgba(0, 230, 118, 0.3); }
}

.lq-center-stats {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(4, 16, 48, 0.92);
  border: 1px solid rgba(0, 160, 220, 0.4);
  border-radius: 8px;
  padding: 12px 24px;
  z-index: 4;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(0, 80, 180, 0.2);
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
}

.center-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cs-label {
  font-size: 16px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.cs-value {
  font-family: var(--font-data);
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.cs-value.green {
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.center-stat-divider {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, rgba(0, 160, 220, 0.4), transparent);
}

.center-bottom {
  flex: 1;
  min-height: 120px;
}

.panel-chart {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.temp-chart {
  width: 100%;
  flex: 1;
  min-height: 0;
}

.chart-container { position: relative; }

.panel-kpi { flex: 0.5; }

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi-card {
  background: linear-gradient(145deg, rgba(5, 25, 60, 0.7), rgba(10, 35, 85, 0.3));
  border: 1px solid rgba(0, 140, 220, 0.18);
  border-radius: 6px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.3), transparent);
}

.kpi-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  animation: kpiSweep 6s linear infinite;
}

@keyframes kpiSweep {
  0% { left: -60%; }
  100% { left: 160%; }
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 140, 220, 0.2);
  border-color: rgba(0, 200, 255, 0.4);
}

.kpi-label {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-data);
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-alerts { flex: 0.8; display: flex; flex-direction: column; }

.panel-alerts-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.panel-alerts-bottom .alerts-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 10px 0;
}

.alerts-4grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.alert-category {
  background: linear-gradient(145deg, rgba(5, 22, 55, 0.6), rgba(8, 30, 70, 0.2));
  border: 1px solid rgba(0, 140, 220, 0.12);
  border-radius: 6px;
  padding: 10px;
  min-height: 70px;
  position: relative;
  transition: all 0.3s;
}

.alert-category::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  border-radius: 2px 0 0 2px;
}
.alert-category:nth-child(1)::before { background: #ff7043; }
.alert-category:nth-child(2)::before { background: var(--cyan); }
.alert-category:nth-child(3)::before { background: var(--yellow); }
.alert-category:nth-child(4)::before { background: var(--green); }

.alert-category:hover {
  border-color: rgba(0, 200, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 120, 220, 0.1);
}

.alert-cat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-weight: 700;
}
.alert-cat-header span {
  font-size: 16px;
  color: var(--cyan);
  letter-spacing: 1px;
}

.alert-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-icon.temp { background: #ff7043; box-shadow: 0 0 6px rgba(255, 112, 67, 0.5); }
.alert-icon.flow { background: var(--cyan); box-shadow: 0 0 6px rgba(0, 212, 255, 0.5); }
.alert-icon.pressure { background: var(--yellow); box-shadow: 0 0 6px rgba(255, 193, 7, 0.5); }
.alert-icon.leak { background: var(--green); box-shadow: 0 0 6px rgba(0, 230, 118, 0.5); }

.alert-cat-body {
  max-height: 90px;
  overflow-y: auto;
}
.alert-cat-body::-webkit-scrollbar { width: 2px; }
.alert-cat-body::-webkit-scrollbar-thumb { background: rgba(0, 160, 255, 0.3); }

.alert-safe {
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.alert-alarm-item {
  font-size: 14px;
  color: var(--orange);
  padding: 3px 0;
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  border-bottom: 1px solid rgba(0, 120, 200, 0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert-alarm-item:last-child { border-bottom: none; }
.alert-alarm-item:hover {
  color: var(--cyan-light);
}
.alert-alarm-item.repairing { 
  color: var(--cyan);
  animation: none;
}
.alert-alarm-item.repairing:hover {
  color: var(--cyan-light);
  animation: none;
}

.alert-cat-always-safe { border-color: rgba(0, 230, 118, 0.15); }

@keyframes alertFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.panel-control, .panel-mode { display: flex; flex-direction: column; }

.control-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.control-group {
  background: linear-gradient(145deg, rgba(5, 25, 60, 0.5), rgba(8, 35, 80, 0.2));
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0, 140, 220, 0.12);
  transition: border-color 0.3s;
}

.control-group:hover { border-color: rgba(0, 180, 255, 0.3); }

.control-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.control-header span:last-child {
  color: var(--cyan-light);
  font-weight: 700;
  font-family: var(--font-data);
  font-size: 18px;
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.slider-wrapper {
  flex: 1;
  position: relative;
}

.slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, rgba(5, 40, 80, 0.6), var(--blue), var(--cyan));
  border-radius: 3px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--cyan));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

.slider-marks {
  position: relative;
  height: 12px;
  margin-top: 2px;
}

.slider-mark {
  position: absolute;
  top: 0;
  width: 2px;
  height: 6px;
  background: rgba(0, 140, 220, 0.3);
}

.slider-mark.recommended {
  height: 10px;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.slider-mark-label {
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.slider-mark-label.recommended {
  color: var(--green);
  font-weight: bold;
}

.mode-control {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.mode-btn {
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(0, 140, 220, 0.2);
  background: rgba(5, 25, 60, 0.5);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.35s ease;
  letter-spacing: 2px;
}

.mode-btn:hover {
  background: rgba(0, 80, 160, 0.3);
  color: var(--cyan);
}

.mode-btn.active {
  background: linear-gradient(135deg, rgba(0, 160, 220, 0.3), rgba(100, 60, 220, 0.15));
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.control-status {
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  font-size: 16px;
  color: var(--text-secondary);
  background: rgba(5, 20, 50, 0.4);
  border-radius: 4px;
  border: 1px solid rgba(0, 140, 220, 0.08);
  letter-spacing: 1px;
}

b.cyan, .cyan { color: var(--cyan); }
b.yellow, .yellow { color: var(--yellow); }
b.green, .green { color: var(--green); }
b.red, .red { color: var(--red); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.col-left .panel { animation: fadeInLeft 0.6s ease forwards; opacity: 0; }
.col-left .panel:nth-child(1) { animation-delay: 0.1s; }
.col-left .panel:nth-child(2) { animation-delay: 0.2s; }
.col-left .panel:nth-child(3) { animation-delay: 0.3s; }

.col-right .panel { animation: fadeInRight 0.6s ease forwards; opacity: 0; }
.col-right .panel:nth-child(1) { animation-delay: 0.1s; }
.col-right .panel:nth-child(2) { animation-delay: 0.2s; }
.col-right .panel:nth-child(3) { animation-delay: 0.3s; }
.col-right .panel:nth-child(4) { animation-delay: 0.4s; }

.col-center .panel-liquid { animation: fadeInUp 0.6s ease forwards 0.15s; opacity: 0; }
.center-bottom .panel { animation: fadeInUp 0.6s ease forwards 0.3s; opacity: 0; }

@keyframes dataGlow {
  0%, 100% { text-shadow: 0 0 4px rgba(0, 212, 255, 0.2); }
  50% { text-shadow: 0 0 14px rgba(0, 212, 255, 0.6); }
}

.param-value, .kpi-value, .cs-value, .sensor-value {
  animation: dataGlow 4s ease-in-out infinite;
}

@keyframes cornerBreath {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.panel-corner {
  animation: cornerBreath 3s ease-in-out infinite;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 160, 255, 0.2); border-radius: 2px; }

.three-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  background: #060e1f;
}

.view-controls {
  position: absolute;
  top: 48px; right: 18px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.view-btn {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(5, 25, 60, 0.8);
  border: 1px solid rgba(0, 140, 220, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.view-btn:hover {
  background: rgba(0, 80, 160, 0.5);
  color: var(--cyan);
}

.view-btn.active {
  background: rgba(0, 160, 220, 0.35);
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.flow-info {
  position: absolute;
  bottom: 12px; left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.flow-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.flow-dot { width: 8px; height: 8px; border-radius: 50%; }
.secondary-flow .flow-dot { background: #e040fb; box-shadow: 0 0 8px #e040fb; }
.primary-flow .flow-dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.liquid-canvas, .liquid-svg, .liquid-nodes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.liquid-canvas { z-index: 2; pointer-events: none; }
.liquid-svg { z-index: 1; }
.liquid-nodes { z-index: 3; pointer-events: none; }
.lq-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: auto; }
.node-icon { position: relative; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.5)); transition: filter 0.3s; }
.lq-node:hover .node-icon { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.9)); }
.node-label { font-size: 14px; color: var(--text-primary); white-space: nowrap; text-shadow: 0 0 8px rgba(0, 0, 0, 0.8); letter-spacing: 1px; }
.node-temp { font-family: var(--font-data); font-size: 22px; font-weight: 700; white-space: nowrap; text-shadow: 0 0 12px currentColor; }
.node-temp.cold { color: #00d4ff; }
.node-temp.hot { color: #ff7043; }
.node-badge { font-size: 14px; color: var(--text-dim); background: rgba(0, 50, 100, 0.5); padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(0, 120, 220, 0.2); }
.node-detail { font-size: 14px; color: var(--text-secondary); white-space: nowrap; }
.node-detail b { font-family: var(--font-data); font-size: 16px; }
.node-pulse { position: absolute; top: 0; left: 50%; width: 50px; height: 50px; border-radius: 50%; transform: translate(-50%, -5px); pointer-events: none; }
.cold-pulse { border: 1px solid rgba(0, 212, 255, 0.3); animation: coldRipple 3s ease-out infinite; }
.hot-pulse { border: 1px solid rgba(255, 112, 67, 0.3); animation: hotRipple 3s ease-out infinite; }
@keyframes coldRipple { 0% { transform: translate(-50%, -5px) scale(0.8); opacity: 0.6; } 100% { transform: translate(-50%, -5px) scale(2.2); opacity: 0; } }
@keyframes hotRipple { 0% { transform: translate(-50%, -5px) scale(0.8); opacity: 0.6; } 100% { transform: translate(-50%, -5px) scale(2.2); opacity: 0; } }

.flow-label { position: absolute; font-size: 14px; white-space: nowrap; z-index: 4; letter-spacing: 1px; pointer-events: none; }
.cold-text { color: rgba(0, 180, 255, 0.6); }
.hot-text { color: rgba(255, 100, 60, 0.6); }

.server-data-panel {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: 90vw;
  max-height: 85vh;
  background: rgba(4, 14, 42, 0.96);
  border: 1px solid rgba(0, 160, 220, 0.45);
  border-radius: 8px;
  padding: 20px;
  z-index: 9999;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(0, 80, 180, 0.3);
  transition: opacity 0.3s, transform 0.3s;
}

.server-data-panel.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 140, 220, 0.2);
}

.panel-title-small {
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
}

.close-btn {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  border-radius: 50%;
}

.close-btn:hover {
  color: var(--red);
  transform: scale(1.15);
  background: rgba(255, 82, 82, 0.1);
}

.panel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 400px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 8px;
}

.panel-body::-webkit-scrollbar {
  width: 6px;
}

.panel-body::-webkit-scrollbar-track {
  background: rgba(0, 40, 80, 0.3);
  border-radius: 3px;
}

.panel-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 180, 255, 0.5), rgba(0, 120, 200, 0.5));
  border-radius: 3px;
  border: 1px solid rgba(0, 180, 255, 0.3);
}

.panel-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(0, 200, 255, 0.7), rgba(0, 140, 220, 0.7));
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.data-label { color: var(--text-secondary); }

.data-value {
  color: var(--text-primary);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 18px;
}

.data-value.status-normal { color: var(--green); }
.data-value.status-warning { color: var(--orange); }
.data-value.status-critical { color: var(--red); }

.data-section-title {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 0 4px;
  border-top: 1px solid rgba(0, 140, 220, 0.15);
  margin-top: 2px;
}

.gpu-cpu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.gc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(0, 40, 80, 0.25);
  gap: 4px;
}

.gc-name {
  color: var(--text-secondary);
  font-size: 13px;
  min-width: 38px;
}

.gc-temp {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 14px;
  color: var(--cyan-light);
}

.gc-temp.hot {
  color: var(--red);
  animation: alertFlash 1.5s ease-in-out infinite;
}

.gc-power {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text-dim);
  min-width: 30px;
  text-align: right;
}

.progress-wrap { display: flex; align-items: center; gap: 10px; }
.progress-bar-mini { width: 70px; height: 6px; background: rgba(0, 30, 60, 0.6); border-radius: 3px; overflow: hidden; }
.progress-fill-mini { height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 3px; transition: width 0.5s ease; }
.percent-value { font-family: var(--font-data); font-size: 18px; color: var(--cyan); min-width: 40px; text-align: right; }

#loading-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-darker);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-spinner {
  position: relative;
  width: 120px; height: 120px;
  margin-bottom: 30px;
}

.spinner-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid transparent;
}

.spinner-ring.ring-1 {
  border-top-color: var(--cyan);
  border-right-color: var(--cyan);
  animation: spin 2s linear infinite;
}

.spinner-ring.ring-2 {
  width: 70%; height: 70%;
  border-bottom-color: var(--blue);
  border-left-color: var(--blue);
  animation: spin-reverse 3s linear infinite;
}

.spinner-ring.ring-3 {
  width: 40%; height: 40%;
  border: 2px solid var(--purple);
  animation: spin 4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.spinner-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%);
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-dot {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--cyan);
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  margin-bottom: 20px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

.loading-progress {
  width: 300px;
}

.progress-bar {
  width: 100%; height: 8px;
  background: rgba(0, 30, 60, 0.8);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 255, 0.3);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--cyan);
}

.progress-text {
  text-align: center;
  font-family: var(--font-data);
  font-size: 22px;
  color: var(--cyan-light);
  margin-top: 10px;
  letter-spacing: 2px;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--cyan); }
  50% { transform: scale(1.3); opacity: 0.8; box-shadow: 0 0 18px var(--cyan-light), 0 0 36px var(--cyan-light); }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
  100% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.4); }
}

@media (min-width: 1600px) {
  html, body { font-size: 18px; }
  .header { height: 80px; }
  .header-clock { font-size: 36px; }
  .title { font-size: 36px; letter-spacing: 8px; }
  .panel-title span { font-size: 20px; }
  .panel-title em { font-size: 16px; }
  .param-label { font-size: 17px; }
  .param-value { font-size: 19px; }
  .kpi-label { font-size: 18px; }
  .kpi-value { font-size: 32px; }
  .sensor-name { font-size: 18px; }
  .sensor-value { font-size: 24px; }
  .sensor-status-text { font-size: 18px; }
  .liquid-title { font-size: 22px; }
  .liquid-subtitle { font-size: 16px; }
  .liquid-status { font-size: 20px; }
  .view-btn { font-size: 16px; }
  .flow-info-item { font-size: 16px; }
  .control-header { font-size: 18px; }
  .control-header span:last-child { font-size: 20px; }
  .mode-btn { font-size: 18px; }
  .control-status { font-size: 18px; }
}

@media (max-width: 1400px) {
  .main-content { grid-template-columns: minmax(260px, 22%) minmax(0, 56%) minmax(260px, 22%); }
  .title { font-size: 28px; letter-spacing: 5px; }
  .header-deco svg { width: 140px; }
}

@media (max-width: 1200px) {
  .main-content { grid-template-columns: minmax(240px, 24%) minmax(0, 52%) minmax(240px, 24%); gap: 10px; padding: 10px; }
  .center-bottom { min-height: 100px; }
  .panel-liquid { min-height: 200px; max-height: 48vh; }
  .panel-title span { font-size: 16px; }
  .title { font-size: 24px; letter-spacing: 4px; }
  .header-deco svg { width: 100px; }
  .header-clock { font-size: 28px; }
  .header-date { font-size: 16px; }
  .kpi-value { font-size: 24px; }
  .param-value { font-size: 16px; }
  .sensor-value { font-size: 20px; }
  .liquid-title { font-size: 18px; }
  .liquid-subtitle { font-size: 12px; }
  .liquid-status { font-size: 16px; }
}

@media (max-width: 992px) {
  html, body { overflow-y: auto; }
  body { height: auto; min-height: 100vh; }
  
  .main-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 12px;
  }
  
  .col {
    flex-direction: column;
    overflow: visible;
  }
  
  .col-left, .col-center, .col-right {
    width: 100%;
  }
  
  .panel {
    width: 100%;
  }
  
  .col-left .panel:nth-child(1),
  .col-left .panel:nth-child(2),
  .col-left .panel:nth-child(3) {
    flex: none;
  }
  
  .panel-kpi, .panel-alerts, .panel-control, .panel-mode {
    flex: none;
  }
  
  .panel-liquid {
    min-height: 350px;
    max-height: none;
  }
  
  .panel-chart {
    min-height: 300px;
  }
  
  .temp-chart {
    min-height: 250px;
  }
  
  .server-data-panel {
    width: 92vw;
    max-height: 85vh;
    padding: 12px;
  }
  
  .panel-body {
    height: auto;
    max-height: 65vh;
    overflow-y: scroll;
  }
  
  .panel-body::-webkit-scrollbar {
    width: 8px;
  }
  
  .panel-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 200, 255, 0.7), rgba(0, 140, 220, 0.7));
  }
  
  .title { font-size: 22px; letter-spacing: 3px; }
  .header-deco svg { width: 80px; }
  .header-clock { font-size: 26px; }
  .header-date { font-size: 16px; }
  .status-indicators .indicator { font-size: 16px; }
  .panel-title span { font-size: 16px; }
  .panel-title em { font-size: 14px; }
  .param-label { font-size: 15px; }
  .param-value { font-size: 16px; }
  .kpi-label { font-size: 15px; }
  .kpi-value { font-size: 24px; }
  .sensor-name { font-size: 15px; }
  .sensor-value { font-size: 20px; }
  .sensor-status-text { font-size: 15px; }
  .liquid-title { font-size: 18px; }
  .liquid-subtitle { font-size: 14px; }
  .liquid-status { font-size: 16px; }
  .view-btn { font-size: 14px; padding: 6px 12px; }
  .control-header { font-size: 16px; }
  .control-header span:last-child { font-size: 18px; }
  .mode-btn { font-size: 16px; }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 12px;
    gap: 12px;
  }
  
  .header-center {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    order: -1;
  }
  
  .header-left {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  
  .header-right {
    display: none;
  }
  
  .main-content {
    padding: 10px;
    gap: 10px;
  }
  
  .panel-liquid {
    min-height: 320px;
  }
  
  .panel-chart {
    min-height: 280px;
  }
  
  .temp-chart {
    min-height: 230px;
  }
  
  .server-data-panel {
    width: 94vw;
    max-height: 88vh;
    padding: 10px;
  }
  
  .panel-body {
    max-height: 70vh;
    overflow-y: scroll;
  }
  
  .panel-body::-webkit-scrollbar {
    width: 8px;
  }
  
  .panel-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 200, 255, 0.8), rgba(0, 140, 220, 0.8));
  }
  
  .title { font-size: 20px; letter-spacing: 2px; }
  .header-deco svg { width: 60px; }
  .header-clock { font-size: 24px; }
  .header-date { font-size: 14px; }
  .status-indicators {
    padding: 4px 12px;
    gap: 12px;
  }
  .status-indicators .indicator { font-size: 14px; }
  .panel { padding: 12px; }
  .panel-title span { font-size: 15px; }
  .panel-title em { font-size: 12px; }
  .param-label { font-size: 14px; }
  .param-value { font-size: 15px; }
  .kpi-label { font-size: 14px; }
  .kpi-value { font-size: 22px; }
  .sensor-name { font-size: 14px; }
  .sensor-value { font-size: 18px; }
  .sensor-status-text { font-size: 14px; }
  .liquid-title { font-size: 16px; }
  .liquid-subtitle { font-size: 12px; }
  .liquid-status { font-size: 14px; }
  .view-btn { font-size: 12px; padding: 5px 10px; }
  .control-header { font-size: 15px; }
  .control-header span:last-child { font-size: 16px; }
  .mode-btn { font-size: 14px; padding: 8px 14px; }
  .loading-text { font-size: 24px; }
  .loading-spinner { width: 100px; height: 100px; }
  .loading-progress { width: 250px; }
}

@media (max-width: 576px) {
  .leak-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .alerts-4grid { grid-template-columns: 1fr; }
  
  .panel-liquid {
    min-height: 300px;
  }
  
  .panel-chart {
    min-height: 260px;
  }
  
  .temp-chart {
    min-height: 210px;
  }
  
  .server-data-panel {
    width: 96vw;
    max-height: 90vh;
    padding: 8px;
  }
  
  .panel-body {
    max-height: 72vh;
    overflow-y: scroll;
  }
  
  .panel-body::-webkit-scrollbar {
    width: 10px;
  }
  
  .panel-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 200, 255, 0.9), rgba(0, 140, 220, 0.9));
  }
  
  .title { font-size: 18px; letter-spacing: 1px; }
  .header-deco svg { width: 40px; }
  .header-clock { font-size: 22px; }
  .header-date { font-size: 12px; }
  .status-indicators {
    padding: 3px 8px;
    font-size: 14px;
  }
  .status-indicators .indicator { font-size: 14px; }
  .main-content {
    padding: 8px;
    gap: 8px;
  }
  .panel {
    padding: 12px;
  }
  .panel-title span { font-size: 14px; }
  .panel-title em { font-size: 12px; }
  .param-label { font-size: 13px; }
  .param-value { font-size: 14px; }
  .kpi-label { font-size: 14px; }
  .kpi-value { font-size: 24px; }
  .sensor-name { font-size: 14px; }
  .sensor-value { font-size: 20px; }
  .sensor-status-text { font-size: 14px; }
  .liquid-title { font-size: 14px; }
  .liquid-subtitle { display: none; }
  .liquid-status { font-size: 13px; }
  .view-btn { font-size: 12px; padding: 3px 8px; }
  .control-header { font-size: 14px; }
  .control-header span:last-child { font-size: 16px; }
  .mode-btn { font-size: 13px; padding: 6px 12px; }
  .loading-text { font-size: 20px; }
  .loading-spinner { width: 80px; height: 80px; }
  .loading-progress { width: 200px; }
}

@media (max-width: 360px) {
  .title { font-size: 16px; }
  .header-deco svg { width: 30px; }
  .header-clock { font-size: 18px; }
  .header-date { font-size: 11px; }
  .status-indicators {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .status-indicators .indicator { font-size: 12px; }
  .panel-title span { font-size: 12px; }
  .param-label { font-size: 12px; }
  .param-value { font-size: 13px; }
  .kpi-label { font-size: 12px; }
  .kpi-value { font-size: 20px; }
  .sensor-name { font-size: 12px; }
  .sensor-value { font-size: 16px; }
  .sensor-status-text { font-size: 12px; }
  .liquid-title { font-size: 12px; }
  .liquid-status { font-size: 11px; }
  .view-btn { font-size: 10px; padding: 2px 6px; }
  .control-header { font-size: 13px; }
  .control-header span:last-child { font-size: 14px; }
  .mode-btn { font-size: 11px; padding: 4px 8px; }
  .loading-text { font-size: 18px; }
  .loading-spinner { width: 60px; height: 60px; }
  .loading-progress { width: 150px; }
}