.rlg-panel {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #0f2a24 0%, #1a3d34 55%, #243f38 100%);
  color: #f4f7f5;
  box-shadow: 0 18px 40px rgba(15, 42, 36, 0.28);
}

@media (max-width: 640px) {
  .rlg-panel {
    grid-template-columns: 1fr;
  }
}

.rlg-label {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

.rlg-value {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.6rem);
  line-height: 1;
  font-weight: 700;
}

.rlg-unit {
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.rlg-trend {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

.rlg-meta {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.rlg-meta p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.rlg-meta span {
  opacity: 0.65;
}

.rlg-pulse {
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem !important;
}

.rlg-pulse i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7ddea0;
  box-shadow: 0 0 0 0 rgba(125, 222, 160, 0.7);
  animation: rlg-pulse 1.8s infinite;
}

.rlg-pulse.is-offline i {
  background: #e2a06a;
  animation: none;
}

@keyframes rlg-pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 222, 160, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(125, 222, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 222, 160, 0); }
}

.rlg-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.82;
}

.rlg-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rlg-panel.is-high .rlg-value,
.rlg-panel.is-low .rlg-value {
  color: #f3d2c2;
}
