/* The modern edition, nyontap.com: a warm, dark "night out" design (the design canvas's frames A and E). The three 2026 tones differ in
   lightness as well as hue, so they can be told apart without color, and each keeps 3:1 against the ground. */

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/barlow-latin-400-normal.woff2) format("woff2");
}

@font-face {
    font-family: "Barlow";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/barlow-latin-400-italic.woff2) format("woff2");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/barlow-latin-500-normal.woff2) format("woff2");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url(fonts/barlow-latin-600-normal.woff2) format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2");
}

:root {
    color-scheme: dark;
    --ground: #14110e;
    --rail: #17140f;
    --surface: #1c1815;
    --raised: #241f1b;
    --line-soft: #2b2520;
    --line: #342d27;
    --line-strong: #4a4038;
    --text: #f3ede4;
    --text-2: #d8cfc4;
    --muted: #b3a99d;
    --faint: #8a8178;
    --accent: #e8a33d;
    --accent-hover: #f5c27a;
    /* Brightest to faintest: still pouring is near white, replaced is a cooler dusk blue, gone is ash. map.js draws the map's dots from
       these too, with the sizes below, and repaints within half a second of a change made in the browser's developer tools. */
    --tone-still: #ece6dc;
    --tone-changed: #5c87c7;
    --tone-gone: #69625d;
    --tone-closed: #554e49;
    /* The dots' radius on the map, in pixels at zoom 16 (they shrink as the map zooms out): for each tone, for a pick whatever its
       tone, and for the closed ring. The dots have no border; a pick is told only by its size, which sets the key's pick sample too. */
    --map-dot-radius-still: 5;
    --map-dot-radius-changed: 5;
    --map-dot-radius-gone: 5;
    --map-dot-radius-pick: 6;
    --map-dot-radius-closed: 5;
    /* The closed ring's width is pixels at zoom 15 and closer; the selected bar's border, and the thinner one on a hovered dot, are the
       same width at every zoom. A hovered ring takes the border's color. */
    --map-closed-ring-width: 1.2;
    --map-selected-border: #ffffff;
    --map-selected-border-width: 2;
    --map-hover-border-width: 1;
    --tint-still: rgba(236, 230, 220, 0.13);
    --tint-changed: rgba(92, 135, 199, 0.14);
    --tint-gone: rgba(138, 129, 120, 0.14);
    --edge-still: rgba(236, 230, 220, 0.55);
    --edge-changed: rgba(92, 135, 199, 0.55);
    --edge-gone: rgba(138, 129, 120, 0.5);
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
    --gutter: 24px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ground);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: var(--accent);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--accent-hover);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

h1 {
    font-size: clamp(36px, 5vw, 56px);
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-top: 40px;
}

h3 {
    font-size: 22px;
}

p {
    margin: 0.6em 0 0;
}

img {
    max-width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 10;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--ground);
    font-weight: 600;
}

.skip-link:focus {
    top: 8px;
}

.eyebrow {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow-accent {
    color: var(--accent);
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.block {
    display: block;
}

.lede {
    font-size: 19px;
    line-height: 1.5;
    color: var(--text-2);
    max-width: 760px;
}

/* Header, edition line and footer */

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    padding: 10px var(--gutter);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
}

.brand:hover {
    color: var(--text);
}

.brand-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.brand-year {
    padding: 3px 7px 2px;
    border-radius: 3px;
    background: var(--accent);
    color: var(--ground);
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    font-size: 15px;
    font-weight: 500;
}

.site-nav a {
    padding: 11px 0 9px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--text);
}

.site-nav a[aria-current="page"] {
    border-bottom-color: var(--accent);
    color: var(--text);
}

.site-search {
    position: relative;
    flex: 1 1 240px;
    max-width: 360px;
    margin-left: auto;
}

.site-search svg {
    position: absolute;
    left: 14px;
    top: 13px;
    color: var(--faint);
}

.site-search input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 15px;
}

.site-search input::placeholder {
    color: var(--faint);
}

.edition-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    padding: 8px var(--gutter);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    font-size: 14px;
    color: var(--muted);
}

.edition-line .eyebrow {
    color: var(--accent);
    font-weight: 700;
}

.edition-about {
    flex: 1 1 320px;
}

.edition-line a {
    font-weight: 600;
}

.site-footer {
    padding: 22px var(--gutter) 28px;
    border-top: 1px solid var(--line);
    background: var(--rail);
    font-size: 14px;
    color: var(--muted);
}

.site-footer p {
    max-width: 900px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

/* Shared pieces */

.page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px var(--gutter) 64px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs [aria-current="page"] {
    color: var(--text);
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    color: var(--text) !important;
    font-weight: 600;
    text-decoration: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    border-color: var(--muted);
    color: var(--text);
}

.button-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ground);
}

.button-primary:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: var(--ground);
}

.button-small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 16px;
    background: var(--raised);
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
}

.chip:hover {
    background: var(--line);
    color: var(--text);
}

.tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 10px;
    background: var(--raised);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    vertical-align: 2px;
}

.tag-pick {
    background: rgba(232, 163, 61, 0.18);
    color: var(--accent);
}

.dot {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tone-gone);
}

.dot.tone-still, .tone-bar .tone-still, .mini-tone-bar .tone-still {
    background: var(--tone-still);
}

.dot.tone-changed, .tone-bar .tone-changed, .mini-tone-bar .tone-changed {
    background: var(--tone-changed);
}

.dot.tone-gone, .tone-bar .tone-gone, .mini-tone-bar .tone-gone {
    background: var(--tone-gone);
}

.dot.is-closed, .ring {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--tone-closed);
    border-radius: 50%;
    background: transparent;
}

.lines {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    vertical-align: middle;
}

.line {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.count {
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.tone-summary {
    margin-top: 8px;
}

.tone-bar {
    display: flex;
    gap: 2px;
    height: 12px;
    overflow: hidden;
    border-radius: 4px;
}

.tone-bar span {
    flex-basis: 0;
    min-width: 0;
}

.tone-counts {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 14px;
}

.tone-counts div {
    display: grid;
    grid-template-columns: 3.2em 1fr;
    gap: 10px;
    align-items: center;
}

.tone-counts dt {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.tone-counts dd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--muted);
}

/* Lists of bars */

.bar-rows {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.bar-row {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}

.bar-row > .dot {
    margin-top: 8px;
}

.bar-row-text {
    min-width: 0;
}

.bar-row-text p {
    margin: 0;
}

.bar-row-title {
    font-size: 17px;
    font-weight: 600;
}

.bar-row-title a {
    color: var(--text);
}

.bar-row-title a:hover {
    color: var(--accent-hover);
}

.bar-row-meta {
    font-size: 14px;
    color: var(--muted);
}

.bar-row-badge {
    margin-top: 2px !important;
    font-size: 14px;
    color: var(--text-2);
}

.bar-row-quick {
    display: -webkit-box;
    margin-top: 4px !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    color: var(--faint);
}

.index-group h2 {
    margin-top: 32px;
}

.index-list, .station-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0 32px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.index-list li, .station-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
}

.index-list a, .station-list a {
    color: var(--text);
}

.index-list .count, .station-list .count {
    margin-left: auto;
}

.mini-tone-bar {
    display: flex;
    flex-basis: 100%;
    gap: 1px;
    height: 4px;
    overflow: hidden;
    border-radius: 2px;
}

.mini-tone-bar span {
    flex-basis: 0;
    min-width: 0;
}

.listing-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 24px 48px;
    align-items: start;
}

.listing-stats {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.listing-stats h3 {
    margin-top: 18px;
}

.station-lines {
    margin-top: 10px;
}

.error-links {
    padding-left: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.prose {
    max-width: 760px;
}

.prose li {
    margin-top: 8px;
}

.tone-key {
    padding: 0;
    list-style: none;
}

.tone-key li {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: baseline;
}

.search-places {
    margin-top: 16px;
}

/* The map page */

.map-main {
    padding: 0;
}

.map-shell {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr) 300px;
    grid-template-areas: "list map hood";
    height: max(600px, calc(100vh - 118px));
    border-bottom: 1px solid var(--line);
}

.map-area {
    position: relative;
    grid-area: map;
    min-height: 360px;
    overflow: hidden;
    background: #1d1915;
}

/* MapLibre's own stylesheet makes its container relative; the map fills its area. */
.map-area .map-canvas {
    position: absolute;
    inset: 0;
}

.map-list, .map-hood {
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
    background: var(--rail);
}

.map-list {
    grid-area: list;
    border-right: 1px solid var(--line);
}

.map-hood {
    grid-area: hood;
    border-left: 1px solid var(--line);
}

.tone-filter {
    margin: 0;
    padding: 0;
    border: 0;
}

.tone-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    font-size: 14px;
    cursor: pointer;
}

.tone-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
}

.tone-label {
    flex: 1;
}

.list-tabs {
    display: flex;
    gap: 18px;
    margin-top: 16px;
    border-bottom: 1px solid var(--line);
}

.list-tabs button {
    min-height: 40px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.list-tabs button[aria-selected="true"] {
    border-bottom-color: var(--accent);
    color: var(--text);
}

.list-summary {
    margin: 10px 0 4px;
    font-size: 13px;
    color: var(--faint);
}

.map-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.map-row:hover, .map-row[aria-pressed="true"] {
    background: var(--raised);
}

.map-row .dot, .map-row .ring {
    margin-top: 6px;
}

.map-row-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.map-row-meta {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.map-hood h2 {
    margin-top: 2px;
    font-size: 34px;
}

.map-hood h3 {
    margin-top: 22px;
    font-family: var(--body);
    font-size: 15px;
    font-weight: 600;
}

.map-hood p {
    font-size: 15px;
    color: var(--muted);
}

.map-hood p strong {
    color: var(--text);
    font-weight: 600;
}

.hood-hint {
    margin-top: 18px !important;
    font-size: 14px !important;
    color: var(--faint) !important;
}

.map-tools {
    position: absolute;
    right: 10px;
    top: 92px;
}

.map-tool {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(28, 24, 21, 0.94);
    color: var(--text);
    cursor: pointer;
}

.map-legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    max-width: calc(100% - 160px);
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(28, 24, 21, 0.92);
    font-size: 13px;
}

.map-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-pick {
    width: calc(var(--map-dot-radius-pick) * 2px);
    height: calc(var(--map-dot-radius-pick) * 2px);
    border-radius: 50%;
    background: var(--tone-still);
}

.legend-subway {
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ee352e 0 33%, #00933c 33% 66%, #0039a6 66%);
}

/* The tooltip over a hovered dot lets the pointer through, so the dot under it stays hovered. */
.bar-tip, .bar-tip .maplibregl-popup-content {
    pointer-events: none;
}

.bar-tip .maplibregl-popup-content {
    padding: 7px 11px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.bar-tip .maplibregl-popup-tip {
    display: none;
}

.bar-tip-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.bar-tip-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--muted);
}

/* A touch screen has no hover; a tap goes straight to the card. */
@media (hover: none) {
    .bar-tip {
        display: none;
    }
}

.map-message {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(420px, calc(100% - 32px));
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-2);
    transform: translate(-50%, -50%);
}

.bar-card {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    width: min(340px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.bar-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.bar-card-body {
    padding: 14px 16px 16px;
}

.bar-card h2 {
    margin: 0;
    padding-right: 36px;
    font-size: 28px;
}

.bar-card-close {
    position: absolute;
    right: 8px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 17, 14, 0.85);
    color: var(--text);
    cursor: pointer;
}

.bar-card-quick {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 15px;
    line-height: 1.45;
}

.bar-card .status-panel {
    margin-top: 12px;
    padding: 10px 12px;
}

.bar-card .actions {
    margin-top: 14px;
}

/* MapLibre's controls, in the edition's colors. */

.maplibregl-ctrl-group {
    border: 1px solid var(--line);
    background: rgba(28, 24, 21, 0.94) !important;
}

.maplibregl-ctrl-group button {
    width: 44px !important;
    height: 44px !important;
}

.maplibregl-ctrl-group button + button {
    border-top: 1px solid var(--line) !important;
}

.maplibregl-ctrl-group .maplibregl-ctrl-icon {
    filter: invert(0.92) sepia(0.15);
}

.maplibregl-ctrl-attrib {
    background: rgba(20, 17, 14, 0.8) !important;
    color: var(--faint);
}

.maplibregl-ctrl-attrib a {
    color: var(--muted) !important;
}

.maplibregl-ctrl-attrib-button {
    filter: invert(0.85);
}

/* A bar's page */

.bar-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px 40px;
    align-items: start;
}

.bar-photo figure {
    margin: 0;
}

.bar-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.bar-photo figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: var(--faint);
}

.no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 7 / 5;
    padding: 24px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--faint);
    text-align: center;
}

.former-name {
    color: var(--muted);
}

.deck {
    font-size: 20px;
    font-style: italic;
    color: var(--text-2);
}

.bar-address {
    margin-top: 14px;
    font-size: 16px;
}

.closed-note {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-size: 14px;
    color: var(--muted);
}

.status-panel {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--edge-gone);
    border-radius: 12px;
    background: var(--tint-gone);
}

.status-panel.tone-still {
    border-color: var(--edge-still);
    background: var(--tint-still);
}

.status-panel.tone-changed {
    border-color: var(--edge-changed);
    background: var(--tint-changed);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.bar-card .status-badge {
    font-size: 15px;
}

.status-evidence, .status-history {
    font-size: 15px;
    color: var(--text-2);
}

.status-source {
    font-size: 13px;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bar-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px 48px;
    margin-top: 40px;
}

.bar-review h2 {
    margin-top: 0;
}

.byline {
    font-size: 14px;
    color: var(--muted);
}

.bar-review .lede {
    font-size: 22px;
    line-height: 1.45;
    color: var(--text);
}

.review-text {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-2);
}

.review-text ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.review-text li {
    margin-top: 6px;
}

.tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.tip {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.tip .review-text {
    font-size: 15px;
    line-height: 1.55;
}

.story-deck {
    max-width: 720px;
    font-size: 20px;
    font-style: italic;
    color: var(--text);
}

.cite {
    font-size: 12px;
    line-height: 0;
}

.cite a {
    text-decoration: none;
}

.story-sources-heading {
    margin-top: 24px;
}

.story-sources {
    max-width: 720px;
    margin: 8px 0 0;
    padding-left: 24px;
    font-size: 14px;
    color: var(--muted);
}

.story-sources li {
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.story-sources li:target {
    color: var(--text);
}

.story-note {
    font-size: 13px;
    color: var(--muted);
}

.mini-map {
    position: relative;
    height: 220px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #1d1915;
}

.mini-map-open {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    background: rgba(28, 24, 21, 0.94);
}

.facts {
    margin: 20px 0 0;
}

.facts dt {
    font-family: var(--display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.facts dd {
    margin: 4px 0 16px;
}

.facts dd.station {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-bottom: 4px;
}

.facts dd.station + dt {
    margin-top: 16px;
}

.facts a {
    color: var(--text);
}

.facts .chip {
    color: var(--text);
}

.nearby {
    margin-top: 48px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.nearby-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0 28px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.nearby-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
}

.nearby-name {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.nearby-name a {
    color: var(--text);
    font-weight: 600;
}

.nearby-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-2);
}

/* Narrower screens */

@media (max-width: 1100px) {
    .map-shell {
        grid-template-columns: 320px minmax(0, 1fr);
        grid-template-areas: "list map" "hood hood";
        grid-template-rows: max(560px, calc(100vh - 118px)) auto;
        height: auto;
    }

    .map-hood {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .bar-body {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 16px;
    }

    .site-header {
        gap: 4px 16px;
    }

    .site-search {
        flex-basis: 100%;
        max-width: none;
        margin-left: 0;
    }

    .brand-name {
        font-size: 22px;
    }

    .site-nav {
        flex-wrap: nowrap;
        gap: 0 18px;
        max-width: 100%;
        overflow-x: auto;
    }

    .site-nav a {
        flex: none;
    }

    .edition-about {
        display: none;
    }

    .map-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "map" "list" "hood";
        grid-template-rows: 62vh auto auto;
    }

    .map-list {
        border-right: 0;
    }

    .map-list, .map-hood {
        overflow: visible;
    }

    .map-legend {
        display: none;
    }

    .bar-card {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: 10px;
        width: auto;
        max-height: 58%;
    }

    .bar-card img {
        height: 84px;
    }

    .bar-card h2 {
        font-size: 24px;
    }

    .bar-card-quick {
        -webkit-line-clamp: 2;
    }

    .bar-hero, .bar-body, .listing-head {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
