/* wonders.css â€” prefix: wm- (Wonder Map) */

/* â”€â”€ Shell dimensions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Single source of truth for the chrome heights the map must subtract, so this
   page doesn't hardcode NavBar / bottom-nav magic numbers in every calc(). */
:root {
    --wm-nav-height: 6rem;          /* top NavBar */
    /* Prefer shared chrome; fall back to 0 when unset (desktop) */
    --wm-bottom-nav-height: var(--bottom-nav-height, 0px);
}

/* â”€â”€ Page shell â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-page {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - var(--wm-nav-height) - var(--wm-bottom-nav-height));
    overflow: hidden;
    background: var(--antologa-surface-cool);

    /* Desktop chrome density — compress on short viewports so the map dominates */
    --wm-chip-min-h: 1.85rem;
    --wm-chip-pad-y: 0.28rem;
    --wm-chip-pad-x: 0.65rem;
    --wm-chip-font: 0.7rem;
    --wm-chip-icon: 1rem;
    --wm-legend-dot: 1.5rem;
    --wm-legend-icon-font: 1.2rem;
    --wm-legend-svg: 12px;
    --wm-legend-item-min: 2.85rem;
    --wm-legend-item-max: 4.25rem;
    --wm-legend-item-w: 4.25rem;
    --wm-header-pad-y: 0.45rem;
    --wm-title-font: 1.05rem;
    --wm-filter-gap: 0.75rem;
    --wm-filter-row-gap: 0.55rem 1.25rem;
    --wm-label-gap: 0.625rem;
}

@media (max-height: 900px) {
    .wm-page {
        --wm-chip-min-h: 1.7rem;
        --wm-chip-pad-y: 0.22rem;
        --wm-chip-pad-x: 0.55rem;
        --wm-chip-font: 0.65rem;
        --wm-chip-icon: 0.95rem;
        --wm-legend-dot: 1.35rem;
        --wm-legend-icon-font: 1.1rem;
        --wm-legend-svg: 11px;
        --wm-legend-item-min: 2.5rem;
        --wm-legend-item-max: 3.85rem;
        --wm-legend-item-w: 4rem;
        --wm-header-pad-y: 0.3rem;
        --wm-title-font: 0.95rem;
        --wm-filter-gap: 0.35rem;
        --wm-filter-row-gap: 0.4rem 1rem;
    }
}

@media (max-height: 780px) {
    .wm-page {
        --wm-chip-min-h: 1.55rem;
        --wm-chip-pad-y: 0.18rem;
        --wm-chip-pad-x: 0.5rem;
        --wm-chip-font: 0.625rem;
        --wm-chip-icon: 0.9rem;
        --wm-legend-dot: 1.2rem;
        --wm-legend-icon-font: 1rem;
        --wm-legend-svg: 10px;
        --wm-legend-item-min: 2.25rem;
        --wm-legend-item-max: 3.5rem;
        --wm-legend-item-w: 3.75rem;
        --wm-header-pad-y: 0.2rem;
        --wm-title-font: 0.875rem;
        --wm-filter-gap: 0.28rem;
        --wm-filter-row-gap: 0.3rem 0.85rem;
    }
}

/* When traveler bottom nav is present, reserve real chrome height even if
   --bottom-nav-height cascade glitches (matches HCW resilient floors). */
@media (max-width: 1280px) {
    body:has(.nb-bottom-nav) .wm-page {
        --wm-bottom-nav-height: max(5rem, var(--bottom-nav-height, 5rem));
    }

    /* Honor / Android Chrome: keep map shell inside the real viewport */
    .wm-page--ux {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        overscroll-behavior-x: none;
    }

    .wm-page--ux .wm-body,
    .wm-page--ux .wm-map-wrap {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        position: relative;
    }
}

@media (max-width: 600px) {
    body:has(.nb-bottom-nav) .wm-page {
        --wm-bottom-nav-height: max(4.5rem, var(--bottom-nav-height, 4.5rem));
    }
}

/* â”€â”€ Top bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--antologa-pure-white);
    border-bottom: 1px solid var(--antologa-border);
    z-index: 10;
}

.wm-header__title {
    font-family: var(--font-heading);
    font-size: var(--wm-title-font);
    font-weight: 800;
    color: var(--antologa-heading-ink);
    margin: 0;
    padding: 0;
    white-space: nowrap;
    line-height: 1.2;
    text-align: left;
    width: auto;
}

.wm-topbar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--wm-filter-gap);
    padding: 0 1.25rem var(--wm-header-pad-y);
    background: transparent;
    border-bottom: none;
    z-index: auto;
}

.wm-header .wm-legend {
    border-top: 1px solid var(--antologa-border);
}

.wm-topbar__filter-groups {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--wm-filter-gap);
    width: 100%;
}

.wm-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: var(--wm-filter-row-gap);
    min-width: 0;
    width: 100%;
}

.wm-filter-row--primary {
    align-items: center;
    column-gap: 2.5rem;
    row-gap: 0.55rem;
}

.wm-filter-group {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--wm-label-gap);
    min-width: 0;
}

.wm-filter-group--scroll {
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
}

.wm-filter-group__chips {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    align-items: center;
}

.wm-filter-group__chips--scroll {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.15rem;
    max-width: min(100%, 52rem);
}

.wm-filter-group__chips--scroll::-webkit-scrollbar {
    height: 0.25rem;
}

.wm-filter-group__chips--scroll::-webkit-scrollbar-thumb {
    background: var(--antologa-light-gray);
    border-radius: 999rem;
}

.wm-topbar__filters {
    flex: 1;
    min-width: 0;
    width: 100%;
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1px;
}

.wm-topbar__filters::-webkit-scrollbar {
    display: none;
}

.wm-filter-label {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--antologa-heading-ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    width: auto;
    min-width: 0;
    padding-top: 0.15rem;
}

.wm-topbar__search {
    display: none;
}

.wm-filter-chip {
    appearance: none;
    font-family: inherit;
    font-size: var(--wm-chip-font);
    font-weight: 600;
    min-height: var(--wm-chip-min-h);
    padding: var(--wm-chip-pad-y) var(--wm-chip-pad-x);
    border-radius: 999rem;
    border: 1.5px solid var(--antologa-border);
    background: var(--antologa-pure-white);
    color: var(--antologa-slate-700);
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.wm-filter-chip__icon {
    font-size: var(--wm-chip-icon) !important;
    width: var(--wm-chip-icon);
    height: var(--wm-chip-icon);
    flex-shrink: 0;
}

.wm-filter-chip__dot {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wm-filter-chip__label {
    font-size: inherit;
    font-weight: inherit;
}

.wm-filter-chip .mud-button-label {
    font-size: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.wm-filter-chip:hover {
    border-color: var(--antologa-primary);
    color: var(--antologa-primary);
}

.wm-filter-chip--on {
    background: var(--antologa-primary, #078282);
    border-color: var(--antologa-primary, #078282);
    color: #fff;
}

.wm-filter-chip--on .wm-filter-chip__icon,
.wm-filter-chip--on .mud-icon-root,
.wm-filter-chip--on .wm-filter-chip__dot,
.wm-filter-chip--on .wm-filter-chip__dot svg {
    color: #fff !important;
}

/* Mobile bar still uses MudButton — keep pill styling in sync */
.mud-button-root.wm-filter-chip {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    min-height: 2rem !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 999rem !important;
    border: 1.5px solid var(--antologa-border) !important;
    background: var(--antologa-ink) !important;
    color: var(--antologa-slate-700) !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.mud-button-root.wm-filter-chip .mud-icon-root {
    font-size: 0.95rem !important;
    margin-right: 0.15rem;
}

.mud-button-root.wm-filter-chip--on {
    background: var(--antologa-primary, #078282) !important;
    border-color: var(--antologa-primary, #078282) !important;
    color: #fff !important;
}

.mud-button-root.wm-filter-chip--on .mud-icon-root {
    color: #fff !important;
}

.wm-filter-separator {
    width: 1px;
    height: 1.25rem;
    background: var(--antologa-border);
    flex-shrink: 0;
    align-self: center;
    margin: 0 0.25rem;
}

/* ── Type legend bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* ── Pin-family key ───────────────────────────────────────────────────────────
   Wonders and affiliated businesses share the map. They are told apart by pin
   SHAPE (teardrop vs. chip), not hue — the listing palette overlaps the wonder
   palette. These glyphs mirror PIN_SHAPES in antologa-maps.js. */

.wm-pinkey {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.3rem 1.25rem;
    background: var(--antologa-surface-50);
    border-bottom: 1px solid var(--antologa-border);
    z-index: 9;
}

.wm-pinkey__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--antologa-slate-600);
    white-space: nowrap;
}

.wm-pinkey__text {
    letter-spacing: 0.01em;
}

.wm-pinkey__glyph {
    width: 0.75rem;
    height: 0.9rem;
    flex-shrink: 0;
    background: currentColor;
}

/* Teardrop: round head tapering to a bottom point. */
.wm-pinkey__glyph--wonder {
    color: var(--antologa-primary);
    border-radius: 50% 50% 50% 50% / 42% 42% 62% 62%;
    clip-path: polygon(50% 100%, 0 62%, 0 0, 100% 0, 100% 62%);
}

/* Chip: rounded square with a squared-off base, matching the business marker. */
.wm-pinkey__glyph--business {
    color: var(--antologa-tertiary);
    border-radius: 3px;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 62% 72%, 50% 100%, 38% 72%, 0 72%);
}

.wm-legend {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--wm-label-gap);
    padding: var(--wm-header-pad-y) 1.25rem calc(var(--wm-header-pad-y) + 0.15rem);
    background: var(--antologa-surface-50);
    border-bottom: none;
    z-index: auto;
    min-width: 0;
}

.wm-legend__items {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.15rem;
}

.wm-legend__items::-webkit-scrollbar {
    height: 0.25rem;
}

.wm-legend__items::-webkit-scrollbar-thumb {
    background: var(--antologa-light-gray);
    border-radius: 999rem;
}

.wm-legend::-webkit-scrollbar {
    display: none;
}

.wm-legend__label {
    margin: 0;
    padding-top: 0;
    text-align: left;
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    align-self: center;
}

.wm-legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    white-space: normal;
    flex: 0 0 auto;
    width: var(--wm-legend-item-w);
    min-width: var(--wm-legend-item-w);
    max-width: var(--wm-legend-item-w);
    cursor: pointer;
    transition: opacity 0.15s, background 0.15s;
    padding: 0.2rem 0.15rem;
    border-radius: 0.375rem;
    text-align: center;
    box-sizing: border-box;
}

.wm-legend-item:hover {
    opacity: 0.75;
    background: rgba(7, 130, 130, 0.06);
}

/* Active state adds NO layout width (ring via box-shadow, bold label — no
   padding/border) so the full 20-type row keeps fitting on one line. */
.wm-legend-item--on .wm-legend-item__name {
    color: var(--antologa-primary);
    font-weight: 800;
}

.wm-legend-item--on .wm-legend-item__dot {
    box-shadow: 0 0 0 2px var(--antologa-pure-white), 0 0 0 2.625px var(--antologa-primary);
}

.wm-legend-item--reset {
    padding-right: 0.15rem;
    margin-right: 0;
    border-right: none;
}

.wm-legend-item--reset .wm-legend-item__name {
    font-weight: 700;
    font-size: 0.6875rem;
    color: var(--antologa-slate-600);
}

.wm-legend-item--reset.wm-legend-item--on .wm-legend-item__name {
    color: var(--antologa-primary);
}

.wm-legend-item__icon {
    width: var(--wm-legend-dot);
    height: var(--wm-legend-dot);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: var(--wm-legend-icon-font) !important;
    color: var(--antologa-slate-500);
    flex-shrink: 0;
}

.wm-legend-item--on .wm-legend-item__icon {
    color: var(--antologa-primary);
}

.wm-legend-item__dot {
    width: var(--wm-legend-dot);
    height: var(--wm-legend-dot);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wm-legend-item__dot svg {
    width: var(--wm-legend-svg);
    height: var(--wm-legend-svg);
}

.wm-legend-item__name {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--antologa-slate-700);
    width: 100%;
    max-width: none;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

/* â”€â”€ Body (sidebar + map) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
}

/* â”€â”€ Desktop sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-sidebar {
    width: 22.5rem;
    flex-shrink: 0;
    background: var(--antologa-pure-white);
    border-right: 1px solid var(--antologa-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.25s ease;
    z-index: 5;
}

.wm-sidebar--collapsed {
    width: 0;
    border-right: none;
}

.wm-sidebar__search {
    flex-shrink: 0;
    padding: 0.75rem 1rem 0.35rem;
    border-bottom: 1px solid var(--antologa-surface-cool2);
}

.wm-sidebar__search .mud-input-control,
.wm-sidebar__search-field {
    width: 100%;
}

.wm-sidebar__search .mud-input-outlined-border {
    border-radius: 999rem !important;
}

.wm-sidebar__search .mud-input.mud-input-outlined {
    border-radius: 999rem !important;
}

.wm-sidebar__count {
    font-size: 0.75rem;
    color: var(--antologa-slate-400b);
    padding: 0.625rem 1.25rem 0.5rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--antologa-surface-cool2);
}

.wm-sidebar__list {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
}

/* TrailDiscoveryCard defaults to height:100% for grid cells — in this flex
   column that collapses every card to a hairline. List mode + intrinsic height. */
.wm-sidebar__list .tdc-card,
.wm-sheet__list .tdc-card,
.wm-sidebar__list .wm-card,
.wm-sheet__list .wm-card {
    height: 7rem;
    min-height: 7rem;
    flex-shrink: 0;
}

.wm-sidebar__list .tdc-card--list,
.wm-sheet__list .tdc-card--list {
    animation: none;
}

.wm-sidebar__list::-webkit-scrollbar {
    width: 4px;
}

.wm-sidebar__list::-webkit-scrollbar-thumb {
    background: var(--antologa-border);
    border-radius: 4px;
}

/* â”€â”€ Province header (sidebar + sheet grouping) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-province-header {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--antologa-primary);
    padding: 0.625rem 1.25rem 0.25rem;
    background: var(--antologa-surface-cool);
    border-bottom: 1px solid var(--antologa-surface-cool2);
    position: sticky;
    top: 0;
    z-index: 1;
}

/* â”€â”€ Wonder card (sidebar) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-card {
    display: flex;
    gap: 0;
    align-items: stretch;
    height: 7rem;
    min-height: 7rem;
    max-height: 7rem;
    padding: 0;
    cursor: pointer;
    border-bottom: 1px solid var(--antologa-surface-cool2);
    transition: background 0.15s;
    overflow: hidden;
}

.wm-card:hover {
    background: var(--antologa-surface-cool);
}

.wm-card--active {
    background: var(--antologa-info-bg2);
    border-left: 3px solid var(--antologa-primary);
}

.wm-card__thumb {
    width: 7rem;
    min-width: 7rem;
    max-width: 7rem;
    height: 7rem;
    border-radius: 0;
    flex-shrink: 0;
    background: var(--antologa-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wm-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wm-card__thumb > svg,
.wm-card__type-glyph svg {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.wm-card__type-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.wm-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem 0.7rem;
    justify-content: center;
}

.wm-card__name {
    font-weight: 800;
    font-size: 0.8125rem;
    line-height: 1.2;
    color: var(--antologa-slate-900);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.wm-card__location {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--antologa-slate-500);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-card__tags {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.wm-card__meta-icons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    overflow: hidden;
    margin-top: 0.05rem;
}

.wm-card__meta-sep {
    flex-shrink: 0;
    width: 1px;
    height: 1rem;
    background: var(--antologa-border, #d1d5db);
}

.wm-card__pack,
.wm-card__go {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.wm-card__pack-item,
.wm-card__go-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--antologa-surface-cool, #f3f4f6);
    color: var(--antologa-heading-ink);
    flex-shrink: 0;
    gap: 0.1rem;
}

.wm-card__pack-icon {
    font-size: 0.85rem !important;
    width: 0.85rem !important;
    height: 0.85rem !important;
}

.wm-card__rating-icon {
    font-size: 0.7rem;
    line-height: 1;
    color: var(--antologa-contrast, #E1A951);
}

.wm-card__rating-val {
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1;
    color: var(--antologa-heading-ink);
}

.wm-card__rating-badge {
    flex-shrink: 0;
    align-self: stretch;
    width: 2.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin: 0.45rem 0.45rem 0.45rem 0;
    border-radius: 0.55rem;
    background: var(--antologa-primary);
    color: #fff;
}

.wm-card__rating-badge-val {
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.wm-card__rating-badge-star {
    font-size: 0.7rem;
    line-height: 1;
    opacity: 0.95;
}

.wm-tag {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999rem;
    line-height: 1.2;
}

.wm-tag--type     { background: var(--antologa-primary-tint); color: var(--antologa-primary); }
.wm-tag--diff     { background: var(--antologa-warning-bg); color: var(--antologa-gold-700); }
.wm-tag--swim     { background: var(--antologa-primary-tint); color: var(--antologa-primary); }
.wm-tag--guide    { background: var(--antologa-warning-bg); color: var(--antologa-gold-700); }
.wm-tag--easy     { background: var(--antologa-primary-tint); color: var(--antologa-primary); }
.wm-tag--moderate { background: var(--antologa-warning-bg); color: var(--antologa-gold-700); }
.wm-tag--hard     { background: var(--antologa-danger-bg); color: var(--antologa-tertiary); }
.wm-tag--expert   { background: var(--antologa-info-bg); color: var(--antologa-heading-ink); }

/* â”€â”€ Map container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-map-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

#wm-map {
    width: 100%;
    height: 100%;
}

/* Center +/− glyphs inside Google's zoom control (default is top-aligned). */
.wm-map-wrap .gm-bundled-control button:not(.gm-fullscreen-control),
.wm-map-wrap .gmnoprint button:not(.gm-fullscreen-control),
.wm-map-wrap button.gm-control-active:not(.gm-fullscreen-control) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Google’s native fullscreen control is disabled — hide any leftover chrome.
   Must beat button.gm-control-active { display:inline-flex } above. */
.wm-map-wrap .gm-fullscreen-control,
.wm-map-wrap button.gm-fullscreen-control,
.wm-map-wrap .gm-fullscreen-control.gm-control-active,
.wm-map-wrap button[title="Toggle fullscreen view"],
.wm-map-wrap button[aria-label="Toggle fullscreen view"] {
    display: none !important;
}

.wm-map-wrap .gm-bundled-control button img,
.wm-map-wrap .gmnoprint button img,
.wm-map-wrap button.gm-control-active img {
    display: block;
    margin: 0 auto;
}

/* â”€â”€ MapLibre popup (replaces Leaflet tooltip) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-ml-popup .maplibregl-popup-content {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0.75rem !important;
    box-shadow: none !important;
}

.wm-ml-popup .maplibregl-popup-tip {
    display: none !important;
}

/* â”€â”€ Fit-all reset button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-fitall-btn {
    position: absolute;
    /* Clear Google logo + bottom-center scale bar */
    bottom: 3.5rem;
    left: 1rem;
    z-index: 20;
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--antologa-slate-700);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: background 0.15s, box-shadow 0.15s;
}

.wm-fitall-btn:hover {
    background: var(--antologa-surface-cool2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Custom fullscreen — matches Fit All / zoom stack chrome (replaces Google’s). */
.wm-fullscreen-btn.mud-button-root,
.wm-fullscreen-btn {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
    z-index: 20;
    width: 2.35rem !important;
    height: 2.35rem !important;
    min-width: 2.35rem !important;
    padding: 0 !important;
    background: var(--antologa-ink) !important;
    border: 1px solid var(--antologa-border) !important;
    border-radius: 0.5rem !important;
    color: var(--antologa-slate-700) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, box-shadow 0.15s;
}

.wm-fullscreen-btn:hover {
    background: var(--antologa-surface-cool2) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wm-fullscreen-btn .mud-icon-root {
    font-size: 1.25rem !important;
}

.wm-map-wrap:fullscreen,
.wm-map-wrap:-webkit-full-screen {
    width: 100%;
    height: 100%;
    background: var(--antologa-pure-white);
}

.wm-mapview-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: auto;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

/* Unified zoom stack (+ / % bar / −) — replaces Google’s native zoom control. */
.wm-zoom-stack {
    position: absolute;
    right: 0.75rem;
    bottom: 1.25rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 2.35rem;
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.wm-zoom-stack__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--antologa-slate-700);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
    height: 2.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.wm-zoom-stack__btn:hover {
    background: var(--antologa-surface-cool2);
}

.wm-zoom-stack__btn:focus-visible {
    outline: 2px solid var(--antologa-primary);
    outline-offset: -2px;
}

.wm-zoom-meter {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    padding: 0.2rem 0.25rem 0.35rem;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--antologa-border);
    border-bottom: 1px solid var(--antologa-border);
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    box-sizing: border-box;
}

.wm-zoom-meter__track {
    position: relative;
    width: 0.35rem;
    height: 3.25rem;
    border-radius: 999rem;
    background: var(--antologa-surface-cool2, #f3f4f6);
    overflow: hidden;
}

.wm-zoom-meter__fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0%;
    border-radius: inherit;
    background: var(--antologa-primary, #078282);
    transition: height 0.15s ease;
}

.wm-zoom-meter__label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--antologa-slate-700, #334155);
    line-height: 1;
    min-height: 0.75rem;
    text-align: center;
    width: 100%;
}

.wm-mapview-btn {
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--antologa-slate-700);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.15s, box-shadow 0.15s;
}

.wm-mapview-btn:hover {
    background: var(--antologa-surface-cool2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wm-mapview-btn--on {
    background: var(--antologa-primary);
    border-color: var(--antologa-primary);
    color: var(--antologa-ink);
}

/* â”€â”€ Map loading overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-map-loading {
    position: absolute;
    inset: 0;
    background: rgba(248,250,252,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

/* â”€â”€ Sidebar toggle button (desktop) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-toggle-btn {
    position: absolute;
    top: 50%;
    left: 22.5rem;   /* matches .wm-sidebar width */
    transform: translateY(-50%);
    z-index: 20;
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 0.4rem;
    cursor: pointer;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
    transition: left 0.25s ease, transform 0.25s ease, background 0.15s;
}

/* When the sidebar collapses, the toggle moves to the map edge */
.wm-sidebar--collapsed ~ .wm-toggle-btn {
    left: 0;
    transform: translateY(-50%);
}

.wm-toggle-btn:hover {
    background: var(--antologa-surface-cool2);
}

/* â”€â”€ Detail drawer (slides over map on desktop) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-detail {
    position: absolute;
    top: 0;
    right: 0;
    width: 23.75rem;
    height: 100%;
    background: var(--antologa-pure-white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    /* Stop the browser's pull-to-refresh from firing when the user swipes
       down to dismiss the drawer on mobile. */
    overscroll-behavior: none;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    /* Promote to its own compositor layer so the slide stays smooth even when
       nearby-pin DOM work happens right after opening. */
    will-change: transform;
}

.wm-detail--open {
    transform: translateX(0);
}

.wm-detail__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
}

.wm-detail__full {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.wm-detail__hero {
    width: 100%;
    height: clamp(7.5rem, 16dvh, 10.5rem);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--antologa-border); /* fallback; overridden by inline type colour */
}

.wm-detail__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wm-detail__body {
    padding: 1rem 1.5rem 1rem;
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.wm-detail__province {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--antologa-primary);
    margin-bottom: 0.35rem;
}

.wm-detail__name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--antologa-slate-900);
    margin: 0;
    line-height: 1.2;
}

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

.wm-detail__title-row .wm-detail__name {
    flex: 1 1 auto;
    min-width: 0;
}

.wm-detail__type-icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 999rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 79, 113, 0.18);
}

.wm-detail__type-icon svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

.wm-detail__head {
    flex-shrink: 0;
    padding: 0.85rem 1.5rem 0.35rem;
}

.wm-detail__head .wm-detail__desc {
    margin: 0.55rem 0 0;
}

.wm-detail__head .wm-more {
    margin: 0.15rem 0 0;
}

.wm-detail__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 0.5rem;
}

.wm-detail__desc--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.wm-more {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.25rem 0;
    border: 0;
    background: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--antologa-primary);
    cursor: pointer;
    min-height: 2rem;
}

.wm-detail__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.wm-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 0.6rem;
    background: var(--antologa-surface-cool2, #eef6f6);
}

.wm-stat__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--antologa-slate-400b);
}

.wm-stat__value {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--antologa-slate-900);
    line-height: 1.25;
}

.wm-meta-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.4rem;
}

.wm-meta-item__icon {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    font-size: 1.15rem;
    color: var(--antologa-primary);
    margin-top: 0.15rem;
}

.wm-meta-item__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--antologa-slate-400b);
}

.wm-meta-item__value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--antologa-slate-900);
}

/* Type value: small colored icon chip beside the label */
.wm-meta-item__value--type {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.wm-type-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wm-detail__cta {
    margin-top: 0.5rem;
}

/* ── Weather chip (detail drawer) ─────────────────────────────────────────── */

.wm-weather {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--antologa-surface-cool2);
    border-radius: 0.6rem;
    padding: 0.55rem 0.8rem;
    margin-bottom: 0.45rem;
}

.wm-season {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--antologa-heading-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wm-weather__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.wm-weather__temp {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--antologa-slate-900);
}

.wm-weather__desc {
    font-size: 0.75rem;
    color: var(--antologa-slate-500);
}

.wm-weather--loading {
    font-size: 0.75rem;
    color: var(--antologa-slate-500);
}

/* Compact 7-day strip for desktop detail panel (not the mobile forecast list) */
.wm-forecast-strip {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.35rem;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.2rem;
    border-radius: 0.65rem;
    background: var(--antologa-surface-cool2, #eef5f7);
    border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 10%, transparent);
}

.wm-forecast-strip__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    min-width: 0;
    text-align: center;
}

.wm-forecast-strip__dow {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--antologa-secondary, #004F71);
}

.wm-forecast-strip__icon {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    display: block;
}

.wm-forecast-strip__hi {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--antologa-heading-ink, #0f172a);
    line-height: 1.1;
}

.wm-forecast-strip__lo {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--antologa-slate-500, #64748b);
    line-height: 1.1;
}

html[data-theme="dark"] .wm-forecast-strip {
    background: color-mix(in srgb, var(--dm-bg-elevated, #1c2428) 92%, transparent);
    border-color: var(--dm-border, rgba(255, 255, 255, 0.12));
}

html[data-theme="dark"] .wm-forecast-strip__dow {
    color: var(--dm-text-muted, #94a3b8);
}

html[data-theme="dark"] .wm-forecast-strip__hi {
    color: var(--dm-text, #e8eef1);
}

/* ── Directions / drive-time (detail drawer) ─────────────────────────────── */

.wm-directions {
    margin-bottom: 0.75rem;
}

.wm-go {
    margin-bottom: 0.75rem;
}

.wm-go__row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.25rem;
}

.wm-go__modes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wm-go__mode,
.wm-go__signal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    min-width: 2.4rem;
    color: var(--antologa-heading-ink);
}

.wm-go__mode-icon {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 1.35rem;
}

.wm-go__mode-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wm-signal {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    flex-shrink: 0;
}

.wm-signal__bar {
    width: 4px;
    border-radius: 1px;
    background: var(--antologa-slate-300, #d1d5db);
}

.wm-signal__bar:nth-child(1) { height: 6px; }
.wm-signal__bar:nth-child(2) { height: 10px; }
.wm-signal__bar:nth-child(3) { height: 14px; }
.wm-signal__bar:nth-child(4) { height: 18px; }

.wm-signal--spotty .wm-signal__bar:nth-child(1),
.wm-signal--fair .wm-signal__bar:nth-child(-n+2),
.wm-signal--good .wm-signal__bar {
    background: var(--antologa-primary);
}

.wm-signal--none .wm-signal__bar {
    background: var(--antologa-slate-300, #d1d5db);
}

.wm-drivetime-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    margin: 16px 0;
    overflow: hidden;
}

.wm-drivetime-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    flex: 0 1 auto;
}

.wm-drivetime-icon {
    font-size: 16px;
    color: var(--antologa-primary);
    flex-shrink: 0;
    align-self: center;
}

.wm-drivetime-content {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-drivetime-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--antologa-text-primary);
    white-space: nowrap;
}

.wm-drivetime-unit {
    font-size: 11px;
    color: var(--antologa-text-secondary);
    white-space: nowrap;
}

.wm-drivetime-separator {
    color: var(--antologa-divider);
    flex-shrink: 0;
}

/* â”€â”€ Nearby load status (detail drawer) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-nearby-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--antologa-slate-500);
    margin-bottom: 1rem;
}

/* â”€â”€ Linked tours & guides (detail drawer) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-linked {
    margin-bottom: 1.25rem;
}

.wm-linked__title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--antologa-slate-400b);
    margin: 0 0 0.5rem;
}

.wm-listing-card {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid var(--antologa-surface-cool2);
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.wm-listing-card:hover {
    background: var(--antologa-surface-cool);
    border-color: var(--antologa-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wm-listing-card__thumb {
    width: 54px;
    height: 54px;
    border-radius: 0.5rem;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--antologa-border);
}

.wm-listing-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wm-listing-card__body {
    flex: 1;
    min-width: 0;
}

.wm-listing-card__title {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--antologa-slate-900);
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-listing-card__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
}

.wm-listing-card__rating {
    color: #f59e0b;
    font-weight: 700;
}

.wm-listing-card__price {
    color: var(--antologa-primary);
    font-weight: 800;
}

/* Skeleton placeholders while linked listings load */
.wm-listing-card--skeleton {
    cursor: default;
    pointer-events: none;
}

.wm-listing-card--skeleton .wm-listing-card__thumb {
    background: var(--antologa-surface-cool4);
    animation: wm-pulse 1.2s ease-in-out infinite;
}

.wm-skel-line {
    height: 0.6rem;
    border-radius: 999rem;
    background: var(--antologa-surface-cool4);
    margin-bottom: 0.4rem;
    animation: wm-pulse 1.2s ease-in-out infinite;
}

.wm-skel-line--w80 { width: 80%; }
.wm-skel-line--w40 { width: 40%; }

@keyframes wm-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

/* â”€â”€ Mobile type filter chips (inside bottom sheet) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-sheet__types {
    display: none; /* shown on mobile only */
    gap: 0.4rem;
    padding: 0 1rem 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
}

.wm-sheet__types::-webkit-scrollbar { display: none; }

.wm-sheet__types--businesses {
    border-top: 1px solid var(--antologa-border);
    padding-top: 0.5rem;
}

.wm-type-chip {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3em 0.75em;
    border-radius: 999rem;
    border: 1.5px solid var(--antologa-border);
    background: var(--antologa-pure-white);
    color: var(--antologa-slate-500);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.wm-type-chip--on {
    background: var(--chip-color, var(--antologa-primary));
    border-color: var(--chip-color, var(--antologa-primary));
    color: var(--antologa-ink);
}

/* â”€â”€ Mobile filter bar (chips + search icon, sits below the map) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-mobile-bar {
    display: none; /* unhidden in mobile media query */
    flex-shrink: 0;
    align-items: center;
    height: 3.25rem;
    background: var(--antologa-pure-white);
    border-top: 1px solid var(--antologa-border);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.wm-mobile-search-btn,
.wm-mobile-list-btn {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--antologa-slate-500);
    transition: color 0.15s;
}

.wm-mobile-search-btn { border-right: 1px solid var(--antologa-surface-cool2); }
.wm-mobile-list-btn   { border-left:  1px solid var(--antologa-surface-cool2); }

.wm-mobile-search-btn:active,
.wm-mobile-list-btn:active { color: var(--antologa-primary); }

.wm-mobile-bar__chips {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0.625rem;
    /* Right-edge fade so users see the chip row scrolls on narrow screens */
    -webkit-mask-image: linear-gradient(to right, var(--antologa-black) calc(100% - 1.5rem), transparent);
            mask-image: linear-gradient(to right, var(--antologa-black) calc(100% - 1.5rem), transparent);
}

.wm-mobile-bar__chips::-webkit-scrollbar { display: none; }

/* Icon-only filter chips on mobile — labels live in title/aria-label tooltips */
.wm-mobile-bar .wm-mobile-chip.mud-button-root,
.wm-mobile-bar .wm-mobile-chip.wm-filter-chip {
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 !important;
    border-radius: 999rem !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.wm-mobile-bar .wm-mobile-chip .mud-icon-root {
    font-size: 1.15rem !important;
    margin: 0 !important;
}

.wm-mobile-bar .wm-mobile-chip.wm-filter-chip--on {
    background: var(--antologa-primary) !important;
    border-color: var(--antologa-primary) !important;
    color: var(--antologa-ink) !important;
}

.wm-mobile-bar .wm-mobile-chip.wm-filter-chip--on .mud-icon-root {
    color: var(--antologa-ink) !important;
}

/* â”€â”€ Mobile floating search overlay (over map) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-mobile-search-bar {
    display: none; /* desktop: hidden regardless of Blazor state */
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    right: 0.625rem;
    z-index: 50;
    align-items: center;
    gap: 0.375rem;
    background: var(--antologa-pure-white);
    border-radius: 0.875rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    padding: 0.25rem 0.375rem 0.25rem 0.75rem;
}

/* â”€â”€ Mobile bottom sheet â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-sheet {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: var(--antologa-pure-white);
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    z-index: 40;
    max-height: 70dvh;
    overflow: hidden;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.wm-sheet--open {
    transform: translateY(0);
}

/* Large tap-friendly handle area */
.wm-sheet__handle {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.wm-sheet__handle::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--antologa-slate-300);
    border-radius: 2px;
}

.wm-sheet__list {
    padding: 0.75rem 0.75rem 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* â”€â”€ Pin hover tooltip (our own card, anchored to .amap-pin â€” no Google InfoWindow) â”€â”€ */

.wm-tooltip-card {
    background: var(--antologa-pure-white);
    border-radius: 0.75rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    padding: 0.75rem 0.875rem;
    min-width: 180px;
    max-width: 240px;
    font-family: var(--font-heading);
    pointer-events: none;

    /* Anchored to .amap-pin (position: relative; overflow: visible in map-pins.css) */
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px) scale(0.96);
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 20;
}

.amap-pin--tooltip-open .wm-tooltip-card {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px) scale(1);
}

.amap-pin--tooltip-open {
    z-index: 30;   /* stack the hovered pin (and its card) above its neighbors */
}

.wm-tt-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wm-tt-emoji {
    font-size: 1.375rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.wm-tt-name {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--antologa-slate-900);
    margin: 0;
    line-height: 1.25;
}

.wm-tt-loc {
    font-size: 0.7rem;
    color: var(--antologa-slate-500);
    margin: 0.125rem 0 0;
}

.wm-tt-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.wm-tt-tag {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15em 0.55em;
    border-radius: 999rem;
}

.wm-tt-tag--swim {
    background: color-mix(in srgb, var(--antologa-primary) 18%, transparent);
    color: var(--antologa-primary);
}

.wm-tt-tag--guide {
    background: color-mix(in srgb, var(--antologa-contrast) 22%, transparent);
    color: color-mix(in srgb, var(--antologa-contrast) 70%, var(--antologa-dark));
}

.wm-tt-hint {
    font-size: 0.6rem;
    color: var(--antologa-slate-400b);
    text-align: center;
    margin: 0;
}

/* â”€â”€ Marker cluster badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--antologa-pure-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.28);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--antologa-ink);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wm-cluster:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.wm-cluster--small  { background: #0ea5e9; }
.wm-cluster--medium { background: var(--antologa-primary); }
.wm-cluster--large  { background: var(--antologa-secondary); }

/* â”€â”€ Detail drag handle (visible on mobile only) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-detail__handle-bar {
    display: none; /* shown only in mobile media query */
    flex-shrink: 0;
    width: 100%;
    min-height: 1.5rem;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.wm-detail__handle-bar::after {
    content: '';
    display: block;
    width: 2.75rem;
    height: 0.25rem;
    background: var(--antologa-slate-300);
    border-radius: 999rem;
}

/* â”€â”€ Detail backdrop (mobile only â€” dismisses on tap) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wm-detail-backdrop {
    display: none;
}

/* ── Empty filter state ───────────────────────────────────────────────────── */

.wm-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.wm-empty__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--antologa-slate-900);
    margin: 0;
}

.wm-empty__sub {
    font-size: 0.8125rem;
    color: var(--antologa-slate-500);
    margin: 0 0 0.5rem;
    max-width: 16rem;
}

.wm-empty__reset {
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 999rem !important;
}

/* ── Compact map chrome (pin key + types + business toggle) ─────────────────
   Desktop: hidden — the top pinkey/legend bars cover this.
   Compact (≤1280): floated over the map so pin literacy survives without the
   desktop chrome bars. */

.wm-map-chrome {
    display: none;
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 25;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    max-width: calc(100% - 1.25rem);
}

.wm-map-chrome__pinkey {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.65rem;
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.625rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wm-map-chrome__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.wm-map-chrome__btn {
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.5rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--antologa-slate-700);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.wm-map-chrome__btn--on {
    background: var(--antologa-primary);
    border-color: var(--antologa-primary);
    color: var(--antologa-ink);
}

.wm-map-chrome__panel {
    display: none;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: min(22rem, 92vw);
    max-height: 40dvh;
    overflow-y: auto;
    padding: 0.5rem;
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.wm-map-chrome__panel--open {
    display: flex;
}

.wm-nearby-key {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--antologa-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.wm-nearby-key__item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--antologa-slate-700);
}

.wm-nearby-key__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.wm-geo-msg {
    font-size: 0.75rem;
    color: var(--antologa-slate-500);
    background: var(--antologa-surface-cool2);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0.35rem;
}

/* Keyboard focus for interactive legend / type chips / cards */
.wm-legend-item:focus-visible,
.wm-type-chip:focus-visible,
.wm-card:focus-visible,
.wm-map-chrome__btn:focus-visible {
    outline: 2px solid var(--antologa-primary);
    outline-offset: 2px;
}

/* ── Compact / tablet / phone shell (≤1280 — matches site bottom-nav) ───────
   Nav flips to mobile chrome at 1280px. This page must do the same: subtract
   the bottom nav, drop the desktop sidebar, and go map-first with sheets. */

@media (max-width: 1280px) {
    /* Hide desktop chrome */
    .wm-header    { display: none; }
    .wm-pinkey    { display: none; }
    .wm-sidebar   { display: none; }
    .wm-toggle-btn{ display: none; }

    /* Compact map overlays replace the hidden chrome bars */
    .wm-map-chrome { display: flex; }

    /* map-chrome owns top-left — park Roadmap/Traffic under it */
    .wm-mapview-controls {
        top: 6.75rem;
        left: 0.5rem;
    }

    .wm-mapview-btn {
        padding: 0.4rem 0.55rem;
        font-size: 0.6875rem;
    }

    .wm-fitall-btn {
        bottom: 0.85rem;
        left: 0.5rem;
        right: auto;
        padding: 0.4rem 0.65rem;
        font-size: 0.6875rem;
    }

    .wm-fullscreen-btn {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.15rem;
        height: 2.15rem;
    }

    .wm-zoom-stack {
        right: 0.5rem;
        bottom: 0.85rem;
        width: 2.15rem;
    }

    .wm-zoom-stack__btn {
        height: 1.9rem;
        font-size: 1.05rem;
    }

    .wm-zoom-meter__track {
        height: 2.5rem;
    }

    .wm-zoom-meter__label {
        font-size: 0.5625rem;
    }

    /* Show the bottom filter bar — above map chrome; below site bottom nav (1200) */
    .wm-mobile-bar {
        display: flex;
        z-index: 1100;
        position: relative;
    }

    /* Show the mobile list sheet — match pin detail height: fill map area under topbar */
    .wm-sheet {
        display: flex;
        flex-direction: column;
        top: 0;
        bottom: 0;
        max-height: none;
        height: auto;
        z-index: 900;
    }

    /* Show the in-sheet type filter row */
    .wm-sheet__types {
        display: flex;
        flex-shrink: 0;
    }

    /* Detail drawer: same vertical span as list sheet — top nav edge → above
       site bottom nav + in-page filter bar (3.25rem) */
    .wm-detail {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        top: var(--wm-nav-height, 6rem);
        bottom: var(--bottom-chrome, 4.5rem);
        height: auto;
        border-radius: 1.25rem 1.25rem 0 0;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
        transform: translateY(110%);
        z-index: 900; /* below .nb-bottom-nav (1200) */
        padding-bottom: env(safe-area-inset-bottom, 0px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .wm-detail--open {
        transform: translateY(0);
    }

    .wm-detail__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wm-sheet__handle {
        min-height: 2.75rem;
    }

    .wm-mobile-search-bar {
        display: flex;
    }

    .wm-detail__handle-bar {
        display: flex;
        min-height: 1.75rem;
        flex-shrink: 0;
    }

    /* Dim backdrop — must sit ABOVE the filter bar so taps dismiss the drawer
       instead of mutating filters underneath. Detail drawer is 1100. */
    .wm-detail-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: var(--wm-nav-height, 6rem);
        bottom: var(--bottom-chrome, 4.5rem);
        background: rgba(0, 0, 0, 0.35);
        z-index: 850;
        cursor: pointer;
    }
}

.wm-detail__head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--antologa-pure-white);
    padding: 0.85rem 1.5rem 0.75rem;
    border-bottom: 1px solid var(--antologa-border);
}

.wm-detail__head .wm-detail__name {
    margin-bottom: 0;
}

.wm-section {
    margin: 0 0 1.25rem;
}

.wm-section__title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--antologa-primary);
    margin: 0 0 0.5rem;
}

.wm-section__text {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 0.5rem;
}

.wm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    padding: 0;
    list-style: none;
}

.wm-chips--facts {
    margin: 0.15rem 0 0.85rem;
}

.wm-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 100%;
    min-height: 2rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999rem;
    background: var(--antologa-surface-cool2, #eef6f6);
    color: var(--antologa-heading-ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.wm-chip__icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
}

.wm-chip--alert {
    background: var(--antologa-danger-bg);
    color: var(--antologa-terciary);
}

.wm-safety__place {
    margin: -0.2rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--antologa-slate-500);
}

.wm-fact {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 0.65rem;
}

.wm-fact__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
    color: var(--antologa-primary);
    margin-top: 0.1rem;
}

.wm-fact__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.wm-fact__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--antologa-slate-400b);
}

.wm-fact__value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--antologa-slate-900);
    line-height: 1.35;
}

.wm-fact__value--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.wm-notes {
    margin: 0.15rem 0 0;
}

.wm-notes__summary {
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--antologa-primary);
    list-style: none;
    min-height: 2rem;
    display: flex;
    align-items: center;
}

.wm-notes__summary::-webkit-details-marker {
    display: none;
}

.wm-notes[open] .wm-notes__summary {
    margin-bottom: 0.4rem;
}

.wm-notes .wm-section__text:last-child {
    margin-bottom: 0;
}

.wm-access {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.wm-access__chip {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999rem;
    background: var(--antologa-success-bg);
    color: var(--antologa-success);
}

.wm-warn {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0 0 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--antologa-warning-bg);
    color: var(--antologa-gold-700);
}

.wm-warn__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
    margin-top: 0.05rem;
}

.wm-warn__title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 800;
}

.wm-warn__text {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    font-weight: 500;
}

.wm-bizrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border: 0;
    border-bottom: 1px solid var(--antologa-border);
    background: transparent;
    cursor: pointer;
}

.wm-bizrow:hover,
.wm-bizrow--on {
    background: var(--antologa-surface-cool);
}

.wm-bizrow__dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999rem;
    flex-shrink: 0;
}

.wm-bizrow__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wm-bizrow__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--antologa-slate-900);
}

.wm-bizrow__meta {
    font-size: 0.7rem;
    color: var(--antologa-slate-500);
}
/* ═══════════════════════════════════════════════════════════════════════════
   Map UX optimization — sheet snaps, carousel, compact detail, chrome, trail HUD
   ═══════════════════════════════════════════════════════════════════════════ */

.wm-map-wrap--focused .amap-pin:not(.amap-pin--selected):not(.amap-pin--nearby) {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

/* Desktop compact header */
.wm-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: var(--wm-header-pad-y) 1.25rem;
}

.wm-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.wm-header__filters-btn {
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 999rem !important;
}

.wm-header__filters {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.2s ease;
}

.wm-header__filters--open {
    max-height: 28rem;
    opacity: 1;
    overflow: visible;
}

.wm-header .wm-topbar,
.wm-header .wm-legend {
    padding-top: 0;
}

/* Primary FAB stack (locate + map type) */
.wm-fab-stack {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.wm-fab {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999rem;
    border: 1px solid var(--antologa-border);
    background: var(--antologa-pure-white);
    color: var(--antologa-slate-700);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.wm-fab:hover {
    background: var(--antologa-surface-cool2);
}

.wm-fab--on {
    background: var(--antologa-primary, #078282);
    border-color: var(--antologa-primary, #078282);
    color: #fff;
}

.wm-fab--on .mud-icon-root {
    color: #fff !important;
}

.wm-fab__label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wm-chrome-more {
    position: absolute;
    top: 0.75rem;
    right: 3.5rem;
    z-index: 30;
}

.wm-chrome-more__menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 10rem;
    padding: 0.35rem;
    background: var(--antologa-pure-white);
    border: 1px solid var(--antologa-border);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    flex-direction: column;
    gap: 0.15rem;
}

.wm-chrome-more__menu--open {
    display: flex;
}

.wm-chrome-more__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--antologa-slate-700);
    cursor: pointer;
    text-align: left;
}

.wm-chrome-more__item:hover,
.wm-chrome-more__item--on {
    background: var(--antologa-surface-cool2);
    color: var(--antologa-primary);
}

/* Hide legacy chrome by default when new FAB stack is present — toggled via classes */
.wm-page--ux .wm-fitall-btn,
.wm-page--ux .wm-fullscreen-btn,
.wm-page--ux .wm-zoom-stack,
.wm-page--ux .wm-mapview-controls {
    display: none !important;
}

/* Trail HUD — Distance | Difficulty | Weather */
.wm-trail-hud {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 28;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.65rem 0.9rem;
    background: color-mix(in srgb, var(--antologa-secondary, #004F71) 88%, #000);
    color: #fff;
    border-radius: 0.85rem;
    box-shadow: 0 4px 16px rgba(0, 79, 113, 0.28);
    min-width: 0;
    pointer-events: none;
}

.wm-trail-hud--white {
    background: var(--antologa-pure-white, #fff);
    color: var(--antologa-heading-ink, #0f172a);
    border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 12%, transparent);
    box-shadow: 0 8px 24px rgba(0, 79, 113, 0.16);
    pointer-events: auto;
}

.wm-trail-hud__col {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 3.75rem;
}

.wm-trail-hud__row {
    display: none;
}

.wm-trail-hud__label {
    opacity: 0.72;
    font-weight: 600;
    font-size: 0.68rem;
}

.wm-trail-hud__value {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.15;
    color: #fff;
}

.wm-trail-hud--white .wm-trail-hud__label {
    opacity: 0.65;
    color: var(--antologa-slate-600, #475569);
}

.wm-trail-hud--white .wm-trail-hud__value {
    color: var(--antologa-heading-ink, #0f172a);
}

.wm-trail-hud__value--compact {
    font-size: 0.85rem;
    max-width: 5.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-trail-hud__weather {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: -0.2rem -0.15rem -0.2rem 0;
    padding: 0.2rem 0.35rem;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    pointer-events: auto;
    min-width: 0;
}

.wm-trail-hud__weather--loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    pointer-events: none;
}

.wm-trail-hud__weather--on {
    background: color-mix(in srgb, var(--antologa-primary, #078282) 14%, transparent);
}

.wm-trail-hud__weather-icon {
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
    flex-shrink: 0;
}

.wm-trail-hud__weather .wm-trail-hud__col {
    min-width: 0;
    text-align: left;
}

/* Glance row + compact detail */
.wm-detail__hero-actions {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 6;
    display: flex;
    gap: 0.4rem;
}

.wm-detail__hero-btn.mud-button-root,
.wm-detail__hero-btn {
    width: 2.15rem !important;
    height: 2.15rem !important;
    min-width: 2.15rem !important;
    background: var(--antologa-ink) !important;
    border: 1px solid var(--antologa-border) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
    color: var(--antologa-slate-700) !important;
}

.wm-detail__hero {
    position: relative;
}

.wm-detail--compact .wm-detail__hero {
    height: 140px;
}

.wm-detail__glance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0.35rem 0 0.15rem;
    font-size: 0.8125rem;
    color: var(--antologa-slate-600);
}

.wm-detail__glance-sep {
    opacity: 0.45;
}

.wm-detail__season-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--antologa-primary);
}

.wm-detail__expand {
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 999rem !important;
    margin: 0.75rem 1.25rem 0.25rem;
}

.wm-detail--compact .wm-detail__body--full {
    display: block;
}

.wm-detail--expanded .wm-detail__expand {
    display: none;
}

.wm-detail__cta.mud-button-root {
    border-radius: 999rem !important;
    text-transform: none !important;
    font-weight: 700 !important;
}

.wm-linked--strip {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.wm-linked--strip::-webkit-scrollbar { display: none; }

.wm-listing-card--strip {
    flex: 0 0 11.5rem;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
}

.wm-listing-card--strip .wm-listing-card__thumb {
    width: 100%;
    height: 5.5rem;
}

/* Sheet snap heights + carousel */
.wm-sheet__count {
    padding: 0 1rem 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--antologa-slate-700);
    flex-shrink: 0;
}

.wm-carousel {
    display: none;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 0.85rem 0.85rem;
    flex-shrink: 0;
    scrollbar-width: none;
}

.wm-carousel::-webkit-scrollbar { display: none; }

.wm-carousel__item {
    scroll-snap-align: center;
}

.wm-filters-sheet {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 950;
    background: rgba(15, 23, 42, 0.35);
}

.wm-filters-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 70dvh;
    overflow-y: auto;
    background: var(--antologa-pure-white);
    border-radius: 1.25rem 1.25rem 0 0;
    padding: 0.75rem 1rem 1.5rem;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.16);
}

.wm-filters-sheet__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--antologa-slate-900);
}

.wm-mobile-chip-label {
    display: none;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .wm-page--ux .wm-fab-stack {
        top: 0.55rem;
        right: 0.5rem;
    }

    .wm-page--ux .wm-chrome-more {
        top: 0.55rem;
        right: 3.35rem;
    }

    .wm-page--ux .wm-trail-hud {
        top: auto;
        bottom: auto;
        left: auto;
        position: relative;
    }

    /* Floating browse chrome — no drawer background; map shows through */
    .wm-page--ux .wm-sheet.wm-sheet--float {
        display: flex;
        flex-direction: column;
        top: auto;
        left: 0;
        right: 0;
        /* Sit just above bottom nav — ~50% less gap than prior float offset */
        bottom: max(3.55rem, calc(var(--bottom-nav-height, 4.5rem) - 0.85rem));
        height: auto;
        max-height: none;
        transform: none;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        overflow: visible;
        pointer-events: none;
        z-index: 40;
        padding: 0;
        gap: 0.25rem;
    }

    .wm-page--ux .wm-sheet.wm-sheet--float > * {
        pointer-events: auto;
    }

    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__handle,
    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__count,
    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__types,
    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__list {
        display: none !important;
    }

    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__toolbar {
        display: flex;
        padding: 0 0.75rem;
    }

    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__chip,
    .wm-page--ux .wm-sheet.wm-sheet--float .wm-sheet__tool {
        box-shadow: 0 2px 10px rgba(0, 79, 113, 0.16);
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .wm-page--ux .wm-sheet__province {
        display: block;
        margin: 0;
        padding: 0 1rem;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        color: var(--antologa-heading-ink, #0f172a);
        text-shadow:
            0 1px 2px rgba(255, 255, 255, 0.95),
            0 0 8px rgba(255, 255, 255, 0.7);
    }

    .wm-page--ux .wm-sheet.wm-sheet--float .wm-carousel {
        display: flex;
        padding: 0 0.75rem 0;
        background: transparent;
    }

    .wm-page--ux .wm-sheet.wm-sheet--float .wm-carousel__item {
        filter: drop-shadow(0 6px 16px rgba(0, 79, 113, 0.22));
    }

    .wm-page--ux .wm-sheet.wm-sheet--cards-hidden .wm-sheet__province,
    .wm-page--ux .wm-sheet.wm-sheet--cards-hidden .wm-carousel {
        display: none !important;
    }

    /* Retire old peek/half/full drawer heights when float is active */
    .wm-page--ux .wm-sheet--peek,
    .wm-page--ux .wm-sheet--half,
    .wm-page--ux .wm-sheet--full,
    .wm-page--ux .wm-sheet--closed {
        /* float class owns layout */
    }

    /* Compact / expanded detail as bottom sheet */
    .wm-page--ux .wm-detail {
        top: auto;
        bottom: var(--bottom-chrome, 4.5rem);
        height: 48dvh;
        max-height: 88dvh;
        transform: translateY(110%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .wm-page--ux .wm-detail--open {
        transform: translateY(0);
    }

    .wm-page--ux .wm-detail--open.wm-detail--compact {
        height: 48dvh;
    }

    .wm-page--ux .wm-detail--open.wm-detail--expanded {
        height: 88dvh;
    }

    .wm-page--ux .wm-detail-backdrop {
        bottom: var(--bottom-chrome, 4.5rem);
    }

    /* Labeled mobile chips */
    .wm-page--ux .wm-mobile-bar .wm-mobile-chip.mud-button-root,
    .wm-page--ux .wm-mobile-bar .wm-mobile-chip.wm-filter-chip {
        width: auto;
        min-width: 0;
        height: 2.35rem;
        padding: 0 0.65rem !important;
        gap: 0.3rem;
        border-radius: 999rem !important;
    }

    .wm-page--ux .wm-mobile-chip-label {
        display: inline;
    }

    .wm-page--ux .wm-mobile-bar .wm-mobile-chip .mud-icon-root {
        font-size: 1rem !important;
    }

    .wm-filters-sheet--open {
        display: block;
    }
}

@media (min-width: 1281px) {
    .wm-page--ux .wm-detail--compact .wm-detail__body--full,
    .wm-page--ux .wm-detail--expanded .wm-detail__body--full {
        display: block;
    }

    .wm-page--ux .wm-detail__expand {
        display: none !important;
    }

    .wm-page--ux .wm-detail--compact .wm-detail__hero {
        height: 12.5rem;
    }
}
.wm-sheet--behind-detail {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%) !important;
}
/* ── Scale / legibility overrides for map UX sheets ─────────────────────── */

.wm-detail__peek {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem 0.25rem;
    flex-shrink: 0;
}

.wm-detail--expanded .wm-detail__peek,
.wm-detail--expanded .wm-detail__expand {
    display: none;
}

/* Keep full intel in the DOM — compact sheets scroll; expanded sheets grow */
.wm-detail--compact .wm-detail__body--full {
    display: block;
}

.wm-detail__name {
    font-size: clamp(1.125rem, 2.8vw, 1.5rem);
}

.wm-detail__glance {
    font-size: clamp(0.75rem, 2.1vw, 0.875rem);
    gap: 0.3rem 0.45rem;
}

.wm-detail__season-line {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.wm-detail__desc {
    font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
    line-height: 1.5;
}

.wm-detail--compact .wm-detail__hero {
    height: clamp(7.5rem, 28vw, 11rem);
}

.wm-detail--expanded .wm-detail__hero {
    height: clamp(10rem, 34vw, 14rem);
}

.wm-trail-hud {
    font-size: clamp(0.7rem, 1.9vw, 0.8125rem);
    min-width: clamp(8rem, 28vw, 11rem);
}

.wm-sheet__count {
    font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
    padding: 0 1rem 0.45rem;
}

.wm-carousel {
    padding: 0 clamp(0.65rem, 2.5vw, 1rem) clamp(0.65rem, 2vw, 0.95rem);
    gap: clamp(0.55rem, 2vw, 0.85rem);
}

.wm-fab {
    width: clamp(2.35rem, 7vw, 2.75rem);
    height: clamp(2.35rem, 7vw, 2.75rem);
}

.wm-fab__label {
    font-size: clamp(0.5625rem, 1.6vw, 0.6875rem);
}

.wm-mobile-chip-label {
    font-size: clamp(0.625rem, 1.8vw, 0.75rem);
}

@media (max-width: 1280px) {
    .wm-page--ux .wm-sheet--peek:not(.wm-sheet--float),
    .wm-page--ux .wm-sheet--half:not(.wm-sheet--float),
    .wm-page--ux .wm-sheet--full:not(.wm-sheet--float) {
        /* legacy drawer heights only when not floating */
    }

    .wm-page--ux .wm-sheet--peek:not(.wm-sheet--float) {
        height: clamp(12.5rem, 34dvh, 20rem);
    }

    .wm-page--ux .wm-sheet--half:not(.wm-sheet--float) {
        height: clamp(22rem, 58dvh, 36rem);
    }

    .wm-page--ux .wm-sheet--full:not(.wm-sheet--float) {
        height: min(92dvh, 52rem);
    }

    .wm-page--ux .wm-detail--open.wm-detail--compact {
        height: clamp(22rem, 56dvh, 34rem);
    }

    .wm-page--ux .wm-detail--open.wm-detail--expanded {
        height: min(90dvh, 48rem);
    }

    .wm-page--ux .wm-detail {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .wm-page--ux .wm-detail__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    }

    .wm-page--ux .wm-detail__head {
        flex-shrink: 0;
    }

    .wm-page--ux .wm-mobile-bar .wm-mobile-chip.mud-button-root,
    .wm-page--ux .wm-mobile-bar .wm-mobile-chip.wm-filter-chip {
        min-height: 2.5rem;
        padding: 0 0.7rem !important;
        gap: 0.35rem;
    }
}

@media (min-width: 1281px) {
    .wm-page--ux .wm-detail__peek {
        display: none;
    }

    .wm-page--ux .wm-detail__expand {
        display: none !important;
    }

    .wm-page--ux .wm-detail--compact .wm-detail__body--full,
    .wm-page--ux .wm-detail--expanded .wm-detail__body--full {
        display: block;
    }

    .wm-page--ux .wm-detail--compact .wm-detail__hero,
    .wm-page--ux .wm-detail--expanded .wm-detail__hero {
        height: clamp(11rem, 22vh, 14rem);
    }
}
/* Avoid duplicate CTAs while compact peek is visible */
.wm-detail--compact .wm-detail__body--full .wm-directions,
.wm-detail--compact .wm-detail__body--full .wm-detail__cta {
    display: none;
}

html[data-theme="dark"] .wm-zoom-stack,
html[data-theme="dark"] .wm-mapview-btn {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border-color: var(--dm-border);
}

/* Chrome matches navbar void; list cards stay elevated --dm-surface via paper tokens */
html[data-theme="dark"] .wm-page,
html[data-theme="dark"] .wm-header,
html[data-theme="dark"] .wm-sidebar,
html[data-theme="dark"] .wm-detail,
html[data-theme="dark"] .wm-sheet:not(.wm-sheet--float) {
    background: var(--dm-bg);
    border-color: var(--dm-border);
}

html[data-theme="dark"] .wm-header__title {
    color: var(--dm-text);
}

html[data-theme="dark"] .wm-header__filters-btn {
    color: var(--dm-text) !important;
    border-color: var(--dm-border-strong) !important;
}

html[data-theme="dark"] .wm-header__filters-btn.mud-button-filled,
html[data-theme="dark"] .wm-header__filters-btn.mud-button-filled-primary {
    color: var(--antologa-ink) !important;
    background-color: var(--antologa-primary) !important;
    border-color: var(--antologa-primary) !important;
}

html[data-theme="dark"] .wm-filter-label {
    color: var(--dm-text-muted);
}

html[data-theme="dark"] .wm-season {
    color: var(--dm-primary-interactive);
}

html[data-theme="dark"] .wm-toggle-btn {
    background: var(--dm-surface);
    border-color: var(--dm-border-strong);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .wm-toggle-btn:hover {
    background: var(--dm-surface-2);
}

html[data-theme="dark"] .wm-province-header {
    background: var(--dm-bg-elevated);
    border-bottom-color: var(--dm-border);
}

html[data-theme="dark"] .wm-sidebar__search,
html[data-theme="dark"] .wm-sidebar__count {
    border-bottom-color: var(--dm-border);
}

/* ── Single surface: browse sheet XOR place card (no stacked drawers) ───── */

.wm-sheet--hidden {
    display: none !important;
}

.wm-detail-backdrop--clear {
    background: transparent !important;
}

@media (max-width: 1280px) {
    /* Fixed place overlay — column of guides rail + place card (not a swipe drawer) */
    .wm-page--ux .wm-detail.wm-detail--place.wm-detail--fixed {
        top: auto;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(max(4.5rem, var(--bottom-nav-height, 4.5rem)) + 0.75rem) !important;
        width: auto;
        height: auto;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
        z-index: 920;
        transform: none !important;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        overflow: visible;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
        pointer-events: none;
    }

    .wm-page--ux .wm-detail.wm-detail--place.wm-detail--fixed.wm-detail--open {
        display: none !important;
        transform: none !important;
    }

    .wm-page--ux .wm-detail.wm-detail--fixed .wm-detail__handle-bar,
    .wm-page--ux .wm-detail.wm-detail--fixed .wm-detail__full {
        display: none !important;
    }

    /* Place intel lives in HUD; linked guides float like wonder cards */
    .wm-page--ux .wm-detail.wm-detail--place.wm-detail--fixed {
        display: none !important;
    }

    .wm-page--ux .wm-detail.wm-detail--fixed .wm-guides-rail,
    .wm-page--ux .wm-detail.wm-detail--fixed .wm-detail__focus {
        display: none !important;
    }

    /* Business / non-fixed still use drawer sheet */
    .wm-page--ux .wm-detail.wm-detail--place:not(.wm-detail--fixed) {
        top: auto;
        bottom: max(4.5rem, var(--bottom-nav-height, 4.5rem));
        height: clamp(18rem, 45dvh, 28rem);
        max-height: min(48dvh, 30rem);
        border-radius: 1.25rem 1.25rem 0 0;
        box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
        z-index: 920;
        transform: translateY(110%);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .wm-page--ux .wm-detail.wm-detail--place:not(.wm-detail--fixed).wm-detail--open {
        transform: translateY(0);
    }

    .wm-page--ux .wm-detail__peek,
    .wm-page--ux .wm-detail__expand {
        display: none !important;
    }

    .wm-page--ux .wm-sheet--behind-detail {
        display: none !important;
    }

    .wm-page--ux .wm-detail-backdrop {
        background: transparent;
        z-index: 850;
    }

    .wm-page--ux .wm-selected-top {
        display: flex;
    }

    .wm-page--ux .wm-fab-stack--hidden,
    .wm-page--ux .wm-chrome-more--hidden {
        display: none !important;
    }

    .wm-page--ux.wm-page--selected .wm-trail-hud {
        top: auto;
    }

    /* Left/right mobile stack: HUD full width, forecast left + summary right */
    .wm-page--ux .wm-selected-stack {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        position: absolute;
        top: 3.65rem;
        left: 0.45rem;
        right: 0.45rem;
        z-index: 42;
        width: auto;
        max-width: none;
        min-width: 0;
        pointer-events: none;
        box-sizing: border-box;
    }

    .wm-page--ux .wm-selected-stack__body {
        display: flex;
        align-items: flex-start;
        gap: 0.4rem;
        min-width: 0;
        width: 100%;
        pointer-events: none;
    }

    .wm-page--ux .wm-selected-stack .wm-trail-hud,
    .wm-page--ux .wm-selected-stack .wm-forecast,
    .wm-page--ux .wm-selected-stack .wm-place-summary {
        pointer-events: auto;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        float: none;
        box-sizing: border-box;
    }

    .wm-page--ux .wm-selected-stack .wm-trail-hud {
        align-self: stretch;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .wm-page--ux .wm-selected-stack .wm-forecast {
        flex: 0 1 11.25rem;
        width: 11.25rem;
        max-width: min(11.25rem, 46%);
    }

    .wm-page--ux .wm-selected-stack .wm-place-summary {
        flex: 0 1 15rem;
        width: min(15rem, 52%);
        max-width: min(15rem, 52%);
        margin-left: auto;
    }
}

.wm-detail__focus {
    display: none;
}

/* Guides rail — avatar chips above the fixed place card */
.wm-guides-rail {
    display: none;
}

.wm-guides-rail__track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0.1rem;
}

.wm-guides-rail__track::-webkit-scrollbar { display: none; }

.wm-guides-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    max-width: 11.5rem;
    min-height: 3.15rem;
    padding: 0.3rem 0.7rem 0.3rem 0.3rem;
    border-radius: 999rem;
    border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 14%, transparent);
    background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 79, 113, 0.14);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.wm-guides-chip__avatar {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--antologa-secondary, #004F71);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wm-guides-chip__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wm-guides-chip__initial {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}

.wm-guides-chip__meta {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.wm-guides-chip__name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--antologa-heading-ink, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7.5rem;
}

.wm-guides-chip__price {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--antologa-slate-500, #64748b);
}

.wm-guides-rail__all {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: var(--antologa-primary, #078282);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    padding: 0.45rem 0.35rem;
}

@media (min-width: 1281px) {
    .wm-selected-top,
    .wm-detail__focus,
    .wm-guides-rail {
        display: none !important;
    }

    .wm-detail__full {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }

    .wm-detail__head {
        position: static;
    }

    .wm-page--ux .wm-detail--compact .wm-detail__hero,
    .wm-page--ux .wm-detail--expanded .wm-detail__hero {
        height: clamp(7.5rem, 16dvh, 10.5rem);
    }

    .wm-nearby-accordion {
        height: clamp(6.5rem, 12dvh, 9.5rem);
    }
}

.wm-detail__focus-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--antologa-heading-ink, #0f172a);
}

.wm-detail__focus-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.35rem;
}

.wm-detail__stars {
    color: var(--antologa-contrast, #E1A951);
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    line-height: 1;
}

.wm-detail__focus-reviews {
    font-size: 0.8125rem;
    color: var(--antologa-slate-500, #64748b);
    font-weight: 600;
}

.wm-detail__focus-diff {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--antologa-slate-700, #334155);
}

.wm-detail__photos {
    display: flex;
    gap: 0.45rem;
    padding: 0.35rem 1.1rem 0.55rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
}

.wm-detail__photos::-webkit-scrollbar { display: none; }

.wm-detail__photo {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: cover;
    border-radius: 0.55rem;
    flex-shrink: 0;
    background: var(--antologa-slate-100, #eef2f4);
}

.wm-detail__photos--round {
    padding: 0;
    margin: 0 0 0.65rem;
}

.wm-detail__photos--round .wm-detail__photo {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 999rem;
    border: 2px solid var(--antologa-pure-white, #fff);
    box-shadow: 0 1px 4px rgba(0, 79, 113, 0.18);
}

.wm-detail__focus-link {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--antologa-primary, #078282);
    cursor: pointer;
}

.wm-detail__focus-link:hover {
    color: var(--antologa-secondary, #004F71);
}

.wm-detail__cta-row {
    padding: 0 1.1rem 0.55rem;
    flex-shrink: 0;
}

.wm-detail__cta-row .wm-detail__cta {
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 0.75rem !important;
}

.wm-detail__nearby {
    flex-shrink: 0;
    padding: 0.15rem 0 0.55rem;
    border-top: 1px solid var(--antologa-border, rgba(0, 0, 0, 0.08));
}

.wm-detail__nearby-title {
    margin: 0;
    padding: 0.45rem 1.1rem 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--antologa-slate-500, #64748b);
}

/* Expanding flex accordion — one open card, neighbors collapse */
.wm-nearby-accordion {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    height: clamp(7.25rem, 16dvh, 11.5rem);
    padding: 0 1.1rem 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.wm-nearby-accordion::-webkit-scrollbar { display: none; }

.wm-nearby-acc {
    position: relative;
    flex: 0.42 1 3.15rem;
    min-width: 3.15rem;
    max-width: 3.65rem;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    font: inherit;
    text-align: left;
    background: #0f172a;
    scroll-snap-align: center;
    transition:
        flex 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        max-width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        min-width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s ease;
    box-shadow: 0 4px 14px rgba(0, 79, 113, 0.14);
}

.wm-nearby-acc--open {
    flex: 3.2 1 13.5rem;
    min-width: 11.5rem;
    max-width: 16rem;
    box-shadow: 0 8px 24px rgba(0, 79, 113, 0.22);
}

.wm-nearby-acc__img,
.wm-nearby-acc__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wm-nearby-acc__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.wm-nearby-acc__fallback svg {
    width: 1.5rem;
    height: 1.5rem;
}

.wm-nearby-acc__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.82) 100%);
    pointer-events: none;
}

.wm-nearby-acc__glyph {
    position: absolute;
    left: 50%;
    bottom: 0.55rem;
    transform: translateX(-50%);
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999rem;
    background: color-mix(in srgb, var(--acc-color, #078282) 92%, #fff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 1;
    transition: left 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
}

.wm-nearby-acc__glyph svg {
    width: 0.95rem;
    height: 0.95rem;
}

.wm-nearby-acc--open .wm-nearby-acc__glyph {
    left: 0.7rem;
    bottom: 0.7rem;
    transform: none;
}

.wm-nearby-acc__copy {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.65rem;
    z-index: 1;
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: 2.35rem;
}

.wm-nearby-acc--open .wm-nearby-acc__copy {
    display: flex;
}

.wm-nearby-acc__name {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-nearby-acc__meta {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.92;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Legacy carousel hooks kept for older markup / scroll helpers */
.wm-detail__nearby-carousel {
    display: flex;
    gap: 0.65rem;
    padding: 0 1.1rem 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.wm-detail__nearby-carousel::-webkit-scrollbar { display: none; }

.wm-detail__nearby-item {
    flex: 0 0 auto;
    width: min(11.5rem, 72vw);
    scroll-snap-align: center;
}

.wm-selected-top {
    display: none;
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    right: 0.65rem;
    z-index: 40;
    align-items: center;
    gap: 0.65rem;
    pointer-events: none;
}

.wm-selected-top__back {
    pointer-events: auto;
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999rem;
    border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 18%, transparent);
    background: color-mix(in srgb, var(--antologa-pure-white, #fff) 92%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--antologa-secondary, #004F71);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 79, 113, 0.16);
}

.wm-selected-top__title {
    pointer-events: none;
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--antologa-heading-ink, #0f172a);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-map-wrap--focused .amap-pin:not(.amap-pin--selected):not(.amap-pin--nearby) {
    opacity: 0.72;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wm-map-wrap--focused .amap-pin--selected {
    z-index: 6;
    transform: scale(1.08);
}

.wm-map-wrap--focused .amap-pin--nearby {
    opacity: 0.85;
}

/* ── Fold filters into browse sheet; drop redundant mobile bar ───────────── */

.wm-sheet__toolbar {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.75rem 0.55rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
}

.wm-sheet__toolbar::-webkit-scrollbar { display: none; }

.wm-sheet__chip,
.wm-sheet__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
    min-height: 2.15rem;
    padding: 0 0.7rem;
    border-radius: 999rem;
    border: 1px solid var(--antologa-border);
    background: var(--antologa-pure-white);
    color: var(--antologa-slate-700);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.wm-sheet__tool {
    width: 2.15rem;
    padding: 0;
}

.wm-sheet__chip.wm-filter-chip--on,
.wm-sheet__chip--on,
.wm-sheet__tool--on {
    background: var(--antologa-primary, #078282);
    border-color: var(--antologa-primary, #078282);
    color: #fff;
}

.wm-sheet__chip.wm-filter-chip--on .mud-icon-root,
.wm-sheet__chip--on .mud-icon-root,
.wm-sheet__tool--on .mud-icon-root,
.wm-sheet__chip.wm-filter-chip--on svg,
.wm-sheet__chip--on svg,
.wm-sheet__tool--on svg {
    color: #fff !important;
}

.wm-sheet__chip .mud-icon-root,
.wm-sheet__tool .mud-icon-root {
    font-size: 1rem !important;
    color: var(--antologa-secondary, #004F71);
}

@media (max-width: 1280px) {
    /* Kill the second nav bar under the sheet */
    .wm-page--ux .wm-mobile-bar {
        display: none !important;
    }

    .wm-page--ux .wm-sheet__toolbar {
        display: flex;
    }

    /* Sheet / place card sit on site bottom nav only (no filter-bar offset) */
    .wm-page--ux .wm-sheet:not(.wm-sheet--float) {
        bottom: 0;
    }

    .wm-page--ux .wm-sheet.wm-sheet--float {
        top: auto !important;
        bottom: var(--bottom-chrome, 4.5rem) !important;
        height: auto !important;
        max-height: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding-bottom: 0 !important;
    }

    .wm-page--ux .wm-detail.wm-detail--place:not(.wm-detail--fixed),
    .wm-page--ux .wm-detail:not(.wm-detail--fixed) {
        bottom: var(--bottom-chrome, 4.5rem) !important;
    }

    .wm-page--ux .wm-detail-backdrop {
        bottom: var(--bottom-chrome, 4.5rem) !important;
    }

    /* Hide redundant Types/layer map-chrome — layers live in the sheet toolbar */
    .wm-page--ux .wm-map-chrome {
        display: none !important;
    }
}

/* ── Floating left filter rail + guide cards (mobile) ── */

.wm-float-toolbar {
    display: none;
}

.wm-guide-card {
    display: none;
}

.wm-sheet__find-tours {
    display: none;
}

@media (max-width: 1280px) {
    /* Left-edge control rail — mirrors .wm-fab-stack on the right */
    .wm-page--ux .wm-float-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        position: absolute;
        top: 0.55rem;
        left: 0.5rem;
        right: auto;
        bottom: auto;
        z-index: 46;
        overflow: visible;
        pointer-events: none;
        padding: 0;
        max-height: calc(100% - 11rem);
    }

    .wm-page--ux .wm-float-toolbar > * {
        pointer-events: auto;
        flex-shrink: 0;
        width: 2.5rem;
        height: 2.5rem;
        min-height: 2.5rem;
        padding: 0;
        border-radius: 999rem;
        box-shadow: 0 2px 10px rgba(0, 79, 113, 0.16);
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Filters icon + flyout column to its right */
    .wm-page--ux .wm-float-toolbar > .wm-float-filter {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.45rem;
        width: auto;
        height: auto;
        min-height: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 2;
    }

    .wm-page--ux .wm-float-filter > .wm-sheet__chip {
        width: 2.5rem;
        height: 2.5rem;
        min-height: 2.5rem;
        padding: 0;
        border-radius: 999rem;
        box-shadow: 0 2px 10px rgba(0, 79, 113, 0.16);
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .wm-page--ux .wm-float-filter__panel {
        display: grid;
        grid-template-columns: repeat(3, 2.5rem);
        gap: 0.45rem;
        align-content: start;
        width: auto;
        max-height: min(68dvh, calc(100dvh - 10.5rem));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        pointer-events: auto;
    }

    .wm-page--ux .wm-float-filter__title {
        display: none;
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-group {
        display: contents;
        margin: 0;
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-label {
        display: none;
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-group__chips {
        display: contents;
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-chip,
    .wm-page--ux .wm-float-filter__panel .mud-button-root.wm-filter-chip {
        width: 2.5rem;
        height: 2.5rem;
        min-height: 2.5rem;
        min-width: 2.5rem;
        padding: 0;
        justify-content: center;
        border-radius: 999rem;
        box-shadow: 0 2px 10px rgba(0, 79, 113, 0.16);
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-chip__label {
        display: none;
    }

    .wm-page--ux .wm-float-filter__clear {
        display: none;
    }

    .wm-page--ux .wm-float-filter__clear-icon {
        width: 2.5rem;
        height: 2.5rem;
        min-height: 2.5rem;
        padding: 0;
        border-radius: 999rem;
        border: 1px solid var(--antologa-border);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 79, 113, 0.16);
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: var(--antologa-slate-700, #334155);
        cursor: pointer;
    }

    .wm-page--ux .wm-float-filter__scrim {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 45;
        background: transparent;
        pointer-events: auto;
    }

    /* Keep left rail (+ flyout) above dismiss scrim */
    .wm-page--ux .wm-float-toolbar {
        z-index: 46;
    }

    html[data-theme="dark"] .wm-page--ux .wm-float-filter__panel {
        background: color-mix(in srgb, var(--dm-bg-elevated, #1c2428) 96%, transparent);
        border-color: var(--dm-border, rgba(255, 255, 255, 0.12));
        color: var(--dm-text, #e8eef1);
    }

    html[data-theme="dark"] .wm-page--ux .wm-float-filter__title {
        color: var(--dm-text, #e8eef1);
    }

    .wm-page--ux .wm-float-toolbar .wm-sheet__chip,
    .wm-page--ux .wm-float-toolbar .wm-sheet__tool {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    /* Icon-only — labels stay in title/aria-label to avoid overlapping map */
    .wm-page--ux .wm-float-toolbar .wm-sheet__chip span {
        display: none;
    }

    .wm-page--ux .wm-carousel--guides {
        display: flex;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0 0.75rem 0.1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .wm-page--ux .wm-carousel--guides::-webkit-scrollbar { display: none; }

    .wm-page--ux .wm-guide-card {
        display: flex;
        flex-direction: column;
        flex: 0 0 9.5rem;
        width: 9.5rem;
        border: none;
        padding: 0;
        border-radius: 1rem;
        overflow: hidden;
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 94%, transparent);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 6px 18px rgba(0, 79, 113, 0.2);
        cursor: pointer;
        text-align: left;
        font: inherit;
        color: inherit;
        filter: drop-shadow(0 4px 12px rgba(0, 79, 113, 0.12));
    }

    .wm-page--ux .wm-guide-card__hero {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        background: color-mix(in srgb, var(--antologa-primary, #078282) 18%, #e8eef1);
        overflow: hidden;
    }

    .wm-page--ux .wm-guide-card__hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .wm-page--ux .wm-guide-card__initial {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 2rem;
        font-weight: 800;
        color: var(--antologa-secondary, #004F71);
    }

    .wm-page--ux .wm-guide-card__body {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        padding: 0.55rem 0.65rem 0.7rem;
        min-width: 0;
    }

    .wm-page--ux .wm-guide-card__name {
        font-size: 0.8rem;
        font-weight: 800;
        line-height: 1.2;
        color: var(--antologa-heading-ink, #0f172a);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wm-page--ux .wm-guide-card__meta {
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--antologa-slate-600, #475569);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wm-page--ux .wm-carousel--guides .wm-guides-rail__all {
        display: inline-flex;
        align-items: center;
        align-self: center;
        flex: 0 0 auto;
        min-height: 2.4rem;
        padding: 0 0.9rem;
        border-radius: 999rem;
        border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 20%, transparent);
        background: color-mix(in srgb, var(--antologa-pure-white, #fff) 92%, transparent);
        color: var(--antologa-secondary, #004F71);
        font-size: 0.75rem;
        font-weight: 800;
        cursor: pointer;
        white-space: nowrap;
    }

    .wm-page--ux .wm-sheet__find-tours {
        display: inline-flex;
        align-self: flex-start;
        margin: 0 0.75rem;
        min-height: 2.4rem;
        padding: 0 1rem;
        border-radius: 999rem;
        border: none;
        background: var(--antologa-primary, #078282);
        color: #fff;
        font-size: 0.8rem;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(7, 130, 130, 0.35);
    }
}

/* ── Selected wonder: summary + forecast (mobile stack) ── */

/* Desktop: never show the mobile selected stack (HUD / summary / forecast) */
.wm-selected-stack {
    display: none;
}

.wm-place-summary,
.wm-forecast {
    display: none;
}

@media (max-width: 1280px) {
    .wm-page--ux .wm-place-summary {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        max-height: min(38dvh, 15.5rem);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.55rem 0.6rem 0.6rem;
        border-radius: 0.9rem;
        border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 12%, transparent);
        background: var(--antologa-pure-white, #fff);
        box-shadow: 0 8px 24px rgba(0, 79, 113, 0.18);
        box-sizing: border-box;
    }

    .wm-page--ux .wm-place-summary__k {
        margin: 0;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--antologa-slate-600, #475569);
    }

    .wm-page--ux .wm-place-summary__v {
        margin: 0;
        font-size: 0.82rem;
        font-weight: 800;
        line-height: 1.25;
        color: var(--antologa-heading-ink, #0f172a);
    }

    .wm-page--ux .wm-place-summary__meta {
        margin: 0;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--antologa-contrast, #E1A951);
    }

    .wm-page--ux .wm-place-summary__desc {
        margin: 0;
        font-size: 0.7rem;
        line-height: 1.35;
        color: var(--antologa-slate-700, #334155);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .wm-page--ux .wm-place-summary__facts {
        margin: 0.15rem 0 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .wm-page--ux .wm-place-summary__row {
        display: grid;
        grid-template-columns: 3.6rem 1fr;
        gap: 0.3rem;
        align-items: start;
        margin: 0;
    }

    .wm-page--ux .wm-place-summary__row dt {
        margin: 0;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--antologa-slate-500, #64748b);
    }

    .wm-page--ux .wm-place-summary__row dd {
        margin: 0;
        font-size: 0.7rem;
        font-weight: 600;
        line-height: 1.3;
        color: var(--antologa-slate-700, #334155);
    }

    .wm-page--ux .wm-place-summary__row--hazard dd {
        color: color-mix(in srgb, var(--antologa-terciary, #C45A32) 85%, #000);
    }

    .wm-page--ux .wm-place-summary__photos {
        display: none;
    }

    .wm-page--ux .wm-place-summary__cta {
        align-self: flex-start;
        margin-top: 0.25rem;
        min-height: 2rem;
        padding: 0 0.8rem;
        border: none;
        border-radius: 999rem;
        background: var(--antologa-primary, #078282);
        color: #fff;
        font: inherit;
        font-size: 0.72rem;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 3px 12px rgba(7, 130, 130, 0.28);
    }

    .wm-page--ux .wm-forecast {
        display: block;
        max-height: min(36dvh, 14.5rem);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.45rem 0.5rem;
        border-radius: 0.9rem;
        border: 1px solid color-mix(in srgb, var(--antologa-secondary, #004F71) 12%, transparent);
        background: var(--antologa-pure-white, #fff);
        box-shadow: 0 8px 24px rgba(0, 79, 113, 0.16);
        box-sizing: border-box;
    }

    .wm-page--ux .wm-forecast__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.28rem;
    }

    .wm-page--ux .wm-forecast__day {
        display: grid;
        grid-template-columns: 2.85rem 1.25rem auto 1fr;
        gap: 0.28rem;
        align-items: center;
        min-height: 1.55rem;
    }

    .wm-page--ux .wm-forecast__when {
        display: flex;
        flex-direction: column;
        gap: 0.02rem;
        min-width: 0;
        line-height: 1.1;
    }

    .wm-page--ux .wm-forecast__dow {
        font-size: 0.66rem;
        font-weight: 800;
        color: var(--antologa-secondary, #004F71);
        text-transform: lowercase;
    }

    .wm-page--ux .wm-forecast__date {
        font-size: 0.58rem;
        font-weight: 700;
        color: var(--antologa-slate-500, #64748b);
    }

    .wm-page--ux .wm-forecast__icon,
    .wm-page--ux .wm-forecast__icon-spacer {
        width: 1.2rem;
        height: 1.2rem;
    }

    .wm-page--ux .wm-forecast__icon {
        object-fit: contain;
        display: block;
    }

    .wm-page--ux .wm-forecast__cond {
        display: none;
    }

    .wm-page--ux .wm-forecast__temps {
        display: inline-flex;
        gap: 0.28rem;
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--antologa-slate-500, #64748b);
        white-space: nowrap;
    }

    .wm-page--ux .wm-forecast__temps strong {
        color: var(--antologa-heading-ink, #0f172a);
        font-weight: 800;
    }

    .wm-page--ux .wm-forecast__feels {
        font-size: 0.58rem;
        font-weight: 700;
        color: var(--antologa-slate-500, #64748b);
        white-space: nowrap;
        justify-self: end;
    }

    .wm-page--ux .wm-forecast__loading,
    .wm-page--ux .wm-forecast__empty {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0;
        padding: 0.35rem 0.15rem;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--antologa-slate-600, #475569);
    }

    html[data-theme="dark"] .wm-page--ux .wm-trail-hud--white,
    html[data-theme="dark"] .wm-page--ux .wm-place-summary,
    html[data-theme="dark"] .wm-page--ux .wm-forecast {
        background: color-mix(in srgb, var(--dm-bg-elevated, #1c2428) 96%, transparent);
        border-color: var(--dm-border, rgba(255, 255, 255, 0.12));
        color: var(--dm-text, #e8eef1);
    }

    html[data-theme="dark"] .wm-page--ux .wm-trail-hud--white .wm-trail-hud__label {
        color: var(--dm-text-muted, #94a3b8);
    }

    html[data-theme="dark"] .wm-page--ux .wm-trail-hud--white .wm-trail-hud__value,
    html[data-theme="dark"] .wm-page--ux .wm-place-summary__v,
    html[data-theme="dark"] .wm-page--ux .wm-place-summary__desc,
    html[data-theme="dark"] .wm-page--ux .wm-place-summary__row dd,
    html[data-theme="dark"] .wm-page--ux .wm-forecast__temps strong {
        color: var(--dm-text, #e8eef1);
    }

    html[data-theme="dark"] .wm-page--ux .wm-place-summary__k,
    html[data-theme="dark"] .wm-page--ux .wm-place-summary__row dt,
    html[data-theme="dark"] .wm-page--ux .wm-forecast__date,
    html[data-theme="dark"] .wm-page--ux .wm-forecast__feels {
        color: var(--dm-text-muted, #94a3b8);
    }

    /* Keep selected filter icons visible on teal */
    .wm-page--ux .wm-float-filter__panel .wm-filter-chip--on,
    .wm-page--ux .wm-float-filter__panel .mud-button-root.wm-filter-chip--on {
        color: #fff !important;
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-chip--on .mud-icon-root,
    .wm-page--ux .wm-float-filter__panel .wm-filter-chip--on .wm-filter-chip__icon {
        color: #fff !important;
    }

    .wm-page--ux .wm-float-filter__panel .wm-filter-chip__dot svg {
        width: 0.85rem;
        height: 0.85rem;
        color: #fff;
    }
}

@media (max-width: 600px) {
    .wm-page--ux .wm-selected-stack {
        top: 3.4rem;
        left: 0.35rem;
        right: 0.35rem;
        max-width: none;
        gap: 0.35rem;
    }

    .wm-page--ux .wm-selected-stack .wm-forecast {
        flex-basis: 10.25rem;
        width: 10.25rem;
        max-width: min(10.25rem, 44%);
        max-height: min(30dvh, 12.5rem);
    }

    .wm-page--ux .wm-selected-stack .wm-place-summary {
        width: min(14rem, 54%);
        max-width: min(14rem, 54%);
        max-height: min(34dvh, 14rem);
        padding: 0.5rem 0.55rem 0.55rem;
    }

    .wm-page--ux .wm-selected-stack .wm-trail-hud {
        min-width: 0;
        padding: 0.55rem 0.7rem;
        gap: 0.65rem;
    }

    .wm-page--ux .wm-selected-stack .wm-trail-hud .wm-trail-hud__col {
        min-width: 3.25rem;
    }
}

.wm-inclusion-badge {
    display: inline-block;
    font-weight: 600;
}

.wm-inclusion-badge--ok {
    color: var(--antologa-primary);
}

.wm-inclusion-badge--partial {
    color: var(--antologa-secondary);
}

.wm-inclusion-badge--not {
    color: var(--antologa-terciary);
}

.wm-inclusion-badge--unknown {
    color: var(--antologa-slate-700, #334155);
}

.wm-section--inclusion .wm-section__copy {
    margin: 0.4rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wm-go__notes {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: var(--antologa-slate-700, #334155);
}
