.hh-gauge {
  position: relative;
  width: 112px;
  height: 142px;
  margin: 0 auto;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.08);
}
.hh-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  transition: height 0.6s ease-in-out;
  z-index: 1;
}
.hh-slipway-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  margin-bottom: -1px;
  background: var(--color-success);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.7);
  z-index: 2;
  opacity: 0.5;
  cursor: help;
}
.hh-fill::before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 200%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 Q5 1 10 3 T20 3 V6 H0 Z' fill='%23bae6fd'/%3E%3C/svg%3E")
    repeat-x;
  background-size: 20px 6px;
  animation: hh-wave 4s linear infinite;
}
@keyframes hh-wave {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hh-fill::before {
    animation: none;
  }
}
.hh-readout {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 3;
}
.hh-readout .hh-m {
  display: inline-block;
  background: rgb(255 255 255 / 0.9);
  border-radius: var(--radius-control);
  padding: 2px 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.12);
}
.hh-readout .hh-m.hh-dried {
  color: var(--color-error);
  font-size: 1rem;
}
.hh-readout .hh-ft {
  display: inline-block;
  margin-top: 4px;
  background: rgb(255 255 255 / 0.85);
  border-radius: var(--radius-control);
  padding: 1px 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}
.hh-caption {
  font-size: 11px;
  color: #777;
  margin: 0 0 4px;
}
.hh-slipway {
  margin-top: 8px;
}
.hh-disclaimer {
  background: color-mix(in srgb, var(--color-error) 12%, #fff);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-control);
  color: color-mix(in srgb, var(--color-error) 85%, #000);
  font-weight: 600;
  padding: 5px 8px;
  margin: 8px 2px 0;
  text-align: center;
}
.hh-slipway-label {
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hh-slipway-status {
  font-size: 1.05rem;
  font-weight: 700;
}
.hh-above {
  color: var(--color-success);
}
.hh-below {
  color: var(--color-error);
}
