@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap");

:root {
  --bg: #ffffff;
  --card-bg: #ffffff;
  --shadow-card: none;

  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(209, 209, 209, 0.4);
  --glass-blur: 10px;

  --panel-bg: #ffffff;
  --panel-border: rgba(209, 209, 209, 0.4);
  --shadow: none;
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.08);

  --text: #000000;
  --muted: rgba(0, 0, 0, 0.8);
  --muted-2: rgba(0, 0, 0, 0.5);
  --border: #d1d1d1;
  --border-soft: rgba(209, 209, 209, 0.4);

  --accent: #5a3cff;
  --accent-2: #ff6a13;
  --success: #00482b;

  --wavo-logo-file: url("./Logo_Wavo_black.svg");

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-card: 14px;
  --radius-button: 8px;
  --radius-input: 8px;
  --radius-badge: 35px;
  --radius-popover: 12px;
  --radius-drawer: 16px;
  --radius-pill: var(--radius-button);

  --bottom-nav-h: 70px;
  --topbar-h: 72px;

  --ease: ease;
  --dur: 200ms;

  --z-map: 0;
  --z-map-ui: 10;
  --z-panel: 20;
  --z-spot: 1000;
  --z-topbar: 40;
  --z-bottomnav: 50;
}

@media (max-width: 767px) {
  :root {
    --topbar-h: 72px;
  }

  .topbar {
    display: flex;
  }

  .ticker {
    display: none;
  }
}

@media (max-width: 767px) and (max-height: 600px) {
  :root {
    --bottom-nav-h: 56px;
  }
}

* {
  box-sizing: border-box;
}

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

@supports selector(::-webkit-scrollbar) {
  *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  *::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
  }

  *::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
  }

  *::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

body.panel-open {
  overflow: hidden;
}

.app,
#app {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding-top: var(--topbar-h);
  box-sizing: border-box;
  background: var(--bg);
}

.app--map {
  height: 100vh;
  overflow: hidden;
}

.app:not(.app--map),
#app:not(.app--map) {
  overflow: visible;
}

.mapLayout {
  height: calc(100vh - var(--topbar-h));
  width: 100%;
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  position: relative;
}

.mapSidebar {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  min-height: 0;
}

.mapWrap {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
}

@media (min-width: 1024px) {
  .mapLayout {
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .mapSidebar {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    overflow: hidden;
  }

  .mapWrap {
    grid-column: 2;
    grid-row: 1;
  }

  .mapWrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .panel--filters {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
}

@media (min-width: 1441px) {
  .mapLayout {
    max-width: 1440px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) and (max-height: 720px) {
  .mapSidebar {
    overflow-y: auto;
  }

  .panel--filters {
    flex: 0 0 auto;
    overflow: visible;
  }
}

.mapWrap {
  height: 100%;
  width: 100%;
  position: relative;
  isolation: isolate;
}

#map,
#globeContainer {
  height: 100%;
  width: 100%;
}

.mapLoading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: var(--z-map-ui);
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.mapLoading--hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--ease), visibility 0s linear 220ms;
}

.mapLoading__spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0.14);
  border-top-color: var(--accent);
  animation: spin 800ms linear infinite;
  background: rgba(255, 255, 255, 0.9);
}

.mapLoading__text {
  margin-top: 10px;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#globeContainer:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.mapControls {
  position: absolute;
  right: 12px;
  top: calc(var(--topbar-h) + 16px);
  z-index: var(--z-map-ui);
  display: grid;
  gap: 8px;
  pointer-events: auto;
}

.mapControls__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-popover);
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: none;
  color: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mapControls__btn:hover {
    background: rgba(0, 0, 0, 0.08);
  }
}

.mapControls__btn:active {
  background: rgba(0, 0, 0, 0.1);
}

.drawerBackdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbar-h);
  bottom: 0;
  z-index: calc(var(--z-panel) - 1);
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.app--map.filtersOpen .drawerBackdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur) var(--ease), visibility 0s linear 0s;
}

@media (max-width: 767px) {
  .drawerBackdrop {
    bottom: var(--bottom-nav-h);
  }
}

.filterFab {
  display: none;
}

@media (max-width: 1023px) {
  .filterFab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: var(--z-map-ui);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-drawer);
    border: 1px solid rgba(90, 60, 255, 0.28);
    background: var(--accent);
    color: rgba(255, 255, 255, 0.98);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
  }

  .filterFab:active {
    opacity: 0.9;
  }
}

@media (max-width: 767px) {
  .filterFab {
    bottom: calc(var(--bottom-nav-h) + 16px);
  }
}

.leaflet-control-zoom a,
.leaflet-control-layers,
.leaflet-control-attribution {
  border-radius: var(--radius-popover) !important;
  border: 1px solid var(--border-soft) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.8) !important;
}

.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 0.88) !important;
}

.leaflet-control-attribution {
  font-weight: 400;
}

#map:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: var(--z-topbar);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navBar {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.navBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand__title {
  font-weight: 700;
  letter-spacing: 0em;
  font-size: 18px;
  line-height: 1.15;
  color: var(--text);
}

.brand__slogan {
  margin-top: 2px;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logoMark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(90, 60, 255, 0.12);
  border: 1px solid var(--border-soft);
  color: var(--accent);
}

.logoText {
  display: flex;
  align-items: center;
  height: 32px;
}

.topbar .logoMark {
  display: none;
}

.topbar .logoText::before {
  content: "";
  display: block;
  width: 172px;
  height: 32px;
  background-image: var(--wavo-logo-file);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.topbar .logoText .brand__title,
.topbar .logoText .brand__slogan {
  display: none;
}

@media (max-width: 480px) {
  .topbar .logoText::before {
    width: 140px;
    height: 28px;
  }
}

.ticker {
  display: none;
}

.ticker__track {
  display: flex;
  gap: 28px;
  padding: 8px 12px;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 400;
  font-size: 0.9rem;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  margin: 0 10px;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ico {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
}

.mapBrandOverlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: var(--z-map-ui);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .mapBrandOverlay {
    left: auto;
    right: 12px;
  }
}

@media (max-width: 767px) {
  .mapBrandOverlay {
    bottom: calc(var(--bottom-nav-h) + 12px);
  }
}

.mapBrandOverlay__logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-button);
  display: grid;
  place-items: center;
  background: rgba(90, 60, 255, 0.12);
  border: 1px solid var(--border-soft);
  color: var(--accent);
}

.mapBrandOverlay__name {
  font-weight: 700;
  letter-spacing: 0em;
  line-height: 1.15;
}

.mapBrandOverlay__slogan {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
  max-width: min(520px, calc(100vw - 120px));
}

.mapBrandOverlay__text {
  display: flex;
  flex-direction: column;
}

.mapBrandOverlay__text::before {
  content: "";
  display: block;
  width: 148px;
  height: 32px;
  background-image: var(--wavo-logo-file);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.mapBrandOverlay__logo {
  display: none;
}

.mapBrandOverlay__text .mapBrandOverlay__name {
  display: none;
}

.mapBrandOverlay__slogan {
  margin-top: 6px;
}

.panel {
  width: 100%;
  height: 100%;
  z-index: var(--z-panel);
  background: var(--panel-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-drawer);
  box-shadow: var(--shadow-card);
  overflow: auto;
  transition: all 0.2s ease;
}

.panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid var(--border-soft);
}

.panel__title {
  font-weight: 700;
  letter-spacing: 0em;
}

.panel__headerActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel__meta {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
}

.panel__metaRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 0;
}

.panel__metaKey {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.panel__metaVal {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.panel__hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.panel__section {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
}

.panel__ctaRow {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.panel__sectionTitle {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.accordion {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  overflow: hidden;
}

.accordion + .accordion {
  margin-top: 10px;
}

.accordion__summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  font-weight: 400;
  color: var(--text);
  user-select: none;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__summary::after {
  content: "▾";
  float: right;
  opacity: 0.55;
}

.accordion[open] > .accordion__summary::after {
  content: "▴";
}

.accordion__content {
  padding: 0 8px 10px 8px;
}

.accordion__content .input {
  width: calc(100% - 12px);
  display: block;
  margin: 10px 6px 8px 6px;
}

.accordion__content .select {
  width: calc(100% - 12px);
  margin: 0 6px;
}

.accordion--nested {
  margin-top: 10px;
  border-radius: var(--radius-popover);
}

.advancedFilters--hidden {
  display: none;
}

.advancedFilters {
  border-top: 1px solid var(--border-soft);
}

.safetyTrackerCard {
  width: 100%;
  background: linear-gradient(180deg, rgba(90, 60, 255, 0.08) 0%, rgba(255, 255, 255, 1) 60%);
  border: 1px solid rgba(90, 60, 255, 0.22);
  border-radius: var(--radius-drawer);
  box-shadow: 0 16px 40px rgba(90, 60, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 14px;
}

.safetyTracker {
  display: grid;
  gap: 10px;
}

.safetyTracker__headerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.safetyTracker__title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0em;
  color: var(--accent);
}

.safetyTracker__statusPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.9rem;
  white-space: nowrap;
}

.safetyTracker__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.safetyTracker__statusPill--active {
  border-color: rgba(0, 72, 43, 0.22);
  background: rgba(0, 72, 43, 0.08);
  color: rgba(0, 72, 43, 0.92);
}

.safetyTracker__statusPill--active .safetyTracker__dot {
  background: rgba(0, 72, 43, 0.9);
}

.safetyTracker__meta {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.95rem;
  line-height: 1.35;
}

.safetyTracker__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .safetyTracker__actions {
    grid-template-columns: 1fr;
  }
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: var(--radius-input);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.check:hover {
  background: rgba(0, 0, 0, 0.04);
}

.check input {
  accent-color: var(--accent);
}

.select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  font-weight: 400;
  outline: none;
  transition: all 0.2s ease;
}

.select:focus {
  border-color: var(--accent);
}

@media (max-width: 767px) {
  .check {
    min-height: 44px;
    padding: 10px 8px;
  }

  .select {
    min-height: 44px;
  }

  .button,
  .iconBtn {
    min-height: 44px;
  }
}

.button {
  appearance: none;
  border: 1px solid #000000;
  border-radius: var(--radius-button);
  padding: 12px 24px;
  background: #000000;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.001em;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    opacity: 0.88;
  }
}

.button:active {
  opacity: 0.82;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.button--ghost {
  background: transparent;
  color: #000000;
  border-color: #000000;
}

.iconBtn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-button);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .iconBtn:hover {
    background: rgba(0, 0, 0, 0.08);
  }
}

.iconBtn:active {
  background: rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mapLayout {
    height: calc(100vh - var(--topbar-h) - var(--bottom-nav-h));
    padding: 12px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(240px, 40vh) minmax(0, 1fr);
    gap: 12px;
  }

  .mapSidebar {
    display: contents;
  }

  .safetyTrackerCard {
    grid-column: 1;
    grid-row: 1;
  }

  .panel--filters {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    max-height: none;
    transform: none;
    grid-column: 1;
    grid-row: 3;
  }

  .app--map.filtersOpen .panel--filters {
    transform: none;
  }

  .app--map.filtersOpen .mapWrap {
    margin-left: 0;
    width: 100%;
  }

  .mapWrap {
    grid-column: 1;
    grid-row: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .drawerBackdrop {
    display: none;
  }

  .filterFab {
    display: none;
  }

  #closeFilters {
    display: none;
  }
}

@media (max-width: 767px) {
  .mapLayout {
    height: calc(100vh - var(--topbar-h) - var(--bottom-nav-h));
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(220px, 38vh) minmax(0, 1fr);
    gap: 12px;
  }

  .mapSidebar {
    display: contents;
  }

  .safetyTrackerCard {
    grid-column: 1;
    grid-row: 1;
  }

  .panel--filters {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    transform: none;
    grid-column: 1;
    grid-row: 3;
  }

  .app--map.filtersOpen .panel--filters {
    transform: none;
  }

  .app--map.filtersOpen .mapWrap {
    margin-left: 0;
    width: 100%;
  }

  .mapWrap {
    grid-column: 1;
    grid-row: 2;
  }

  .drawerBackdrop {
    display: none;
  }

  .filterFab {
    display: none;
  }

  #closeFilters {
    display: none;
  }

  .navBar {
    padding: 0 16px;
  }

  .navBrand {
    min-width: 0;
  }

  .brand__slogan {
    display: none;
  }

  .navLinks {
    display: none;
  }

  .mapControls {
    top: calc(var(--topbar-h) + 12px);
  }
}

@media (max-width: 1023px) {
  .navLinks {
    display: none;
  }

  .brand__slogan {
    display: none;
  }

  .mapLayout {
    height: calc(100vh - var(--topbar-h) - var(--bottom-nav-h));
  }
}

.navLinks {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

@media (max-width: 1023px) {
  .topbar .navLinks {
    display: none !important;
  }
}

.navRight {
  display: flex;
  justify-content: flex-end;
  min-width: 56px;
}

.navIconLink {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-button);
  display: grid;
  place-items: center;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .navIconLink:hover {
    background: rgba(0, 0, 0, 0.08);
  }
}

.navIconLink:active {
  background: rgba(0, 0, 0, 0.1);
}

.navBadge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  line-height: 1;
}

.navLink {
  text-decoration: none;
  color: var(--muted-2);
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-button);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.navLink:hover {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
  color: #000000;
}

.navLink:active {
  background: rgba(0, 0, 0, 0.06);
}

.navLink--active {
  color: var(--accent);
  border-color: rgba(90, 60, 255, 0.28);
  background: rgba(90, 60, 255, 0.1);
}

.navIco {
  width: 18px;
  height: 18px;
}

.page {
  min-height: calc(100vh - var(--topbar-h));
  padding: clamp(16px, 2.4vw, 24px) 18px;
  width: 100%;
}

.page__inner {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
}

.site-footer {
  width: 100%;
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
  color: rgba(0, 0, 0, 0.7);
}

.footer-container {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 48px 0;
}

@media (max-width: 1023px) {
  .footer-container {
    width: min(1280px, calc(100vw - 32px));
    padding: 32px 0;
  }

  .site-footer {
    padding-bottom: var(--bottom-nav-h);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr 0.9fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.footer-brandRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000000;
}

.footer-brandRow::before {
  content: "";
  display: block;
  width: 180px;
  height: 34px;
  background-image: var(--wavo-logo-file);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

@media (max-width: 640px) {
  .footer-brandRow::before {
    width: 160px;
    height: 30px;
  }
}

.footer-brandMark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-button);
  display: grid;
  place-items: center;
  background: rgba(90, 60, 255, 0.12);
  border: 1px solid var(--border-soft);
  color: var(--accent);
}

.footer-brandName {
  font-weight: 700;
  letter-spacing: 0em;
  font-size: 18px;
  line-height: 1.15;
}

.footer-brandMark,
.footer-brandName {
  display: none;
}

.footer-tagline {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.7);
  max-width: 34ch;
  line-height: 1.4;
}

.footer-heading {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0em;
  color: #000000;
  margin: 0 0 10px 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 2px 0;
}

.footer-link--legal {
  font-size: 14px;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletterRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .footer-newsletterRow {
    flex-direction: column;
    align-items: stretch;
  }
}

.footer-newsletterRow .input {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-newsletterRow .button {
  white-space: nowrap;
}

.footer-socialRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-socialLink {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-popover);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.02);
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-socialLink:hover {
  color: var(--accent);
  border-color: rgba(90, 60, 255, 0.28);
  background: rgba(90, 60, 255, 0.08);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
}

.pageTitle {
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0em;
  line-height: 1.15;
  margin: 0 0 14px 0;
}

.pageLead {
  margin: 0 0 18px 0;
  color: var(--muted);
  line-height: 1.4;
}

.servicesSearchRow {
  display: flex;
  gap: 10px;
  margin: 0 0 14px 0;
}

.servicesSearch {
  width: 100%;
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1023px) {
  .servicesGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .servicesGrid {
    grid-template-columns: 1fr;
  }
}

.servicesEmpty {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.03);
  padding: 14px;
  color: rgba(0, 0, 0, 0.7);
}

.serviceCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.serviceCard--school {
  border-left: 3px solid rgba(0, 85, 255, 0.7);
}

.serviceCard--rental {
  border-left: 3px solid rgba(0, 110, 70, 0.7);
}

.serviceCard--shop {
  border-left: 3px solid rgba(255, 106, 19, 0.8);
}

.serviceCard__top {
  display: block;
}

.serviceCard__nameRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.serviceCard__name {
  font-weight: 700;
  line-height: 1.2;
}

.serviceCard__typeBadge {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.78);
}

.serviceCard__typeBadge--school {
  background: rgba(90, 60, 255, 0.12);
  border-color: rgba(90, 60, 255, 0.22);
  color: rgba(40, 20, 150, 0.98);
}

.serviceCard__typeBadge--rental {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(0, 90, 60, 0.98);
}

.serviceCard__typeBadge--shop {
  background: rgba(255, 106, 19, 0.12);
  border-color: rgba(255, 106, 19, 0.22);
  color: rgba(160, 70, 0, 0.98);
}

.serviceCard__meta {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.95rem;
  line-height: 1.35;
}

.serviceCard__loc {
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.92rem;
}

.serviceCard__actions {
  display: flex;
  justify-content: flex-end;
}

html.serviceModalOpen,
html.serviceModalOpen body {
  overflow: hidden;
}

.serviceModal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-spot) + 20);
  display: grid;
  place-items: center;
  padding: 18px;
}

.serviceModal--hidden {
  display: none;
}

.serviceModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
}

.serviceModal__panel {
  position: relative;
  width: min(740px, calc(100vw - 36px));
  max-height: min(84vh, 860px);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  overflow: auto;
  padding: 14px;
}

.serviceModal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
}

.serviceModal__content {
  display: grid;
  gap: 12px;
}

.serviceModal__head {
  display: grid;
  gap: 10px;
}

.serviceModal__titleRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.serviceModal__title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.serviceModal__tag {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.serviceModal__tag--school {
  background: rgba(90, 60, 255, 0.12);
  border-color: rgba(90, 60, 255, 0.22);
  color: rgba(40, 20, 150, 0.98);
}

.serviceModal__tag--rental {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(0, 90, 60, 0.98);
}

.serviceModal__tag--shop {
  background: rgba(255, 106, 19, 0.12);
  border-color: rgba(255, 106, 19, 0.22);
  color: rgba(160, 70, 0, 0.98);
}

.serviceModal__block {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.02);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.serviceModal__infoLayout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.serviceModal__infoMain {
  display: grid;
  gap: 10px;
}

.serviceModal__infoAside {
  display: grid;
  align-content: start;
  justify-items: end;
}

.serviceModal__mapBtn {
  white-space: nowrap;
}

.serviceModal__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  align-items: baseline;
}

.serviceModal__label {
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.9rem;
}

.serviceModal__value {
  color: rgba(0, 0, 0, 0.86);
  font-size: 0.95rem;
  line-height: 1.35;
}

.serviceModal__contact {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.95rem;
}

.serviceModal__form {
  display: grid;
  gap: 12px;
}

.serviceBooking {
  display: grid;
  gap: 12px;
}

.serviceContactBox {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.02);
  padding: 12px;
}

.serviceBookingGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
  width: 100%;
}

.serviceBookingGrid__left,
.serviceBookingGrid__right {
  width: 100%;
}

.serviceBookingGrid__right {
  display: grid;
  gap: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
  align-items: center;
}

.stepper__btn {
  height: 44px;
  border-radius: var(--radius-button);
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.stepper__input {
  text-align: center;
  height: 44px;
}

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

.chip {
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: rgba(90, 60, 255, 0.14);
  border-color: rgba(90, 60, 255, 0.28);
}

.serviceCalendar {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 10px;
}

.serviceCalendar__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.serviceCalendar__clear {
  height: 36px;
}

.serviceCalendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.serviceCalendar__weekday {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.62);
}

.serviceCalendar__pad {
  height: 44px;
}

.serviceCalendar__day {
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.serviceCalendar__day--inRange {
  background: rgba(90, 60, 255, 0.10);
  border-color: rgba(90, 60, 255, 0.22);
}

.serviceCalendar__day--start,
.serviceCalendar__day--end {
  background: rgba(90, 60, 255, 0.18);
  border-color: rgba(90, 60, 255, 0.34);
}

.serviceCalendar__summary {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}

.serviceCalendar__timeRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.serviceModal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.wavoServiceMarker {
  background: transparent;
  border: none;
}

.wavoServiceMarker__pin {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid currentColor;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.wavoServiceMarker__svg {
  width: 18px;
  height: 18px;
}

 .servicePopupWrap .leaflet-popup-content-wrapper,
 .servicePopupWrap .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
 }

 .servicePopupWrap .leaflet-popup-content {
  margin: 12px 12px;
 }

 .servicePopup {
  display: grid;
  gap: 8px;
  min-width: 240px;
  color: rgba(0, 0, 0, 0.88);
 }

 .servicePopup__title {
  font-weight: 700;
 }

 .servicePopup__meta {
  color: rgba(0, 0, 0, 0.68);
  font-size: 0.92rem;
 }

 .servicePopup__row {
  color: rgba(0, 0, 0, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
 }

 .servicePopup__btn {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-button);
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
 }

@media (max-width: 767px) {
  .serviceModal {
    padding: 12px;
    place-items: end center;
  }

  .serviceModal__panel {
    width: calc(100% - 24px);
    border-radius: 20px;
  }

  .serviceModal__infoLayout {
    grid-template-columns: 1fr;
  }

  .serviceModal__infoAside {
    justify-items: start;
  }

  .serviceModal__row {
    grid-template-columns: 1fr;
  }

  .serviceBookingGrid {
    grid-template-columns: 1fr;
  }
}

.cardGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.04);
  }
}

.card__title {
  font-weight: 700;
  margin: 0 0 6px 0;
}

.card__meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.card__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

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

.gpsTrackerSection {
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06) 0%, rgba(255, 255, 255, 1) 52%);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 229, 255, 0.12), var(--shadow-card);
  margin: 28px 0 12px 0;
  display: grid;
  gap: 14px;
}

.gpsTrackerLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.gpsTrackerContent {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.gpsTrackerTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gpsTrackerBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.32);
  background: rgba(0, 229, 255, 0.14);
  color: rgba(0, 82, 92, 0.95);
  font-weight: 700;
  font-size: 0.85rem;
}

.gpsTrackerGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px;
  align-items: start;
}

.gpsTrackerMedia {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
  aspect-ratio: 3 / 2;
}

.gpsTrackerMedia--wide {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.18) 0%, rgba(255, 255, 255, 1) 64%);
}

@media (max-width: 767px) {
  .gpsTrackerMedia--wide {
    aspect-ratio: 3 / 2;
  }
}

.gpsTrackerMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gpsTrackerBody {
  display: grid;
  gap: 10px;
}

.gpsTrackerBody--below {
  gap: 12px;
}

.gpsTrackerKicker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 82, 92, 0.9);
}

.gpsTrackerInfoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.gpsTrackerSide {
  display: grid;
  gap: 12px;
}

.gpsTrackerTitleRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gpsTrackerTitle {
  margin: 0;
  font-size: 1.2rem;
}

.gpsTrackerPlanPill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.78);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.gpsTrackerText {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.gpsSpecGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gpsSpecCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.gpsSpecLabel {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.gpsSpecValue {
  font-weight: 700;
  line-height: 1.25;
}

.gpsAttachTitle {
  font-weight: 700;
  margin-bottom: 6px;
}

.gpsAttachList {
  display: grid;
  gap: 8px;
}

.gpsAttachItem {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.gpsAttachKey {
  font-weight: 700;
}

.gpsTrackerNote {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 10px;
  border-radius: var(--radius-card);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.03);
}

.gpsTrackingMetaRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 10px 0;
}

.gpsTrackingPlan {
  color: var(--muted);
  font-size: 0.92rem;
}

.planCard--upgrade {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 16px 36px rgba(0, 229, 255, 0.18), 0 10px 22px rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
  .gpsTrackerGrid {
    grid-template-columns: 1fr;
  }

  .gpsTrackerInfoGrid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .gpsTrackerLayout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: start;
  }

  .gpsTrackerMedia--wide {
    aspect-ratio: 4 / 3;
  }

  .gpsTrackerInfoGrid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .gpsSpecGrid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gpsSpecGrid {
    grid-template-columns: 1fr;
  }
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 400;
}

.link:hover {
  text-decoration: underline;
}

.chat {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: #ffffff;
  overflow: hidden;
}

.chat__header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 700;
}

.chat__messages {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.chatMsg {
  max-width: 84%;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  border-radius: var(--radius-popover);
  padding: 10px 12px;
}

.chatMsg--me {
  margin-left: auto;
  border-color: rgba(90, 60, 255, 0.28);
  background: rgba(90, 60, 255, 0.08);
}

.chatMsg__meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.chatMsg__text {
  font-size: 13px;
  line-height: 1.4;
}

.chat__input {
  padding: 12px 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: 8px;
}

.communityTabs {
  margin: 16px 0 14px 0;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.communityTabs__btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(0, 0, 0, 0.72);
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.communityTabs__btn:hover {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}

.communityTabs__btn--active {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.9);
}

.communityPanel {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.communityPanel--hidden {
  display: none;
}

.communityPanel__head {
  display: grid;
  gap: 4px;
}

.communityPanel__title {
  font-weight: 800;
  font-size: 1.05rem;
}

.communityPanel__subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.communityChat {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
}

.communityChat__thread {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.communityChat__threadHead {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(90, 60, 255, 0.06), rgba(90, 60, 255, 0));
}

.communityChat__roomPicker {
  min-width: min(520px, 100%);
  display: grid;
  gap: 6px;
}

.communityChat__roomLabel {
  font-weight: 800;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.86);
}

.communityChat__roomSelect {
  width: 100%;
  max-width: 520px;
}

.communityChat__messages {
  padding: 12px 14px;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.communityChatMsg {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.communityChatMsg__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.9rem;
}

.communityChatMsg__bubble {
  border: 1px solid var(--border-soft);
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 12px;
}

.communityChatMsg--me .communityChatMsg__bubble {
  border-color: rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.08);
}

.communityChatMsg__meta {
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.communityChatMsg__text {
  color: rgba(0, 0, 0, 0.9);
  font-size: 0.95rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.communityChat__composer {
  padding: 12px 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 860px) {
  .communityChat__composer {
    flex-wrap: wrap;
  }
}

.input {
  flex: 1;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
}

.input:focus {
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .mapBrandOverlay {
    left: 12px;
    bottom: calc(var(--bottom-nav-h) + 12px);
    padding: 10px 12px;
  }

  .mapBrandOverlay__slogan {
    max-width: min(520px, calc(100vw - 112px));
  }

  .page {
    padding-top: calc(var(--topbar-h) + 18px);
  }

  .cardGrid {
    grid-template-columns: 1fr;
  }
}

.wavo-marker {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.wavo-marker__emoji {
  font-size: 14px;
  line-height: 1;
}

.wavo-marker__icon {
  width: 16px;
  height: 16px;
}

.wavo-marker--surfing {
  background: rgba(90, 60, 255, 0.92);
}

.wavo-marker--kitesurfing {
  background: rgba(90, 60, 255, 0.92);
}

.wavo-marker--windsurfing {
  background: rgba(90, 60, 255, 0.92);
}

.wavo-marker--sup {
  background: rgba(0, 72, 43, 0.92);
}

.wavo-marker--diving {
  background: rgba(255, 106, 19, 0.92);
}

.filterTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.filterTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 100%;
  transform-origin: left center;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .filterTag:hover {
    transform: scale(1.02);
  }
}

.filterTag--closing {
  opacity: 0;
  transform: scale(0.96) translateY(-1px);
}

.filterTag__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

.filterTag__remove {
  appearance: none;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 400;
  line-height: 1;
  transition: all 0.2s ease;
}

@media (max-width: 767px) {
  .filterTag__remove {
    width: 32px;
    height: 32px;
  }
}

.filterTag__remove:hover {
  border-color: rgba(90, 60, 255, 0.28);
  background: rgba(90, 60, 255, 0.1);
}

.filterTag__remove:active {
  background: rgba(90, 60, 255, 0.14);
}

.marker-cluster {
  background-clip: padding-box;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(90, 60, 255, 0.2), 0 14px 30px rgba(0, 0, 0, 0.12);
}

.marker-cluster div {
  width: 36px;
  height: 36px;
  margin: 5px;
  text-align: center;
  border-radius: 999px;
  font: 800 13px/36px "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.marker-cluster-small {
  background-color: rgba(90, 60, 255, 0.18);
}
.marker-cluster-small div {
  background-color: rgba(90, 60, 255, 0.52);
}
.marker-cluster-medium {
  background-color: rgba(90, 60, 255, 0.16);
}
.marker-cluster-medium div {
  background-color: rgba(90, 60, 255, 0.5);
}
.marker-cluster-large {
  background-color: rgba(90, 60, 255, 0.16);
}
.marker-cluster-large div {
  background-color: rgba(90, 60, 255, 0.52);
}

.spotPanel {
  position: fixed;
  right: 18px;
  top: calc(var(--topbar-h) + 12px);
  bottom: 18px;
  width: 380px;
  max-width: calc(100vw - 36px);
  z-index: var(--z-spot);
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease), visibility 0s linear 0s;
}

.spotPanel--hidden {
  transform: translateX(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease), visibility 0s linear 240ms;
}

.spotPanel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.spotPanel__title {
  font-weight: 700;
  letter-spacing: 0em;
  max-width: 260px;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#markVisitedSpotPanel {
  height: 34px;
  padding: 0 10px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.spotPanel__body {
  padding: 12px 14px 14px 14px;
  overflow: auto;
  overscroll-behavior: contain;
}

.spotPanel__image {
  width: 100%;
  height: 170px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
}

.spotPanel__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.spotPanel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.9rem;
  font-weight: 400;
}

.spotPanel__badge--muted {
  color: var(--muted);
}

.spotPanel__section {
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.spotPanel__sectionTitle {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.spotPanel__text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.78);
}

.spotPanel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.spotPanel__nearbyMeta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.spotPanel__list {
  display: grid;
  gap: 8px;
}

.spotPanel__item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-popover);
  padding: 10px 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spotPanel__item:hover {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.spotPanel__itemTitle {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.spotPanel__itemMeta {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 767px) {
  .spotPanel {
    left: 12px;
    right: 12px;
    width: auto;
    top: auto;
    bottom: calc(var(--bottom-nav-h) + 12px);
    max-height: 58vh;
    transform: translateY(0);
  }

  .spotPanel--hidden {
    transform: translateY(18px);
  }
}

.bottomNav {
  display: none;
}

@media (max-width: 1023px) {
  .bottomNav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--bottom-nav-h);
    z-index: var(--z-bottomnav);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 12px;
    border-radius: 0;
    border-top: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.08);
  }

  .bottomNav__link[aria-label="Profile"] {
    display: none;
  }

  .bottomNav__link {
    text-decoration: none;
    color: var(--muted-2);
    display: grid;
    gap: 6px;
    justify-items: center;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: -0.005em;
    padding: 8px 6px;
    border-radius: var(--radius-button);
    transition: all 0.2s ease;
    min-height: 44px;
  }

  .bottomNav__link:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .bottomNav__link:active {
    background: rgba(0, 0, 0, 0.06);
  }

  .bottomNav__link--active {
    color: var(--accent);
    background: rgba(90, 60, 255, 0.1);
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  .bottomNav__label {
    line-height: 1;
  }

  .page {
    padding-bottom: calc(var(--bottom-nav-h) + 28px);
  }

  .leaflet-bottom {
    bottom: calc(var(--bottom-nav-h) + 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .ticker__track {
    animation: none !important;
  }
}

.wavoSpotOverlay {
  position: absolute;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: auto;
}

.wavoSpotOverlay--hidden {
  display: none;
}

.wavoSpotOverlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.wavoSpotOverlay__panel {
  position: relative;
  width: min(760px, calc(100% - 40px));
  max-height: calc(100% - 40px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  color: rgba(0, 0, 0, 0.92);
  display: grid;
  grid-template-rows: auto 1fr;
}

.wavoSpotOverlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px 16px;
}

.wavoSpotOverlay__titleWrap {
  display: grid;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.wavoSpotOverlay__visitedBtn {
  height: 34px;
  padding: 0 10px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.wavoSpotOverlay__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wavoSpotOverlay__stars {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
}

.wavoSpotOverlay__starsValue {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
}

.wavoSpotOverlay__rateRow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.wavoSpotOverlay__rateLabel {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.76);
}

.wavoSpotOverlay__rateStars,
.wavoSpotOverlay__formStars {
  display: flex;
  gap: 6px;
}

.wavoSpotOverlay__starBtn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(0, 0, 0, 0.26);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.wavoSpotOverlay__starBtn:hover {
  border-color: rgba(90, 60, 255, 0.24);
  background: rgba(90, 60, 255, 0.08);
}

.wavoSpotOverlay__starBtn--on {
  color: var(--accent-2);
  border-color: rgba(255, 106, 19, 0.36);
  background: rgba(255, 106, 19, 0.08);
}

.wavoSpotOverlay__starBtn--form {
  width: 28px;
  height: 28px;
}

.wavoSpotOverlay__close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.84);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}

.wavoSpotOverlay__close:hover {
  background: rgba(90, 60, 255, 0.08);
  border-color: rgba(90, 60, 255, 0.22);
}

.wavoSpotOverlay__close:active {
  transform: scale(0.98);
}

.wavoSpotOverlay__image {
  width: 100%;
  margin: 0 0 12px 0;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

.wavoSpotOverlay__tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px 16px;
  flex-wrap: wrap;
}

.wavoSpotOverlay__tab {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-badge);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.74);
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wavoSpotOverlay__tab:hover {
  border-color: rgba(90, 60, 255, 0.22);
  background: rgba(90, 60, 255, 0.08);
}

.wavoSpotOverlay__tab--active {
  border-color: rgba(90, 60, 255, 0.28);
  background: rgba(90, 60, 255, 0.1);
  color: #000000;
}

.wavoSpotOverlay__body {
  padding: 0 16px 16px 16px;
  overflow: auto;
  overscroll-behavior: contain;
}

.wavoSpotOverlay__sections {
  display: grid;
  gap: 12px;
}

.wavoSpotOverlay__section {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  overflow: hidden;
}

.wavoSpotOverlay__sectionTitle {
  padding: 12px 14px 10px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
}

.wavoSpotOverlay__sectionBody {
  padding: 12px 14px;
}

.wavoSpotOverlay__weatherLine {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0em;
  color: rgba(0, 0, 0, 0.82);
}

.wavoSpotOverlay__weather {
  display: grid;
  gap: 10px;
}

.wavoWeatherGauges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.wavoWeatherGauge {
  flex: 1 1 140px;
  min-width: 140px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.wavoWeatherGauge__dial {
  width: 92px;
  height: 92px;
  position: relative;
  display: grid;
  place-items: center;
}

.wavoWeatherGauge__ringSvg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.wavoWeatherGauge__ringBg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.12);
  stroke-width: 8;
}

.wavoWeatherGauge__ringFg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
}

.wavoWeatherGauge__icon {
  position: absolute;
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  stroke-width: 1.5px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.98;
}

.wavoWeatherGauge__value {
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.84);
  line-height: 1.1;
}

.wavoWeatherRetry {
  justify-self: start;
}

@media (max-width: 767px) {
  .wavoWeatherGauges {
    flex-direction: column;
  }

  .wavoWeatherGauge {
    width: 100%;
  }
}

.wavoSpotOverlay__descGrid {
  display: grid;
  gap: 8px;
}

.wavoSpotOverlay__descText {
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.78);
}

.wavoSpotOverlay__descRow {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.76);
}

.wavoSpotOverlay__nearbyList {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.wavoSpotOverlay__nearbyItem {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wavoSpotOverlay__nearbyName {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.84);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wavoSpotOverlay__nearbyMeta {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.62);
  white-space: nowrap;
}

.wavoSpotOverlay__link {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.wavoSpotOverlay__link:hover {
  text-decoration: underline;
}

.wavoSpotOverlay__comments {
  display: grid;
  gap: 12px;
}

.wavoSpotOverlay__commentList {
  display: grid;
  gap: 10px;
}

.wavoSpotOverlay__comment {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.66);
  padding: 12px 12px;
  display: grid;
  gap: 8px;
}

.wavoSpotOverlay__commentHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wavoSpotOverlay__commentWho {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.88);
}

.wavoSpotOverlay__commentMeta {
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.62);
  white-space: nowrap;
}

.wavoSpotOverlay__commentText {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
  white-space: pre-wrap;
}

.wavoSpotOverlay__commentImg {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}

.wavoSpotOverlay__commentForm {
  display: grid;
  gap: 10px;
}

.wavoSpotOverlay__field {
  display: grid;
  gap: 6px;
}

.wavoSpotOverlay__fieldLabel {
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.74);
}

.wavoSpotOverlay__input,
.wavoSpotOverlay__textarea {
  border-radius: var(--radius-input);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.86);
  outline: none;
  transition: all 0.2s ease;
}

.wavoSpotOverlay__input:focus,
.wavoSpotOverlay__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(90, 60, 255, 0.2);
}

.wavoSpotOverlay__formActions {
  display: flex;
  justify-content: flex-end;
}

.wavoSpotOverlay__btn {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-button);
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: -0.001em;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.wavoSpotOverlay__btn:hover {
  opacity: 0.88;
}

.wavoSpotOverlay__btn:active {
  opacity: 0.82;
}

.wavoSpotOverlay__btn--ghost {
  background: transparent;
  border-color: #000000;
  color: #000000;
}

.wavoSpotOverlay__shareRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 767px) {
  .wavoSpotOverlay {
    padding: 14px;
    place-items: end center;
  }

  .wavoSpotOverlay__panel {
    width: calc(100% - 28px);
    max-height: 76vh;
    border-radius: 20px;
  }

  .wavoSpotOverlay__image {
    height: 170px;
  }
}

html.profileOpen,
html.profileOpen body {
  overflow: hidden;
}

.profilePage {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-spot) + 10);
  display: grid;
  place-items: center;
  padding: 18px;
}

.profilePage--hidden {
  display: none;
}

.profilePage__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
}

.profilePage__panel {
  position: relative;
  width: min(1040px, calc(100vw - 36px));
  max-height: min(84vh, 860px);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.profilePage__header {
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.profilePage__titleRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profilePage__title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.profilePage__notice {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.78);
  display: none;
}

.profilePage__notice--visible {
  display: block;
}

.profilePage__content {
  padding: 14px;
  overflow: auto;
  min-height: 0;
}

.profileTabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
}

.profileTabs__btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(0, 0, 0, 0.78);
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.2s ease;
}

.profileTabs__btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.profileTabs__btn--active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #000000;
}

.profileAuth {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.profileAuth__form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.profileField {
  display: grid;
  gap: 6px;
}

.profileField__label {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.74);
}

.profileAuth__actions {
  display: flex;
  justify-content: flex-end;
}

.profileAuth__hint {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

.profileLayout {
  display: grid;
  gap: 14px;
}

@media (min-width: 1024px) {
  .profileLayout {
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: start;
  }
}

.profileSide {
  display: grid;
  gap: 14px;
}

.profileMain {
  display: grid;
  gap: 14px;
}

.profileMain__tab {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.profileSectionTitle {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.profileCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 12px;
}

.profileCard__top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.profileCard__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(90, 60, 255, 0.12);
  border: 1px solid rgba(90, 60, 255, 0.22);
  color: rgba(0, 0, 0, 0.86);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.profileCard__email {
  font-weight: 700;
}

.profileCard__since {
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.92rem;
}

.profileCard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profileStat {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.03);
  padding: 10px 12px;
}

.profileStat__num {
  font-weight: 700;
  font-size: 1.2rem;
}

.profileStat__label {
  color: rgba(0, 0, 0, 0.64);
  font-size: 0.92rem;
}

.profileCard__sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.03);
  padding: 10px 12px;
}

.profileCard__subLabel {
  color: rgba(0, 0, 0, 0.64);
  font-size: 0.92rem;
}

.profileCard__subValue {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profileCard__actions {
  display: flex;
  justify-content: flex-end;
}

.profilePlans__grid {
  display: grid;
  gap: 10px;
}

.planCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.planCard--active {
  border-color: rgba(90, 60, 255, 0.28);
  box-shadow: 0 18px 42px rgba(90, 60, 255, 0.16), 0 14px 30px rgba(0, 0, 0, 0.08);
}

.planCard__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.planCard__name {
  font-weight: 700;
}

.planCard__price {
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.95rem;
}

.planCard__features {
  display: grid;
  gap: 6px;
  color: rgba(0, 0, 0, 0.78);
  font-size: 0.95rem;
}

.planCard__feature {
  padding-left: 16px;
  position: relative;
}

.planCard__feature::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: rgba(90, 60, 255, 0.9);
}

.profileChallenges__list {
  display: grid;
  gap: 10px;
}

.challengeCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.challengeCard__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.challengeCard__title {
  font-weight: 700;
}

.challengeCard__meta {
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.9rem;
  white-space: nowrap;
}

.challengeCard__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.challengeCard__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(90, 60, 255, 0.9) 0%, rgba(255, 106, 19, 0.9) 100%);
}

.challengeCard__detail {
  color: rgba(0, 0, 0, 0.74);
  font-size: 0.95rem;
  line-height: 1.35;
}

.challengeGrid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .challengeGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.challengePublic {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.challengePublic--joined {
  border-color: rgba(90, 60, 255, 0.28);
  box-shadow: 0 18px 42px rgba(90, 60, 255, 0.16), 0 14px 30px rgba(0, 0, 0, 0.08);
}

.challengePublic__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.challengePublic__title {
  font-weight: 700;
}

.challengePublic__meta {
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.9rem;
  white-space: nowrap;
}

.challengePublic__detail {
  color: rgba(0, 0, 0, 0.74);
  font-size: 0.95rem;
  line-height: 1.35;
}

.profileList {
  display: grid;
  gap: 10px;
}

.profileEmpty {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.03);
  padding: 14px;
  color: rgba(0, 0, 0, 0.7);
}

.profileRow {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profileRow:hover {
  border-color: rgba(90, 60, 255, 0.22);
  box-shadow: 0 14px 34px rgba(90, 60, 255, 0.08);
}

.profileRow__img {
  width: 56px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.profileRow__title {
  font-weight: 700;
}

.profileRow__meta {
  color: rgba(0, 0, 0, 0.64);
  font-size: 0.92rem;
}

.commentCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.commentCard__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.commentCard__spot {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  text-align: left;
}

.commentCard__spot:hover {
  text-decoration: underline;
}

.commentCard__meta {
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.92rem;
  white-space: nowrap;
}

.commentCard__text {
  color: rgba(0, 0, 0, 0.82);
  white-space: pre-wrap;
}

.commentCard__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.commentEdit {
  display: grid;
  gap: 10px;
}

.commentEdit__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.bookingCard {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.bookingCard__head {
  display: grid;
  gap: 4px;
}

.bookingCard__title {
  font-weight: 700;
}

.bookingCard__meta {
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.92rem;
}

.bookingCard__detail {
  color: rgba(0, 0, 0, 0.82);
  font-size: 0.95rem;
  line-height: 1.35;
}

.bookingCard__actions {
  display: flex;
  justify-content: flex-end;
}

.profileMenu {
  position: fixed;
  z-index: calc(var(--z-spot) + 20);
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.profileMenu--hidden {
  display: none;
}

.profileMenu__list {
  display: grid;
  padding: 6px;
  gap: 2px;
}

.profileMenu__item {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(0, 0, 0, 0.86);
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profileMenu__item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.profileMenu__item--danger {
  color: rgba(160, 0, 0, 0.92);
}

.profileMenu__item--danger:hover {
  background: rgba(160, 0, 0, 0.08);
}

@media (max-width: 767px) {
  .profilePage {
    padding: 12px;
    place-items: end center;
  }

  .profilePage__panel {
    width: calc(100% - 24px);
    max-height: 82vh;
    border-radius: 20px;
  }

  .commentEdit__row {
    grid-template-columns: 1fr;
  }
}
