.sky-gate {
  --cg-shine: #a0fee4;
  --cg-aura: rgba(103, 248, 207, .6);
  aspect-ratio: 168 / 164;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  border-radius: 42%;
  background: transparent;
  box-shadow: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.sky-gate[data-gate-count="5"] {
  --cg-shine: #ffdd91;
  --cg-aura: rgba(255, 188, 85, .65);
}
.sky-gate .cg-gate-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 1.4px .9px rgba(17, 38, 37, .51));
  transition: filter .2s ease;
}
.sky-gate[data-active="true"] .cg-gate-art {
  filter: drop-shadow(0 1.6px .9px rgba(16, 33, 29, .68)) drop-shadow(0 0 4px var(--cg-aura));
}
.sky-gate .cg-digit {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800;
  font-size: 33px;
  letter-spacing: -.7px;
  fill: #fff6cb;
  stroke: #243d32;
  stroke-width: 1.7px;
  paint-order: stroke fill;
  font-variant-numeric: lining-nums;
}
.sky-gate .cg-ringflash {
  opacity: 0;
  transform-origin: 84px 82px;
}
.sky-gate[data-flash="true"] .cg-ringflash {
  animation: cloudgate-bloom .52s ease-out both;
}
.sky-gate[data-flash="true"] .cg-chime {
  animation: cloudgate-chime .68s ease-out both;
}
.sky-gate[data-flash="true"] .cg-chime-side {
  animation-direction: reverse;
}
.sky-gate:focus-visible {
  outline: 2px dashed var(--cg-shine);
  outline-offset: 3px;
}
@media (hover: hover) {
  .sky-gate:hover .cg-gate-art {
    filter: drop-shadow(0 1.5px 1px rgba(16, 33, 29, .61)) drop-shadow(0 0 5px var(--cg-aura)) brightness(1.07);
  }
}
@keyframes cloudgate-bloom {
  0% { opacity: .95; transform: scale(.99); }
  65% { opacity: .55; }
  100% { opacity: 0; transform: scale(1.24); }
}
@keyframes cloudgate-chime {
  0%, 100% { transform: rotate(0); }
  18% { transform: rotate(15deg); }
  42% { transform: rotate(-10deg); }
  69% { transform: rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sky-gate .cg-gate-art { transition: none; }
  .sky-gate[data-flash="true"] .cg-ringflash {
    animation: none;
    opacity: .85;
  }
  .sky-gate[data-flash="true"] .cg-chime { animation: none; }
}
