.logo-card {
  align-items: center;
  justify-content: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .6));
}

.card.logo-card img {
  max-width: 210px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.logo-card .logo-original {
  display: none;
}

.logo-card .dh-logo-overlay {
  position: absolute;
  inset: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.logo-card .dh-logo-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 8px;
}

.logo-card .dh-logo-img {
  width: 100%;
  max-width: 380px;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-card .dh-switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 0 2px;
}

.logo-card .dh-switch {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, .72);
}

.logo-card .dh-switch:last-child {
  justify-content: flex-end;
}

.logo-card .dh-text {
  white-space: nowrap;
}

.logo-card .dh-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  flex: 0 0 auto;
}

.logo-card .dh-switch.is-active {
  color: rgba(255, 255, 255, .95);
}

.logo-card .dh-switch.is-active .dh-dot {
  background: rgba(245, 196, 0, .98);
  box-shadow: 0 0 14px rgba(245, 196, 0, .28);
}

.logo-card .dh-upd {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .2px;
}

.logo-card .dh-date::before,
.logo-card .dh-time::before {
  content: "\00B7";
  margin: 0 12px;
  color: rgba(255, 255, 255, .35);
}

.updated {
  position: absolute;
  left: var(--pad);
  bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .logo-card .dh-switch {
    font-size: 12px;
    letter-spacing: .6px;
  }

  .logo-card .dh-dot {
    width: 16px;
    height: 16px;
  }

  .logo-card .dh-time,
  .logo-card .dh-time::before {
    display: none;
  }
}
