/* Festivale 2027 interactive map - no frameworks, no build step. */

:root {
  --purple: #7b2d86;
  --purple-700: #64226e;
  --purple-100: #ecdcf0;
  --purple-50: #f6eef8;
  --orange: #f06b2c;
  --orange-badge: #c84b14;   /* map orange, deepened so white text passes WCAG AA */
  --ink: #231f20;
  --ink-2: #4a4448;
  --muted: #6b6470;
  --line: #e8e2ec;
  --surface: #ffffff;
  --surface-2: #f6f4f7;
  --sky: #c5e7f7;
  --shadow-1: 0 1px 2px rgb(35 31 32 / 0.12), 0 4px 14px rgb(35 31 32 / 0.14);
  --shadow-2: 0 2px 6px rgb(35 31 32 / 0.12), 0 18px 44px rgb(35 31 32 / 0.24);
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- map viewport */

.viewport {
  position: fixed;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;          /* native one-finger scrolling; pinch is handled in JS */
  background: var(--sky);
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgb(123 45 134 / 0.5) transparent;
  outline: none;
}

.viewport:focus-visible {
  box-shadow: inset 0 0 0 3px var(--purple);
}

.viewport.is-dragging,
.viewport.is-dragging .site {
  cursor: grabbing;
}

.stage {
  display: grid;
  place-items: center;
  width: max-content;
  min-width: 100%;
  min-height: 100%;
}

.canvas {
  position: relative;
  width: 2000px;
  height: 1422px;
}

.canvas img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Clickable stall sites (positioned over the numbered ovals) */
.site {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.15s, box-shadow 0.15s;
}

/* Each oval's z-index is set inline from the artwork's stacking, so hover never changes which oval gets the click. */
.site:hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--purple);
}

.site:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--purple);
  z-index: 150 !important;
}

.site.is-dimmed {
  background-color: rgb(255 255 255 / 0.78);
}

.site.is-dimmed:hover {
  background-color: rgb(255 255 255 / 0.45);
}

.site.is-match {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--purple);
}

.site.is-selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--purple), 0 0 0 10px rgb(123 45 134 / 0.28);
  z-index: 200 !important;
}

/* Highlighted ovals repaint their own patch of the map, so a faded neighbour can't wash them out. */
.site.is-match,
.site.is-selected {
  background-color: transparent;
  background-image: var(--map-image);
  background-size: var(--bg-size);
  background-position: var(--bg-pos);
  background-repeat: no-repeat;
}

.site.is-selected::after,
.spot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 3px solid var(--purple);
  border-radius: inherit;
  animation: ping 1.8s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  75%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Map key highlight markers */
.spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: max(28px, var(--w));
  height: max(28px, var(--h));
  translate: -50% -50%;
  border-radius: 999px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--purple), 0 6px 18px 6px rgb(35 31 32 / 0.3);
  animation: spot-in 0.35s ease-out both;
}

@keyframes spot-in {
  from {
    opacity: 0;
    transform: scale(2);
  }
}

/* Hover tooltip with the stall name (mouse only) */
.tooltip {
  position: absolute;
  z-index: 6;
  max-width: 280px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 10px));
  pointer-events: none;
  box-shadow: var(--shadow-1);
}

.tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.tooltip small {
  display: block;
  font-weight: 500;
  opacity: 0.8;
}

/* ---------------------------------------------------------------- toolbar */

.toolbar {
  position: fixed;
  z-index: 30;
  top: calc(16px + var(--safe-top));
  left: calc(16px + var(--safe-left));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px - var(--safe-left) - var(--safe-right));
  pointer-events: none;
}

.toolbar > *,
.status-chips > * {
  pointer-events: auto;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.tool-btn .icon {
  width: 22px;
  height: 22px;
}

.tool-btn:hover {
  background: var(--purple-50);
}

.tool-btn[aria-expanded="true"] {
  background: var(--purple);
  color: #fff;
}

.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.status-chip {
  display: inline-flex;
  align-items: stretch;
  height: 40px;
  max-width: 100%;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 2px #fff, var(--shadow-1);
  overflow: hidden;
}

.status-chip-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 300px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.status-chip-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip-main .icon {
  width: 18px;
  height: 18px;
}

.status-chip-icon {
  flex: none;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px #fff;
}

.status-chip-clear {
  display: grid;
  place-items: center;
  width: 40px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.status-chip-clear:hover,
.status-chip-main:hover {
  background: rgb(255 255 255 / 0.14);
}

.status-chip :focus-visible {
  outline-color: #fff;
  outline-offset: -3px;
}

/* ---------------------------------------------------------------- panels */

.panel {
  position: fixed;
  z-index: 25;
  top: calc(74px + var(--safe-top));
  left: calc(16px + var(--safe-left));
  width: 370px;
  max-height: calc(100vh - 90px - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - 90px - var(--safe-top) - var(--safe-bottom));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  animation: panel-in 0.18s ease-out;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px 4px 20px;
}

.panel-head h2 {
  margin: 0;
  color: var(--purple);
  font-size: 20px;
  line-height: 1.2;
}

.panel-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 12px 16px;
  overflow: auto;
  overscroll-behavior: contain;
}

.panel-intro {
  margin: 0 8px 10px;
  color: var(--muted);
  font-size: 14px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--purple-50);
  color: var(--purple);
}

/* Map key list */
.key-list,
.results-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.key-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 6px 10px 6px 6px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.key-item:hover {
  background: var(--purple-50);
}

.key-item[aria-pressed="true"] {
  background: var(--purple-100);
  box-shadow: inset 0 0 0 2px var(--purple);
}

.key-icon-wrap {
  display: flex;
  justify-content: center;
  width: 70px;
  flex: none;
}

.key-icon {
  display: block;
  border-radius: 999px;
  background-repeat: no-repeat;
}

.key-label {
  flex: 1;
  min-width: 0;
}

.key-count {
  flex: none;
  min-width: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.key-item[aria-pressed="true"] .key-count {
  background: var(--purple);
  color: #fff;
}

/* Search */
.search-box {
  position: relative;
  margin: 6px 16px 12px;
}

.search-box input {
  width: 100%;
  height: 48px;
  padding: 0 44px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #faf8fb;
  color: var(--ink);
  font-size: 16px;   /* 16px stops iOS zooming into the field */
  font-weight: 500;
}

.search-box input::placeholder {
  color: #8a838f;
}

.search-box input:focus {
  outline: none;
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(123 45 134 / 0.15);
}

.search-box-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  top: 4px;
  right: 4px;
}

.suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(340px, 50vh);
  max-height: min(340px, 50dvh);
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
}

.suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.suggestion:hover,
.suggestion[aria-selected="true"] {
  background: var(--purple-50);
}

.suggestion[aria-selected="true"] {
  box-shadow: inset 3px 0 0 var(--purple);
}

.suggestion-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.suggestion mark,
.result-name mark {
  background: none;
  color: var(--purple);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.suggestion-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

.filters {
  min-width: 0;
  margin: 0 4px 14px;
  padding: 0;
  border: 0;
}

.filters legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px 0 9px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.filter-chip .icon {
  width: 18px;
  height: 18px;
  color: var(--purple);
}

.filter-chip:hover {
  border-color: var(--purple);
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.filter-chip[aria-pressed="true"] .icon {
  color: #fff;
}

.filter-chip-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-chip[aria-pressed="true"] .filter-chip-count {
  display: none;
}

.filter-chip.is-empty {
  opacity: 0.5;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  margin: 0 4px 4px;
}

.results-summary {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.link-btn {
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.result:hover {
  background: var(--purple-50);
}

.result.is-current {
  background: var(--purple-100);
}

.result-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}

.result-sites {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  flex: none;
  max-width: 45%;
}

.results-empty {
  margin: 8px;
  color: var(--muted);
  font-size: 14px;
}

/* Site number badges (mirror the orange / black ovals on the map) */
.site-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.site-badge.is-orange {
  background: var(--orange-badge);
}

.site-badge.is-off-map {
  background: #fff;
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px #d6cfdb;
}

.no-site {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- stall pop-up */

.card {
  position: fixed;
  z-index: 20;
  top: calc(16px + var(--safe-top));
  right: calc(16px + var(--safe-right));
  width: min(410px, calc(100vw - 32px));
  max-height: calc(100vh - 200px - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - 200px - var(--safe-top) - var(--safe-bottom));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  animation: card-in 0.2s ease-out;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

.card-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  background: rgb(255 255 255 / 0.92);
}

.card-body {
  padding: 20px 22px 22px;
  overflow: auto;
  overscroll-behavior: contain;
}

.card-sites {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 2px 44px 10px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-sites-label {
  margin-left: 2px;
}

.card-title {
  margin: 0 44px 12px 0;
  color: var(--purple);
  font-size: 23px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.card-title:focus {
  outline: none;
}

.card-stall h3 {
  margin: 0 0 6px;
  color: var(--purple);
  font-size: 18px;
  line-height: 1.25;
}

.card-stall .card-sites {
  margin: 0 0 10px;
}

.card-stall + .card-stall {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  background: var(--purple-50);
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 700;
}

.feature-chip .icon {
  width: 16px;
  height: 16px;
}

.feature-chip.is-active {
  background: var(--purple);
  color: #fff;
}

.card-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.card-desc.is-muted {
  color: var(--muted);
  font-style: italic;
}

.card-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.card-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

/* ---------------------------------------------------------------- zoom + hint */

.zoom {
  position: fixed;
  z-index: 15;
  right: calc(16px + var(--safe-right));
  bottom: calc(16px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.zoom-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.zoom-btn + .zoom-btn {
  border-top: 1px solid var(--line);
}

.zoom-btn:hover:not(:disabled) {
  background: var(--purple-50);
  color: var(--purple);
}

.zoom-btn:disabled {
  color: #c9c3cc;
  cursor: default;
}

.zoom-btn:focus-visible {
  outline-offset: -3px;
}

.hint {
  position: fixed;
  z-index: 14;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  max-width: min(560px, calc(100vw - 150px));
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(35 31 32 / 0.86);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: var(--shadow-1);
  pointer-events: none;
  transition: opacity 0.4s;
}

.hint.is-leaving {
  opacity: 0;
}

.noscript {
  position: fixed;
  z-index: 50;
  inset: auto 16px 16px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-2);
}

.load-error {
  position: fixed;
  z-index: 50;
  top: 50%;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-2);
  transform: translate(-50%, -50%);
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 899px) {
  .toolbar {
    top: calc(12px + var(--safe-top));
    left: calc(12px + var(--safe-left));
    max-width: calc(100vw - 24px - var(--safe-left) - var(--safe-right));
  }

  .tool-btn {
    height: 44px;
    padding: 0 15px 0 12px;
  }

  body.panel-open .status-chips,
  body.card-open .status-chips {
    display: none;
  }

  .status-chip-main {
    max-width: calc(100vw - 90px);
  }

  .panel {
    top: calc(66px + var(--safe-top));
    left: calc(8px + var(--safe-left));
    right: calc(8px + var(--safe-right));
    width: auto;
    max-height: calc(100vh - 74px - var(--safe-top) - var(--safe-bottom));
    max-height: calc(100dvh - 74px - var(--safe-top) - var(--safe-bottom));
  }

  .card {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: min(55vh, 520px);
    max-height: min(55dvh, 520px);
    padding-bottom: var(--safe-bottom);
    border-radius: 22px 22px 0 0;
    animation: sheet-in 0.22s ease-out;
  }

  .card::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #d9d3dd;
    transform: translateX(-50%);
  }

  .card-body {
    padding: 24px 18px 18px;
  }

  .card-title {
    font-size: 21px;
  }

  body.card-open .zoom,
  body.card-open .hint {
    display: none;
  }

  .zoom {
    right: calc(12px + var(--safe-right));
    bottom: calc(12px + var(--safe-bottom));
  }

  .zoom-btn {
    width: 44px;
    height: 44px;
  }

  .hint {
    max-width: calc(100vw - 100px);
    margin-left: -24px;
    border-radius: 16px;
  }
}

@keyframes sheet-in {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .panel {
    right: auto;
    width: 420px;
  }
}

@media (max-width: 359px) {
  .tool-label {
    display: none;
  }

  .tool-btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .site:hover,
  .site:focus-visible,
  .site.is-match,
  .site.is-selected,
  .spot {
    outline: 3px solid Highlight;
  }
}
