@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Pixelify+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');
/* Pixel lettering keeps the journal playful while notes use readable sans type. */
.brand,h1,h2,.card-title,.empty h3{font-family:'Pixelify Sans','Space Mono',monospace!important;letter-spacing:-.5px!important}
:root{--paper:#f6f0e2;--ink:#49382e;--muted:#86786a;--green:#596d4c;--pale:#e6e8d6;--line:#dcd2bf;--orange:#bb714c;--mono:'Space Mono',monospace;--sans:'DM Sans',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:14px var(--sans);background-image:radial-gradient(#b8a98b30 .65px,transparent .65px);background-size:5px 5px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:5px}button{background:none;border:none}h1,h2,h3,p{margin:0}button,.button{transition:background .15s,transform .15s}.site-header{max-width:1280px;margin:auto;min-height:104px;padding:22px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:700 21px var(--mono);letter-spacing:-1px}.brand img{image-rendering:pixelated;mix-blend-mode:multiply}.site-header nav{display:flex;gap:30px;align-items:center}.nav-link{font:11px var(--mono);padding:8px 0;color:var(--muted);text-decoration:none}.nav-link.active{color:var(--green);border-bottom:2px solid var(--green)}.button{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--ink);background:var(--green);color:#fff8e8;font:12px var(--mono);padding:14px 21px;box-shadow:3px 3px 0 var(--ink);text-decoration:none}.button:hover{background:#465c3b;transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}.button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}.button.small{padding:11px 15px;font-size:11px}main{max-width:1184px;margin:auto}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center;padding:67px 0 55px}.eyebrow{font:9px var(--mono);letter-spacing:1.8px;color:var(--green);display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;background:var(--green);box-shadow:2px 2px 0 #bec5a6}h1{font:700 clamp(36px,4.2vw,57px)/1.18 var(--mono);letter-spacing:-3px;margin:22px 0}h1 span{color:var(--green);position:relative}h1 span:after{content:'';position:absolute;bottom:-7px;left:0;width:100%;height:4px;background:var(--orange);clip-path:polygon(0 50%,20% 0,45% 45%,75% 0,100% 50%,100% 100%,65% 65%,35% 100%,0 85%)}.hero p{color:var(--muted);font-size:14px;line-height:1.9}.hero-actions{display:flex;gap:25px;align-items:center;margin-top:27px}.text-link{font:10px var(--mono);text-underline-offset:5px;text-decoration:none}.text-link:hover{text-decoration:underline}.text-link span{font-size:18px;padding-left:7px}.hero-footnote{font:9px var(--mono);color:var(--muted);margin-top:30px;letter-spacing:.2px}.hero-footnote span{color:var(--orange);margin:0 9px}.hero-art{position:relative;padding-bottom:30px}.hero-art>img{width:100%;display:block;image-rendering:pixelated}.art-sticker{position:absolute;bottom:1px;right:6px;transform:rotate(-5deg);padding:15px 20px;border:1px solid #bea87d;background:#eaddb5;box-shadow:3px 4px 0 #49382e16;font:8px var(--mono);letter-spacing:1px}.art-sticker:before{content:'';position:absolute;width:70px;height:16px;background:#fbf6dfaa;top:-8px;left:60px;transform:rotate(5deg)}.art-sticker strong{display:block;font-size:11px;letter-spacing:-.4px;margin:6px 0}.art-sticker span{font-size:8px;letter-spacing:0;color:#7d6d52}.journal-ticker{display:flex;justify-content:space-between;align-items:center;gap:24px;overflow:hidden;white-space:nowrap;border-block:1px solid var(--line);padding:17px 0;color:var(--orange);font:12px var(--mono)}.journal-ticker:first-child{border-top:0}.journal-ticker span{font-size:9px;letter-spacing:1.4px;color:var(--muted)}.journal{padding:48px 0 45px}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}h2{font:700 28px var(--mono);letter-spacing:-1.4px;margin-top:10px}.count{display:inline-block;vertical-align:middle;font:11px var(--mono);background:var(--pale);color:var(--green);padding:5px 9px;border:1px solid #c8cfb6;margin-left:15px;letter-spacing:0}.section-top>.text-link{color:var(--muted)}.toolbar{display:flex;gap:20px;align-items:center}.search-wrap{display:flex;align-items:center;gap:12px;border:1px solid #cbbfa9;flex:1;padding:12px 15px;background:#fbf8ef}.search-wrap>span{font-size:25px;line-height:16px}.search-wrap input{width:100%;border:0;background:transparent;outline:none;color:var(--ink);font-size:12px}.search-wrap:focus-within{outline:none}kbd{border:1px solid var(--line);padding:1px 6px;color:var(--muted);font:11px var(--mono)}.sort-label{display:flex;gap:10px;align-items:center;white-space:nowrap;font:10px var(--mono);color:var(--muted)}select{color:var(--ink);border:1px solid #cbbfa9;padding:12px 30px 12px 12px;background:#fbf8ef;font-size:11px;border-radius:0}.filter-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:19px 0 23px}.filters{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #d4c9b6;padding:8px 12px;font:10px var(--mono);background:#f8f4ea}.chip:hover{background:#e9e6d8}.chip.selected{background:var(--green);color:#fff7df;border-color:var(--green)}.muted{color:var(--muted);font:9px var(--mono);white-space:nowrap}.sample-note{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#81775f;font:9px/1.6 var(--mono);margin-bottom:18px}.sample-note button{font:inherit;color:var(--green);text-decoration:underline;text-underline-offset:3px}.cafe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.cafe-card{background:#fcf9f0;border:1px solid #cbbfa9;box-shadow:3px 3px 0 #ded4bf;overflow:hidden;transition:transform .2s,box-shadow .2s}.cafe-card:hover{transform:translateY(-3px);box-shadow:3px 6px 0 #ded4bf}.card-art{position:relative;height:173px;background:#e4e7d5;overflow:hidden;border-bottom:1px solid #cbbfa9}.card-art.clay{background:#eddbca}.card-art.gold{background:#efdfb9}.card-art img{display:block;width:85%;height:245px;object-fit:contain;position:absolute;left:7.5%;top:-36px;image-rendering:pixelated;mix-blend-mode:multiply}.clay img{filter:sepia(.4) hue-rotate(330deg)}.gold img{filter:sepia(.6)}.card-body{padding:20px}.card-location{font:9px var(--mono);color:var(--muted);margin-bottom:10px}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-title{font:700 19px var(--mono);letter-spacing:-.9px;text-align:left;padding:0}.card-title:hover{text-decoration:underline;text-underline-offset:4px}.score{font:700 13px var(--mono);color:var(--green);white-space:nowrap}.score span{color:var(--orange);font-size:15px}.card-note{font-size:12px;color:#857568;line-height:1.8;margin:12px 0 17px;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.metrics{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.metric{font:8px var(--mono);padding:6px 7px;background:#eeeee2;color:#60704d}.card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed var(--line);padding-top:13px;color:var(--muted);font:8px var(--mono)}.card-footer button{font:9px var(--mono);color:var(--green)}footer{max-width:1280px;padding:24px 48px 30px;border-top:1px solid var(--line);margin:auto;display:flex;justify-content:space-between;font:8px var(--mono);color:var(--muted)}footer>div{display:flex;gap:20px;align-items:center}footer button{font:inherit;text-decoration:underline;text-underline-offset:3px}.footer-star{margin:0 8px;color:var(--orange)}dialog{width:min(620px,calc(100% - 30px));max-height:90dvh;padding:28px;border:2px solid var(--ink);background:var(--paper);color:var(--ink);box-shadow:7px 7px 0 #49382e55}dialog::backdrop{background:#2f2a22aa;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.dialog-heading h2{font-size:25px}.icon-button{font-size:26px;line-height:28px;width:30px;height:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:20px}form label{display:flex;flex-direction:column;gap:8px;font:10px var(--mono)}form input:not([type=checkbox]),form textarea,form select{width:100%;border:1px solid #c5b99f;background:#fffbf1;color:var(--ink);padding:11px;font:12px var(--sans);border-radius:0}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:2px}fieldset{border:1px solid var(--line);margin:0 0 20px;padding:14px}legend{font:10px var(--mono);padding:0 5px}legend span{font:9px var(--sans);color:var(--muted)}.rating-row{display:flex;align-items:center;justify-content:space-between;margin:8px 0;gap:15px;font:11px var(--mono)}.rating-row select{width:170px}.notes-label{margin-bottom:20px}textarea{resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:25px;margin-top:22px}.form-error{color:#a53a2c;font-size:12px;margin-top:12px}.empty{text-align:center;padding:50px 20px;border:1px dashed var(--line);background:#faf7ed}.empty img{mix-blend-mode:multiply;image-rendering:pixelated}.empty h3{font:20px var(--mono);margin:15px 0}.empty p{color:var(--muted);margin-bottom:22px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff8e7;padding:15px 22px;box-shadow:4px 4px 0 #b9a98b;z-index:5;max-width:90%;font:11px var(--mono)}.toast button{color:#e7cb88;text-decoration:underline;margin-left:15px;font:inherit}.detail-cover{height:180px;background:var(--pale);margin:-28px -28px 25px;overflow:hidden;text-align:center}.detail-cover img{height:250px;image-rendering:pixelated;margin-top:-35px}.detail-note{white-space:pre-wrap;line-height:1.9;font-size:14px;margin:22px 0}.detail-info{font:10px/1.8 var(--mono);color:var(--muted);margin:10px 0}.detail-ratings{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px;background:var(--pale);font:11px var(--mono)}.detail-ratings span{color:var(--green)}.detail-actions{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:25px}.danger{font:10px var(--mono);color:#a34c36}.detail-map{display:inline-block;margin-top:15px;color:var(--green);font:10px var(--mono)}[hidden]{display:none!important}@media(min-width:1500px){.hero{padding-block:80px}}@media(max-width:1280px){main{margin-inline:48px}.hero{padding-top:50px}h1{font-size:46px}}@media(max-width:1000px){.site-header{padding:20px 30px}.site-header nav{gap:20px}main{margin-inline:30px}.hero{gap:0}h1{font-size:36px;letter-spacing:-2px}.hero p{font-size:12px}.hero-actions{gap:16px}.hero-actions .button{font-size:10px;padding:12px}.hero-footnote{font-size:8px}.hero-footnote span{margin:0 4px}.cafe-grid{gap:17px}.card-body{padding:16px}.card-title{font-size:16px}.filter-row{align-items:flex-start}.sample-note{align-items:flex-start}.sample-note button{max-width:200px}.art-sticker{right:0;font-size:7px}.art-sticker strong{font-size:9px}footer{padding-inline:30px}}
@media(max-width:760px){.site-header{min-height:83px;padding:17px 20px}.brand{font-size:17px;gap:7px}.brand img{width:32px;height:32px}.site-header nav .nav-link{display:none}.site-header nav .nav-link.always{display:inline}.button.small{padding:9px;font-size:9px}main{margin-inline:20px}.hero{grid-template-columns:1fr;padding:38px 0 30px;gap:12px}.hero-copy{position:relative;z-index:1}h1{font-size:clamp(32px,7.5vw,49px);line-height:1.25;margin-top:20px}.hero p{font-size:13px}.hero-art{max-width:400px;width:100%;justify-self:center;margin-top:3px;padding-bottom:20px}.hero-art>img{margin-top:-10px}.art-sticker{right:0;bottom:0}.hero-footnote{margin-top:25px;font-size:8px}.hero-actions .button{font-size:11px;padding:13px 17px}.eyebrow{font-size:8px;letter-spacing:1.3px}.journal-ticker{padding-block:14px;gap:25px}.journal{padding-top:32px}.section-top{gap:10px;align-items:flex-end}h2{font-size:24px}.section-top>.text-link{font-size:8px;max-width:100px;text-align:right;line-height:1.8}.toolbar{flex-wrap:wrap;gap:12px}.search-wrap{flex-basis:100%}.sort-label{margin-left:auto;font-size:9px}.sort-label select{padding:8px 23px 8px 10px}.filter-row{margin-top:13px;display:block}.filters{gap:7px}.chip{font-size:9px;padding:8px 10px}#result-count{display:block;margin-top:15px}.sample-note{display:block;font-size:8px}.sample-note button{padding:8px 0;max-width:none}.cafe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card-art{height:150px}.card-art img{height:215px;top:-28px;width:100%;left:0}.card-title-row{align-items:flex-start}.card-title{font-size:16px}.score{font-size:11px}.card-body{padding:15px}.card-note{font-size:11px}.metrics{gap:5px}.metric{font-size:7px;padding:5px}.card-footer{font-size:7px;gap:4px}.card-footer button{font-size:8px}footer{padding:20px;display:block;line-height:1.8}footer>div{margin-top:12px;justify-content:space-between}dialog{padding:22px}.detail-cover{margin:-22px -22px 20px}.dialog-heading h2{font-size:23px}.form-grid{gap:12px}.rating-row select{width:150px}}@media(max-width:460px){.cafe-grid{grid-template-columns:1fr}.card-art{height:185px}.card-art img{height:270px;top:-38px}.card-title{font-size:21px}.card-body{padding:21px}.score{font-size:14px}.card-note{font-size:13px}.metric{font-size:9px;padding:6px 8px}.card-footer{font-size:9px}.card-footer button{font-size:10px}.form-grid{grid-template-columns:1fr}.detail-ratings{font-size:10px;padding:15px}.eyebrow{letter-spacing:1px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Map on top; underneath, the café panel runs sideways: search and filters on the left, a scrolling row of results on the right. */
body.stack{background-color:var(--paper);height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.map-wrap{flex:1 1 auto;min-height:220px;border-bottom:2px solid var(--ink)}
.cafe-map{height:100%;background:var(--pale);z-index:0}
.panel{flex:0 0 45dvh;min-height:340px;display:grid;grid-template-columns:370px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);margin:0 24px}
.panel-side{grid-column:1;grid-row:2;min-height:0;padding:18px 24px 22px 0;border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:thin}
.side-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.side-top .brand{font-size:19px;white-space:nowrap}
.side-top nav{display:flex;align-items:center;gap:14px}
.side-top .nav-link{padding:4px 0}
body.stack .side-top{container-type:inline-size;flex-direction:column;align-items:stretch;gap:6px}
body.stack .side-top .brand{width:100%;justify-content:center;text-align:center;gap:10px;font-size:clamp(26px,8.5cqi,36px);line-height:1.15;white-space:normal;align-items:flex-start}
body.stack .side-top .brand img{flex:none;width:28px;height:28px}
body.stack .side-top .brand span{white-space:normal;text-wrap:balance}
body.stack .sidebar-footer{width:100%;max-width:none;flex:none;margin:auto 0 0;padding:14px 0;border-top:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center}
body.stack .sidebar-footer .nav-link{font:12px var(--mono);padding:4px 0}
body.stack .side-top nav{justify-content:flex-end}
.side-tagline{margin:10px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.map-credits{margin:0 0 24px;font:12px/1.7 var(--sans);color:var(--muted)}
.panel-side .search-wrap{margin-top:14px;padding:11px 14px;border-radius:999px;background:#fffbf1;box-shadow:inset 0 1px 0 #fff,0 1px 0 #e9e0cc}
.panel-side .filters{margin:14px 0 4px;gap:6px}
.panel-side .chip{border-radius:999px;padding:7px 12px;font-size:9px}
.panel-side .filters .sort-chip{flex:none;padding-right:26px;color:var(--ink);font-family:var(--mono);font-weight:400;letter-spacing:normal}
.sort-chip option{font-family:var(--mono);font-weight:400}
.search-panel{display:contents}
.search-panel>summary{display:none}
#search:focus,#search:focus-visible{outline:none;box-shadow:none}
#search,#search::placeholder{font-family:var(--mono);font-weight:400;letter-spacing:normal}
.panel-meta:has(#add-top[hidden]){display:none}
.panel-meta{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:12px}
.panel-meta #add-top{margin-right:auto;padding:7px 12px;font-size:10px;box-shadow:2px 2px 0 var(--ink)}
.panel-meta select{padding:6px 24px 6px 10px;font-size:10px;border-radius:999px}
.panel-meta strong{color:var(--green)}
.panel-meta #result-count{display:inline;margin:0}
.panel-list{grid-column:2;grid-row:2;min-width:0;min-height:0;display:flex;flex-direction:column}
.map-note{margin:12px 0 0;white-space:normal;line-height:1.6}
.strip-head{grid-column:2;grid-row:1;display:flex;justify-content:center;align-items:center;padding:12px 0 8px}
.strip-arrows{display:flex;gap:10px}
.strip-arrow{width:32px;height:32px;border:1.5px solid var(--ink);border-radius:50%;background:#fcf9f0;font-size:18px;line-height:1;box-shadow:2px 2px 0 #49382e33}
.strip-arrow:hover{background:var(--pale)}
.spots{flex:1;min-height:0;list-style:none;margin:0;padding:0 0 14px 8px;display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#cbbfa9 transparent;align-items:stretch}
.spots::after{content:'';flex:0 0 var(--scroll-tail,0px)}
.spots{scroll-snap-type:x mandatory;scroll-padding-left:8px}
.spot{scroll-snap-align:start}
.strip-arrow:disabled{opacity:.35;cursor:default;box-shadow:none}
.map-wrap .strip-head{position:absolute;right:12px;bottom:24px;z-index:500;display:flex;padding:0}
.map-wrap .strip-arrow{width:40px;height:40px;border-radius:50%;font-size:24px}
@media(max-width:600px){
  .map-wrap .area-search{left:12px;transform:none;padding:9px 10px;font-size:11px}
  .map-wrap .area-search:hover{transform:translateY(-1px)}
}
/* Each café is a same-size wide tile divided by thin lines; opening one shows its full review inside the tile. */
.spot{flex:0 0 460px;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--line);transition:background .15s}
.spot:hover,.spot.hover{background:#efe8d6aa}
.spot.highlighted{background:#efe8d6aa;box-shadow:inset 0 3px 0 var(--green)}
.spot.open{background:#fcf9f0;box-shadow:inset 0 3px 0 var(--green)}
.spot-main{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:18px;align-items:start;flex:1 1 auto;min-height:0;width:100%;text-align:left;padding:18px 22px 14px 20px}
.spot.open .spot-main{flex:0 0 auto;padding-bottom:10px}
.spot .card-art{grid-column:2;grid-row:1;height:120px;border:1px solid #d6cbb5;border-radius:10px}
.spot .card-art img{width:150%;left:-25%;height:180px;top:-28px}
.spot-body{grid-column:1;grid-row:1;min-width:0}
.spot-name{font:600 21px/1.2 'Pixelify Sans','Space Mono',monospace;letter-spacing:-.3px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spot-rating{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;margin-top:6px;font:12px var(--mono);color:var(--muted)}
.spot-rating .score{font-size:14px}
.stars{color:var(--orange);letter-spacing:1px;font-size:14px}
.spot-loc{font:11px/1.6 var(--mono);color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spot-note{font-size:14.5px;line-height:1.6;color:#7d6e61;margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.spot .metrics{display:flex;margin-top:12px;gap:5px}
.spot .metric{border-radius:999px;padding:6px 10px;font-size:10px}
.spot.open .spot-note,.spot.open .spot-main .metrics{display:none}
.spot-detail{flex:1 1 auto;min-height:0;overflow-y:auto;padding:0 22px 16px 20px;font-size:14px;scrollbar-width:thin}
.spot-detail .detail-note{font-size:14.5px;line-height:1.65;margin:0 0 10px;white-space:pre-wrap}
.spot-detail .metrics{margin:0 0 10px}
.spot-detail .detail-info{margin:0 0 10px}
.spot-detail .detail-ratings{width:max-content;grid-template-columns:max-content;justify-items:center;text-align:center;border-radius:10px;padding:20px;font-size:16px;font-variant-numeric:tabular-nums;gap:14px}
.spot-detail .detail-ratings span{white-space:nowrap}
.detail-review{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:16px;margin-bottom:14px;align-items:start}
.detail-review .detail-ratings{position:relative;line-height:1.5}
.detail-review .detail-ratings::after{content:'';position:absolute;top:0;bottom:0;right:-16px;width:1px;background:var(--line)}
.detail-highlights{min-width:0;padding-left:14px}
.detail-highlights .plus-minus{margin:0}
.detail-highlights li{font-size:14px;overflow-wrap:anywhere}
.spot-detail .detail-map{margin-top:10px}
.spot-detail .detail-actions{margin-top:12px}
.spot-detail .detail-actions .button{padding:8px 12px;font-size:10px}
.panel-list .empty{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 20px clamp(28px,6dvh,56px);border:0;background:none}
.panel-list .empty img{flex:1 1 auto;min-height:0;width:520px;max-width:100%;height:clamp(200px,30dvh,360px);object-fit:contain}
.panel-list .empty h3,.panel-list .empty p,.panel-list .empty button{flex-shrink:0}
.panel-list .empty h3{font-size:clamp(24px,2.5vw,32px);margin:12px 0 8px}
.panel-list .empty p{font-size:15px;line-height:1.6;max-width:420px;margin-bottom:16px}
@media(max-width:860px){.panel-list .empty{min-height:300px}}
@media(max-width:860px){.map-wrap{flex:0 0 42dvh;min-height:200px}.panel{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;margin:0;padding:0 16px}.panel-side{padding:18px 0 16px;border-right:0;border-bottom:1px solid var(--line)}.panel-side .filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.chip{white-space:nowrap}.strip-head{display:none}.panel-list{display:block}.spots{height:330px;padding:0 0 14px}.spot{flex-basis:88vw}.spot-main{grid-template-columns:minmax(0,1fr) 96px;gap:14px;padding:16px 16px 12px 14px}.spot .card-art{height:96px}.spot-name{font-size:19px}}
/* Map buttons in the top-right corner: zoom, and show my location. */
.map-bar{border:2px solid var(--ink);border-radius:10px;overflow:hidden;box-shadow:3px 3px 0 #49382e33;background:#fcf9f0}
.map-bar button{display:block;width:34px;height:34px;padding:0;color:var(--ink);background:#fcf9f0;font:700 18px/34px var(--mono);text-align:center;border-bottom:1px solid var(--line)}
.map-bar button:last-child{border-bottom:0}
.map-bar button:hover{background:var(--pale)}
.cafe-map{font:11px var(--sans)}
/* Map credits: small and faded until you point at them. On phones they hide behind a faded ⓘ and show while it's held. */
.maplibregl-ctrl.maplibregl-ctrl-attrib{background:#fcf9f066;font:7px/1.3 var(--sans);padding:1px 3px;border-radius:4px 0 0 0;opacity:.6;transition:opacity .15s}
.maplibregl-ctrl.maplibregl-ctrl-attrib:is(:hover,:focus-within){opacity:1}
.credit-info{display:none}
@media(max-width:860px){
  .maplibregl-ctrl-bottom-right .maplibregl-ctrl.maplibregl-ctrl-attrib{position:relative;min-width:13px;min-height:13px;margin:0 1px 1px 0;padding:0 17px 0 0;background:transparent;opacity:1;font-size:9px;color:var(--muted)}
  .maplibregl-ctrl-attrib:not(.held,:focus-within) .maplibregl-ctrl-attrib-inner{display:none}
  .maplibregl-ctrl-attrib:is(.held,:focus-within) .maplibregl-ctrl-attrib-inner{padding:1px 6px;border-radius:8px;background:#fcf9f0dd}
  .credit-info{display:block;position:absolute;right:0;bottom:0;width:13px;height:13px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);opacity:.25;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
  .credit-info::before{content:'';display:block;width:13px;height:13px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E") center/13px no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E") center/13px no-repeat}
  .maplibregl-ctrl-attrib:is(.held,:focus-within) .credit-info{opacity:.8}
}
.maplibregl-ctrl-attrib a{color:inherit}
.cafe-pin{position:absolute;width:38px;height:38px;overflow:visible;cursor:pointer}
.pin-bubble{position:absolute;left:50%;bottom:0;display:flex;align-items:center;width:max-content;max-width:38px;height:38px;padding:5px;border-radius:50% 50% 50% 4px;transform:translateX(-50%) rotate(-45deg);background:#fcf9f0;border:2px solid var(--ink);box-shadow:3px 3px 0 #49382e44;transition:max-width .2s,transform .2s,border-radius .2s,background .15s}
.cafe-pin img{flex:none;width:24px;height:24px;transform:rotate(45deg);transition:transform .2s;image-rendering:pixelated;mix-blend-mode:multiply}
.pin-label{display:flex;align-items:center;gap:10px;min-width:0;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;transition:max-width .2s,opacity .15s,margin .2s}
.pin-label strong{min-width:0;overflow:hidden;text-overflow:ellipsis;font:600 15px/1.2 'Pixelify Sans',var(--mono)}
.pin-score{display:inline-flex;align-items:center;gap:4px;flex:none;color:var(--green);font:600 12px/1 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:0}
.pin-star{color:var(--orange);font:12px/1 var(--sans)}
.pin-bubble::after{content:'';position:absolute;left:50%;bottom:-7px;width:12px;height:12px;background:inherit;border-right:2px solid;border-bottom:2px solid;border-color:inherit;transform:translateX(-50%) rotate(45deg);opacity:0;pointer-events:none;transition:opacity .15s}
.cafe-pin:is(:hover,:focus-visible,.hover,.active) .pin-bubble{max-width:min(320px,75vw);border-radius:20px;transform:translateX(-50%)}
.cafe-pin:is(:hover,:focus-visible,.hover,.active) .pin-bubble::after{opacity:1}
.cafe-pin:is(:hover,:focus-visible,.hover,.active) img{transform:none}
.cafe-pin:is(:hover,:focus-visible,.hover,.active) .pin-label{max-width:260px;opacity:1;margin:0 7px 0 8px}
.cafe-pin.active .pin-bubble{--pin-edge:var(--green);background:#dfe5c9;border-color:var(--green)}
.cafe-pin:is(:hover,:focus-visible,.hover){z-index:1001!important}
.cafe-pin.active{z-index:1000!important}
.map-wrap{position:relative}
#add-top{position:absolute;top:12px;left:12px;z-index:500;padding:10px 14px;border-radius:999px;font:12px var(--mono)}
.map-actions{position:absolute;top:12px;left:12px;z-index:500;display:flex;align-items:center;gap:8px}
.map-actions #add-top{position:static;min-height:42px}
.search-toggle{display:none;width:42px;height:42px;place-items:center;background:#fcf9f0;border:2px solid var(--ink);border-radius:50%;box-shadow:2px 2px 0 #49382e33}
.search-toggle:hover,.search-toggle[aria-expanded=true]{background:var(--pale)}
.map-actions #add-top{border-radius:999px;box-shadow:3px 3px 0 #49382e33}
@media(max-width:600px){.map-wrap .area-search{top:auto;bottom:16px}}
.map-wrap{position:relative}
.area-search{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:500;padding:10px 18px;border:2px solid var(--ink);border-radius:999px;background:#fcf9f0;font:12px var(--mono);box-shadow:3px 3px 0 #49382e44}
.area-search:hover{background:var(--pale);transform:translateX(-50%) translateY(-1px)}
/* Your location: a sage dot with a soft pulse, and a faint ring for how accurate the reading is. */
.locate-control button{font-size:17px}
.locate-control svg{vertical-align:middle}
.locate-control.locating button{animation:locating 1s ease-in-out infinite}
@keyframes locating{50%{opacity:.35}}
.you-dot{width:18px;height:18px;border-radius:50%;background:var(--green);border:3px solid #fcf9f0;box-shadow:0 0 0 2px var(--ink),0 0 0 8px #596d4c33;animation:you-pulse 2s ease-out infinite}
@keyframes you-pulse{0%{box-shadow:0 0 0 2px var(--ink),0 0 0 0 #596d4c55}100%{box-shadow:0 0 0 2px var(--ink),0 0 0 14px #596d4c00}}
@media(prefers-reduced-motion:reduce){.you-dot,.locate-control.locating button{animation:none}}
/* Google details: real photos fill the picture square; hours and links sit in the opened card. */
.card-art.has-photo{background:#e9e1cf}
.spot .card-art.has-photo img,.card-art.has-photo img{position:absolute;inset:0;top:0;left:0;width:100%;height:100%;object-fit:cover;mix-blend-mode:normal;image-rendering:auto;filter:none}
.spot-hours{font:11px/1.6 var(--mono);color:var(--green);margin-top:2px}
.hours-box{padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.hours-list{list-style:none;margin:12px 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:11px/1.8 var(--mono);color:var(--muted)}
.hours-list li{padding:2px 0}
.hours-list .today{background:var(--pale);color:var(--ink);font-weight:700}
.detail-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px}
.detail-links a{font:11px var(--mono);color:var(--green)}
.lookup{margin:-4px 0 20px}
.lookup-top{display:flex;align-items:center;gap:12px}
.lookup-top .pin-help{margin:0}
.lookup-results{list-style:none;margin:10px 0 0;padding:0;border:1px solid #c5b99f;border-radius:10px;overflow:hidden;background:#fffbf1}
.lookup-results button{display:block;width:100%;text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);font:12px var(--sans)}
.lookup-results li:last-child button{border-bottom:0}
.lookup-results button:hover{background:var(--pale)}
.lookup-results strong{display:block;font:600 13px 'Pixelify Sans','Space Mono',monospace}
.lookup-results span{color:var(--muted);font-size:11px}
.lookup-chosen{display:flex;align-items:center;gap:12px;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fffbf1;font:11px/1.6 var(--sans);color:var(--muted)}
.lookup-chosen img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:none}
.lookup-chosen strong{color:var(--ink);font:600 13px 'Pixelify Sans','Space Mono',monospace}
.lookup-chosen .text-link{margin-left:auto;color:#a34c36;text-decoration:underline}
/* Log form: tags you tick look like the filter chips; pluses and minuses get their own boxes. */
.tag-field{display:flex;flex-wrap:wrap;gap:8px}
.tag-field legend span{font:9px var(--sans);color:var(--muted)}
.tag-check{flex-direction:row!important;align-items:center;gap:0!important;cursor:pointer}
.tag-check input{position:absolute;opacity:0;pointer-events:none}
.tag-check span{border:1px solid #d4c9b6;border-radius:999px;padding:7px 12px;font:10px var(--mono);background:#f8f4ea;transition:background .15s}
.tag-check:hover span{background:#e9e6d8}
.tag-check input:checked+span{background:var(--green);border-color:var(--green);color:#fff7df}
.tag-check input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}
.pros-cons{margin-bottom:16px}
.pros-cons label>span{font:10px var(--mono)}
.pros-cons b{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff8e8;margin-right:6px;font:700 12px var(--mono)}
.plus-label b{background:var(--green)}
.minus-label b{background:#b4553d}
.optional{color:var(--muted);font-size:9px}
/* Pluses and minuses on the cafés, like Night Java's highlights. */
.plus-minus{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:5px}
.plus-minus li{position:relative;padding-left:20px;font-size:13.5px;line-height:1.45}
.plus-minus li:before{position:absolute;left:0;top:0;font:700 15px/1.3 var(--mono)}
.plus-minus .plus{color:#4d6b3c}.plus-minus .plus:before{content:'+'}
.plus-minus .minus{color:#a34c36}.plus-minus .minus:before{content:'−'}
.spot-detail .plus-minus{margin:0 0 12px}
#rating-fields{display:grid;grid-template-columns:1fr 1fr;gap:2px 24px}
#rating-fields .rating-row{flex-direction:row!important;justify-content:space-between}
#rating-fields .rating-row select{width:auto;min-width:120px}
#lookup-btn{white-space:nowrap;flex:none}
@media(max-width:560px){#rating-fields{grid-template-columns:1fr}}
/* Photo strip in the opened card: swipe or scroll sideways, one photo at a time, with the photographer's credit. */
.photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 16px}
.photo-previews figure{margin:0;min-width:0}
.photo-previews img,.photo-pending{display:block;width:100%;height:100px;object-fit:cover;border-radius:8px;background:var(--pale)}
.photo-pending{padding:15px;font-size:11px}
.photo-previews figcaption{font:9px/1.5 var(--sans);color:var(--muted);margin:5px 0;overflow-wrap:anywhere}
.photo-edit-actions{display:flex;gap:12px;align-items:center}
.photo-edit-actions label,.photo-edit-actions button{font:10px var(--mono);color:var(--green);text-decoration:underline;cursor:pointer;padding:3px 0}
.photo-edit-actions label{position:relative;overflow:hidden}
.photo-edit-actions input{position:absolute;inset:0;opacity:0;cursor:pointer}
.photo-edit-actions label:focus-within{outline:2px solid var(--green);outline-offset:2px}
.visit-photos .pin-help{line-height:1.6}
.photo-add{margin-bottom:8px}
@media(max-width:460px){.photo-previews{grid-template-columns:repeat(2,minmax(0,1fr))}}
.photo-gallery{position:relative;margin:0 0 12px}
.photo-strip{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:10px}
.photo-strip::-webkit-scrollbar{display:none}
.photo-strip figure{position:relative;flex:0 0 100%;margin:0;height:140px;scroll-snap-align:start;border-radius:10px;overflow:hidden;background:#e9e1cf}
.photo-strip img{width:100%;height:100%;object-fit:cover;display:block}
.photo-strip figcaption{position:absolute;left:5px;bottom:5px;max-width:calc(100% - 10px);padding:1px 4px;border-radius:3px;background:#2f2a2280;color:#fff8e8;font:8px/1.3 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.photo-strip figcaption a{color:inherit;text-decoration:none}
.photo-strip figcaption a:hover,.photo-strip figcaption a:focus-visible{text-decoration:underline;text-underline-offset:2px}
.photo-step{position:absolute;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:1.5px solid var(--ink);background:#fcf9f0e6;font-size:16px;line-height:1;box-shadow:2px 2px 0 #49382e33}
.photo-step:hover{background:var(--pale)}
.photo-step.prev{left:8px}.photo-step.next{right:8px}
/* Closed cards: a big photo strip on top, text below; the corner thumbnail only appears once a card is opened. */
.spot:not(.open) .spot-main{grid-template-columns:minmax(0,1fr);padding-top:12px}
.spot:not(.open) .spot-main .card-art{display:none}
.spot>.photo-gallery,.spot>.gallery-art{flex:none;margin:14px 16px 0}
.spot>.photo-gallery figure{height:135px}
.spot>.photo-gallery img{cursor:pointer}
.spot>.gallery-art{height:135px;border:1px solid #d6cbb5;border-radius:10px;cursor:pointer}
.spot>.gallery-art img{width:70%;left:15%;height:220px;top:-34px}
/* + and − sit close to their text and line up with it. */
.plus-minus li{padding-left:16px;font-size:13.5px;line-height:1.5}
.plus-minus li:before{width:11px;text-align:center;font:700 14px/1.5 var(--mono)}
/* The closed card's photos grow to fill whatever height the text below doesn't need. */
.spot>.photo-gallery,.spot>.gallery-art{flex:1 1 auto;min-height:120px;height:auto}
.spot>.photo-gallery .photo-strip{height:100%}
.spot>.photo-gallery figure{height:100%}
.spot:not(.open) .spot-main{flex:0 0 auto}
.spot>.gallery-art img{width:auto;height:150%;left:50%;top:-18%;transform:translateX(-50%)}
/* Cards scale with the screen: about two fit across the café row at any desktop size. */
.spot{flex-basis:clamp(300px,45%,600px)}
.spot>.photo-gallery,.spot>.gallery-art{min-height:80px}
@media(max-width:860px){.spot{flex-basis:88vw}}

/* Card summaries wrap naturally; each card scrolls when its content is taller than the row. */

.spot-summary,.spot-info,.spot-highlights{min-width:0}
.spot:not(.open) .spot-summary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;margin-top:7px}
.spot:not(.open) .spot-highlights:has(.plus-minus){border-left:1px solid var(--line);padding-left:12px}
.spot:not(.open) .spot-highlights .plus-minus{margin:0}
.spot:not(.open) .spot-highlights li,.spot .detail-highlights li{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.spot:not(.open) .spot-name,.spot.open .spot-name{font-size:26px}
.spot .spot-loc,.spot .spot-hours{font-size:14px}
.spot:not(.open) .spot-info .spot-loc{margin-top:0;white-space:normal}
.spot:not(.open) .spot-main .metrics{flex-wrap:nowrap;overflow:hidden}
.spot:not(.open) .spot-main .metric{white-space:nowrap}

/* Opened card: Google Maps, Yelp and website sit up top as real buttons. */
.spot.open .spot-main{cursor:pointer}
.spot-main .detail-links{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;margin:12px 0 4px}
.spot.open .spot-main{grid-template-columns:minmax(0,1fr) minmax(110px,36%);gap:6px 16px}
.spot.open .spot-body,.spot.open .spot-summary,.spot.open .spot-info{display:contents}
.spot.open .spot-name{grid-column:1;grid-row:1}
.spot.open .spot-loc{grid-column:1;grid-row:2}
.spot.open .spot-hours{grid-column:1;grid-row:3}
.spot.open .card-art{grid-column:2;grid-row:1 / span 3;width:100%;height:auto;aspect-ratio:3 / 2;align-self:start}
.spot.open .detail-links{grid-column:1 / -1;grid-row:4;margin-top:8px}
.spot.open .detail-links a{justify-content:center;text-align:center;white-space:nowrap}
.spot.open .detail-links .link-website{grid-column:auto;justify-self:auto}
.spot-main .detail-links a{display:inline-flex;align-items:center;padding:7px 11px;white-space:nowrap;border:2px solid var(--ink);border-radius:999px;background:#fcf9f0;color:var(--ink);font:11px var(--mono);text-decoration:none;box-shadow:2px 2px 0 var(--ink);transition:transform .15s,box-shadow .15s,background .15s}
.spot-main .detail-links a:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--ink);background:var(--pale)}
.spot-main .detail-links a.link-main{background:var(--green);color:#fff8e8}
.spot-main .detail-links a.link-main:hover{background:#465c3b}
.spot-main{cursor:pointer}
.spot-toggle{display:block;max-width:100%;padding:0;font:inherit;letter-spacing:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spot:not(.open) .detail-links{gap:7px;margin:8px 0 6px}
.spot .detail-links a{flex:0 0 auto;min-height:34px;justify-content:center;font:600 13px/1.25 var(--sans);padding:7px 9px;white-space:nowrap}
.spot:not(.open) .detail-links a{text-align:center;border-width:1px;box-shadow:1px 1px 0 #49382e33}
.spot{container-type:inline-size}



@media(max-width:860px){
  .panel{display:flex;flex-direction:column}
  .panel-side{display:contents}
  .side-tagline{display:none}
  .panel-side .search-wrap{order:0;flex:none}
  .panel-side .filters{order:1;flex:none}
  .panel-meta{order:2;flex:none}
  .map-note{order:3;flex:none}
  .panel-list{order:4;flex:none}
  .side-top{order:5;flex:none;padding:14px 0;border-top:1px solid var(--line)}
  .side-top .brand{font-size:clamp(14px,4vw,19px)}
}

/* Responsive card typography and layout. Sizes follow the card, not the viewport. */
body.stack .panel{min-width:0}
.spot{min-width:0;container-type:inline-size;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#cbbfa9 transparent}
.spot-main,.spot-detail{padding-inline:clamp(12px,4cqi,22px)}
.spot:not(.open) .spot-body{height:auto;min-height:0}
.spot:not(.open) .spot-name,.spot.open .spot-name{font-size:clamp(22px,5.8cqi,28px);line-height:1.2;white-space:normal;overflow:visible;text-overflow:clip}
.spot .spot-toggle{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
.spot .spot-loc,.spot .spot-hours{font:400 clamp(14px,3.6cqi,16px)/1.5 var(--sans);white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
.spot:not(.open) .spot-highlights li,.spot .detail-highlights li{font-size:clamp(14px,3.8cqi,16px);line-height:1.5;overflow-wrap:break-word}
.spot:not(.open) .spot-summary{gap:clamp(10px,3.5cqi,18px);margin-top:4px}
.spot:not(.open) .spot-main .metrics{flex-wrap:wrap;overflow:visible}
.spot .metric{font:400 clamp(11px,2.8cqi,12px)/1.4 var(--sans);padding:5px 8px;white-space:normal}
.spot>.photo-gallery,.spot>.gallery-art{flex:1 0 clamp(120px,18dvh,190px);min-height:120px;margin-inline:clamp(12px,4cqi,20px)}
.spot.open .spot-main{grid-template-columns:minmax(0,1fr) minmax(110px,42%);gap:14px;padding-top:18px;padding-bottom:16px}
.spot.open .spot-body{display:flex;flex-direction:column;align-self:stretch;grid-column:1;grid-row:1}
.spot.open .spot-heading{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center}
.spot.open .spot-heading .spot-toggle{margin-inline:auto;text-align:center}
.spot.open .spot-heading .spot-loc{margin-top:8px;text-align:center}
.spot.open .spot-heading .spot-hours{margin-top:6px;text-align:center}
.spot.open .spot-summary,.spot.open .spot-info{display:block}
.spot.open .spot-summary{margin-top:4px}
.spot.open .spot-loc{margin-top:0}
.spot.open .spot-hours{margin-top:6px}
.spot.open .card-art{grid-column:2;grid-row:1;align-self:start}
.spot.open .detail-links{margin:10px 0 0;gap:8px}
.spot .detail-links{flex-wrap:wrap;gap:8px}
.spot .detail-links a{font-size:clamp(12px,3.3cqi,14px);line-height:1.3;min-height:38px;padding:8px 10px}
.spot-detail{flex:0 0 auto;overflow:visible;padding-top:4px}
.spot-detail .detail-ratings{font-size:clamp(14px,3.8cqi,16px);padding:16px;gap:10px;line-height:1.3}
.spot-detail .detail-ratings>div{font-size:14px;line-height:1.3}
.spot-detail .detail-ratings span{display:block;margin-top:4px;font-size:16px;line-height:1.3}
.detail-review{gap:14px}
.detail-review .detail-ratings::after{right:-14px}
.detail-highlights{padding-left:10px}
.spot .hours-list,.spot .detail-info{font:400 clamp(13px,3.4cqi,15px)/1.7 var(--sans);overflow-wrap:break-word}
.spot .detail-actions{flex-wrap:wrap;gap:12px}
.spot .detail-actions .button,.spot .detail-actions .danger{font-size:12px}
.spot:not(.open) .detail-links{margin:12px 0 0;gap:8px}
.spot:not(.open) .spot-summary>.hours-box{grid-column:1 / -1;margin:0;text-align:center}
@container(max-width:310px){
  .detail-review{grid-template-columns:minmax(0,1fr)}
  .detail-review .detail-ratings{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 10px;font-size:13px}
  .detail-review .detail-ratings::after{display:none}
  .detail-highlights{padding:10px 0 0;border-top:1px solid var(--line)}
}
@media(min-width:861px){
  .panel .strip-head{padding:16px 0 22px}
  .panel .strip-arrows{gap:14px}
  .panel .strip-arrow{display:grid;place-items:center;width:46px;height:46px;padding:0;border-width:2px;font-size:25px}
  body.stack .panel{position:relative;--sidebar-width:clamp(260px,27vw,370px);flex:0 0 56dvh;min-height:0;grid-template-columns:var(--sidebar-width) minmax(0,1fr);margin-inline:clamp(16px,2vw,32px)}
  body.stack .panel::before{content:'';position:absolute;top:0;bottom:0;left:calc(var(--sidebar-width) - 1px);width:2px;background:#b7aa92;pointer-events:none}
  body.stack .map-wrap{min-height:140px}
  body.stack .side-top .brand{font-size:clamp(17px,6.4cqi,23px);gap:8px;align-items:center;white-space:nowrap}
  body.stack .side-top .brand span{white-space:nowrap;text-wrap:nowrap}
  .panel-side{grid-row:1 / -1;display:flex;flex-direction:column;gap:20px;padding:24px 20px 0 0;border-right:0}
  .panel-side .side-top{flex:none;padding:0;margin-top:auto}
  .panel-side .side-tagline{flex:none;margin:0;padding:0 4px;text-align:center;line-height:1.7}
  .panel-side .search-panel{display:block;flex:none;margin:0}
  .panel-side .search-wrap{flex:none;margin:0;padding:12px 14px}
  .panel-side .filters{flex:none;margin:22px 0 0;gap:8px;align-items:center}
  .panel-side .map-note{margin:0}
  body.stack .sidebar-footer{position:sticky;bottom:0;min-height:44px;padding:12px 0;margin-top:auto;background:var(--paper)}
  .panel-side .chip{font-size:11px}
  .panel-side .search-wrap input,.panel-meta select{font-size:13px}
  .spot{flex-basis:clamp(340px,48%,600px)}
}
@media(max-width:860px){
  body.stack{padding-bottom:calc(48px + env(safe-area-inset-bottom,0px))}
  .search-toggle{display:grid}
  .panel-side .search-panel{display:block;order:0;flex:none;margin:12px 0 14px}
  .panel-side .search-panel:not([open]){display:none}
  .panel-side .search-panel>summary{display:none}
  .search-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fffbf1;font:12px var(--mono);cursor:pointer;list-style:none}
  .search-panel>summary::-webkit-details-marker{display:none}
  .search-panel>summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}
  .search-caret{font:20px/1 var(--sans);transition:transform .15s}
  .search-panel[open] .search-caret{transform:rotate(180deg)}
  .panel-side .search-panel .search-wrap{margin-top:10px}
  .panel-side .search-panel .filters{margin:16px 0 0}
  .map-actions .search-toggle{position:relative;z-index:2;flex:none}
  .map-actions .search-panel{display:none}
  .map-actions .search-panel[open]{display:block;position:absolute;top:0;left:0;z-index:1;width:min(440px,calc(100vw - 24px));margin:0;padding:0 12px 12px 50px;border:2px solid var(--ink);border-radius:22px;background:var(--paper);box-shadow:3px 3px 0 #49382e33}
  .map-actions .search-toggle[aria-expanded=true]{background:transparent;border-color:transparent;box-shadow:none}
  .map-actions .search-panel>summary{display:none}
  .map-actions .search-wrap{min-width:0;height:42px;margin:0;padding:0 4px;border:0;background:transparent;box-shadow:none}
  .map-actions .search-wrap>span,.map-actions .search-wrap kbd{display:none}
  .map-actions .search-wrap input{min-width:0;font-size:16px}
  .map-actions .filters{flex-wrap:wrap;gap:8px;margin:16px 0 0 -38px}
  .map-actions .chip{flex:none;border-radius:999px;padding:8px 11px;font:12px var(--mono)}
  .map-actions .sort-chip{width:calc(4ch + 36px);padding-right:26px}
  .map-actions:has(.search-panel[open]) #add-top{visibility:hidden}
  body.stack .side-top{display:none}
  body.stack .sidebar-footer{position:fixed;left:0;right:0;bottom:0;z-index:1000;min-height:calc(48px + env(safe-area-inset-bottom,0px));gap:12px;padding:6px 16px calc(6px + env(safe-area-inset-bottom,0px));background:var(--paper);box-shadow:0 -3px 12px #49382e0d}
  body.stack .sidebar-footer .brand{flex:1;min-width:0;justify-content:flex-start;text-align:left;font-size:clamp(16px,4vw,20px);line-height:1.2;gap:8px;white-space:nowrap}
  body.stack .sidebar-footer .brand img{flex:none;width:28px;height:28px}
  body.stack .sidebar-footer>.nav-link{flex:none}
  body.stack .panel{padding-inline:12px}
  .strip-head{display:flex;order:3;flex:none;justify-content:flex-end;padding:10px 0}
  .map-wrap .strip-arrow{display:grid;place-items:center;width:42px;height:42px;padding:0;border:2px solid var(--ink);border-radius:50%;font-size:21px;box-shadow:2px 2px 0 #49382e33}
  .map-wrap .area-search{display:inline-flex;align-items:center;justify-content:center;height:42px;top:auto;bottom:24px;left:12px;padding:0 12px;transform:none}
  .map-wrap .area-search:hover{transform:translateY(-1px)}
  .panel-list{display:flex;flex-direction:column;flex:1 1 auto;min-height:280px}
  .spots{flex:1 1 auto;height:auto;min-height:0;padding:0;gap:10px;scroll-padding-left:0;scrollbar-width:none}
  .spots::-webkit-scrollbar{display:none}
  .spot:not(.open) .spot-main{padding-bottom:10px}
  .spot{flex-basis:100%;border-right:0}
  .spot>.photo-gallery,.spot>.gallery-art{flex:none;height:clamp(100px,21dvh,200px);min-height:0}
  .spot:not(.open) .spot-main{flex:none;min-height:var(--card-text,0)}
  .measuring .spot:not(.open) .spot-main{min-height:0}
  .spot:not(.open) .spot-body{display:flex;flex-direction:column;align-self:stretch}
  .spot:not(.open) .spot-summary{flex:1 1 auto;grid-template-rows:1fr auto}
  .spot:not(.open) .spot-info{grid-column:1;grid-row:1}
  .spot:not(.open) .spot-summary>.hours-box{grid-column:1;grid-row:2;align-self:end}
  .spot:not(.open) .spot-highlights{grid-column:2;grid-row:1 / span 2}
  .spot.open .spot-body,.spot.open .spot-summary,.spot.open .spot-info{display:contents}
  .spot.open .spot-heading{grid-column:1;grid-row:1 / span 3;align-self:stretch}
  .spot.open .spot-name{grid-column:1;grid-row:1}
  .spot.open .spot-loc{grid-column:1;grid-row:2}
  .spot.open .spot-hours{grid-column:1;grid-row:3}
  .spot.open .card-art{grid-column:2;grid-row:1 / span 3;height:clamp(88px,24cqi,120px);aspect-ratio:auto}
  .spot.open .detail-links{grid-column:1 / -1;grid-row:4}
  .spot.open .detail-links{flex-wrap:nowrap;gap:8px}
  .panel-side .search-wrap{margin-top:12px}
  .panel-side .search-wrap input{font-size:16px}
  .panel-side .chip{font-size:12px;padding:9px 12px}
  .panel-side .filters{align-items:center;margin:12px 0 14px;padding-bottom:3px;gap:8px}
  .panel-meta select{font-size:13px;min-height:36px}
  body.stack .side-top .brand{font-size:clamp(16px,4vw,20px);line-height:1.2;gap:8px;align-items:center}
  body.stack .side-top .brand span{white-space:nowrap}
  .side-top .brand img{flex:none}
  .lookup-top{flex-wrap:wrap}
  .lookup-top .pin-help{flex-basis:100%}
  #review-form input:not([type=checkbox]),#review-form textarea,#review-form select{font-size:16px}
}
/* Opened card header: the title box (name, location, today's hours) and the photo are the same size side by side,
   and the Google Maps / Yelp buttons sit centered under the hours. */
.spot.open .spot-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:10px 16px;align-items:stretch}
.spot.open .spot-body,.spot.open .spot-summary,.spot.open .spot-info{display:contents}
.spot.open .spot-heading{grid-column:1;grid-row:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;text-align:center}
.spot.open .card-art{grid-column:2;grid-row:1;align-self:stretch;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto}
.spot.open .detail-links{grid-column:1;grid-row:2;justify-content:center;margin:0}
.spot.open .spot-heading{min-height:clamp(110px,32cqi,160px)}
/* Name, hours and links move as one centred group beside the photo, so the links sit right under the hours. */
.spot.open .spot-main{grid-template-rows:1fr auto auto 1fr;row-gap:0}
.spot.open .spot-heading{grid-row:2;min-height:0}
.spot.open .detail-links{grid-row:3;margin-top:10px;align-self:start}
.spot.open .card-art{grid-row:1 / -1;min-height:clamp(110px,32cqi,160px)}
.spot.open .spot-main{grid-template-rows:auto auto;align-content:start}
.spot.open .spot-heading{grid-row:1;align-self:end}
.spot.open .detail-links{grid-row:2}
.spot.open .card-art{grid-row:1 / span 2}
.spot.open .spot-main{grid-template-columns:minmax(0,1fr) minmax(0,36%)}
/* Opened card body mirrors the header: + / − list under the title, ratings under the photo at the photo's width. */
.spot.open .detail-review{grid-template-columns:minmax(0,1fr) minmax(0,36%);column-gap:16px}
.spot.open .detail-highlights{grid-column:1;grid-row:1;padding:10px 14px 0 0;border-top:1px solid var(--line)}
.spot.open .detail-review .detail-ratings{grid-column:2;grid-row:1;width:100%;grid-template-columns:minmax(0,1fr)}
.spot.open .detail-review .detail-ratings::after{display:none}
/* Closed cards: tags sit centered in a box. */
.spot:not(.open) .hours-box .metrics{flex-wrap:wrap;overflow:visible;justify-content:center;margin:0;gap:6px}
/* Closed cards center their title, location, hours and links like the opened card. */
.spot:not(.open) .spot-name,.spot:not(.open) .spot-loc,.spot:not(.open) .spot-hours{text-align:center}
.spot:not(.open) .spot-name .spot-toggle{display:block;margin-inline:auto;text-align:center}
.spot:not(.open) .detail-links{justify-content:center}
/* Closed cards keep both link buttons side by side in the left column, shrinking on narrow cards. */
.spot:not(.open) .detail-links{flex-wrap:nowrap;gap:clamp(4px,1.5cqi,8px)}
.spot:not(.open) .detail-links a{flex:0 1 auto;min-width:0;font-size:clamp(10px,3cqi,14px);padding:7px clamp(6px,2cqi,10px);overflow:hidden;text-overflow:ellipsis}
/* Desktop card sizing: everything scales with the window height. */
@media(min-width:861px){
  /* Short windows give the panel more of the height (the map keeps its 140px minimum), and the arrows shrink with the window height. */
  body.stack .panel{flex-basis:min(max(56dvh,460px),calc(100dvh - 140px));--arrow:clamp(32px,calc(7dvh - 20px),46px);--strip-top:clamp(4px,calc(2dvh - 4px),16px);--strip-bottom:clamp(6px,calc(2.6dvh - 4px),22px)}
  .panel .strip-head{padding:var(--strip-top) 0 var(--strip-bottom)}
  .panel .strip-arrow{width:var(--arrow);height:var(--arrow);font-size:calc(var(--arrow) * .54)}
  /* Every closed card's text block is as tall as the tallest one (measured in app.js), so the photos above fill what is left and all match. */
  .spot>.photo-gallery,.spot>.gallery-art{flex:1 1 0;height:auto;min-height:clamp(80px,calc(25dvh - 60px),180px)}
  /* Inside that text block the tag bar is pinned to the bottom, with the divider running down to it. */
  .spot:not(.open) .spot-main{flex:none;min-height:var(--card-text,0)}
  .measuring .spot:not(.open) .spot-main{min-height:0}
  .spot:not(.open) .spot-body{display:flex;flex-direction:column;align-self:stretch}
  .spot:not(.open) .spot-summary{flex:1 1 auto;grid-template-rows:1fr auto}
  .spot:not(.open) .spot-summary>.hours-box{grid-row:2}
  .spot:not(.open) .spot-info{display:flex;flex-direction:column;justify-content:center}
}
/* Filters: sort, all cafés and open now on one centered row, the tag filters centered on the rows below. */
.panel-side .filters,.map-actions .filters{flex-wrap:wrap;justify-content:center;overflow:visible}
.filters::after{content:'';order:1;flex-basis:100%;height:0;margin:8px 24px;border-top:1px solid var(--line)}
.filters [data-filter]:not([data-filter=all],[data-filter=open]){order:2}
/* The outlet tag's plug is drawn as thin line art so it matches the other tag symbols. */
.plug{width:1em;height:1em;vertical-align:-.15em;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
/* Opened card: the + / − list sits left-aligned beside the ratings, with a small left margin. */
.spot.open .detail-highlights{padding-left:12px}
/* Short desktop windows: the sidebar drops its tagline and tightens up so the filters stay visible. */
@media(min-width:861px) and (max-height:820px){
  .panel-side{gap:12px;padding-top:14px}
  .panel-side .side-tagline{display:none}
  .panel-side .search-wrap{padding:9px 12px}
  .panel-side .filters{margin-top:14px;gap:6px}
  .panel-side .chip{padding:6px 10px}
  .filters::after{margin-block:4px}
  body.stack .sidebar-footer{min-height:36px;padding:8px 0}
  /* The tag bar on closed cards tightens before the photos give up any height. */
  .spot:not(.open) .spot-summary>.hours-box{padding:4px 8px}
  .spot:not(.open) .hours-box .metrics{gap:2px 4px}
  .spot:not(.open) .hours-box .metric{padding:2px 6px;font-size:11px}
}
@media(min-width:861px) and (max-height:640px){
  .panel-side{gap:8px;padding-top:10px}
  .panel-side .filters{margin-top:10px}
  .panel-side .chip{font-size:10px;padding:5px 9px}
  .spot:not(.open) .spot-summary>.hours-box{padding:2px 6px}
  .spot:not(.open) .hours-box .metric{padding:1px 5px}
  .spot:not(.open) .spot-summary{gap:8px}
  .spots{padding-bottom:4px}
  body.stack .sidebar-footer{min-height:28px;padding:4px 0}
}
/* About page: request a café, buy me a coffee, who made this, and (for the owner) the request inbox. */
.about-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start;margin:8px 0 40px}
.about-side{display:grid;gap:24px}
.about-card{background:#fcf9f0;border:1.5px solid var(--ink);border-radius:18px;padding:26px 28px;box-shadow:4px 4px 0 #49382e22}
.about-card h2{margin:0 0 10px}
.about-card>p{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 18px}
.request-card form{display:grid;gap:14px}
.request-card form label{font-size:11px}
.request-card .optional{font:10px var(--sans);color:var(--muted);margin-left:4px}
.request-card form .form-error{margin:0}
.request-card .button{justify-self:start}
.request-thanks{margin:0;font:13px var(--mono);color:var(--green)}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.coffee-button{gap:6px}
.maker-card .text-link{font-size:12px;color:var(--green)}
.requests-inbox{margin:0 0 40px}
.inbox-empty{margin:0}
.inbox-list{list-style:none;margin:0;padding:0}
.inbox-list li{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.inbox-list li:first-child{border-top:0}
.inbox-list strong{font:600 15px 'Pixelify Sans','Space Mono',monospace}
.inbox-area{font-size:12px;color:var(--muted);margin-left:6px}
.inbox-list p{margin:6px 0 0;font-size:13px;line-height:1.6;white-space:pre-wrap}
.inbox-list time{display:block;margin-top:6px;font:10px var(--mono);color:var(--muted)}
.inbox-list button{flex:none;font:11px var(--mono);color:var(--green)}
@media(max-width:760px){.about-grid{grid-template-columns:1fr;gap:18px}.about-side{gap:18px}.about-card{padding:22px 20px}}
/* About page: the pixel café beside who made this and the coffee link; the request form runs full width below. */
.hero.about-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;padding:48px 0 36px}
.about-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
@media(max-width:760px){.about-grid{grid-template-columns:1fr}}
@media(max-width:760px){.hero.about-top{grid-template-columns:1fr;gap:24px;padding-top:28px}}
.credits-card{margin:0 0 40px}
.credits-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.credits-list li{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.credits-list h3{margin:0 0 6px;font:600 16px 'Pixelify Sans','Space Mono',monospace}
.credits-list h3 a{color:var(--ink);text-decoration:none}
.credits-list h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.credits-list p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.credits-list .credit-support{margin-top:8px}
.credits-list .credit-support a{color:var(--green);text-underline-offset:3px}
@media(max-width:1000px){.credits-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.credits-list{grid-template-columns:1fr}}
.maker-head{display:flex;align-items:center;gap:18px}
.maker-text{min-width:0}
.maker-head h2{margin:0 0 10px}
.maker-name{display:block}
.maker-cup{flex:none;width:120px;height:120px;overflow:visible}
.pixel-heart{display:inline-block;width:.8em;height:.69em;margin:0 .08em;vertical-align:-.02em}
/* The coffee cup drawn as thin line art, matching the tag symbols. */
.cup-icon{width:1em;height:1em;vertical-align:-.15em;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.coffee-card .coffee-button{margin:2px 0 16px}
.coffee-card>p{margin-bottom:0}
/* Desktop sidebar bar: by sonalikon, buy me a coffee and about, with little cups between; phones drop "by sonalikon" but keep buy me a coffee, a cup and about. */
body.stack .sidebar-footer{justify-content:space-between}
body.stack .sidebar-footer :is(.maker-link,.coffee-link){color:var(--muted)}
body.stack .sidebar-footer :is(.maker-link,.coffee-link):hover{color:var(--green)}
body.stack .sidebar-footer .bar-sep{flex:none;color:var(--muted);opacity:.6;font-size:13px}
@media(max-width:860px){body.stack .sidebar-footer :is(.maker-link,.maker-link+.bar-sep){display:none}body.stack .sidebar-footer{gap:8px}body.stack .sidebar-footer>.nav-link{font-size:11px}}
/* About page: the story behind the journal, set like a short letter. */
.story-card p{max-width:72ch;margin:0 0 12px;font-size:15px;line-height:1.8;color:var(--ink)}
.story-card p:last-child{margin-bottom:0;color:var(--muted)}
/* On phones the site name shortens to "sf wfh cafés". */
.brand-short{display:none}
@media(max-width:860px){.brand-long{display:none}.brand-short{display:inline}}
