.wheel-filter-entry{width:min(100%,410px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;color:#fff;text-align:center}
.wheel-play-mode{width:min(100%,410px);display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.wheel-play-mode button{font:inherit;font-size:.84rem;font-weight:900;min-height:44px;padding:8px 12px;border:2px solid #191919;border-radius:999px;color:#191919;background:#fff8e7;cursor:pointer;box-shadow:2px 2px #191919}
.wheel-play-mode button.active{background:#ffe66b}
.wheel-rule{max-width:410px;margin:0;color:#fff;font-size:.76rem;line-height:1.4;text-align:center;font-weight:700}
.wheel-filter-entry button,#map-filter-toggle{min-height:44px;padding:9px 16px;border:2px solid #191919;border-radius:999px;background:#ffe66b;color:#191919;font:inherit;font-weight:900;cursor:pointer;box-shadow:3px 3px #191919}
.wheel-filter-entry span{font-size:.78rem;font-weight:800;overflow-wrap:anywhere}
#wheel-filter-slot{width:min(100%,410px)}
.map-filter-slot{margin:0 auto 1.2rem;max-width:1400px}
#map-filter-toggle{display:none}
.preview-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.7rem;background:#ffe66b;border:2px solid #191919;border-radius:18px;padding:1rem;box-shadow:5px 5px #191919}
.preview-filters.at-wheel{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;background:#fff8e7}
.preview-filters label{font-size:.85rem;font-weight:800;display:grid;gap:.3rem;min-width:0;overflow-wrap:anywhere}
.preview-filters select{width:100%;min-width:0;min-height:44px;padding:.55rem;border:2px solid #191919;border-radius:8px;background:#fff;font:inherit}
.preview-filters button{min-height:44px;background:#f02c18;color:#fff;border:2px solid #191919;border-radius:8px;font-weight:900;padding:.65rem;cursor:pointer}
.filter-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;grid-column:1/-1;font-size:.9rem}
.filter-panel-heading strong{line-height:1.35}
#filter-close{display:none;background:#fff;color:#191919;padding:.45rem .7rem}
.preview-filters.at-wheel #filter-close{display:block}
#price-filter-help{grid-column:1/-1;margin:0;font-size:.75rem;line-height:1.4}
#filter-status{margin:0;grid-column:span 5;align-self:center;font-size:.85rem;font-weight:700;line-height:1.35}
.preview-filters.at-wheel #filter-status{grid-column:1/-1}
.preview-filters.at-wheel #map-to-wheel{display:none}
.preview-note{font-size:.82rem;line-height:1.4}
.restaurant-card,.wheel-result{overflow-wrap:anywhere}
.hk-map[hidden],.street-map[hidden]{display:none!important}
.skip-link{left:8px;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}.skip-link:focus{clip-path:none;width:auto;height:auto;overflow:visible}
@media(max-width:900px){.preview-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#filter-status{grid-column:1/-1}}
@media(min-width:761px) and (max-width:900px){.site-header{height:67px}.main-nav{display:none;position:absolute;top:66px;left:0;right:0;background:var(--cream);padding:20px 25px;border-bottom:2px solid var(--ink);flex-direction:column;align-items:flex-start;gap:18px}.main-nav.open{display:flex}.main-nav a{font-size:16px}.nav-cta{margin-left:auto}.menu-toggle{display:block}}
@media(max-width:760px){.map-filter-slot{margin:0 1rem 1.2rem}#map-filter-toggle{display:block;width:100%;text-align:center}.map-filter-slot .preview-filters{display:none;margin-top:10px}.map-filter-slot .preview-filters.open{display:grid}.map-filter-slot .preview-filters.open #filter-close{display:block}}
@media(max-width:520px){.preview-filters,.preview-filters.at-wheel{grid-template-columns:1fr}.preview-filters label,.preview-filters.at-wheel label{grid-column:1}.preview-filters #map-to-wheel{grid-column:1}#filter-status{grid-column:1}.lucky-wheel-panel{padding-inline:16px}}
/* P2 visual pass: keep the established wheel and colour system, tighten its flow. */
.lucky-wheel-panel{gap:9px;padding-block:22px 25px}
.lucky-wheel-heading h2{margin:3px 0 2px}
.wheel-play-mode{gap:6px}
.wheel-play-mode button{padding:6px 10px;min-height:42px}
.wheel-rule-details{width:min(100%,410px);color:#fff;text-align:center;font-size:.76rem;line-height:1.4;font-weight:800}
.wheel-rule-details summary{cursor:pointer;list-style:none;min-height:28px;display:flex;align-items:center;justify-content:center;text-decoration:underline;text-underline-offset:3px}
.wheel-rule-details summary::-webkit-details-marker{display:none}
.wheel-rule-details summary:after{content:' ＋';text-decoration:none}
.wheel-rule-details[open] summary:after{content:' −'}
.wheel-rule-details p{margin:5px auto 0;max-width:400px;background:#fff8e7;color:#191919;padding:8px 10px;border-radius:9px}
.lucky-wheel-panel .wheel-control{padding:12px 16px;gap:6px}
.wheel-stage{margin:3px auto 0}
.lucky-wheel-panel .wheel-control .wheel-disc{width:min(100%,330px)}
.lucky-wheel-panel .wheel-control label{margin-top:0}
.lucky-wheel-panel .wheel-control #wheel-spin{min-height:48px}
.lucky-wheel-panel .wheel-control p{margin:0}
.wheel-simple-filters{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;width:100%;align-items:end}
.wheel-simple-filters label{font-size:.75rem;font-weight:800}
.wheel-simple-filters select{width:100%;min-width:0;min-height:42px}
@media(max-width:520px){.wheel-simple-filters{gap:4px 7px}.wheel-simple-filters label{font-size:.68rem}}
.lucky-wheel-panel .wheel-result{padding:14px 18px}
.lucky-wheel-panel .wheel-result h3{margin:0 0 4px}
.wheel-result.cuisine-stage{background:#ffe66b;border-width:4px}
.wheel-result.cuisine-stage h3{font-size:clamp(28px,3vw,38px);color:#191919}
.wheel-result .wheel-continue{align-self:stretch;min-height:48px;margin-top:7px;border:2px solid #191919;border-radius:11px;background:#ed2c18;color:#fff;font:inherit;font-size:1rem;font-weight:900;box-shadow:4px 4px #191919;cursor:pointer}
.wheel-filter-entry{gap:5px}
.wheel-filter-entry button{padding:7px 14px;min-height:42px}
@media(max-width:760px){.lucky-wheel-panel{order:-1;padding-block:17px 22px;gap:7px;border-top:0;border-bottom:2px solid var(--ink)}.lucky-wheel-panel .wheel-control .wheel-disc{width:min(100%,255px)}.wheel-stage{width:min(100%,265px)}}
@media(max-width:520px){.lucky-wheel-heading h2{font-size:36px}.lucky-wheel-heading p{font-size:12px}.lucky-wheel-panel .wheel-control .wheel-disc{width:min(100%,230px)}.wheel-stage{width:min(100%,240px)}.lucky-wheel-panel .wheel-control{padding:10px 13px}.wheel-play-mode button{font-size:.77rem;padding:5px 8px}.wheel-filter-entry span{font-size:.72rem}}
@media(min-width:761px) and (max-width:900px){.hero-copy h1{font-size:clamp(48px,6.3vw,56px)}}
/* P3.1: selection detail and shared address point, scoped to the private preview. */
.restaurant-card{cursor:pointer}
.restaurant-card:focus-visible{outline:3px solid #ed2c18;outline-offset:2px}
.restaurant-card.selected{box-shadow:inset 0 0 0 3px #ed2c18,4px 4px #191919;background:#fff5cf}
.street-pin.shared-point{background:#ffe66b;color:#191919;border:3px solid #191919;min-width:38px;min-height:38px;font-weight:900}
.street-pin.selected{outline:4px solid #ed2c18;outline-offset:2px}
.map-pin-choices{position:absolute;z-index:11;top:70px;right:12px;width:min(290px,calc(100% - 24px));max-height:45%;overflow:auto;background:#fff8e7;border:2px solid #191919;border-radius:12px;box-shadow:4px 4px #191919;padding:12px;display:grid;gap:8px}
.map-pin-choices[hidden],.selected-place-detail[hidden]{display:none}
.map-pin-choices button,.explore-nearby{min-height:44px;border:2px solid #191919;border-radius:8px;background:#ffe66b;color:#191919;font:inherit;font-weight:900;cursor:pointer;padding:8px 12px;text-align:left}
.selected-place-detail{margin:12px 0;padding:13px 15px;border:2px solid #191919;border-radius:11px;background:#ffe66b;box-shadow:3px 3px #191919;overflow-wrap:anywhere}
.selected-place-detail strong{font-size:1.1rem}
.selected-place-detail p{margin:5px 0;font-size:.86rem;line-height:1.45}
.neighbourhood-pin.selected circle{fill:#ffe66b;stroke:#ed2c18;stroke-width:5;r:19}
.map-hotspot.selected circle{stroke:#ed2c18;stroke-width:8}
/* P3.2: readable evidence, touch targets and a map-only network fallback. */
.selected-place-detail h4{margin:0 0 8px;font-size:1.18rem;line-height:1.2}
.selected-place-detail .detail-caution,.restaurant-card .detail-caution{font-weight:800;color:#9c2617}
.selected-place-detail .detail-sources{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:10px 0}
.detail-label{font-size:.78rem;font-weight:900;width:100%}
.detail-sources a,.detail-official,.detail-story,.card-story{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border:2px solid #191919;border-radius:8px;background:#fff8e7;color:#191919;font-size:.8rem;font-weight:900;text-decoration:none;overflow-wrap:anywhere}
.source-note-label{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border:1px dashed #191919;border-radius:8px;background:#fff8e7;color:#4d4740;font-size:.76rem;font-weight:800}
.detail-official,.detail-story{margin:6px 6px 2px 0}
.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.detail-actions button{min-height:44px;border:2px solid #191919;border-radius:8px;background:#fff8e7;color:#191919;font:inherit;font-weight:900;padding:8px 12px;cursor:pointer}
.detail-actions .explore-nearby{background:#ffe66b}
.restaurant-card .detail-review,.restaurant-card .detail-caution{font-size:.75rem;line-height:1.4;margin:5px 0}
.restaurant-card .focus-place{min-height:44px;padding:10px 0;font-size:.8rem}
.restaurant-card .source-buttons a,.restaurant-card .card-story{min-height:44px}
.restaurant-card .card-story{margin-top:7px;background:#ffe66b}
.street-map-fallback{position:absolute;z-index:12;top:74px;left:14px;right:14px;background:#fff8e7;border:3px solid #191919;border-radius:13px;box-shadow:4px 4px #191919;padding:14px;max-width:380px}
.street-map-fallback[hidden]{display:none}
.map-fallback-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.map-fallback-actions button{min-height:44px;border:2px solid #191919;border-radius:8px;background:#ffe66b;color:#191919;font:inherit;font-weight:900;padding:8px 10px;cursor:pointer}
.map-fallback-actions button+button{background:#fff}
@media(max-width:760px){.street-pin,.street-pin.shared-point{min-width:44px;min-height:44px}.map-mode-switch button{min-height:44px}.map-tools button{min-width:44px;min-height:44px}}
/* P4.1: private fortune prototype, using the existing warm brand vocabulary. */
.fortune-section{background:#f7a591;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
.fortune-inner{max-width:1400px;margin:auto;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(22px,4vw,60px);align-items:center}
.fortune-copy h2{font-size:clamp(38px,5.2vw,74px);line-height:1;margin:10px 0 16px;color:var(--ink)}
.fortune-copy>p:not(.eyebrow){font-size:1.1rem;font-weight:800;line-height:1.5}
#fortune-draw,.fortune-again{border:3px solid var(--ink);border-radius:999px;box-shadow:5px 5px var(--ink);background:#ffe66b;color:var(--ink);font:inherit;font-weight:900;padding:13px 22px;min-height:48px;cursor:pointer}
.fortune-filter-note{font-size:.8rem!important;font-weight:700!important;opacity:.82}
.fortune-ticket{position:relative;min-height:320px;padding:clamp(22px,4vw,45px);background:#fff8e7;border:4px solid var(--ink);border-radius:28px;box-shadow:10px 10px var(--ink);overflow-wrap:anywhere}
.fortune-ticket:before,.fortune-ticket:after{content:'';position:absolute;width:23px;height:23px;border-radius:50%;background:#f7a591;top:50%;transform:translateY(-50%)}
.fortune-ticket:before{left:-13px;border-right:3px solid var(--ink)}.fortune-ticket:after{right:-13px;border-left:3px solid var(--ink)}
.fortune-ticket-emblem{display:grid;place-items:center;border:3px solid var(--ink);width:55px;height:55px;border-radius:50%;background:#ffe66b;font-size:1.65rem;font-weight:900;transform:rotate(-10deg);margin-bottom:20px}
.fortune-ticket.revealed{animation:fortune-reveal .42s ease-out}
.fortune-grade{display:inline-block;padding:7px 14px;border:2px solid var(--ink);border-radius:999px;background:#ed2c18;color:#fff;font-size:.82rem;font-weight:900}
.fortune-origin{margin:12px 0 4px;font-size:.76rem;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.fortune-ticket h3{font-size:clamp(26px,3vw,40px);line-height:1.15;margin:7px 0 13px}
.fortune-line{font-size:clamp(18px,1.7vw,23px);font-weight:900;line-height:1.4;margin:0 0 19px}
.fortune-advice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}
.fortune-advice p{margin:0;padding:12px;border:2px solid var(--ink);border-radius:12px;background:#d0e8aa;line-height:1.4;font-weight:700}
.fortune-advice p:last-child{background:#e7d0ff}
.fortune-advice strong{display:block;font-size:.82rem;margin-bottom:5px}
.fortune-disclaimer{font-size:.75rem;line-height:1.4;opacity:.76;margin:16px 0 0}
.fortune-no-matches{font-size:.8rem;font-weight:800;color:#9c2617}
.fortune-again{font-size:.8rem;padding:9px 15px;min-height:44px;margin-top:13px}
.fortune-link-button{min-height:44px;border:2px solid var(--ink);border-radius:9px;background:#ffe66b;color:var(--ink);font:inherit;font-weight:900;padding:8px 12px;cursor:pointer}
@keyframes fortune-reveal{from{opacity:.35;transform:translateY(9px) rotate(-1deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.fortune-ticket.revealed{animation:none}}
@media(max-width:760px){.fortune-inner{grid-template-columns:1fr}.fortune-ticket{min-height:270px;box-shadow:6px 6px var(--ink)}.fortune-copy h2{font-size:clamp(38px,10vw,58px)}.fortune-copy>p:not(.eyebrow){font-size:.95rem}.fortune-advice{grid-template-columns:1fr}}
/* P4 final: branded vertical fortune paper, cinnabar and ink. */
.fortune-section{background:#f2e6cf}
.fortune-inner{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.fortune-ticket{box-sizing:border-box;width:min(100%,510px);min-height:690px;margin:0 auto;padding:24px 28px 22px;background:#d83b27;color:#17130f;border:3px solid #17130f;border-radius:6px;box-shadow:9px 9px #17130f;outline:2px solid #f4d98a;outline-offset:-12px;text-align:center;display:flex;flex-direction:column;align-items:stretch;gap:0}
.fortune-ticket:before,.fortune-ticket:after{display:none}
.fortune-ticket-header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #17130f;padding:0 2px 13px;text-align:left}
.fortune-ticket-brand{display:flex;align-items:center;gap:8px;font-size:.72rem;font-weight:1000;line-height:1.05;white-space:pre-line}
.fortune-ticket-logo{width:40px;height:40px}
.fortune-ticket-kind{font-weight:900;font-size:.78rem;letter-spacing:.08em;text-align:right}
.fortune-number{margin:27px 0 6px;font-size:.78rem;font-weight:900;letter-spacing:.22em}
.fortune-grade{display:block;border:0;background:none;color:#17130f;border-radius:0;font-size:clamp(36px,5vw,58px);line-height:1.12;font-family:'Songti SC','Noto Serif CJK TC','Noto Serif',serif;font-weight:900;padding:4px 0 13px;letter-spacing:.05em}
.fortune-origin{margin:0 0 16px;font-size:.73rem;letter-spacing:.1em}
.fortune-line{border-top:2px solid #17130f;border-bottom:2px solid #17130f;margin:0 0 18px;padding:22px 4px;font-size:clamp(21px,2vw,27px);font-weight:900;line-height:1.4;min-height:100px;display:grid;place-items:center}
.fortune-advice{grid-template-columns:1fr 1fr;gap:9px;margin:0 0 17px;text-align:left}
.fortune-advice p,.fortune-advice p:last-child{background:#fff2d5;border:1.5px solid #17130f;border-radius:3px;padding:10px 12px;min-height:95px;font-size:.9rem}
.fortune-advice strong{display:inline-block;border-bottom:2px solid #d83b27;margin:0 0 6px;font-size:1rem}
.fortune-subject{background:#f4d98a;border:1.5px solid #17130f;border-radius:3px;padding:12px;margin:0 0 11px;text-align:left}
.fortune-subject strong{font-size:.7rem;letter-spacing:.08em}
.fortune-subject h3{margin:4px 0;font-size:1.13rem;line-height:1.25;font-family:inherit}
.fortune-subject p{margin:2px 0 0;font-size:.78rem;line-height:1.35}
.fortune-disclaimer{margin:auto 0 0;padding:10px 0 7px;font-size:.7rem;opacity:1;line-height:1.35}
.fortune-ticket-footer{border-top:1px solid #17130f;padding-top:8px;display:flex;justify-content:space-between;font-size:.65rem;font-weight:900;letter-spacing:.08em}
.fortune-again{align-self:center;margin:14px 0 0;padding:8px 17px;min-height:44px;background:#fff2d5;border-radius:3px;box-shadow:3px 3px #17130f;font-size:.78rem}
.fortune-placeholder{font-family:'Songti SC','Noto Serif CJK TC',serif;font-size:1.5rem;font-weight:900;margin:auto 0}
.fortune-no-matches{color:#17130f;background:#fff2d5;padding:8px;border:1px solid #17130f;border-radius:3px}
@media(max-width:760px){.fortune-inner{grid-template-columns:1fr}.fortune-ticket{min-height:640px;padding:20px 21px 19px}.fortune-advice{grid-template-columns:1fr 1fr}.fortune-advice p,.fortune-advice p:last-child{min-height:105px}}
@media(max-width:390px){.fortune-ticket{padding-inline:19px}.fortune-grade{font-size:38px}.fortune-advice{gap:6px}.fortune-advice p{font-size:.78rem;padding:8px}}
/* P4 visual polish: the red paper stands alone; the repeat control is outside it. */
.fortune-result-wrap{display:flex;flex-direction:column;align-items:center;min-width:0;width:100%}
.fortune-result-wrap .fortune-ticket{margin:0 auto}
.fortune-result-wrap .fortune-again{align-self:center;margin:22px 0 4px;padding:10px 19px;background:#ffe66b;border-radius:999px;font-size:.85rem}
.fortune-result-wrap .fortune-again[hidden]{display:none}
.fortune-number{margin:23px 0 8px;font-size:.68rem;letter-spacing:.26em;opacity:.82}
.fortune-grade{font-size:clamp(58px,6.5vw,82px);line-height:1.08;padding:5px 0 8px;letter-spacing:.025em}
.fortune-ticket[data-grade="supreme"] .fortune-grade{font-size:clamp(40px,4.9vw,61px)}
.fortune-ticket[data-grade="bright"] .fortune-grade{font-size:clamp(50px,5.8vw,72px)}
.fortune-origin{margin:6px 0 20px;font-size:.7rem}
.fortune-line{min-height:94px;padding:24px 8px;margin-bottom:19px;font-size:clamp(22px,2.15vw,29px);line-height:1.42}
.fortune-advice p,.fortune-advice p:last-child{display:flex;align-items:flex-start;gap:9px;border-radius:2px;min-height:100px}
.fortune-advice strong{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;background:#d83b27;color:#fff2d5;border:1px solid #17130f;border-radius:3px;margin:0;font-family:'Songti SC','Noto Serif CJK TC',serif;font-size:1.12rem;line-height:1}
@media(max-width:760px){.fortune-grade{font-size:clamp(55px,14vw,72px)}.fortune-ticket[data-grade="supreme"] .fortune-grade{font-size:clamp(40px,10vw,53px)}.fortune-ticket[data-grade="bright"] .fortune-grade{font-size:clamp(49px,12vw,65px)}.fortune-line{font-size:clamp(22px,6vw,27px)}.fortune-advice p,.fortune-advice p:last-child{gap:6px}}

/* Anchor targets must clear the sticky header after in-page navigation. */
section[id], main > section { scroll-margin-top: 90px; }
@media (max-width: 760px) { section[id], main > section { scroll-margin-top: 80px; } }
