/* Generated by render/render.mjs from render/styles/district.css. Edit the source, then re-run. */
/* ===== district page ===== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--mut); margin-bottom: clamp(14px, 2vw, 26px); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--brick); } .crumbs i { font-style: normal; color: var(--brick); }
.dhero { padding-block: clamp(18px, 2.4vw, 32px) clamp(30px, 3.8vw, 56px); overflow-x: clip; }
.dhero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(26px, 4.4vw, 72px); align-items: center; }
.dhero .eye { color: var(--brick); }
.dhero h1 { font-size: calc(var(--d-k) * clamp(3.1rem, 8.2vw, 7.8rem)); margin-top: 12px; }
.dhero .pen { position: relative; display: inline-block; font-family: var(--accent); color: var(--brick); font-size: clamp(1.6rem, 0.9rem + 2.5vw, 3.1rem); line-height: 1.1; margin: 0.2em 0 0 0.06em; }
.dhero .pen svg { position: absolute; left: 0; bottom: -0.16em; width: 58%; height: 0.2em; color: var(--brick); opacity: 0.85; }
.dhero .lede { margin-top: clamp(20px, 2.4vw, 30px); }
.dhero .tagline { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.08rem; }
.dhero .cta { margin-top: 24px; }
.dphoto { position: relative; }
.dphoto img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.dphoto .sticker { position: absolute; left: clamp(-26px, -2vw, -12px); bottom: clamp(-26px, -2vw, -12px); width: clamp(84px, 9vw, 128px); height: clamp(84px, 9vw, 128px); transform: rotate(-8deg); }
.dphoto .hand { position: absolute; right: 16px; top: 14px; color: var(--paper); text-shadow: 0 1px 12px rgba(14, 23, 48, 0.75); transform: rotate(4deg); font-size: 1.6rem; }
.dfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; border-top: 1px solid var(--ink); margin-top: clamp(30px, 4vw, 56px); }
.dfacts div { padding-top: 16px; min-width: 0; }
.dfacts dt { color: var(--mut); }
.dfacts dd { margin-top: 6px; font-family: var(--display); font-weight: var(--d-w); letter-spacing: -0.02em; font-size: calc(var(--d-k) * clamp(1.2rem, 0.9rem + 0.9vw, 1.62rem)); line-height: 1.12; }
.dfacts dd small { display: block; margin-top: 4px; font-family: var(--body); font-weight: 400; letter-spacing: 0; font-size: 0.88rem; color: var(--mut); }
.live { display: inline-flex; align-items: center; gap: 9px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex: none; }
.live.shut i { background: var(--brick); }
@media (prefers-reduced-motion: no-preference) { .live:not(.shut) i { animation: blink 2.2s ease-in-out infinite; } }
@keyframes blink { 50% { opacity: 0.35; } }
@media (max-width: 860px) { .dhero-grid { grid-template-columns: minmax(0, 1fr); } .dphoto { order: -1; margin-left: 14px; } .dfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }

/* directory + street map */
.dir { background: var(--mist); }
.dir-grid { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: clamp(18px, 3vw, 44px); align-items: start; }
.dir-map { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); min-width: 0; }
.dir-map .sheet { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.smap { position: relative; aspect-ratio: 780 / 476; width: min(100%, calc((100vh - 240px - var(--spot-h)) * 780 / 476)); min-width: min(100%, 380px); margin-inline: auto; }
.smap > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.smap text { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--mut); }
.smap text.wal { fill: var(--ink); font-weight: 600; }
.smap text.sm { font-size: 13px; }
.smap text.sq { font-size: 13.5px; fill: var(--ink); }
.smap text.big { font-family: var(--hand); font-style: normal; font-size: 21px; fill: var(--brick); }
.smap text.mk { font-family: var(--body); font-style: normal; font-weight: 700; font-size: 11.5px; fill: var(--ink); }
.k0 { --pc: var(--blue); } .k1 { --pc: var(--brass); } .k2 { --pc: var(--brick); } .k3 { --pc: var(--sage); } .k4 { --pc: var(--ink); } .k5 { --pc: var(--sky-2); }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 1.5px var(--ink); flex: none; }
.spin { position: absolute; width: clamp(12px, 2.6cqi, 19px); aspect-ratio: 1; padding: 0; translate: -50% -50%; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--pc); cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.smap { container-type: inline-size; }
.spin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.spin:hover, .spin.on { transform: scale(1.7); z-index: 3; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--brick); }
.spin.off { opacity: 0.16; pointer-events: none; }
.stip { position: absolute; z-index: 5; translate: -50% calc(-100% - 15px); background: var(--ink); color: var(--paper); padding: 7px 12px 8px; border-radius: 6px; font-size: 0.86rem; font-weight: 600; line-height: 1.25; white-space: nowrap; pointer-events: none; }
.stip small { display: block; font-weight: 400; opacity: 0.8; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 8px 4px; font-size: 0.88rem; color: var(--mut); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .mkr { display: grid; }
.chips .dot { width: 9px; height: 9px; }
.blk + .blk { margin-top: 26px; }
.blk h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); }
.blk h3 b { font-size: calc(var(--d-k) * 1.5rem); }
.blk h3 span { font-family: var(--serif); font-style: italic; color: var(--mut); font-size: 1rem; }
.srow { border-bottom: 1px solid var(--line); }
.srow > button { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto 12px; gap: 4px 14px; align-items: center; width: 100%; min-height: 62px; padding: 11px 4px 11px 2px; background: none; border: 0; text-align: left; cursor: pointer; }
.srow .nm { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.srow .nm b { font-size: calc(var(--d-k) * 1.16rem); letter-spacing: -0.02em; }
.srow .nm em { font-style: normal; color: var(--brick); font-size: 0.62rem; }
.srow .nm small { flex-basis: 100%; font-size: 0.88rem; color: var(--mut); }
.srow .ct { color: var(--mut); font-size: 0.62rem; }
.srow .chev { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.srow.open .chev { transform: rotate(180deg); }
.srow > button:hover .nm b, .srow.on .nm b { color: var(--brick); }
.sbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.srow.open .sbody { grid-template-rows: 1fr; }
.sbody > div { min-height: 0; overflow: hidden; }
.sbody-in { padding: 0 8px 18px 27px; display: grid; gap: 12px; }
.sbody-in p { font-size: 0.96rem; color: var(--mut); max-width: 44em; }
.slinks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.slinks .more { font-size: 0.92rem; color: var(--ink); }
.dir-none { padding: 24px 0; color: var(--mut); }
@media (max-width: 940px) { .dir-grid { grid-template-columns: minmax(0, 1fr); } .dir-map { position: static; order: -1; } .srow .ct { display: none; } .srow > button { grid-template-columns: 11px minmax(0, 1fr) 12px; } }

.dir-map { --spot-h: clamp(300px, 38vh, 460px); }
.spot { margin-top: 12px; height: var(--spot-h); background: var(--paper); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); padding: 12px; display: grid; grid-template-columns: 328px minmax(0, 1fr); gap: 0 18px; }
/* the frame holds the shop's Instagram on the live site; the drawing underneath is what shows whenever Instagram can't */
.spot-frame { position: relative; min-height: 0; border-radius: 6px; background: var(--mist); overflow: hidden; display: grid; place-items: center; }
.spot-frame > .ico { width: 44%; height: 44%; margin-bottom: 8%; }
.spot-frame .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px 12px; text-align: center; font-size: 0.8rem; line-height: 1.35; color: var(--mut); }
.spot-frame .cap b { display: block; color: var(--ink); font-weight: 600; font-size: 0.86rem; }
.ig { position: absolute; inset: 0; overflow: auto; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.ig.ready { opacity: 1; pointer-events: auto; }
.ig .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; border: 0 !important; box-shadow: none !important; }
.spot-side { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 6px 6px 4px 0; overflow: hidden; }
.spot-side .lab { color: var(--brick); }
.spot-side h3 { font-size: calc(var(--d-k) * 1.5rem); letter-spacing: -0.02em; text-wrap: balance; }
.spot-side .live { font-size: 0.92rem; font-weight: 600; align-items: baseline; }
.spot-side .live i { transform: translateY(-1px); }
.spot-side .live small { display: block; font-weight: 400; color: var(--mut); font-size: 0.86rem; }
.spot-d { min-height: 0; font-size: 0.93rem; color: var(--mut); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.spot .slinks { margin-top: auto; padding-top: 6px; gap: 6px 18px; }
.spot.swap .spot-side > *, .spot.swap .spot-frame > .ico { animation: swap 0.35s var(--ease) backwards; }
@media (prefers-reduced-motion: reduce) { .spot.swap .spot-side > *, .spot.swap .spot-frame > .ico { animation: none; } }
/* on a wide screen a shop opens in the panel beside the list; on a narrow one it opens in place */
@media (min-width: 941px) { .srow .sbody, .srow .chev { display: none; } .srow > button { grid-template-columns: 11px minmax(0, 1fr) auto; } }
@media (max-width: 940px) { .spot { display: none; } .igrow { position: relative; min-height: 0; } .igrow .ig { position: static; opacity: 1; pointer-events: auto; } }
/* a narrower or shorter window keeps the compact panel: drawing tile and details, no Instagram frame */
@media (max-width: 1240px), (max-height: 780px) {
  .dir-map { --spot-h: auto; }
  .spot { height: auto; grid-template-columns: 96px minmax(0, 1fr); padding: 14px 16px 14px 14px; }
  .spot-frame { width: 96px; height: 96px; } .spot-frame > .ico { width: 70%; height: 70%; margin: 0; } .spot-frame .cap, .spot-frame .ig { display: none; }
  .spot-d { -webkit-line-clamp: 2; }
  .smap { width: min(100%, calc((100vh - 470px) * 780 / 476)) !important; }
}

/* this week + hours */
.hours { align-self: start; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2vw, 26px); }
.hours .live { font-family: var(--display); font-weight: var(--d-w); letter-spacing: -0.02em; font-size: calc(var(--d-k) * 1.36rem); line-height: 1.15; }
.hours .live + p { margin-top: 6px; color: var(--mut); font-size: 0.95rem; }
.hours dl { margin: 16px 0 0; border-top: 1px solid var(--ink); }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours dl div.now { font-weight: 700; }
.hours dl div.now dt::after { content: " · today"; color: var(--brick); font-weight: 600; }
.hours .fine { margin-top: 10px; }
.evs.dated li a { grid-template-columns: minmax(0, 9.4em) minmax(0, 1fr) auto; }
.evs.dated time small { display: block; font-weight: 400; color: var(--mut); font-size: 0.86rem; }
@media (max-width: 620px) { .evs.dated li a { grid-template-columns: minmax(0, 1fr) auto; } .evs.dated time { grid-column: 1; } .evs.dated div { grid-column: 1; } .evs.dated .go { grid-row: 1 / span 2; grid-column: 2; } }

/* insider guide */
.insider { background: var(--paper); }
.insider .tip { background: var(--stone); }
.dweek { background: var(--stone); }
.dweek .hours { background: var(--paper); border-color: transparent; }
.dweek .evs li a { border-bottom-color: color-mix(in srgb, var(--ink) 16%, transparent); }
.ins-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(22px, 4vw, 64px); align-items: start; }
.ins-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.ins-col { display: flex; flex-direction: column; min-width: 0; }
.ins-text section { margin-bottom: 26px; }
.skyline { margin: auto 0 0; padding-top: 6px; }
.skyline svg { display: block; width: 100%; max-width: 510px; height: auto; overflow: visible; }
.skyline text { font-family: var(--hand); font-size: 21px; fill: var(--brick); }
.skyline text.sign { font-family: var(--body); font-weight: 800; font-size: 10.5px; letter-spacing: 0.06em; fill: var(--brick); }
.ins-text h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.36rem; color: var(--brick); margin-bottom: 8px; }
.ins-text p { color: var(--ink); opacity: 0.86; line-height: 1.6; } .ins-text p + p { margin-top: 10px; }
.sqplan { margin: 0 0 22px; }
.sqplan svg { display: block; width: min(100%, 360px); height: auto; overflow: visible; }
.sqplan text { font-family: var(--serif); font-style: italic; font-size: 14px; fill: var(--mut); }
.sqplan text.big { font-family: var(--hand); font-style: normal; font-size: 23px; fill: var(--brick); }
.tip { background: var(--paper); border-radius: var(--r); padding: 24px 24px 26px; }
.tip + .tip { margin-top: 14px; }
.tip .hand { display: block; font-size: 1.7rem; transform: rotate(-3deg); transform-origin: left; margin-bottom: 10px; }
.tip p { line-height: 1.55; }
.pull { font-family: var(--display); font-weight: var(--d-w); letter-spacing: -0.03em; font-size: calc(var(--d-k) * clamp(1.5rem, 1rem + 1.6vw, 2.2rem)); line-height: 1.12; margin-bottom: 20px; text-wrap: balance; }
.pull em { font-family: var(--accent); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--brick); font-size: 0.92em; }
@media (max-width: 940px) { .ins-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 620px) { .ins-text { grid-template-columns: minmax(0, 1fr); } .skyline { margin-top: 4px; } }

/* eat, drink, stay */
.near-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(22px, 4vw, 64px); align-items: start; }
.nlist { border-top: 1px solid var(--ink); }
.nlist a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.nlist a > span:first-child { display: grid; gap: 1px; min-width: 0; }
.nlist b { font-weight: 600; } .nlist small { color: var(--mut); font-size: 0.9rem; } .nlist i { font-style: normal; color: var(--mut); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.nlist a:hover b { color: var(--brick); }
.nlist-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.nlist-h h3 { font-size: calc(var(--d-k) * 1.7rem); }
.hotels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); margin-top: clamp(28px, 3.6vw, 48px); }
.hotels li { position: relative; border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hotels li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--brick); }
.hotels .lab { color: var(--brick); } .hotels h3 { font-size: calc(var(--d-k) * 1.22rem); letter-spacing: -0.02em; text-wrap: balance; }
.hotels p { font-size: 0.92rem; color: var(--mut); line-height: 1.45; } .hotels .rate { margin-top: auto; } .hotels small { font-size: 0.86rem; color: var(--ink); font-weight: 600; }
@media (max-width: 1040px) { .hotels { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; } } @media (max-width: 860px) { .near-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 620px) { .hotels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rate { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; white-space: nowrap; }
.rate b { font-weight: 600; font-size: 0.9rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.stars { position: relative; display: inline-block; line-height: 0; }
.stars span { display: flex; gap: 1px; } .stars svg { width: 15px; height: 15px; flex: none; overflow: visible; }
.stars .s0 { opacity: 0.2; filter: grayscale(1); } .stars .s1 { position: absolute; left: 0; top: 0; overflow: hidden; }
.nlist i { display: inline-flex; align-items: center; gap: 14px; } .nlist i em { font-style: normal; min-width: 2.6em; text-align: right; }
.rate-note { margin-top: 12px; }
@media (max-width: 620px) { .nlist a { grid-template-columns: minmax(0, 1fr) auto; } .nlist i { grid-column: 1; grid-row: 2; } .nlist .go { grid-row: 1 / span 2; grid-column: 2; } .nlist i em { min-width: 0; } }

/* getting here */
.getting { background: var(--sky); padding-bottom: 0; overflow: hidden; }
.get-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(22px, 4vw, 64px); align-items: start; }
.glist { border-top: 1px solid var(--ink); }
.glist li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.glist li > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; } .glist b { font-weight: 600; } .glist small { font-size: 0.9rem; opacity: 0.8; }
.glist i { font-style: normal; font-weight: 600; font-size: 0.92rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mkr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); font-weight: 700; font-size: 0.82rem; }
.strip-art { display: block; width: 100%; height: clamp(150px, 20vw, 320px); margin-top: clamp(22px, 3vw, 40px); margin-bottom: -2px; }
.strip-art text { font-family: var(--hand); font-size: 23px; fill: var(--brick); }
@media (max-width: 760px) { .strip-art text { display: none; } }
.poster.block.small .art:has(.spread) { height: 50%; }
.poster.block.small .art .spread { inset: 18px 18px 2px; }
@media (max-width: 860px) { .get-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 520px) { .glist li { grid-template-columns: 30px minmax(0, 1fr); } .glist i { grid-column: 2; } }

/* keep exploring */
.posters.row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 22vw, 310px); }
.gcards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(12px, 1.4vw, 20px); }
.sub-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: clamp(30px, 4vw, 52px) 0 16px; }
.sub-h h3 { font-size: calc(var(--d-k) * 1.7rem); }
@media (max-width: 1040px) { .posters.row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 760px) { .gcards.three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .posters.row4 { grid-template-columns: minmax(0, 1fr); } }
.mail { border-top: 3px solid var(--paper); }
/* ===== added for the other thirteen districts ===== */
/* a district with no photo wears its drawing on a coloured block */
.dphoto.block { aspect-ratio: 5 / 4; border-radius: var(--r); background: var(--pc-bg); color: var(--pc-fg); overflow: hidden; }
.dphoto.block .art { position: absolute; inset: 0; display: grid; place-items: center; }
.dphoto.block .art > .ico { width: 44%; height: auto; }
.dphoto.block .spread { position: absolute; inset: 12% 10% 10%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 8% 10%; }
.dphoto.block .spread span { display: grid; place-items: center; min-height: 0; transform: rotate(var(--r)); }
.dphoto.block .spread .ico { width: 100%; height: 100%; }
.dphoto.block .hand { color: var(--pc-lab); text-shadow: none; left: 20px; right: auto; top: 14px; transform: rotate(-4deg); }

/* insider guide: the district's drawing on its colour block */
.dart { position: relative; margin: 0 0 22px; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--pc-bg); display: grid; place-items: center; }
.dart .art { display: block; width: 42%; }
.dart .art .ico { display: block; width: 100%; height: auto; }
.dart figcaption { position: absolute; left: 22px; bottom: 14px; font-size: 1.8rem; color: var(--pc-lab); transform: rotate(-4deg); transform-origin: left; }
@media (max-width: 940px) { .dart { aspect-ratio: 16 / 8; } .dart .art { width: 32%; } }

/* the quiet street map */
.smap.leaf { border-radius: var(--r); overflow: hidden; background: #ECECE8; }
.lmap { position: absolute; inset: 0; isolation: isolate; background: #ECECE8; font: inherit; }
.leaf .stip { z-index: 1001; }
.leaf .spin { left: 0; top: 0; pointer-events: auto; }
.leaf .leaflet-tile-pane { filter: saturate(0.5) sepia(0.12) brightness(1.02); }
.leaf .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, 0.82); }
.leaf .leaflet-bar a { color: var(--ink); }
.nomap { padding: 24px; color: var(--mut); }

.near-grid.one { grid-template-columns: minmax(0, 1fr); }
.get-intro { max-width: 72ch; margin: -4px 0 24px; }
.get-intro p { line-height: 1.6; opacity: 0.88; }
.get-intro p + p { margin-top: 10px; }
.dhero h1.long { font-size: calc(var(--d-k) * clamp(2.7rem, 6.2vw, 5.9rem)); }
.c-paper { --pc-bg: var(--mist); --pc-fg: var(--ink); --pc-lab: var(--blue); }
.smap.leaf { width: 100% !important; min-width: 0; aspect-ratio: auto; height: clamp(260px, calc(100vh - 250px - var(--spot-h)), 460px); }
@media (max-width: 940px) { .smap.leaf { height: clamp(280px, 62vw, 420px); } }
.live.unk i { background: var(--line); animation: none !important; }

/* landmarks on the district street map: floating drawings with a hover card */
.lmk { position: absolute; left: 0; top: 0; translate: -50% -50%; display: block; width: 58px; height: 58px; transition: transform 0.15s; }
.lmk.wide { width: 120px; height: 62px; }
.lmk .ico { width: 100%; height: 100%; filter: drop-shadow(0 3px 3px rgba(20, 33, 63, 0.28)); }
.lmk-at:hover .lmk { transform: scale(1.1) rotate(-3deg); }
.leaflet-tooltip.mtip-wrap { padding: 0; background: var(--paper); border: 0; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -14px rgba(20, 33, 63, 0.45); color: var(--ink); white-space: normal; }
.leaflet-tooltip-top.mtip-wrap::before { border-top-color: var(--paper); }
.mtip { width: max-content; max-width: 280px; padding: 12px 16px; font-family: var(--body); } .mtip > span { display: grid; gap: 3px; }
.mtip .lab { color: var(--brick); font-size: 0.68rem; } .mtip b { font-size: 1.08rem; line-height: 1.15; } .mtip small { color: var(--mut); font-size: 0.8rem; line-height: 1.4; }

/* restaurant call-outs: Philly institutions get a drawn stamp and a warm tint; Michelin picks a tag */
.etag { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 8px; border-radius: 99px; font-family: var(--body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.etag.ic { background: var(--brick); color: var(--paper); }
.etag.m-star { background: var(--ink); color: var(--brass); } .etag.m-bib { background: var(--paper); color: var(--brick); box-shadow: inset 0 0 0 1.5px var(--brick); } .etag.m-recommended { background: var(--stone); color: var(--ink); }
.nlist li.ic a { background: color-mix(in srgb, var(--brass) 14%, var(--paper)); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; border-bottom-color: transparent; }
.nlist li.ic + li.ic { margin-top: 6px; }
.esticker { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: -6px 8px -6px 0; vertical-align: middle; rotate: -6deg; }
.esticker .ico { width: 100%; height: 100%; }
.hotels.eat li.ic { background: color-mix(in srgb, var(--brass) 14%, var(--paper)); border-top-color: var(--brick); padding: 18px 16px 16px; border-radius: 0 0 14px 14px; }
.hotels.eat li.ic::before { left: 16px; }
.estamp { position: absolute; top: -26px; right: 8px; width: 58px; height: 58px; padding: 6px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink), 0 6px 14px -6px rgba(20, 33, 63, 0.35); rotate: 8deg; transition: rotate 0.2s; }
.estamp .ico { width: 100%; height: 100%; } .hotels.eat li.ic:hover .estamp { rotate: -4deg; }
.hotels.eat li.ic h3 { padding-right: 52px; }
.enote { color: var(--brick); font-size: 1.15rem; line-height: 1.1; margin-top: -4px; }
.etags .etag { margin-left: 0; }

/* Editor's pick: earned, gold star, warm tint. Featured: paid, navy, always labeled, sits first in its group. */
.srow .mark { width: 15px; height: 15px; display: grid; place-items: center; margin-left: -2px; }
.srow .mark svg { width: 15px; height: 15px; fill: var(--brass); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.srow.pick, .srow.paid { border-bottom-color: transparent; margin: 6px 0; border-radius: var(--r); }
.srow.pick { background: color-mix(in srgb, var(--brass) 13%, var(--paper)); box-shadow: inset 3px 0 0 var(--brass); }
.srow.pick > button, .srow.paid > button { padding-left: 14px; padding-right: 12px; }
.srow.pick .nm em.tag-pick { color: var(--ink); background: var(--brass); padding: 3px 8px 2px; border-radius: 999px; font-size: 0.6rem; }
.srow.paid { background: var(--ink); color: var(--paper); box-shadow: 0 14px 26px -20px rgba(20, 33, 63, 0.9); }
.srow.paid .nm b { color: var(--paper); font-size: calc(var(--d-k) * 1.3rem); }
.srow.paid .nm small, .srow.paid .ct { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.srow.paid .nm em.tag-paid { color: var(--brass); border: 1px solid color-mix(in srgb, var(--brass) 70%, transparent); padding: 3px 8px 2px; border-radius: 999px; font-size: 0.6rem; }
.srow.paid .nm em.tag-paid span { color: color-mix(in srgb, var(--paper) 60%, transparent); text-transform: none; letter-spacing: 0; }
.srow.paid .mark svg { fill: var(--brass); stroke: var(--brass); }
.srow.paid > button:hover .nm b, .srow.paid.on .nm b { color: var(--brass); }
.srow.paid .sbody-in, .srow.paid .sbody-in p { color: var(--paper); }
.srow.paid .sbody-in .more { color: var(--brass); }
.rate .rsrc { font-style: normal; font-size: 0.74rem; color: var(--mut); font-weight: 500; }

/* Editor's pick restaurant: a wide card with a photo, framed by a thin gold border with a small label set into it.
   Quiet on purpose; paid "Featured" placements are navy, so the two never look alike. */
.hotels.eat { grid-auto-flow: dense; }
.hotels.eat li.epick { grid-column: span 2; grid-row: span 2; flex-direction: column; gap: 0; padding: 0; border: 1.5px solid var(--brass); border-radius: 14px; background: color-mix(in srgb, var(--brass) 12%, var(--paper)); overflow: visible; margin-top: 6px; padding: 8px; }
.hotels.eat li.epick::before { display: none; }
.pick-legend { position: absolute; z-index: 2; top: -10px; left: 50%; translate: -50% 0; padding: 2px 10px; background: color-mix(in srgb, var(--brass) 18%, #fff); border: 1.5px solid var(--brass); border-radius: 999px; color: var(--ink) !important; font: 600 0.58rem/14px var(--body); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.pick-legend::before, .pick-legend::after { content: "✦"; color: var(--brass); margin: 0 5px; font-size: 0.5rem; }
.hotels.eat .eph { margin: 0; position: relative; flex: 1 1 auto; min-height: 260px; border-radius: 8px; overflow: hidden; background: var(--paper); }
.hotels.eat .eph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hotels.eat .eph figcaption { position: absolute; right: 10px; bottom: 10px; font-size: 0.68rem; color: #fff; background: rgba(14, 23, 48, 0.6); padding: 2px 8px; border-radius: 999px; }
.hotels.eat .eph.drawn { display: grid; place-items: center; padding: 24px; }
.hotels.eat .eph.drawn svg { width: 72%; max-width: 300px; height: auto; rotate: -5deg; }
.hotels.eat .epb { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 8px; }
.hotels.eat li.epick h3 { font-size: calc(var(--d-k) * 1.55rem); }
.ep-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px; }
.ep-head h3 { flex: 0 1 auto; min-width: 0; text-wrap: wrap; } .ep-head .epick-why { flex: 0 0 auto; white-space: nowrap; text-align: right; }
@media (max-width: 620px) { .ep-head { flex-wrap: wrap; } }
.epick-why { font-size: 1.05rem; color: var(--brick); rotate: -4deg; }
.epick-why:empty { display: none; }
@media (max-width: 620px) { .hotels.eat li.epick { grid-column: auto; grid-row: auto; } .hotels.eat .eph { min-height: 200px; } }
/* Editor's pick rows in the district lists: the same thin gold frame and small label */
.srow.pick { position: relative; background: color-mix(in srgb, var(--brass) 10%, var(--paper)); border: 1.5px solid var(--brass); box-shadow: none; margin: 16px 0 12px; overflow: visible; }
.srow.pick::before { content: "✦  Editor's pick  ✦"; white-space: pre; position: absolute; z-index: 1; top: -10px; left: 14px; padding: 2px 10px; background: color-mix(in srgb, var(--brass) 18%, #fff); border: 1.5px solid var(--brass); border-radius: 999px; font: 600 0.56rem/14px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.srow.pick > button { padding-top: 16px; }
.srow.pick .nm em.tag-pick { display: none; }
