
.close-btn[data-v-ba285a33] {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}
.close-btn[data-v-ba285a33]:disabled {
  cursor: default;
  opacity: 0.4;
}

/* ---- Box ---------------------------------------------------------------- */
.close-btn.is-md[data-v-ba285a33] {
  height: 36px;
  width: 36px;
}
.close-btn.is-sm[data-v-ba285a33] {
  height: 32px;
  width: 32px;
}
.close-btn.is-xs[data-v-ba285a33] {
  height: 22px;
  width: 22px;
}
.is-md .close-btn__mark[data-v-ba285a33] {
  height: 16px;
  width: 16px;
}
.is-sm .close-btn__mark[data-v-ba285a33] {
  height: 14px;
  width: 14px;
}
.is-xs .close-btn__mark[data-v-ba285a33] {
  height: 11px;
  width: 11px;
}

/* ---- On the app's own glass --------------------------------------------- */
.close-btn.is-surface[data-v-ba285a33] {
  background: #ffffff1a;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Figma: the 1px inner border as a 153.43° gradient, #FFFFFF 30% → #666666 0%
   at 83.33%. `border-image` cannot follow a border-radius, so the ring is a
   masked ::before instead.
   This is the media window's transcription of the spec rather than the
   neighbourhood card's flat 180° one — it is the more exactly recorded of the
   two, and the close sits directly beside a `.media__action` in that window's
   header, where anything but an identical ring would show. */
.close-btn.is-surface[data-v-ba285a33]::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    153.43deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(102, 102, 102, 0) 83.33%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.close-btn.is-surface[data-v-ba285a33]:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}

/* ---- Over photography ---------------------------------------------------- */

/* Dark rather than light, and darker than it looks like it needs to be: a
   render can blow out to white behind this, and at 40% the white mark comes to
   2.85:1 against that — under the 3:1 minimum for a control. 50% is 3.98:1. */
.close-btn.is-media[data-v-ba285a33] {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.close-btn.is-media[data-v-ba285a33]:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.68);
}

/* ---- Inside a field or a chip -------------------------------------------- */

/* Takes the colour of whatever it is sitting in rather than naming one: these
   turn up on the legend's dark search field and on the neighbourhood's light
   card alike, and a fixed white or a fixed grey is wrong on one of them.
   Dimmed at rest and full strength on hover, which is what the legend's clear
   already did — the field's own text is the thing being read, not this. */
.close-btn.is-bare[data-v-ba285a33] {
  color: inherit;
  opacity: 0.55;
}
.close-btn.is-bare[data-v-ba285a33]:hover:not(:disabled) {
  opacity: 1;
}

/* ---- Focus --------------------------------------------------------------- */

/* White rather than the UA's blue: every one of these sits on a dark surface
   or on a picture, and the default ring is lost on both. */
.close-btn[data-v-ba285a33]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.close-btn[data-v-ba285a33] {
    transition: none;
}
}
