/* Eat & Drink (/eat/, /eat/find/, place pages, Savvy Picks guides). Mobile first. Prefixes: eat- shared, ef- full
   list, ep- place page, eg- guide; this file joins the shared site.css. Filter controls reuse .hh-sel / .hh-tog. */
.ph.eat-hero { padding-bottom: var(--sp-8); background: radial-gradient(80% 70% at 90% 0%, rgba(239, 161, 58, .2), transparent 60%); }
.ph.eat-hero h1 { max-width: 14ch; }
.eat-sec, .ef-sec, .ep-sec, .eg-sec { padding-top: clamp(20px, 4vw, 44px); }
.eat-h2 { font-size: var(--h2-sec); margin: var(--sp-l) 0 var(--sp-16); }

/* Search box (hub) */
.eat-search { display: flex; gap: var(--sp-8); max-width: 34em; margin-top: var(--sp-8); }
.eat-search input { flex: 1; min-width: 0; min-height: 52px; padding: 0 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fffaf2; font: 500 1rem var(--sans); color: var(--ink);  }
.eat-search input:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.eat-search .btn { min-height: 52px; }

/* Trackers: three doors on one ruled line, no colour blocks (design pass 2026-11-12) */
.eat-trackers { list-style: none; margin: 0; padding: 0; display: grid; border-block: 1px solid var(--line); }
.eat-track + .eat-track { border-top: 1px solid var(--line); }
.eat-track a { position: relative; display: grid; align-content: start; gap: var(--sp-8); height: 100%; padding: var(--sp-16) var(--sp-48) var(--sp-16) 0; text-decoration: none; color: var(--ink); }
.eat-track-h { font: 400 1.5rem/1.1 var(--serif); transition: color .2s; }
.eat-track-s { font-size: .9rem; line-height: 1.45; color: var(--ink-2); max-width: 34em; }
.eat-track-go { position: absolute; right: 4px; top: 18px; font-size: 1.3rem; line-height: 1.2; color: var(--tile); transition: transform .25s var(--ease); }
.eat-track a:hover .eat-track-h { color: var(--tile); }
.eat-track a:hover .eat-track-go { transform: translateX(4px); }

/* Savvy Picks: a photo grid. Each guide shows one of its own picks (the venue's photo), title and count under it.
   A tile whose photo is missing or fails to load falls back to a ruled text row. */
.eat-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-24) var(--sp-16); }
.eat-guide a { display: grid; grid-template-columns: 1fr auto; align-content: start; align-items: baseline; gap: var(--sp-4) var(--sp-8); height: 100%; text-decoration: none; color: var(--ink); }
.eat-guide-ph { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 3; margin-bottom: var(--sp-8); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.eat-guide-ph img, .eat-guide-ph img.fit { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
a:hover > .eat-guide-ph img { transform: scale(1.045); }
.eat-guide-h { font: 600 1rem/1.25 var(--sans); transition: color .2s; }
.eat-guide a:hover .eat-guide-h { color: var(--tile); }
.eat-guide-n { font: 600 .82rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.eat-guide-s { grid-column: 1 / -1; display: none; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.eat-guide-c { grid-column: 1 / -1; font-size: .75rem; line-height: 1.35; color: var(--ink-3); }
.eat-h2 a { color: inherit; text-decoration: none; }
.eat-h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* /eat/guides/: every card keeps its one line */
.eat-guides.is-index .eat-guide-s { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.eat-guide.is-lead:first-child { grid-column: 1 / -1; }
/* phones: the first guide is full width and the rest pair up, so an even total leaves the last alone: it goes full width too */
@media (max-width: 699px) { .eat-guide:last-child:nth-child(even) { grid-column: 1 / -1; } }
.eat-guide.is-lead:first-child .eat-guide-ph { aspect-ratio: 16 / 10; }
.eat-guide.is-lead:first-child .eat-guide-h { font: 400 1.5rem/1.1 var(--serif); }
.eat-guide.is-lead:first-child .eat-guide-s { display: block; }
.eat-guide a:not(:has(.eat-guide-ph)) { padding-top: var(--sp-12); border-top: 1px solid var(--line); }
.eat-guide a:not(:has(.eat-guide-ph)) .eat-guide-s { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.eat-draft-tag { font: 600 .75rem/1 var(--sans); padding: .3em .55em; border-radius: var(--r-tag); background: var(--ink); color: #fffaf2; letter-spacing: .06em; text-transform: uppercase; vertical-align: .2em; }

/* Kinds: a ledger. Rows on a phone, one ruled line of seven on a wide screen */
.eat-tiles { list-style: none; margin: 0; padding: 0; display: grid; column-gap: var(--sp-48); border-top: 1px solid var(--line); }
.eat-tile a { display: grid; grid-template-columns: 3.6rem 1fr; align-items: baseline; gap: 0 var(--sp-8); height: 100%; padding: var(--sp-12) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.eat-tile-n { grid-row: 1 / span 2; font: 400 1.5rem/1 var(--serif); color: var(--ink); }
.eat-tile-h { font: 600 1rem/1.2 var(--sans); transition: color .2s; }
.eat-tile a:hover .eat-tile-h { color: var(--tile); }
.eat-tile-s { grid-column: 2; font-size: .82rem; line-height: 1.35; color: var(--ink-3); }

/* Town chips */
.eat-towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.eat-towns a { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0 1.1em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink); text-decoration: none; font: 600 .9rem var(--sans); }
.eat-towns a:hover { border-color: var(--ink-3); }
.eat-towns span { font-weight: 500; color: var(--ink-3); }
.eat-all { margin: var(--sp-32) 0 0; }

/* How it works, credits */
.eat-how { margin-top: var(--sp-xl); max-width: 46em; padding-top: var(--sp-24); border-top: 1px solid var(--line); }
.eat-how .h3 { margin-top: 0; font: 600 1rem/1.3 var(--sans); }
.eat-how p { color: var(--ink-2); font-size: .9rem; line-height: 1.55; max-width: 56ch; }
.eg-related { margin-top: var(--sp-24); }
.eg-related .h3 { margin: 0 0 var(--sp-8); font: 600 1rem/1.3 var(--sans); }
.eg-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-16); font-size: .9rem; }
.eat-credits { margin: var(--sp-24) 0 0; font-size: .82rem; color: var(--ink-2); max-width: 50em; }
.eat-credits a { color: inherit; }
.fine-print.eat-credits { color: var(--ink-2); } /* sits on the darker paper band */

/* Badges */
.eat-b { display: inline-flex; align-items: center; font: 600 .75rem/1 var(--sans); letter-spacing: .03em; padding: var(--sp-8) var(--sp-8); border-radius: var(--r-tag); text-decoration: none; white-space: nowrap; }
.eat-b-hh { background: #fde9c7; color: #7a4600; }
.eat-b-hh::before { content: ""; width: 7px; height: 7px; margin-right: var(--sp-8); border-radius: 50%; background: var(--sun); }
a.eat-b-hh:hover { background: #fbdcab; }
.eat-b-soon { background: #dcebe8; color: var(--sea-deep); }

/* ---------- the full list ---------- */
.ef-bar { margin-bottom: var(--sp-8); }
.ef-bar-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); padding: var(--sp-8) 0; }
.ef-q { grid-column: 1 / -1; display: block; }
.ef-q input { width: 100%; min-height: 46px; padding: 0 1.1em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fffaf2; font: 500 1rem var(--sans); color: var(--ink); }
.ef-q input:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.ef-bar .hh-sel { grid-column: auto; min-width: 0; }
.ef-bar .hh-sel select { min-width: 0; width: 100%; text-overflow: ellipsis; padding-right: 1.9em; } /* room for the arrow only, so "Kind Everything" fits a phone's half width */
.ef-bar .hh-sel #ef-type { padding-left: 3.6em; } /* the shorter label */
.ef-bar .ef-cu { grid-column: 1 / -1; }
.ef-bar .ef-cu select { padding-left: 5.4em; } /* the longer label */
/* Good for toggles and Map: one row that swipes on a phone, wraps under a mouse */
.ef-ft-row { grid-column: 1 / -1; display: flex; gap: var(--sp-8); overflow-x: auto; scrollbar-width: none; }
.ef-ft-row::-webkit-scrollbar { display: none; }
.ef-ft-row > * { flex: none; }
@media (hover: hover) and (pointer: fine) { .ef-ft-row { flex-wrap: wrap; overflow-x: visible; } }
.ef-maptog::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: var(--sp-8); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; vertical-align: -1px; }
.ef-countrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8) var(--sp-16); margin: var(--sp-4) 0 var(--sp-12); }
.ef-count { margin: 0; font: 500 1rem var(--sans); color: var(--ink-3); }
.ef-count:focus { outline: none; }
/* list narrowed to the map view: the way back */
.ef-areaall { font: 600 .9rem/1 var(--sans); min-height: 40px; padding: .6em 1.05em; border-radius: var(--r-ctl); border: 1.5px solid var(--sea); background: #fffaf2; color: var(--sea); cursor: pointer; transition: background .2s, color .2s; }
.ef-areaall:hover { background: var(--sea); color: #fff; }
.ef-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-12); }
/* Before js/eat.js takes over, only the first 60 rows (its PAGE) render: drawing all 700 and then hiding them shifted the
   page and blocked it for over a second (Lighthouse 2026-11-10). Without JavaScript the noscript style shows them all. The filter bar
   is in the page from the start for the same reason (it used to appear late and push the list down); noscript hides it. */
.ef-list:not(.ready) > .ef-row:nth-child(n+61) { display: none; }
/* SBR-217: a #p-... link to a row past the first 60 must have something to land on before the script runs */
.ef-list:not(.ready) > .ef-row:nth-child(n+61):target { display: flex; }
/* A place card: kind (colour dot by group) > name > town and street > badges > quick actions, with the checked date and
   report link behind the small "i". Group colours match the hub's kind tiles. */
.ef-row { --c: var(--tile); position: relative; display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-16) var(--sp-16) var(--sp-12) var(--sp-16); border-radius: var(--radius); background: #fffaf2; border: 1px solid var(--line);  scroll-margin-top: 190px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ef-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.ef-row:has(.eat-info[open]), .el-card:has(.eat-info[open]) { z-index: 6; }
.ef-row:target { box-shadow: 0 0 0 3px var(--sun), var(--shadow-2); }
/* the venue's photo, top right; the "i" moves to the bottom corner to make room */
.ef-ph { position: absolute; top: 14px; right: 14px; width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.ef-ph img, .ef-ph img.fit { display: block; width: 100%; height: 100%; object-fit: cover; }
.ef-row:has(.ef-ph) { padding-right: 120px; min-height: 122px; }
.ef-row:has(.ef-ph) .ef-kind { padding-right: 0; }
.ef-row:has(.ef-ph) .eat-info { top: auto; bottom: 4px; }
.ef-row:has(.ef-ph) .eat-info-pop { top: auto; bottom: calc(100% + 2px); }
@media (min-width: 700px) { .ef-ph { top: 16px; right: 16px; width: 124px; height: 124px; } .ef-row:has(.ef-ph) { padding-right: 160px; min-height: 158px; } }
.ef-g-coffee { --c: #8a5a2b; } .ef-g-quick { --c: #995a16; } .ef-g-bars { --c: var(--dusk); } .ef-g-breweries { --c: #5f7458; } .ef-g-sweets { --c: #a8466e; } /* the hub tile colours, darkened where small text needs 4.5:1 */
.ef-kind { display: flex; align-items: center; gap: var(--sp-8); margin: 0; font: 700 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.ef-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.ef-name { margin: 2px 0 0; font: 400 1.3rem/1.12 var(--serif); overflow-wrap: anywhere; }
.ef-name a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease), color .2s; }
.ef-name a::after { content: " \2192"; font-family: var(--sans); font-size: .8em; color: var(--c); }
.ef-name a:hover { color: var(--tile); background-size: 100% 1.5px; }
.ef-where { margin: 0; font-size: .9rem; color: var(--ink-3); overflow-wrap: anywhere; }
.ef-where b { font-weight: 600; color: var(--ink-2); }
.ef-line { margin: var(--sp-4) 0 0; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.ef-badges { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin: var(--sp-8) 0 0; }
.ef-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8); margin-top: auto; padding-top: var(--sp-8); }
.eat-act { display: inline-flex; align-items: center; gap: var(--sp-8); min-height: 40px; padding: 0; margin-right: var(--sp-16); border: 0; background: none; color: var(--sea); font: 600 .9rem/1 var(--sans); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.eat-act:hover { color: var(--tile-deep); text-decoration: underline; text-underline-offset: 3px; }
.eat-act svg { flex: none; }
.eat-act:focus-visible, .eat-info summary:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
/* The "i": checked date (and the report link) one tap away */
.eat-info { position: relative; margin-left: auto; }
.eat-info summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--ink-3); }
.eat-info summary::-webkit-details-marker { display: none; }
.eat-info-i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font: italic 600 .82rem/1 var(--serif); transition: background .2s, color .2s; }
.eat-info summary:hover, .eat-info[open] summary { color: var(--ink); }
.eat-info[open] .eat-info-i { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.eat-info-pop { position: absolute; right: 0; bottom: calc(100% + 4px); z-index: 5; width: max-content; max-width: min(260px, 78vw); padding: var(--sp-8) var(--sp-16); border-radius: var(--radius-sm); background: var(--ink); color: #fffaf2; box-shadow: var(--shadow-2); font-size: .82rem; line-height: 1.4; }
.eat-info-pop p { margin: 0; }
/* On a place card the "i" sits in the top corner, so the actions keep one row on a phone */
.ef-row .eat-info { position: absolute; top: 6px; right: 6px; margin: 0; }
.ef-row .eat-info-pop { top: calc(100% + 2px); bottom: auto; }
.ef-kind { padding-right: var(--sp-32); }
.eat-info-pop a, .eat-info-pop .eat-fix { color: var(--sun-2); }
.eat-info-pop a { display: inline-flex; align-items: center; gap: var(--sp-4); min-height: 32px; font-weight: 600; }
.eat-info-pop .eat-fix { padding: var(--sp-4) 0 0; min-height: 32px; text-decoration-color: currentColor; }
.eat-info-pop .eat-fix:hover { color: #fffaf2; }
@media (prefers-reduced-motion: reduce) { .ef-row, .ef-name a { transition: none; } .ef-row:hover { transform: none; } }
.eat-fix { font: 600 .82rem var(--sans); color: var(--ink-3); background: none; border: 0; padding: var(--sp-8) 0; min-height: 32px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.eat-fix:hover { color: var(--tile); text-decoration-color: currentColor; }
.ef-empty { color: var(--ink-3); font: 500 italic 1.12rem var(--sans); margin: var(--sp-8) 0 0; }
.ef-morewrap { margin: var(--sp-24) 0 0; text-align: center; }
.ef-mapbox { margin: 0 0 var(--sp-16); }
.ef-mapel { height: min(62vh, 520px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); background: var(--paper-2); }
.ef-pop-n { margin: 0; font: 600 1rem/1.2 var(--sans); color: var(--ink); }
.ef-pop-k, .ef-pop-a { margin: 2px 0 0; font-size: .82rem; color: var(--ink-2); }
.ef-pop-l { display: inline-block; margin-top: var(--sp-8); font: 600 .82rem var(--sans); color: var(--sea); }

/* ---------- report dialog ---------- */
.eat-report { width: min(92vw, 480px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #fffaf2; color: var(--ink); box-shadow: var(--shadow-2); }
.eat-report::backdrop { background: rgba(10, 20, 36, .55); }
.eat-report-f, .eat-report-done { padding: var(--sp-24); }
.eat-report .h3 { margin: 0 0 var(--sp-8); font-size: 1.3rem; }
.eat-report-sub { margin: 0 0 var(--sp-16); color: var(--ink-3); font-size: .9rem; }
.eat-report fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; }
.eat-report legend { font: 600 .9rem var(--sans); margin-bottom: var(--sp-8); }
.eat-radio { display: flex; align-items: center; gap: var(--sp-8); min-height: 40px; font-size: 1rem; cursor: pointer; }
.eat-radio input { width: 18px; height: 18px; accent-color: var(--tile); }
.eat-report .lbl span { font-weight: 500; color: var(--ink-3); }
.eat-report .field { width: 100%; }
.eat-report-btns { display: flex; justify-content: flex-end; gap: var(--sp-8); margin-top: var(--sp-16); }

/* ---------- a place page: eatplace.css ---------- */

/* ---------- a guide ---------- */
.eg-draftbar { position: fixed; inset: auto 0 0; z-index: 60; margin: 0; padding: var(--sp-12) var(--sp-20); background: var(--ink); color: #fffaf2; text-align: center; font: 600 .9rem var(--sans); }
.eg-stats { margin: 2px 0 0; font: 500 .9rem/1.5 var(--sans); color: var(--ink-3); }
.eg-stats b { font-weight: 600; color: var(--ink-2); }
.eg-top, .eg-bottom { max-width: 46em; }
.eg-intro { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 var(--sp-8); }
.eg-zach { margin: var(--sp-8) 0 0; padding: var(--sp-12) var(--sp-16); border-radius: var(--radius-sm); background: #fffaf2; font: italic 500 1rem/1.5 var(--sans); color: var(--ink); }
.eg-slot { background: #fbe3da; font: 600 .9rem var(--sans); color: var(--tile-deep); }
.eg-list { list-style: none; margin: var(--sp-32) 0 0; padding: 0; display: grid; gap: var(--sp-16); }
.eg-pick { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-16); padding: var(--sp-24) var(--sp-24) var(--sp-16); border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); scroll-margin-top: 100px; }
.eg-n { margin: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: #fffaf2; font: 700 1rem/1 var(--sans); font-variant-numeric: tabular-nums; } /* sans: the serif 1 reads as a capital I at this size */
.eg-body > p { margin: var(--sp-8) 0 0; color: var(--ink-2); }
.eg-name { margin: var(--sp-8) 0 0; font-size: clamp(1.4rem, 3vw, 1.75rem); /* type-ok: display */ line-height: 1.1; }
.eg-name a { color: inherit; text-decoration: none; }
.eg-name a:hover, .eg-name a:focus-visible { color: var(--tile); text-decoration: underline; text-underline-offset: 3px; }
.eg-label { font: 600 1rem var(--sans); color: var(--ink) !important; }
.eg-qa { margin: var(--sp-24) 0 0; }
.eg-qa h2 { margin: 0 0 var(--sp-8); }
.eg-qa details { border-top: 1px solid var(--line, rgba(0, 0, 0, .1)); }
.eg-qa details:last-child { border-bottom: 1px solid var(--line, rgba(0, 0, 0, .1)); }
.eg-qa summary { list-style: none; display: flex; justify-content: space-between; gap: var(--sp-12); padding: var(--sp-12) 0; cursor: pointer; font: 600 1rem/1.4 var(--sans); color: var(--ink); }
.eg-qa summary::-webkit-details-marker { display: none; }
.eg-qa summary::after { content: '+'; flex: none; color: var(--ink-3); font-weight: 400; }
.eg-qa details[open] summary::after { content: '−'; }
.eg-qa summary:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.eg-qa details p { margin: 0 0 var(--sp-12); color: var(--ink-2); line-height: 1.55; }
.eg-qa a { color: var(--sea); font-weight: 600; }
.eg-line span { display: inline-block; margin-right: var(--sp-8); font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tile); }
.eg-locs { list-style: none; margin: var(--sp-12) 0 0; padding: var(--sp-8) 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-16); font-size: .9rem; }
.eg-locs a { color: var(--sea); font-weight: 600; }
.eg-src { font-size: .75rem; color: var(--ink-3) !important; }
.eg-src a { color: inherit; }
.eg-pick { transition: box-shadow .3s; }
.eg-pick.is-on { box-shadow: 0 0 0 2px var(--sun), var(--shadow-2); }
.eg-pick.is-on .eg-n { background: var(--ink); }
.eg-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-8) var(--sp-12); margin-top: var(--sp-12); padding-top: var(--sp-8); border-top: 1px dashed var(--line); }
.eg-foot .eg-locs { flex: 1 1 17em; margin: 0; padding: 0; border: 0; }
.eg-onmap { flex: none; display: inline-flex; align-items: center; gap: var(--sp-8); padding: .45em .9em; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: #fffaf2; color: var(--ink); font: 600 .82rem/1 var(--sans); cursor: pointer; }
.eg-onmap::before { content: ""; width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--tile); }
.eg-onmap:hover { border-color: var(--tile); }
.eg-photo { margin: 0 0 var(--sp-16); }
.eg-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.eg-photo figcaption { margin-top: var(--sp-8); font-size: .82rem; color: var(--ink-3); }
.eg-photo figcaption a { color: inherit; }
/* phones: the number sits beside the name and everything else runs the card's full width, instead of a 52px empty
   column down the whole card (Neon review 2026-11-22). The body's lines join the card's grid (display: contents). */
@media (max-width: 639px) {
  .eg-pick { column-gap: var(--sp-12); row-gap: 0; padding: var(--sp-16); }
  .eg-body { display: contents; }
  .eg-body > * { grid-column: 1 / -1; }
  .eg-photo { grid-row: 1; }
  .eg-n { grid-column: 1; grid-row: 1; align-self: center; }
  .eg-name { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .eg-pick:has(.eg-photo) .eg-n, .eg-pick:has(.eg-photo) .eg-name { grid-row: 2; }
}

/* the guide map: numbered pins match the list; beside it on wide screens, above it on phones */
.eg-layout { display: grid; gap: var(--sp-20); margin-top: var(--sp-24); }
.eg-layout .eg-list { margin: 0; }
.eg-mapcol { order: -1; }
.no-js .eg-mapcol { display: none; }
.eg-mapcard { position: relative; border-radius: var(--radius); overflow: hidden; background: #efe6d6; box-shadow: var(--shadow-2); }
.eg-map { height: min(52vh, 380px); }
.eg-all { position: absolute; left: 12px; top: 12px; z-index: 2; padding: .55em 1em; border: 0; border-radius: var(--r-ctl); background: var(--ink); color: #fffaf2; font: 600 .82rem/1 var(--sans); box-shadow: var(--shadow-1); cursor: pointer; }
.eg-pinwrap { cursor: pointer; z-index: 1; }
.eg-pinwrap.is-on { z-index: 3; }
.eg-pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tile); color: #fffaf2; border: 2px solid #fffaf2;
  box-shadow: 0 2px 10px rgba(24, 34, 46, .35); font: 700 .82rem/1 var(--sans); transition: transform .25s var(--ease), background .25s, opacity .25s; }
.eg-pinwrap:hover .eg-pin { transform: scale(1.12); }
.eg-map.has-on .eg-pinwrap:not(.is-on) .eg-pin { opacity: .45; }
.eg-pinwrap.is-on .eg-pin { transform: scale(1.3); background: var(--sun); color: var(--ink); }
.eg-map.is-far .eg-pin { width: 23px; height: 23px; border-width: 1.5px; font-size: .75rem; }

@media (min-width: 700px) {
  .ef-row { padding: var(--sp-16) var(--sp-20) var(--sp-16) var(--sp-24); }
  .eat-tiles { grid-template-columns: 1fr 1fr; }
  .eat-guides { grid-template-columns: repeat(3, 1fr); gap: var(--sp-32) var(--sp-24); }
  .eat-guide.is-lead:first-child { grid-column: auto; }
  .eat-guide.is-lead:first-child .eat-guide-ph { aspect-ratio: 4 / 3; }
  .eat-guide-h, .eat-guide.is-lead:first-child .eat-guide-h { font: 400 1.3rem/1.15 var(--serif); }
  .eat-guide-s, .eat-guide.is-lead:first-child .eat-guide-s { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .eat-guide-ph { margin-bottom: var(--sp-8); }
  .ef-bar-in { grid-template-columns: minmax(200px, 2fr) minmax(150px, 1.1fr) minmax(170px, 1.2fr) minmax(190px, 1.3fr); align-items: center; }
  .ef-bar .ef-cu { grid-column: auto; }
  .ef-bar { position: sticky; top: 76px; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); margin-bottom: var(--sp-16); }
  .ef-q { grid-column: auto; }
}
@media (min-width: 1000px) {
  .eat-guides { grid-template-columns: repeat(12, 1fr); gap: var(--sp-32) var(--sp-24); }
  .eat-guide { grid-column: span 3; }
  .eat-guide.is-lead, .eat-guide.is-lead:first-child { grid-column: span 4; }
  .eat-guide.is-lead.l4 { grid-column: span 3; }
  .eat-guide.is-lead.l2, .eat-guide.is-wide { grid-column: span 6; }
  .eat-guide.is-lead .eat-guide-ph, .eat-guide.is-lead:first-child .eat-guide-ph { aspect-ratio: 3 / 2; }
  .eat-guide.is-lead .eat-guide-h, .eat-guide.is-lead:first-child .eat-guide-h { font-size: 1.75rem; line-height: 1.08; }
  .eat-guide.is-lead .eat-guide-s { font-size: 1rem; -webkit-line-clamp: 3; line-clamp: 3; }
  .eat-tiles { grid-template-columns: repeat(7, 1fr); column-gap: 0; border-bottom: 1px solid var(--line); }
  .eat-tile a { grid-template-columns: 1fr; align-content: start; gap: var(--sp-8); padding: var(--sp-16) var(--sp-12) var(--sp-16) var(--sp-16); border-bottom: 0; border-left: 1px solid var(--line); }
  .eat-tile:first-child a { border-left: 0; padding-left: 0; }
  .eat-tile-n { grid-row: auto; font-size: 1.75rem; }
  .eat-tile-s { grid-column: auto; }
  .eg-layout.has-map { grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr); gap: var(--sp-32); align-items: start; }
  .eg-mapcol { order: 0; position: sticky; top: 96px; }
  .eg-map { height: calc(100vh - 220px); min-height: 420px; max-height: 600px; }
  .ef-list { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}
@media (prefers-reduced-motion: reduce) {
  .eat-track-go, .eat-track-h, .eat-guide-h, .eat-guide-ph img, .et-strip b, .eat-tile-h, .eg-pin, .eg-pick { transition: none; }
  a:hover > .eat-guide-ph img { transform: none; }
}

/* One town (/eat/<town>/): Savvy Picks in town, then every place by kind as a compact list */
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* the town's picked places in photos: a row that swipes on a phone, two rows of four on a wide screen */
.et-strip { list-style: none; margin: 0 0 var(--sp-24); padding: 0 0 var(--sp-4); display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: var(--sp-16); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.et-strip::-webkit-scrollbar { display: none; }
.et-strip li { scroll-snap-align: start; min-width: 0; }
.et-strip a { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.et-strip b { font: 600 1rem/1.25 var(--sans); transition: color .2s; }
.et-strip a:hover b { color: var(--tile); }
.et-strip small { font-size: .82rem; color: var(--ink-3); }
.et-strip li:not(:has(.eat-guide-ph)) { display: none; }
@media (min-width: 760px) { .et-strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: var(--sp-24) var(--sp-24); overflow: visible; } }
.et-picks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.et-picks li { display: grid; gap: 2px var(--sp-24); padding: var(--sp-12) 0; border-bottom: 1px solid var(--line); }
.et-pk { font: 600 1rem/1.6 var(--sans); color: var(--ink); text-decoration: none; }
.et-pk:hover { color: var(--tile); }
.et-pn { font-size: 1rem; line-height: 1.6; color: var(--ink-3); }
.et-pn a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.et-pn a:hover { color: var(--tile); text-decoration-color: currentColor; }
.et-hhline { margin: var(--sp-24) 0 0; font-weight: 600; }
.et-hhline a { color: var(--tile); }
.et-n { font: 500 1rem var(--sans); color: var(--ink-3); vertical-align: .3em; margin-left: .2em; }
.et-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--sp-32); border-top: 1px solid var(--line); }
.et-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--sp-12); padding: var(--sp-12) 0; border-bottom: 1px solid var(--line); }
.et-list a { font: 600 1rem/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.et-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.et-k { grid-column: 1; font-size: .9rem; color: var(--ink-3); }
.et-st { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .82rem; color: var(--ink-3); text-align: right; max-width: 15em; }
.et-hh { color: #7a4600; font-weight: 600; } /* the happy-hour amber every other Eat page uses (.ep-near-hh, .eat-b-hh) */
.et-more { margin: var(--sp-16) 0 0; }
@media (min-width: 760px) {
  .et-picks li { grid-template-columns: 13rem 1fr; }
  .et-list { grid-template-columns: 1fr 1fr; border-top: 0; }
  .et-list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
/* "Since 1957": a sourced founding or at-this-address year (sb_sol_history.py) */
.ef-since { margin: var(--sp-4) 0 0; font: 600 .75rem/1.3 var(--sans); letter-spacing: .04em; color: var(--tile-deep); }
/* The oldest restaurants and bars (/eat/oldest/) */
.ol-dec { margin-top: var(--sp-32); }
.ol-dec:first-child { margin-top: 0; }
.ol-dec:first-child .eat-h2 { margin-top: 0; }
.ol-list { list-style: none; margin: var(--sp-12) 0 0; padding: 0; display: grid; gap: var(--sp-12); }
.ol-photo { display: block; width: 160px; max-width: 100%; height: auto; max-height: 120px; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--sp-8); }
.ol-item { display: grid; grid-template-columns: 5.2rem 1fr; gap: var(--sp-16); align-items: start; padding: var(--sp-16) var(--sp-16); background: #fffaf2; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ph.eat-hero.ol-hero h1 { max-width: 24ch; }
.ol-year { margin: 0; font: 400 1.75rem/1 var(--serif); color: var(--tile-deep); }
.ol-year.is-range { font-size: 1.3rem; padding-top: .3em; }
.ol-name { margin: 0; font: 400 1.3rem/1.2 var(--serif); }
.ol-name a { color: var(--ink); text-decoration: none; }
.ol-name a:hover { text-decoration: underline; }
.ol-meta { margin: var(--sp-4) 0 0; font-size: .9rem; color: var(--ink-3); }
.ol-meta b { font-weight: 600; color: var(--ink-2); }
.ol-note { margin: var(--sp-8) 0 0; font-size: 1rem; line-height: 1.45; color: var(--ink-2); max-width: 62ch; }
.ol-src { margin: var(--sp-8) 0 0; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 560px) { .ol-item { grid-template-columns: 1fr; gap: var(--sp-8); } .ol-year { font-size: 1.5rem; } }

/* Find a place: the quiet line when location fails; Open now is left off on the big holidays */
.ef-note { margin: 0 0 var(--sp-12); }
.hh-tog[hidden] { display: none; }

@media (min-width: 980px) {
  .eat-trackers { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .eat-track + .eat-track { border-top: 0; border-left: 1px solid var(--line); }
  .eat-track a { padding: var(--sp-24) var(--sp-48) var(--sp-24) var(--sp-24); }
  .eat-track:first-child a { padding-left: 0; }
  .eat-track-go { right: 20px; top: 22px; }
}
