.watch-cloud {
  position: relative;
  width: 100%;
  height: clamp(400px, 60vh, 700px);
  isolation: isolate;
  overflow: visible;
  touch-action: pan-y;
}

.watch-cloud .watch-item {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 4px;
  border: 1px solid rgb(71 145 211 / 12%);
  border-radius: 50%;
  background: #fff;
  color: #224a6e;
  box-shadow: 0 7px 24px rgb(35 104 165 / 14%), 0 1px 4px rgb(35 104 165 / 10%);
  text-decoration: none;
  transform-origin: center;
  z-index: var(--watch-depth, 1);
  opacity: 0;
  -webkit-tap-highlight-color: transparent;
}

.watch-cloud.watch-cloud-ready .watch-item { opacity: 1; }
.watch-cloud .watch-item:hover,
.watch-cloud .watch-item:focus-visible { z-index: 500; }
.watch-cloud .watch-item:focus-visible {
  outline: 3px solid #3a9bee;
  outline-offset: 4px;
}

.watch-cloud .watch-item > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: none;
}

.watch-cloud--logos .watch-item > img {
  box-sizing: border-box;
  object-fit: contain;
  padding: 10%;
}

.watch-cloud .watch-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: block;
  width: max-content;
  max-width: min(280px, 70vw);
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgb(74 142 200 / 15%);
  border-radius: 12px;
  background: rgb(255 255 255 / 97%);
  color: #224a6e;
  box-shadow: 0 5px 20px rgb(34 88 136 / 15%);
  font: 500 14px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) scale(var(--watch-label-scale, 1));
  transform-origin: top center;
  transition: opacity 140ms ease;
}

.watch-cloud .watch-item:hover .watch-label,
.watch-cloud .watch-item:focus-visible .watch-label {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .watch-cloud .watch-label { transition: none; }
}

@media (max-width: 600px) {
  .watch-cloud { height: clamp(400px, 65vh, 600px); }
  .watch-cloud .watch-item { padding: 2px; }
}
