/* Detail screens use their own toolbar; never stack the global header above it. */
body[data-page=guide]>header,body[data-page=restaurant]>header{display:none}
body[data-page=guide]>main,body[data-page=restaurant]>main{padding:0 0 96px;min-height:100dvh}
body[data-page=guide]>.demo{display:none}
.collection-page{position:relative;background:white}
.collection-toolbar{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:8px 16px;background:#fff;border-bottom:1px solid #eee}
.collection-toolbar strong{font-size:15px;text-align:center;line-height:1.6}
.collection-toolbar a,.collection-toolbar button,.collection-place-actions button{display:grid;place-items:center;flex-shrink:0;min-width:44px;height:44px;border:0;background:none;color:var(--ink);padding:8px}
.collection-toolbar .icon{width:26px;height:26px}
.collection-switch{position:sticky;top:72px;z-index:11;display:flex;margin:12px auto -58px;width:210px;padding:4px;border-radius:13px;background:var(--accent);box-shadow:0 2px 12px #0002}
.collection-switch button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;border:0;border-radius:9px;min-height:40px;background:none;color:white;font:inherit;font-size:14px}
.collection-switch button[aria-pressed=true]{color:var(--accent);background:white}
.collection-cover{position:relative;height:360px;background:#382529;overflow:hidden}
.collection-cover>img{height:100%;width:100%;object-fit:cover}
.collection-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(#0002,transparent 35%,#171015)}
.collection-wordmark{position:absolute;top:90px;left:0;right:0;text-align:center;z-index:1;font:bold 32px Georgia,serif;color:white}
.collection-cover h1{position:absolute;bottom:34px;right:20px;left:20px;z-index:1;color:white;font-size:32px;line-height:1.6;margin:0}
.collection-image-label{position:absolute;bottom:10px;right:20px;z-index:1;color:#d9d1d6;font-size:10px}
.collection-intro{background:#171015;color:white;padding:12px 20px 26px}
.collection-intro>p{font-size:15px;line-height:1.9;margin:0 0 18px}
.collection-progress{display:flex;gap:14px;align-items:center;font-size:12px}
.collection-progress progress{height:6px;flex:1;min-width:0;max-width:240px;accent-color:#cf8396}
.collection-restaurants{padding:20px var(--page-inset)}
.collection-place{padding:0 0 28px;margin:0 0 24px;border-bottom:1px solid var(--line)}
.collection-place>a{display:block}
.collection-place>a>img{display:block;width:100%;height:auto;aspect-ratio:1.15;object-fit:cover;border-radius:12px;background:#faf6f4}
.image-credit{display:block;color:var(--muted);font-size:10px;margin:5px 0 14px}
.collection-place-row{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}
.collection-place-row h2{font-size:18px;line-height:1.7;margin:0 0 4px}
.collection-place-row p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}
.collection-place-actions{display:flex;gap:0}
.collection-place-actions .icon{width:27px;height:27px}
.collection-place-actions button[aria-pressed=true]{color:var(--accent);background:var(--wash);border-radius:50%}
.roko-map{position:relative;min-height:260px;background:#eeefeb;overflow:hidden;isolation:isolate}
.roko-map>.map-canvas{position:absolute;inset:0;direction:ltr}
.map-status{position:absolute;z-index:2;top:42%;right:16px;left:16px;text-align:center;font-size:12px;padding:10px;border-radius:8px;background:#ffffffdf;color:#625b5f;margin:0 auto;max-width:320px;pointer-events:none}
.map-status[hidden]{display:none}
.is-map>.roko-map{height:calc(100dvh - 150px);min-height:400px}
.map-selection{padding:14px 20px;background:white;border-top:1px solid var(--line)}
.map-selection p{font-size:12px;color:var(--muted);margin:0}
.map-selection a{display:flex;flex-direction:column;gap:5px}
.map-selection span{font-size:12px;color:var(--muted)}
.roko-map-pin{border:3px solid white;border-radius:50% 50% 50% 0;background:var(--accent);color:#fff;min-width:40px;height:40px;box-shadow:0 2px 8px #0004;font-family:inherit;font-weight:700;font-size:17px}
.restaurant-hero{position:relative;height:300px;isolation:isolate;background:#eeefeb}
#restaurant-visual,.restaurant-hero .roko-map,.restaurant-hero .place-cover{height:300px;min-height:300px;border-radius:0;margin:0}
.hero-toolbar{position:absolute;inset:12px 16px auto;display:flex;justify-content:space-between;z-index:5}
.hero-view-toggle{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:6;display:flex;padding:3px;background:#fff;border-radius:20px;border:1px solid #ded9db}
.hero-view-toggle button{display:flex;align-items:center;gap:4px;background:none;border:0;border-radius:18px;padding:6px 12px;min-height:34px;font:inherit;font-size:11px;white-space:nowrap}
.hero-view-toggle button[aria-pressed=true]{background:var(--accent);color:white}
.hero-view-toggle .icon{width:14px;height:14px}
.hero-place-name{position:absolute;bottom:20px;right:20px;left:20px;z-index:4;margin:0!important;font-size:44px!important;font-weight:900;line-height:1.5!important;color:#251b21;text-shadow:0 1px 8px #fff,0 0 25px white;pointer-events:none}
.hero-pick{position:absolute;top:70px;right:20px;z-index:4;background:#fff;color:var(--accent);padding:5px 10px;border-radius:18px;font-size:10px}
.restaurant-hero .cover-toolbar,.restaurant-hero .pick-badge{display:none}
.restaurant-hero .photo-counter{bottom:4px;right:auto;left:10px;font-size:9px}
.restaurant-hero .maplibregl-ctrl-bottom-right,.restaurant-hero .maplibregl-ctrl-bottom-left{font-size:9px}
.place-title-row{justify-content:flex-end;margin:0!important}
.place-identity .place-actions{margin:0 0 8px!important}
.place-tags{margin-top:0!important}
.sentiment-scores{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}
.sentiment-score{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:11px}
.score-ring{display:grid;place-items:center;border:1.5px solid #dedbdd;border-radius:50%;width:66px;height:66px;font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;color:#43856b}
.sentiment-score.okay .score-ring{color:#8a7551}.sentiment-score.disliked .score-ring{color:#a6636b}
@media(min-width:761px){.collection-cover{height:420px}.collection-place>a>img{aspect-ratio:1.6}.collection-restaurants{max-width:680px;margin:auto}.restaurant-hero,#restaurant-visual,.restaurant-hero .roko-map,.restaurant-hero .place-cover{height:340px}.hero-place-name{font-size:52px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Photo-first detail, binary recommendations and user-contributed food photos. */
.restaurant-hero.photo-only .cover-toolbar{display:flex}
.restaurant-hero.photo-only .pick-badge{display:block;top:65px;bottom:auto}
.restaurant-hero.photo-only .hero-place-name{color:white;text-shadow:0 2px 12px #0009;bottom:28px}
.restaurant-hero.photo-only:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0009);pointer-events:none;z-index:1}
.restaurant-hero.photo-only .photo-counter,.restaurant-hero.photo-only .gallery-dots{z-index:5}
.price-scale{display:inline-flex;white-space:nowrap;gap:2px;font-family:Arial,sans-serif;font-size:18px;font-weight:700;vertical-align:middle}
.price-scale>span{color:#d8d3d5}.price-scale>.filled{color:#35272d}
.place-identity .place-title-row{align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px!important}
.place-identity .place-meta{font-size:13px;line-height:2;margin:0}
.recommendation-summary{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.recommendation-summary h2{margin:0;font-size:17px}.recommendation-summary p{margin:4px 0 0}
.recommendation-summary .score-ring{flex-shrink:0;width:76px;height:76px;font-size:25px;color:var(--accent)}
.binary-votes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.binary-votes .btn{font-size:12px;min-height:46px;padding:8px}
.feature-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature-columns h3{font-size:13px;margin:8px 0}.feature-columns p{font-size:12px;line-height:2}.feature-columns p>span{color:var(--accent);font-size:18px;margin-left:6px}
.popular-food-rail{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x proximity;padding-bottom:8px}
.popular-food{flex:0 0 155px;scroll-snap-align:start}.popular-food img,.food-photo-empty{width:155px;height:140px;border-radius:10px;object-fit:cover;background:#f2eeee}
.food-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:10px;color:var(--muted)}
.popular-food h3{font-size:14px;margin:8px 0 2px}.popular-food p{font-size:11px;color:var(--muted);margin:0}
.food-actions{display:flex;gap:10px;margin:16px 0}.food-actions .btn{font-size:12px;flex:1;padding:8px}
.experience-dialog{width:min(440px,calc(100% - 28px));max-height:85dvh;overflow:auto;border:0;border-radius:18px;padding:22px;color:var(--ink);box-shadow:0 20px 90px #0005;font-family:inherit}
.experience-dialog::backdrop{background:#24171e80}.experience-dialog h2{font-size:19px}.experience-dialog label{display:block;margin:16px 0 8px;font-size:13px}.experience-dialog input,.experience-dialog select{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px}.experience-dialog [hidden]{display:none}.dialog-close{float:left}
.uploaded-photos summary{cursor:pointer;padding:12px 0;font-size:12px}.uploaded-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.uploaded-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.uploaded-grid p{font-size:11px;margin:2px 0}.uploaded-grid .btn{font-size:10px;padding:4px}
#comment-compose[hidden]{display:none}.my-note>button{margin:8px 0 16px}.map-directions{margin-top:12px}
@media(max-width:360px){.feature-columns{grid-template-columns:1fr}.food-actions{flex-direction:column}}

body[data-page=food]>header{display:none}body[data-page=food]>main{padding:0 0 90px}.food-page{max-width:760px;margin:auto}.food-page-cover{display:block;width:100%;aspect-ratio:4/3;max-height:440px;object-fit:cover}.food-page-cover.food-photo-placeholder{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:#f5f2f3;color:#71676a}.food-page-cover svg{width:60px;height:60px}.food-page-body{padding:18px}.food-page h1{font-size:25px;margin:0 0 8px}.food-restaurant{display:inline-flex;align-items:center;gap:8px;font-weight:600}.food-restaurant svg{width:18px}.food-tags{display:flex;gap:6px;flex-wrap:wrap}.food-tags span{font-size:12px;padding:4px 9px;background:#f5f2f3;border-radius:20px}.food-directions{margin:16px 0}.food-page p{overflow-wrap:anywhere}
