/* Shared layout contract: one width, header, page inset and bottom navigation. */
:root{--app-width:840px;--page-inset:24px;--page-top:16px;--section-gap:28px}
body>header{max-width:var(--app-width);height:68px;padding:0 var(--page-inset);border:0;gap:16px}body>header .brand{font-size:36px}body>header .city{margin-right:auto;border:0;padding:0;font-size:11px}.city .icon{width:17px;height:17px}main{max-width:var(--app-width);padding:var(--page-top) var(--page-inset) 100px;min-height:calc(100vh - 68px)}body>.demo{max-width:var(--app-width);margin:-70px auto 90px;padding:0 var(--page-inset);text-align:right;font-size:9px;line-height:1.8}body.restaurant-view>.demo{display:none}.site-menu{position:relative;z-index:25}.site-menu>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;cursor:pointer;color:var(--ink)}.site-menu>summary::-webkit-details-marker{display:none}.site-menu .icon{width:26px;height:26px}.menu-links{position:absolute;left:0;top:48px;width:190px;border:1px solid var(--line);background:white;border-radius:12px;padding:6px;box-shadow:0 8px 30px #34232915}.menu-links a{display:block;padding:10px 14px;min-height:44px;font-size:13px;border-radius:8px}.menu-links a:hover{background:var(--wash)}body>nav,body.restaurant-view>nav{bottom:0;border-radius:0;width:min(100%,var(--app-width));box-shadow:none;border:0;border-top:1px solid var(--line);padding:8px 16px max(8px,env(safe-area-inset-bottom));background:#fffffff5}body>nav a,body.restaurant-view>nav a{background:none!important;gap:4px;font-size:10px}body>nav a[aria-current=page] .icon{stroke-width:2.3}.back{margin:0 0 10px;min-height:36px;font-size:12px;padding:0}.page-heading h1,.intro h1,.profile-top h1,.auth h1{font-size:29px;line-height:1.5;margin:0 0 8px}.page-heading p,.intro>p{font-size:13px;line-height:1.9;margin:0 0 18px}.guide-count{display:block;font-size:11px;color:var(--muted);margin:0 0 5px}.intro{max-width:none}.filters{margin:16px 0 24px}.profile-top{padding:0 0 16px;margin:0 0 14px}.profile-top .small{font-size:11px}.tabs{margin:18px 0 24px}.auth{margin:0 auto;padding:0;border:0;border-radius:0;box-shadow:none;max-width:440px}.auth>.back{margin-bottom:12px}.auth>p{font-size:13px}.auth label{margin-top:20px}.auth input{min-height:48px}.empty{padding:30px 18px}.restaurant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.search-bar{display:flex;align-items:center;gap:10px;background:#f0eeee;border-radius:12px;padding:0 14px;min-height:50px}.search-bar .icon{color:#8b8287;width:22px;height:22px}.search-bar input{min-width:0;flex:1;width:100%;background:transparent;border:0;outline:0;font-size:15px;color:var(--ink);padding:12px 0}.search-bar:focus-within{outline:2px solid #b78494;outline-offset:2px}.search-bar input::placeholder{color:#887e84}.home-search .search-results:empty{display:none}.result-count{font-size:12px;margin:16px 0}.quick-links{display:flex;gap:9px;overflow-x:auto;padding:14px 0 4px;scrollbar-width:none;overscroll-behavior-x:contain}.quick-links::-webkit-scrollbar{display:none}.quick-links a{display:flex;flex-shrink:0;align-items:center;gap:7px;min-height:42px;padding:8px 16px;border-radius:30px;background:var(--accent);color:#fff;font-size:13px;white-space:nowrap}.quick-links .icon{height:18px;width:18px}.home-section{margin-top:var(--section-gap)}.home-section .section-top{margin:0 0 14px}.home-section .section-top h2{font-size:18px}.home-section .section-top a{font-size:12px;font-weight:600}.featured-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;overscroll-behavior-x:contain}.featured-rail::-webkit-scrollbar{display:none}.featured-guide{position:relative;flex:0 0 31%;min-width:0;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#624b4c;scroll-snap-align:start}.featured-guide img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s}.featured-guide::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 15%,#26171d32 35%,#24131cda 100%)}.featured-guide>div{position:absolute;bottom:16px;right:14px;left:12px;z-index:1}.featured-guide h3{font-size:18px;font-weight:800;line-height:1.65;color:#fff;margin:0 0 4px}.featured-guide p{font-size:12px;color:#f6edf0;margin:0}.featured-guide:hover img{transform:scale(1.035)}.place-body{padding-left:var(--page-inset);padding-right:var(--page-inset)}.restaurant-view main{max-width:var(--app-width)}
@media(max-width:760px){:root{--page-inset:16px;--page-top:10px;--section-gap:26px}body>header{height:62px}body>header .brand{font-size:33px}body>header .city{font-size:10px}main{min-height:calc(100vh - 62px)}.site-menu>summary{width:38px;height:44px}.site-menu .icon{width:24px;height:24px}.search-bar{min-height:46px;padding:0 12px;border-radius:10px}.search-bar input{font-size:14px;padding:10px 0}.quick-links{padding-top:12px;gap:8px}.quick-links a{font-size:11px;min-height:38px;padding:7px 13px}.quick-links .icon{width:16px;height:16px}.home-section .section-top h2{font-size:17px}.home-section .section-top a{font-size:11px}.featured-rail{gap:10px;margin-left:calc(-1 * var(--page-inset));padding-left:var(--page-inset)}.featured-guide{flex-basis:45%;border-radius:10px}.featured-guide>div{bottom:12px;right:11px;left:9px}.featured-guide h3{font-size:15px;line-height:1.6;margin-bottom:4px}.featured-guide p{font-size:10px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-heading h1,.intro h1,.profile-top h1,.auth h1{font-size:26px}.intro>p,.page-heading p{font-size:12px;margin-bottom:14px}.back{font-size:11px;margin-bottom:8px}.guide-count{font-size:10px}.filters{margin:14px 0 20px}.profile-top{padding-bottom:14px;margin-bottom:12px}.tabs{margin:16px 0 20px}.auth{padding-top:0}.auth>.back{margin-bottom:10px}.restaurant-grid{grid-template-columns:1fr;gap:16px}.restaurant-card{padding-bottom:16px}.home-section .restaurant-card:last-child{border-bottom:0}.empty{padding:28px 16px}body>nav a{font-size:9px}.place-body{padding-top:12px}}
