:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--color-1: #E1D7C6;--wp--preset--color--color-2: #2C2A29;--wp--preset--color--color-3: #5A504A;--wp--preset--color--light: #ffffff;--wp--preset--color--dark: #0d141a;--wp--preset--color--grey: #B8C0CC;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--gradient--gradient-one: linear-gradient(135deg, #E1D7C6 0%, #D4A373 100%);--wp--preset--font-size--small: 12px;--wp--preset--font-size--medium: 16px;--wp--preset--font-size--large: 18px;--wp--preset--font-size--x-large: 38px;--wp--preset--font-size--xx-large: 60px;--wp--preset--font-family--system: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--wp--preset--font-family--serif: "Times New Roman","New York",Times,"Noto Serif",serif;--wp--preset--font-family--monospace: Consolas,Menlo,Monaco,"SF Mono","DejaVu Sans Mono","Roboto Mono","Courier New",Courier,monospace;--wp--preset--font-family--dmsans: DMSans, sans-serif;--wp--preset--font-family--caudex: Caudex, serif;--wp--preset--font-family--cormorant: Cormorant, serif;--wp--preset--font-family--dmserif-display: DMSerifDisplay, serif;--wp--preset--font-family--firasans: FiraSans, sans-serif;--wp--preset--font-family--gruppo: Gruppo, sans-serif;--wp--preset--font-family--junge: Junge, serif;--wp--preset--font-family--montserrat: Montserrat, sans-serif;--wp--preset--font-family--nunitosans: NunitoSans, sans-serif;--wp--preset--font-family--playfairdisplay: PlayfairDisplay, serif;--wp--preset--font-family--poppins: Poppins, sans-serif;--wp--preset--font-family--prompt: Prompt, sans-serif;--wp--preset--font-family--prostoone: ProstoOne, sans-serif;--wp--preset--font-family--roboto: Roboto, sans-serif;--wp--preset--font-family--titilliumweb: TitilliumWeb, sans-serif;--wp--preset--font-family--trirong: Trirong, serif;--wp--preset--font-family--lato: Lato, sans-serif;--wp--preset--font-family--ibm-plex-mono: IBM Plex Mono, monospace, sans-serif;--wp--preset--font-family--prata: Prata, serif;--wp--preset--font-family--catamaran: Catamaran, sans-serif;--wp--preset--font-family--open-sans: Open Sans, sans-serif;--wp--preset--font-family--manrope: Manrope, sans-serif;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}:root { --wp--style--global--content-size: 700px;--wp--style--global--wide-size: 1100px; }:where(body) { margin: 0; }.wp-site-blocks { padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom); }.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 40px; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child { margin-block-end: 0; }:root { --wp--style--block-gap: 40px; }:root :where(.is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.is-layout-flow) > *{margin-block-start: 40px;margin-block-end: 0;}:root :where(.is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.is-layout-constrained) > *{margin-block-start: 40px;margin-block-end: 0;}:root :where(.is-layout-flex){gap: 40px;}:root :where(.is-layout-grid){gap: 40px;}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{color: var(--wp--preset--color--contrast);font-family: Open Sans, sans-serif;font-size: var(--wp--preset--font-size--medium);line-height: 1.5;--wp--style--root--padding-top: 0px;--wp--style--root--padding-right: var(--wp--preset--spacing--50);--wp--style--root--padding-bottom: 0px;--wp--style--root--padding-left: var(--wp--preset--spacing--50);}a:where(:not(.wp-element-button)){color: var(--wp--preset--color--contrast);text-decoration: underline;}:root :where(a:where(:not(.wp-element-button)):hover){color: var(--wp--preset--color--contrast);text-decoration: none;}:root :where(a:where(:not(.wp-element-button)):focus){color: var(--wp--preset--color--contrast);}:root :where(a:where(:not(.wp-element-button)):active){color: var(--wp--preset--color--contrast);}h1, h2, h3, h4, h5, h6{font-family: TitilliumWeb, sans-serif;}:root :where(.wp-element-button, .wp-block-button__link){background-color: var(--wp--preset--color--primary);border-radius: 28px;border-color: var(--wp--preset--color--transparent);border-width: 1px;border-style: solid;color: var(--wp--preset--color--contrast);font-family: inherit;font-size: var(--wp--preset--font-size--small);font-style: inherit;font-weight: 500;letter-spacing: inherit;line-height: inherit;padding-top: var(--wp--preset--spacing--30);padding-right: var(--wp--preset--spacing--30);padding-bottom: var(--wp--preset--spacing--30);padding-left: var(--wp--preset--spacing--30);text-decoration: none;text-transform: inherit;}:root :where(.wp-element-button:hover, .wp-block-button__link:hover){border-color: var(--wp--preset--color--secondary);}:root :where(.wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption){color: var(--wp--preset--color--primary);}cite{color: var(--wp--preset--color--primary);}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-color-1-color{color: var(--wp--preset--color--color-1) !important;}.has-color-2-color{color: var(--wp--preset--color--color-2) !important;}.has-color-3-color{color: var(--wp--preset--color--color-3) !important;}.has-light-color{color: var(--wp--preset--color--light) !important;}.has-dark-color{color: var(--wp--preset--color--dark) !important;}.has-grey-color{color: var(--wp--preset--color--grey) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-color-1-background-color{background-color: var(--wp--preset--color--color-1) !important;}.has-color-2-background-color{background-color: var(--wp--preset--color--color-2) !important;}.has-color-3-background-color{background-color: var(--wp--preset--color--color-3) !important;}.has-light-background-color{background-color: var(--wp--preset--color--light) !important;}.has-dark-background-color{background-color: var(--wp--preset--color--dark) !important;}.has-grey-background-color{background-color: var(--wp--preset--color--grey) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-color-1-border-color{border-color: var(--wp--preset--color--color-1) !important;}.has-color-2-border-color{border-color: var(--wp--preset--color--color-2) !important;}.has-color-3-border-color{border-color: var(--wp--preset--color--color-3) !important;}.has-light-border-color{border-color: var(--wp--preset--color--light) !important;}.has-dark-border-color{border-color: var(--wp--preset--color--dark) !important;}.has-grey-border-color{border-color: var(--wp--preset--color--grey) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-gradient-one-gradient-background{background: var(--wp--preset--gradient--gradient-one) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}.has-xx-large-font-size{font-size: var(--wp--preset--font-size--xx-large) !important;}.has-system-font-family{font-family: var(--wp--preset--font-family--system) !important;}.has-serif-font-family{font-family: var(--wp--preset--font-family--serif) !important;}.has-monospace-font-family{font-family: var(--wp--preset--font-family--monospace) !important;}.has-dmsans-font-family{font-family: var(--wp--preset--font-family--dmsans) !important;}.has-caudex-font-family{font-family: var(--wp--preset--font-family--caudex) !important;}.has-cormorant-font-family{font-family: var(--wp--preset--font-family--cormorant) !important;}.has-dmserif-display-font-family{font-family: var(--wp--preset--font-family--dmserif-display) !important;}.has-firasans-font-family{font-family: var(--wp--preset--font-family--firasans) !important;}.has-gruppo-font-family{font-family: var(--wp--preset--font-family--gruppo) !important;}.has-junge-font-family{font-family: var(--wp--preset--font-family--junge) !important;}.has-montserrat-font-family{font-family: var(--wp--preset--font-family--montserrat) !important;}.has-nunitosans-font-family{font-family: var(--wp--preset--font-family--nunitosans) !important;}.has-playfairdisplay-font-family{font-family: var(--wp--preset--font-family--playfairdisplay) !important;}.has-poppins-font-family{font-family: var(--wp--preset--font-family--poppins) !important;}.has-prompt-font-family{font-family: var(--wp--preset--font-family--prompt) !important;}.has-prostoone-font-family{font-family: var(--wp--preset--font-family--prostoone) !important;}.has-roboto-font-family{font-family: var(--wp--preset--font-family--roboto) !important;}.has-titilliumweb-font-family{font-family: var(--wp--preset--font-family--titilliumweb) !important;}.has-trirong-font-family{font-family: var(--wp--preset--font-family--trirong) !important;}.has-lato-font-family{font-family: var(--wp--preset--font-family--lato) !important;}.has-ibm-plex-mono-font-family{font-family: var(--wp--preset--font-family--ibm-plex-mono) !important;}.has-prata-font-family{font-family: var(--wp--preset--font-family--prata) !important;}.has-catamaran-font-family{font-family: var(--wp--preset--font-family--catamaran) !important;}.has-open-sans-font-family{font-family: var(--wp--preset--font-family--open-sans) !important;}.has-manrope-font-family{font-family: var(--wp--preset--font-family--manrope) !important;}
/* Nightwall: one City-style bottom menu across all app routes. 2026-11-16 */
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] {
    --nw-nav-height: calc(64px + env(safe-area-inset-bottom, 0px));
    --nw-nav-bg: #0d0b10;
    --nw-nav-line: #ffffff0c;
    --nw-nav-text: #a99eaa;
    --nw-nav-active: #f4ccd6;
    --nw-nav-indicator: #9b2847;
}

body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-bottom-nav {
    z-index: 70;
    background: var(--nw-nav-bg);
    background-image: none;
    color: var(--nw-nav-text);
    border-color: var(--nw-nav-line);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button {
    color: var(--nw-nav-text);
    background: transparent;
    border-radius: 12px;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button.is-active,
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button.is-active .nwe-v3-icon {
    color: var(--nw-nav-active);
    background: transparent;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button.is-active::before {
    content: "";
    position: absolute;
    inset: 0 auto auto calc(50% - 9px);
    width: 18px;
    height: 3px;
    border-radius: 3px;
    background: var(--nw-nav-indicator);
    pointer-events: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button:focus-visible {
    outline: 2px solid var(--nw-nav-active);
    outline-offset: -3px;
}

@media (max-width: 920px), (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) {
    html:has(body.nightwall-engine-page .nwe-v3),
    body.nightwall-engine-page:has(.nwe-v3) {
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] {
        position: fixed;
        inset: 0 0 auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-topbar,
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-network-banner {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-shell {
        position: relative;
        inset: auto;
        display: block;
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        margin: 0 auto;
        padding-top: 18px;
        padding-bottom: 0;
        overflow: hidden;
        overscroll-behavior: contain;
        scroll-padding-block: 12px;
    }

    /* Each section owns its scroll position; changing category never inherits
       the previous category's scroll offset. No app event handlers are replaced. */
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-main {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-main > .nwe-v3-view__head {
        flex: 0 0 auto;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-main > [data-role-view="member"] {
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] [data-nwe-v3-view]:not([data-nwe-v3-view="city"]),
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-main > .nwe-v3-workspace {
        height: 100%;
        min-height: 0;
        overflow: auto;
        overscroll-behavior: contain;
        padding-bottom: 20px;
        scroll-padding-block: 12px;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-main > .nwe-v3-workspace {
        flex: 1 1 0;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] :is(.nwe-v3-lenses, .nwe-v3-creator-row) {
        margin-inline: 0;
        max-width: 100%;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"][data-theme] > .nwe-v3-shell {
        max-width: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-bottom-nav {
        position: relative;
        inset: auto;
        display: grid;
        flex: 0 0 var(--nw-nav-height);
        grid-template-columns: repeat(5, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1fr);
        justify-content: stretch;
        gap: 2px;
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        height: var(--nw-nav-height);
        min-height: var(--nw-nav-height);
        margin: 0;
        padding: 4px max(6px, env(safe-area-inset-right, 0px))
            calc(4px + env(safe-area-inset-bottom, 0px))
            max(6px, env(safe-area-inset-left, 0px));
        border: 0;
        border-top: 1px solid var(--nw-nav-line);
        border-radius: 0;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-bottom-nav--workspace {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        box-sizing: border-box;
        min-width: 0;
        min-height: 52px;
        gap: 3px;
        padding: 4px 2px;
        border: 0;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button .nwe-v3-icon {
        display: grid;
        place-items: center;
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button .nwe-v3-icon svg {
        width: 22px;
        height: 22px;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-bottom-nav button small {
        max-width: 100%;
        font-size: clamp(9px, 2.6vw, 10px);
        font-weight: 650;
        line-height: 1.15;
        white-space: nowrap;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] :is(.nwe-v3-sidebar, .nwe-v3-context) { display: none; }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > :is(.nwe-v3-drawer, .nwe-v3-dialog, .nwe-v3-toast) {
        position: absolute;
    }

    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] > .nwe-v3-toast {
        bottom: calc(var(--nw-nav-height) + 12px);
    }
}


/* Nightwall City: compact controls and a readable results sheet.
   Scoped to the real embedded map; navigation and map renderer stay unchanged. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded {
    --nwm-bg: #0d0b10;
    --nwm-panel: #17141b;
    --nwm-panel-soft: #211c25;
    --nwm-line: #ffffff18;
    --nwm-text: #f7f3f6;
    --nwm-muted: #b5aab5;
    --nwm-accent: #f4ccd6;
    --nwm-focus: #f4ccd6;
    --nwm-float-bg: #17141bf5;
    --nwm-float-shadow: 0 3px 14px #0003;
    --nwm-sheet-height: min(272px, 42%);
    color-scheme: dark;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-content="events"] {
    --nwm-sheet-height: min(332px, 48%);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-sheet="collapsed"] {
    --nwm-sheet-height: 52px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-sheet="full"] {
    --nwm-sheet-height: calc(100% - 124px - env(safe-area-inset-top, 0px));
}

/* Baseline quick controls; the v13 section below keeps three primary choices. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-city-chip, .nwm-floating-top > button, .nwm-category-strip > button) {
    color: var(--nwm-text);
    background: var(--nwm-float-bg);
    border: 1px solid var(--nwm-line);
    box-shadow: var(--nwm-float-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-chip > svg {
    color: var(--nwm-accent);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip {
    gap: 6px;
    scroll-padding-inline: 14px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > button:is([aria-pressed="true"], [aria-expanded="true"], .is-active) {
    color: #fff;
    background: #800020;
    border-color: #a64b66;
    box-shadow: none;
}

/* A distinct panel for the real category select, opened only by Categories. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-panel {
    position: absolute;
    z-index: 36;
    top: calc(118px + env(safe-area-inset-top, 0px));
    left: max(14px, env(safe-area-inset-left, 0px));
    width: min(360px, calc(100% - 28px));
    max-height: max(52px, calc(100% - 136px - env(safe-area-inset-top, 0px)));
    padding: 14px;
    overflow: auto;
    overscroll-behavior: contain;
    color: var(--nwm-text);
    background: var(--nwm-panel);
    border: 1px solid var(--nwm-line);
    border-radius: 16px;
    box-shadow: 0 10px 30px #0005;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded:not([data-nw-categories-open="true"]) .nwm-category-panel {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-panel .nwpm-filter {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--nwm-text);
    background: transparent;
    border: 0;
    border-radius: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-panel label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: var(--nwm-muted);
    font-size: 12px;
    line-height: 1.45;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-panel select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--nwm-text);
    background: var(--nwm-panel-soft);
    border: 1px solid #ffffff26;
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-panel select option {
    color: var(--nwm-text);
    background: var(--nwm-panel-soft);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-panel [data-nwm-category-preview] {
    display: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-panel {
    color: var(--nwm-text);
    background: var(--nwm-panel);
    border-color: var(--nwm-line);
    border-radius: 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-panel :is(input, button) {
    color: var(--nwm-text);
    background: var(--nwm-panel-soft);
    border-color: var(--nwm-line);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-panel button[aria-current="true"] {
    color: #fff;
    background: #800020;
    border-color: #a64b66;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-panel p {
    color: var(--nwm-muted);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-event-date-field input {
    color: var(--nwm-text);
    background: var(--nwm-panel-soft);
    border-color: var(--nwm-line);
    color-scheme: dark;
}

/* One panel, with a fixed handle and one scrolling content area. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sidebar {
    display: flex;
    flex-direction: column;
    height: var(--nwm-sheet-height);
    min-height: 52px;
    max-height: max(52px, calc(100% - 124px - env(safe-area-inset-top, 0px)));
    color: var(--nwm-text);
    background: var(--nwm-bg);
    border: 1px solid var(--nwm-line);
    border-radius: 18px;
    box-shadow: 0 6px 24px #0004;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-toggle {
    flex: 0 0 52px;
    height: 52px;
    min-height: 52px;
    padding: 18px 16px 8px;
    color: var(--nwm-text);
    background: transparent;
    border-radius: 18px 18px 0 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-title {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -.015em;
    font-weight: 650;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-grip {
    width: 32px;
    height: 3px;
    top: 7px;
    left: calc(50% - 16px);
    background: #857582;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded [data-nwm-count] {
    color: #b5aab5;
    background: transparent;
    background-image: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 500;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-content {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
    min-width: 0;
    padding: 0 14px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #675561 transparent;
}
/* Empty stories add no panel noise. A real story or a visible retry stays usable. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-stories:not(:has(.nwm-story-ring)):has([data-nwm-story-retry][hidden]) {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-content-switch, .nwm-event-filter-row > button) {
    color: var(--nwm-muted);
    background: var(--nwm-panel);
    border-color: var(--nwm-line);
    box-shadow: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-content-switch {
    margin-bottom: 10px;
    border-radius: 12px;
    padding: 3px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-content-switch > button {
    color: var(--nwm-muted);
    min-height: 44px;
    background: transparent;
    border-color: transparent;
    border-radius: 9px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-content-switch > button, .nwm-event-filter-row > button)[aria-pressed="true"] {
    color: var(--nwm-text);
    background: #38202c;
    border-color: #754052;
    box-shadow: none;
}

/* Result rows: clear identity and one primary action in the compact view. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-cards {
    gap: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 13px 0;
    margin: 0;
    color: var(--nwm-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--nwm-line);
    border-radius: 0;
    box-shadow: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card:last-child { border-bottom: 0; }
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card.is-selected {
    background: #f4ccd608;
    border-bottom-color: #9b6074;
    box-shadow: inset 2px 0 #9b2847;
    padding-left: 8px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-media {
    width: 54px;
    height: 66px;
    border-radius: 10px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-copy {
    min-width: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-category {
    color: var(--nwm-muted);
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: .015em;
    font-weight: 500;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-card-title, .nwm-card-focus) {
    color: var(--nwm-text);
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 650 !important;
    letter-spacing: -.015em;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-focus {
    min-height: 44px;
    padding: 4px 0;
    margin: 0;
    border: 0;
    background: transparent;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-card-address, .nwm-event-artists) {
    color: var(--nwm-muted);
    font-size: 12px;
    line-height: 1.45;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-event-time {
    color: var(--nwm-accent);
    font-size: 12px;
    line-height: 1.45;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    margin: 7px 6px 0 0;
    padding: 9px 12px;
    border: 1px solid #8e3e58;
    border-radius: 10px;
    color: #fff !important;
    background: #800020;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-sheet="peek"] .nwm-card-copy > :is(.nwm-directions-link, .nwm-save-control, .nvf-map-control, .nwpres-card-trigger, .nwm-story-card-action) {
    display: none;
}
/* Expanded results retain directions, saves, follows, stories and presence. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-copy > :is(.nwm-save-control, .nvf-map-control) {
    margin-top: 6px;
    gap: 4px 10px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-copy :is(.nwm-directions-link, .nwm-save-button, .nvf-button, .nvf-read-retry, .nwpres-card-trigger, .nwm-story-card-action) {
    min-height: 44px;
    padding: 8px 2px;
    margin-top: 3px;
    color: var(--nwm-accent) !important;
    background: transparent;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-copy :is(.nwm-save-button, .nvf-button)[aria-pressed="true"] {
    color: #fff !important;
    background: #38202c;
    padding-inline: 9px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-save-status, .nvf-control-status, .nwm-card-location, .nwm-card-description, .nwm-event-window) {
    color: var(--nwm-muted);
    font-size: 11px;
    line-height: 1.5;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-event-empty, .nwm-info-panel) {
    color: var(--nwm-muted);
    background: var(--nwm-panel);
    border: 1px solid var(--nwm-line);
    box-shadow: none;
    border-radius: 12px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-event-empty strong {
    color: var(--nwm-text);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(button, a, select, input):focus-visible {
    outline-color: var(--nwm-focus);
}

@media (max-width: 920px), (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sidebar {
        inset: auto 0 0;
        width: 100%;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -3px 18px #0003;
    }
}
@media (max-width: 380px) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-content {
        padding-inline: 10px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-media {
        width: 48px;
        height: 60px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sidebar {
        transition: none;
    }
}

/* City v11: an unobtrusive handle until the visitor opens a card. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded:is([data-sheet="collapsed"], :not([data-nwm-sheet-ready="true"])) {
    --nwm-sheet-height: 48px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sidebar {
    min-height: 48px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-toggle {
    flex-basis: 48px;
    height: 48px;
    min-height: 48px;
    padding: 16px 60px 7px 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded:is([data-sheet="collapsed"], :not([data-nwm-sheet-ready="true"])) .nwm-sheet-toggle {
    padding-right: 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded:is([data-sheet="collapsed"], :not([data-nwm-sheet-ready="true"])) .nwm-sheet-content {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-close {
    position: absolute;
    z-index: 3;
    top: 2px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--nwm-muted);
    background: transparent;
    box-shadow: none;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-close:hover {
    color: var(--nwm-text);
    background: #ffffff0a;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded:is([data-sheet="collapsed"], :not([data-nwm-sheet-ready="true"])) .nwm-sheet-close {
    display: none;
}

/* Marker selection contains one place, without the surrounding catalogue. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-sheet="peek"] {
    --nwm-sheet-height: min(236px, 40%);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-sheet-content {
    padding: 2px 16px 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-sheet-content > :not(.nwm-cards),
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] [data-nwm-count] {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-cards {
    display: block;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-media {
    display: grid;
    width: 52px;
    height: 52px;
    border: 1px solid #ffffff12;
    border-radius: 12px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-category {
    margin: 0 0 2px;
    color: var(--nwm-muted);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] :is(.nwm-card-title, .nwm-card-focus) {
    font-size: 18px !important;
    line-height: 1.25 !important;
    letter-spacing: -.02em;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-focus {
    padding: 2px 0;
    min-height: 44px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-address {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    font-size: 12px;
    line-height: 1.45;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-sheet="full"] .nwm-card-address {
    display: block;
    overflow: visible;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-link {
    width: 100%;
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12px;
}
@media (max-width: 380px) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-sheet-content {
        padding-inline: 12px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-media {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
}

/* City v12: consistent controls, visible keyboard focus and reachable filters. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(button, a, select, input) {
    -webkit-tap-highlight-color: transparent;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(button, a, select, input):focus-visible {
    outline: 2px solid var(--nwm-focus);
    outline-offset: 3px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(button, a[role="button"], .nwm-card-link, .nwm-directions-link) {
    touch-action: manipulation;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(button:disabled, a[aria-disabled="true"]) {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-floating-top > :is(button, a) {
    min-height: 44px;
    color: var(--nwm-text);
    background: var(--nwm-float-bg);
    border: 1px solid var(--nwm-line);
    box-shadow: var(--nwm-float-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-floating-top > :is(button, a):is([aria-expanded="true"], [data-nwp-active="true"]) {
    color: #fff;
    background: #800020;
    border-color: #a64b66;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-chip {
    min-width: 0;
    max-width: 100%;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-chip strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip {
    isolation: isolate;
    padding-bottom: 7px;
    scroll-padding-inline-start: 138px;
    scroll-padding-inline-end: 14px;
    /* Firefox uses the thin standard control; WebKit dimensions are below. */
    scrollbar-width: thin;
    scrollbar-color: #886575 transparent;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip::-webkit-scrollbar {
    display: block;
    height: 3px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip::-webkit-scrollbar-thumb {
    background: #886575;
    border-radius: 3px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip::-webkit-scrollbar-track {
    background: transparent;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip::-webkit-scrollbar-corner {
    background: transparent;
}
/* Chromium gives standard scrollbar-width precedence over the 3px track. */
@supports selector(::-webkit-scrollbar) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip {
        scrollbar-width: auto;
        scrollbar-color: auto;
    }
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > button {
    flex: 0 0 auto;
    min-height: 44px;
    scroll-margin-inline: 6px;
}
/* The category selector remains reachable while the quick filters scroll. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > [data-nwm-categories] {
    position: sticky;
    left: max(14px, env(safe-area-inset-left, 0px));
    z-index: 2;
    background: #17141b;
    box-shadow: 5px 0 10px #0003;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > [data-nwm-categories][aria-expanded="true"] {
    background: #800020;
    border-color: #a64b66;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > button:focus-visible {
    outline-offset: -3px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-search input, .nwm-city-panel input) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    color: var(--nwm-text);
    background: var(--nwm-panel);
    border: 1px solid #ffffff26;
    font-size: 16px;
    line-height: 1.4;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-search input, .nwm-city-panel input)::placeholder {
    color: var(--nwm-muted);
    opacity: 1;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-city-panel button, .nwm-event-filter-row > button, .nwm-sheet-footer > button, .nwm-sheet-footer > a, [data-nwm-retry]) {
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    line-height: 1.4;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-sheet-footer > button, .nwm-sheet-footer > a, [data-nwm-retry]) {
    color: var(--nwm-muted);
    background: var(--nwm-panel);
    border: 1px solid var(--nwm-line);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-sheet-toggle [data-nwm-count] {
    flex-shrink: 0;
    white-space: nowrap;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.mapboxgl-ctrl-group, .leaflet-control-zoom) {
    overflow: hidden;
    border: 1px solid var(--nwm-line);
    border-radius: 22px;
    background: var(--nwm-float-bg);
    box-shadow: var(--nwm-float-shadow);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.mapboxgl-ctrl-group > button, .leaflet-control-zoom > a) {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: var(--nwm-text);
    background: transparent;
    border-color: var(--nwm-line);
    line-height: 44px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .mapboxgl-ctrl-group > button > .mapboxgl-ctrl-icon {
    filter: invert(1);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .leaflet-control-zoom > a {
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 23px;
    font-weight: 600;
    text-decoration: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .leaflet-control-zoom > a.leaflet-disabled {
    color: var(--nwm-muted);
    background: transparent;
    opacity: .5;
    cursor: not-allowed;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .leaflet-top.leaflet-left {
    right: 14px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-external-icon {
    display: inline-block;
    margin-inline-start: .35em;
    font-family: system-ui, "DejaVu Sans", "Segoe UI Symbol", Arial, sans-serif;
    font-style: normal;
    font-size: 1em;
    font-weight: 400;
    line-height: 1;
}
@media (hover: hover) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(.nwm-floating-top > button, .nwm-floating-top > a, .nwm-category-strip > button, .nwm-sheet-footer > button, .nwm-sheet-footer > a, .mapboxgl-ctrl-group > button, .leaflet-control-zoom > a):not(:disabled):not([aria-disabled="true"]):not([aria-pressed="true"]):not([aria-expanded="true"]):not([data-nwp-active="true"]):not(.leaflet-disabled):hover {
        color: var(--nwm-text);
        background: #30222e;
        border-color: #9b5971;
    }
}
@media (max-width: 380px) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip {
        scroll-padding-inline-start: 134px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > [data-nwm-categories] {
        left: max(10px, env(safe-area-inset-left, 0px));
    }
}

/* v13: a quieter app header. Theme switching remains the original control. */
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-topbar__inner {
    gap: 12px;
    min-width: 0;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    min-width: 0;
    min-height: 48px;
    padding: 3px 0;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact > .nwe-v3-brand__mark {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact > span:nth-child(2) {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-width: 0;
    line-height: 1.1;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -.025em;
    white-space: nowrap;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact > span:nth-child(2) small {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact > .nwe-v3-brand__demo {
    display: block;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-height: 0;
    margin: 3px 0 0;
    padding: 0;
    color: var(--nwe-muted);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .025em;
    white-space: nowrap;
    text-transform: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-topbar__actions {
    min-width: 0;
    gap: 6px;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-topbar__actions > .nwe-v3-demo-badge {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-topbar__actions > [data-theme-toggle],
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    color: var(--nwe-text);
    background: transparent;
    border: 1px solid var(--nwe-line);
    box-shadow: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-toggle[aria-expanded="true"] {
    background: var(--nwe-accent-soft);
    border-color: var(--nwe-accent-text);
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    display: grid;
    place-items: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    color: #fff;
    background: #800020;
    border: 2px solid var(--nwe-bg);
    border-radius: 99px;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    font-style: normal;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-panel {
    position: fixed;
    z-index: 90;
    top: calc(var(--nwe-topbar-height) + 8px);
    right: max(12px, env(safe-area-inset-right, 0px), calc((100vw - 1480px) / 2));
    width: min(280px, calc(100vw - 24px));
    max-height: calc(100dvh - var(--nwe-topbar-height) - 96px);
    box-sizing: border-box;
    padding: 6px;
    overflow: auto;
    overscroll-behavior: contain;
    color: var(--nwe-text);
    background: var(--nwe-panel-strong);
    border: 1px solid var(--nwe-line-strong);
    border-radius: 16px;
    box-shadow: 0 12px 32px #0003;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-panel[hidden],
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-badge[hidden] {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    color: var(--nwe-text);
    background: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-item > svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-item > span {
    order: 1;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-item > [data-nwm-header-badge],
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-note {
    position: static;
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-note {
    padding: 2px 6px;
    color: var(--nwe-muted);
    background: var(--nwe-panel-soft);
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.3;
}
body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox :is(button, a):focus-visible {
    outline: 2px solid var(--nwe-accent-text);
    outline-offset: -3px;
}
@media (hover: hover) {
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-inbox-item:hover {
        background: var(--nwe-panel-soft);
    }
}
@media (max-width: 700px) {
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-topbar {
        padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-topbar__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact {
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 8px;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact > .nwe-v3-brand__mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-brand--compact strong {
        font-size: 17px;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-role-button {
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 4px;
        border-radius: 14px;
    }
    body.nightwall-engine-page .nwe-v3[data-route][data-role][data-theme] .nwe-v3-role-button > span:not(:first-child) {
        display: none;
    }
}

/* Three primary map choices, with the full filter set next to search. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-floating-top {
    grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
    gap: 6px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-floating-top > .nwm-filter-toggle {
    position: relative;
    grid-column: 4;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-toggle > svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-toggle[data-active="true"]::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 7px;
    width: 6px;
    height: 6px;
    background: var(--nwm-accent);
    border: 2px solid var(--nwm-panel);
    border-radius: 50%;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-city-chip {
    padding-inline: 10px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-search {
    right: 114px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip {
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding-bottom: 4px;
    overflow: visible;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip::-webkit-scrollbar {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-category-strip > button {
    flex: 0 1 auto;
    min-width: 72px;
    min-height: 44px;
    padding-inline: 14px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-panel {
    top: calc(68px + env(safe-area-inset-top, 0px));
    right: max(14px, env(safe-area-inset-right, 0px));
    left: auto;
    width: min(320px, calc(100% - 28px));
    max-height: max(52px, calc(100% - 136px - env(safe-area-inset-top, 0px)));
    box-sizing: border-box;
    padding: 10px 12px 12px;
    border-radius: 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-panel[hidden] {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-panel-head h3 {
    margin: 0;
    color: var(--nwm-text);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 650;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: -3px -5px -3px 0;
    padding: 0;
    color: var(--nwm-muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-family: system-ui, sans-serif;
    font-size: 25px;
    line-height: 1;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-quick > button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    min-height: 64px;
    margin: 0;
    padding: 9px 4px;
    color: var(--nwm-text);
    background: var(--nwm-panel-soft);
    border: 1px solid var(--nwm-line);
    border-radius: 12px;
    font: inherit;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-quick > button > svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-quick > button[aria-pressed="true"] {
    color: #fff;
    background: #800020;
    border-color: #a64b66;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-reset {
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    padding: 9px 12px;
    color: var(--nwm-text);
    background: transparent;
    border: 1px solid var(--nwm-line);
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}
@media (hover: hover) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-panel :is(button:not(:disabled):not([aria-pressed="true"]), select):hover {
        color: var(--nwm-text);
        background-color: #30222e;
        border-color: #9b5971;
    }
}
@media (max-width: 380px) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-search {
        right: 110px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-filter-panel {
        right: max(10px, env(safe-area-inset-right, 0px));
        width: calc(100% - 20px);
    }
}

/*
Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
/* Nightwall Roboto: Roboto variable, width 100, Latin and monotonic Greek.
 * Copyright 2011 The Roboto Project Authors; SIL Open Font License 1.1.
 * Licensed source and OFL text retained with the deployment checkpoint. */
@font-face {
    font-family: "Nightwall Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/wp-content/plugins/nightwall-ecosystem/pro-entry/fonts/nightwall-roboto-normal.woff2") format("woff2");
}

/* Nightwall typography v14: one family, normal headings, weight hierarchy. */
:root {
    --nw-app-font: "Nightwall Roboto", Arial, sans-serif;
    --nw-minimal-heading-font: var(--nw-app-font);
}

body :is(.nwe-v3, .nwm, .nwpres-panel, .nwpres-dialog, .nwc, .nwe-member-shell, .nwe-root),
body:is(.nwpub-page, .nwm-page, .nwm-app, .nw-studio-page) {
    --nw-minimal-heading-font: var(--nw-app-font);
    font-family: var(--nw-app-font) !important;
    font-weight: 400;
}

body :is(.nwe-v3, .nwm, .nwpres-panel, .nwpres-dialog, .nwc, .nwe-member-shell, .nwe-root) :is(h1, h2, h3, h4, h5, h6, p, a, div, span, em, strong, b, small, label, button, input, select, textarea, option, li, dt, dd, summary):not(.dashicons, .dashicons-before, .nwm-external-icon),
body:is(.nwpub-page, .nwm-page, .nwm-app, .nw-studio-page) :is(h1, h2, h3, h4, h5, h6, p, a, div, span, em, strong, b, small, label, button, input, select, textarea, option, li, dt, dd, summary):not(.dashicons, .dashicons-before, .nwm-external-icon) {
    font-family: var(--nw-app-font) !important;
}

body :is(.nwe-v3, .nwm, .nwpres-panel, .nwpres-dialog, .nwc, .nwe-member-shell, .nwe-root) :is(h1, h2, h3, h4, h5, h6),
body:is(.nwpub-page, .nwm-page, .nwm-app, .nw-studio-page) :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700 !important;
    font-style: normal !important;
}

body :is(.nwe-v3, .nwm, .nwpres-panel, .nwpres-dialog, .nwc, .nwe-member-shell, .nwe-root) :is(h1, h2, h3, h4, h5, h6) :is(em, i),
body:is(.nwpub-page, .nwm-page, .nwm-app, .nw-studio-page) :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
    font-family: var(--nw-app-font) !important;
    font-weight: inherit !important;
    font-style: normal !important;
}

body :is(.nwe-v3, .nwm, .nwpres-panel, .nwpres-dialog, .nwc, .nwe-member-shell, .nwe-root) p,
body:is(.nwpub-page, .nwm-page, .nwm-app, .nw-studio-page) p {
    font-weight: 400;
}

body :is(.nwe-v3, .nwm, .nwpres-panel, .nwpres-dialog, .nwc, .nwe-member-shell, .nwe-root) button,
body:is(.nwpub-page, .nwm-page, .nwm-app, .nw-studio-page) button {
    font-weight: 600;
}

/* Nightwall v15: separation by surface and space, not decorative outlines.
   Preserve system high-contrast borders, focus rings, form fields and states. */
@media (forced-colors: none) {
    :root {
        --nw-surface-page: #000000;
        --nw-surface-card: #121212;
        --nw-surface-raised: #1c1c1c;
    }

    body.nightwall-engine-page .nwe-v3 {
        --nw-surface-page: #000000;
        --nw-surface-card: #121212;
        --nw-surface-raised: #1c1c1c;
        --nwe-bg: var(--nw-surface-page);
        --nwe-bg-deep: var(--nw-surface-page);
        --nwe-panel: var(--nw-surface-card);
        --nwe-panel-strong: var(--nw-surface-card);
        --nwe-panel-soft: var(--nw-surface-raised);
        --nwe-panel-glass: var(--nw-surface-card);
        --nw-minimal-bg: var(--nw-surface-page);
        --nw-minimal-panel: var(--nw-surface-card);
        --nw-minimal-panel-raised: var(--nw-surface-raised);
        background: var(--nw-surface-page) !important;
    }

    body.nightwall-engine-page .nwe-v3[data-theme="day"],
    body .nwpres-dialog[data-theme="day"] {
        --nw-surface-page: #f2f2f2;
        --nw-surface-card: #ffffff;
        --nw-surface-raised: #e9e9e9;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-backdrop span {
        opacity: 0;
    }

    body.nightwall-engine-page .nwe-v3 :is(
        .nwe-v3-pulse-hero, .nwe-v3-pulse-card, .nwe-v3-day-arc,
        .nwe-v3-context-card, .nwe-v3-event-card, .nwe-v3-album,
        .nwe-v3-entity-card, .nwe-v3-creator-row > button,
        .nwe-v3-circle-overview, .nwe-v3-plan-card, .nwe-v3-signal-list,
        .nwe-v3-profile-hero, .nwe-v3-profile-stats, .nwe-v3-reward-list,
        .nwe-v3-privacy-card, .nwe-v3-pwa-card, .nwe-v3-empty,
        .nvf, .nwc, .nwpres-panel, .nwp-concept-preview
    ) {
        border: 0 !important;
        background: var(--nw-surface-card) !important;
        box-shadow: none !important;
    }

    body.nightwall-engine-page .nwe-v3 :is(
        .nvf-row, .nwc-card, .nwc-profile-form, .nwc-empty, .nwpres-own-status
    ) {
        border: 0 !important;
        background: var(--nw-surface-raised) !important;
    }

    body.nightwall-engine-page .nwe-v3 :is(.nwc, .nwpres-panel),
    body .nwpres-dialog {
        --nwc-panel: var(--nw-surface-card);
        --nwc-soft: var(--nw-surface-raised);
        --nwpres-panel: var(--nw-surface-card);
        --nwpres-soft: var(--nw-surface-raised);
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-night-hero {
        border: 0 !important;
        background: #121212 !important;
        box-shadow: none !important;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-pulse-card::before {
        opacity: 0;
    }

    body.nightwall-engine-page .nwe-v3 :is(
        .nwe-v3-signal-list article, .nwe-v3-reward-list article,
        .nwe-v3-profile-stats > span, .nwe-v3-entity-card__visual,
        .nwpres-boundary, .nwe-v3-event-card__date
    ) {
        border: 0 !important;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-event-card__visual::after {
        border: 0;
        box-shadow: none;
    }

    body.nightwall-engine-page .nwe-v3 :is(
        .nwe-v3-topbar, .nwe-v3-bottom-nav, .nwe-v3-sidebar, .nwe-v3-context
    ) {
        border: 0 !important;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-topbar {
        background: var(--nw-surface-card) !important;
    }

    body.nightwall-engine-page .nwe-v3 :is(
        .nwe-v3-role-menu, .nwe-v3-inbox-panel,
        .nwe-v3-drawer__panel, .nwe-v3-dialog__panel, .nwe-v3-toast
    ),
    body .nwpres-dialog {
        border: 0 !important;
        background: var(--nw-surface-card) !important;
    }

    /* Map overlays retain their current dark theme and exact sheet geometry. */
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded {
        --nwm-bg: #121212;
        --nwm-panel: #121212;
        --nwm-panel-soft: #1c1c1c;
        --nwm-float-bg: #121212f5;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded :is(
        .nwm-sidebar, .nwm-category-panel, .nwm-city-panel, .nwm-filter-panel,
        .nwm-card, .nwm-card-media, .nwm-event-empty, .nwm-info-panel
    ) {
        border: 0 !important;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card {
        background: #1c1c1c;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card.is-selected {
        background: #292329;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card {
        background: transparent !important;
    }

    html body.nwpub-page {
        --np-bg: #000000;
        --np-panel: #121212;
        --np-panel-alt: #1c1c1c;
        --nw-minimal-bg: #000000;
        --nw-minimal-panel: #121212;
        --nw-minimal-panel-raised: #1c1c1c;
        background: #000000;
    }

    body.nwpub-page :is(
        .nwpub-search, .nwpub-card, .nwpub-empty, .nwpub-preview,
        .nwpub-quiet-empty, .nwpub-info-panel, .nwpub-services > li,
        .nwpub-event, .nwpub-album, .nwpub-archive-card-link,
        .nwpub-archive-detail, .nwpub-agenda-event, .nwpub-section.nwpub-world
    ) {
        border: 0 !important;
        background: var(--np-panel) !important;
        box-shadow: none !important;
    }

    body.nwpub-page :is(
        .nwpub-cover, .nwpub-gallery-item, .nwpub-header, .nwpub-footer,
        .nwpub-section-nav, .nwpub-section, .nwpub-hours,
        .nwpub-contact-person, .nwpub-world-list li,
        .nwpub-lightbox, .nwpub-lightbox-top
    ) {
        border: 0 !important;
    }
}

/* Nightwall v18: real venue logos on both maps.
   Replace the v16 pin layer; leave map transforms and selected-sheet layout intact. */
body .nwm .nwm-marker,
body .nwe-v3-home-map .nwm-home-marker {
    display: block;
    box-sizing: border-box;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    touch-action: manipulation;
}

body .nwm .nwm-marker::before,
body .nwe-v3-home-map .nwm-home-marker::before {
    content: none;
}

body .nwm .nwm-marker .nwm-marker-dot,
body .nwe-v3-home-map .nwm-home-marker .nwm-marker-dot {
    position: relative;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    outline: 0;
    background: #800020;
    color: #fff;
    box-shadow: 0 2px 7px #0006;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

body .nwm .nwm-marker .nwm-marker-image,
body .nwe-v3-home-map .nwm-home-marker .nwm-marker-image {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    object-fit: cover;
}

body .nwm .nwm-marker .nwm-marker-image.is-avatar,
body .nwe-v3-home-map .nwm-home-marker .nwm-marker-image.is-avatar {
    padding: 3px;
    background: #fff;
    object-fit: contain;
}

/* The accessible button name remains; visible venue details open on selection. */
body .nwm .nwm-marker .nwm-marker-name,
body .nwe-v3-home-map .nwm-home-marker .nwm-marker-name {
    display: none;
}

body .nwm .nwm-marker.is-selected .nwm-marker-dot,
body .nwe-v3-home-map .nwm-home-marker.is-selected .nwm-marker-dot {
    border-color: #fff;
    outline: 3px solid #b82e53;
    outline-offset: 2px;
    box-shadow: 0 2px 8px #0008;
}

body .nwm .nwm-marker.has-story .nwm-marker-dot {
    border-color: #fff;
    outline: 2px solid #c96885;
    outline-offset: 2px;
}

body .nwm .nwm-marker.has-story.is-selected .nwm-marker-dot {
    outline: 3px solid #b82e53;
    outline-offset: 2px;
}

/* A compact story dot and grouped-event count retain the existing information. */
body .nwm .nwm-marker .nwm-marker-story-hint {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    z-index: 2;
    display: block;
    box-sizing: border-box;
    width: 11px;
    min-width: 11px;
    height: 11px;
    min-height: 11px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #c96885;
    font-size: 0;
    line-height: 0;
}

body .nwm .nwm-marker .nwm-marker-count {
    position: absolute;
    top: -5px;
    left: calc(100% - 12px);
    z-index: 3;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-width: 22px;
    height: 22px;
    margin: 0;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 11px;
    background: #800020;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}

body .nwm .nwm-marker:focus-visible,
body .nwe-v3-home-map .nwm-home-marker:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

/* Bottom anchors agree with the 44px marker. Do not override Mapbox transforms. */
body .nwm .nwm-leaflet-icon:has(> .nwm-marker),
body .nwe-v3-home-map .nwm-home-leaflet-icon:has(> .nwm-home-marker) {
    width: 44px !important;
    height: 44px !important;
    margin-left: -22px !important;
    margin-top: -44px !important;
    border: 0;
    background: transparent;
    pointer-events: none;
}

body .nwm .nwm-leaflet-icon > .nwm-marker,
body .nwe-v3-home-map .nwm-home-leaflet-icon > .nwm-home-marker {
    position: relative;
    pointer-events: auto;
}

/* A real map replaces the decorative lake, roads and demonstration positions. */
body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map[data-nwm-home-map] {
    position: relative;
    isolation: isolate;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 330px;
    overflow: hidden;
    background: #454e64;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map [data-nwm-home-canvas] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map [data-nwm-home-count] {
    position: absolute;
    z-index: 500;
    top: 12px;
    left: 12px;
    box-sizing: border-box;
    max-width: calc(100% - 162px);
    margin: 0;
    padding: 9px 11px;
    border: 0;
    border-radius: 10px;
    background: #121212ee;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    pointer-events: none;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map > button[data-nwe-v3-nav="city"] {
    position: absolute;
    z-index: 501;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 138px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: #121212;
    color: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    touch-action: manipulation;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map > button[data-nwe-v3-nav="city"]:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map :is(.leaflet-control-attribution, .mapboxgl-ctrl-attrib) {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.4;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map .leaflet-attribution-flag {
    display: inline-block !important;
    width: 14px !important;
    height: 9px !important;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"] .nwe-v3-home-map[data-nwm-home-map] {
    background: #e3e8ec;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"] .nwe-v3-home-map :is([data-nwm-home-count], button[data-nwe-v3-nav="city"]) {
    background: #fffffff2;
    color: #17171b;
}

@media (max-width: 720px) {
    body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map[data-nwm-home-map] {
        min-height: 240px;
    }
}

@media (max-width: 380px) {
    body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map[data-nwm-home-map] {
        min-height: 230px;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map [data-nwm-home-count] {
        top: 10px;
        left: 10px;
        padding: 8px;
        font-size: 11px;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map > button[data-nwe-v3-nav="city"] {
        top: 10px;
        right: 10px;
        max-width: 132px;
    }
}

@media (forced-colors: active) {
    body .nwm .nwm-marker .nwm-marker-dot,
    body .nwe-v3-home-map .nwm-home-marker .nwm-marker-dot {
        border-color: ButtonText;
    }

    body .nwm .nwm-marker:focus-visible,
    body .nwe-v3-home-map .nwm-home-marker:focus-visible,
    body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map > button[data-nwe-v3-nav="city"]:focus-visible {
        outline-color: Highlight;
    }
}

/* Nightwall v17: room for concise copy and flat text actions.
   Keep map sheets, icon controls, form fields and navigation geometry intact. */
body.nightwall-engine-page .nwe-v3 :is(.nwc, .nvf, .nwpres-panel) {
    padding: clamp(24px, 3vw, 32px);
}

body.nightwall-engine-page .nwe-v3 .nwc .nwc-card,
body.nightwall-engine-page .nwe-v3 .nvf .nvf-row {
    padding: 18px;
}

body.nightwall-engine-page .nwe-v3 .nwc .nwc-section {
    margin-top: 28px;
    padding-top: 24px;
}

body.nightwall-engine-page .nwe-v3 .nwc .nwc-actions {
    gap: 10px;
    margin-top: 16px;
}

body.nightwall-engine-page .nwe-v3 :is(
    .nwe-v3-pulse-card, .nwe-v3-context-card,
    .nwe-v3-circle-overview, .nwe-v3-plan-card
) {
    padding: 22px;
}

body.nightwall-engine-page .nwe-v3 .nwe-v3-pulse-hero__copy {
    padding: clamp(28px, 4vw, 44px);
}

/* Explicit text-action selectors leave the moon, close buttons, map pins,
   navigation icons and the final icon-only plan action unchanged. */
body.nightwall-engine-page .nwe-v3 :is(
    .nwc-button, .nvf-button, .nvf-read-retry,
    .nwpres-primary, .nwpres-secondary,
    .nwe-v3-pulse-hero__copy > button,
    .nwe-v3-night-hero > div > div button:first-child,
    .nwe-v3-circle-overview > button,
    .nwe-v3-plan-card > div:last-child button:not(:last-child),
    .nwe-v3-profile-hero > button,
    .nwe-v3-privacy-card > button,
    .nwe-v3-pwa-card button
),
body .nwpres-dialog :is(.nwpres-primary, .nwpres-secondary) {
    min-height: 44px;
    max-width: 100%;
    border-radius: 12px;
}

/* Venue actions retain the selected sheet's existing padding and size. */
body.nightwall-engine-page .nwe-v3 .nvf-status > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #800020;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-link,
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-card-link {
    border-radius: 12px;
}

@media (forced-colors: none) {
    body.nightwall-engine-page .nwe-v3 :is(
        .nwc-button, .nvf-button, .nvf-read-retry,
        .nwpres-primary, .nwpres-secondary,
        .nwe-v3-pulse-hero__copy > button,
        .nwe-v3-night-hero > div > div button:first-child,
        .nwe-v3-circle-overview > button,
        .nwe-v3-plan-card > div:last-child button:not(:last-child),
        .nwe-v3-profile-hero > button,
        .nwe-v3-privacy-card > button,
        .nwe-v3-pwa-card button
    ),
    body .nwpres-dialog :is(.nwpres-primary, .nwpres-secondary),
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-link {
        background-image: none;
    }

    /* Preserve any keyboard-focus shadow supplied by the component. */
    body.nightwall-engine-page .nwe-v3 :is(
        .nwc-button, .nvf-button, .nvf-read-retry,
        .nwpres-primary, .nwpres-secondary,
        .nwe-v3-pulse-hero__copy > button,
        .nwe-v3-night-hero > div > div button:first-child,
        .nwe-v3-circle-overview > button,
        .nwe-v3-plan-card > div:last-child button:not(:last-child),
        .nwe-v3-profile-hero > button,
        .nwe-v3-privacy-card > button,
        .nwe-v3-pwa-card button
    ):not(:focus-visible),
    body .nwpres-dialog :is(.nwpres-primary, .nwpres-secondary):not(:focus-visible),
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded .nwm-card-link:not(:focus-visible) {
        box-shadow: none;
    }
}

@media (max-width: 720px) {
    body.nightwall-engine-page .nwe-v3 .nwe-v3-pulse-hero__copy {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    body.nightwall-engine-page .nwe-v3 :is(.nwc, .nvf, .nwpres-panel) {
        padding: 22px;
    }
}

@media (max-width: 380px) {
    body.nightwall-engine-page .nwe-v3 :is(.nwc, .nvf, .nwpres-panel) {
        padding: 22px 20px;
    }

    body.nightwall-engine-page .nwe-v3 .nwc .nwc-card,
    body.nightwall-engine-page .nwe-v3 .nvf .nvf-row {
        padding: 16px;
    }

    body.nightwall-engine-page .nwe-v3 :is(
        .nwe-v3-pulse-card, .nwe-v3-context-card,
        .nwe-v3-circle-overview, .nwe-v3-plan-card
    ) {
        padding: 20px;
    }

    body.nightwall-engine-page .nwe-v3 .nwe-v3-pulse-hero__copy {
        padding: 24px 20px;
    }
}

/* Nightwall v19: explicit one-shot location, independent of the venue sheet. */
body.nightwall-engine-page .nwe-v3 .nwm-here {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    min-width: 84px;
    min-height: 44px;
    padding: 10px 13px;
    border: 0 !important;
    border-radius: 22px !important;
    background: #121212 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 2px 10px #0003;
    cursor: pointer;
    touch-action: manipulation;
}
body.nightwall-engine-page .nwe-v3 .nwm-here svg {
    display: block;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px;
}
body.nightwall-engine-page .nwe-v3 .nwm-here:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px;
}
body.nightwall-engine-page .nwe-v3 .nwm-here:disabled { opacity: .7; cursor: progress; }
body.nightwall-engine-page .nwe-v3 .nwm > .nwm-here {
    position: absolute !important;
    top: 140px;
    left: 14px;
    z-index: 7;
}
body.nightwall-engine-page .nwe-v3 .nwe-v3-home-map > .nwm-here {
    position: absolute !important;
    right: 12px;
    bottom: 28px;
    z-index: 700;
}
body.nightwall-engine-page .nwe-v3 .nwm > .nwm-location-status {
    position: absolute;
    z-index: 8;
    left: 12px;
    right: 12px;
    bottom: calc(var(--nwm-sheet-visible-height, 48px) + 27px);
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #121212;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    pointer-events: none;
}
body.nightwall-engine-page .nwe-v3 .nwm-location-status[hidden] { display: none !important; }
body.nightwall-engine-page .nwe-v3[data-theme="day"] :is(.nwm-here, .nwm-location-status) {
    background: #fff !important;
    color: #171717 !important;
}

/* Nightwall v20: a focused venue sheet.
   Scope to the explicitly selected venue; keep catalogue/event layouts unchanged. */

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"][data-sheet="peek"] {
    --nwm-sheet-height: min(320px, 65%);
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"][data-sheet="full"] {
    --nwm-sheet-height: min(420px, 80%);
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sidebar {
    z-index: 30;
    background: #121212 !important;
    border: 0 !important;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 28px #0003;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"][data-sheet="full"] .nwm-sidebar {
    z-index: 33;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-toggle {
    flex: 0 0 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 56px 0 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] :is(.nwm-sheet-title, [data-nwm-count]) {
    display: none !important;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-grip {
    width: 38px;
    height: 4px;
    top: 13px;
    left: calc(50% - 19px);
    border-radius: 4px;
    background: #696169;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-close {
    top: 0;
    right: 8px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    color: #b8afb5;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-content {
    padding: 0 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: #5c5159 transparent;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card.nwm-card--minimal {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 14px;
    align-items: start;
    margin: 0;
    padding: 0;
    min-width: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-copy {
    display: contents;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-media {
    grid-column: 1;
    grid-row: 1 / span 3;
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    min-width: 72px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0 !important;
    border-radius: 50%;
    background: #1a1a1a !important;
    box-shadow: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 50%;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-media:has(.nwm-card-avatar) .nwm-card-image {
    display: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-avatar {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    object-fit: contain;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-initial {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    font-style: normal;
    color: #f2e8ed;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-media:has(img) .nwm-card-initial {
    visibility: hidden;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-category {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 5px;
    color: #d6a8b7;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .01em;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-title {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin: 0 0 6px;
    color: #fff;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal :is(.nwm-card-title, .nwm-card-focus) {
    font-family: inherit !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -.025em;
    color: #fff !important;
    overflow-wrap: anywhere;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-focus {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: -6px 0;
    padding: 6px 0;
    text-align: left;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-address {
    grid-column: 2;
    grid-row: 3;
    display: block;
    margin: 0;
    color: #a7a2a6;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: visible;
    -webkit-line-clamp: unset;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-description {
    grid-column: 1 / -1;
    display: block;
    margin: 16px 0 0;
    color: #bfb8bd;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-location {
  display: block !important;
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: #a7a2a6;
    font-size: 12px;
    line-height: 1.4;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 6px;
    min-width: 0;
    margin: 18px 0 0;
    padding: 0;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nwm-card-link {
    display: inline-flex;
    flex: 1 1 122px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    width: auto;
    min-width: 122px;
    max-width: 230px;
    min-height: 44px;
    margin: 0;
    padding: 10px 8px;
    white-space: nowrap;
    border: 0 !important;
    border-radius: 8px !important;
    background: #6f1733 !important;
    background-image: none;
    color: #fff !important;
    box-shadow: none;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-save-control, .nvf-map-control) {
    display: contents;
    margin: 0;
    padding: 0;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-action-icon, .nwm-save-button, .nvf-button) {
    position: relative;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 8px !important;
    background: #1f1c1f !important;
    color: #e9dce3 !important;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    touch-action: manipulation;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nwm-action-icon svg {
    display: block;
    width: 21px !important;
    height: 21px !important;
    flex: 0 0 21px;
}

/* These controllers repaint textContent; pseudo-elements preserve their icon
   while the original aria-label, pressed/busy state and handlers stay intact. */

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nvf-button, .nwm-follow-icon)::before {
    content: "+";
    display: block;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nvf-button[aria-pressed="true"]::before {
    content: "✓";
    font-size: 21px;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nwm-save-button::before {
    content: "";
    display: block;
    width: 20px;
    height: 22px;
    clip-path: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-save-button, .nvf-button)[aria-pressed="true"] {
    background: #3a2330 !important;
    color: #f5c6d6 !important;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-save-status, .nvf-control-status) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nvf-map-control:has([data-nvf-read-retry]:not([hidden])) .nvf-control-status,
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nwm-save-control:has([data-save-state="error"], [data-save-state="unavailable"]) .nwm-save-status {
    position: static;
    flex: 1 0 100%;
    width: auto;
    height: auto;
    margin: 4px 0 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    color: #e7c3ce;
    font-size: 12px;
    line-height: 1.45;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nvf-read-retry:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.3;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(button, a):focus-visible {
    outline: 2px solid #f1bfce !important;
    outline-offset: 3px;
}

body.nightwall-engine-page .nwe-v3 .nwm--embedded > .nwm-map-scrim {
    display: none;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"]:is([data-sheet="peek"], [data-sheet="full"]) > .nwm-map-scrim:not([hidden]) {
    position: absolute;
    inset: 0;
    z-index: 29;
    display: block !important;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgb(0 0 0 / 30%) !important;
    box-shadow: none !important;
    color: transparent;
    font-size: 0;
    cursor: default;
    touch-action: manipulation;
}

body.nightwall-engine-page .nwe-v3 .nwm-map-scrim[hidden] {
    display: none !important;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sidebar {
    background: #fff !important;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-grip {
    background: #9d9299;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal :is(.nwm-card-title, .nwm-card-focus) {
    color: #1b171b !important;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-category {
    color: #8c3653;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal :is(.nwm-card-address, .nwm-card-location) {
    color: #6e666c;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-description {
    color: #544a52;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-action-icon, .nwm-save-button, .nvf-button) {
    background: #f3edf0 !important;
    color: #6b2440 !important;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-save-button, .nvf-button)[aria-pressed="true"] {
    background: #ead4de !important;
    color: #6b1535 !important;
}

body.nightwall-engine-page .nwe-v3[data-theme="day"][data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-save-status, .nvf-control-status) {
    color: #79334d;
}

@media (min-width: 721px) {
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sidebar { border-radius: 20px; }
}

@media (max-width: 359px) {
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal :is(.nwm-card-title, .nwm-card-focus) { font-size: 20px !important; }
}

@media (forced-colors: active) {
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(button, a) { border: 1px solid ButtonText !important; }
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-grip { background: CanvasText; }
}

/* Search actions remain inside the explicitly opened search control. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded #nwm-search-panel[data-nwm-search-ready] {
    inset: calc(68px + env(safe-area-inset-top, 0px)) 14px auto 14px;
    width: auto;
    max-width: 460px;
    margin: 0 auto;
    padding: 12px;
    border: 0 !important;
    border-radius: 12px;
    background: #121212;
    color: #f6eff3;
    box-shadow: 0 6px 20px #0003;
}
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-row {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
}
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-field { flex: 1; min-width: 0; }
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-field input {
    width: 100%; min-width: 0; box-sizing: border-box;
    height: 44px; min-height: 44px; margin: 0; padding: 10px 12px;
    background: #202020 !important; border: 0 !important; border-radius: 8px !important;
    box-shadow: none; color: inherit; font-size: 16px;
}
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-field input::-webkit-search-cancel-button { display: none; }
body.nightwall-engine-page .nwe-v3 .nwm--embedded :is(.nwm-search-clear, .nwm-search-results) {
    min-height: 44px; padding: 10px 14px; border: 0 !important; border-radius: 8px !important;
    background: #6f1733 !important; color: #fff !important; box-shadow: none;
    font-family: inherit; font-size: 13px; line-height: 1.4; font-weight: 600;
}
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-clear {
    flex: 0 0 44px; width: 44px; padding: 0;
    background: #202020 !important; font-size: 24px; font-weight: 400;
}
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-feedback {
    margin: 10px 0 !important; color: #c7bcc3; font-size: 12px; line-height: 1.5;
}
body.nightwall-engine-page .nwe-v3 .nwm--embedded .nwm-search-results { width: 100%; }
body.nightwall-engine-page .nwe-v3 .nwm--embedded[data-search-open="true"] :is(.nwm-category-strip, .nwm-here, .leaflet-control-zoom, .mapboxgl-ctrl-group) { visibility: hidden; pointer-events: none; }
body.nightwall-engine-page .nwe-v3 .nwm--embedded #nwm-search-panel [hidden] { display: none !important; }
body.nightwall-engine-page .nwe-v3[data-theme="day"] .nwm--embedded #nwm-search-panel[data-nwm-search-ready] { background: #fff; color: #1b171b; }
body.nightwall-engine-page .nwe-v3[data-theme="day"] .nwm--embedded .nwm-search-field input,
body.nightwall-engine-page .nwe-v3[data-theme="day"] .nwm--embedded .nwm-search-clear { background: #f1edf0 !important; color: #1b171b !important; }
body.nightwall-engine-page .nwe-v3[data-theme="day"] .nwm--embedded .nwm-search-feedback { color: #63595f; }

/* Additional venue actions, without changing the profile layout. */
body.nwpub-page .nwpub-visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}
body.nwpub-page .nwpub-visit-actions .nwpub-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 170px;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1.4;
    text-align: center;
}
body.nwpub-page .nwpub-visit-actions .nwpub-share-field {
    flex: 1 0 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}
body.nwpub-page :is([data-nwpub-copy-address], [data-nwpub-share])[aria-busy="true"] { opacity: .65; cursor: progress; }


/* Nightwall v26: selected cards fit their content; the handle owns dragging. */

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-sheet="peek"] {
    --nwm-selected-sheet-max-height: max(44px, min(320px, 60%, calc(100% - 124px)));
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-sheet="full"] {
    --nwm-selected-sheet-max-height: max(44px, min(420px, 70%, calc(100% - 112px)));
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"]:is([data-sheet="peek"], [data-sheet="full"]) .nwm-sidebar {
    height: auto;
    min-height: 44px;
    max-height: var(--nwm-selected-sheet-max-height);
    overflow: hidden;
}

/* A shrinking scroll area preserves long names, status errors and all actions
   on short screens without allocating an empty fixed-height card. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"]:is([data-sheet="peek"], [data-sheet="full"]) .nwm-sheet-content {
    flex: 0 1 auto;
    height: auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-sheet-toggle {
    box-sizing: border-box;
    flex: 0 0 44px;
    height: 44px;
    min-height: 44px;
    padding: 16px 20px 4px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-nwm-minimal-sheet="true"] .nwm-sheet-toggle {
    padding-block: 0;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"].is-sheet-dragging .nwm-sheet-toggle {
    cursor: grabbing;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"] .nwm-sheet-close {
    display: none !important;
}

/* Up reveals the existing description. Identity and every action stay in peek. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-nwm-minimal-sheet="true"][data-sheet="peek"] .nwm-card--minimal .nwm-card-description {
    display: none !important;
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-nwm-minimal-sheet="true"][data-sheet="full"] .nwm-card--minimal .nwm-card-description {
    display: block !important;
}

/* Reveal the same expanded content while the handle follows an upward drag. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"].is-sheet-dragging[data-nwm-sheet-drag="up"] {
    --nwm-selected-sheet-max-height: max(44px, min(420px, 70%, calc(100% - 112px)));
}

body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm--embedded[data-nwm-sheet-mode="selected"][data-nwm-minimal-sheet="true"][data-sheet="peek"].is-sheet-dragging[data-nwm-sheet-drag="up"] .nwm-card--minimal .nwm-card-description {
    display: block !important;
}





/* NIGHTWALL BURGUNDY UI v30 */
/* Nightwall app and member surfaces. Keep visual state changes paired with the
   existing labels, selected attributes, checkmarks and outlines. */
@media (forced-colors: none) {
    body .nwe-v3 {
        --nw-bordeaux: #800020;
        --nw-status-ink: #fff;
        --nwe-success: var(--nw-status-ink);
        --nwe-mint: var(--nw-status-ink);
        --nwe-cyan: var(--nw-status-ink);
    }

    body .nwe-v3[data-theme="day"] {
        --nw-status-ink: #800020;
        --nwe-success: var(--nw-status-ink);
        --nwe-mint: var(--nw-status-ink);
        --nwe-cyan: var(--nw-status-ink);
        --nwe-bg: #f5f3f4;
        --nwe-bg-deep: #ece9ea;
        --nwe-panel-soft: #f4f1f2;
        --nwe-line: rgba(40, 25, 32, .1);
        --nwe-line-strong: rgba(40, 25, 32, .18);
    }

    .nwe-v3 :is(.nwe-v3-profile-hero__avatar i, .nwe-v3-flow-success > span,
        .nwe-v3-toast > span, .nwe-v3-privacy-card > span) {
        background: var(--nw-bordeaux);
        color: #fff;
    }

    body .nwe-v3 [data-nwe-v3-view="profile"] {
        --nwe-accent: #800020;
        --nwe-on-accent: #fff;
        --nwe-accent-text: var(--nw-status-ink);
    }
    .nwe-v3 [data-nwe-v3-view="profile"] :is(.nwe-v3-profile-hero, .nwe-v3-privacy-card, .nwe-v3-pwa-card) {
        background: var(--nwe-panel);
        border-color: var(--nwe-line);
    }
    .nwe-v3 [data-nwe-v3-view="profile"] :is(.nwe-v3-profile-hero__avatar, .nwe-v3-reward-list__icon,
        .nwe-v3-pwa-card > span, .nwe-account-editor-link) {
        color: #fff;
        background: #800020;
    }
    .nwe-v3 [data-nwe-v3-view="profile"] .nwe-v3-progress > span { background: #800020; }
    .nwe-v3 [data-nwe-v3-view="profile"] .nwe-v3-progress { background: #bab0b4; }

    /* The dialog sets its tint inline. This changes the authored decoration
       without applying a filter to the venue photographs. */
    .nwe-v3 .nwe-v3-entity-hero { --entity-tone: #800020 !important; }
    .nwe-v3 .nwe-v3-avatar-stack > :is(span, i):nth-child(3),
    .nwe-v3 [data-mode="walk"] .nwe-v3-map-avatar > span {
        color: #fff;
        background: #800020;
    }
    .nwe-v3 [data-mode="walk"] .nwe-v3-map-avatar > span {
        box-shadow: 0 0 0 9px rgba(128, 0, 32, .16), 0 12px 28px rgba(0, 0, 0, .25);
    }
    .nwe-v3[data-theme="day"] .nwe-v3-pulse-hero {
        background: linear-gradient(135deg, #fff, #f5edf0);
    }
    .nwe-v3[data-theme="day"] :is(.nwe-v3-mini-city, .nwe-v3-map) {
        background: linear-gradient(145deg, #f1eef0, #ddd8db);
    }
    .nwe-v3 .nwe-v3-map__water { border-left-color: #a198a0; }
    .nwe-v3[data-theme="day"] .nwe-v3-map__blocks span { border-color: #cec8cb; }
    .nwe-v3 .nwe-v3-event-card[data-tone="lake"] .nwe-v3-event-card__visual {
        background: radial-gradient(circle at 75% 24%, #9b4860, transparent 23%), linear-gradient(145deg, #482330, #1f1820 60%);
    }

    /* Map tiles occupy their own Leaflet pane; markers and business logos are
       siblings in the marker pane and keep their original colours. */
    :is(.nwm, [data-nwm-home-map]) .leaflet-tile-pane { filter: grayscale(1); }

    body .nwm-thread-heading .nwm-presence { color: #fff; }
    body .nwm-presence::before { background-color: #fff; }

    body .nwe-privacy-notice--success {
        color: #65132d;
        background-color: #f9edf1;
    }

    /* The WordPress account forms are light even when reached from the night
       theme. The hero is the one intentionally dark member card. */
    body .nwe-member-shell {
        --nwe-member-accent: #800020;
        --nwe-member-lime: #800020;
        --nwe-member-bg: #2b1520;
        --nwe-member-card: #fff;
        --nwe-member-text: #251b20;
        --nwe-member-muted: #655a60;
        --nwe-member-border: #ded5d9;
    }
    .nwe-member-shell :is(a, button, input, select, textarea):focus-visible {
        outline-color: #800020;
    }
    .nwe-member-shell .nwe-member-card--hero {
        color: #fff;
        background: linear-gradient(125deg, #470e23, #27171f);
        border-color: #5d3745;
    }
    .nwe-member-shell .nwe-member-brand { color: #590e28 !important; }
    .nwe-member-shell .nwe-member-brand::before { color: #fff; background: #800020; }
    .nwe-member-shell .nwe-member-card .nwe-member-kicker,
    .nwe-member-shell :is(.nwe-member-check, .nwe-member-alt, .nwe-member-links) a {
        color: #800020;
    }
    .nwe-member-shell .nwe-member-card--hero :is(.nwe-member-kicker, .nwe-member-brand, a) {
        color: #fff !important;
    }
    .nwe-member-shell .nwe-member-card--hero p { color: #f2e9ed; }
    .nwe-member-shell .nwe-member-card--hero :focus-visible { outline-color: #fff; }
    .nwe-member-shell .nwe-member-form label > span:not(.nwe-member-password) { color: #42333b; }
    .nwe-member-shell .nwe-member-form :is(input, select, textarea) {
        color: #251b20;
        border-color: #beb1b7;
        background-color: #fff;
    }
    .nwe-member-shell .nwe-member-form :is(input, select, textarea):focus { border-color: #800020; }
    .nwe-member-shell .nwe-member-form input:disabled { color: #6b6065; background-color: #f0edef; }
    .nwe-member-shell .nwe-member-form button[type="submit"],
    .nwe-member-shell .nwe-member-button {
        color: #fff !important;
        background: #800020;
    }
    .nwe-member-shell .nwe-member-form button[type="submit"]:hover,
    .nwe-member-shell .nwe-member-button:hover { background: #630019; }
    .nwe-member-shell :is(.nwe-member-button--ghost, .nwe-member-links button) {
        color: #751432 !important;
        background: #fff;
        border-color: #c6b5bc;
    }
    .nwe-member-shell .nwe-member-button--ghost:hover { background: #f7eaf0; }
    .nwe-member-shell .nwe-member-card--hero .nwe-member-button--ghost {
        color: #fff !important;
        border-color: #a4808e;
        background: transparent;
    }
    .nwe-member-shell .nwe-member-card--hero .nwe-member-button--ghost:hover { background: #5a2b3d; }
    .nwe-member-shell .nwe-member-check input { accent-color: #800020; }
    .nwe-member-shell .nwe-member-check span { color: #4b3f45 !important; }
    .nwe-member-shell .nwe-member-links a { border-color: #d7cbd0; }
    .nwe-member-shell .nwe-member-statuses span { color: #fff; background: #503a44; border-color: #795d69; }
    .nwe-member-shell .nwe-member-statuses .is-ok { color: #fff; background: #800020; border-color: #b3677a; }
    .nwe-member-shell .nwe-member-statuses .is-warn { color: #fff; background: #522536; border-color: #bb8999; }
    .nwe-member-shell .nwe-member-notice--success { background: #f9edf1; border-color: #e4c2cc; color: #66182f; }
    .nwe-member-shell .nwe-member-notice--error { background: #fff; border-color: #94425b; color: #800020; }
    .nwe-member-shell .nwe-member-notice[role="alert"]:focus { outline-color: #800020; }
    .nwe-member-shell .nwe-member-password-toggle { color: #800020; }
    .nwe-member-shell .nwe-member-password-toggle:is(:hover, [aria-pressed="true"]) {
        color: #5e1129;
        background: #f4e5eb;
    }
    .nwe-member-shell .nwe-member-form-status { color: #800020 !important; }

    .nwe-city { --nwe-city-positive: #800020; --nwe-city-accent: #800020; }
    .nwe-m1-search button, .nwe-m1-load-more, .nwe-m1-empty button, .nwe-m1-error button,
    .nwe-m1-card__state[data-state="open"], .nwe-m1-pin {
        background: #800020;
        color: #fff;
    }
    :is(.nwe-m1-lenses, .nwe-m1-segment) button.is-active {
        background: #800020;
        border-color: #ad6980;
        color: #fff;
    }
    .nwe-m1-profile a { color: #fff; text-decoration: underline; }

    .nwe-app-v2 { --nwe-v2-success: #fff; }
    .nwe-app-v2 :is(.nwe-v2-primary-action, .nwe-v2-upcoming-card__attend):is(.is-active, [aria-pressed="true"]),
    .nwe-app-v2 :is(.nwe-v2-command-deck__badge, .nwe-v2-badge--live, .nwe-v2-toast__icon) {
        color: #fff;
        background: #800020;
        border-color: #a9808e;
        box-shadow: none;
    }
    .nwe-app-v2 :is(.nwe-v2-live-dot, .nwe-v2-command-deck__badge i) {
        background: #fff;
        box-shadow: 0 0 0 3px rgba(128, 0, 32, .5);
    }
    .nwe-app-v2 :is(.nwe-v2-privacy-note, .nwe-v2-profile-menu > :nth-child(3) .nwe-v2-profile-menu__icon) {
        background: #351c27;
        border-color: #684554;
    }
}

/* Nightwall Studio. These tokens also cover legacy controls with literal lime and teal colors. */
html.nw-studio-document.nw-studio-document,
body.nw-studio-page.nw-studio-page {
    --nws-wine: #800020;
    --nws-dark: #291820;
    --nws-ink: #2c2025;
    --nws-subtext: #60515a;
    --nws-line: #ddcbd2;
    --nws-tint: #f8f1f4;
    --nws-white: #fff;
}
@media (forced-colors: none) {
    html.nw-studio-document.nw-studio-document,
    body.nw-studio-page.nw-studio-page .nws-secondary:hover,
    body.nw-studio-page.nw-studio-page .nws-photo,
    body.nw-studio-page.nw-studio-page .nws-gate,
    body.nw-studio-page.nw-studio-page .nws-card-presentation:hover,
    body.nw-studio-page.nw-studio-page .nws-review-form:has(select:invalid) .nws-primary,
    body.nw-studio-page.nw-studio-page .nws-subscription-account-note .nws-subscription-kind-icon {
        background-color: var(--nws-tint);
    }
    body.nw-studio-page.nw-studio-page,
    body.nw-studio-page.nw-studio-page .nws-avatar,
    body.nw-studio-page.nw-studio-page .nws-field input[type=file]::file-selector-button,
    body.nw-studio-page.nw-studio-page .nws-comparison tbody td:last-child {
        background-color: var(--nws-tint);
        color: var(--nws-ink);
    }
    body.nw-studio-page.nw-studio-page :is(a,button,input,textarea,select):focus-visible,
    body.nw-studio-page.nw-studio-page .nws-subscription-cancel>summary:focus-visible,
    body.nw-studio-page.nw-studio-page .nws-annual-connection-fields>summary:focus-visible {
        outline-color: var(--nws-wine);
    }
    body.nw-studio-page.nw-studio-page .nw-studio-skip,
    body.nw-studio-page.nw-studio-page .nws-topbar-context i,
    body.nw-studio-page.nw-studio-page .nws-primary:hover,
    body.nw-studio-page.nw-studio-page .nws-service-list li::before {
        background-color: var(--nws-wine);
    }
    body.nw-studio-page.nw-studio-page .nws-sidebar,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side li>span {
        background-color: var(--nws-dark);
        color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-brand-mark,
    body.nw-studio-page.nw-studio-page .nws-nav a[aria-current=page] {
        background-color: var(--nws-wine);
        color: var(--nws-ink);
    }
    body.nw-studio-page.nw-studio-page .nws-brand-subtitle,
    body.nw-studio-page.nw-studio-page .nws-nav a,
    body.nw-studio-page.nw-studio-page .nws-sidebar-foot p,
    body.nw-studio-page.nw-studio-page .nws-sidebar-foot a,
    body.nw-studio-page.nw-studio-page .nws-card-placeholder,
    body.nw-studio-page.nw-studio-page .nws-gate-story h1 em,
    body.nw-studio-page.nw-studio-page .nws-gate-story p,
    body.nw-studio-page.nw-studio-page .nws-lightbox-top h2,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection .nws-kicker,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection p:not(.nws-kicker),
    body.nw-studio-page.nw-studio-page .nws-subscription-provider strong,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side li,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side li small {
        color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-nav-caption,
    body.nw-studio-page.nw-studio-page .nws-sidebar-foot small,
    body.nw-studio-page.nw-studio-page .nws-topbar-context,
    body.nw-studio-page.nw-studio-page .nws-user,
    body.nw-studio-page.nw-studio-page .nws-kicker,
    body.nw-studio-page.nw-studio-page .nws-intro,
    body.nw-studio-page.nw-studio-page .nws-stat span:not(.nws-stat-icon),
    body.nw-studio-page.nw-studio-page .nws-section-head p,
    body.nw-studio-page.nw-studio-page .nws-card-eyebrow,
    body.nw-studio-page.nw-studio-page .nws-card-description,
    body.nw-studio-page.nw-studio-page .nws-card-foot,
    body.nw-studio-page.nw-studio-page .nws-empty p,
    body.nw-studio-page.nw-studio-page .nws-detail-location,
    body.nw-studio-page.nw-studio-page .nws-panel-intro,
    body.nw-studio-page.nw-studio-page .nws-field>span,
    body.nw-studio-page.nw-studio-page .nws-field small,
    body.nw-studio-page.nw-studio-page .nws-facts dt,
    body.nw-studio-page.nw-studio-page .nws-facts .is-unknown,
    body.nw-studio-page.nw-studio-page .nws-gallery-head span,
    body.nw-studio-page.nw-studio-page .nws-gallery-note,
    body.nw-studio-page.nw-studio-page .nws-footer strong,
    body.nw-studio-page.nw-studio-page .nws-list-row p,
    body.nw-studio-page.nw-studio-page .nws-list-row>.nws-icon,
    body.nw-studio-page.nw-studio-page .nws-gate-story small,
    body.nw-studio-page.nw-studio-page .nws-gate-panel>p,
    body.nw-studio-page.nw-studio-page .nws-pagination,
    body.nw-studio-page.nw-studio-page .nws-card-people,
    body.nw-studio-page.nw-studio-page .nws-choice-group legend,
    body.nw-studio-page.nw-studio-page .nws-field-hint,
    body.nw-studio-page.nw-studio-page .nws-choice strong,
    body.nw-studio-page.nw-studio-page .nws-choice small,
    body.nw-studio-page.nw-studio-page .nws-related-item small,
    body.nw-studio-page.nw-studio-page .nws-related-item svg,
    body.nw-studio-page.nw-studio-page .nws-request-item>p,
    body.nw-studio-page.nw-studio-page .nws-request-item .nws-section-head p,
    body.nw-studio-page.nw-studio-page .nws-presentation-fields .nws-section-head .nws-kicker,
    body.nw-studio-page.nw-studio-page .nws-presentation-fields .nws-section-head>.nws-icon,
    body.nw-studio-page.nw-studio-page .nws-presentation-fields:disabled .nws-field :is(input,select,textarea),
    body.nw-studio-page.nw-studio-page .nws-hours-row>strong,
    body.nw-studio-page.nw-studio-page .nws-contact-consent,
    body.nw-studio-page.nw-studio-page .nws-presentation-save>p,
    body.nw-studio-page.nw-studio-page .nws-switch-note,
    body.nw-studio-page.nw-studio-page .nws-workspace-profile-body>p,
    body.nw-studio-page.nw-studio-page .nws-workspace-item-main p,
    body.nw-studio-page.nw-studio-page .nws-readonly-label,
    body.nw-studio-page.nw-studio-page .nws-service-area,
    body.nw-studio-page.nw-studio-page .nws-review-description,
    body.nw-studio-page.nw-studio-page .nws-review-facts dt,
    body.nw-studio-page.nw-studio-page .nws-review-facts dd,
    body.nw-studio-page.nw-studio-page .nws-subscription-summary p,
    body.nw-studio-page.nw-studio-page .nws-subscription-message,
    body.nw-studio-page.nw-studio-page .nws-subscription-preparation>span,
    body.nw-studio-page.nw-studio-page .nws-subscription-preparation p,
    body.nw-studio-page.nw-studio-page .nws-subscription-facts dt,
    body.nw-studio-page.nw-studio-page .nws-subscription-cancel>summary,
    body.nw-studio-page.nw-studio-page .nws-subscription-history li span,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection small,
    body.nw-studio-page.nw-studio-page .nws-subscription-draft-label,
    body.nw-studio-page.nw-studio-page .nws-annual-plan-description,
    body.nw-studio-page.nw-studio-page .nws-annual-price-input>span,
    body.nw-studio-page.nw-studio-page .nws-annual-price-input>span>small,
    body.nw-studio-page.nw-studio-page .nws-annual-save p,
    body.nw-studio-page.nw-studio-page .nws-subscription-save-status,
    body.nw-studio-page.nw-studio-page .nws-subscription-settings-foot,
    body.nw-studio-page.nw-studio-page .nws-annual-connection-fields>summary,
    body.nw-studio-page.nw-studio-page .nws-annual-connection-fields>p {
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-nav a:hover,
    body.nw-studio-page.nw-studio-page .nws-card-image-count,
    body.nw-studio-page.nw-studio-page .nws-photo-number,
    body.nw-studio-page.nw-studio-page .nws-photo-open,
    body.nw-studio-page.nw-studio-page .nws-gate-story,
    body.nw-studio-page.nw-studio-page .nws-lightbox::backdrop,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side .nws-secondary:hover {
        background-color: var(--nws-dark);
    }
    body.nw-studio-page.nw-studio-page .nws-topbar {
        border-bottom-color: var(--nws-line);
        background-color: var(--nws-tint);
    }
    body.nw-studio-page.nw-studio-page .nws-user strong,
    body.nw-studio-page.nw-studio-page .nws-note strong,
    body.nw-studio-page.nw-studio-page .nws-facts dd,
    body.nw-studio-page.nw-studio-page .nws-related-item strong,
    body.nw-studio-page.nw-studio-page .nws-owner-label,
    body.nw-studio-page.nw-studio-page .nws-subscription-preparation strong,
    body.nw-studio-page.nw-studio-page .nws-subscription-facts dd,
    body.nw-studio-page.nw-studio-page .nws-annual-save strong {
        color: var(--nws-ink);
    }
    body.nw-studio-page.nw-studio-page .nws-logout,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side {
        border-left-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-count-pill {
        border-color: var(--nws-line);
        color: var(--nws-subtext);
        background-color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-stat,
    body.nw-studio-page.nw-studio-page .nws-card,
    body.nw-studio-page.nw-studio-page .nws-card:hover,
    body.nw-studio-page.nw-studio-page .nws-empty,
    body.nw-studio-page.nw-studio-page .nws-panel,
    body.nw-studio-page.nw-studio-page .nws-table-card,
    body.nw-studio-page.nw-studio-page .nws-lightbox-close,
    body.nw-studio-page.nw-studio-page .nws-request-item,
    body.nw-studio-page.nw-studio-page .nws-publication-panel,
    body.nw-studio-page.nw-studio-page .nws-workspace-profile,
    body.nw-studio-page.nw-studio-page .nws-workspace-list,
    body.nw-studio-page.nw-studio-page .nws-comparison-scroll {
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-stat-icon,
    body.nw-studio-page.nw-studio-page .nws-list-initial,
    body.nw-studio-page.nw-studio-page .nws-content-symbol,
    body.nw-studio-page.nw-studio-page .nws-content-symbol.is-artist,
    body.nw-studio-page.nw-studio-page .nws-workspace-item-icon,
    body.nw-studio-page.nw-studio-page .nws-subscription-summary-icon,
    body.nw-studio-page.nw-studio-page .nws-subscription-kind-icon {
        background-color: var(--nws-tint);
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-card-media {
        background-image: linear-gradient(135deg, var(--nws-dark), #552439);
    }
    body.nw-studio-page.nw-studio-page .nws-badge.is-publish {
        background-color: var(--nws-tint);
        color: var(--nws-ink);
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-badge.is-private {
        background-color: var(--nws-tint);
        color: var(--nws-subtext);
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-empty-icon,
    body.nw-studio-page.nw-studio-page .nws-clean-fieldset:disabled :is(input,select,textarea) {
        color: var(--nws-subtext);
        background-color: var(--nws-tint);
    }
    body.nw-studio-page.nw-studio-page .nws-note,
    body.nw-studio-page.nw-studio-page .nws-media-slot-preview,
    body.nw-studio-page.nw-studio-page .nws-workspace-mark {
        border-color: var(--nws-line);
        background-color: var(--nws-tint);
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-note.is-success {
        background-color: var(--nws-tint);
        border-color: var(--nws-line);
        color: var(--nws-ink);
    }
    body.nw-studio-page.nw-studio-page .nws-back,
    body.nw-studio-page.nw-studio-page .nws-file-selection {
        color: var(--nws-subtext) !important;
    }
    body.nw-studio-page.nw-studio-page .nws-field input,
    body.nw-studio-page.nw-studio-page .nws-field textarea,
    body.nw-studio-page.nw-studio-page .nws-field select {
        border-color: var(--nws-line);
        background-color: var(--nws-white);
        color: var(--nws-ink);
    }
    body.nw-studio-page.nw-studio-page .nws-primary {
        background-color: var(--nws-wine);
        color: var(--nws-ink) !important;
    }
    body.nw-studio-page.nw-studio-page .nws-secondary {
        border-color: var(--nws-line);
        color: var(--nws-subtext) !important;
    }
    body.nw-studio-page.nw-studio-page .nws-facts>div,
    body.nw-studio-page.nw-studio-page .nws-related-item:first-child,
    body.nw-studio-page.nw-studio-page .nws-related-section,
    body.nw-studio-page.nw-studio-page .nws-binding-item,
    body.nw-studio-page.nw-studio-page .nws-hours-row,
    body.nw-studio-page.nw-studio-page .nws-review-form,
    body.nw-studio-page.nw-studio-page .nws-review-facts>div,
    body.nw-studio-page.nw-studio-page .nws-subscription-facts>div,
    body.nw-studio-page.nw-studio-page .nws-subscription-action,
    body.nw-studio-page.nw-studio-page .nws-subscription-cancel,
    body.nw-studio-page.nw-studio-page .nws-annual-connection-fields {
        border-top-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-footer,
    body.nw-studio-page.nw-studio-page .nws-profile-progress,
    body.nw-studio-page.nw-studio-page .nws-subscription-history li {
        border-top-color: var(--nws-line);
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-list-row,
    body.nw-studio-page.nw-studio-page .nws-lightbox-top,
    body.nw-studio-page.nw-studio-page .nws-related-item,
    body.nw-studio-page.nw-studio-page .nws-workspace-item {
        border-bottom-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-list-row:hover,
    body.nw-studio-page.nw-studio-page .nws-revision-panel {
        background-color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-lightbox {
        border-color: var(--nws-line);
        background-color: var(--nws-dark);
    }
    body.nw-studio-page.nw-studio-page .nws-lightbox-bottom {
        border-top-color: var(--nws-line);
        color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-lightbox-arrow {
        background-color: var(--nws-dark);
        color: var(--nws-white);
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-tag {
        background-color: var(--nws-tint);
        border-color: var(--nws-line);
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-choice,
    body.nw-studio-page.nw-studio-page .nws-portfolio-option,
    body.nw-studio-page.nw-studio-page .nws-annual-price-input {
        border-color: var(--nws-line);
        background-color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-choice:has(input:checked),
    body.nw-studio-page.nw-studio-page .nws-presentation-toolbar,
    body.nw-studio-page.nw-studio-page .nws-portfolio-option:has(input:checked),
    body.nw-studio-page.nw-studio-page .nws-subscription-summary,
    body.nw-studio-page.nw-studio-page .nws-subscription-preparation {
        border-color: var(--nws-line);
        background-color: var(--nws-tint);
    }
    body.nw-studio-page.nw-studio-page .nws-choice input[type=checkbox] {
        accent-color: var(--nws-wine);
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-inline-empty {
        color: var(--nws-subtext);
        border-color: var(--nws-line);
        background-color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-workspace-switch,
    body.nw-studio-page.nw-studio-page .nws-presentation-save,
    body.nw-studio-page.nw-studio-page .nws-subscription-account-note,
    body.nw-studio-page.nw-studio-page .nws-archive-editor {
        background-color: var(--nws-tint);
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-card-presentation {
        border-top-color: var(--nws-line);
        color: var(--nws-subtext) !important;
        background-color: var(--nws-tint);
    }
    body.nw-studio-page.nw-studio-page .nws-portfolio-option input,
    body.nw-studio-page.nw-studio-page .nws-contact-consent input {
        accent-color: var(--nws-wine);
    }
    @media(max-width:760px) {
        body.nw-studio-page.nw-studio-page .nws-contact-row {
            border-bottom-color: var(--nws-line);
        }
    }
    body.nw-studio-page.nw-studio-page .nws-workspace-profile-image {
        background-image: linear-gradient(135deg, var(--nws-dark), #552439);
        color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-service-list li,
    body.nw-studio-page.nw-studio-page .nws-comparison th,
    body.nw-studio-page.nw-studio-page .nws-comparison td {
        border-bottom-color: var(--nws-line);
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-badge.is-approved,
    body.nw-studio-page.nw-studio-page .nws-subscription-status.is-active {
        color: var(--nws-ink);
        background-color: var(--nws-tint);
        border-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-comparison caption {
        background-color: var(--nws-tint);
        color: var(--nws-subtext);
        border-bottom-color: var(--nws-line);
    }
    body.nw-studio-page.nw-studio-page .nws-comparison thead th {
        background-color: var(--nws-white);
        color: var(--nws-subtext);
    }
    body.nw-studio-page.nw-studio-page .nws-comparison tbody th {
        color: var(--nws-ink);
        background-color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-subscription-status {
        border-color: var(--nws-line);
        color: var(--nws-subtext);
        background-color: var(--nws-tint);
    }
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side .nws-secondary {
        border-color: var(--nws-line);
        background-color: var(--nws-dark);
        color: var(--nws-white) !important;
    }
    body.nw-studio-page.nw-studio-page .nws-annual-price-input>input {
        color: var(--nws-ink) !important;
    }
    @media(max-width:1050px) {
        body.nw-studio-page.nw-studio-page .nws-subscription-connection-side {
            border-top-color: var(--nws-line);
        }
    }
    body.nw-studio-page.nw-studio-page .nws-form-status {
        border-color: var(--nws-line);
        background-color: var(--nws-tint);
        color: var(--nws-ink);
    }
    body.nw-studio-page.nw-studio-page .nws-lightbox-error {
        border-color: var(--nws-line);
        background-color: var(--nws-dark);
        color: var(--nws-white);
    }
    /* Nightwall actions and the selected nav item use a solid fill and light lettering. */
    body.nw-studio-page.nw-studio-page :is(.nw-studio-skip, .nws-brand-mark, .nws-primary, .nws-nav a[aria-current="page"]) {
        background-color: var(--nws-wine);
        color: var(--nws-white) !important;
    }
    body.nw-studio-page.nw-studio-page .nws-primary:not(:disabled):hover {
        background-color: #650019;
    }
    body.nw-studio-page.nw-studio-page :is(.nws-sidebar, .nws-gate-story, .nws-lightbox, .nws-subscription-connection) {
        background-color: var(--nws-dark);
        color: var(--nws-white);
    }
    body.nw-studio-page.nw-studio-page .nws-sidebar .nws-nav a:not([aria-current]):hover,
    body.nw-studio-page.nw-studio-page .nws-subscription-connection-side .nws-secondary {
        background-color: #512a3a;
        color: var(--nws-white) !important;
    }
    body.nw-studio-page.nw-studio-page :is(.nws-sidebar, .nws-subscription-connection, .nws-gate-story)
    :is(.nws-sidebar-foot a, .nws-sidebar-foot small, .nws-nav-caption, .nws-brand-subtitle,
        .nws-kicker, small, .nws-subscription-connection-side li, p, h1 em) {
        color: #f4dce6;
    }
    body.nw-studio-page.nw-studio-page :is(.nws-sidebar, .nws-subscription-connection) :focus-visible {
        outline-color: #fff;
    }
}

/* Public directory, venue, artist, photographer, professional and agenda views. */
@media (forced-colors: none) {
    html.nwpub-document {
        background: #100d0e;
    }
    html.nwpub-document body.nwpub-page {
        --np-brand: #800020;
        --np-brand-hover: #9a1436;
        --np-on-brand: #fff;
        --np-bg: #100d0e;
        --np-panel: #1a1618;
        --np-panel-alt: #292327;
        --np-line: #51454a;
        --np-control-line: #83757a;
        --np-text: #fff;
        --np-muted: #e0dadd;
        --np-dim: #bcb3b7;
        --np-accent: #fff;
        --np-tint: #3c1521;
        --nwpub-border: var(--np-line);
        --nwpub-muted: var(--np-dim);
        accent-color: var(--np-brand);
        background: var(--np-bg);
        color: var(--np-text);
    }

    /* Public templates default to dark. Honor a declared day theme where present. */
    html.nwpub-document[data-theme="day"],
    html.nwpub-document:has(> body.nwpub-page[data-theme="day"]) { background: #fff; }
    html.nwpub-document[data-theme="day"] body.nwpub-page,
    html.nwpub-document body.nwpub-page[data-theme="day"] {
        color-scheme: light;
        --np-bg: #fff;
        --np-panel: #fbf8f9;
        --np-panel-alt: #f2ecee;
        --np-line: #d1c5c9;
        --np-control-line: #8c7c82;
        --np-text: #24191e;
        --np-muted: #4e4046;
        --np-dim: #695b61;
        --np-accent: var(--np-brand);
        --np-tint: #f5e7eb;
    }

    body.nwpub-page :is(.nwpub-brand-mark, .nwpub-button, .nwpub-skip, .nwpub-toast) {
        background: var(--np-brand);
        color: var(--np-on-brand) !important;
    }
    body.nwpub-page .nwpub-button:hover { background: var(--np-brand-hover); }
    body.nwpub-page :is(.nwpub-secondary, .nwpub-icon-button, .nwpub-studio, .nwpub-share-field),
    body.nwpub-page .nwpub-search :is(input, select) {
        border-color: var(--np-control-line);
    }
    body.nwpub-page :is(.nwpub-secondary, .nwpub-icon-button, .nwpub-studio):hover {
        border-color: var(--np-accent);
        background: var(--np-panel-alt);
    }

    body.nwpub-page :is(.nwpub-card-art, .nwpub-cover, .nwpub-album-image) {
        background-color: var(--np-panel-alt);
    }
    body.nwpub-page :is(.nwpub-cover.is-empty, .nwpub-card-art.is-empty) {
        background: linear-gradient(120deg, #360814, #600c26 60%, #800020);
    }
    body.nwpub-page :is(.nwpub-card-initial, .nwpub-cover-initial, .nwpub-cover-wordmark) {
        color: var(--np-on-brand);
    }
    body.nwpub-page :is(.nwpub-cover.is-empty, .nwpub-card-art.is-empty)::after,
    body.nwpub-page .nwpub-cover.is-empty::before {
        border-color: rgb(255 255 255 / 20%);
    }
    body.nwpub-page .nwpub-card-kind,
    body.nwpub-page .nwpub-gallery-item > span {
        background: rgb(41 11 21 / 94%);
        color: var(--np-on-brand);
    }
    body.nwpub-page .nwpub-avatar {
        background: var(--np-brand);
        color: var(--np-on-brand);
    }

    body.nwpub-page :is(.nwpub-empty, .nwpub-quiet-empty) {
        background: var(--np-panel);
        border-color: var(--np-line);
    }
    body.nwpub-page .nwpub-preview,
    body.nwpub-page .nwpub-tags > span,
    body.nwpub-page :is(.nwpub-event-icon, .nwpub-archive-date),
    body.nwpub-page .nwpub-contact-links a {
        background: var(--np-tint);
        border-color: var(--np-line);
        color: var(--np-accent);
    }
    body.nwpub-page :is(.nwpub-archive-date small, .nwpub-preview > div > span),
    body.nwpub-page :is(.nwpub-card-types, .nwpub-biography, .nwpub-event-date, .nwpub-album p, .nwpub-lightbox-caption) {
        color: var(--np-muted);
    }
    body.nwpub-page :is(.nwpub-quiet-empty, .nwpub-address, .nwpub-album-image, .nwpub-service-area) > svg,
    body.nwpub-page :is(.nwpub-hours > h3, .nwpub-contact-links a, .nwpub-services > li) > svg,
    body.nwpub-page .nwpub-album-meta > a { color: var(--np-accent); }
    body.nwpub-page :is(.nwpub-signature > span, .nwpub-error-number) { color: var(--np-dim); }
    body.nwpub-page .nwpub-event-venue a { text-decoration-color: var(--np-control-line); }
    body.nwpub-page .nwpub-orbit::before,
    body.nwpub-page .nwpub-orbit::after { border-color: var(--np-control-line); }
    body.nwpub-page :is(.nwpub-card:hover, .nwpub-album:hover, .nwpub-archive-card-link:hover, .nwpub-archive-detail:target),
    body.nwpub-page .nwpub-contact-links a:hover { border-color: var(--np-accent); }
    body.nwpub-page .nwpub-section-nav { scrollbar-color: var(--np-control-line) transparent; }

    body.nwpub-page .nwpub-lightbox {
        background: var(--np-bg);
        border-color: var(--np-line);
        color: var(--np-text);
    }
    body.nwpub-page .nwpub-lightbox::backdrop { background: rgb(12 9 10 / 91%); }
    body.nwpub-page .nwpub-lightbox-top {
        border-color: var(--np-line);
        color: var(--np-muted);
    }
    body.nwpub-page :is(.nwpub-lightbox-prev, .nwpub-lightbox-next) { background: var(--np-panel); }
}
/* END NIGHTWALL BURGUNDY UI v30 */

/* NIGHTWALL MOBILE LAYOUT v31 */
/* Nightwall City. The map controls and list share a surface language. */
@media (forced-colors: none) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded {
        --city-ink: #fff;
        --city-muted: #d6cfd3;
        --city-surface: #191719;
        --city-float: #1b191bf5;
        --city-elevated: #282527;
        --city-selected: #800020;
        --city-accent-ink: #f1c1cf;
        --city-grip: #a69ca2;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"][data-theme="day"] .nwm.nwm--embedded {
        --city-ink: #211b1e;
        --city-muted: #63575e;
        --city-surface: #fff;
        --city-float: #fffffff7;
        --city-elevated: #f3eef0;
        --city-accent-ink: #800020;
        --city-grip: #807278;
    }

    /* Keep the raster fallback close to the slate vector map. Markers, logos
       and accessibility controls live in separate panes. */
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"]:not([data-theme="day"]) .nwm.nwm--embedded .leaflet-tile-pane {
        filter: grayscale(1) sepia(.7) hue-rotate(194deg) saturate(1.85) contrast(1.06);
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top {
        grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
        gap: clamp(5px, 1.35vw, 9px);
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > :is(.nwpres-map-trigger, .nwm-icon-button, .nwm-filter-toggle) {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        display: inline-grid;
        place-items: center;
        padding: 0;
        border: 0 !important;
        border-radius: 50% !important;
        color: var(--city-ink) !important;
        background: var(--city-float) !important;
        box-shadow: 0 2px 8px #110a101e;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwpres-map-trigger [data-nwp-presence-summary] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwpres-map-trigger svg {
        width: 20px;
        height: 20px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwm-city-chip {
        justify-self: start;
        width: max-content;
        max-width: 100%;
        height: 44px;
        padding-inline: clamp(9px, 2.5vw, 16px);
        color: var(--city-ink) !important;
        background: var(--city-float) !important;
        border: 0 !important;
        border-radius: 15px !important;
        box-shadow: 0 2px 8px #110a101e;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-city-chip strong {
        font-size: 16px;
        font-weight: 750;
        letter-spacing: -.025em;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > button[aria-expanded="true"] {
        color: #fff !important;
        background: var(--city-selected) !important;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-category-strip {
        width: max-content;
        max-width: calc(100% - 24px);
        box-sizing: border-box;
        margin-inline: auto;
        padding: 3px;
        gap: 0;
        min-height: 0;
        border-radius: 24px;
        background: var(--city-float);
        box-shadow: 0 2px 10px #120a101e;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-category-strip > button {
        min-width: 0;
        min-height: 44px;
        padding: 8px clamp(9px, 3vw, 17px);
        gap: 6px;
        border: 0 !important;
        border-radius: 22px !important;
        background: transparent !important;
        color: var(--city-ink) !important;
        box-shadow: none !important;
        font-weight: 650;
        font-size: 13px;
        line-height: 1.2;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-category-strip > button:is([aria-pressed="true"], .is-active) {
        color: #fff !important;
        background: var(--city-selected) !important;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded > .nwm-here {
        background: var(--city-float) !important;
        color: var(--city-ink) !important;
        border-radius: 15px !important;
        padding-inline: 12px;
        min-width: 72px;
        font-weight: 650;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode] .nwm-sidebar {
        border: 0 !important;
        border-radius: 21px !important;
        color: var(--city-ink);
        background: var(--city-surface) !important;
        box-shadow: 0 3px 18px #11091029;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode] .nwm-sheet-grip {
        width: 32px;
        height: 4px;
        left: calc(50% - 16px);
        background: var(--city-grip);
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-sheet-title {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -.02em;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded [data-nwm-count] {
        color: var(--city-muted);
        font-size: 12px;
        font-variant-numeric: tabular-nums;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-sheet-content { scrollbar-color: var(--city-grip) transparent; }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-cards { gap: 8px; }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card:not(.nwm-card--minimal) {
        grid-template-columns: clamp(52px, 16vw, 72px) minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border: 0 !important;
        border-radius: 15px !important;
        background: var(--city-elevated) !important;
        box-shadow: none;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card:not(.nwm-card--minimal) .nwm-card-media {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        border-radius: 10px;
        overflow: hidden;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card:not(.nwm-card--minimal) .nwm-card-media:has(.nwm-card-avatar.is-avatar-only) {
        aspect-ratio: 1;
        border-radius: 50%;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card:not(.nwm-card--minimal) :is(.nwm-card-title, .nwm-card-focus) {
        color: var(--city-ink) !important;
        font-size: clamp(17px, 4.5vw, 21px) !important;
        line-height: 1.15 !important;
        letter-spacing: -.025em;
        overflow-wrap: anywhere;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card .nwm-card-category {
        color: var(--city-accent-ink);
        font-size: 12px;
        line-height: 1.3;
        font-weight: 650;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card .nwm-event-time {
        color: var(--city-ink);
        font-weight: 650;
        font-variant-numeric: tabular-nums;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-card:not(.nwm-card--minimal) .nwm-card-link {
        min-height: 44px;
        padding-inline: 12px;
        border-radius: 10px !important;
        background: var(--city-selected) !important;
        color: #fff !important;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal {
        grid-template-columns: clamp(54px, 15vw, 66px) minmax(0, 1fr);
        column-gap: 12px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-media {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 1;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal :is(.nwm-card-focus, .nwm-card-title) {
        font-size: clamp(21px, 5vw, 26px) !important;
        letter-spacing: -.035em;
        overflow-wrap: anywhere;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions .nwm-card-link {
        border-radius: 12px !important;
        background: var(--city-selected) !important;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nwm-action-icon, .nwm-save-button, .nvf-button) {
        border-radius: 50% !important;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-card--minimal .nwm-card-actions :is(.nvf-button, .nwm-save-button)[aria-pressed="true"] {
        color: #fff !important;
        background: var(--city-selected) !important;
    }
}

/* On tall phones the existing lenses sit above the collapsed sheet and map
   attribution. Opening a list or using a short viewport returns them to the top. */
@media (max-width: 720px) and (min-height: 540px) and (orientation: portrait) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-lens-dock="ready"][data-sheet="collapsed"] .nwm-category-strip {
        inset: auto max(12px, env(safe-area-inset-right, 0px))
            calc(var(--nwm-sheet-visible-height, 48px) + 64px)
            max(12px, env(safe-area-inset-left, 0px));
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-lens-dock="ready"][data-sheet="collapsed"] > .nwm-here {
        top: calc(72px + env(safe-area-inset-top, 0px));
        left: max(12px, env(safe-area-inset-left, 0px));
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode] .nwm-sidebar {
        left: max(8px, env(safe-area-inset-left, 0px));
        right: max(8px, env(safe-area-inset-right, 0px));
        bottom: 6px;
        width: auto;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-minimal-sheet="true"] .nwm-sheet-content {
        padding-inline: clamp(14px, 4vw, 20px);
        padding-bottom: 14px;
    }
}

/* Nightwall profiles. The identity shares the cover's grid cell so the first
   section stays in view and longer names can expand the header naturally. */
body.nwpub-page .nwpub-main,
body.nwpub-page .nwpub-header {
    box-sizing: border-box;
    max-width: 1232px;
    padding-inline: clamp(14px, 4vw, 48px);
}
body.nwpub-page .nwpub-header {
    min-height: 64px;
    padding-block: 10px;
    gap: 14px;
}
body.nwpub-page .nwpub-brand { gap: 9px; }
body.nwpub-page .nwpub-brand-mark { width: 35px; height: 35px; font-size: 24px; border-radius: 11px 11px 11px 4px; }
body.nwpub-page .nwpub-brand strong { font-size: 14px; letter-spacing: .09em; }
body.nwpub-page .nwpub-brand small { display: none; }
body.nwpub-page .nwpub-header-nav { gap: 18px; }
body.nwpub-page .nwpub-studio { min-height: 44px; padding: 8px 13px; border: 0; border-radius: 24px; background: var(--np-panel-alt); }
body.nwpub-page .nwpub-breadcrumb { padding-block: 2px 4px; gap: 8px; font-size: 12px; }
body.nwpub-page .nwpub-breadcrumb > a { min-height: 44px; }
body.nwpub-page .nwpub-breadcrumb > span { display: none; }
body.nwpub-page .nwpub-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
body.nwpub-page .nwpub-profile .nwpub-cover,
body.nwpub-page .nwpub-profile .nwpub-identity {
    grid-area: 1 / 1;
    min-width: 0;
}
body.nwpub-page .nwpub-profile .nwpub-cover {
    align-self: stretch;
    height: auto;
    min-height: 212px;
    border-radius: 20px;
    isolation: isolate;
}
body.nwpub-page .nwpub-cover:not(.is-empty) { min-height: clamp(230px, 24vw, 310px); }
body.nwpub-page .nwpub-cover:not(.is-empty)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(12 9 13 / .94), rgb(12 9 13 / .6) 56%, rgb(12 9 13 / .16));
}
body.nwpub-page .nwpub-profile .nwpub-cover.is-empty {
    background: linear-gradient(112deg, #1c151a, #321722 52%, #630b2b 83%, #851333);
}
body.nwpub-page .nwpub-cover.is-empty::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    transform: none;
    background: repeating-radial-gradient(ellipse at 90% 134%, transparent 0 17px, rgb(255 224 233 / .18) 18px 19px, transparent 20px 27px);
    mask-image: linear-gradient(105deg, transparent 24%, black 70%);
}
body.nwpub-page .nwpub-cover.is-empty::after,
body.nwpub-page .nwpub-cover-initial,
body.nwpub-page .nwpub-cover-wordmark { display: none; }
body.nwpub-page .nwpub-profile .nwpub-identity {
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-self: end;
    align-items: center;
    gap: 12px 20px;
    padding: clamp(18px, 3vw, 36px);
    color: #fff;
}
body.nwpub-page .nwpub-identity .nwpub-avatar {
    width: clamp(70px, 7vw, 92px);
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    border: 2px solid rgb(255 255 255 / .48);
    border-radius: 22px;
    box-shadow: none;
}
body.nwpub-page .nwpub-identity .nwpub-avatar > img { padding: 4px; }
body.nwpub-page .nwpub-identity .nwpub-avatar > span { font-size: 2.15rem; }
body.nwpub-page .nwpub-identity-copy { width: auto; min-width: 0; padding: 0; }
body.nwpub-page .nwpub-identity-copy .nwpub-eyebrow {
    color: #f0dce4;
    font-size: 12px;
    letter-spacing: .025em;
    line-height: 1.35;
}
body.nwpub-page .nwpub-identity h1 {
    margin: 3px 0 4px;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}
body.nwpub-page .nwpub-identity :is(.nwpub-tags, .nwpub-location) {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    color: #f4e8ed;
    margin: 4px 10px 0 0;
    font-size: 12px;
}
body.nwpub-page .nwpub-identity .nwpub-tags { gap: 4px 8px; }
body.nwpub-page .nwpub-identity .nwpub-tags > span {
    background: transparent;
    color: #fff;
    border: 0;
    padding: 0;
    font-size: 12px;
}
body.nwpub-page .nwpub-identity .nwpub-location { gap: 4px; }
body.nwpub-page .nwpub-identity-actions {
    grid-column: auto;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    margin: 0;
}
body.nwpub-page .nwpub-identity-actions > .nwpub-button {
    min-height: 44px;
    padding: 9px 15px;
    font-size: 14px;
    gap: 8px;
    border-radius: 24px;
}
body.nwpub-page .nwpub-identity-actions > .nwpub-button + .nwpub-button,
body.nwpub-page .nwpub-identity-actions > .nwpub-icon-button {
    background: #30272c;
    border: 1px solid #8e7781;
    color: #fff;
}
body.nwpub-page .nwpub-identity-actions > .nwpub-icon-button { width: 44px; height: 44px; border-radius: 50%; }
body.nwpub-page .nwpub-identity-actions > .nwpub-button + .nwpub-button:hover,
body.nwpub-page .nwpub-identity-actions > .nwpub-icon-button:hover { background: #48323d; }
body.nwpub-page .nwpub-section-nav {
    position: relative;
    display: flex;
    min-width: 0;
    gap: 6px;
    padding: 12px 4px;
    scroll-padding-inline: 4px;
}
body.nwpub-page .nwpub-section-nav a {
    padding: 0 14px;
    border: 0;
    min-height: 44px;
    border-radius: 24px;
    background: var(--np-panel-alt);
    color: var(--np-text);
    font-size: 13px;
}
body.nwpub-page .nwpub-section-nav a:hover,
body.nwpub-page .nwpub-section-nav a:focus-visible { background: var(--np-tint); }
body.nwpub-page .nwpub-section-nav a:focus-visible { outline-offset: -3px; }
body.nwpub-page .nwpub-detail-layout { padding: 12px 0 0; gap: clamp(20px, 4vw, 48px); }
body.nwpub-page .nwpub-detail-content .nwpub-section {
    margin: 0 0 24px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--np-panel-alt) !important;
}
body.nwpub-page .nwpub-detail-content .nwpub-section.nwpub-world { padding: 18px; }
body.nwpub-page .nwpub-detail-content .nwpub-section > .nwpub-eyebrow,
body.nwpub-page .nwpub-info-panel > .nwpub-eyebrow { display: none; }
body.nwpub-page .nwpub-detail-layout :is(.nwpub-section, .nwpub-info-panel) > h2 {
    font-size: clamp(21px, 2vw, 27px);
    margin: 0 0 14px;
    line-height: 1.18;
    letter-spacing: -.025em;
}
body.nwpub-page .nwpub-profile .nwpub-quiet-empty {
    padding: 4px 0;
    gap: 8px;
    align-items: center;
    background: transparent !important;
    font-size: 13px;
    line-height: 1.45;
}
body.nwpub-page .nwpub-quiet-empty svg { width: 17px; height: 17px; }
body.nwpub-page .nwpub-biography { font-size: 15px; line-height: 1.65; }
body.nwpub-page .nwpub-info-panel { padding: clamp(16px, 2vw, 23px); border-radius: 16px; }
body.nwpub-page .nwpub-event-list,
body.nwpub-page .nwpub-archive-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
body.nwpub-page .nwpub-event,
body.nwpub-page .nwpub-archive-card-link,
body.nwpub-page .nwpub-archive-detail {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
}
body.nwpub-page .nwpub-event-icon,
body.nwpub-page .nwpub-archive-date {
    display: grid;
    place-content: center;
    width: 55px;
    min-height: 56px;
    padding: 5px 1px;
    border: 0;
    border-radius: 10px;
    background: var(--np-tint);
    color: var(--np-accent);
}
body.nwpub-page .nwpub-event-date { margin: 0 0 4px; font-size: 12px; line-height: 1.3; }
body.nwpub-page :is(.nwpub-event, .nwpub-archive-copy) h3 { margin: 0; font-size: 18px; line-height: 1.25; }
body.nwpub-page .nwpub-archive-credit { margin-top: 4px; }
body.nwpub-page .nwpub-archive-more { margin-top: 7px; }
body.nwpub-page .nwpub-directory-hero { gap: 24px; padding: clamp(24px, 4vw, 48px) 0; }
body.nwpub-page .nwpub-directory-hero h1 { font-size: clamp(34px, 4vw, 55px); margin-top: 8px; line-height: 1.04; }
body.nwpub-page .nwpub-directory-intro .nwpub-orbit { display: none; }
body.nwpub-page .nwpub-directory-intro > p { margin-top: 0; }
body.nwpub-page .nwpub-card-copy { padding: 16px; }
body.nwpub-page .nwpub-card-more { padding-top: 12px; }

@media (max-width: 870px) {
    body.nwpub-page .nwpub-profile .nwpub-identity { grid-template-columns: auto minmax(0, 1fr); }
    body.nwpub-page .nwpub-identity-actions { grid-column: 1 / -1; justify-content: flex-start; width: 100%; }
    body.nwpub-page .nwpub-identity-actions:has(.nwpub-share-field) { max-width: none; }
}
@media (max-width: 600px) {
    body.nwpub-page .nwpub-header { min-height: 56px; padding-block: 6px; }
    body.nwpub-page .nwpub-profile .nwpub-cover { min-height: 182px; border-radius: 16px; }
    body.nwpub-page .nwpub-profile .nwpub-cover:not(.is-empty) { min-height: 228px; }
    body.nwpub-page .nwpub-profile .nwpub-identity { padding: 15px; gap: 12px; }
    body.nwpub-page .nwpub-identity .nwpub-avatar { width: 60px; border-radius: 16px; }
    body.nwpub-page .nwpub-identity h1 { font-size: clamp(24px, 7.6vw, 32px); }
    body.nwpub-page .nwpub-identity-actions { gap: 6px; }
    body.nwpub-page .nwpub-identity-actions > .nwpub-button { padding-inline: 11px; gap: 5px; font-size: 13px; }
    body.nwpub-page .nwpub-section-nav { margin-inline: -4px; }
    body.nwpub-page .nwpub-section-nav a { padding-inline: 12px; }
    body.nwpub-page .nwpub-detail-layout { padding-top: 8px; }
    body.nwpub-page .nwpub-directory-hero { gap: 12px; }
    body.nwpub-page .nwpub-card-link { display: grid; grid-template-columns: minmax(100px, 34%) minmax(0, 1fr); }
    body.nwpub-page .nwpub-card-art { aspect-ratio: auto; min-height: 134px; }
    body.nwpub-page .nwpub-card-initial { font-size: 55px; }
    body.nwpub-page .nwpub-card-kind { inset: auto 6px 6px; max-width: none; padding: 3px 5px; line-height: 1.3; }
    body.nwpub-page .nwpub-card-copy { padding: 13px; }
    body.nwpub-page .nwpub-card-copy h3 { font-size: 19px; }
    body.nwpub-page .nwpub-card-types,
    body.nwpub-page .nwpub-card-description { margin-top: 6px; }
}
/* On narrow phones the text already identifies both links. Dropping their
   decorative arrows leaves a full touch target for the adjacent share button. */
@media (max-width: 360px) {
    body.nwpub-page .nwpub-identity-actions > a.nwpub-button:has(svg[aria-hidden="true"]) > svg[aria-hidden="true"] {
        display: none;
    }
    body.nwpub-page .nwpub-identity-actions > a.nwpub-button { padding-inline: 10px; }
}
@media (forced-colors: active) {
    body.nwpub-page .nwpub-profile .nwpub-identity { color: CanvasText; background: Canvas; }
    body.nwpub-page .nwpub-profile .nwpub-cover { display: none; }
    body.nwpub-page .nwpub-section-nav a { border: 1px solid ButtonText; }
}

@media (forced-colors: none) {
    body.nightwall-engine-page .nwe-v3 [data-nwe-v3-view="profile"] .nwe-account-identity {
        color: #fff;
        padding: clamp(16px, 3vw, 28px);
        border-radius: 18px;
        background: radial-gradient(ellipse at 102% 125%, #640c2b, transparent 61%),
                    linear-gradient(112deg, #1c151a, #341924) !important;
    }
    body.nightwall-engine-page .nwe-v3 .nwe-account-identity :is(h1, .nwe-v3-kicker) { color: #fff; }
    body.nightwall-engine-page .nwe-v3 .nwe-account-identity [data-nwe-self-description],
    body.nightwall-engine-page .nwe-v3 .nwe-account-identity [data-nwe-account-session-status] {
        color: #efdee6;
        font-size: 13px;
        line-height: 1.45;
    }
    body.nightwall-engine-page .nwe-v3 .nwe-account-identity .nwe-account-editor-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 15px;
        border-radius: 24px;
        color: #fff;
        background: #800020;
    }
}
@media (max-width: 600px) {
    body.nightwall-engine-page .nwe-v3 [data-nwe-v3-view="profile"] .nwe-account-identity {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }
    body.nightwall-engine-page .nwe-v3 .nwe-account-identity .nwe-account-avatar {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }
    body.nightwall-engine-page .nwe-v3 .nwe-account-identity .nwe-account-editor-link {
        grid-column: 1 / -1;
        justify-self: start;
    }
}
/* END NIGHTWALL MOBILE LAYOUT v31 */

/* NIGHTWALL MAP CATEGORIES v32 */
/* Keep the real category name on the map while the filter menu is closed. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-filters-ready="true"] .nwm-floating-top {
    grid-template-columns: 44px minmax(0, 1fr) 44px fit-content(min(42%, 17rem));
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > [data-nwm-filters-toggle]:has(.nwm-category-visible-label) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 44px;
    max-width: 100%;
    min-height: 44px;
    padding: 4px 12px;
    border-radius: 16px !important;
    box-sizing: border-box;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-toggle .nwm-category-visible-label {
    display: block;
    overflow: hidden;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: start;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* A chosen type may be a multiword venue name. Two lines fit in 44px. */
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-toggle[data-active="true"] .nwm-category-visible-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwm-filter-toggle[data-active="true"] {
    background: #800020 !important;
    color: #fff !important;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-toggle[data-active="true"]::after {
    content: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwm-city-chip strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel {
    background: var(--city-surface, #191719) !important;
    color: var(--city-ink, #fff);
    max-height: max(52px, calc(100% - 80px - env(safe-area-inset-top, 0px)));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel h3 {
    color: inherit;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel h4 {
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    color: var(--city-muted, #d6cfd3);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel :is(.nwm-category-options, .nwm-category-directories) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
    padding: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-category-directories h4 {
    grid-column: 1 / -1;
    margin-bottom: 1px;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel :is(.nwm-category-option, .nwm-filter-quick > button, .nwm-category-directories > a) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    color: var(--city-ink, #fff);
    background: var(--city-elevated, #282527);
    font: inherit;
    font-size: 13px;
    line-height: 1.25;
    text-align: start;
    overflow-wrap: anywhere;
    text-decoration: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-quick {
    margin-bottom: 0;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-quick > button {
    justify-content: center;
    flex-direction: column;
    padding-inline: 5px;
    text-align: center;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-category-directories > a::after {
    content: "›";
    margin-inline-start: auto;
    font-size: 1.1em;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel button[aria-pressed="true"] {
    color: #fff !important;
    background: #800020 !important;
    font-weight: 700;
    box-shadow: inset 3px 0 #f2c5d4;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-close,
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-reset {
    color: var(--city-ink, #fff);
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-reset:disabled {
    display: none;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded :is([data-nwpm-filter][hidden], .nwm-filter-panel [hidden]) {
    display: none !important;
}
body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel :is(a, button):focus-visible {
    outline: 2px solid var(--city-ink, #fff);
    outline-offset: -3px;
}
@media (max-width: 420px) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwm-filter-toggle:has(.nwm-category-visible-label) {
        padding-inline: 8px;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-toggle:has(.nwm-category-visible-label) > svg {
        display: none;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-floating-top > .nwm-city-chip {
        padding-inline: 4px;
        gap: 2px;
    }
}
@media (forced-colors: active) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel :is(a, button),
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-toggle {
        border: 1px solid ButtonText !important;
    }
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-panel [aria-pressed="true"],
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded .nwm-filter-toggle[data-active="true"] {
        border: 2px solid Highlight !important;
        text-decoration: underline;
    }
}
/* END NIGHTWALL MAP CATEGORIES v32 */

/* NIGHTWALL SHEET GESTURES v33 */
/* The handle owns the gesture. The list keeps native scrolling and the map
   keeps its own pan and pinch gestures outside the sheet. */
@media (max-width: 720px), (pointer: coarse), (any-pointer: coarse) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-ready="true"] .nwm-sheet-toggle {
        box-sizing: border-box;
        min-height: 44px;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        cursor: grab;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded.is-sheet-dragging .nwm-sheet-toggle {
        cursor: grabbing;
    }

    /* The controller measures each snap before a drag. Animated heights
       would give intermediate measurements, and make the handle trail a finger. */
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-ready="true"] .nwm-sidebar {
        transition: none;
    }

    /* Let a short list use its natural height, with the existing peek/full
       sizes as upper bounds. Long results scroll inside that same panel. */
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode="browse"]:is([data-sheet="peek"], [data-sheet="full"]) .nwm-sidebar {
        height: auto;
        max-height: max(48px, min(var(--nwm-sheet-height), calc(100% - min(124px, 33%) - env(safe-area-inset-top, 0px))));
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode="browse"][data-sheet="full"] {
        --nwm-sheet-height: calc(100% - min(124px, 33%) - env(safe-area-inset-top, 0px));
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode="browse"] .nwm-sheet-content {
        flex: 0 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }

    /* A collapsed body is normally both hidden and inert. During the upward
       preview it stays inert, but its existing rows become visible as they fit. */
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded.is-sheet-dragging[data-sheet="collapsed"] .nwm-sheet-content:not([hidden]) {
        display: block;
        visibility: visible;
    }

    /* JS clamps the inline live height to the measured end stops. The starting
       state's max-height must not hold a finger at the old peek position. */
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-sheet][data-nwm-sheet-mode].is-sheet-dragging .nwm-sidebar {
        min-height: 0;
        max-height: none;
    }
}

/* On a rotated phone a fixed 124px reservation could leave no room for
   venue actions. Preserve a strip of map and scroll the remaining details. */
@media (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) {
    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode] .nwm-sidebar {
        inset-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
        width: auto;
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode="selected"][data-sheet="peek"] {
        --nwm-selected-sheet-max-height: max(44px, min(320px, 60%, calc(100% - env(safe-area-inset-top, 0px))));
    }

    body.nightwall-engine-page .nwe-v3[data-route="city"][data-role="member"] .nwm.nwm--embedded[data-nwm-sheet-mode="selected"][data-sheet="full"] {
        --nwm-selected-sheet-max-height: max(44px, min(420px, 70%, calc(100% - env(safe-area-inset-top, 0px))));
    }
}
/* END NIGHTWALL SHEET GESTURES v33 */