/* PROTOTYPE — four selected-boundary animations, switchable with ?variant=1..4 on the existing map route. */

html[data-selection-animation-prototype] .selection-animation-prototype-panel {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 18px;
  width: min(680px, calc(100vw - 28px));
  transform: translateX(-50%);
  color: #eaf7ff;
  font-family: var(--font-family-ui);
  pointer-events: none;
}

.selection-animation-prototype-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(142, 215, 255, .34);
  border-radius: 18px;
  background: rgba(4, 25, 39, .94);
  box-shadow: 0 18px 52px rgba(0, 20, 34, .32);
  backdrop-filter: blur(18px) saturate(130%);
  pointer-events: auto;
}

.selection-animation-prototype-copy {
  min-width: 0;
}

.selection-animation-prototype-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  color: #90c9e8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.selection-animation-prototype-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52bcff;
  box-shadow: 0 0 0 5px rgba(82, 188, 255, .13);
}

.selection-animation-prototype-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.selection-animation-prototype-title strong {
  color: #70c8ff;
  font-size: 18px;
}

.selection-animation-prototype-description {
  margin: 3px 0 0;
  overflow: hidden;
  color: #b7d1df;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selection-animation-prototype-status {
  color: #78a7bf;
  font-size: 10px;
  white-space: nowrap;
}

.selection-animation-prototype-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.selection-animation-prototype-controls button {
  height: 32px;
  min-width: 32px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(142, 215, 255, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  color: #dff4ff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: 140ms ease;
}

.selection-animation-prototype-controls button:hover,
.selection-animation-prototype-controls button:focus-visible {
  border-color: rgba(112, 200, 255, .72);
  background: rgba(82, 188, 255, .14);
  outline: 0;
}

.selection-animation-prototype-controls button[aria-pressed="true"] {
  border-color: #52bcff;
  background: #1672aa;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(82, 188, 255, .14);
}

.selection-animation-prototype-arrow {
  font-size: 16px !important;
}

@media (max-width: 680px) {
  html[data-selection-animation-prototype] .selection-animation-prototype-panel { bottom: 10px; }
  .selection-animation-prototype-card { grid-template-columns: 1fr; gap: 8px; }
  .selection-animation-prototype-description { white-space: normal; }
  .selection-animation-prototype-status { display: none; }
  .selection-animation-prototype-controls { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .selection-animation-prototype-controls button { transition: none; }
}
