.layer.media-layer {
  padding: 0;
  min-width: 0;
  min-height: 0;
  border-width: 0;
}
.layer.media-layer.sel { outline: 2px dashed #1463ff; }
.layer.media-layer img.overlay-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.media-layer.logo-layer { pointer-events: none; }
.media-layer.logo-layer.editor-layer { pointer-events: auto; }
.media-layer .map-chip {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 .25em;
  background: #811c38;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
}
.map-chip:focus-visible { outline: 3px solid gold; outline-offset: -3px; }
.effect-float { animation: overlay-float 2.8s ease-in-out infinite; }
.effect-pulse { animation: overlay-pulse 2s ease-in-out infinite; }
@keyframes overlay-float { 50% { transform: translateY(-5%); } }
@keyframes overlay-pulse { 50% { transform: scale(.9); } }
@media (prefers-reduced-motion: reduce) {
  .effect-float, .effect-pulse { animation: none; }
}
.bar .reply {
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 8px 11px;
  background: #087744;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.bar .reply[hidden] { display: none; }
.overlay-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  padding: 8px 0;
}
.overlay-targets label { display: inline-flex; align-items: center; gap: 5px; }
.overlay-targets input, .check-setting input { width: auto; margin: 0; }
@media (max-width: 420px) {
  .bar .reply { font-size: 11px; padding: 6px; }
  .bar button { font-size: 11px; white-space: nowrap; }
}
