/* Discovery emphasizes the next action and keeps the map readable at rest. */
:is(body,:where(.tab-swipe-preview)).city-page .city-main .map-utility-actions .header-venue-search:not([hidden]) {
  color: #382437;
  background: linear-gradient(118deg,#ffe6d4 4%,#e6d6f7 93%);
  border-color: #fff7;
  box-shadow: inset 0 1px 0 #fff8, 0 6px 14px #20152a35;
  padding-inline: 12px;
}
:is(body,:where(.tab-swipe-preview)).city-page .city-main .map-utility-actions .header-venue-search:focus-visible {
  outline-color: #ffddc6;
}
.city-main .map-utility-actions .header-venue-search > span {
  font-size: .79rem;
  font-weight: 780;
  letter-spacing: -.025em;
}
.geographic-city .map-filter-drawer .map-filter-content > div {
  padding: 10px 12px 12px;
}
.city-page .map-filter-content .map-mode-row > button {
  min-height: 44px;
}
.city-page .map-filter-content .city-plan-dates {
  border-block-start: 1px solid var(--material-glass-edge,var(--line));
  padding-block-start: 8px;
  margin-block-start: 7px;
}
.venue-search-modal .venue-finder {
  gap: 10px;
}
.venue-finder .venue-section-title {
  color: var(--material-muted,var(--muted));
  font-size: .8rem;
  margin-block: 10px 4px;
  font-weight: 760;
}
.venue-finder .venue-result-summary {
  font-variant-numeric: tabular-nums;
}
.venue-finder :is(.venue-empty-plans, .venue-match-plan) {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb,var(--accent) 25%,var(--line));
  background: color-mix(in srgb,var(--accent) 8%,var(--solid));
}
.venue-finder .venue-match-plan {
  margin-block-end: 6px;
}
.venue-finder .venue-match-plan .venue-result-plans {
  color: var(--material-ink,var(--text));
  font-size: .77rem;
}
.venue-finder .venue-match-plan .venue-match-icon {
  color: var(--meeting-time);
  background: var(--meeting-cue);
  border-color: transparent;
}
.map-meeting-body .map-preview-venue {
  display: grid;
  gap: 3px;
  padding-inline-start: 11px;
  border-inline-start: 2px solid var(--meeting-time);
}
.events-page .event-grid .plan-title {
  letter-spacing: -.035em;
}
body .plan-card.is-list-card .plan-schedule time {
  font-size: clamp(22px,6.8cqw,29px);
}
.plan-card.is-list-card .plan-card-people {
  margin-block-end: 8px;
}
.plan-card .plan-participation {
  width: fit-content;
  max-width: 100%;
  border-radius: 7px;
  background-color: color-mix(in srgb,var(--accent) 13%,var(--solid));
  padding: 5px 7px;
  line-height: 1.35;
}
.event-detail-modal .event-facts {
  border-radius: 13px;
  padding-inline: 8px;
  background: color-mix(in srgb,var(--meeting-cue) 46%,transparent);
}
.event-detail-modal .event-participation[data-participation="joined"] {
  border-inline-start: 2px solid var(--glass-selection,var(--accent));
}
.meeting-incoming-header h3 {
  letter-spacing: -.025em;
  text-wrap: pretty;
}

@media (prefers-reduced-motion:no-preference) {
  .city-page .map-filter-drawer .map-filter-content {
    transform: translateY(-10px) scale(.98);
    transform-origin: 17px top;
    transition: transform 165ms var(--motion-ease,ease-out), opacity 115ms ease-out, visibility 0s linear 165ms;
  }
  .city-page .map-filter-drawer.is-open .map-filter-content {
    transform: none;
    transition: transform var(--motion-settle,260ms) var(--motion-ease,ease-out), opacity var(--motion-quick,140ms) ease-out, visibility 0s;
  }
  .city-page .map-filter-handle .icon {
    transition: transform var(--motion-settle,260ms) var(--motion-ease,ease-out);
  }
  .city-page .map-period-toggle .icon[data-period-arrival] {
    transform-origin: center;
    animation: city-period-arrival 230ms var(--motion-ease,ease-out);
  }
  .city-main .map-selected-district:not([hidden]) {
    animation: city-district-arrival 210ms var(--motion-ease,ease-out);
  }
  .city-main .map-walk-status:not([hidden]) {
    animation: city-walking-arrival 210ms var(--motion-ease,ease-out);
    transform-origin: right center;
  }
  .city-main .map-sources[open] .map-source-links {
    animation: city-sources-arrival var(--motion-quick,140ms) var(--motion-ease,ease-out);
  }
  .orbita-map-marker[aria-current="location"] .map-landmark::after,
  .orbita-map-marker[aria-current="location"] .map-landmark > svg {
    animation-duration: 215ms;
    animation-timing-function: var(--motion-ease,ease-out);
  }
  .venue-search-field > .icon {
    transition: transform var(--motion-quick,140ms) var(--motion-ease,ease-out), color var(--motion-quick,140ms) ease-out;
  }
  .venue-search-field:focus-within > .icon {
    transform: translateX(1px) scale(1.09);
    color: var(--accent);
  }
  .venue-matches[data-venue-motion="date"] > .venue-match-plan:nth-child(-n+5) {
    animation: city-search-date-arrival 205ms var(--motion-ease,ease-out) both;
  }
  .venue-matches[data-venue-motion="date"] > .venue-match-plan:nth-child(3) { animation-delay: 22ms; }
  .venue-matches[data-venue-motion="date"] > .venue-match-plan:nth-child(4) { animation-delay: 44ms; }
  .venue-matches[data-venue-motion="date"] > .venue-match-plan:nth-child(5) { animation-delay: 66ms; }
  .venue-matches[data-venue-motion="empty"] > .venue-empty-plans {
    animation: city-search-date-arrival 180ms var(--motion-ease,ease-out);
  }
  .city-page .map-meeting-sheet .map-preview-venue {
    animation: city-meeting-venue-arrival var(--motion-settle,260ms) var(--motion-ease,ease-out) both;
  }
  .event-detail-modal .event-participation.is-updated[data-participation="joined"] > .icon {
    transform-origin: center;
    animation: city-seat-confirmed var(--motion-settle,260ms) var(--motion-ease,ease-out);
  }
  .event-detail-modal .event-participation.is-updated {
    animation-duration: 420ms;
    animation-timing-function: var(--motion-ease,ease-out);
  }
  .meeting-list-content.is-entering {
    animation: city-meeting-list-in var(--motion-settle,260ms) var(--motion-ease,ease-out) both;
  }
  body .plan-card.is-list-card .plan-join.primary,
  body .modal:is(.location-modal,.map-meeting-sheet) .plan-join.primary {
    transition: transform var(--motion-quick,140ms) var(--motion-ease,ease-out), box-shadow var(--motion-quick,140ms) ease-out;
  }
  body .plan-card.is-list-card .plan-join.primary:active:not(:disabled),
  body .modal:is(.location-modal,.map-meeting-sheet) .plan-join.primary:active:not(:disabled) {
    transform: translateY(1px) scale(.975);
  }
  .meeting-editor-options > summary::after {
    transition: transform var(--motion-quick,140ms) var(--motion-ease,ease-out);
  }
}
@keyframes city-period-arrival {
  from { opacity: .48; transform: rotate(-15deg) scale(.87); }
  to { opacity: 1; transform: none; }
}
@keyframes city-district-arrival {
  from { opacity: .55; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes city-walking-arrival {
  from { opacity: .55; transform: translateY(4px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes city-sources-arrival {
  from { opacity: .58; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}
@keyframes city-search-date-arrival {
  from { opacity: .66; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
@keyframes city-meeting-venue-arrival {
  from { opacity: .66; transform: translateX(-5px); }
  to { opacity: 1; transform: none; }
}
@keyframes city-seat-confirmed {
  0% { opacity: .56; transform: translateY(2px) scale(.85); }
  67% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: none; }
}
@keyframes city-meeting-list-in {
  from { opacity: .74; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
