:root {
  --bg: #05050f;
  --bg-elevated: #0a0a18;
  --bg-panel: #0f0f1c;
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.58);
  --accent: #6346e6;
  --accent-bright: #8b6bff;
  --accent-purple: #6346e6;
  --accent-purple-glow: rgba(99, 70, 230, 0.45);
  --accent-red: #ee1c25;
  --accent-orange: #f58220;
  --chip-bg: #12121f;
  --chip-bg-hover: #1a1a2c;
  --chip-active-bg: rgba(99, 70, 230, 0.22);
  --chip-active-text: #ffffff;
  --radius: 12px;
  --shadow: 0 14px 42px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --dock-bottom-extra: 0px;
  --dock-tier-extra: 0px;
  --popular-rail-height: 0px;
  --app-height: 100dvh;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: var(--app-height);
  max-height: var(--app-height);
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  touch-action: manipulation;
}

.app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.topbar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem 0.65rem;
  background: linear-gradient(180deg, rgba(12, 12, 24, 0.98) 0%, rgba(8, 8, 16, 0.94) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 700;
  flex-shrink: 0;
}

.topbar-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.topbar-row-head {
  justify-content: space-between;
}

.topbar-row-search {
  gap: 0.5rem;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 1.85rem;
  max-width: min(180px, 42vw);
  aspect-ratio: 220 / 58;
  object-fit: contain;
}

.search-wrap {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  height: 2.65rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(18, 18, 32, 0.92);
  cursor: text;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.search-box:focus-within {
  background: rgba(22, 22, 38, 0.98);
  border-color: rgba(99, 70, 230, 0.5);
  box-shadow: 0 0 0 1px rgba(99, 70, 230, 0.25);
}

.search-box-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.search-box:focus-within .search-box-icon {
  color: rgba(255, 255, 255, 0.78);
}

.search-box-icon .fn-icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2;
}

.search-input {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  box-shadow: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
}

.search-input:focus {
  outline: none;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 800;
  max-height: min(18rem, 42vh);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.62rem 0.85rem;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.search-suggestion:last-child {
  border-bottom: none;
}

.search-suggestion:hover,
.search-suggestion.is-active {
  background: rgba(99, 70, 230, 0.18);
}

.search-suggestion-icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-orange);
}

.search-suggestion-icon .fn-icon,
.search-suggestion-icon .fn-icon-img {
  width: 1rem;
  height: 1rem;
}

.search-suggestion-body {
  min-width: 0;
}

.search-suggestion-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-subtitle {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestions-empty {
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
  border: none;
  border-radius: 14px;
  background: linear-gradient(145deg, #6346e6 0%, #4f38b8 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow:
    0 8px 20px rgba(99, 70, 230, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.filter-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px rgba(99, 70, 230, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.filter-toggle-btn.is-open {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    0 0 16px rgba(99, 70, 230, 0.45);
}

.filter-toggle-btn .fn-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.category-strip-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.category-strip,
.category-secondary-band {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.category-secondary-band::-webkit-scrollbar {
  display: none;
}

.category-secondary-band[hidden] {
  display: none !important;
}

.category-chip,
.bottom-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-height: 2.15rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(18, 18, 32, 0.88);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease;
}

.category-chip:hover,
.bottom-nav-item:hover {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.category-chip.active,
.bottom-nav-item.active,
.bottom-nav-item.is-active {
  color: #ffffff;
  border-color: rgba(139, 107, 255, 0.75);
  background: rgba(99, 70, 230, 0.22);
  box-shadow:
    0 0 0 1px rgba(99, 70, 230, 0.35),
    0 0 18px rgba(99, 70, 230, 0.28);
}

.category-chip-icon,
.bottom-nav-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.category-chip-icon .fn-icon,
.bottom-nav-item-icon .fn-icon,
.category-chip-icon .fn-icon-img,
.bottom-nav-item-icon .fn-icon-img {
  width: 0.95rem;
  height: 0.95rem;
}

.category-chip-all.active {
  background: rgba(99, 70, 230, 0.28);
}

.map-location-pill {
  position: absolute;
  top: calc(0.65rem + env(safe-area-inset-top, 0px));
  left: 0.65rem;
  z-index: 620;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.38rem 0.75rem 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 10, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.map-location-pill:hover {
  background: rgba(16, 16, 28, 0.92);
  color: #ffffff;
}

.map-location-pill.is-active {
  border-color: rgba(99, 70, 230, 0.55);
  box-shadow:
    0 0 0 1px rgba(99, 70, 230, 0.28),
    0 0 16px rgba(99, 70, 230, 0.22);
}

.map-location-pill.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.map-location-pill.is-denied {
  border-color: rgba(238, 28, 37, 0.45);
}

.map-location-label {
  white-space: nowrap;
}

.location-pill,
.map-location-pill .location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-location-pill .location-icon .fn-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.map-location-pill.is-active .location-icon .fn-icon {
  filter: drop-shadow(0 0 4px rgba(99, 70, 230, 0.55));
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--chip-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.2);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.user-avatar:hover {
  background: var(--chip-bg-hover);
}

.user-avatar.is-authenticated {
  box-shadow: inset 0 0 0 2px rgba(129, 201, 149, 0.55);
}

.topbar-user-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.geo-region-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: rgba(18, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  cursor: default;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

.geo-region-btn.is-gps {
  box-shadow:
    inset 0 0 0 1px rgba(99, 70, 230, 0.35),
    0 0 12px rgba(99, 70, 230, 0.18);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(18, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.menu-btn .fn-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.geo-region-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0;
}

.map-panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0d0d12;
}

.map-init-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.explore-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(6, 10, 22, 0.42) 0%, rgba(6, 8, 14, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  overflow: hidden;
}

.explore-intro-overlay.is-active {
  opacity: 1;
}

.explore-intro-overlay.is-fading {
  opacity: 0;
}

.explore-intro-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 3.2vw, 1.35rem);
  width: 100%;
}

.explore-intro-logo-band {
  align-self: stretch;
  width: 100%;
  height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.explore-intro-overlay.is-logo-visible .explore-intro-logo-band {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.explore-intro-logo {
  height: 100%;
  max-width: min(440px, 68vw);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.explore-intro-text {
  margin: 0;
  min-height: 1.2em;
  width: min(92vw, 24rem);
  max-width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(8px);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 4.8vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 0 28px rgba(109, 163, 255, 0.35),
    0 2px 18px rgba(0, 0, 0, 0.65);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.explore-intro-overlay.is-text-ready .explore-intro-text {
  opacity: 1;
  transform: translateY(0);
}

.explore-intro-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  background: rgba(255, 255, 255, 0.88);
  animation: explore-intro-cursor 0.72s step-end infinite;
}

@keyframes explore-intro-cursor {
  50% {
    opacity: 0;
  }
}

.map-panel.is-intro-active .tariff-dock {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.map-panel:not(.is-intro-active) .tariff-dock {
  transition: opacity 0.35s ease;
}

.tariff-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  display: flex;
  justify-content: center;
  padding: 0 0.55rem calc(0.55rem + env(safe-area-inset-bottom, 0px) + var(--dock-bottom-extra));
  pointer-events: none;
}

.bottom-nav-shell,
.tariff-bar-shell {
  position: relative;
  width: 100%;
  max-width: min(100%, 980px);
  pointer-events: auto;
}

.bottom-nav-bar,
.tariff-bar {
  width: 100%;
  padding: 0.42rem 0.55rem;
  overflow: hidden;
  background: rgba(8, 8, 18, 0.92);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bottom-nav-bar {
  display: grid;
  grid-template-columns: repeat(var(--bottom-nav-columns, 4), minmax(0, 1fr));
  gap: 0.35rem;
  align-items: stretch;
}

.bottom-nav-item {
  flex-direction: column;
  gap: 0.18rem;
  min-height: 3.35rem;
  padding: 0.42rem 0.35rem 0.36rem;
  border-radius: 14px;
  border-color: transparent;
  background: transparent;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bottom-nav-item-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.bottom-nav-item-icon .fn-icon,
.bottom-nav-item-icon .fn-icon-img {
  width: 1.05rem;
  height: 1.05rem;
}

.bottom-nav-item-label {
  display: block;
  line-height: 1.1;
}

.bottom-nav-item.is-top .bottom-nav-item-icon {
  position: relative;
}

.bottom-nav-top-flag {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  font-size: 0.62rem;
  line-height: 1;
}

.popular-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(4.65rem + env(safe-area-inset-bottom, 0px) + var(--dock-bottom-extra) + var(--dock-tier-extra));
  z-index: 590;
  padding: 0 0.75rem 0.45rem;
  pointer-events: none;
}

.popular-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  pointer-events: auto;
}

.popular-rail-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.popular-rail-see-all {
  border: none;
  background: transparent;
  color: rgba(139, 107, 255, 0.95);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.popular-rail-track {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
  pointer-events: auto;
}

.popular-rail-track::-webkit-scrollbar {
  display: none;
}

.popular-card {
  flex: 0 0 auto;
  width: min(11.5rem, 42vw);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12, 12, 22, 0.94);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.popular-card-media {
  position: relative;
  height: 5.5rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(99, 70, 230, 0.35), transparent 55%),
    linear-gradient(145deg, rgba(26, 26, 44, 0.95), rgba(10, 10, 18, 0.98));
}

.popular-card-type {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.popular-card-body {
  padding: 0.55rem 0.65rem 0.65rem;
}

.popular-card-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.22rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.tariff-filter-layout {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  width: 100%;
}

.tariff-filter-row {
  display: grid;
  grid-template-columns: repeat(var(--filter-columns, 4), minmax(0, 1fr));
  align-items: stretch;
  gap: 0.18rem;
  width: 100%;
}

.tariff-filter-band-secondary {
  padding: 0.18rem 0.22rem 0.2rem;
  border-radius: 8px;
  background: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tariff-filter-band-secondary[hidden] {
  display: none !important;
}

.tariff-more-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  min-height: 2.55rem;
  padding: 0.2rem 0.1rem 0.16rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(245, 130, 32, 0.92);
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.tariff-more-icon-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 1.15rem;
  border: none;
  border-radius: 0;
  background: transparent;
}

.tariff-more-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tariff-more-chevron-glyph {
  width: 0.95rem;
  height: 0.95rem;
  color: rgba(245, 130, 32, 0.95);
  transition: color 0.2s ease;
}

.tariff-more-label {
  width: 100%;
  font-size: clamp(0.46rem, 1.85vw, 0.56rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.tariff-more-card:hover {
  color: #ffb45a;
  background: rgba(0, 0, 0, 0.55);
}

.tariff-more-card:active {
  transform: scale(0.96);
}

.tariff-more-card.is-open,
.tariff-more-card.has-selection:not(.is-open) {
  color: #ffffff;
  background: #000000;
  border-color: rgba(255, 255, 255, 0.88);
}

.tariff-more-card.is-open .tariff-more-chevron-glyph,
.tariff-more-card.has-selection:not(.is-open) .tariff-more-chevron-glyph {
  color: #ffffff;
}

.tariff-filter-row-secondary {
  gap: 0.2rem;
}

.tariff-top-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  min-height: 2.55rem;
  padding: 0.2rem 0.1rem 0.16rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 214, 120, 0.94);
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.tariff-top-card::after {
  content: "";
  position: absolute;
  top: 18%;
  right: -0.08rem;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.12) 82%,
    transparent
  );
  pointer-events: none;
}

.tariff-top-icon-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 1.15rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tariff-top-trophy {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  width: 0.72rem;
  height: 0.72rem;
  color: rgba(255, 210, 120, 0.92);
  opacity: 0.88;
}

.tariff-top-flag {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.tariff-top-label {
  display: block;
  width: 100%;
  font-size: clamp(0.46rem, 1.85vw, 0.56rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.tariff-top-card:hover {
  color: #fff0cc;
  background: rgba(0, 0, 0, 0.55);
}

.tariff-top-card:active {
  transform: scale(0.96);
}

.tariff-top-card.is-active {
  color: #fff6df;
  background: #000000;
  border-color: rgba(255, 210, 120, 0.88);
}

.tariff-top-card.is-active .tariff-top-trophy {
  color: #ffe8a8;
  opacity: 1;
}

.tariff-bar.is-top-mode .tariff-card:not(.active) {
  opacity: 0.58;
}

.tariff-bar.is-top-mode .tariff-card:not(.active):hover {
  opacity: 0.82;
}

.tariff-bar.has-secondary-selection .tariff-filter-row-primary .tariff-card-primary:not(.active),
.tariff-bar.has-secondary-selection .tariff-top-card:not(.is-active) {
  opacity: 0.72;
}

.tariff-bar.has-secondary-selection .tariff-filter-row-primary .tariff-card-primary:not(.active):hover,
.tariff-bar.has-secondary-selection .tariff-top-card:not(.is-active):hover {
  opacity: 0.9;
}

.tariff-card-primary {
  min-height: 2.55rem;
}

.tariff-card-secondary {
  min-height: 2.35rem;
  gap: 0.08rem;
  padding: 0.16rem 0.1rem 0.14rem;
  color: rgba(255, 255, 255, 0.44);
}

.tariff-card-secondary .tariff-card-icon {
  height: 1.05rem;
  opacity: 0.92;
}

.tariff-card-secondary .tariff-card-label {
  font-size: clamp(0.42rem, 1.65vw, 0.52rem);
  letter-spacing: 0.03em;
}

.tariff-card-secondary:hover {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.55);
}

.tariff-card-secondary:hover .tariff-card-icon {
  opacity: 1;
}

.tariff-card-secondary.active {
  min-height: 2.35rem;
  color: #ffffff;
  background: #000000;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.tariff-card-secondary.active .tariff-card-icon {
  opacity: 1;
}

.tariff-bar::-webkit-scrollbar {
  display: none;
}

.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  min-height: 2.55rem;
  padding: 0.2rem 0.1rem 0.16rem;
  box-sizing: border-box;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font: inherit;
  --type-color: var(--accent);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}

.tariff-card:hover {
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
}

.tariff-card:active {
  transform: scale(0.96);
}

.tariff-card.active {
  background: #000000;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.tariff-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 1.15rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 0.2s ease;
}

.tariff-card:hover .tariff-card-icon {
  transform: none;
}

.tariff-card.active .tariff-card-icon {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

.tariff-card-label {
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.46rem, 1.85vw, 0.56rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tariff-card.active .tariff-card-label {
  color: #ffffff;
}

.leaflet-bottom.leaflet-right,
.mapboxgl-ctrl-bottom-right {
  bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px) + var(--dock-bottom-extra) + var(--dock-tier-extra));
  right: 0.5rem;
}

.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib,
.mapboxgl-compact {
  display: none !important;
}

body.map-basemap-osm .mapboxgl-ctrl-attrib {
  display: block !important;
  max-width: min(280px, calc(100vw - 1.5rem));
  margin: 0 0 calc(4.1rem + env(safe-area-inset-bottom, 0px) + var(--dock-bottom-extra) + var(--dock-tier-extra)) 0.55rem;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
}

.mapboxgl-marker {
  transition: none !important;
  will-change: transform;
}

.mapbox-venue-marker {
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1;
}

.mapboxgl-marker.mapbox-venue-marker:hover,
.mapboxgl-marker.venue-placemark-host:hover {
  z-index: 12;
}

.mapboxgl-marker.venue-placemark-host {
  z-index: 10;
}

.venue-info-panel {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 3.55rem);
  left: 50%;
  z-index: 750;
  width: min(720px, calc(100% - 1.5rem));
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.venue-info-toast {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 3;
  max-width: calc(100% - 1.5rem);
  padding: 0.42rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 71, 199, 0.92);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.35;
  transform: translate(-50%, 120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.venue-info-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.venue-info-panel.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.venue-info-content {
  padding: 0.9rem 2.75rem 0.75rem 1rem;
}

.venue-info-progress {
  padding: 0 1rem 0.72rem;
}

.venue-info-progress-track {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.venue-info-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0047c7 0%, #1a63e8 55%, #f58220 100%);
  box-shadow: 0 0 10px rgba(26, 99, 232, 0.42);
  transition: width 0.26s ease;
}

.venue-info-progress-label {
  display: block;
  margin-top: 0.38rem;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(154, 160, 166, 0.95);
}

.venue-info-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #9aa0a6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.venue-info-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e8eaed;
}

.mapboxgl-map {
  font: inherit;
}

.leaflet-bottom.leaflet-left {
  bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px) + var(--dock-bottom-extra) + var(--dock-tier-extra));
  left: 0.5rem;
}

.venue-cluster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.venue-cluster-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.venue-cluster-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

.venue-cluster-core {
  position: relative;
  z-index: 1;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.venue-cluster-count {
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.venue-cluster-small {
  width: 36px;
  height: 36px;
}

.venue-cluster-small .venue-cluster-core {
  font-size: 0.78rem;
}

.venue-cluster-medium {
  width: 42px;
  height: 42px;
}

.venue-cluster-medium .venue-cluster-core {
  font-size: 0.82rem;
}

.venue-cluster-large {
  width: 48px;
  height: 48px;
}

.venue-cluster-large .venue-cluster-core {
  font-size: 0.88rem;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: transparent !important;
}

.venue-marker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.mapbox-venue-marker,
.venue-marker-wrap-host {
  width: 38px;
  height: 38px;
}

.venue-marker-wrap-labeled {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  overflow: visible;
}

.venue-marker-wrap-labeled .venue-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.venue-marker-wrap-labeled .venue-marker-label {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #e8eaed;
  background: transparent;
  box-shadow: none;
  text-shadow:
    0 0 2px #0a0a0b,
    0 0 4px #0a0a0b,
    0 1px 2px rgba(0, 0, 0, 0.9),
    1px 0 1px rgba(0, 0, 0, 0.85),
    -1px 0 1px rgba(0, 0, 0, 0.85);
}

.venue-marker-wrap .venue-marker {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  font-size: 0.92rem;
}

.venue-placemark-host {
  position: relative;
  width: 30px;
  height: 40px;
  overflow: visible;
  pointer-events: none;
}

.venue-placemark-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
}

.venue-placemark-head.venue-marker {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  border-width: 2px;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--type-color, #171822) 22%, transparent),
    0 4px 10px rgba(0, 0, 0, 0.35);
}

.venue-placemark-head .fn-icon,
.venue-placemark-head .fn-icon-img {
  width: 15px;
  height: 15px;
  color: #fff;
}

.venue-placemark-pointer {
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #ffffff;
}

.venue-placemark-label {
  position: absolute;
  left: calc(100% + 8px);
  top: 42%;
  transform: translateY(-50%);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #ffffff;
  pointer-events: none;
  text-shadow:
    0 0 2px #0a0a0b,
    0 0 4px #0a0a0b,
    0 1px 2px rgba(0, 0, 0, 0.9),
    1px 0 1px rgba(0, 0, 0, 0.85),
    -1px 0 1px rgba(0, 0, 0, 0.85);
}

.venue-info-content .venue-popup-row {
  padding: 0.35rem 0;
}

.venue-popup-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.15rem 0 0.65rem;
  padding: 0.5rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.venue-popup-hint-status {
  margin: 0.1rem 0 0.5rem;
  padding: 0;
  border: none;
  background: transparent;
}

.venue-popup-type-stack {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  width: 38px;
}

.venue-popup-door-sign-slot {
  width: 100%;
  min-height: 2.55rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.venue-door-sign {
  display: inline-flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: center;
  width: 1.55rem;
  transform-origin: top center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  transform: rotate(0deg);
}

.venue-door-sign .fn-icon,
.venue-door-sign .fn-icon-custom,
.venue-door-sign .fn-icon-img {
  width: 100%;
  height: auto;
  display: block;
}

.venue-door-sign-open {
  animation: venue-door-sign-open-settle 1.85s cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

.venue-door-sign-closed {
  opacity: 0.88;
}

@keyframes venue-door-sign-open-settle {
  0% {
    transform: rotate(-16deg);
  }
  16% {
    transform: rotate(13deg);
  }
  32% {
    transform: rotate(-10deg);
  }
  48% {
    transform: rotate(7deg);
  }
  64% {
    transform: rotate(-4deg);
  }
  80% {
    transform: rotate(2deg);
  }
  92% {
    transform: rotate(-0.8deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.venue-popup-hours {
  margin-bottom: 0.45rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.venue-popup-hours-head {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.venue-popup-hours-icon .venue-action-glyph {
  width: 0.9rem;
  height: 0.9rem;
}

.venue-popup-hours-body {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.venue-popup-hint-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.05rem;
  color: var(--accent-orange);
}

.venue-popup-hint-icon .venue-action-glyph {
  width: 0.95rem;
  height: 0.95rem;
}

.venue-popup-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.venue-popup-engagement {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

@keyframes venue-engage-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.14);
  }
  65% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes venue-engage-glyph-bounce {
  0% {
    transform: scale(1) rotate(0deg);
  }
  30% {
    transform: scale(1.28) rotate(-8deg);
  }
  60% {
    transform: scale(0.92) rotate(4deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.venue-popup-engagement.is-busy {
  opacity: 0.62;
  pointer-events: none;
}

.venue-engage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: 2.35rem;
  height: 2rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease;
}

.venue-engage-glyph-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.venue-engage-glyph-wrap .fn-icon,
.venue-engage-glyph-wrap .fn-icon-img {
  width: 1.25rem;
  height: 1.25rem;
}

:root {
  --engage-like-color: #5b9bff;
  --engage-dislike-color: #9b2c2c;
}

.venue-engage-like {
  border-color: color-mix(in srgb, var(--engage-like-color) 35%, transparent);
}

.venue-engage-like .venue-engage-glyph,
.venue-engage-like .fn-icon {
  color: var(--engage-like-color);
  stroke: currentColor;
}

.venue-engage-dislike {
  border-color: color-mix(in srgb, var(--engage-dislike-color) 40%, transparent);
}

.venue-engage-dislike .venue-engage-glyph,
.venue-engage-dislike .fn-icon {
  color: var(--engage-dislike-color);
  stroke: currentColor;
}

.venue-engage-bookmark {
  margin-left: auto;
  border-color: rgba(255, 255, 255, 0.28);
}

.venue-engage-bookmark .venue-engage-glyph,
.venue-engage-bookmark .fn-icon {
  color: rgba(255, 255, 255, 0.92);
  fill: none;
  stroke: currentColor;
}

.venue-engage-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.venue-engage-like:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--engage-like-color) 62%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--engage-like-color) 18%, transparent);
}

.venue-engage-dislike:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--engage-dislike-color) 58%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--engage-dislike-color) 16%, transparent);
}

.venue-engage-bookmark:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.55);
}

.venue-engage-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.venue-engage-btn.is-animating {
  animation: venue-engage-pop 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.venue-engage-btn.is-animating .venue-engage-glyph-wrap {
  animation: venue-engage-glyph-bounce 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.venue-engage-like.is-active {
  background: color-mix(in srgb, var(--engage-like-color) 34%, transparent);
  border-color: color-mix(in srgb, var(--engage-like-color) 88%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--engage-like-color) 28%, transparent);
}

.venue-engage-like.is-active .venue-engage-glyph,
.venue-engage-like.is-active .fn-icon {
  color: color-mix(in srgb, var(--engage-like-color) 75%, white);
  fill: currentColor;
}

.venue-engage-dislike.is-active {
  background: color-mix(in srgb, var(--engage-dislike-color) 42%, transparent);
  border-color: color-mix(in srgb, var(--engage-dislike-color) 82%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--engage-dislike-color) 28%, transparent);
}

.venue-engage-dislike.is-active .venue-engage-glyph,
.venue-engage-dislike.is-active .fn-icon {
  color: color-mix(in srgb, var(--engage-dislike-color) 55%, white);
  fill: currentColor;
}

.venue-engage-bookmark.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
}

.venue-engage-bookmark.is-active .venue-engage-glyph,
.venue-engage-bookmark.is-active .fn-icon {
  color: #fff;
  fill: currentColor;
  stroke: currentColor;
}

.venue-engage-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.venue-engage-btn .venue-engage-glyph,
.venue-engage-btn .venue-action-glyph {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.5;
}

.venue-engage-count {
  min-width: 0.45rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.venue-engage-like .venue-engage-count {
  color: #8ec0ff;
}

.venue-action-btn-main {
  flex: 1;
}

.venue-action-btn {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.48rem 0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.venue-action-btn-google {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  margin-left: 0.15rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  opacity: 0.42;
}

.venue-action-btn-google .venue-action-glyph {
  width: 0.95rem;
  height: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  stroke-width: 1.85;
}

.venue-action-btn-google:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
  opacity: 0.72;
}

.venue-action-btn-google:active:not(:disabled) {
  opacity: 0.85;
  transform: scale(0.96);
}

.venue-action-btn-main:hover:not(:disabled) {
  background: rgba(0, 71, 199, 0.18);
  border-color: #fff;
}

.venue-action-btn.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 12px rgba(0, 71, 199, 0.38);
}

.venue-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.venue-action-btn .venue-action-glyph {
  width: 1rem;
  height: 1rem;
  color: var(--accent-orange);
  stroke-width: 2;
}

.venue-action-btn.is-active .venue-action-glyph,
.venue-action-btn[data-venue-action="info"].is-active .venue-action-glyph {
  color: #fff;
}

.venue-action-label {
  line-height: 1;
}

.venue-popup-details {
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.venue-popup-details[hidden] {
  display: none;
}

.venue-popup-empty {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.venue-popup-copy-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.venue-popup-copy-row:last-child {
  border-bottom: none;
}

.venue-popup-copy-leading {
  display: inline-flex;
  color: var(--accent-orange);
}

.venue-popup-copy-leading .venue-action-glyph {
  width: 0.95rem;
  height: 0.95rem;
}

.venue-popup-copy-value {
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #e8eaed;
  word-break: break-word;
}

.venue-popup-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-orange);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.venue-popup-copy-btn:hover {
  background: rgba(245, 130, 32, 0.14);
  border-color: rgba(245, 130, 32, 0.45);
}

.venue-popup-copy-btn.is-copied {
  color: #81c995;
  border-color: rgba(129, 201, 149, 0.45);
  background: rgba(52, 168, 83, 0.14);
}

.venue-popup-copy-btn .venue-action-glyph {
  width: 0.9rem;
  height: 0.9rem;
}

@media (min-width: 900px) {
  .tariff-dock {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tariff-bar {
    padding: 0.38rem 0.52rem;
  }

  .tariff-filter-layout {
    gap: 0.26rem;
  }

  .tariff-card-primary,
  .tariff-top-card,
  .tariff-more-card {
    min-height: 2.75rem;
  }

  .tariff-card-secondary {
    min-height: 2.45rem;
  }

  .tariff-card-icon {
    height: 1.25rem;
  }

  .tariff-top-flag {
    font-size: 1.08rem;
  }
}

@media (min-width: 640px) {
  .venue-info-content .venue-popup {
    display: block;
  }
}

.venue-popup-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.venue-popup-title-wrap {
  min-width: 0;
}

.venue-popup-title {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.venue-popup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.venue-popup-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #bdc1c6;
}

.venue-popup-badge-verified {
  background: rgba(52, 168, 83, 0.18);
  color: #81c995;
}

.venue-popup-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
}

.venue-popup-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.venue-popup-label {
  color: #9aa0a6;
  font-weight: 500;
}

.venue-popup-value {
  color: #e8eaed;
  word-break: break-word;
}

.venue-popup-value a {
  color: var(--accent-bright);
  text-decoration: none;
}

.venue-popup-value a:hover {
  text-decoration: underline;
}

.venue-popup-type {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.venue-popup-place {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(154, 160, 166, 0.88);
}

.venue-popup-unknown {
  color: var(--text-muted);
  font-weight: 600;
}

.venue-popup-google {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.venue-popup-google-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #f4c15d;
  margin-bottom: 0.45rem;
}

.venue-popup-google-rating .fn-rating-meta {
  font-weight: 500;
  color: rgba(244, 193, 93, 0.82);
}

.venue-popup-review-summary {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #d2d6dc;
}

.venue-popup-review-disclosure {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  color: rgba(154, 160, 166, 0.88);
}

.venue-popup-reviews {
  display: grid;
  gap: 0.55rem;
}

.venue-popup-review {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.venue-popup-review p {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #c8ccd2;
}

.venue-popup-review footer {
  font-size: 0.68rem;
  color: rgba(154, 160, 166, 0.92);
}

.venue-popup-review-rating {
  font-size: 0.74rem;
  font-weight: 600;
  color: #f4c15d;
}

.venue-popup-google-link {
  display: inline-flex;
  margin-top: 0.55rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent-bright);
  text-decoration: none;
}

.venue-popup-google-link:hover {
  text-decoration: underline;
}

.venue-popup-status {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.venue-popup-claim {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.venue-popup-claim-link {
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
}

.venue-popup-claim-link:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.venue-marker {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: var(--type-color, #171822);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--type-color, #171822) 28%, transparent),
    0 0 18px color-mix(in srgb, var(--type-color, #6346e6) 55%, transparent),
    0 8px 20px rgba(0, 0, 0, 0.45);
  font-size: 1rem;
}

.user-marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #4285f4;
  border: 2px solid #fff;
  box-shadow: 0 0 0 6px rgba(66, 133, 244, 0.35);
}

@media (max-width: 720px) {
  :root {
    --dock-bottom-extra: 0px;
  }

  .popular-rail {
    bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px) + var(--dock-tier-extra));
  }

  .bottom-nav-item {
    min-height: 3.15rem;
    font-size: 0.58rem;
  }
}
