html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f5f7fa;
  box-sizing: border-box;
}
#map {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}
.ol-attribution {
  font-size: 0.97em !important;
  background: rgba(255,255,255,0.85) !important;
  padding: 0 0.5em !important;
  border-radius: 6px 6px 0 0 !important;
}
.info-panel {
  position: fixed;
  background: rgba(255,255,255,0.99);
  box-shadow: 0 2px 16px #17436622;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 1.13em;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  z-index: 10;
  padding: 0.45em 1.2em 0.45em 0.8em;
  min-width: 82px;
  pointer-events: none;
  user-select: none;
  transition: background 0.2s;
}
.info-panel--speed {
  top: 1.2em; left: 1em;
}
.info-panel--depth {
  top: 1.2em; right: 1em;
}
.info-panel--direction {
  bottom: 1.2em; left: 50%;
  transform: translateX(-50%);
  min-width: 110px;
  padding-right: 1.1em;
}
.info-icon {
  font-size: 1.32em;
  margin-right: 0.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.direction-arrow {
  transition: transform 0.27s cubic-bezier(0.77,0,0.175,1);
}
.info-label {
  color: #1565c0;
  font-weight: 600;
  font-size: 0.97em;
  margin-right: 0.15em;
}
.info-value {
  color: #212121;
  font-weight: 700;
  font-size: 1.13em;
  min-width: 30px;
  text-align: right;
  margin-right: 0.13em;
}
.info-unit {
  color: #2196f3;
  font-weight: 500;
  font-size: 0.97em;
}
@media (max-width: 600px) {
  .info-panel {
    font-size: 1em;
    padding: 0.35em 0.73em 0.35em 0.6em;
    border-radius: 10px;
    min-width: 65px;
  }
  .info-panel--depth {
    right: 0.5em;
  }
  .info-panel--speed {
    left: 0.5em;
  }
  .info-panel--direction {
    min-width: 80px;
    padding-right: 0.8em;
  }
}