/* Comportamento específico de toque e área segura no Safari móvel. */
html {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

.venue-hours:empty { display: none; }

.home-page .mobile-home {
  padding-bottom: calc(env(safe-area-inset-bottom) + 28px);
}

.detail-page .detail-shell {
  padding-bottom: calc(env(safe-area-inset-bottom) + 28px);
}

.mobile-search input {
  font-size: 16px;
}

.home-category,
.mobile-bottom-nav a,
.mobile-bottom-nav button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav {
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  height: calc(74px + env(safe-area-inset-bottom));
  padding: 8px 8px max(7px, env(safe-area-inset-bottom));
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 20px 20px 0 0;
}

.current-city.is-locating svg:first-child {
  animation: city-location-pulse 1s ease-in-out infinite;
}

.current-city.is-locating .city-chevron {
  transform: rotate(180deg);
}

@keyframes city-location-pulse {
  50% { opacity: .35; transform: scale(.82); }
}

.location-attribution {
  display: block;
  margin: 18px 0 0;
  color: #596174;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
}

.favorite-button.is-favorite,
#detailFavorite.is-favorite {
  color: #ff4f7f;
}

.favorite-button.is-favorite svg {
  fill: currentColor;
}

/* Icon and label share a neutral color until the category is selected. */
.home-category[data-category] {
  color: var(--mobile-muted);
}

.home-category[data-category].active {
  color: #c49af5;
}

.home-category > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
