.kmm-root {
  --kmm-bg: #f5f2eb;
  --kmm-panel: rgba(255, 253, 249, 0.92);
  --kmm-panel-strong: #fffdfa;
  --kmm-text: #1f2933;
  --kmm-muted: #667085;
  --kmm-line: rgba(31, 41, 51, 0.12);
  --kmm-brand: #0f766e;
  --kmm-brand-deep: #115e59;
  --kmm-brand-soft: rgba(15, 118, 110, 0.12);
  --kmm-accent: #f97316;
  --kmm-shadow: 0 20px 50px rgba(43, 54, 68, 0.14);
  --kmm-radius-xl: 28px;
  --kmm-radius-lg: 22px;
  --kmm-radius-md: 16px;
  color: var(--kmm-text);
}

.kmm-root * {
  box-sizing: border-box;
}

.kmm-runtime-message {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(31, 41, 51, 0.12);
  color: var(--kmm-text);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
}

.kmm-app {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 18px);
  width: 100%;
  padding: clamp(10px, 2vw, 18px);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 25%),
    radial-gradient(circle at right 20%, rgba(15, 118, 110, 0.14), transparent 24%),
    linear-gradient(180deg, #faf7f2 0%, #efe8dc 100%);
  border-radius: 32px;
  overflow: hidden;
}

.kmm-panel {
  background: var(--kmm-panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--kmm-radius-xl);
  box-shadow: var(--kmm-shadow);
  backdrop-filter: blur(18px);
}

.kmm-sidebar {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  min-height: 0;
}

.kmm-hero {
  padding: clamp(20px, 3vw, 26px) clamp(18px, 3vw, 24px) 18px;
}

.kmm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--kmm-brand-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kmm-hero h2 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.kmm-hero p {
  margin: 0;
  color: var(--kmm-muted);
  line-height: 1.5;
  max-width: 30ch;
}

.kmm-moving-mural {
  margin: 0 18px 14px;
  padding: 16px 16px 18px;
  border-radius: var(--kmm-radius-lg);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(249, 115, 22, 0.12)),
    rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.kmm-moving-mural-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--kmm-brand-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kmm-moving-mural h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.kmm-moving-mural p {
  margin: 0;
  color: var(--kmm-muted);
  line-height: 1.55;
}

.kmm-listing-wrap {
  border-top: 1px solid var(--kmm-line);
  padding: 12px;
  overflow: auto;
  min-height: 0;
}

.kmm-listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 14px;
  color: var(--kmm-muted);
  font-size: 0.92rem;
}

.kmm-listing-grid {
  display: grid;
  gap: 12px;
}

.kmm-listing-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  border: 1px solid transparent;
  background: var(--kmm-panel-strong);
  border-radius: var(--kmm-radius-lg);
  padding: 12px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-align: left;
  color: inherit;
}

.kmm-listing-card:hover,
.kmm-listing-card:focus-visible,
.kmm-listing-card.kmm-active {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.1);
  outline: none;
}

.kmm-listing-thumb,
.kmm-detail-image {
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  background-color: #dde6e4;
}

.kmm-listing-thumb {
  min-height: 106px;
}

.kmm-listing-copy {
  min-width: 0;
}

.kmm-listing-copy strong,
.kmm-detail-header h3 {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.15;
}

.kmm-listing-copy span,
.kmm-detail-meta,
.kmm-detail-copy p {
  color: var(--kmm-muted);
}

.kmm-listing-created,
.kmm-detail-created {
  display: block;
  color: var(--kmm-brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kmm-listing-created {
  margin-top: 8px;
}

.kmm-detail-created {
  margin-top: 8px;
}

.kmm-listing-tag {
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--kmm-brand-soft);
  color: var(--kmm-brand-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.kmm-map-panel {
  position: relative;
  overflow: hidden;
  min-height: 660px;
}

.kmm-map-toolbar {
  position: absolute;
  top: clamp(12px, 2vw, 18px);
  left: clamp(12px, 2vw, 18px);
  right: clamp(12px, 2vw, 18px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kmm-map-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.1);
  color: var(--kmm-text);
  font-weight: 700;
}

.kmm-map-stage {
  position: relative;
  height: 100%;
  min-height: 660px;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(219, 232, 223, 0.28), rgba(188, 207, 202, 0.14));
}

.kmm-map {
  width: 100%;
  height: 100%;
  min-height: 660px;
  border-radius: inherit;
  z-index: 1;
}

.kmm-scroll-cue {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  min-width: 150px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.96);
  color: var(--kmm-brand-deep);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(31, 41, 51, 0.16);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.kmm-scroll-cue-arrow {
  display: inline-block;
  font-size: 1.1rem;
  animation: kmmCuePulse 1.35s ease-in-out infinite;
}

@keyframes kmmCuePulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.82;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

.kmm-marker {
  position: relative;
  width: 94px;
  height: 94px;
  transform: translate(var(--kmm-marker-offset-x, 0px), var(--kmm-marker-offset-y, 0px));
}

.kmm-marker-hit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.kmm-marker-stem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--kmm-marker-line-length, 0px);
  height: 2px;
  background: rgba(31, 41, 51, 0.28);
  border-radius: 999px;
  transform-origin: 0 50%;
  transform: rotate(var(--kmm-marker-line-angle, 0deg));
  pointer-events: none;
}

.kmm-marker-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  background-image: var(--kmm-marker-image);
  background-size: 160%;
  background-position: center center;
  background-repeat: no-repeat;
  border: 3px solid rgba(255, 253, 250, 0.98);
  box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.16), 0 12px 24px rgba(31, 41, 51, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.kmm-marker-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 8px);
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.16);
  color: var(--kmm-text);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.kmm-marker:hover .kmm-marker-label,
.kmm-marker.kmm-active .kmm-marker-label {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.kmm-marker.kmm-active .kmm-marker-pin {
  transform: scale(1.18);
  box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.22), 0 16px 28px rgba(31, 41, 51, 0.28);
}

.kmm-map-panel .leaflet-div-icon {
  background: transparent;
  border: 0;
}

.kmm-map-panel .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.12);
  overflow: hidden;
}

.kmm-map-panel .leaflet-control-zoom a {
  color: var(--kmm-text);
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.kmm-detail-overlay {
  display: contents;
}

.kmm-detail-card {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 3;
  width: min(390px, calc(100% - 44px));
  max-height: calc(100% - 44px);
  overflow: auto;
  background: rgba(255, 252, 246, 0.96);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kmm-hidden.kmm-detail-card {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
}

.kmm-hidden.kmm-detail-overlay {
  pointer-events: none;
}

.kmm-detail-image {
  min-height: clamp(180px, 26vw, 220px);
}

.kmm-detail-body {
  padding: 20px;
}

.kmm-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.kmm-detail-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--kmm-brand-soft);
  color: var(--kmm-brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.kmm-detail-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.96);
  color: var(--kmm-text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.16);
}

.kmm-detail-meta {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.kmm-detail-copy p {
  margin: 16px 0 18px;
  line-height: 1.6;
}

.kmm-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kmm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.kmm-button:hover,
.kmm-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.kmm-button-primary {
  background: var(--kmm-brand);
  color: #fff;
}

.kmm-button-primary:hover,
.kmm-button-primary:focus-visible {
  background: var(--kmm-brand-deep);
  color: #fff;
}

.kmm-button-secondary {
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: #fff;
  color: var(--kmm-brand-deep);
}

.kmm-note {
  margin-top: 12px;
  color: var(--kmm-muted);
  font-size: 0.85rem;
}

body.kmm-standalone-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--kmm-text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 25%),
    radial-gradient(circle at right 20%, rgba(15, 118, 110, 0.14), transparent 24%),
    linear-gradient(180deg, #faf7f2 0%, #efe8dc 100%);
  overflow: hidden;
  overflow-x: hidden;
}

body.kmm-standalone-page .kmm-standalone-shell {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.kmm-standalone-page .kmm-root {
  min-height: 100vh;
  min-height: 100svh;
}

body.kmm-standalone-page .kmm-app {
  height: 100vh;
  height: 100svh;
  margin: 0;
  max-width: none;
  padding: clamp(10px, 2vw, 18px);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

body.kmm-standalone-page .kmm-map-panel {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

body.kmm-standalone-page .kmm-map-stage,
body.kmm-standalone-page .kmm-map {
  min-height: 0;
  height: 100%;
}

@media (max-width: 1200px) {
  .kmm-app {
    grid-template-columns: 400px minmax(0, 1fr);
  }
}

@media (min-width: 1025px) {
  body.kmm-standalone-page .kmm-detail-card {
    top: auto;
    right: clamp(12px, 2vw, 22px);
    bottom: clamp(12px, 2vw, 22px);
    max-height: none;
    overflow: hidden;
  }

  body.kmm-standalone-page .kmm-detail-close {
    display: none;
  }
}

@media (max-width: 1024px) {
  body.kmm-standalone-page {
    overflow: auto;
    overflow-x: hidden;
  }

  body.kmm-standalone-page .kmm-app {
    height: auto;
  }

  .kmm-app {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .kmm-sidebar {
    order: 2;
    background: rgba(255, 252, 247, 0.96);
    border: 1px solid rgba(31, 41, 51, 0.08);
    box-shadow: 0 18px 40px rgba(31, 41, 51, 0.12);
  }

  .kmm-map-panel {
    order: 1;
    min-height: clamp(360px, 58dvh, 620px);
    width: 100%;
    max-width: 100%;
    background: rgba(255, 252, 247, 0.96);
    border: 1px solid rgba(31, 41, 51, 0.08);
    box-shadow: 0 18px 40px rgba(31, 41, 51, 0.12);
  }

  .kmm-detail-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(31, 41, 51, 0.36);
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: opacity 220ms ease;
    border-radius: inherit;
  }

  .kmm-hidden.kmm-detail-overlay {
    opacity: 0;
  }

  .kmm-detail-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(440px, calc(100% - 8px));
    max-height: calc(100% - 8px);
    overflow: auto;
    padding-top: 18px;
    transform-origin: center center;
  }

}

@media (max-width: 768px) {
  .kmm-app {
    padding: 12px;
    gap: 12px;
  }

  .kmm-hero p {
    max-width: none;
  }

  .kmm-listing-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .kmm-map-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .kmm-map-chip {
    justify-content: center;
    text-align: center;
  }

  .kmm-scroll-cue {
    display: inline-flex;
  }

  .kmm-marker {
    width: 82px;
    height: 82px;
  }

  .kmm-marker-label {
    display: none;
  }

  .kmm-map-panel {
    min-height: auto;
    height: auto;
  }

  .kmm-map-stage,
  .kmm-map {
    min-height: clamp(320px, 50dvh, 520px);
  }

  .kmm-map-stage {
    height: clamp(320px, 50dvh, 520px);
  }

  .kmm-detail-overlay {
    padding: 12px;
  }

  .kmm-detail-card {
    width: 100%;
    max-height: calc(100% - 4px);
  }
}

@media (max-width: 540px) {
  .kmm-app {
    border-radius: 24px;
  }

  .kmm-panel {
    border-radius: 22px;
  }

  .kmm-map-panel,
  .kmm-sidebar {
    border: 1px solid rgba(31, 41, 51, 0.1);
    box-shadow: 0 14px 28px rgba(31, 41, 51, 0.14);
  }

  .kmm-hero {
    padding-bottom: 14px;
  }

  .kmm-moving-mural {
    margin: 0 14px 12px;
  }

  .kmm-hero h2 {
    line-height: 1;
  }

  .kmm-listing-wrap {
    padding: 10px;
  }

  .kmm-listing-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
  }

  .kmm-listing-card {
    grid-template-columns: 1fr;
  }

  .kmm-listing-thumb {
    min-height: 160px;
  }

  .kmm-map-stage,
  .kmm-map {
    min-height: clamp(280px, 44dvh, 400px);
  }

  .kmm-map-stage {
    height: clamp(280px, 44dvh, 400px);
  }

  .kmm-detail-body {
    padding: 16px;
  }

  .kmm-detail-card {
    width: 100%;
    max-height: calc(100% - 2px);
  }

  .kmm-detail-header {
    flex-direction: column;
  }

  .kmm-detail-badge {
    align-self: flex-start;
  }

  .kmm-detail-actions {
    flex-direction: column;
  }

  .kmm-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  body.kmm-standalone-page .kmm-app {
    overflow: visible;
  }

  .kmm-app {
    gap: 10px;
    padding: 10px;
  }

  .kmm-map-panel {
    overflow: visible;
  }

  .kmm-map-toolbar {
    position: static;
    padding: 10px 10px 0;
    gap: 8px;
  }

  .kmm-map-chip {
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .kmm-map-chip[data-kmm-selected-chip] {
    display: none;
  }

  .kmm-map-stage {
    margin-top: 8px;
    height: clamp(240px, 38dvh, 320px);
  }

  .kmm-map-stage,
  .kmm-map {
    min-height: clamp(240px, 38dvh, 320px);
  }

  .kmm-marker {
    width: 74px;
    height: 74px;
  }

  .kmm-marker-pin {
    width: 36px;
    height: 36px;
  }

  .kmm-scroll-cue {
    bottom: 10px;
    min-width: 124px;
    min-height: 40px;
    font-size: 0.84rem;
  }

  .kmm-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 0;
    border-radius: 0;
    background: rgba(31, 41, 51, 0.58);
  }

  .kmm-detail-card {
    z-index: 1001;
    width: 100vw;
    max-width: 100vw;
    height: 100svh;
    max-height: 100svh;
    overflow: auto;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    transform-origin: center bottom;
  }

  .kmm-detail-image {
    min-height: 180px;
  }

  .kmm-detail-body {
    padding: 18px 16px 20px;
  }

  body.kmm-standalone-page .kmm-detail-close {
    display: inline-grid;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .kmm-map-stage {
    height: clamp(220px, 34dvh, 280px);
  }

  .kmm-map-stage,
  .kmm-map {
    min-height: clamp(220px, 34dvh, 280px);
  }

  .kmm-detail-image {
    min-height: 140px;
  }

  .kmm-detail-body {
    padding: 14px;
  }

  .kmm-detail-copy p {
    margin: 12px 0 14px;
  }

  .kmm-button {
    min-height: 42px;
  }
}

@media (max-width: 1024px) {
  body.kmm-standalone-page {
    overflow: auto !important;
    overflow-x: hidden !important;
  }

  body.kmm-standalone-page .kmm-app {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-width: 0 !important;
  }

  body.kmm-standalone-page .kmm-sidebar {
    order: 2 !important;
    background: rgba(255, 252, 247, 0.96) !important;
    border: 1px solid rgba(31, 41, 51, 0.08) !important;
    box-shadow: 0 18px 40px rgba(31, 41, 51, 0.12) !important;
  }

  body.kmm-standalone-page .kmm-map-panel {
    order: 1 !important;
    min-height: 620px !important;
    background: rgba(255, 252, 247, 0.96) !important;
    border: 1px solid rgba(31, 41, 51, 0.08) !important;
    box-shadow: 0 18px 40px rgba(31, 41, 51, 0.12) !important;
  }

  body.kmm-standalone-page .kmm-detail-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 30 !important;
    display: grid !important;
    place-items: center !important;
    padding: 16px !important;
    background: rgba(31, 41, 51, 0.36) !important;
    backdrop-filter: blur(10px) !important;
    opacity: 1 !important;
    transition: opacity 220ms ease !important;
    border-radius: inherit !important;
  }

  body.kmm-standalone-page .kmm-hidden.kmm-detail-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.kmm-standalone-page .kmm-detail-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: min(440px, calc(100% - 8px)) !important;
    max-height: calc(100% - 8px) !important;
    overflow: auto !important;
    padding-top: 18px !important;
    transform-origin: center center !important;
  }

  body.kmm-standalone-page .kmm-detail-close {
    display: inline-grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2 !important;
  }
}

@media (max-width: 768px) {
  body.kmm-standalone-page .kmm-app {
    padding: 12px !important;
    gap: 12px !important;
  }

  body.kmm-standalone-page .kmm-hero p {
    max-width: none !important;
  }

  body.kmm-standalone-page .kmm-listing-card {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  body.kmm-standalone-page .kmm-map-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.kmm-standalone-page .kmm-map-chip {
    justify-content: center !important;
    text-align: center !important;
  }

  body.kmm-standalone-page .kmm-scroll-cue {
    display: inline-flex !important;
  }

  body.kmm-standalone-page .kmm-marker {
    width: 82px !important;
    height: 82px !important;
  }

  body.kmm-standalone-page .kmm-marker-label {
    display: none !important;
  }

  body.kmm-standalone-page .kmm-map-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    height: auto !important;
  }

  body.kmm-standalone-page .kmm-map-stage {
    height: clamp(320px, 50dvh, 520px) !important;
    min-height: clamp(320px, 50dvh, 520px) !important;
  }

  body.kmm-standalone-page .kmm-map {
    height: 100% !important;
    min-height: clamp(320px, 50dvh, 520px) !important;
  }

  body.kmm-standalone-page .kmm-detail-overlay {
    padding: 12px !important;
  }

  body.kmm-standalone-page .kmm-detail-card {
    width: 100% !important;
    max-height: calc(100% - 4px) !important;
  }

  body.kmm-standalone-page .kmm-detail-close {
    top: 10px !important;
    right: 10px !important;
  }
}

@media (max-width: 540px) {
  body.kmm-standalone-page {
    background:
      radial-gradient(circle at top left, rgba(249, 115, 22, 0.1), transparent 28%),
      radial-gradient(circle at right 20%, rgba(15, 118, 110, 0.12), transparent 30%),
      linear-gradient(180deg, #faf7f2 0%, #efe8dc 100%) !important;
  }

  body.kmm-standalone-page .kmm-panel {
    border-radius: 22px !important;
  }

  body.kmm-standalone-page .kmm-map-panel,
  body.kmm-standalone-page .kmm-sidebar {
    border: 1px solid rgba(31, 41, 51, 0.1) !important;
    box-shadow: 0 14px 28px rgba(31, 41, 51, 0.14) !important;
  }

  body.kmm-standalone-page .kmm-hero {
    padding-bottom: 14px !important;
  }

  body.kmm-standalone-page .kmm-moving-mural {
    margin: 0 14px 12px !important;
  }

  body.kmm-standalone-page .kmm-hero h2 {
    line-height: 1 !important;
  }

  body.kmm-standalone-page .kmm-listing-wrap {
    padding: 10px !important;
  }

  body.kmm-standalone-page .kmm-listing-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-bottom: 10px !important;
  }

  body.kmm-standalone-page .kmm-listing-card {
    grid-template-columns: 1fr !important;
  }

  body.kmm-standalone-page .kmm-listing-thumb {
    min-height: 160px !important;
  }

  body.kmm-standalone-page .kmm-map-panel,
  body.kmm-standalone-page .kmm-map-stage,
  body.kmm-standalone-page .kmm-map {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.kmm-standalone-page .kmm-map-stage {
    height: clamp(280px, 44dvh, 400px) !important;
    min-height: clamp(280px, 44dvh, 400px) !important;
  }

  body.kmm-standalone-page .kmm-map {
    height: 100% !important;
    min-height: clamp(280px, 44dvh, 400px) !important;
  }

  body.kmm-standalone-page .kmm-detail-body {
    padding: 16px !important;
  }

  body.kmm-standalone-page .kmm-detail-card {
    width: 100% !important;
    max-height: calc(100% - 2px) !important;
  }

  body.kmm-standalone-page .kmm-detail-header {
    flex-direction: column !important;
  }

  body.kmm-standalone-page .kmm-detail-badge {
    align-self: flex-start !important;
  }

  body.kmm-standalone-page .kmm-detail-actions {
    flex-direction: column !important;
  }

  body.kmm-standalone-page .kmm-button {
    width: 100% !important;
  }

  body.kmm-standalone-page .kmm-scroll-cue {
    bottom: 14px !important;
    min-width: 136px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 0.92rem !important;
  }
}

@media (max-width: 430px) {
  body.kmm-standalone-page .kmm-app {
    gap: 10px !important;
    padding: 10px !important;
  }

  body.kmm-standalone-page .kmm-map-panel {
    overflow: visible !important;
  }

  body.kmm-standalone-page .kmm-map-toolbar {
    position: static !important;
    padding: 10px 10px 0 !important;
    gap: 8px !important;
  }

  body.kmm-standalone-page .kmm-map-chip {
    padding: 9px 12px !important;
    font-size: 0.84rem !important;
  }

  body.kmm-standalone-page [data-kmm-selected-chip] {
    display: none !important;
  }

  body.kmm-standalone-page .kmm-map-stage {
    height: clamp(240px, 38dvh, 320px) !important;
    min-height: clamp(240px, 38dvh, 320px) !important;
    margin-top: 8px !important;
  }

  body.kmm-standalone-page .kmm-map {
    min-height: clamp(240px, 38dvh, 320px) !important;
  }

  body.kmm-standalone-page .kmm-marker {
    width: 74px !important;
    height: 74px !important;
  }

  body.kmm-standalone-page .kmm-marker-pin {
    width: 36px !important;
    height: 36px !important;
  }

  body.kmm-standalone-page .kmm-scroll-cue {
    bottom: 10px !important;
    min-width: 124px !important;
    min-height: 40px !important;
    font-size: 0.84rem !important;
  }

  body.kmm-standalone-page .kmm-detail-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    padding: 10px !important;
    border-radius: 0 !important;
    background: rgba(20, 26, 32, 0.78) !important;
  }

  body.kmm-standalone-page .kmm-detail-card {
    position: relative !important;
    z-index: 1001 !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: calc(100svh - 20px) !important;
    max-height: calc(100svh - 20px) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(31, 41, 51, 0.08) !important;
    background: rgba(255, 252, 246, 1) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
    transform-origin: center bottom !important;
  }

  body.kmm-standalone-page .kmm-detail-image {
    min-height: 180px !important;
  }

  body.kmm-standalone-page .kmm-detail-body {
    padding: 64px 16px 20px !important;
  }

  body.kmm-standalone-page .kmm-detail-close {
    display: inline-grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 1002 !important;
    background: rgba(255, 253, 250, 0.98) !important;
    box-shadow: 0 10px 24px rgba(31, 41, 51, 0.2) !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  body.kmm-standalone-page .kmm-app {
    gap: 10px !important;
    padding: 10px !important;
  }

  body.kmm-standalone-page .kmm-hero {
    padding-top: 18px !important;
  }

  body.kmm-standalone-page .kmm-map-stage {
    height: clamp(220px, 34dvh, 280px) !important;
    min-height: clamp(220px, 34dvh, 280px) !important;
  }

  body.kmm-standalone-page .kmm-map {
    height: 100% !important;
    min-height: clamp(220px, 34dvh, 280px) !important;
  }

  body.kmm-standalone-page .kmm-map-toolbar {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    gap: 8px !important;
  }

  body.kmm-standalone-page .kmm-map-chip {
    padding: 10px 12px !important;
    font-size: 0.86rem !important;
  }

  body.kmm-standalone-page .kmm-scroll-cue {
    bottom: 10px !important;
    min-width: 124px !important;
    min-height: 40px !important;
    font-size: 0.86rem !important;
  }

  body.kmm-standalone-page .kmm-detail-overlay {
    padding: 8px !important;
  }

  body.kmm-standalone-page .kmm-detail-card {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100% - 16px) !important;
  }

  body.kmm-standalone-page .kmm-detail-image {
    min-height: 140px !important;
  }

  body.kmm-standalone-page .kmm-detail-body {
    padding: 60px 14px 16px !important;
  }

  body.kmm-standalone-page .kmm-detail-copy p {
    margin: 12px 0 14px !important;
  }

  body.kmm-standalone-page .kmm-button {
    min-height: 42px !important;
  }
}
