/* TableOne: one calm column, generous air. Blue = interactive, red = only what needs attention. */
:root{
  --bg:#FFFFFF; --surface:#F5F5F7; --ink:#1D1D1F; --muted:#6E6E73; --rule:#E3E3E8;
  --blue:#0066CC; --blue-light:#4C94DB; --blue-soft:#E8F1FB; --red:#D70015; --pin-dim:#AEAEB2; --ok:#1E8E46; --ok-soft:#D8F3E1;
  --sans:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#000000; --surface:#1C1C1E; --ink:#F5F5F7; --muted:#98989D; --rule:#2C2C2E;
    --blue:#2997FF; --blue-light:#7CBFFF; --blue-soft:#0B2340; --red:#FF453A; --pin-dim:#636366; --ok:#30D158; --ok-soft:#0E2F1A; color-scheme:dark; }
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html:has(body[data-page="places"]){touch-action:pan-x pan-y} /* My Places: no pinch zoom (iOS ignores the viewport lock) */
html{touch-action:manipulation} /* no double-tap zoom on phones; pinch-zoom stays available */
body{overflow-x:clip;margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit}
h1,h2{text-wrap:balance}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
.wrap{max-width:1080px;margin:0 auto;padding-left:max(clamp(20px,5vw,56px), env(safe-area-inset-left,0px));padding-right:max(clamp(20px,5vw,56px), env(safe-area-inset-right,0px))}

/* Header */
header.site{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-block:14px;border-bottom:1px solid var(--rule)}
.mark{display:inline-flex;align-items:center;gap:9px;font-family:var(--display);font-weight:700;font-size:1.3rem;letter-spacing:-.03em;line-height:1;color:var(--ink);text-decoration:none}
.mark-icon{width:30px;height:30px;flex:none;overflow:visible}
.mark-icon circle{fill:var(--blue)}
.mark-icon path{fill:var(--bg)}
.mark-word b{font-weight:700;color:var(--blue)}
.citypick{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--muted)}
.citypick select{font:inherit;font-size:.9rem;color:var(--ink);background:var(--surface);border:0;border-radius:999px;padding:7px 14px;cursor:pointer}

/* Account button, top right of every header (filled in by account.js) */
.acct{position:relative;margin-left:auto;display:flex;align-items:center;gap:4px;min-height:36px;flex:none}
.acct[hidden]{display:none}
.acct-link,.acct-cta{font-size:.9rem;font-weight:500;text-decoration:none;border-radius:999px;padding:7px 14px;white-space:nowrap}
.acct-link{color:var(--ink)}
.acct-link:hover{background:var(--surface)}
.acct-cta{background:var(--blue);color:#FFFFFF}
.acct-cta:hover{filter:brightness(1.1)}
.acct-btn{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--blue);color:#FFFFFF;font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
.acct-btn img{width:100%;height:100%;object-fit:cover;display:block}
.acct-btn[aria-expanded="true"]{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--blue)}
.acct-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:260px;max-width:calc(100vw - 32px);background:var(--bg);border:1px solid var(--rule);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:6px}
.acct-menu[hidden]{display:none}
.acct-id{padding:10px 12px 8px}
.acct-id b{display:block;font-size:.95rem;font-weight:600;overflow-wrap:anywhere}
.acct-id span{display:block;font-size:.82rem;color:var(--muted);overflow-wrap:anywhere}
.acct-places{flex:none;width:36px;height:36px;padding:0;margin-right:6px;border-radius:50%;border:1px solid var(--rule);background:var(--bg);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font:inherit;text-decoration:none}
.acct-places:hover{background:var(--surface)}
.acct-places[aria-current="page"]{background:var(--blue);border-color:var(--blue);color:#FFFFFF}
.acct-ico{display:none;width:36px;height:36px;border-radius:50%;background:var(--surface);color:var(--ink);align-items:center;justify-content:center;position:relative}
.acct-ico.todo{background:var(--blue);color:#FFFFFF}
.acct-ico.todo::after{content:"";position:absolute;top:1px;right:1px;width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px var(--bg)}
@media (max-width:520px){
  .acct-link,.acct-cta{display:none}
  .acct-ico{display:inline-flex}
}
/* Sign-in pages (login, signup, check-email, callback) */
.auth{max-width:440px;padding-block:44px 72px}
.auth h1{margin:0 0 24px;font-family:var(--display);font-size:1.9rem;letter-spacing:-.02em}
.field{margin-bottom:16px}
.field label{display:block;font-size:.88rem;font-weight:500;margin-bottom:6px}
.field input{width:100%;box-sizing:border-box;font:inherit;font-size:1rem;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:10px;padding:11px 14px}
.field input:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.pw{position:relative}
.pw input{padding-right:64px}
.pw-toggle,.linkbtn{font:inherit;background:none;border:0;cursor:pointer;color:var(--blue)}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:.85rem;font-weight:500;padding:6px 8px}
.linkbtn{padding:0;text-decoration:underline}
.rules{list-style:none;margin:-4px 0 16px;padding:0;font-size:.85rem;color:var(--muted)}
.rules li{padding:2px 0 2px 22px;position:relative}
.rules li::before{content:"";position:absolute;left:3px;top:.62em;width:9px;height:9px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--pin-dim)}
.rules li.ok{color:var(--ink)}
.rules li.ok::before{background:var(--blue);box-shadow:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.form-msg{margin:0 0 14px;font-size:.92rem;color:var(--red)}
.form-msg.ok{color:var(--blue)}
.form-msg[hidden]{display:none}
.captcha{margin-bottom:14px}
.auth .btn{border:0;font:inherit;font-weight:500;cursor:pointer}
.auth .btn.ghost{border:0}
.auth .btn.full{width:100%;padding-block:12px}
.auth .btn:disabled{opacity:.6;cursor:default}
.auth-alt{margin:16px 0 0;font-size:.92rem;color:var(--muted);text-align:center}
.auth-alt a{color:var(--blue)}
.auth .fine{font-size:.82rem;color:var(--muted);margin:14px 0 0}
.auth .fine a{color:var(--muted)}
.auth .lead{font-size:1.02rem;margin:0 0 16px;overflow-wrap:anywhere}
.gbtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;box-sizing:border-box;font:inherit;font-weight:500;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:999px;padding:11px 16px;cursor:pointer}
.gbtn:hover{background:var(--surface)}
.gbtn:disabled{opacity:.6;cursor:default}
.or{display:flex;align-items:center;gap:12px;margin:18px 0;font-size:.85rem;color:var(--muted)}
.or::before,.or::after{content:"";flex:1;border-top:1px solid var(--rule)}
.auth.wide{max-width:560px}
.captcha-aux{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:60}
.auth.doc{max-width:680px}
.auth.doc h2{margin:32px 0 8px;font-size:1.15rem}
.auth.doc p,.auth.doc li{line-height:1.6}
.auth.doc ul{padding-left:20px;margin:8px 0}
.auth.doc a{color:var(--blue)}
.draft{background:var(--surface);border-left:3px solid var(--red);padding:10px 14px;font-size:.9rem;margin:0 0 24px}
.soon{border:1px solid var(--rule);border-radius:12px;padding:24px;margin-top:8px}
.soon h2{margin:0 0 8px;font-size:1.05rem}
.soon p{margin:0;color:var(--muted)}
footer.site nav{display:flex;gap:16px}
footer.site nav a{color:var(--muted)}
.set{border-top:1px solid var(--rule);padding:26px 0 8px}
.set h2{font-size:1.1rem;margin:0 0 12px}
.set h3{font-size:.95rem;margin:18px 0 12px}
.set p{margin:0 0 12px}
div.row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0}
div.row .k{font-size:.82rem;color:var(--muted)}
div.row .v{overflow-wrap:anywhere}
.btnrow{display:flex;gap:10px;flex-wrap:wrap}
.auth .btn.danger{background:var(--red);color:#FFFFFF}
.auth .btn.danger:disabled{opacity:.4}
.set.danger h2{color:var(--red)}
.notice{background:var(--surface);color:var(--ink);text-align:center;font-size:.92rem;padding:10px 16px}
.un-meta{display:flex;justify-content:space-between;gap:12px;margin:-6px 0 0;font-size:.85rem;color:var(--muted)}
.un-status.ok{color:var(--blue)}
.un-status.bad{color:var(--red)}
.acct-menu a,.acct-menu button{display:block;width:100%;box-sizing:border-box;text-align:left;font:inherit;font-size:.95rem;color:var(--ink);background:transparent;border:0;border-radius:8px;padding:10px 12px;text-decoration:none;cursor:pointer}
.acct-menu a:hover,.acct-menu button:hover,.acct-menu a:focus-visible,.acct-menu button:focus-visible{background:var(--surface)}
.acct-menu hr{border:0;border-top:1px solid var(--rule);margin:6px 0}

/* Food nav: pillar dropdowns on desktop, side drawer on mobile. Without JS everything stays open in the page. */
.dishnav{position:relative}
.dn-bar,.dn-edge,.dn-head,.dn-q{display:none}
.dn-in{padding-block:16px 8px}
.dn-tier{margin:0 0 16px}
.dn-tier h2{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--rule);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dn-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 28px}
.dn-g{margin:0 0 6px;font-size:.75rem;font-weight:500;color:var(--blue-light)}
.tier-list{display:flex;flex-wrap:wrap;gap:6px}
.tab{font-size:.9rem;font-weight:500;text-decoration:none;color:var(--ink);background:var(--surface);border-radius:999px;padding:7px 14px;white-space:nowrap}
.tab:hover{background:var(--rule)}
.tab[aria-current="page"]{background:var(--ink);color:var(--bg)}
.tab.off{color:var(--muted);background:transparent;box-shadow:inset 0 0 0 1px var(--rule);cursor:default}
.tabs-empty{font-size:.88rem;color:var(--muted);padding:7px 0}
.dn-btn,.dn-edge{font:inherit;font-size:.9rem;font-weight:500;color:var(--ink);background:var(--surface);border:0;border-radius:999px;padding:8px 14px;cursor:pointer;align-items:center;gap:8px}
.dn-btn{display:inline-flex}
.dn-btn:hover,.dn-edge:hover{background:var(--rule)}
.dn-btn[aria-expanded="true"]{box-shadow:inset 0 0 0 1px var(--ink)}
.dn-btn::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);margin-left:2px}
.dn-btn[aria-expanded="true"]::after{transform:rotate(225deg) translate(-2px,-2px)}
.dn-cur{color:var(--muted);font-weight:400;max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dn-cur::before{content:"\00b7\00a0"}
.dn-n{font-size:.75rem;font-weight:400;color:var(--muted)}
.dn-ico{display:inline-block;width:14px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor,0 -5px 0 currentColor}
.dn-x{font:inherit;font-size:1.6rem;line-height:1;color:var(--muted);background:none;border:0;padding:4px 8px;cursor:pointer}
.dn-q{width:100%;font:inherit;font-size:.95rem;color:var(--ink);background:var(--surface);border:0;border-radius:10px;padding:9px 12px;margin:0 0 14px}
.dn-scrim{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:40}

.dn-js .dn-bar{display:flex;flex-wrap:wrap;gap:8px;padding-block:14px 12px}
.dn-js .dn-head,.dn-js .dn-q{display:flex}
.dn-js .dn-q{display:block}
.dn-js .dn-head{justify-content:space-between;align-items:center;margin-bottom:10px}
@media (min-width:641px){
  .dn-js .dn-head,.dn-js .dn-q,.dn-js .dn-scrim,.dn-js .dn-in>.ik-toggle{display:none}
  .dn-js .dn-sheet{display:none;position:absolute;left:0;right:0;top:100%;z-index:20;max-width:1080px;margin:0 auto;border-radius:0 0 14px 14px;background:var(--surface);border-top:2px solid var(--blue);box-shadow:0 10px 18px rgba(0,0,0,.14)}
  .dn-js .dn-sheet .tab:not([aria-current="page"]):not(.off){background:var(--bg)}
  .dn-js .dn-sheet .tab:not([aria-current="page"]):not(.off):hover{background:var(--rule)}
  .dn-js .dishnav.open .dn-sheet{display:block}
  .dn-js .dn-tier{display:none;margin:0}
  .dn-js .dn-tier.on{display:block}
  .dn-js .dn-tier h2{display:none}
  .dn-js .dn-in{padding-block:18px 20px}
}
@media (max-width:640px){
  .dn-js .dn-bar{display:none}
  .dn-js .dishnav{height:0}
  .dn-js .dn-edge{display:none;position:absolute;left:0;top:14px;z-index:30;border-radius:0 999px 999px 0;padding-left:16px;max-width:calc(100vw - 24px)}
  .dn-js .dn-edge.float{display:inline-flex;position:fixed;top:12px;background:var(--blue-soft);color:var(--blue);box-shadow:0 3px 10px rgba(0,0,0,.18),0 1px 3px rgba(0,0,0,.12)}
  .dn-js .dn-edge.float .dn-cur{display:none}
  ol.list{margin-top:40px}
  .dn-js .dn-tier h2{color:var(--blue)}
  .dn-js .dn-g{color:var(--blue-light)}
  .dn-js .tb-filters{padding-left:84px}
  .fl-chips ol.list{margin-top:2px}
  .fl-chips .listhead{padding:0}
  @media (prefers-color-scheme:dark){.dn-js .dn-edge.float{box-shadow:0 3px 12px rgba(255,255,255,.22),0 1px 3px rgba(255,255,255,.16)}}
  .dn-lbl{display:inline-flex;gap:8px;min-width:0}
  .dn-js .dn-sheet{position:fixed;top:0;bottom:0;left:0;width:min(86vw,340px);z-index:50;overflow-y:auto;overscroll-behavior:contain;background:var(--bg);border-right:1px solid var(--rule);transform:translateX(-100%);visibility:hidden;transition:transform .28s ease,visibility 0s .28s}
  .dn-js .dishnav.open .dn-sheet{transform:none;visibility:visible;transition:transform .28s ease}
  .dn-js .dn-in{padding:14px 16px 28px}
  .dn-cols{grid-template-columns:1fr}
  .dn-js .dn-scrim[hidden]{display:none}
}
@media (prefers-reduced-motion:reduce){.dn-js .dn-sheet{transition:none!important}}

/* Hero */
.hero{padding:clamp(24px,5vw,44px) 0 8px}
.hero h1{font-family:var(--display);font-weight:600;font-size:clamp(2.1rem,5vw,3.4rem);line-height:1.05;letter-spacing:-.03em;margin:0}
.suggest{color:var(--ink);text-decoration:none;white-space:nowrap} /* same color as the page title */
.suggest::after{content:" ↗";font-size:.9em} /* up-right arrow marks it as a link */
.suggest:hover{text-decoration:underline}
.hero p{max-width:60ch;color:var(--muted);font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.45;margin:10px 0 0}

/* Price rail */
.rail{margin:20px 0 0}
.rail svg{width:100%;height:auto;display:block;overflow:visible}
.rail .tick line{stroke:var(--pin-dim);stroke-width:1.2}
.rail .tick circle{fill:var(--ink)}
.rail .tick:hover line,.rail .tick:focus line{stroke:var(--blue);stroke-width:2}
.rail .tick:hover circle,.rail .tick:focus circle{fill:var(--blue)}
.rail .tick:focus{outline:none}
.rail .axis{stroke:var(--rule);stroke-width:1}
.rail .axis-label{font-family:var(--sans);font-size:15px;fill:var(--muted)}
@media (max-width:820px){ .rail .axis-label{font-size:22px} }
@media (max-width:480px){ .rail .axis-label{font-size:32px} }
.rail-readout{min-height:1.8em;margin-top:2px;font-family:var(--display);font-weight:600;font-size:clamp(1.15rem,2.2vw,1.5rem);letter-spacing:-.015em;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.rail-readout span{font-family:var(--sans);font-weight:400;font-size:.95rem;letter-spacing:0;color:var(--muted)}
/* Phones (not tablets): the price graph is too small to point at, so upscale lists skip it */
@media (max-width:640px){ .rail,.rail-readout{display:none} }

/* Controls */
.controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;align-items:end;padding:20px 0 12px;margin-top:8px;border-top:1px solid var(--rule)}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-size:.78rem;font-weight:500;color:var(--muted);letter-spacing:.02em}
.field input,.field select{font:inherit;font-size:1rem;background:var(--surface);color:var(--ink);border:1px solid transparent;border-radius:12px;padding:11px 14px;min-width:0}
.field:has(#q){display:none}
.field input:focus,.field select:focus{outline:none;border-color:var(--blue);background:var(--bg)}
.chips{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
.chips + .chips{margin-top:-6px}
.chip{font:inherit;font-size:.88rem;background:var(--surface);color:var(--ink);border:0;border-radius:999px;padding:7px 15px;cursor:pointer}
.chip:hover{background:var(--rule)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
/* List-page booking/feature filters (DoorDash, Uber Eats, inKind, Awarded) read as on/off switches. Same buttons and script; only the look changes. */
#bookchips .chip{display:inline-flex;align-items:center;gap:6px;background:none;color:var(--ink);padding:6px 0;font-size:.8rem;font-weight:500;white-space:nowrap}
#bookchips .chip:hover{background:none}
#bookchips .chip[aria-pressed="true"]{background:none;color:var(--ink)}
#bookchips .chip::after{content:"";order:-1;flex:none;width:28px;height:16px;border-radius:999px;background:radial-gradient(circle,#fff 5.5px,transparent 6px) 2px 2px/12px 12px no-repeat var(--rule);transition:background-color .15s,background-position .15s}
#bookchips .chip[aria-pressed="true"]::after{background-color:var(--blue);background-position:14px 2px}
.listhead{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 16px;padding:4px 0 12px}
.count,.hint{font-size:.85rem;color:var(--muted);margin:0}

/* List */
.list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.row{border-bottom:1px solid var(--rule)}
.row summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:3.2rem minmax(0,1.5fr) minmax(0,1fr) 9.5rem;grid-template-areas:"rank name where price" "rank name where book";gap:6px 20px;align-items:baseline;padding:14px 0}
.row summary::-webkit-details-marker{display:none}
.rank{display:flex;align-items:baseline;gap:8px;font-family:var(--display);font-weight:600;font-size:1.1rem;color:var(--muted);font-variant-numeric:tabular-nums}
/* Small triangle that points right when closed and down when open */
.chev{flex:none;width:0;height:0;border-style:solid;border-width:5px 0 5px 7px;border-color:transparent transparent transparent currentColor;transform:translateY(-1px);transition:transform .15s ease}
.row:hover .chev,.row details[open] .chev{color:var(--blue)}
.row details[open] .chev{transform:translateY(-1px) rotate(90deg)}
.name{grid-area:name;min-width:0}
.name b{display:block;font-family:var(--display);font-weight:600;font-size:clamp(1.1rem,1.8vw,1.3rem);line-height:1.2;letter-spacing:-.015em}
.row:hover .name b,.row details[open] .name b{color:var(--blue)}
.name span{display:block;font-size:.9rem;color:var(--muted);margin-top:3px;max-width:60ch}
.name .badges span{display:inline;font-size:inherit;margin:0}
.where{grid-area:where;font-size:.95rem;min-width:0}
.where small{display:block;color:var(--muted);font-size:.82rem;margin-top:2px}
.price{grid-area:price;font-family:var(--display);font-weight:500;font-size:1.2rem;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.book{grid-area:book;justify-self:end;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.book small{color:var(--muted);font-size:.8rem}
/* The rank cell: arrow and number on top, the My Places buttons stacked below it in the empty space (templates/places.js fills .marks).
   Blue = set; the tap area is 44px even though the circle is 30px. min-height reserves the space so rows do not jump when the buttons appear. */
.rank-cell{grid-area:rank;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.marks{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:68px;margin-left:1px}
.mk{position:relative;width:30px;height:30px;padding:0;border:1px solid var(--rule);border-radius:50%;background:var(--bg);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font:inherit}
.mk::before{content:"";position:absolute;inset:-7px}
.mk svg{width:16px;height:16px;pointer-events:none}
.mk.on{background:var(--blue);border-color:var(--blue);color:#FFFFFF}
.mk.on .mk-fill{fill:currentColor}
.mk.on[data-kind="visit"]{background:var(--ok-soft);border-color:var(--ok);color:var(--ok)}
.mk.soft{background:var(--blue-soft);border-color:var(--blue-soft);color:var(--blue)}
.mk.soft .mk-fill{fill:var(--blue);fill-opacity:.28}
.t1-toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:60;max-width:calc(100vw - 32px);background:var(--ink);color:var(--bg);border-radius:12px;padding:10px 16px;font-size:.92rem;display:flex;gap:16px;align-items:center;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.t1-toast button{background:none;border:0;color:inherit;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer;padding:0}
.t1-sheet{border:0;padding:0;background:var(--bg);color:var(--ink);border-radius:22px;width:min(380px,calc(100vw - 32px));box-shadow:0 20px 60px rgba(0,0,0,.3)}
.t1-sheet::backdrop{background:rgba(0,0,0,.35)}
.t1-sheet form{padding:26px 24px 22px;text-align:center;margin:0}
.t1-sheet h2{margin:0 0 6px;font-size:1.25rem;letter-spacing:-.01em}
.t1-sheet p{margin:0 0 18px;color:var(--muted);font-size:.95rem}
.t1-sheet a.t1-go{display:block;border-radius:999px;padding:12px;font-weight:600;text-decoration:none;margin-bottom:8px;background:var(--blue);color:#FFFFFF}
.t1-sheet a.t1-go.alt{background:var(--surface);color:var(--ink)}
.t1-sheet button.t1-no{background:none;border:0;color:var(--muted);font:inherit;font-size:.9rem;padding:8px;cursor:pointer}
@media (max-width:820px){
  .t1-sheet{margin:auto auto 0;width:100%;max-width:none;border-radius:22px 22px 0 0}
  .t1-sheet form{padding-bottom:max(22px,env(safe-area-inset-bottom))}
  .t1-toast{bottom:max(20px,env(safe-area-inset-bottom))}
}
/* Desktop: a row with no price puts its buttons on the name line; with a price, the price stays on top and the buttons sit below it */
@media (min-width:821px){.row summary:has(.price:empty){grid-template-areas:"rank name where book";align-items:start}.row summary .price:empty{display:none}}
.more{display:grid;grid-template-columns:3.2rem minmax(0,1fr);gap:0 20px;padding:0 0 22px}
.more > div{grid-column:2;display:flex;flex-direction:column;gap:14px}
.more > div > :not(.links){max-width:68ch}
.more p{margin:0}
.more > div > p.hint{max-width:none;text-align:right}
.more a.site{color:var(--blue);text-decoration:none;white-space:nowrap}
.more a.site:hover{text-decoration:underline}
.facts{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:.88rem;color:var(--muted)}
.facts b{color:var(--ink);font-weight:500}
.links{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.9rem}
.links a{color:var(--blue);text-decoration:none}
.links a:hover{text-decoration:underline}
.links a.fix{color:var(--red);margin-left:auto}
.empty{padding:48px 0;color:var(--muted)}

.btn{display:inline-block;background:var(--blue);color:#FFFFFF;text-decoration:none;padding:11px 22px;font-weight:500;font-size:.95rem;border-radius:999px;white-space:nowrap}
.btn:hover{filter:brightness(1.1)}
.btn.sm{padding:4px 12px;font-size:.78rem;line-height:1.5;width:9.5rem;box-sizing:border-box;text-align:center}
.btn.ghost{background:transparent;color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.btn.ghost:hover{background:var(--blue-soft);filter:none}
/* "Order on DoorDash": DoorDash brand red (#FF3008) for the text and outline */
.btn.dd{background:transparent;color:#FF3008;box-shadow:inset 0 0 0 1px #FF3008}
.btn.dd:hover{background:rgba(255,48,8,.12);filter:none}
/* "Order on Uber Eats": Uber Eats green (#06C167) for the text and outline */
.btn.ue{background:transparent;color:#06C167;box-shadow:inset 0 0 0 1px #06C167}
.btn.ue:hover{background:rgba(6,193,103,.12);filter:none}

/* Home and city pages */
.intro{padding:clamp(48px,12vh,120px) 0 24px}
.intro h1{font-family:var(--display);font-weight:700;font-size:clamp(2.5rem,7vw,4rem);line-height:1.04;letter-spacing:-.03em;margin:0 0 16px}
.intro p{font-size:clamp(1.05rem,2.2vw,1.3rem);color:var(--muted);margin:0;max-width:34em}
.section-label{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:32px 0 12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;padding-bottom:56px}
.segment{margin-top:36px}
.segment:first-of-type{margin-top:8px}
.segment-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--rule)}
.segment-head h2{margin:0;font-family:var(--display);font-weight:600;font-size:1.5rem;letter-spacing:-.01em}
.segment-count{font-size:.8rem;color:var(--muted)}
.segment .grid{padding-bottom:0}
.tile{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;background:var(--surface);border-radius:18px;padding:20px 20px 18px;min-height:120px}
a.tile:hover{background:var(--rule)}
.tile h2{font-family:var(--display);font-weight:600;font-size:1.3rem;letter-spacing:-.01em;margin:0}
.tile p{margin:0;font-size:.9rem;color:var(--muted)}
.tile .go{margin-top:auto;font-size:.9rem;font-weight:500;color:var(--blue)}
.tile.off{background:transparent;box-shadow:inset 0 0 0 1px var(--rule)}
.tile.off h2{color:var(--muted)}
.tile.off .go{color:var(--muted);font-weight:400}
.resume{display:inline-flex;margin-top:28px}
/* Desktop homepage: the 3x3 city grid sits on a raised sheet with the same tiles as the phone version */
@media (min-width:701px){
  .intro + .section-label{margin:24px 0 0;padding:22px 24px 12px;background:var(--surface);border-radius:26px 26px 0 0}
  .home-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 56px;padding:0 24px 24px;background:var(--surface);border-radius:0 0 26px 26px}
  .home-grid .tile{justify-content:center;gap:4px;min-height:116px;padding:16px 18px;background:var(--bg);border-radius:16px}
  .home-grid .tile .emo{display:block;font-size:1.9rem;line-height:1;margin-bottom:6px}
  .home-grid .tile h2{font-size:1.1rem;line-height:1.2}
  .home-grid .tile .go{margin-top:0;font-size:.85rem}
  .home-grid .tile.off{box-shadow:none;opacity:.6}
  a.tile:hover{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--blue)}
}
/* Phone homepage: everything fits one screen, no scrolling. Intro on top, nine cities in three columns on a raised sheet that fills the rest of the height */
@media (max-width:700px){
  body:has(.home-grid){min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
  body:has(.home-grid) > .wrap{width:100%;box-sizing:border-box}
  body:has(.home-grid) main{flex:1;display:flex;flex-direction:column}
  body:has(.home-grid) header.site{padding-block:10px}
  body:has(.home-grid) footer.site{padding-block:10px 14px;gap:8px}
  .intro{padding:clamp(14px,3.5svh,32px) 0 0}
  .intro h1{font-size:clamp(1.65rem,4.6svh,2.1rem);line-height:1.08;margin:0 0 8px}
  .intro p{font-size:.98rem;line-height:1.35}
  .intro-more{display:none}
  .intro .resume{display:flex;width:100%;justify-content:center;margin:clamp(12px,2.4svh,22px) 0 0;padding:12px 18px;font-size:1rem}
  .intro + .section-label{--gut:clamp(20px,5vw,56px);margin:clamp(14px,3svh,32px) calc(-1 * var(--gut)) 0;padding:16px var(--gut) 10px;background:var(--surface);border-radius:26px 26px 0 0}
  .home-grid{--gut:clamp(20px,5vw,56px);flex:1;grid-template-columns:repeat(3,1fr);grid-auto-rows:minmax(70px,1fr);gap:8px;margin:0 calc(-1 * var(--gut));padding:0 var(--gut) 14px;background:var(--surface)}
  .home-grid .tile{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:1.89rem auto;column-gap:6px;row-gap:2px;align-content:center;align-items:start;min-height:0;padding:8px 8px;background:var(--bg);border-radius:14px}
  .home-grid .tile h2{display:contents}   /* emoji and name become grid items: emoji left, name + list link stacked on the right */
  .home-grid .tile .emo{grid-column:1;grid-row:1 / span 2;align-self:center;font-size:1.4rem;line-height:1}
  .home-grid .tile h2 .cname{grid-column:2;grid-row:1;align-self:end;font-size:.82rem;line-height:1.15}   /* row = two name lines, name sits on the bottom line, so the last line lines up across a row */
  .home-grid .tile .go{grid-column:2;grid-row:2;white-space:nowrap}
  .home-grid .tile .go{margin-top:0;font-size:.62rem}
  .home-grid .tile.off{box-shadow:none;opacity:.6}
}


footer.site{border-top:1px solid var(--rule);padding-block:20px 32px;font-size:.82rem;color:var(--muted);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* Sticky toolbar: title, count and filters stay in view while the list scrolls */
.hero{display:contents}
.hero-head{position:sticky;top:0;z-index:15;background:var(--bg);box-shadow:0 0 0 100vmax var(--bg);clip-path:inset(0 -100vmax)}
.hero-head h1{font-size:1.5rem;letter-spacing:-.02em;animation:none}
.hero-head p{margin:0;font-size:.9rem;max-width:none}
.hero-line{display:flex;align-items:baseline;gap:4px 10px;min-width:0}
.d-only{display:none}
.tb-actions{display:contents}
.chip-br{display:none}
.hero-count{color:var(--muted);font-size:.85rem;font-weight:400;letter-spacing:0;white-space:nowrap}
.tb-filters{display:contents}
.hero-head .chip{flex:none}
#count{display:none}
.controls:not(:has(.field,.chips:not(#areachips))){display:none}
#areachips{display:none}

/* Neighborhood dropdown: same pill look as the city picker */
.areabtn{font:inherit;font-size:.9rem;color:var(--ink);background:var(--surface);border:0;border-radius:999px;padding:7px 14px;cursor:pointer}
.areabtn:hover{background:var(--rule)}
.areabtn::after{content:"▾";margin-left:6px;color:var(--muted)}
.areabtn[aria-expanded="true"],.areabtn.on{background:var(--ink);color:var(--bg)}
.areabtn.on::after,.areabtn[aria-expanded="true"]::after{color:inherit}
/* In the top bar beside the city picker (all widths; phone sizing is in the 820px block below) */
header.site .areabtn{box-sizing:border-box;height:36px;padding:0 14px;line-height:1;white-space:nowrap}
header.site .citypick select{height:36px}
/* Desktop city picker: pill + panel like Areas (built in site.js); phones keep the native select */
.citybtn,.citypanel{display:none}
@media (min-width:821px){.city-js .citypick select{display:none}.city-js .citybtn{display:inline-block}.citypanel:not([hidden]){display:block}}
header.site .areabtn.on,header.site .areabtn[aria-expanded="true"]{background:var(--blue-soft);color:var(--blue)}
.areapanel{display:none;position:fixed;z-index:30;min-width:220px;max-width:calc(100vw - 32px);max-height:60vh;overflow-y:auto;background:var(--bg);border:1px solid var(--rule);border-radius:16px;padding:6px;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.areapanel:not([hidden]){display:block}
.areaopt{display:flex;align-items:center;gap:10px;width:100%;font:inherit;font-size:.92rem;text-align:left;color:var(--ink);background:none;border:0;border-radius:10px;padding:10px 12px;cursor:pointer}
.areaopt::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;border:1.5px solid var(--muted)}
.areaopt[aria-pressed="true"]::before{background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l3 3 5-6' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat;border-color:var(--ink)}
.areaopt:hover{background:var(--surface)}
.areaopt .opt-n{margin-left:auto;padding-left:16px;color:var(--muted);font-variant-numeric:tabular-nums}
/* Sort menu: same panel and round markers as Neighborhoods. The real <select> stays hidden as the source of truth. */
.tb-sort select{display:none}

@media (min-width:821px){
  /* Desktop toolbar: title + Rank on top, "Suggest" under the title, tier switch left and filter pills right.
     Title, Suggest and the tier switch share one left edge: the dish name (the emoji hangs in a fixed slot). */
  .hero-head{--ind:0px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"title filters" "count count" "pillars controls";align-items:center;gap:10px 24px;padding:14px 0}
  .hero-head:has(.emo){--ind:2.25rem}
  /* Logo bar stays pinned on desktop too; the toolbar pins just beneath it (--hh = header height, set in site.js) */
  header.site{position:sticky;top:0;z-index:16}
  header.site::before{content:"";position:absolute;inset:0 -100vmax -1px;z-index:-1;background:var(--bg);border-bottom:1px solid var(--rule)}
  .hero-head{top:var(--hh,0px)}
  .hero-head h1{display:flex;align-items:baseline}
  .hero-head .emo{display:inline-block;width:var(--ind)}
  .hero-head::after{content:"";position:absolute;left:-100vmax;right:-100vmax;bottom:0;height:1px;background:var(--rule)}
  .hero-line{grid-area:title}
  .hero-head h1{font-size:1.6rem;white-space:nowrap}
  .hero-head p{grid-area:count;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:-8px;padding-left:var(--ind);align-self:start}
  /* Tier switch: one light-blue capsule, the tier of the list you're on is the raised white segment */
  .hero-head .tb-pillars{grid-area:pillars;justify-self:start;display:flex;flex-wrap:nowrap;gap:0;padding:3px;margin:0 0 0 var(--ind);max-width:none;background:var(--blue-soft);border-radius:999px}
  .tb-pillars .dn-btn{background:transparent;color:var(--muted);padding:6px 14px;font-size:.88rem;box-shadow:none}
  .tb-pillars .dn-btn:hover{background:transparent;color:var(--ink)}
  .tb-pillars .dn-btn.cur,.tb-pillars .dn-btn[aria-expanded="true"]{background:var(--bg);color:var(--ink);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.18)}
  /* while a dropdown is open, only the pill that was clicked looks selected, not the tier of the current page */
  .tb-pillars:has(.dn-btn[aria-expanded="true"]) .dn-btn.cur:not([aria-expanded="true"]){background:transparent;color:var(--muted);font-weight:500;box-shadow:none}
  .dn-js .dishnav.moved .dn-sheet{position:fixed;top:auto}
  .tb-filters{grid-area:filters;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:0 16px} /* switches on one line, spaced like the city page */
  .tb-filters .chips{display:contents}
  .hero-line{align-self:center}
  .tb-actions{grid-area:controls;justify-self:end;display:flex;align-items:center;gap:8px}
  /* Rank and Neighborhoods: same size, stacked at the right */
  .hero-head .areabtn,.tb-actions .areabtn{box-sizing:border-box;height:36px;padding:0 32px 0 14px;font-size:.9rem;text-align:left;white-space:nowrap}
  /* Same custom arrow on both dropdowns, 14px from the right edge */
  .tb-actions{align-items:center}
  .tb-actions .tb-sort{position:relative;margin:0}
  .tb-actions .areabtn{position:relative}
  .tb-actions .areabtn::after{content:"▾";position:absolute;right:14px;top:50%;transform:translateY(-50%);margin:0;color:var(--muted);pointer-events:none;line-height:1}
  .tb-actions .areabtn.on::after,.tb-actions .areabtn[aria-expanded="true"]::after{color:inherit}
  .d-only{display:inline}
  .hero-line .suggest{font-size:.85rem}
  .m-only{display:none}
  .hero-head .field label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hero-head .field input{padding:9px 14px;font-size:.95rem}
  .rail{margin:6px 0 0}
  .rail-readout{min-height:1.4em}
  /* Search, area chips and the count all live in the sticky toolbar now; drop their empty boxes so the list starts right under it. */
  .controls,.listhead{display:none}
  /* The toolbar already ends in a rule, so with no price rail the list's own top rule would double it */
  main:not(:has(.rail)) .list{border-top:0}
}
@media (max-width:820px){
  .row summary{grid-template-columns:2.8rem minmax(0,1fr) auto;grid-template-areas:"rank name book" "rank where price";gap:6px 14px}
  .book{align-self:start}
  /* An empty price still made implicit grid columns (the grid-area name is unplaced), which pushed the book buttons left of the account circle */
  .row summary .price:empty{display:none}
  .row summary:has(.price:not(:empty)){grid-template-areas:"rank name price" "rank name book" "rank where where";grid-template-rows:auto 1fr auto}
  .row summary:has(.price:not(:empty)) .book{align-self:start}
  .more{grid-template-columns:2.8rem minmax(0,1fr);gap:0 14px}
  .controls{grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .controls .chips{grid-column:1/-1}
  .hero-head{padding:12px 0 10px}
  .hero-line{padding-right:var(--act-w,150px)}
  .hero-head h1{display:block;flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:36px}
  .hero-line{gap:4px 6px}
  .hero-count{flex:none;font-size:.72rem}
  .hero-head p{margin:0;padding-block:0 2px;display:flex;align-items:baseline;gap:4px 10px}
  /* Phones: Areas + Sort take the top right, so the count moves down beside Suggest and the title gets the room */
  .hero-line .hero-count.m-only{display:none}
  .hero-head p .hero-count.d-only{display:block;order:2;font-size:.78rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hero-head p .suggest{order:1}
  .hero-head p .hero-count.d-only{margin-left:auto;text-align:right}
  .tb-actions{position:absolute;top:12px;right:0;display:flex;align-items:center;gap:8px;z-index:1}
  .areabtn{height:36px;padding-top:0;padding-bottom:0}
  .areabtn,.areabtn:hover{background:transparent;color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--blue)}
  .areabtn::after{color:inherit}
  .areabtn.on,.areabtn[aria-expanded="true"]{background:var(--blue-soft);color:var(--blue);font-weight:600;box-shadow:none}
  .controls{display:none}
  header.site{position:sticky;top:0;z-index:16;background:var(--bg);justify-content:flex-start;flex-wrap:nowrap;gap:14px;padding-block:10px}
  .hero-head{top:var(--hh,57px);padding-bottom:10px}
  .tb-filters{display:flex;align-items:center;gap:8px;margin-top:4px}
  .tb-filters:empty{display:none}
  .hero-head .chips{margin-top:0;flex:1;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:6px 8px}
  .tb-sort{position:static;margin:0}
  .tb-sort label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tb-sort .areabtn{position:static}
  .hero-head .chip{font-size:.8rem;padding:6px 10px}
  /* Phones: DoorDash + Uber Eats on the first line, the other tags on the line below */
  .chip-br{display:block;flex:0 0 100%;height:0}
  .hero-head .chips:has(.chip-br){row-gap:3px}   /* the break is a line of its own, so two gaps of 3px = the usual 6px */
}
@media (prefers-reduced-motion:no-preference){
  .hero h1{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
  @keyframes rise{from{opacity:.001;transform:translateY(12px)}to{opacity:1;transform:none}}
}
.recog{font-size:.88rem;color:var(--muted);display:flex;flex-direction:column;gap:2px}
.recog-title{color:var(--ink);font-weight:500}

/* "Only inKind" switch: city page hero and the phone food drawer. Needs JS, so hidden without it. */
.ik-toggle{display:none;align-items:center;gap:8px;font-size:.9rem;font-weight:500;color:var(--ink);cursor:pointer;user-select:none}
.ik-js .ik-toggle{display:inline-flex}
.ik-cb{position:absolute;opacity:0;width:1px;height:1px}
.ik-sw{position:relative;flex:none;width:36px;height:22px;border-radius:999px;background:var(--rule);transition:background .15s}
.ik-sw::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:transform .15s}
.ik-cb:checked+.ik-sw{background:var(--blue)}
.ik-cb:checked+.ik-sw::after{transform:translateX(14px)}
.ik-cb:focus-visible+.ik-sw{outline:2px solid var(--blue);outline-offset:2px}
.dn-in>.ik-toggle{margin:0 16px 14px 0}
.ik-off{display:none!important}

/* City page. Phones: title, question and switches on top, sticky blue pillar tabs, one pillar at a time.
   Desktop (821px+): no title; filter pills on the right and the pillar capsule on the left, same as the dish pages; one pillar at a time in three columns. */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero-ask{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:10px}
.hero-ask p{margin:0}
.hero-sw{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px}
@media (max-width:820px){
  /* The Areas pill lives in the top bar beside the city picker and matches its look */
  header.site .areabtn{position:static;box-sizing:border-box;height:36px;padding:0 12px;font-size:.9rem;font-weight:400;line-height:1;white-space:nowrap;color:var(--ink);background:var(--surface);box-shadow:none}
  header.site .areabtn::after{content:"▾";position:static;transform:none;margin-left:6px;color:var(--muted)}
  header.site .areabtn.on,header.site .areabtn[aria-expanded="true"]{background:var(--blue-soft);color:var(--blue);font-weight:400;box-shadow:none}
  header.site .areabtn.on::after,header.site .areabtn[aria-expanded="true"]::after{color:inherit}
  /* Logo, city, Areas and account all fit on one line down to a 360px phone */
  header.site.has-areas{gap:6px;flex-wrap:nowrap}
  header.site .mark{font-size:1.05rem;gap:5px}   /* same compact logo on the home page as on city and list pages */
  header.site .mark-icon{width:24px;height:24px}
  header.site.has-areas .citypick select{font-size:.85rem;padding:0 6px;height:36px}
  header.site.has-areas .areabtn{font-size:.85rem;padding:0 8px}
  header.site.has-areas .areabtn::after{margin-left:4px}
}

@media (max-width:640px){
  /* Title and question on the left, Areas pill on the right, then the switches in a grid: 3 across, the rest below */
  .city-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start}
  .city-hero h1{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .city-hero .hero-ask{display:contents}
  .city-hero .hero-ask p{grid-column:1;grid-row:1;align-self:center;margin:0}
  .city-hero .hero-sw{grid-column:1 / -1;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;margin-top:16px;padding-bottom:14px;border-bottom:1px solid var(--rule)}
  .city-hero .ik-toggle{flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;font-size:.66rem;white-space:nowrap;text-align:center}
  /* Switches first, then the question and Areas pill underneath, with the divider below that */
  .city-hero .hero-sw{grid-row:1;margin-top:0;padding-bottom:0;border-bottom:0}
  .city-hero .hero-ask p{grid-row:2;margin-top:14px}
  .city-hero .areabtn{grid-column:2;grid-row:2;margin-top:14px}
  .city-hero{padding-bottom:14px;border-bottom:1px solid var(--rule)}
}
html{scrollbar-gutter:stable}   /* filtering shortens the page; without this the scrollbar vanishes and everything slides sideways */
.pl-tabs,.city-tags,.city-capbar{display:none}
.pl-cols{padding-bottom:56px}
.pl{margin-top:8px}
.pl .segment-head{margin-bottom:6px}
.pl-js .pl:not(.on){display:none}
.pl-js .pl .segment-head{display:none}
.pl-gh{margin:18px 0 2px;padding:0 4px 6px;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-light);border-bottom:1px solid var(--rule);scroll-margin-top:110px}
.pl-g:first-child .pl-gh{margin-top:8px}
.pl-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:12px 4px;font-size:1rem;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule)}
a.pl-row:hover{background:var(--surface)}
.pl-row.off{color:var(--muted)}
.pl-c{font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums;flex:none}
.tabbed .pl-tabs{display:flex;position:sticky;top:0;z-index:12;gap:2px;padding:8px 0;background:var(--bg)}
.pl-tab{flex:1;font:inherit;font-size:.9rem;font-weight:600;color:var(--muted);background:var(--surface);border:0;border-radius:10px;padding:10px 4px;cursor:pointer}
.pl-tab small{font-weight:400;margin-left:4px;opacity:.8}
.pl-tab.on{background:var(--blue);color:#FFFFFF}
@media (min-width:821px){
  .city-hero{display:block;flex:0 0 100%;padding:22px 0 0}
  .city-hero h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* title stays for screen readers and search engines, not shown */
  .city-hero .hero-ask{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;margin:0}
  .city-hero .hero-ask p{margin:0;font-size:1.15rem}
  .city-hero .areabtn,.tabbed .pl-tabs{display:none}
  .ik-js .city-tags{display:none}   /* desktop uses the same toggle switches as mobile, not chips */
  .city-hero .hero-sw{justify-content:flex-end;flex-wrap:nowrap;gap:0 16px}
  .city-hero .ik-toggle{gap:6px;font-size:.8rem;white-space:nowrap}
  .city-hero .ik-sw{width:28px;height:16px}
  .city-hero .ik-sw::after{top:2px;left:2px;width:12px;height:12px}
  .city-hero .ik-cb:checked+.ik-sw::after{transform:translateX(12px)}
  .city-main{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:16px}
  .pl-js .city-capbar{display:block;order:1;padding:14px 0}
  .city-caps{display:inline-flex;padding:3px;background:var(--blue-soft);border-radius:999px}
  .cap-tab{font:inherit;font-size:.88rem;font-weight:500;color:var(--muted);background:transparent;border:0;border-radius:999px;padding:6px 14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
  .cap-tab:hover{color:var(--ink)}
  .cap-tab small{font-size:.75rem;font-weight:400;color:var(--muted)}
  .cap-tab.on{background:var(--bg);color:var(--ink);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.18)}
  .pillars{order:3;flex:0 0 100%;border-top:1px solid var(--rule)}
  /* All three pillars side by side until a pill is clicked (it then shows just that pillar, in three columns) */
  .pl-js .pillars:not(.picked) .pl:not(.on){display:block}
  .pl-js .pillars:not(.picked) .pl .segment-head{display:flex}
  .pillars:not(.picked) .pl-cols{display:grid;grid-template-columns:1fr 1fr 2fr;gap:0 36px;align-items:start}
  .pillars:not(.picked) .pl:nth-child(3) .pl-groups{display:grid;grid-template-columns:1fr 1fr;gap:0 36px;align-items:start}
  .pl-js .pillars.picked .pl:not(.pick){display:none}
  .pl-js .pillars.picked .pl.pick{display:block}
  .pillars.picked .pl-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:0 36px;align-items:start}
  .pillars.picked .pl:nth-child(3) .pl-groups{grid-template-columns:1fr 1fr}   /* columns are fixed in the build so filters never reshuffle them */
  .pl-g{break-inside:avoid}
  .pl-col{display:contents}
  .pillars:not(.picked) .pl:nth-child(3) .pl-col,.pillars.picked .pl-col{display:block}
  .pl-gh{scroll-margin-top:16px;margin-top:20px;border-bottom:0;padding-bottom:2px}
  .pl .segment-head h2{font-size:1.1rem;color:var(--blue)}   /* pillar titles: blue; category headings (.pl-gh): light blue */
  .pl-row{padding:7px 8px;font-size:.95rem;border-bottom:0;border-radius:8px}
}

/* My Places page (/places). Built by places_page() in scripts/build.py; filled in by templates/places-page.js. */
.mp{max-width:1080px;padding-block:0 72px} /* same width as the header, so the right edge lines up with the account button */
/* Pinned block: title + tabs + filters + sort stay in view under the pinned site header (--hh, set in site.js) */
.mp-pin{position:sticky;top:var(--hh,0px);z-index:15;background:var(--bg);box-shadow:0 0 0 100vmax var(--bg);clip-path:inset(0 -100vmax);padding:6px 0 4px}
.mp-pin::after{content:"";position:absolute;left:-100vmax;right:-100vmax;bottom:0;height:1px;background:var(--rule)}
.mp-head{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0}
.mp-seg[hidden]{display:none}
.mp h1{font-size:clamp(1.5rem,4vw,2.4rem);letter-spacing:-.02em;margin:0}
.mp-seg{display:flex;background:var(--surface);border-radius:999px;padding:3px;gap:2px;flex:0 1 auto;min-width:0}
.mp-seg button{border:0;background:transparent;font:inherit;font-size:.95rem;font-weight:500;color:var(--muted);padding:8px 16px;border-radius:999px;cursor:pointer;white-space:nowrap}
.mp-seg button b{font-weight:600;margin-left:4px}
.mp-seg button svg{width:17px;height:17px;vertical-align:-3px;margin-right:6px}
.mp-seg #mp-tab-want svg{color:var(--blue)}
.mp-seg #mp-tab-want svg path{fill:var(--blue)}
.mp-seg #mp-tab-visited svg{color:var(--ok)}
.mp-seg #mp-tab-visited svg circle{fill:var(--ok-soft)}
.mp-seg button[aria-selected="true"]{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.18)}
.mp-seg button[aria-selected="true"] b{color:var(--blue)}
.mp-seg #mp-tab-visited[aria-selected="true"] b{color:var(--ok)}
.mp-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:16px 0 6px}
.mp-sortline select,.mp-filters select{display:none}
.mp-filters input{flex:1;min-width:150px;font:inherit;font-size:.9rem;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:999px;padding:7px 14px}
.mp-chip{font:inherit;font-size:.86rem;font-weight:500;color:var(--muted);background:var(--bg);border:1px solid var(--rule);border-radius:999px;padding:6px 13px;cursor:pointer}
.mp-chip#mp-wr{border-color:var(--pink);color:var(--pink)} /* I'll return filter: pink outline, filled light pink when on */
.mp-chip#mp-wr.on{background:var(--pink-soft);border-color:var(--pink);color:var(--pink)}
.mp-sortline{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.85rem;margin:8px 2px 2px}
.mp-list{list-style:none;margin:0;padding:0}
.mp-row{display:grid;grid-template-columns:44px minmax(0,1fr) 370px;gap:6px 14px;align-items:center;padding:14px 0 14px 2px;border-top:1px solid var(--rule)}
.mp-row:first-child{border-top:0;padding-top:10px} /* the pinned pane already ends in a rule, so no second line above the first place */
.mp-row.gone{opacity:.6}
.mp-emo{width:44px;height:44px;border-radius:12px;background:var(--surface);display:flex;align-items:center;justify-content:center;font-size:1.4rem}
.mp-info{min-width:0}
.mp-name{display:block;font-family:var(--display);font-weight:600;font-size:1.05rem;line-height:1.25;overflow-wrap:anywhere}
.mp-sub,.mp-meta{display:block;color:var(--muted);font-size:.86rem;line-height:1.35}
.mp-meta{font-size:.8rem;margin-top:2px}
.mp-rk{color:var(--blue);font-weight:600}
.mp-wrtag{color:var(--pink);font-weight:600}
.mp-also{font-style:italic}
.mp-acts{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.mp-btns{display:flex;gap:14px;align-items:center;justify-content:flex-end;flex-wrap:nowrap}
/* Fixed columns so the buttons line up down the page: Must try / Remove on the left, one link per list stacked on the right */
.mp-btnrow{display:flex;gap:6px;align-items:center;width:176px;flex:none}
.mp-btnrow .mp-act{white-space:nowrap}
.mp-links{display:flex;flex-direction:column;gap:6px;width:9.5rem;flex:none} /* = the .btn.sm width, so the buttons end exactly at the row's right edge */
.mp-links .btn{justify-content:center;text-align:center;box-sizing:border-box}
.mp-act{font:inherit;font-size:.84rem;font-weight:500;color:var(--blue);background:none;border:0;border-radius:8px;padding:8px;cursor:pointer}
.mp-act.danger,.mp-act.ok,.mp-act.want{background:transparent;border-radius:999px;padding:4px 12px;line-height:1.5;font-size:.78rem}
.mp-act.danger{color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}
.mp-act.danger:hover{background:color-mix(in srgb,var(--red) 12%,transparent)}
.mp-act.ok{color:var(--ok);box-shadow:inset 0 0 0 1px var(--ok)}
.mp-act.ok:hover{background:var(--ok-soft)}
.mp-act.ok svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}
.mp-act.ok svg circle{fill:var(--ok-soft)}
.mp-act.want{color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.mp-act.want:hover{background:var(--blue-soft)}
.mp-act.want svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}
.mp-heart{position:relative;width:34px;height:34px;padding:0;border:1px solid var(--rule);border-radius:50%;background:var(--bg);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.mp-heart::before{content:"";position:absolute;inset:-5px}
.mp-heart svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;pointer-events:none}
.mp{--pink:#FF8FB1;--pink-soft:#FFE3EC;--pink-line:#FFB3CB} /* "I'll return": heart, tag and filter chip share one pink */
.mp-heart.on{background:var(--pink-soft);border-color:var(--pink-line);color:var(--pink)}
.mp-heart.on svg{fill:currentColor}
.mp-more{display:block;margin:18px auto 0;font:inherit;font-weight:500;color:var(--blue);background:var(--surface);border:0;border-radius:999px;padding:10px 22px;cursor:pointer}
.mp-empty{text-align:center;padding:48px 16px 40px}
.mp-big{font-size:2.2rem}
.mp-empty p{color:var(--muted);margin:6px auto 18px;max-width:36ch}
.mp-note{color:var(--muted);font-size:.8rem;margin:28px 0 0;text-align:center}
@media (max-width:860px){
  /* Phone: solid blue list links at the top right of the row (same size on both tabs); Visited / Must try + Remove on a line below; heart at the right end of that line */
  .mp-row{grid-template-columns:44px minmax(0,1fr) auto;align-items:start}
  .mp-emo{grid-column:1;grid-row:1}
  .mp-info{grid-column:2;grid-row:1}
  .mp-acts,.mp-btns{display:contents}
  .mp-links{grid-column:3;grid-row:1;width:auto;gap:6px;align-items:stretch}
  .mp-links .btn{width:96px;box-sizing:border-box;justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mp-btnrow{grid-column:2;grid-row:2;width:auto;justify-content:flex-start;flex-wrap:wrap;gap:2px}
  .mp-btnrow .mp-act{white-space:nowrap}
  .mp-row .mp-heart{grid-column:3;grid-row:2;justify-self:end;align-self:center}
  .mp-long{display:none}
}
@media (max-width:520px){
  .mp-head{flex-wrap:nowrap;gap:8px}
  .mp-seg button{font-size:.82rem;padding:7px 9px}
  .mp-seg button svg{width:15px;height:15px;margin-right:4px;vertical-align:-2px}
  .mp-seg button b{margin-left:3px}
  /* Phone: count under the title, search full width, then City / Dish / Sort as three equal buttons on one row */
  #mp-tools:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}
  #mp-tools .mp-filters,#mp-tools .mp-sortline,#mp-tools .mp-sort{display:contents}
  #mp-count{display:none} /* no "# places" line on phones */
  .mp-filters input{order:2;flex:1 1 100%;min-width:0}
  .mp-filters .mp-chip{order:2}
  #mp-tools .areabtn{order:3;flex:1 1 0;min-width:0;box-sizing:border-box;height:36px;padding:0 4px;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
  #mp-tools .areabtn::after{margin-left:2px}
  #mp-tools .areabtn[hidden]{display:none}
}
