/* Nightwall real City map. Burgundy identity; scoped to the map surface. */
body.nightwall-city-map-page { margin: 0; background: #110d12; }
.nwm { --nwm-bg: #110d12; --nwm-panel: #1d1720; --nwm-line: #483440; --nwm-text: #faf5f7; --nwm-muted: #bcaeb8; --nwm-accent: #f4ccd6; --nwm-on-accent: #ffffff; --nwm-focus: #edb7c7; --nwm-brand: #800020; --nwm-brand-hover: #9b2847; --nwm-panel-soft: #261b25; --nwm-selected: #32202a; color-scheme: dark; min-height: 100dvh; background: var(--nwm-bg); color: var(--nwm-text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.nwm *, .nwm *::before, .nwm *::after { box-sizing: border-box; }
.nwm [hidden] { display: none !important; }
.nwm a { color: inherit; }
.nwm button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nwm button:disabled { opacity: .48; cursor: not-allowed; }
.nwm :is(button,a,input):focus-visible { outline: 3px solid var(--nwm-focus); outline-offset: 4px; }
.nwm h1,.nwm h2,.nwm h3,.nwm p { margin: 0; }
.nwm-skip { position: absolute; z-index: 40; top: -100px; left: 16px; background: var(--nwm-accent); color: var(--nwm-on-accent) !important; padding: 12px 16px; border-radius: 10px; }
.nwm-skip:focus { top: 12px; }
.nwm-header { max-width: 1680px; margin: 0 auto; min-height: 88px; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--nwm-line); }
.nwm-brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.nwm-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px 13px 13px 3px; background: var(--nwm-accent); color: var(--nwm-on-accent); font-size: 29px; line-height: 1; font-weight: 900; font-style: italic; }
.nwm-brand strong { display: block; font-size: 17px; letter-spacing: .14em; line-height: 1.2; }
.nwm-brand small { display: block; font-size: 11px; color: var(--nwm-muted); margin-top: 5px; }
.nwm-header-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.nwm-header-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 14px; border: 1px solid var(--nwm-line); border-radius: 10px; font-size: 12px; text-decoration: none; color: var(--nwm-muted); }
.nwm-header-links a:hover { color: var(--nwm-text); border-color: #9b2847; }
.nwm-main { max-width: 1680px; margin: 0 auto; padding: 34px 40px 28px; }
.nwm-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.nwm-hero em { color: var(--nwm-accent); font-style: normal; }
.nwm-city-label { flex-shrink: 0; margin-bottom: 5px; padding: 7px 12px; border: 1px solid var(--nwm-line); border-radius: 20px; color: var(--nwm-muted); font-size: 11px; }
.nwm-toolbar-hint { color: var(--nwm-muted); font-size: 11px; line-height: 1.7; margin-left: auto; max-width: 280px; }
.nwm-kicker { color: var(--nwm-accent); font-size: 10px; line-height: 1.4; letter-spacing: .16em; font-weight: 800; }
.nwm-hero h1 { margin: 10px 0 12px; font-size: clamp(29px,3.3vw,48px); line-height: 1.14; letter-spacing: -.05em; font-weight: 730; }
.nwm-hero p:not(.nwm-kicker) { color: var(--nwm-muted); font-size: 14px; max-width: 740px; line-height: 1.85; }
.nwm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.nwm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; gap: 9px; border: 1px solid #62404f; border-radius: 12px; background: #261b25; color: var(--nwm-text); font-size: 13px !important; font-weight: 650; text-decoration: none; }
.nwm-button:not(:disabled):hover { background: #32202a; border-color: #9b2847; }
.nwm-button-primary { background: var(--nwm-accent); border-color: var(--nwm-accent); color: var(--nwm-on-accent); }
.nwm-button-primary:not(:disabled):hover { background: #9b2847; border-color: #9b2847; }
.nwm-workspace { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(300px,1fr); gap: 24px; align-items: start; }
.nwm-map-panel { position: relative; border: 1px solid var(--nwm-line); border-radius: 22px; overflow: hidden; background: #1b1721; min-width: 0; }
.nwm-canvas { height: clamp(390px,62dvh,760px); min-height: 390px; width: 100%; position: relative; background: radial-gradient(ellipse at 55% 25%,#35202e 0%,#1b1721 60%,#14131a 100%); }
.nwm-canvas:empty::after { content: ''; display: block; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border: 2px solid #623648; border-top-color: var(--nwm-accent); border-radius: 50%; animation: nwm-spin 1s linear infinite; }
.nwm[data-map-state="unavailable"] .nwm-canvas { min-height: 260px; height: clamp(260px,42dvh,520px); display: grid; place-items: center; }
.nwm[data-map-state="unavailable"] .nwm-canvas:empty::after { animation: none; content: 'N'; position: static; margin: 0; border: 1px solid #623648; border-radius: 22px; height: 88px; width: 88px; display: grid; place-items: center; font-size: 54px; line-height: 1; font-weight: 900; font-style: italic; color: #f4ccd6; background: #261b25; box-shadow: 0 0 90px #80002022; }
.nwm-map-status { display: block; min-height: 62px; padding: 17px 20px; border-top: 1px solid var(--nwm-line); color: var(--nwm-muted); background: #1d1720; font-size: 12px; line-height: 1.8; }
.nwm[data-map-state="unavailable"] .nwm-map-status { color: #d9dfe7; }
.nwm-sidebar { min-width: 0; }
.nwm-results-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 3px 0 12px; }
.nwm-results-head h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.03em; font-weight: 700; }
.nwm-results-head [data-nwm-count] { color: var(--nwm-accent); background: #32202a; border: 1px solid #623648; padding: 5px 9px; border-radius: 8px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.nwm-results-head [data-nwm-count]:empty { display: none; }
.nwm [data-nwm-status] { color: var(--nwm-muted); font-size: 12px; line-height: 1.8; margin-bottom: 18px; min-height: 22px; }
.nwm [data-nwm-retry] { margin-bottom: 16px; }
.nwm-cards { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; max-height: calc(62dvh - 24px); overflow-y: auto; scrollbar-color: #79515f #1d1720; scrollbar-width: thin; padding: 3px 6px 6px 3px; margin: -3px -6px -6px -3px; }
.nwm-card { min-width: 0; padding: 16px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: start; gap: 14px; border: 1px solid var(--nwm-line); border-radius: 17px; background: var(--nwm-panel); transition: border-color .18s,background .18s; }
.nwm-card.is-selected { border-color: #9b2847; background: #32202a; }
.nwm-card-media { position: relative; width: 58px; height: 68px; overflow: hidden; border: 1px solid #623648; border-radius: 12px; background: #800020; display: grid; place-items: center; }
.nwm-card-initial { font-size: 32px; line-height: 1; font-weight: 750; font-style: italic; color: var(--nwm-accent); }
.nwm-card-image { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.nwm-card-copy { min-width: 0; }
.nwm-card-category { color: var(--nwm-accent); font-size: 10px; font-weight: 650; margin: 0 0 2px !important; }
.nwm-card-title { font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.nwm-card-focus { display: block; width: 100%; min-height: 44px; padding: 6px 0; text-align: left; border: 0; background: transparent; color: var(--nwm-text); font: inherit !important; font-weight: 720 !important; overflow-wrap: anywhere; }
.nwm-card-focus:hover { color: var(--nwm-accent); }
.nwm-card-address { color: #cbbac5; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.nwm-card-description { margin-top: 10px !important; color: var(--nwm-muted); font-size: 12px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.nwm-card-location { color: #e7c8d3; font-size: 11px; line-height: 1.7; margin-top: 12px !important; }
.nwm-card-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 7px; padding: 8px 0; color: var(--nwm-accent) !important; text-decoration: none; font-size: 12px; font-weight: 650; text-underline-offset: 4px; }
.nwm-card-link:hover { text-decoration: underline; }
.nwm-note { color: #bcaeb8; font-size: 11px; line-height: 1.9; margin-top: 20px !important; max-width: 960px; }
.nwm-marker { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 48px; min-width: 44px; max-width: 220px; padding: 5px; border: 0; background: transparent; color: #faf5f7; font: inherit; cursor: pointer; }
.nwm-marker-dot { height: 18px; width: 18px; border: 3px solid #491426; outline: 1px solid #f4ccd6; background: #f4ccd6; border-radius: 50%; box-shadow: 0 0 18px #9b284755; margin-bottom: 7px; }
.nwm-marker-name { max-width: 100%; padding: 6px 10px; border: 1px solid #9b2847; border-radius: 8px; background: #23141df2; box-shadow: 0 5px 15px #0005; font-size: 11px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.nwm-marker.is-selected .nwm-marker-name { background: #f4ccd6; color: #ffffff; border-color: #f4ccd6; }
.nwm-marker.is-selected .nwm-marker-dot { background: #fff; outline-color: #fff; }
.nwm-user-marker { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; background: #238de0; box-shadow: 0 0 0 8px #208fe72e,0 2px 8px #0008; }
.nwm .mapboxgl-ctrl-group button { width: 44px; height: 44px; }
.nwm .mapboxgl-ctrl-attrib { color: #222; }
.nwm .mapboxgl-ctrl-attrib a { color: #222; }
.nwm .mapboxgl-ctrl-scale { color: #111; }
@keyframes nwm-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .nwm-workspace { grid-template-columns: minmax(0,2fr) minmax(360px,1fr); } }
@media (max-width: 1000px) { .nwm-header { padding: 16px 24px; } .nwm-main { padding: 28px 24px 24px; } .nwm-workspace { gap: 18px; grid-template-columns: minmax(0,1.45fr) minmax(280px,1fr); } .nwm-card { grid-template-columns: minmax(0,1fr); } .nwm-card-media { display: none; } }
@media (max-width: 760px) { .nwm-header { min-height: 76px; padding: 13px 18px; gap: 12px; align-items: flex-start; } .nwm-brand strong { font-size: 14px; } .nwm-brand small { font-size: 10px; } .nwm-brand-mark { width: 38px; height: 38px; font-size: 26px; } .nwm-header-links { gap: 6px; } .nwm-header-links a { padding: 10px; font-size: 11px; } .nwm-main { padding: 26px 18px; } .nwm-hero { margin-bottom: 20px; display: block; } .nwm-city-label { display: inline-block; margin-top: 14px; } .nwm-toolbar-hint { flex-basis: 100%; margin: 4px 0 0; max-width: none; } .nwm-hero h1 { font-size: 34px; margin-top: 12px; } .nwm-hero p:not(.nwm-kicker) { font-size: 13px; } .nwm-toolbar { gap: 8px; } .nwm-button { padding: 10px 14px; } .nwm-workspace { grid-template-columns: minmax(0,1fr); gap: 24px; } .nwm-canvas { height: 53dvh; min-height: 340px; max-height: 520px; } .nwm[data-map-state="unavailable"] .nwm-canvas { min-height: 210px; height: 30dvh; } .nwm-map-panel { border-radius: 17px; } .nwm-map-status { padding: 14px 16px; min-height: 58px; } .nwm-cards { max-height: none; overflow: visible; } .nwm-card { grid-template-columns: 58px minmax(0,1fr); } .nwm-card-media { display: grid; } .nwm-results-head h2 { font-size: 21px; } .nwm-note { margin-top: 22px !important; } }
@media (max-width: 420px) { .nwm-header { padding: 12px 14px; flex-wrap: wrap; } .nwm-header-links { width: 100%; justify-content: flex-start; } .nwm-header-links a { padding: 7px 12px; min-height: 44px; } .nwm-main { padding: 24px 14px; } .nwm-toolbar { gap: 7px; } .nwm-button { flex: 1 1 auto; font-size: 12px !important; padding: 10px 11px; } .nwm-card { padding: 14px; gap: 12px; grid-template-columns: 45px minmax(0,1fr); } .nwm-card-media { width: 45px; height: 56px; } .nwm-card-initial { font-size: 27px; } .nwm-hero h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .nwm *, .nwm *::before, .nwm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Real map controls and the shared City destination. */
.nwm-main { min-width: 0; }
.nwm .nwm-button-primary, .nwm [data-nwm-view][aria-pressed="true"] { color: #fff; background: var(--nwm-brand); border-color: var(--nwm-brand-hover); }
.nwm .nwm-button-primary:not(:disabled):hover, .nwm [data-nwm-view][aria-pressed="true"]:hover { color: #fff; background: var(--nwm-brand-hover); border-color: var(--nwm-brand-hover); }
.nwm-brand-mark { background: var(--nwm-brand); color: #fff; }
.nwm-search { display: flex; flex-direction: column; gap: 7px; margin: 0 0 14px; min-width: 0; }
.nwm-search > span { font-size: 11px; color: var(--nwm-muted); font-weight: 650; }
.nwm [data-nwm-search] { width: 100%; min-width: 0; min-height: 48px; padding: 12px 16px; border: 1px solid var(--nwm-line); border-radius: 12px; background: var(--nwm-panel); color: var(--nwm-text); font: inherit; font-size: 14px; }
.nwm [data-nwm-search]::placeholder { color: var(--nwm-muted); opacity: 1; }
.nwm [data-nwm-search]:focus { border-color: var(--nwm-brand-hover); }
.nwm-toolbar { gap: 8px; margin-bottom: 16px; }
.nwm-toolbar .nwm-button { padding: 10px 14px; font-size: 12px !important; }
.nwm-view-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--nwm-line); border-radius: 13px; background: var(--nwm-bg); }
.nwm-view-switch .nwm-button { min-height: 38px; padding: 7px 12px; border-color: transparent; border-radius: 9px; }
.nwm-expand { margin-left: auto; }
.nwm-map-panel { isolation: isolate; }
.nwm-card.is-selected { background: var(--nwm-selected); box-shadow: inset 3px 0 0 var(--nwm-brand-hover); }
.nwm-card-media { width: 52px; height: 52px; border-radius: 50%; background: var(--nwm-brand); }
.nwm-card-initial { font-size: 26px; color: #fff; }
.nwm-card { grid-template-columns: 52px minmax(0,1fr); }
.nwm-card-address { color: var(--nwm-muted); }
.nwm-card-location { color: var(--nwm-text); }
.nwm-marker { width: 160px; height: 80px; padding: 4px; }
.nwm-marker-dot { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; overflow: hidden; border: 3px solid #f4ccd6; outline: 2px solid #800020; background: #800020; color: #fff; box-shadow: 0 0 0 6px #80002026,0 3px 14px #0007; margin-bottom: 6px; font-size: 19px; line-height: 1; font-weight: 800; }
.nwm-marker-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.nwm-marker-name { padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.nwm-marker.is-selected .nwm-marker-name { background: #800020; color: #fff; border-color: #f4ccd6; }
.nwm-marker.is-selected .nwm-marker-dot { outline-color: #f4ccd6; border-color: #fff; background: #800020; box-shadow: 0 0 0 7px #9b284755,0 3px 14px #0007; }
.nwm .leaflet-container { font-family: inherit; background: #1b1721; }
.nwm .nwm-leaflet-icon { background: transparent; border: 0; }
.nwm .leaflet-bar { border: 1px solid #5b4b54; border-radius: 10px; overflow: hidden; }
.nwm .leaflet-bar a { display: grid; place-items: center; width: 44px; height: 44px; line-height: 44px; color: #23141d; background: #fff; border-color: #d9cbd1; }
.nwm .leaflet-bar a:hover, .nwm .leaflet-bar a:focus { background: #f4e6ec; }
.nwm .leaflet-bar a.leaflet-disabled { color: #888; background: #eee; }
.nwm .leaflet-control-attribution { padding: 3px 7px; background: #fffef5ed; color: #222; font-size: 10px; line-height: 1.5; }
.nwm .leaflet-control-attribution a { color: #5c1029; }
/* Keep Leaflet's attribution artwork at its native size, outside app icon styling. */
.nwm .leaflet-control-attribution .leaflet-attribution-flag { display: inline; vertical-align: baseline; width: 12px; height: 8px; fill: initial; stroke: none; stroke-width: 0; }
.nwm .leaflet-control-scale-line { color: #222; background: #ffffffd9; border-color: #555; }
.nwm[data-view="list"] .nwm-map-panel { display: none; }
.nwm[data-view="list"] .nwm-workspace { grid-template-columns: minmax(0,1fr); }
.nwm[data-view="list"] .nwm-cards { grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); max-height: none; overflow: visible; }
.nwm--embedded { min-height: 0; background: transparent; border: 1px solid var(--nwm-line); border-radius: 22px; padding: 20px; margin-bottom: 22px; }
.nwm--embedded .nwm-main { padding: 0; max-width: none; }
.nwm-embedded-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.nwm-embedded-head h2 { margin: 6px 0 8px; font-size: clamp(20px,2.4vw,28px); line-height: 1.25; letter-spacing: -.04em; }
.nwm-embedded-head .nwm-intro { color: var(--nwm-muted); font-size: 12px; line-height: 1.8; max-width: 600px; }
.nwm-catalog-link { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; max-width: 100%; padding: 9px 12px; color: var(--nwm-accent) !important; border: 1px solid var(--nwm-line); border-radius: 11px; font-size: 11px; font-weight: 700; text-decoration: none; }
.nwm-catalog-link:hover { border-color: var(--nwm-brand-hover); background: var(--nwm-panel); }
.nwm--embedded .nwm-workspace { grid-template-columns: minmax(0,1fr); gap: 18px; }
.nwm--embedded .nwm-canvas { height: clamp(380px,56dvh,640px); }
.nwm--embedded .nwm-cards { grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); max-height: 390px; }
.nwm--embedded .nwm-card { grid-template-columns: 52px minmax(0,1fr); }
.nwm--embedded .nwm-card-media { display: grid; }
.nwm--embedded .nwm-results-head .nwm-kicker { font-size: 9px; }
.nwm--embedded .nwm-results-head h2 { font-size: 18px; }
.nwe-v3[data-theme="day"] .nwm--embedded { --nwm-bg: #faf5f7; --nwm-panel: #fff; --nwm-panel-soft: #f3e8ed; --nwm-line: #d8bfc9; --nwm-text: #2b1922; --nwm-muted: #685560; --nwm-accent: #800020; --nwm-focus: #800020; --nwm-selected: #f6e8ee; color-scheme: light; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-button:not(.nwm-button-primary):not([data-nwm-view][aria-pressed="true"]) { background: var(--nwm-panel); color: var(--nwm-text); border-color: var(--nwm-line); }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-map-status { background: var(--nwm-panel); }
.nwe-v3[data-theme="day"] .nwm--embedded [data-nwm-count] { background: var(--nwm-selected); border-color: var(--nwm-line); }
.nwe-v3-city-preview { margin-top: 24px; border: 1px solid var(--nwe-line-strong); border-radius: 18px; background: var(--nwe-panel); }
.nwe-v3-city-preview > summary { display: list-item; min-height: 52px; padding: 16px 18px; color: var(--nwe-text); font-size: 13px; font-weight: 750; cursor: pointer; }
.nwe-v3-city-preview > summary::marker { color: var(--nwe-accent-text, #f4ccd6); }
.nwe-v3-city-preview > summary:focus-visible { outline: 3px solid var(--nwe-accent-text, #f4ccd6); outline-offset: 3px; border-radius: 14px; }
.nwe-v3-city-preview[open] { padding: 0 16px 16px; }
.nwe-v3-city-preview[open] > summary { margin: 0 -16px; }
.nwe-v3-city-preview > p { margin: 0 0 18px; color: var(--nwe-muted-strong); font-size: 12px; line-height: 1.8; }
.nwe-v3-city-preview .nwe-v3-city-stage { margin-top: 16px; }
/* The City entry animation otherwise creates a containing block for fixed children. */
.nwe-v3-view:has(.nwm.is-expanded) { animation: none; transform: none; position: relative; z-index: 75; }
.nwm.is-expanded { position: fixed; z-index: 90; inset: calc(var(--nwe-topbar-height,0px) + 12px) 18px 16px; overflow-y: auto; min-height: 0; margin: 0; padding: 20px; border: 1px solid var(--nwm-line); border-radius: 20px; background: var(--nwm-bg); box-shadow: 0 24px 100px #0008; }
.nwm.is-expanded .nwm-main { max-width: 1600px; padding: 0; }
.nwm.is-expanded .nwm-toolbar { position: sticky; top: -20px; z-index: 900; padding: 12px 0; background: var(--nwm-bg); }
.nwm.is-expanded .nwm-canvas { height: clamp(360px,60dvh,820px); }
.nwm.is-expanded .nwm-cards { max-height: none; }
.nwm.is-expanded .nwm-expand { background: var(--nwm-brand); color: #fff; border-color: var(--nwm-brand-hover); }
@media (max-width: 1100px) { .nwm-embedded-head { flex-direction: column; gap: 10px; } .nwm-toolbar-hint { flex-basis: 100%; margin-left: 0; max-width: none; } .nwe-v3 .nwm.is-expanded { bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media (max-width: 760px) {
    .nwm-toolbar { gap: 7px; } .nwm-expand { margin-left: 0; }
    .nwm--embedded .nwm-workspace { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .nwm--embedded .nwm-canvas { height: 52dvh; min-height: 340px; max-height: 540px; }
    .nwm--embedded[data-map-state="unavailable"] .nwm-canvas { min-height: 210px; height: 30dvh; }
    .nwm--embedded .nwm-cards { max-height: none; overflow: visible; grid-template-columns: minmax(0,1fr); }
    .nwm--embedded { padding: 14px; border-radius: 18px; } .nwm--embedded .nwm-main { padding: 0; }
    .nwm-embedded-head { margin-bottom: 14px; } .nwm-embedded-head h2 { font-size: 21px; }
    .nwm.is-expanded { right: 8px; left: 8px; padding: 14px; border-radius: 16px; }
    .nwm.is-expanded .nwm-toolbar { top: -14px; padding: 10px 0; }
    .nwm.is-expanded .nwm-canvas { height: 48dvh; min-height: 290px; }
    .nwe-v3-city-preview > summary { padding: 14px; font-size: 12px; line-height: 1.6; }
}
@media (max-width: 420px) {
    .nwm-toolbar > .nwm-button { flex: 1 1 auto; padding: 10px 9px; font-size: 11px !important; }
    .nwm-view-switch { flex: 1 1 auto; } .nwm-view-switch .nwm-button { flex: 1; }
    .nwm--embedded .nwm-card { grid-template-columns: 44px minmax(0,1fr); }
    .nwm-card-media { width: 44px; height: 44px; } .nwm-card-initial { font-size: 24px; }
    .nwm--embedded { padding: 10px; } .nwm-embedded-head h2 { font-size: 19px; }
    .nwm-catalog-link { font-size: 10px; white-space: normal; }
}

/* Embedded City: the map is the screen; controls and places sit above it. */
.nwm .nwm-sr-only,
.nwm--embedded .nwm-embedded-head,
.nwm--embedded[data-map-state="ready"] .nwm-map-status,
.nwm--embedded[data-nwm-feedback="idle"] [data-nwm-status] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.nwm.nwm--embedded {
    --nwm-sheet-height: 200px;
    --nwm-float-bg: #151219f5;
    --nwm-float-shadow: 0 3px 14px #0004;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #15151a;
}
.nwm.nwm--embedded[data-sheet="collapsed"] { --nwm-sheet-height: 52px; }
.nwm.nwm--embedded[data-sheet="full"] { --nwm-sheet-height: min(72%, 560px); }
.nwm--embedded .nwm-main,
.nwm--embedded .nwm-workspace,
.nwm--embedded .nwm-map-panel,
.nwm--embedded[data-view="list"] .nwm-workspace,
.nwm--embedded[data-view="list"] .nwm-map-panel {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
}
.nwm--embedded .nwm-map-panel { overflow: hidden; }
.nwm--embedded .nwm-canvas,
.nwm--embedded.is-expanded .nwm-canvas,
.nwm--embedded[data-map-state="unavailable"] .nwm-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    border-radius: 0;
}
.nwm--embedded :is(.nwm-icon-button,.nwm-city-chip,.nwm-category-entry) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    border: 1px solid #ffffff15;
    background: var(--nwm-float-bg);
    color: var(--nwm-text);
    box-shadow: var(--nwm-float-shadow);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
}
.nwm--embedded :is(.nwm-icon-button,.nwm-city-chip,.nwm-category-entry):hover { border-color: #9b2847; background: var(--nwm-panel-soft); }
.nwm--embedded :is(.nwm-icon-button,.nwm-city-chip,.nwm-category-entry) > svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nwm--embedded .nwm-icon-button { width: 44px; height: 44px; padding: 11px; border-radius: 50%; }
.nwm--embedded .nwm-icon-button.nwm-button-primary { color: #fff; background: #800020; border-color: #9b2847; }
.nwm--embedded .nwm-icon-button.nwm-button-primary:hover { background: #9b2847; }
.nwm--embedded .nwm-icon-button[aria-pressed="true"]:not([data-nwm-tilt]) { color: #fff; background: #800020; }
.nwm--embedded .nwm-floating-top { position: absolute; z-index: 32; inset: 14px 14px auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; pointer-events: none; }
.nwm--embedded .nwm-floating-top > * { pointer-events: auto; }
.nwm--embedded .nwm-city-chip { justify-content: flex-start; gap: 10px; max-width: calc(100% - 60px); min-height: 48px; padding: 9px 16px 9px 12px; border-radius: 16px; text-align: left; }
.nwm--embedded .nwm-city-chip > svg { color: #f4ccd6; }
.nwm--embedded .nwm-city-chip > span { min-width: 0; }
.nwm--embedded .nwm-city-chip strong { display: block; font-size: 15px; line-height: 1.2; }
.nwm--embedded .nwm-city-chip small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.2; font-weight: 500; color: var(--nwm-muted); }
.nwm--embedded .nwm-category-entry { position: absolute; z-index: 31; top: 73px; left: 14px; gap: 7px; min-height: 40px; padding: 9px 13px; border-radius: 24px; font-size: 12px; }
.nwm--embedded .nwm-category-entry > svg { width: 17px; height: 17px; flex-basis: 17px; }
.nwm--embedded .nwm-toolbar { position: absolute; z-index: 31; top: 73px; right: 14px; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 10px; width: 44px; padding: 0; margin: 0; background: transparent; }
.nwm--embedded .nwm-toolbar .nwm-icon-button { flex: 0 0 44px; }
.nwm--embedded .nwm-search { position: absolute; z-index: 34; inset: 14px 72px auto 14px; display: block; margin: 0; }
.nwm--embedded .nwm-search input { min-height: 48px; padding: 11px 14px; background: var(--nwm-float-bg); border-radius: 16px; box-shadow: var(--nwm-float-shadow); font-size: 16px; }
.nwm--embedded[data-search-open="true"] .nwm-city-chip { visibility: hidden; }
.nwm--embedded .nwm-info-panel { position: absolute; z-index: 35; top: 75px; right: 72px; width: min(300px, calc(100% - 90px)); max-height: calc(100% - 100px); padding: 16px; overflow-y: auto; overscroll-behavior: contain; color: var(--nwm-text); background: var(--nwm-float-bg); border: 1px solid var(--nwm-line); border-radius: 16px; box-shadow: 0 8px 32px #0006; }
.nwm--embedded .nwm-info-panel > strong { font-size: 13px; }
.nwm--embedded .nwm-info-panel p { margin: 8px 0 12px; color: var(--nwm-muted); font-size: 12px; line-height: 1.7; }
.nwm--embedded .nwm-info-panel .nwm-catalog-link { font-size: 11px; padding: 8px 10px; }
.nwm--embedded .nwm-map-status { position: absolute; z-index: 2; top: 124px; left: 14px; width: min(360px, calc(100% - 88px)); min-height: 0; padding: 11px 13px; border: 1px solid var(--nwm-line); border-radius: 12px; color: var(--nwm-text); background: var(--nwm-float-bg); font-size: 12px; line-height: 1.6; box-shadow: var(--nwm-float-shadow); pointer-events: none; }
.nwm--embedded .nwm-sidebar {
    position: absolute;
    z-index: 30;
    left: 16px;
    bottom: 16px;
    width: min(380px, calc(100% - 32px));
    height: var(--nwm-sheet-height);
    min-height: 52px;
    max-height: calc(100% - 130px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #ffffff16;
    border-radius: 22px;
    color: var(--nwm-text);
    background: #171319;
    box-shadow: 0 8px 36px #0005;
    transition: height .22s cubic-bezier(.2,.8,.2,1);
}
.nwm--embedded.is-sheet-dragging .nwm-sidebar { transition: none; }
.nwm--embedded[data-sheet="full"] .nwm-sidebar { z-index: 33; }
.nwm--embedded .nwm-sheet-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; padding: 18px 16px 8px; margin: 0; border: 0; border-radius: 20px 20px 0 0; background: transparent; color: var(--nwm-text); text-align: left; touch-action: none; user-select: none; -webkit-user-select: none; }
.nwm--embedded .nwm-sheet-grip { position: absolute; top: 8px; left: calc(50% - 17px); width: 34px; height: 4px; border-radius: 4px; background: #81737e; }
.nwm--embedded .nwm-sheet-title { font-size: 14px; font-weight: 750; letter-spacing: -.015em; }
.nwm--embedded [data-nwm-count] { color: var(--nwm-muted); font-size: 11px; font-weight: 550; white-space: nowrap; }
.nwm--embedded .nwm-sheet-content { height: calc(100% - 52px); padding: 0 12px 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #6b4353 transparent; }
.nwm--embedded[data-sheet="collapsed"] .nwm-sheet-content { visibility: hidden; }
.nwm--embedded .nwm-view-switch { display: none; width: max-content; max-width: 100%; margin: 0 0 12px; padding: 3px; border-radius: 12px; }
.nwm--embedded[data-sheet="full"] .nwm-view-switch { display: flex; }
.nwm--embedded .nwm-view-switch .nwm-button { min-height: 40px; padding: 8px 14px; font-size: 12px !important; }
.nwm--embedded [data-nwm-status] { min-height: 0; margin: 0 3px 10px; font-size: 12px; line-height: 1.5; }
.nwm--embedded [data-nwm-retry] { margin: 0 3px 10px; min-height: 44px; }
.nwm--embedded .nwm-cards,
.nwm--embedded[data-view="list"] .nwm-cards { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; min-height: 0; max-height: none; margin: 0; padding: 0; overflow: visible; }
.nwm--embedded .nwm-card { position: relative; grid-template-columns: 58px minmax(0,1fr); gap: 12px; padding: 10px; border: 1px solid #ffffff0d; border-radius: 15px; background: #241d25; box-shadow: none; }
.nwm--embedded .nwm-card.is-selected { background: #30202a; border-color: #9b2847; box-shadow: none; }
.nwm--embedded .nwm-card-media { display: grid; width: 58px; height: 68px; border: 0; border-radius: 13px; }
.nwm--embedded .nwm-card-initial { color: #fff; font-size: 26px; font-style: normal; }
.nwm--embedded .nwm-card-category { color: #edb7c7; font-size: 9px; line-height: 1.3; font-weight: 700; }
.nwm--embedded .nwm-card-title { font-size: 16px; line-height: 1.2; }
.nwm--embedded .nwm-card-focus { min-height: 30px; padding: 3px 0; font-size: 16px !important; line-height: 1.2; }
.nwm--embedded .nwm-card-address { color: var(--nwm-muted); font-size: 11px; line-height: 1.4; }
.nwm--embedded .nwm-card-description,
.nwm--embedded .nwm-card-location { display: none; }
.nwm--embedded[data-sheet="full"] .nwm-card-description { display: -webkit-box; margin-top: 8px !important; font-size: 12px; line-height: 1.6; }
.nwm--embedded[data-sheet="full"] .nwm-card-location { display: block; margin-top: 8px !important; font-size: 11px; }
.nwm--embedded .nwm-card-link { display: inline-flex; justify-content: center; min-height: 40px; margin-top: 7px; padding: 8px 14px; border: 1px solid #9b2847; border-radius: 11px; color: #fff !important; background: #800020; font-size: 11px; line-height: 1.2; font-weight: 700; text-decoration: none; }
.nwm--embedded .nwm-card-link:hover { color: #fff !important; background: #9b2847; text-decoration: none; }
.nwm--embedded .nwm-marker-dot { width: 44px; height: 44px; box-shadow: 0 0 0 4px #80002038,0 3px 10px #0007; }
.nwm--embedded .nwm-marker-name { padding: 4px 9px; border-radius: 8px; font-size: 11px; }
.nwm--embedded .mapboxgl-ctrl-top-right,
.nwm--embedded .leaflet-top.leaflet-left { top: 286px; right: 14px; left: auto; }
.nwm--embedded .mapboxgl-ctrl-top-right > .mapboxgl-ctrl { margin: 0; }
.nwm--embedded .mapboxgl-ctrl-group,
.nwm--embedded .leaflet-bar { overflow: hidden; border: 1px solid #ffffff1c; border-radius: 22px; box-shadow: var(--nwm-float-shadow); }
.nwm--embedded .mapboxgl-ctrl-group button,
.nwm--embedded .leaflet-bar a { width: 44px; height: 44px; border-color: #d7cbd0; }
.nwm--embedded .mapboxgl-ctrl-bottom-left,
.nwm--embedded .mapboxgl-ctrl-bottom-right,
.nwm--embedded .leaflet-bottom { bottom: 6px; }
.nwm--embedded .mapboxgl-ctrl-bottom-left { right: 4px; left: auto; bottom: 32px; }
.nwm--embedded .leaflet-bottom.leaflet-left { right: 4px; left: auto; bottom: 32px; }
.nwm--embedded .mapboxgl-ctrl-attrib,
.nwm--embedded .leaflet-control-attribution { max-width: min(470px, calc(100vw - 115px)); font-size: 9px; }
.nwm--embedded noscript { position: absolute; z-index: 40; top: 16px; left: 16px; right: 16px; padding: 16px; background: var(--nwm-panel); }
.nwe-v3[data-theme="day"] .nwm--embedded { --nwm-float-bg: #fffffff5; --nwm-float-shadow: 0 3px 14px #34212c22; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-chip > svg { color: #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-sidebar { color: var(--nwm-text); background: #fffafc; border-color: #d8bfc9; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-card { background: #f4ebef; border-color: #e8dce2; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-card.is-selected { background: #f3e0e8; border-color: #9b2847; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-card-category { color: #800020; }
@media (max-width: 920px) {
    .nwm.nwm--embedded { --nwm-sheet-height: min(210px, 34%); }
    .nwm.nwm--embedded[data-sheet="collapsed"] { --nwm-sheet-height: 52px; }
    .nwm.nwm--embedded[data-sheet="full"] { --nwm-sheet-height: min(72%, 560px); }
    .nwm--embedded .nwm-sidebar { right: 0; bottom: 0; left: 0; width: 100%; max-height: calc(100% - 122px); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -4px 24px #0003; }
    .nwm--embedded .nwm-sheet-content { padding: 0 12px 10px; }
    .nwm--embedded .nwm-map-status { width: calc(100% - 88px); }
    .nwm--embedded .mapboxgl-ctrl-bottom-left,
    .nwm--embedded .mapboxgl-ctrl-bottom-right,
    .nwm--embedded .leaflet-bottom { bottom: calc(var(--nwm-sheet-visible-height, var(--nwm-sheet-height)) + 6px); }
    .nwm--embedded .mapboxgl-ctrl-bottom-left { right: auto; left: 0; }
    .nwm--embedded .leaflet-bottom.leaflet-left { right: auto; left: 4px; bottom: calc(var(--nwm-sheet-visible-height, var(--nwm-sheet-height)) + 27px); }
    .nwm--embedded .mapboxgl-ctrl-attrib,
    .nwm--embedded .leaflet-control-attribution { max-width: calc(100vw - 24px); font-size: 9px; }
    .nwm--embedded .mapboxgl-ctrl-top-right,
    .nwm--embedded .leaflet-top.leaflet-left { top: auto; bottom: calc(var(--nwm-sheet-visible-height, var(--nwm-sheet-height)) + 52px); }
    .nwm--embedded .mapboxgl-ctrl-group > button:not(:last-child) { display: none; }
    .nwm--embedded .leaflet-top.leaflet-left { top: 125px; right: auto; bottom: auto; left: 4px; }
    .nwm--embedded .leaflet-bar a { color: var(--nwm-text); background: var(--nwm-float-bg); border-color: var(--nwm-line); }
    .nwm--embedded .leaflet-bar a:hover { background: var(--nwm-panel-soft); }
    .nwm--embedded .mapboxgl-ctrl-group > button:last-child { border: 0; }
    .nwm--embedded[data-sheet="full"] .mapboxgl-ctrl-top-right { display: none; }
    .nwm--embedded[data-sheet="full"] .nwm-toolbar,
    .nwm--embedded[data-sheet="full"] .leaflet-top { display: none; }
}
@media (max-width: 390px) {
    .nwm--embedded .nwm-floating-top { inset: 12px 12px auto; }
    .nwm--embedded .nwm-toolbar { right: 12px; gap: 8px; }
    .nwm--embedded .nwm-category-entry { left: 12px; }
    .nwm--embedded .nwm-search { inset: 12px 68px auto 12px; }
    .nwm--embedded .nwm-city-chip { padding-right: 12px; }
    .nwm--embedded .nwm-card { grid-template-columns: 48px minmax(0,1fr); gap: 10px; padding: 9px; }
    .nwm--embedded .nwm-card-media { width: 48px; height: 60px; }
    .nwm--embedded .nwm-card-title,
    .nwm--embedded .nwm-card-focus { font-size: 15px !important; }
}
@media (max-height: 560px) and (max-width: 920px) {
    .nwm--embedded .nwm-toolbar { flex-direction: row; top: 73px; width: auto; gap: 6px; }
    .nwm--embedded .nwm-toolbar .nwm-icon-button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; flex-basis: 40px; padding: 9px; }
    .nwm--embedded .nwm-sidebar { max-height: calc(100% - 118px); }
    .nwm--embedded .nwm-info-panel { top: 122px; right: 12px; max-height: calc(100% - 136px); }
}

/* City p2.20: light floating discovery above a full-bleed map. */
.nwm.nwm--embedded { --nwm-sheet-height: 180px; --nwm-float-bg: #17121bd9; }
.nwm--embedded .nwm-floating-top {
    inset: calc(12px + env(safe-area-inset-top, 0px)) 14px auto;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 44px;
    align-items: center;
    gap: 8px;
    height: 44px;
}
.nwm--embedded .nwm-city-chip {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #ffffff13;
    border-radius: 25px;
    background: #17121bd9;
    box-shadow: 0 3px 14px #0003;
    color: #fff;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nwm--embedded .nwm-city-chip strong { overflow: hidden; font-size: 16px; line-height: 1.2; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.nwm--embedded .nwm-city-chip > svg { flex-basis: 14px; width: 14px; height: 14px; color: #eac8d4; stroke-width: 2.2; }
.nwm--embedded .nwm-floating-top > [data-nwm-search-toggle] { grid-column: 3; justify-self: end; background: #17121bd9; border-color: #ffffff13; box-shadow: 0 3px 14px #0003; }
.nwm--embedded .nwm-category-strip {
    position: absolute;
    z-index: 31;
    top: calc(68px + env(safe-area-inset-top, 0px));
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 2px max(14px, env(safe-area-inset-right, 0px)) 4px max(14px, env(safe-area-inset-left, 0px));
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: transparent;
}
.nwm--embedded .nwm-category-strip::-webkit-scrollbar { display: none; }
.nwm--embedded .nwm-category-strip > button {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid #ffffff15;
    border-radius: 24px;
    background: #17121be6;
    color: #f6eff4;
    box-shadow: 0 2px 8px #0002;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 650;
    white-space: nowrap;
}
.nwm--embedded .nwm-category-strip > button:hover { background: #34212d; border-color: #9b2847; }
.nwm--embedded .nwm-category-strip > button[aria-pressed="true"],
.nwm--embedded .nwm-category-strip > button.is-active { background: #800020; color: #fff; border-color: #9b2847; }
.nwm--embedded .nwm-category-strip > button > svg { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nwm--embedded .nwm-city-panel {
    position: absolute;
    z-index: 36;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 50%;
    width: min(300px, calc(100% - 28px));
    max-height: calc(100% - 90px - env(safe-area-inset-top, 0px));
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #493440;
    border-radius: 18px;
    background: #1c151ef5;
    color: #faf5f7;
    box-shadow: 0 12px 36px #0005;
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nwm--embedded .nwm-city-panel > strong,
.nwm--embedded .nwm-city-panel h3 { display: block; margin: 0 0 10px; font-size: 14px; }
.nwm--embedded .nwm-city-panel p { margin: 10px 0 0; color: #c6b6c1; font-size: 11px; line-height: 1.6; }
.nwm--embedded .nwm-city-panel label { display: block; margin-bottom: 12px; }
.nwm--embedded .nwm-city-panel input { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #57404e; border-radius: 12px; background: #28202b; color: #faf5f7; font: inherit; font-size: 16px; }
.nwm--embedded .nwm-city-panel input::placeholder { color: #bca7b6; opacity: 1; }
.nwm--embedded .nwm-city-panel button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #714153; border-radius: 12px; background: #800020; color: #fff; font-size: 13px; font-weight: 650; text-align: left; }
.nwm--embedded .nwm-city-panel button small { max-width: 125px; font-size: 10px; font-weight: 500; line-height: 1.4; text-align: right; color: #f1d2dd; }
.nwm--embedded .nwm-city-panel button + button { margin-top: 8px; }
.nwm--embedded .nwm-search { inset: calc(12px + env(safe-area-inset-top, 0px)) 72px auto 14px; }
.nwm--embedded .nwm-search input { min-height: 44px; padding-block: 9px; border-radius: 22px; }
.nwm--embedded .nwm-toolbar { display: none; }
.nwm--embedded .nwm-map-status { top: calc(124px + env(safe-area-inset-top, 0px)); width: min(360px, calc(100% - 28px)); }
.nwm--embedded .nwm-sidebar { left: 18px; bottom: 18px; width: min(380px, calc(100% - 36px)); border-radius: 20px; }
.nwm--embedded .nwm-sheet-toggle { min-height: 44px; height: 44px; padding: 15px 14px 5px; }
.nwm--embedded .nwm-sheet-grip { top: 6px; width: 30px; height: 3px; left: calc(50% - 15px); background: #897481; }
.nwm--embedded .nwm-sheet-title { font-size: 13px; }
.nwm--embedded .nwm-sheet-content { height: calc(100% - 44px); padding: 0 10px 8px; }
.nwm--embedded .nwm-card { grid-template-columns: 52px minmax(0,1fr); gap: 10px; padding: 7px; border-radius: 13px; }
.nwm--embedded .nwm-card-media { width: 52px; height: 68px; border-radius: 10px; }
.nwm--embedded .nwm-card-category { margin-bottom: 0 !important; font-size: 9px; line-height: 1.2; }
.nwm--embedded .nwm-card-title,
.nwm--embedded .nwm-card-focus { font-size: 15px !important; line-height: 1.25; }
.nwm--embedded .nwm-card-focus { min-height: 24px; padding: 2px 0; }
.nwm--embedded .nwm-card-address { overflow: hidden; font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.nwm--embedded[data-sheet="full"] .nwm-card-address { overflow: visible; white-space: normal; }
.nwm--embedded .nwm-card-link { min-height: 40px; margin-top: 4px; padding: 8px 12px; border-radius: 10px; font-size: 11px; }
.nwm--embedded .nwm-sheet-footer { display: none; margin-top: 14px; padding-top: 12px; border-top: 1px solid #ffffff12; }
.nwm--embedded[data-sheet="full"] .nwm-sheet-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nwm--embedded .nwm-sheet-footer button,
.nwm--embedded .nwm-sheet-footer > a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 11px; border: 1px solid var(--nwm-line); border-radius: 10px; background: transparent; color: var(--nwm-muted); font-size: 11px; text-decoration: none; }
.nwm--embedded .nwm-sheet-footer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nwm--embedded .nwm-info-panel { position: static; width: 100%; max-height: none; margin: 10px 0 0; padding: 14px; border: 1px solid var(--nwm-line); border-radius: 12px; box-shadow: none; background: var(--nwm-panel); }
.nwm--embedded .nwm-info-panel p { font-size: 12px; }
.nwm--embedded .mapboxgl-ctrl-top-right { top: calc(130px + env(safe-area-inset-top, 0px)); right: 14px; bottom: auto; }
.nwm--embedded .mapboxgl-ctrl-group { border-radius: 20px; background: #17121be6; }
.nwm--embedded .mapboxgl-ctrl-group > button,
.nwm--embedded .mapboxgl-ctrl-group > button:not(:last-child) { display: block; width: 40px; height: 40px; min-height: 40px; background: transparent; border-color: #ffffff1a; }
.nwm--embedded .mapboxgl-ctrl-group > button > .mapboxgl-ctrl-icon { filter: invert(1); }
.nwm--embedded .leaflet-top.leaflet-left { top: calc(130px + env(safe-area-inset-top, 0px)); right: 4px; bottom: auto; left: auto; }
.nwm--embedded .leaflet-bar a { width: 40px; height: 40px; min-height: 40px; line-height: 40px; color: #f6eff4; background: #17121be6; border-color: #ffffff1a; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-chip,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-floating-top > [data-nwm-search-toggle],
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button { background: #fffafce6; color: #2b1922; border-color: #d4bdc9; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-chip > svg { color: #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button[aria-pressed="true"],
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button.is-active { background: #800020; color: #fff; border-color: #9b2847; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-panel { color: #2b1922; border-color: #d4bdc9; background: #fffafcf5; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-panel p { color: #695661; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-panel input { color: #2b1922; background: #fff; border-color: #d4bdc9; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-panel input::placeholder { color: #7b6671; }
.nwe-v3[data-theme="day"] .nwm--embedded .mapboxgl-ctrl-group,
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a { color: #2b1922; background: #fffafce6; border-color: #d4bdc9; }
.nwe-v3[data-theme="day"] .nwm--embedded .mapboxgl-ctrl-group > button > .mapboxgl-ctrl-icon { filter: none; }
@media (min-width: 921px) {
    .nwm--embedded .nwm-category-strip { justify-content: center; }
}
@media (max-width: 920px) {
    .nwm.nwm--embedded { --nwm-sheet-height: min(170px, 30%); }
    .nwm--embedded .nwm-sidebar { right: 0; bottom: 0; left: 0; width: 100%; border-radius: 20px 20px 0 0; }
}
@media (max-width: 380px) {
    .nwm--embedded .nwm-floating-top { right: 10px; left: 10px; gap: 4px; }
    .nwm--embedded .nwm-city-chip { padding-inline: 12px; }
    .nwm--embedded .nwm-city-chip strong { font-size: 15px; }
    .nwm--embedded .nwm-category-strip { gap: 6px; padding-inline: 10px; }
    .nwm--embedded .nwm-category-strip > button { padding-inline: 12px; font-size: 11px; }
    .nwm--embedded .nwm-search { right: 64px; left: 10px; }
    .nwm--embedded .nwm-card { grid-template-columns: 48px minmax(0,1fr); gap: 8px; }
    .nwm--embedded .nwm-card-media { width: 48px; height: 64px; }
}

/* City p2.21: quieter floating chrome and clearer places, without new map states. */
.nwm.nwm--embedded { --nwm-sheet-height: 192px; --nwm-float-bg: #18121ee8; }
.nwm--embedded::before {
    content: '';
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    height: calc(142px + env(safe-area-inset-top, 0px));
    background: linear-gradient(180deg, #100b186b 0%, #100b1829 62%, transparent 100%);
    pointer-events: none;
}
.nwm--embedded .nwm-city-chip,
.nwm--embedded .nwm-floating-top > [data-nwm-search-toggle] {
    border-color: #ffffff20;
    background: #18121ee8;
    box-shadow: 0 2px 9px #0003;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.nwm--embedded .nwm-city-chip { gap: 8px; padding-inline: 15px; }
.nwm--embedded .nwm-city-chip strong { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.nwm--embedded .nwm-city-chip:hover,
.nwm--embedded .nwm-floating-top > [data-nwm-search-toggle]:hover { background: #30222e; border-color: #9b5971; }
.nwm--embedded .nwm-city-chip[aria-expanded="true"] { border-color: #b55a76; }
.nwm--embedded .nwm-category-strip { gap: 7px; top: calc(66px + env(safe-area-inset-top, 0px)); padding-block: 2px 5px; scroll-padding-inline: 14px; }
.nwm--embedded .nwm-category-strip > button {
    min-height: 44px;
    gap: 7px;
    padding: 10px 13px;
    border-color: #ffffff1c;
    background: #18121ee8;
    box-shadow: 0 2px 7px #0002;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
}
.nwm--embedded .nwm-category-strip > button > svg { width: 16px; height: 16px; flex: 0 0 16px; opacity: .92; }
.nwm--embedded .nwm-category-strip > button > span { font-size: inherit; line-height: inherit; }
.nwm--embedded .nwm-category-strip > .nwm-category-entry { border-color: #b26780; color: #f5d3df; }
.nwm--embedded .nwm-category-strip > button[aria-pressed="true"],
.nwm--embedded .nwm-category-strip > button.is-active { border-color: #b04365; background: #800020; color: #fff; box-shadow: 0 2px 8px #34000e30; }
.nwm--embedded .nwm-city-panel { border-color: #58404e; background: #201824; box-shadow: 0 10px 28px #0005; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nwm--embedded .nwm-sidebar { border-color: #ffffff1a; background: #171219; box-shadow: 0 4px 24px #0004; }
.nwm--embedded .nwm-sheet-title { font-size: 13px; font-weight: 700; }
.nwm--embedded .nwm-sheet-grip { background: #a38796; }
.nwm--embedded .nwm-sheet-content { padding-inline: 12px; padding-bottom: 10px; }
.nwm--embedded .nwm-card { grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 11px; padding: 9px; border-color: #ffffff10; border-radius: 15px; background: #241b26; }
.nwm--embedded .nwm-card.is-selected { border-color: #8e3b55; background: #2c1c27; }
.nwm--embedded .nwm-card-media { width: 64px; height: 88px; border-radius: 11px; background: #800020; }
.nwm--embedded .nwm-card-initial { font-size: 27px; font-weight: 750; letter-spacing: -.035em; }
.nwm--embedded .nwm-card-category { color: #eac4d2; font-size: 9px; line-height: 1.3; letter-spacing: .04em; }
.nwm--embedded .nwm-card-title,
.nwm--embedded .nwm-card-focus { font-size: 14px !important; line-height: 1.3; font-weight: 700; }
.nwm--embedded .nwm-card-address { font-size: 11px; line-height: 1.5; }
.nwm--embedded .nwm-card-link { min-height: 44px; margin-top: 5px; padding: 10px 13px; border-color: #9c3655; border-radius: 10px; font-size: 11px; line-height: 1.2; font-weight: 650; }
.nwm--embedded .nwm-marker-dot { width: 44px; height: 44px; margin-bottom: 7px; border: 3px solid #fff6fa; outline: 2px solid #800020; background: #800020; color: #fff; font-size: 20px; font-weight: 750; box-shadow: 0 3px 10px #0005; }
.nwm--embedded .nwm-marker.is-selected .nwm-marker-dot { border-color: #fff; outline: 2px solid #800020; background: #800020; box-shadow: 0 0 0 6px #f9e8f0, 0 0 0 8px #800020, 0 4px 12px #0005; }
.nwm--embedded .nwm-marker-name { border-color: #8c4059; background: #251722f2; color: #fff6fa; padding: 5px 9px; box-shadow: 0 2px 6px #0003; font-size: 11px; font-weight: 650; }
.nwm--embedded .nwm-marker.is-selected .nwm-marker-name { background: #800020; border-color: #c27d93; color: #fff; }
.nwm--embedded .leaflet-bar a:hover,
.nwm--embedded .leaflet-bar a:focus,
.nwm--embedded .leaflet-bar a:focus-visible,
.nwm--embedded .mapboxgl-ctrl-group > button:hover,
.nwm--embedded .mapboxgl-ctrl-group > button:focus { background: #382433; color: #fff6fa; }
.nwm--embedded .leaflet-bar a.leaflet-disabled,
.nwm--embedded .leaflet-bar a.leaflet-disabled:hover { color: #93828f; background: #211a26; }
.nwm--embedded :is(.nwm-city-chip, .nwm-icon-button, .nwm-category-strip > button, .nwm-card-link, .nwm-card-focus, .nwm-sheet-toggle):focus-visible { outline: 2px solid #f4c9d9; outline-offset: 3px; }
.nwm--embedded .leaflet-bar a:focus-visible,
.nwm--embedded .mapboxgl-ctrl-group > button:focus-visible { outline: 2px solid #f4c9d9; outline-offset: -3px; }
.nwe-v3[data-theme="day"] .nwm--embedded::before { background: linear-gradient(180deg, #fff9fc80 0%, #fff9fc29 62%, transparent 100%); }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-chip,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-floating-top > [data-nwm-search-toggle],
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button { background: #fffafcf2; border-color: #cdb2c0; color: #34212d; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-chip:hover,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-floating-top > [data-nwm-search-toggle]:hover,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button:hover { background: #f1e2e9; border-color: #a95b76; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button[aria-pressed="true"],
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-category-strip > button.is-active { background: #800020; color: #fff; border-color: #9b2847; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-city-panel,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-sidebar { background: #fffafc; border-color: #d8c1cd; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-card { background: #f8eef3; border-color: #e8d5df; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-card.is-selected { background: #f5e7ee; border-color: #b9728b; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-card-category { color: #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a:hover,
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a:focus,
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a:focus-visible,
.nwe-v3[data-theme="day"] .nwm--embedded .mapboxgl-ctrl-group > button:hover,
.nwe-v3[data-theme="day"] .nwm--embedded .mapboxgl-ctrl-group > button:focus { color: #800020; background: #f1e2e9; }
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a.leaflet-disabled,
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a.leaflet-disabled:hover { color: #9f8995; background: #f6edf2; }
.nwe-v3[data-theme="day"] .nwm--embedded :is(.nwm-city-chip, .nwm-icon-button, .nwm-category-strip > button, .nwm-card-link, .nwm-card-focus, .nwm-sheet-toggle):focus-visible,
.nwe-v3[data-theme="day"] .nwm--embedded .leaflet-bar a:focus-visible,
.nwe-v3[data-theme="day"] .nwm--embedded .mapboxgl-ctrl-group > button:focus-visible { outline-color: #800020; }
@media (max-width: 920px) {
    .nwm.nwm--embedded { --nwm-sheet-height: 184px; }
}
@media (max-width: 380px) {
    .nwm--embedded .nwm-category-strip > button { padding-inline: 12px; font-size: 12px; }
    .nwm--embedded .nwm-sheet-content { padding-inline: 10px; }
    .nwm--embedded .nwm-card { grid-template-columns: 56px minmax(0, 1fr); gap: 9px; padding: 8px; }
    .nwm--embedded .nwm-card-media { width: 56px; height: 86px; }
}

/* City p2.22: real event discovery stays inside the sheet, clear of the map. */
/* :where keeps the existing collapsed/full state selectors authoritative. */
.nwm.nwm--embedded:where([data-nwm-content="venues"]) { --nwm-sheet-height: 240px; }
.nwm.nwm--embedded:where([data-nwm-content="events"]) { --nwm-sheet-height: 320px; }
.nwm--embedded .nwm-content-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 8px;
    padding: 3px;
    border: 1px solid #50303f;
    border-radius: 13px;
    background: #211720;
}
.nwm--embedded .nwm-content-switch > button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #d5c1cd;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 650;
}
.nwm--embedded .nwm-content-switch > button:hover { background: #3c2433; color: #fff5fa; }
.nwm--embedded .nwm-content-switch > button[aria-pressed="true"] { border-color: #a04361; background: #800020; color: #fff; }
.nwm--embedded .nwm-content-switch > button > svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nwm--embedded .nwm-event-controls { margin: 0 0 10px; }
.nwm--embedded .nwm-event-filter-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 1px 0 3px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #794256 transparent;
}
.nwm--embedded .nwm-event-filter-row > button {
    flex: 1 0 auto;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #573443;
    border-radius: 11px;
    background: #261b27;
    color: #e8d5e0;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
}
.nwm--embedded .nwm-event-filter-row > button:hover { background: #3c2433; border-color: #b25a79; }
.nwm--embedded .nwm-event-filter-row > button[aria-pressed="true"] { border-color: #bc6381; background: #472032; color: #fff4f9; box-shadow: inset 0 -2px #ba5477; }
.nwm--embedded .nwm-event-date-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 0; }
.nwm--embedded .nwm-event-date-field > span { color: #cfbac7; font-size: 11px; font-weight: 600; }
.nwm--embedded .nwm-event-date-field input { width: min(180px, 65%); min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #865065; border-radius: 10px; background: #241a27; color: #fff5fa; font: inherit; font-size: 16px; color-scheme: dark; }
.nwm--embedded .nwm-event-window { margin: 5px 2px 0; color: #c3acbb; font-size: 10px; line-height: 1.4; }
.nwm--embedded .nwm-event-window:empty { display: none; }
.nwm--embedded .nwm-event-card { border-color: #59313f; }
.nwm--embedded .nwm-event-card .nwm-card-category { color: #ecc4d4; font-size: 9px; line-height: 1.3; letter-spacing: .025em; }
.nwm--embedded .nwm-event-card .nwm-card-focus { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.nwm--embedded .nwm-event-time { margin: 2px 0; color: #f4d6e2; font-size: 11px; line-height: 1.4; font-weight: 650; }
.nwm--embedded .nwm-event-venue { color: inherit; text-decoration: underline; text-decoration-color: #9a647b; text-underline-offset: 3px; }
.nwm--embedded .nwm-event-venue:hover { color: #f4c9d9; text-decoration-color: currentColor; }
.nwm--embedded .nwm-event-artists { margin: 2px 0 0; overflow: hidden; color: #c7b1bf; font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.nwm--embedded[data-sheet="full"] .nwm-event-artists { overflow: visible; white-space: normal; }
.nwm--embedded[data-sheet="full"] .nwm-event-card .nwm-card-focus { display: block; overflow: visible; -webkit-line-clamp: unset; }
.nwm--embedded .nwm-event-empty { margin: 0; padding: 16px 13px; border: 1px solid #54333f; border-radius: 13px; background: #261b25; color: #d7c4cf; font-size: 12px; line-height: 1.65; }
.nwm--embedded .nwm-event-empty strong { display: block; margin-bottom: 5px; color: #f7e9f1; font-size: 13px; font-weight: 650; }
.nwm--embedded .nwm-leaflet-icon .nwm-event-marker { position: relative; }
.nwm--embedded .nwm-event-marker .nwm-marker-dot { border-radius: 13px; }
.nwm--embedded .nwm-marker-count { position: absolute; z-index: 2; top: 1px; left: calc(50% + 12px); display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #800020; border-radius: 12px; background: #fff4f8; color: #800020; font-size: 10px; line-height: 1; font-weight: 750; box-shadow: 0 1px 4px #0004; }
.nwm--embedded :is(.nwm-content-switch > button, .nwm-event-filter-row > button, .nwm-event-date-field input):focus-visible { outline: 2px solid #f4c9d9; outline-offset: -3px; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-content-switch { background: #f2e3eb; border-color: #d7b9c9; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-content-switch > button { color: #6c4056; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-content-switch > button:hover { background: #ead2de; color: #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-content-switch > button[aria-pressed="true"] { background: #800020; border-color: #9f3756; color: #fff; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-filter-row > button { background: #fffafc; color: #694052; border-color: #d6b7c7; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-filter-row > button:hover { background: #f2dfe9; border-color: #b16885; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-filter-row > button[aria-pressed="true"] { background: #efd3df; color: #800020; border-color: #b16885; box-shadow: inset 0 -2px #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-date-field > span,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-window { color: #79596b; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-date-field input { background: #fff; color: #3c2030; border-color: #bb819a; color-scheme: light; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-card .nwm-card-category,
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-time { color: #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-artists { color: #775c6c; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-venue:hover { color: #800020; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-empty { background: #f7eaf0; color: #775565; border-color: #ddc0ce; }
.nwe-v3[data-theme="day"] .nwm--embedded .nwm-event-empty strong { color: #4d263b; }
.nwe-v3[data-theme="day"] .nwm--embedded :is(.nwm-content-switch > button, .nwm-event-filter-row > button, .nwm-event-date-field input):focus-visible { outline-color: #800020; }
@media (max-width: 380px) {
    .nwm--embedded .nwm-event-filter-row { gap: 5px; }
    .nwm--embedded .nwm-event-filter-row > button { padding-inline: 10px; }
}

/* City p2.23: editorial story rings; only active approved content earns a ring. */
.nwm .nwm-stories { min-width: 0; margin: 2px 0 12px; padding: 0 2px 10px; border-bottom: 1px solid var(--nwm-line); }
.nwm .nwm-stories-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; margin-bottom: 5px; }
.nwm .nwm-stories-head h3 { font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: -.015em; color: var(--nwm-text); }
.nwm .nwm-stories-head > span { color: var(--nwm-muted); font-size: 10px; line-height: 1.4; }
.nwm .nwm-story-status { margin: 2px 0 0; color: var(--nwm-muted); font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.nwm .nwm-story-status:empty { display: none; }
.nwm [data-nwm-story-retry] { min-height: 44px; margin-top: 5px; padding: 8px 12px; border: 1px solid var(--nwm-line); border-radius: 10px; background: var(--nwm-panel-soft); color: var(--nwm-text); font-size: 11px; }
.nwm .nwm-story-list { display: flex; align-items: flex-start; gap: 7px; min-width: 0; padding: 6px 3px 5px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-padding-inline: 6px; scrollbar-width: thin; scrollbar-color: #89536a transparent; }
.nwm .nwm-story-list:empty { display: none; }
.nwm .nwm-story-ring { position: relative; display: flex; flex: 0 0 76px; flex-direction: column; align-items: center; gap: 6px; min-width: 0; min-height: 94px; padding: 4px 2px; border: 0; border-radius: 12px; background: transparent; color: var(--nwm-text); text-align: center; }
.nwm .nwm-story-ring:hover { background: var(--nwm-panel-soft); }
.nwm .nwm-story-avatar { position: relative; display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; overflow: hidden; border: 3px solid var(--nwm-panel); border-radius: 50%; outline: 2px solid #b65a77; outline-offset: 1px; background: linear-gradient(145deg, #9b2847, #62001b); box-shadow: 0 2px 7px #0003; }
.nwm .nwm-story-avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nwm .nwm-story-initial { color: #fff6fa; font-size: 23px; line-height: 1; font-weight: 750; letter-spacing: -.04em; }
.nwm .nwm-story-name { display: -webkit-box; width: 100%; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 10px; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.nwm .nwm-story-count { color: var(--nwm-muted); font-size: 9px; line-height: 1.2; }
.nwm .nwm-story-count:empty { display: none; }
.nwm .nwm-story-ring.is-seen .nwm-story-avatar { outline-color: #85717d; }
.nwm .nwm-marker.has-story .nwm-marker-dot { border-color: #fff6fa; outline: 3px solid #b65a77; outline-offset: 3px; box-shadow: 0 0 0 4px #1a1018, 0 4px 12px #0006; }
.nwm .nwm-marker-story-hint { display: block; min-height: 16px; margin-top: 2px; padding: 1px 6px; border: 1px solid #ad526e; border-radius: 7px; background: #800020; color: #fff; font-size: 9px; line-height: 1.4; font-weight: 650; }
.nwm .nwm-story-card-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; max-width: 100%; margin: 4px 6px 0 0; padding: 8px 11px; border: 1px solid #a44d68; border-radius: 10px; background: #402131; color: #f9dfe9; font-size: 11px; line-height: 1.4; font-weight: 650; }
.nwm .nwm-story-card-action::before { content: ''; display: inline-block; flex: 0 0 13px; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; }
.nwm .nwm-story-card-action:hover { border-color: #d786a2; background: #5b233a; }
.nwm :is(.nwm-story-ring, .nwm-story-card-action, [data-nwm-story-retry]):focus-visible { outline: 2px solid var(--nwm-focus); outline-offset: 2px; }
.nwe-v3[data-theme="day"] .nwm .nwm-story-avatar { outline-color: #800020; }
.nwe-v3[data-theme="day"] .nwm .nwm-story-ring.is-seen .nwm-story-avatar { outline-color: #b49ba8; }
.nwe-v3[data-theme="day"] .nwm .nwm-story-card-action { border-color: #b56e87; background: #f5e1eb; color: #800020; }
.nwe-v3[data-theme="day"] .nwm .nwm-story-card-action:hover { border-color: #800020; background: #ecd0de; }

/* Native dialog places the reader above the app's fixed navigation and clipped map. */
.nwm .nwm-story-viewer {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 18px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #080509f2;
    color: #fff5f9;
    color-scheme: dark;
    font: inherit;
    overscroll-behavior: contain;
}
.nwm .nwm-story-viewer::backdrop { background: #080509ed; }
.nwm .nwm-story-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 3px auto minmax(0, 1fr) auto;
    gap: 0;
    width: min(100%, 430px);
    height: min(100%, 820px);
    min-width: 0;
    min-height: 0;
    padding: 14px;
    overflow: hidden;
    border: 1px solid #674050;
    border-radius: 24px;
    background: radial-gradient(ellipse at 88% 12%, #9b284755, transparent 58%), linear-gradient(155deg, #52182e 0%, #310b21 50%, #170c16 100%);
    box-shadow: 0 24px 90px #0008;
}
.nwm .nwm-story-progress { position: relative; z-index: 3; grid-row: 1; display: flex; align-items: stretch; gap: 4px; min-width: 0; height: 3px; }
.nwm .nwm-story-progress-segment { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 3px; background: #ffffff38; }
.nwm .nwm-story-progress-segment.is-complete { background: #ffffffea; }
.nwm .nwm-story-progress-fill { display: block; width: var(--nwm-story-progress, 0%); max-width: 100%; height: 100%; background: #fff4f8; }
.nwm .nwm-story-viewer[data-story-playing="false"] .nwm-story-progress-segment.is-current { background: #d782a0; }
.nwm .nwm-story-top { position: relative; z-index: 3; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 9px 0 16px; }
.nwm .nwm-story-heading { min-width: 0; padding: 0 2px; text-shadow: 0 1px 5px #0008; }
.nwm .nwm-story-heading small { display: block; margin-bottom: 4px; color: #edc6d6; font-size: 10px; line-height: 1.3; font-weight: 600; letter-spacing: .035em; }
.nwm .nwm-story-heading strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #fff5f9; font-size: 13px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.nwm .nwm-story-controls { display: flex; align-items: center; flex: 0 0 auto; gap: 5px; }
.nwm .nwm-story-controls > button,
.nwm .nwm-story-navigation > button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid #ffffff38; border-radius: 50%; background: #1c101bba; color: #fff5f9; font-size: 12px; line-height: 1.2; font-weight: 600; }
.nwm .nwm-story-controls > button:hover,
.nwm .nwm-story-navigation > button:not(:disabled):hover { border-color: #e5b7ca; background: #4b2034; }
.nwm .nwm-story-controls > button svg,
.nwm .nwm-story-navigation > button svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nwm .nwm-story-media { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: transparent; pointer-events: none; }
.nwm .nwm-story-media > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #160c14; }
.nwm .nwm-story-stage[data-story-media="true"]::before { content: ''; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, #0b060ee0 0%, #0b060e33 27%, #0b060e33 48%, #0b060ed9 77%, #0b060ef5 100%); pointer-events: none; }
.nwm .nwm-story-copy { position: relative; z-index: 2; grid-row: 3; align-self: end; min-width: 0; min-height: 0; max-height: 100%; padding: 20px 10px 22px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c27591 transparent; }
.nwm .nwm-story-copy h3 { margin: 0 0 13px; color: #fff8fb; font-size: clamp(24px, 4.5vw, 32px); line-height: 1.2; letter-spacing: -.045em; font-weight: 750; overflow-wrap: anywhere; }
.nwm .nwm-story-copy p { margin: 0; color: #f4dce6; font-size: 15px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.nwm .nwm-story-stage[data-story-media="false"] .nwm-story-copy { align-self: center; padding-block: 28px; }
.nwm .nwm-story-stage[data-story-media="false"] .nwm-story-copy::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 22px; border-radius: 3px; background: #e2a1ba; }
.nwm .nwm-story-stage[data-story-media="false"] .nwm-story-copy h3 { font-size: clamp(27px, 5vw, 36px); }
.nwm .nwm-story-footer { position: relative; z-index: 3; grid-row: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 11px 3px 0; border-top: 1px solid #eab8cc38; }
.nwm .nwm-story-footer > span { min-width: 0; color: #e3bfce; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.nwm .nwm-story-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.nwm .nwm-story-navigation > button { border-radius: 12px; }
.nwm .nwm-story-navigation > button:disabled { opacity: .35; }
.nwm .nwm-story-link { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; margin-bottom: 1px; padding: 11px 16px; border: 1px solid #b86b85; border-radius: 13px; background: #800020; color: #fff !important; text-decoration: none; text-align: center; font-size: 13px; line-height: 1.4; font-weight: 700; }
.nwm .nwm-story-link:hover { background: #9b2847; border-color: #e5a6bd; }
.nwm .nwm-story-viewer :is(button, a):focus-visible { outline: 3px solid #f5bdd2; outline-offset: 2px; }
/* Fallback dialog engines still need the City stacking context above app navigation. */
.nwe-v3-view:has(.nwm-story-viewer:not([hidden])) { z-index: 1200; animation: none; transform: none; }
@media (max-width: 560px) {
    .nwm .nwm-story-viewer { padding: 0; }
    .nwm .nwm-story-stage { width: 100%; height: 100%; max-height: none; padding: max(10px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); border: 0; border-radius: 0; }
    .nwm .nwm-story-copy { padding-inline: 10px; }
    .nwm .nwm-story-footer { padding-top: 10px; }
}
@media (max-width: 380px) {
    .nwm .nwm-story-list { gap: 4px; }
    .nwm .nwm-story-ring { flex-basis: 70px; }
    .nwm .nwm-story-top { gap: 6px; }
    .nwm .nwm-story-heading strong { font-size: 12px; }
    .nwm .nwm-story-controls { gap: 3px; }
    .nwm .nwm-story-copy { padding-inline: 6px; }
    .nwm .nwm-story-copy h3 { font-size: 25px; }
    .nwm .nwm-story-copy p { font-size: 14px; }
    .nwm .nwm-story-link { padding-inline: 10px; font-size: 12px; }
}
@media (max-height: 540px) and (min-width: 561px) {
    .nwm .nwm-story-viewer { padding: 8px; }
    .nwm .nwm-story-stage { width: min(100%, 640px); border-radius: 16px; padding: 10px 14px; }
    .nwm .nwm-story-top { padding-bottom: 8px; }
    .nwm .nwm-story-copy { padding-block: 10px; }
    .nwm .nwm-story-copy h3,
    .nwm .nwm-story-stage[data-story-media="false"] .nwm-story-copy h3 { font-size: 24px; margin-bottom: 8px; }
    .nwm .nwm-story-copy p { font-size: 14px; }
    .nwm .nwm-story-footer { grid-template-columns: minmax(120px, 1fr) auto auto; gap: 10px; }
    .nwm .nwm-story-link { grid-column: 1; margin: 0; }
    .nwm .nwm-story-footer > span { grid-column: 2; grid-row: 1; }
    .nwm .nwm-story-navigation { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .nwm .nwm-story-list { scroll-behavior: auto; }
    .nwm .nwm-story-progress-fill { transition: none; }
}
/* Reserve only the space actually used by stories; full/collapsed sheet states win. */
.nwm.nwm--embedded:where([data-nwm-stories-active="false"][data-nwm-content="venues"]) { --nwm-sheet-height: 284px; }
.nwm.nwm--embedded:where([data-nwm-stories-active="false"][data-nwm-content="events"]) { --nwm-sheet-height: 364px; }
.nwm.nwm--embedded:where([data-nwm-stories-active="true"][data-nwm-content="venues"]) { --nwm-sheet-height: min(390px, 58%); }
.nwm.nwm--embedded:where([data-nwm-stories-active="true"][data-nwm-content="events"]) { --nwm-sheet-height: min(470px, 64%); }
.nwm[data-nwm-stories-active="false"] .nwm-stories { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 4px; padding-block: 2px 8px; margin-bottom: 8px; }
.nwm[data-nwm-stories-active="false"] .nwm-stories-head { min-height: 0; margin: 0; }
.nwm[data-nwm-stories-active="false"] .nwm-stories-head > span { display: none; }
.nwm[data-nwm-stories-active="false"] .nwm-story-status { flex: 1 1 180px; margin: 0; font-size: 10px; }
.nwm .nwm-story-controls > .nwm-story-play { border-radius: 12px; padding-inline: 10px; font-size: 11px; }
.nwm .nwm-story-controls > .nwm-story-close { padding: 6px; font-size: 27px; line-height: 1; }
.nwm .nwm-story-navigation > button { font-size: 11px; }
/* An external directions action shares the existing burgundy map language. */
.nwm-directions-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 12px;margin:8px 0 0;border:1px solid #865366;border-radius:12px;color:#f3dce5;background:#38232c;font-size:13px;font-weight:600;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}.nwm-directions-link:hover{background:#512536;color:#fff}.nwm-directions-link:focus-visible{outline:3px solid #df829f;outline-offset:3px}[data-theme=day] .nwm-directions-link{background:#fff4f8;border-color:#b5738a;color:#800020}

/* Private bookmarks keep the existing burgundy app palette and compact cards. */
.nwm .nwm-save-control{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;margin-top:10px;max-width:100%}
.nwm .nwm-save-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid #9e6479;border-radius:12px;background:#30212a;color:#f8e5ed!important;font:inherit;font-size:13px;line-height:1.4;font-weight:650;cursor:pointer}
.nwm .nwm-save-button::before{content:'';display:block;flex:none;width:12px;height:16px;background:currentColor;clip-path:polygon(0 0,100% 0,100% 100%,50% 74%,0 100%,0 0,15% 13%,15% 78%,50% 58%,85% 78%,85% 13%,15% 13%)}
.nwm .nwm-save-button[aria-pressed=true]{background:#800020;border-color:#cb819b;color:#fff!important}
.nwm .nwm-save-button[aria-pressed=true]::before{clip-path:polygon(0 0,100% 0,100% 100%,50% 74%,0 100%)}
.nwm .nwm-save-button:hover:not(:disabled){background:#572435;border-color:#dfa0b6}
.nwm .nwm-save-button:focus-visible{outline:3px solid #efafc6;outline-offset:3px}
.nwm .nwm-save-button:disabled{cursor:default;opacity:.68}
.nwm .nwm-save-status{flex:1 1 140px;color:#cdb7c1;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
[data-theme=day] .nwm .nwm-save-button{background:#fff4f8;color:#800020!important;border-color:#b5738a}
[data-theme=day] .nwm .nwm-save-button[aria-pressed=true]{background:#800020;color:#fff!important}
[data-theme=day] .nwm .nwm-save-status{color:#684b59}
