:root{--paper:#faf8f3;--white:#fffefa;--ink:#302c26;--muted:#868174;--red:#9e3345;--red-dark:#662533;--sage:#e9eddf;--line:#e5e1d6;--gold:#ae894e;--display-font:"PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.7 "Microsoft YaHei","PingFang SC",system-ui,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}h1,h2,h3,h4,p{margin-top:0}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}input,select,textarea{border:1px solid #d8d5c8;border-radius:5px;background:white;padding:11px 13px;max-width:100%;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #bcbf9d;outline-offset:1px}textarea{resize:vertical}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}.wrap{max-width:1280px;margin:auto;padding:0 32px}.eyebrow{font:800 10px/1.7 system-ui,sans-serif;letter-spacing:3px;color:var(--red)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:11px 22px;font-size:14px;line-height:1.6;gap:8px}.primary{background:var(--red);color:white;border:1px solid var(--red)}.primary:hover{background:var(--red-dark)}.secondary{background:var(--white);border:1px solid var(--line)}.text-button{font-size:13px;color:var(--red);padding:0}.muted{color:var(--muted)}.tag{font-size:10px;padding:3px 8px;display:inline-block;border-radius:3px;background:var(--sage);color:#697759}.score{color:var(--red);font-weight:600;white-space:nowrap}.empty{grid-column:1/-1;padding:55px 25px;border-radius:8px;background:#eeeee5;text-align:center;color:#7d8071;font-size:14px}.small-empty{padding:25px 10px;font-size:12px}.filter-note,.demo-note{color:var(--muted);font-size:11px;line-height:1.9}.error{color:var(--red);font-size:12px;min-height:18px;margin:0}.page-heading{padding:37px 0 23px}.page-heading h1,.location-heading h1{font:800 35px/1.5 var(--display-font);margin:10px 0}.page-heading p{font-size:14px;color:var(--muted)}.section{padding:42px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.section-heading h2{font:800 28px/1.6 var(--display-font);margin:0}.section-heading>a{font-size:13px;color:var(--red)}
header{height:96px;border-bottom:1px solid var(--line);background:#fffefbf5;padding:0 5%;display:flex;align-items:center;justify-content:space-between;gap:28px;position:sticky;top:0;z-index:30;backdrop-filter:blur(12px)}.brand{display:flex;gap:11px;align-items:center;font-size:24px;font-weight:700;letter-spacing:1px;flex-shrink:0}.brand-seal{background:var(--red);color:white;border-radius:11px 2px 11px 2px;width:43px;height:48px;display:grid;place-items:center;font:28px var(--display-font)}.brand small{display:block;font:9px/1.6 system-ui,sans-serif;letter-spacing:3px;color:var(--red)}header nav{display:flex;align-items:center;height:100%;gap:50px}header nav a{position:relative;font-size:21px;display:flex;align-items:center;height:100%;font-weight:500}header nav a.active{color:var(--red)}header nav a.active:after{content:'';position:absolute;bottom:0;height:3px;background:var(--red);left:0;right:0}.header-tools{display:flex;align-items:center;gap:23px;font-size:13px}.language{font-size:12px;padding:5px 11px;border:1px solid var(--line);border-radius:20px}footer{display:flex;gap:25px;justify-content:space-between;align-items:center;padding:30px 5%;border-top:1px solid var(--line);margin-top:50px}.footer-brand{font-size:20px;font-weight:700}.footer-brand span{display:block;font-size:9px;letter-spacing:3px;color:var(--red)}footer p{font:14px var(--display-font);color:var(--muted);margin:0}footer small{color:var(--muted);font-size:10px;text-align:right}
.hero{display:grid;grid-template-columns:1.05fr 1fr;max-width:1440px;margin:auto;padding:28px 4% 15px;gap:45px}.hero-copy{padding:38px 0 30px}.hero h1{font:800 clamp(38px,4.3vw,62px)/1.45 var(--display-font);color:#5f604e;margin:18px 0 23px}.hero h1 em{color:var(--red);font-style:normal}.hero-copy>p{color:var(--muted);font-size:14px;margin-bottom:27px}.hero-photo{position:relative;min-height:480px;overflow:hidden;border-radius:7px 7px 7px 80px}.hero-photo>img{width:100%;height:100%;object-fit:cover;position:absolute;filter:brightness(.87)}.hero-stamp{position:absolute;top:24px;right:25px;border-radius:50%;width:91px;height:91px;border:1px solid #ffffffae;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;font-size:12px;transform:rotate(9deg)}.hero-stamp span{font-size:9px;letter-spacing:2px}.hero-caption{position:absolute;left:30px;bottom:30px;color:white;font:22px var(--display-font)}.hero-caption small{display:block;margin-top:12px;font:10px system-ui,sans-serif;letter-spacing:1px}.search{display:flex;background:white;border:1px solid #dcd8cc;border-radius:7px;padding:6px;gap:10px;align-items:center}.search>span,.square-search-row>span{font-size:24px;color:var(--muted);margin-left:11px}.search input{flex:1;min-width:0;border:0;background:transparent;font-size:13px;padding:10px 0;outline:0}.hot-tags{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:18px;font-size:12px;color:var(--muted)}.hot-tags button{border-bottom:1px solid #bcb7aa;padding:0;color:#666859}
.food-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.food-card{border:1px solid var(--line);background:var(--white);border-radius:8px;position:relative;overflow:hidden;transition:box-shadow .2s,transform .2s}.food-card:hover{box-shadow:0 10px 25px #443b2e10;transform:translateY(-3px)}.whole-card{display:block;height:100%}.food-image{height:202px;position:relative;background:var(--sage)}.food-image img{width:100%;height:100%;object-fit:cover}.image-tag{position:absolute;left:12px;bottom:12px;background:#fffffff0;padding:4px 9px;border-radius:4px;font-size:10px}.card-body{padding:18px}.card-top{display:flex;gap:10px;justify-content:space-between;align-items:start}.card-top h3{font-size:18px;line-height:1.5;margin:0 0 8px}.card-top .score{font-size:13px}.card-body>p{color:var(--muted);font-size:12px;margin:2px 0 7px}.card-foot{border-top:1px solid #efede6;padding-top:12px;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted)}.card-foot>span:first-child{font-size:16px;color:var(--ink);font-weight:600}.favorite{position:absolute;right:12px;top:12px;width:33px;height:33px;border-radius:50%;background:#ffffffed;font-size:20px;display:grid;place-items:center;z-index:2;line-height:1}.favorite.saved{background:var(--red);color:white}.food-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:22px 0 18px}.food-filters label{display:grid;gap:6px;font-size:11px;color:var(--muted)}.food-filters select{font-size:12px;padding:9px 28px 9px 11px}.food-filters .text-button{padding:10px 0}.mode-tabs,.category-tabs{display:flex;gap:8px;flex-wrap:wrap}.mode-tabs button,.category-tabs button{border:1px solid var(--line);border-radius:25px;font-size:12px;padding:7px 16px;background:var(--white);color:#747367}.mode-tabs button.active,.category-tabs button.active{background:var(--ink);color:white;border-color:var(--ink)}.food-page{padding-bottom:20px}.food-page .filter-note{margin-top:17px}.result-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:29px 0 22px}.result-head h2{font:800 26px var(--display-font);margin:0}.result-head span{font-size:12px;color:var(--muted)}.breadcrumbs{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted);padding-top:26px}.breadcrumbs a{color:var(--red)}.location-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:28px 0 15px}.location-heading p{font-size:12px;color:var(--muted);margin:7px 0}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.dish-detail{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin:29px 0}.dish-detail>img{width:100%;height:410px;object-fit:cover;border-radius:8px}.dish-detail h1{font:800 35px var(--display-font);margin:20px 0}.price{font-size:29px;color:var(--red);margin-right:20px}.dish-detail dl{display:grid;grid-template-columns:85px 1fr;gap:12px;font-size:13px;margin:25px 0}.dish-detail dt{color:var(--muted)}.dish-detail dd{margin:0}.review-actions{display:flex;gap:10px;margin-bottom:24px}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.post-card{background:var(--white);border:1px solid var(--line);border-radius:7px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.post-cover{height:205px;display:block;background:var(--sage);flex-shrink:0}.post-cover img{width:100%;height:100%;object-fit:cover}.text-cover{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#eee0ce,#e8e9d8);font:25px var(--display-font);color:#797059;gap:18px}.text-cover span{font:10px system-ui;letter-spacing:4px}.post-body{padding:17px;display:flex;flex-direction:column;flex:1}.post-meta{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--red);margin-bottom:8px}.post-body h3{font-size:16px;margin:3px 0 9px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.target-label{font-size:11px;color:var(--red);line-height:1.7}.post-excerpt{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 16px}.post-author{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;font-size:11px;color:var(--muted)}.author-name{display:flex;gap:7px;align-items:center;min-width:0}.avatar{width:40px;height:40px;border-radius:50%;display:inline-grid;place-items:center;background:var(--sage);color:#738461;overflow:hidden;flex-shrink:0}.avatar.small{width:26px;height:26px;font-size:10px}.avatar img{width:100%;height:100%;object-fit:cover}.like{font-size:12px;white-space:nowrap}.chosen{color:var(--red);font-weight:700}.square-page{padding-top:30px;min-height:70vh}.square-toolbar{display:flex;align-items:start;gap:18px}.square-toolbar>.search{flex:1;display:block;min-width:0}.square-search-row{display:flex;gap:12px;align-items:center}.square-search-row input{flex:1;min-width:0}.publish-post{margin-top:3px;white-space:nowrap}.target-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.target-selects label{display:grid;gap:7px;font-size:11px;color:var(--muted)}.target-selects select{font-size:12px;width:100%;padding:10px 9px}.square-toolbar .target-selects{padding:16px 11px 11px;border-top:1px solid var(--line);margin-top:10px}.square-controls{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:22px 0 16px}.square-controls>select{font-size:12px;padding:8px 10px}.square-scope{display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:11px;margin-bottom:22px}.square-scope a{color:var(--red);white-space:nowrap}
.auth-page header nav,.auth-page #profile-link{display:none}.auth-page footer{margin-top:20px}.auth-shell{max-width:1180px;margin:40px auto;display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:0 28px;align-items:start}.auth-intro h1{font:800 48px/1.35 var(--display-font);margin:18px 0;color:var(--red)}.auth-intro p{font-size:14px;color:var(--muted)}.auth-intro>img{width:100%;height:290px;object-fit:cover;margin-top:27px;border-radius:5px 5px 60px 5px}.image-note{font-size:10px;color:var(--muted);display:block;margin-top:9px}.member-card{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:30px}.member-card h2{font:800 27px var(--display-font);margin:8px 0 12px}.member-card>p{font-size:12px;color:var(--muted)}.form{display:grid;gap:17px}.form label,.block-label{display:grid;gap:7px;font-size:12px;color:#706f62}.form textarea{min-height:150px}.form .primary{justify-self:start}.email-field{display:flex;border:1px solid #d8d5c8;background:white;border-radius:5px;align-items:center;overflow:hidden}.email-field input{flex:1;min-width:0;border:0;border-radius:0;padding:12px}.email-field>span{font-size:13px;padding:0 12px;color:#747365;white-space:nowrap;border-left:1px solid var(--line)}.email-field:focus-within{outline:2px solid #bcbf9d}.email-field input:focus{outline:0}.form small{font-size:10px;color:var(--muted)}.input-row{display:flex;gap:9px}.input-row input{min-width:0;flex:1}.input-row button{white-space:nowrap;font-size:12px;padding:8px 13px}.visitor-card{margin-top:19px;border:1px solid #d9dfcc;border-radius:8px;background:var(--sage);padding:24px}.visitor-card h2{font:800 23px var(--display-font);margin-bottom:9px}.visitor-card p{font-size:12px;color:#727f63}.visitor-card .secondary{font-size:13px}.member-gate{margin:60px auto;text-align:center;max-width:800px;background:var(--sage);padding:55px 30px;border-radius:10px}.member-gate h1{font:800 30px/1.5 var(--display-font);margin:20px 0}.member-gate p{font-size:14px;color:#748166}.member-gate .primary{margin-top:15px}
.review-form,.publish-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.compose-main{border:1px solid var(--line);background:var(--white);padding:29px;border-radius:9px}.compose-main h2{font-size:19px;margin:0 0 19px}.compose-main .target-selects{margin:5px 0 15px}.selected-target{font-size:11px;color:var(--red);margin-bottom:24px}.block-label{margin:20px 0}.block-label>input{width:100%}.block-label textarea{min-height:140px}.dimension-field textarea{min-height:100px}.stars{display:flex;gap:5px;align-items:center}.stars button{font-size:29px;color:#b5b3a6;padding:0 3px}.stars button.on{color:#b89449}.stars>span{margin-left:10px;font-size:13px;color:var(--muted)}.dimension-tabs{display:flex;gap:9px;flex-wrap:wrap}.dimension-tabs button{border:1px solid #c9d4bd;color:#71855f;border-radius:22px;padding:7px 16px;font-size:13px}.dimension-tabs button.active{background:var(--sage);border-color:#859772;color:#536346}.compose-preview{background:var(--sage);border-radius:8px;padding:25px;position:sticky;top:120px;overflow-wrap:anywhere}.compose-preview h2{font:800 24px var(--display-font);margin:9px 0 20px}.compose-preview h3{font-size:19px;margin:18px 0}.compose-preview p{font-size:13px;color:#79816d;white-space:pre-wrap}.dimension-preview{margin-top:22px;border-top:1px solid #d4ddc9;padding-top:14px}.dimension-preview h4{font-size:14px;margin:0 0 7px}.upload-preview{max-height:200px;margin:10px 0;width:auto}.related-target{border:1px solid var(--line);padding:15px;border-radius:5px;margin:0;min-width:0}.related-target legend{font-size:11px;color:var(--muted);padding:0 5px}.write-page .compose-main>.primary{margin-top:15px}.post-page{max-width:1420px}.post-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;margin-top:29px}.post-visual>img{width:100%;max-height:650px;object-fit:cover;border-radius:8px}.large-text-cover{min-height:440px;border-radius:8px;background:linear-gradient(130deg,#e9dcc8,#e6eadb);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#84785f}.large-text-cover span{font:12px system-ui;letter-spacing:5px}.large-text-cover h2{font:800 35px var(--display-font);margin:24px 0}.story-author{display:flex;gap:12px;align-items:center}.story-author>div{flex:1;font-size:13px}.story-author small{display:block;font-size:11px;color:var(--muted)}.post-story>h1{font:800 29px/1.6 var(--display-font);margin:24px 0 16px;overflow-wrap:anywhere}.story-text{white-space:pre-wrap;line-height:2.1;font-size:15px;overflow-wrap:anywhere;margin-top:20px}.story-dimension{border-top:1px solid var(--line);padding-top:18px}.story-dimension h3{font-size:17px}.story-dimension p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.story-votes{display:flex;gap:18px;padding:22px 0;border-bottom:1px solid var(--line);font-size:13px}.reply-section h2{font-size:21px;margin:25px 0}.reply-section h2 span{font-size:13px;color:var(--muted)}.reply-section .form{margin-top:22px}.reply-section textarea{min-height:100px}.reply{padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.reply p{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}.reply small{font-size:10px;color:var(--muted)}
.rank-page{padding-top:28px}.rank-hero{background:radial-gradient(ellipse at 15% 0,#a46352,transparent 70%),linear-gradient(120deg,#743d35,#492b2a);color:#f3e9d6;text-align:center;padding:44px 30px 70px;border-radius:9px 9px 45% 8% / 9px 9px 13% 7%;overflow:hidden}.rank-hero .eyebrow{color:#e8c694}.rank-hero h1{font:800 43px/1.5 var(--display-font);letter-spacing:2px;margin:12px 0}.rank-hero p{font-size:15px;color:#deccb4;margin-bottom:18px}.rank-hero small{font-size:10px;color:#d3bfa7}.rank-hero-line{width:95px;height:1px;background:#ba9164;margin:17px auto}.rank-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:-30px 28px 32px;position:relative}.rank-portal{text-align:left;border-radius:7px;padding:22px 24px;background:#f7eedf;border:1px solid #e6d7bf;box-shadow:0 6px 18px #664f3610;position:relative;overflow:hidden}.rank-portal:nth-child(2){background:#eef0e4;border-color:#d8dfc8}.rank-portal:nth-child(3){background:#f4e8e5;border-color:#e6d2cd}.rank-portal>span{position:absolute;right:15px;top:4px;font:italic 65px Georgia,serif;opacity:.11;color:#85694c}.rank-portal h2{font:800 26px var(--display-font);margin:0 0 10px}.rank-portal p{font-size:12px;margin:0;color:#8e7e64}.rank-portal.active{outline:2px solid var(--gold);outline-offset:2px}.rank-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:35px}.rank-heading h2{font:800 25px var(--display-font);margin:0}.rank-row{display:flex;position:relative;gap:20px;align-items:center;padding:19px 65px 19px 22px;border:1px solid var(--line);border-radius:7px;background:var(--white);margin:13px 0}.rank-row:nth-child(-n+3){background:linear-gradient(110deg,#f6efe3,#fffefa 60%)}.rank-number{width:42px;flex-shrink:0;font:italic 30px Georgia,serif;color:#b6b3a3}.rank-row:nth-child(-n+3) .rank-number{color:var(--gold)}.rank-object{display:flex;gap:19px;align-items:center;flex:1;min-width:0}.rank-object img{width:102px;height:80px;object-fit:cover;border-radius:5px}.rank-object h3{font:800 21px/1.5 var(--display-font);margin:0 0 4px}.rank-object p,.rank-object small{color:var(--muted);font-size:11px;margin:0}.rank-value{text-align:right;flex-shrink:0}.rank-value b{display:block;font:31px Georgia,serif;color:var(--red)}.rank-value span{font-size:10px;color:var(--muted)}.rank-row .favorite{top:50%;transform:translateY(-50%);border:1px solid var(--line)}
.profile-heading{display:flex;justify-content:space-between;align-items:center;padding:30px 0 25px}.profile-heading h1{font:800 32px var(--display-font);margin:0}.profile-heading button span{background:var(--red);color:white;border-radius:20px;min-width:20px;padding:0 5px;font-size:11px}.profile-hero{display:flex;gap:25px;align-items:center;padding:30px;border-radius:9px;background:var(--sage)}.avatar.large{width:75px;height:75px;font-size:27px;background:#fffefa}.identity h2{font-size:24px;margin:0}.identity p{font-size:12px;color:#7c846e;margin:4px 0 9px;overflow-wrap:anywhere}.xp-track{width:170px;height:4px;border-radius:4px;background:#d4dcc8;margin-top:12px}.xp-track i{display:block;height:100%;background:#8a9e73}.profile-stats{display:flex;gap:27px;margin-left:auto;text-align:center;font-size:11px}.profile-stats b{display:block;font:27px Georgia,serif;margin-bottom:5px}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:27px;align-items:start;margin-top:24px}.profile-tabs{margin-bottom:22px}.profile-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-cards .food-image{height:150px}.profile-cards .card-top h3{font-size:16px}.inbox-panel{border:1px solid var(--line);background:var(--white);padding:21px;border-radius:8px}.inbox-panel .section-heading{margin-bottom:15px}.inbox-panel h2{font-size:22px}.inbox-panel .text-button{font-size:11px}.message{padding:16px 0;border-top:1px solid var(--line);font-size:12px}.message p{color:var(--muted);margin:5px 0;overflow-wrap:anywhere}.message.unread strong{color:var(--red)}.my-post{display:flex;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.my-post h3{font-size:16px;margin:7px 0}.my-post p{font-size:12px;color:var(--muted);margin:0}.history-row{display:flex;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.history-row small{font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:32px;width:min(480px,calc(100vw - 30px));max-height:90vh;color:var(--ink)}dialog::backdrop{background:#292a2470;backdrop-filter:blur(3px)}dialog h2{font:800 25px var(--display-font);margin:7px 0 22px}.close{position:absolute;right:10px;top:6px;font-size:26px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:100;background:#303329;color:white;padding:12px 23px;border-radius:5px;font-size:13px;max-width:90vw;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){header{padding:0 25px;gap:20px}header nav{gap:30px}.hero{gap:25px}.hero h1{font-size:45px}.hero-photo{min-height:410px}.hero-caption{font-size:18px}.food-grid,.post-grid{gap:17px}.food-image{height:175px}.review-form,.publish-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.profile-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.auth-shell{gap:30px}.auth-intro h1{font-size:42px}.profile-hero{gap:16px}.profile-stats{gap:15px}}
@media(max-width:900px){header nav{gap:23px}header nav a{font-size:18px}.brand{font-size:20px}.header-tools{gap:13px}.profile-layout{display:block}.inbox-panel{display:none}.inbox-panel.mobile-open{display:block;position:fixed;z-index:40;top:100px;right:20px;width:min(350px,calc(100vw - 40px));max-height:70vh;overflow:auto;box-shadow:0 20px 50px #302c2630}.square-toolbar{display:block}.publish-post{margin-top:15px}.auth-shell{grid-template-columns:1fr 1.1fr;gap:23px}.auth-intro>img{height:250px}.member-card{padding:23px}.post-detail{gap:26px}.rank-portal{padding:20px}.rank-portal h2{font-size:23px}}
@media(max-width:700px){body{font-size:14px}header{height:76px;padding:0 18px;gap:10px}.brand{font-size:18px;gap:7px}.brand-seal{width:33px;height:38px;font-size:23px}.brand small{font-size:8px;letter-spacing:2px}.header-tools{font-size:11px;gap:10px}.language{font-size:10px;padding:4px 8px}header nav{position:fixed;left:0;bottom:0;right:0;height:58px;background:var(--white);display:flex;justify-content:space-around;border-top:1px solid var(--line);gap:0}header nav a{font-size:17px;padding:0 22px}header nav a.active:after{top:0;bottom:auto}.wrap{padding:0 20px}.page-heading{padding-top:28px}.page-heading h1,.location-heading h1{font-size:29px}.hero{display:flex;flex-direction:column;padding:0 20px 10px;gap:0}.hero-copy{padding:29px 0 23px}.hero h1{font-size:37px;margin:16px 0}.hero-copy>p{font-size:12px}.hero-photo{height:235px;min-height:0;border-radius:5px 5px 5px 48px}.hero-stamp{width:68px;height:68px;top:15px;right:17px;font-size:10px}.hero-stamp span{font-size:8px}.hero-caption{font-size:18px;left:23px;bottom:20px}.hero-caption small{font-size:9px}.search input{font-size:12px}.search .primary{font-size:12px;padding:10px 16px}.hot-tags{font-size:11px;gap:12px}.section{padding:29px 0}.section-heading{margin-bottom:20px}.section-heading h2{font-size:24px}.section-heading>a{font-size:11px}.food-grid,.post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.food-image{height:130px}.card-body{padding:12px}.card-top{gap:6px;flex-wrap:wrap}.card-top h3{font-size:15px;margin-bottom:4px}.card-top .score{font-size:11px}.card-body>p{font-size:10px;margin-top:5px}.card-foot{font-size:9px;gap:5px;flex-wrap:wrap;margin-top:9px;padding-top:8px}.card-foot>span:first-child{font-size:14px}.favorite{right:9px;top:9px;width:29px;height:29px;font-size:18px}.image-tag{font-size:9px;padding:2px 7px;left:9px;bottom:9px}.food-filters{gap:10px;margin:17px 0}.food-filters label{font-size:10px}.food-filters select{padding:8px;font-size:11px}.food-filters .text-button{font-size:11px;padding:0}.mode-tabs,.category-tabs{gap:6px}.mode-tabs button,.category-tabs button{font-size:11px;padding:6px 12px}.filter-note,.demo-note{font-size:10px}.result-head h2{font-size:22px}.result-head span{font-size:10px}.location-heading{align-items:start;flex-direction:column;gap:12px;padding-top:24px}.location-heading h1{margin:7px 0}.location-heading p{font-size:11px}.heading-actions .primary,.heading-actions .secondary{font-size:12px;padding:8px 13px}.dish-detail{grid-template-columns:1fr;gap:20px}.dish-detail>img{height:275px}.dish-detail h1{font-size:29px;margin:13px 0}.dish-detail dl{font-size:12px;grid-template-columns:72px 1fr}.post-cover{height:140px}.post-body{padding:11px}.post-body h3{font-size:14px}.post-meta{font-size:10px;gap:5px}.tag{font-size:9px}.post-excerpt{font-size:11px}.post-author{font-size:10px;gap:5px;flex-wrap:wrap}.post-author .avatar{display:none}.post-meta .tag{font-size:9px;padding:2px 6px}.target-label{font-size:10px}.text-cover{font-size:20px}.text-cover span{font-size:8px}.square-page{padding-top:22px}.square-controls{align-items:start;gap:9px}.category-tabs{flex:1}.square-controls>select{font-size:11px;padding:7px 5px}.square-scope{font-size:10px}.target-selects{gap:7px}.target-selects label{font-size:10px}.target-selects select{font-size:11px;padding:8px 5px}.square-toolbar .target-selects{padding:13px 5px 7px}.square-search-row{gap:7px}.square-search-row>span{margin-left:6px}.publish-post{font-size:12px}.auth-shell{display:block;margin:25px auto;padding:0 20px}.auth-intro{padding:5px 5px 23px}.auth-intro h1{font-size:33px;margin:10px 0}.auth-intro h1 br{display:none}.auth-intro p{font-size:12px;margin-bottom:0}.auth-intro>img,.auth-intro .image-note{display:none}.member-card{padding:23px}.member-card h2{font-size:25px}.visitor-card{padding:22px}.auth-page header nav{display:none}.auth-page footer{padding-bottom:30px}.member-gate{margin:35px auto;padding:35px 22px}.member-gate h1{font-size:26px}.member-gate p{font-size:12px}.review-form,.publish-layout{display:flex;flex-direction:column;gap:18px}.compose-main,.compose-preview{width:100%;padding:21px 16px}.compose-preview{position:static}.compose-main h2{font-size:18px}.compose-main .target-selects{grid-template-columns:1fr;gap:11px}.dimension-tabs button{padding:6px 13px;font-size:12px}.block-label textarea{min-height:120px}.stars button{font-size:27px}.related-target .target-selects{grid-template-columns:1fr}.post-detail{display:flex;flex-direction:column;gap:25px}.post-visual>img{max-height:400px}.large-text-cover{min-height:230px}.post-story>h1{font-size:25px}.story-text{font-size:14px}.story-author{font-size:12px}.story-author>.tag{margin-left:auto}.rank-page{padding-top:20px}.rank-hero{padding:30px 17px 52px;border-radius:7px 7px 35% 9% / 7px 7px 9% 4%}.rank-hero h1{font-size:29px;letter-spacing:0}.rank-hero p{font-size:12px}.rank-hero small{font-size:9px}.rank-portals{gap:9px;margin:-22px 9px 25px}.rank-portal{padding:17px 9px}.rank-portal h2{font-size:18px;margin-bottom:6px}.rank-portal p{font-size:9px;line-height:1.8}.rank-portal>span{font-size:44px;right:4px}.rank-heading{align-items:start;gap:12px;flex-direction:column;margin-top:25px}.rank-heading h2{font-size:23px}.rank-row{gap:9px;padding:15px 42px 15px 10px}.rank-number{font-size:22px;width:24px}.rank-object{gap:9px;align-items:start}.rank-object img{width:51px;height:63px}.rank-object h3{font-size:14px}.rank-object p,.rank-object small{font-size:9px}.rank-object>div{min-width:0}.rank-value b{font-size:23px}.rank-value span{font-size:9px}.rank-row .favorite{right:7px;width:26px;height:26px;font-size:17px}.profile-heading h1{font-size:27px}.profile-heading{padding-top:27px}.profile-heading .secondary{font-size:12px;padding:8px 13px}.profile-hero{padding:22px 17px;gap:15px;flex-wrap:wrap}.avatar.large{width:52px;height:52px;font-size:22px}.identity{flex:1;min-width:0}.identity h2{font-size:21px}.identity p{font-size:11px}.xp-track{width:130px}.profile-stats{order:4;width:100%;justify-content:space-around;margin:7px 0 0;padding-top:16px;border-top:1px solid #d3dbc8}.profile-hero>.text-button{font-size:11px}.profile-tabs{gap:5px}.profile-tabs button{padding:6px 9px;font-size:10px}.profile-cards{gap:12px}.profile-cards .food-image{height:120px}.profile-cards .card-top h3{font-size:14px}.history-row{flex-direction:column;gap:4px}.inbox-panel.mobile-open{top:82px}.my-post h3{font-size:14px}footer{padding:25px 20px 82px;flex-wrap:wrap;justify-content:start;gap:15px}footer p{width:100%;font-size:13px}footer small{text-align:left;font-size:9px}.footer-brand{font-size:18px}#toast{bottom:75px;font-size:12px;padding:10px 18px}}
html[lang=en] .hero h1{font-size:clamp(34px,3.8vw,54px)}html[lang=en] .brand{letter-spacing:0}html[lang=en] .rank-hero h1{letter-spacing:0}html[lang=en] .card-top h3{font-size:16px}html[lang=en] .rank-portal h2{font-size:23px}@media(max-width:700px){html[lang=en] header nav a{font-size:15px}html[lang=en] .hero h1{font-size:36px}html[lang=en] .brand{font-size:17px}html[lang=en] .header-tools{font-size:10px}html[lang=en] .rank-portal h2{font-size:14px}html[lang=en] .card-top h3{font-size:13px}html[lang=en] .rank-hero h1{font-size:27px}html[lang=en] .profile-tabs button{font-size:9px}}

@media(max-width:700px){header{backdrop-filter:none}}
.hero-photo{background:#65705e}

/* v0.4 layout updates */
.food-page .page-heading{text-align:center;padding-top:36px}
.food-page .page-heading .eyebrow{display:block;text-align:center}
.food-search{display:block;padding:20px 22px 16px;border-radius:10px;background:var(--white);box-shadow:0 10px 30px #443b2e0d}
.food-search .search-row{display:flex;align-items:center;gap:12px}
.food-search .search-row>span{font-size:30px;color:var(--muted);margin-left:8px}
.food-search input{flex:1;min-width:0;border:0;background:transparent;font-size:17px;padding:16px 0;outline:0}
.food-search .primary{padding:14px 34px;font-size:15px;flex-shrink:0}
.food-search .food-filters{margin:14px 0 0;padding-top:16px;border-top:1px solid var(--line);align-items:end}
.food-search .food-filters select{font-size:13px;padding:10px 30px 10px 12px}
.food-search-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px;flex-wrap:wrap}
.food-search-bottom .filter-note{margin:0;flex:1;min-width:260px}
.food-page .result-head{margin-top:34px}
.food-page .business-head{margin-top:46px}
.food-page .food-grid .food-image img{object-position:center 45%}
.review-dish{display:flex;gap:18px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}
.review-dish img{width:104px;height:88px;object-fit:cover;border-radius:6px;flex-shrink:0}
.review-dish h2{font:800 24px/1.5 var(--display-font);margin:6px 0}
.review-dish p{font-size:12px;color:var(--muted);margin:0}
.review-text{min-height:300px;font-size:15px;line-height:1.9}
.block-label .review-text{min-height:300px}
.food-search .food-filters .text-button{align-self:flex-end;margin-bottom:12px;padding:0;font-size:12px}
.dimension-hint{font-size:11px;color:var(--muted);margin:-2px 0 4px}
.preview-meta{font-size:11px;color:#79816d;margin:-8px 0 10px}
.stars button{font-size:31px;color:#c7c1b2;padding:0 3px;line-height:1}
.stars button.on{color:var(--red)}
.dish-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.square-toolbar{display:block}
.square-toolbar>.search{display:block;padding:9px 10px}
.square-search-row input{font-size:15px;padding:12px 10px}
.square-publish{display:flex;justify-content:center;margin:22px 0 6px}
.square-publish .publish-post{font-size:16px;padding:15px 48px;border-radius:8px;margin:0;box-shadow:0 8px 22px #9e33452e}
.square-controls{margin-top:24px}
@media(max-width:900px){header nav{gap:18px}header nav a{font-size:17px}.square-publish{margin:16px 0 4px}.square-publish .publish-post{font-size:15px;padding:13px 36px}}
@media(max-width:700px){.food-page .page-heading{padding-top:28px}.food-search{padding:14px}.food-search .search-row>span{font-size:24px;margin-left:4px}.food-search input{font-size:14px;padding:12px 0}.food-search .primary{padding:11px 18px;font-size:13px}.food-search .food-filters{gap:10px}.food-search .food-filters select{padding:8px;font-size:11px}.food-search-bottom{display:block}.food-search-bottom .filter-note{margin-top:10px;min-width:0}.food-page .result-head{margin-top:26px}.food-page .business-head{margin-top:32px}.review-dish img{width:78px;height:70px}.review-dish h2{font-size:20px}.review-text{min-height:220px}.block-label .review-text{min-height:220px}.square-publish .publish-post{width:100%;max-width:360px;padding:13px 20px;font-size:15px}}
@media(max-width:700px){html[lang=en] header nav a{padding:0 8px;font-size:14px}}

/* v0.4 heading personality: heavier webfont + decorative marks */
.hero h1,.page-heading h1,.location-heading h1,.dish-detail h1,.post-story h1,.rank-hero h1,.auth-intro h1,.member-gate h1,.profile-heading h1,.section-heading h2,.compose-main h2,.compose-preview h2{font-family:var(--display-font);font-weight:800;letter-spacing:.2px;text-wrap:balance}
.page-heading h1,.location-heading h1,.dish-detail h1,.post-story h1,.profile-heading h1{position:relative;padding-left:22px}
.page-heading h1::before,.location-heading h1::before,.dish-detail h1::before,.post-story h1::before,.profile-heading h1::before{content:'';position:absolute;left:0;top:.17em;bottom:.17em;width:7px;border-radius:8px;background:linear-gradient(180deg,var(--red),var(--gold));box-shadow:0 5px 14px #9e33452e}
.section-heading h2{position:relative;padding-left:15px}
.section-heading h2::before{content:'';position:absolute;left:0;top:.2em;bottom:.2em;width:5px;border-radius:5px;background:linear-gradient(180deg,var(--red),var(--gold))}
.compose-main h2{position:relative;padding-left:13px}
.compose-main h2::before{content:'';position:absolute;left:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--red)}
.food-page .page-heading h1{display:inline-block;padding:8px 38px 12px;border-bottom:3px solid var(--red);border-radius:2px;background:linear-gradient(180deg,transparent 68%,#9e334512 68%)}
.food-page .page-heading h1::before{content:'✦';left:8px;top:50%;bottom:auto;width:auto;height:auto;border-radius:0;background:none;box-shadow:none;transform:translateY(-58%);color:var(--red);font-size:.38em;line-height:1}
.food-page .page-heading h1::after{content:'✦';position:absolute;right:8px;top:50%;transform:translateY(-58%);color:var(--red);font-size:.38em;line-height:1}
.hero h1{position:relative}
.hero h1::after{content:'';display:block;width:112px;height:6px;margin-top:18px;border-radius:6px;background:linear-gradient(90deg,var(--red),#c1965f)}
.auth-intro h1{position:relative;display:block;width:fit-content}
.auth-intro h1::after{content:'';display:block;width:86px;height:5px;margin-top:16px;border-radius:5px;background:linear-gradient(90deg,var(--red),#c1965f)}
.member-gate h1{position:relative;display:block;width:fit-content;margin-left:auto;margin-right:auto;padding-bottom:14px}
.member-gate h1::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:58px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--red),var(--gold))}
.rank-hero h1{text-shadow:0 4px 18px #2c171730;letter-spacing:3px}
@media(max-width:700px){.page-heading h1,.location-heading h1,.dish-detail h1,.post-story h1,.profile-heading h1{padding-left:16px}.page-heading h1::before,.location-heading h1::before,.dish-detail h1::before,.post-story h1::before,.profile-heading h1::before{width:5px}.food-page .page-heading h1{padding:6px 25px 10px}.hero h1::after{width:80px;height:5px;margin-top:12px}.auth-intro h1::after{width:60px;height:4px;margin-top:12px}}

/* like heart */
.like.chosen,.story-votes button.chosen{color:var(--red);animation:heartPop .3s ease}
@keyframes heartPop{0%{transform:scale(1)}45%{transform:scale(1.28)}100%{transform:scale(1)}}
.post-cover img[src^="data:image/svg"]{object-position:center}

/* home recommendation rows */
.recommend-section .section-heading{margin-bottom:18px}
.rec-group+.rec-group{margin-top:38px}
.rec-head{display:flex;align-items:baseline;gap:12px;margin:0 0 16px;flex-wrap:wrap}
.rec-head h3{position:relative;margin:0;padding-left:12px;font:800 20px/1.5 var(--display-font);color:var(--ink)}
.rec-head h3::before{content:'';position:absolute;left:0;top:.24em;bottom:.24em;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--red),var(--gold))}
.rec-head span{font-size:12px;color:var(--muted)}

/* dish review demo */
.dish-review-demo .section-heading{margin-bottom:16px}
.review-summary{display:grid;grid-template-columns:180px minmax(0,1fr);gap:26px;align-items:center;border:1px solid var(--line);background:var(--white);border-radius:10px;padding:24px 28px}
.review-score{text-align:center;border-right:1px solid var(--line);padding-right:24px}
.review-score b{display:block;font:800 52px/1.05 var(--display-font);color:var(--red)}
.review-score small{display:block;font-size:11px;color:var(--muted);margin-top:6px}
.review-stars{display:inline-flex;gap:2px;color:#d8d2c4;font-size:15px;letter-spacing:1px;white-space:nowrap}
.review-stars .on{color:var(--red)}
.review-stars.big{font-size:18px;letter-spacing:2px;margin-top:4px}
.rating-dist{display:grid;gap:7px}
.rating-dist>div{display:grid;grid-template-columns:46px 1fr 42px;gap:10px;align-items:center;font-size:11px;color:var(--muted)}
.rating-dist i{display:block;height:7px;border-radius:5px;background:#efede6;overflow:hidden}
.rating-dist b{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,var(--red),var(--gold))}
.rating-dist em{font-style:normal;text-align:right;font-size:10px}
.demo-flag{font-size:11px;color:var(--muted);margin:12px 0 18px}
.review-demo-list{display:grid;gap:14px}
.review-demo{border:1px solid var(--line);background:var(--white);border-radius:10px;padding:20px 22px}
.review-demo-head{display:flex;align-items:center;gap:12px}
.reviewer-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--a1),var(--a2));color:#fff;font:800 18px var(--display-font);flex-shrink:0;box-shadow:0 4px 12px #443b2e18}
.reviewer-meta{flex:1;min-width:0}
.reviewer-meta strong{display:block;font-size:14px;line-height:1.4}
.level-badge{display:inline-block;font-size:10px;padding:2px 7px;border-radius:10px;background:var(--sage);color:#5f7051;margin-top:3px}
.reviewer-meta small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.review-demo-text{font-size:14px;line-height:1.9;margin:14px 0;color:#4c473f}
.review-demo-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #f0eee7;padding-top:12px}
.review-tags{display:flex;gap:6px;flex-wrap:wrap}
.review-tags span{font-size:10px;padding:3px 8px;border-radius:12px;background:#f2eee4;color:#7b6a4d}
.review-likes{font-size:11px;color:var(--muted)}
@media(max-width:700px){.rec-group+.rec-group{margin-top:28px}.rec-head h3{font-size:18px}.review-summary{grid-template-columns:1fr;gap:16px;padding:18px}.review-score{border-right:0;border-bottom:1px solid var(--line);padding:0 0 14px}.review-score b{font-size:44px}.review-demo-head{flex-wrap:wrap}.review-demo-head .review-stars{margin-left:auto}.review-demo{padding:16px}.review-demo-text{font-size:13px}}

/* integrated map page */
body.map-page{overflow:hidden}
body.map-page footer{display:none}
.map-embed-wrap{height:calc(100vh - 96px);background:#e9e6db}
.map-frame{display:block;width:100%;height:100%;border:0}
.food-card{display:flex;flex-direction:column}
.food-card .whole-card{flex:1}
.heading-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex:0 0 auto}
.restaurant-heading-photo{width:220px;height:145px;object-fit:cover;border-radius:8px;border:1px solid var(--line);box-shadow:0 8px 20px #443b2e14}
@media(max-width:1100px){header nav{gap:24px}header nav a{font-size:19px}}
@media(max-width:700px){.map-embed-wrap{height:calc(100vh - 76px - 58px)}header nav a{padding:0 12px;font-size:15px}html[lang=en] header nav a{padding:0 6px;font-size:12px}.heading-side{width:100%;align-items:stretch}.restaurant-heading-photo{width:100%;height:175px}.heading-actions{flex-wrap:wrap}}
@media(max-width:700px){header nav a{padding:0 7px;font-size:14px}html[lang=en] header nav a{padding:0 3px;font-size:11px}}
@media(max-width:700px){header nav{display:grid;grid-template-columns:repeat(5,1fr);gap:0}header nav a{justify-content:center;padding:0;font-size:14px}html[lang=en] header nav a{font-size:11px;padding:0}}
.restaurant-heading-photo{width:300px;height:190px}
.restaurant-facts{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px 18px;align-items:baseline;margin-top:14px;font-size:12px;line-height:1.6}
.restaurant-facts span{color:var(--muted);white-space:nowrap}
.restaurant-facts b{font-weight:600;color:var(--ink);font-size:12.5px}
@media(max-width:700px){.restaurant-heading-photo{width:100%;height:220px}.restaurant-facts{grid-template-columns:auto 1fr;gap:7px 12px;margin-top:12px}}

/* ===== v0.10 visual refresh: SJTU campus dining editorial ===== */
:root{
  --paper:#f7f3ea;
  --white:#fffdf8;
  --ink:#24211d;
  --muted:#625e55;
  --red:#9e1b32;
  --red-dark:#741124;
  --gold:#b08a4f;
  --sage:#e7ebdd;
  --line:#e5ded2;
  --lake:#315e6b;
  --display-font:"PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB",system-ui,sans-serif;
  --shadow-soft:0 12px 32px rgba(54,42,28,.07);
  --shadow-card:0 8px 24px rgba(54,42,28,.055);
  --radius-card:10px;
  --radius-control:8px;
}
body{font-size:16px;line-height:1.75;color:var(--ink)}
h1,h2,h3,h4{font-family:var(--display-font);font-weight:700}
.primary,.secondary{border-radius:var(--radius-control);min-height:42px;font-weight:600}
.primary{background:var(--red);border-color:var(--red)}
.primary:hover{background:var(--red-dark)}
.secondary{background:var(--white);border-color:var(--line)}
.text-button{font-weight:600}
input,select,textarea{border-radius:var(--radius-control);border-color:#dcd5c7}
.food-card,.post-card,.rank-row,.rank-portal,.food-search-box,.profile-hero,.inbox-panel{border-radius:var(--radius-card)}
.food-card,.post-card{box-shadow:var(--shadow-card)}
.food-card:hover{box-shadow:var(--shadow-soft);transform:translateY(-2px)}
.section{padding:56px 0}
.eyebrow{font-size:11px;letter-spacing:2.4px;color:var(--red)}

/* one signature title rule: a red bar, no repeated stars/underlines */
.page-heading h1,.location-heading h1,.dish-detail h1,.post-story h1,.profile-heading h1,.rank-hero h1{font-weight:700;letter-spacing:-.2px}
.page-heading h1::before,.location-heading h1::before,.dish-detail h1::before,.post-story h1::before,.profile-heading h1::before{background:var(--red);box-shadow:none;width:5px}
.section-heading h2::before,.rec-head h3::before,.compose-main h2::before{background:var(--red)}
.food-page .page-heading h1::before,.food-page .page-heading h1::after{content:none}
.food-page .page-heading h1{padding-left:18px}
.hero h1::after,.auth-intro h1::after,.member-gate h1::after{content:none}
.rank-hero{text-align:left;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:48px 34px 40px;box-shadow:none}
.rank-hero .eyebrow{color:var(--red)}
.rank-hero h1{color:var(--ink);font-size:46px;letter-spacing:-.5px;margin:12px 0 10px}
.rank-hero p{color:var(--muted);font-size:14px;margin:0 0 12px}
.rank-hero small{color:var(--muted);font-size:11px}
.rank-hero-line{width:64px;height:3px;background:var(--gold);margin:18px 0 20px;border-radius:3px}
.rank-portals{margin:22px 0 32px;gap:14px}
.rank-portal{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow-card);border-radius:10px;padding:20px 22px}
.rank-portal:nth-child(2),.rank-portal:nth-child(3){background:var(--white);border-color:var(--line)}
.rank-portal.active{outline:2px solid var(--red);outline-offset:2px}
.rank-portal h2{font-size:23px;margin-bottom:6px}
.rank-portal p{font-size:11px;color:var(--muted)}
.rank-portal>span{color:var(--gold);opacity:.2}
.rank-row{border-radius:10px;border-color:var(--line);background:var(--white);margin:10px 0;padding:16px 58px 16px 18px}
.rank-row:nth-child(-n+3){background:linear-gradient(110deg,#faf4e8,#fffdf8 62%)}
.rank-number{font-size:26px;color:#b9b2a3}
.rank-value b{font-size:28px}

/* hero: quieter editorial split */
.hero{grid-template-columns:1.02fr .98fr;gap:56px;max-width:1360px;padding:44px 4% 20px;align-items:center}
.hero-copy{padding:20px 0}
.hero h1{font:700 clamp(42px,4vw,58px)/1.35 var(--display-font);color:var(--ink);margin:14px 0 18px;letter-spacing:-.6px}
.hero h1 em{color:var(--red)}
.hero-copy>p{font-size:15px;line-height:1.9;max-width:520px;margin-bottom:24px}
.hero-photo{min-height:440px;border-radius:12px;box-shadow:var(--shadow-soft)}
.hero-photo>img{filter:saturate(.94) contrast(.98) brightness(.94)}
.hero-stamp{width:72px;height:72px;top:18px;right:18px;font-size:10px;border-color:#ffffffb8}
.hero-stamp span{font-size:7px;letter-spacing:1.6px}
.hero-caption{left:24px;bottom:24px;font-size:20px;line-height:1.5}
.hero-caption small{display:none}
.hot-tags{margin-top:16px;font-size:12px;gap:14px}
.search{border-radius:10px;box-shadow:0 6px 18px rgba(54,42,28,.045)}

/* food page: compact sticky search toolbar */
.food-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:34px 0 15px}
.food-heading h1{margin:6px 0 0}
.food-heading-note{max-width:330px;margin:0 0 5px;color:var(--muted);font-size:12px;line-height:1.8;text-align:right}
.food-toolbar{position:sticky;top:96px;z-index:20;display:flex;flex-wrap:wrap;gap:9px;padding:12px 0 13px;background:var(--paper);border-bottom:1px solid var(--line)}
.food-search-box{display:flex;align-items:center;flex:1 1 430px;padding:6px 8px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 5px 16px rgba(54,42,28,.04)}
.food-search-box .search-row{display:flex;align-items:center;gap:10px;width:100%}
.food-search-box .search-row>span{font-size:22px;color:var(--red);margin-left:7px}
.food-search-box input{font-size:15px;padding:9px 0}
.food-search-box .primary{padding:10px 22px;min-height:38px;font-size:13px}
.food-toolbar-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%}
.filter-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:20px;background:var(--white);padding:4px 9px 4px 11px;color:var(--muted);font-size:11px;white-space:nowrap}
.filter-chip select{appearance:none;border:0;background:transparent;padding:3px 15px 3px 2px;font-size:12px;color:var(--ink);max-width:140px}
.filter-chip select:focus{outline:2px solid #b9c4aa;outline-offset:1px}
.food-modes{gap:5px}
.food-modes button{border-radius:20px;font-size:11px;padding:6px 12px}
.food-modes button.active{background:var(--ink);border-color:var(--ink)}
.reset-filters{font-size:11px;margin-left:auto;padding:5px 2px}
.food-toolbar .filter-note{flex:1 0 100%;margin:1px 0 0;font-size:11px;color:var(--muted)}
.food-page .result-head{margin-top:28px}
.food-page .result-head h2{font-size:24px;font-weight:700}

/* footer: minimal */
footer{display:grid;grid-template-columns:1fr auto;gap:16px 32px;align-items:end;padding:38px 5%;margin-top:64px;border-top:1px solid var(--line);background:var(--paper)}
footer p{font:14px/1.7 var(--display-font);color:var(--muted);margin:0;grid-column:1}
footer small{grid-column:1/-1;color:var(--muted);font-size:10px;text-align:left;line-height:1.8}
.footer-brand{font-size:19px}
.footer-brand span{font-size:8px;letter-spacing:2.4px}

/* restaurant detail: information left, larger photo right */
.location-heading{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:48px;padding:34px 0 24px}
.location-heading h1{font-size:38px;margin:8px 0 4px}
.location-heading p{font-size:12px;margin:5px 0}
.heading-side{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.restaurant-heading-photo{width:100%;height:218px;border-radius:10px;border:1px solid var(--line);box-shadow:var(--shadow-card);filter:saturate(.94) contrast(.98) brightness(1.02)}
.heading-actions{display:flex;gap:8px;flex-wrap:wrap}
.heading-actions .primary,.heading-actions .secondary{flex:1;padding:8px 12px;font-size:12px}
.restaurant-facts{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:7px 16px;margin-top:14px;font-size:12px;line-height:1.7}
.restaurant-facts span{color:var(--muted);white-space:nowrap;font-size:11px}
.restaurant-facts b{font-weight:600;color:var(--ink);font-size:12.5px}

/* light profile */
.profile-hero{background:linear-gradient(135deg,#edf1e7,#f8f4ec);border:1px solid #dfe5d7;border-radius:12px;padding:26px 28px}
.profile-heading h1{font-size:30px}
.profile-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
.profile-tabs button{font-size:11px}
.inbox-panel{box-shadow:var(--shadow-card)}

/* photo grading: keep real photos warm, not acid */
.hero-photo>img,.food-image>img,.restaurant-heading-photo,.dish-detail>img,.rank-object img,.post-cover img{filter:saturate(.93) contrast(.98) brightness(1.02)}
.food-image>img{object-position:center}

/* map page: full-bleed, no card seam */
body.map-page{background:var(--paper);overflow:hidden}
body.map-page header{background:var(--paper);border-bottom-color:var(--line)}
body.map-page #app{padding:0}
.map-embed-wrap{height:calc(100vh - 96px);background:var(--paper);border:0;border-radius:0;padding:0;overflow:hidden}
.map-frame{display:block;width:100%;height:100%;border:0;border-radius:0}

/* accessibility */
:focus-visible{outline:3px solid #8d9d78;outline-offset:3px}
.filter-note,.demo-note{font-size:11px;line-height:1.8}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

@media(max-width:1100px){
  .hero{gap:32px;padding-top:34px}.hero h1{font-size:46px}.hero-photo{min-height:390px}
  .food-heading-note{display:none}
  .location-heading{grid-template-columns:minmax(0,1fr) 280px;gap:28px}
  .restaurant-heading-photo{height:190px}
  .rank-hero h1{font-size:39px}
}
@media(max-width:700px){
  body{font-size:14px}
  .hero{display:flex;padding:0 20px 8px;gap:0}.hero-copy{padding:24px 0 18px}.hero h1{font-size:37px;letter-spacing:-.3px}.hero-copy>p{font-size:12px;margin-bottom:18px}.hero-photo{height:230px;min-height:0;border-radius:10px}.hero-stamp{width:60px;height:60px;top:12px;right:12px;font-size:8px}.hero-stamp span{font-size:6px}.hero-caption{font-size:17px;left:18px;bottom:16px}
  .section{padding:32px 0}
  .food-heading{display:block;padding:24px 0 10px}.food-heading h1{font-size:29px}.food-heading-note{display:block;max-width:none;text-align:left;margin-top:7px;font-size:11px}
  .food-toolbar{position:static;padding:8px 0 10px;gap:7px}.food-search-box{flex-basis:100%;padding:5px 6px}.food-search-box input{font-size:14px;padding:8px 0}.food-search-box .primary{padding:9px 16px;min-height:36px;font-size:12px}
  .food-toolbar-row{gap:5px}.filter-chip{padding:3px 7px;font-size:10px}.filter-chip select{font-size:11px;max-width:115px;padding:2px 13px 2px 1px}.food-modes button{font-size:10px;padding:5px 9px}.reset-filters{font-size:10px;margin-left:0}.food-toolbar .filter-note{font-size:10px}
  .result-head h2{font-size:22px}
  footer{display:block;padding:26px 20px 82px;margin-top:42px}footer p{margin:8px 0}footer small{display:block;margin-top:10px}
  .location-heading{display:flex;flex-direction:column;gap:16px;padding:25px 0 18px}.location-heading h1{font-size:29px}.heading-side{width:100%}.restaurant-heading-photo{width:100%;height:210px}.restaurant-facts{grid-template-columns:auto 1fr;gap:6px 14px}.heading-actions .primary,.heading-actions .secondary{flex:1}
  .rank-hero{padding:30px 18px 28px;border-radius:10px}.rank-hero h1{font-size:29px}.rank-hero p{font-size:12px}.rank-hero small{font-size:10px}.rank-portals{gap:7px;margin:16px 0 22px}.rank-portal{padding:14px 9px;border-radius:8px}.rank-portal h2{font-size:17px}.rank-portal p{font-size:9px}.rank-row{padding:14px 40px 14px 10px}.rank-number{font-size:21px}.rank-value b{font-size:23px}
  .profile-hero{padding:20px 16px}.profile-layout{display:block}.profile-layout .inbox-panel{margin-top:18px}
  .map-embed-wrap{height:calc(100vh - 76px - 58px)}
  .food-page .page-heading h1{padding-left:16px}
}

/* v0.10 corrections */
footer p{grid-column:auto}
.food-page .page-heading h1::before{content:'';left:0;top:.17em;bottom:.17em;width:5px;height:auto;background:var(--red);border-radius:5px;box-shadow:none;transform:none;font-size:initial;color:transparent}
.food-page .page-heading h1::after{content:none}
.food-page .page-heading{text-align:left}
.food-page .page-heading h1{display:block;padding:6px 0 8px 18px;border:0;background:none;border-radius:0}
.location-heading{grid-template-columns:minmax(0,1fr) 340px}
.restaurant-heading-photo{height:232px}
.restaurant-facts{max-width:600px;grid-template-columns:auto minmax(90px,1fr) auto minmax(110px,1fr);gap:8px 14px}
.restaurant-facts span{font-size:11px}
.restaurant-facts b{font-size:13px}
@media(max-width:1100px){.location-heading{grid-template-columns:minmax(0,1fr) 300px}.restaurant-heading-photo{height:205px}}
@media(max-width:700px){.location-heading{display:flex}.restaurant-heading-photo{height:215px}.restaurant-facts{max-width:none;grid-template-columns:auto 1fr;gap:7px 14px}.restaurant-facts span,.restaurant-facts b{font-size:12px}}
footer small{font-size:11px}
.card-foot{font-size:11px}
.image-tag{font-size:11px}
@media(max-width:700px){.card-foot{font-size:10px}.image-tag{font-size:10px}footer small{font-size:10px}}
@media(max-width:700px){.hero-photo{width:100%;align-self:stretch}.hero-copy{width:100%}}
.rank-hero h1{text-shadow:none}
@media(max-width:700px){.hero .search{width:100%}.hero .search input{min-width:0}}

/* v0.11 requested refinements */
header nav a:hover{color:var(--red)}
header nav a:hover:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--red)}
header nav a.active:hover:after{background:var(--red)}

/* homepage: no photo, centered editorial hero */
.hero{display:block;max-width:1240px;margin:0 auto;padding:68px 4% 46px;text-align:center;background:radial-gradient(ellipse at 50% 0,#fffdf8 0,rgba(255,253,248,0) 58%)}
.hero-copy{width:100%;max-width:920px;margin:0 auto;padding:0}
.hero h1{max-width:900px;margin:18px auto 22px;font:800 clamp(44px,5.1vw,68px)/1.28 var(--display-font);letter-spacing:-1px;color:var(--ink);text-align:center}
.hero h1 em{color:var(--red);font-style:normal}
.hero-copy>p{max-width:650px;margin:0 auto 28px;font-size:15px;line-height:1.9;text-align:center}
.hero .search{max-width:620px;margin:0 auto;text-align:left}
.hero .hot-tags{justify-content:center;margin-top:17px}
.hero .eyebrow{display:inline-block}
.hero-copy:after{content:'';display:block;width:56px;height:2px;margin:26px auto 0;background:linear-gradient(90deg,var(--red),var(--gold));opacity:.55}

/* food page: centered heading, no vertical rule */
.food-page .page-heading,.food-heading{display:block;text-align:center;padding:38px 0 12px}
.food-page .page-heading h1,.food-heading h1{display:block;margin:8px auto 0;padding:0;border:0;background:none;text-align:center;font-size:38px;line-height:1.4}
.food-page .page-heading h1::before,.food-page .page-heading h1::after,.food-heading h1::before,.food-heading h1::after{content:none}
.food-heading-note{max-width:680px;margin:8px auto 0;text-align:center;font-size:12px;line-height:1.8}

/* ranking: a real centered masthead */
.rank-hero{text-align:center;padding:58px 32px 48px;background:linear-gradient(180deg,#fcf8ef 0%,#f7f3ea 100%);border:1px solid #e9dfcf;border-radius:12px;position:relative;overflow:hidden}
.rank-hero:before{content:'';position:absolute;left:50%;top:-210px;width:430px;height:430px;border:1px solid #eadcc5;border-radius:50%;transform:translateX(-50%);opacity:.65;pointer-events:none}
.rank-hero:after{content:'';position:absolute;left:50%;top:-145px;width:300px;height:300px;border:1px solid #f0e5d4;border-radius:50%;transform:translateX(-50%);opacity:.7;pointer-events:none}
.rank-hero .eyebrow{position:relative;z-index:1;color:var(--red);letter-spacing:3px}
.rank-hero h1{position:relative;z-index:1;display:block;margin:12px auto 12px;font:800 clamp(46px,5.2vw,66px)/1.22 var(--display-font);letter-spacing:1px;color:var(--ink);text-align:center}
.rank-hero h1 span{color:var(--ink)}
.rank-hero h1 em{font-style:normal;color:var(--red);padding-bottom:5px;border-bottom:4px solid var(--gold)}
.rank-hero p{position:relative;z-index:1;margin:0 auto 8px;font-size:14px;color:var(--muted)}
.rank-hero-line{position:relative;z-index:1;width:78px;height:2px;margin:20px auto 18px;background:linear-gradient(90deg,var(--red),var(--gold));border:0}
.rank-hero small{position:relative;z-index:1;display:block;color:var(--muted);font-size:11px;letter-spacing:.5px}
.rank-hero h1{text-shadow:none}

@media(max-width:1100px){.hero{padding-top:56px}.hero h1{font-size:clamp(42px,5.3vw,58px)}.rank-hero h1{font-size:52px}}
@media(max-width:700px){
 header nav a:hover:after{top:0;bottom:auto}
 .hero{display:block;padding:34px 20px 24px;text-align:center}
 .hero-copy{width:100%;max-width:none;padding:0}
 .hero h1{font-size:40px;line-height:1.32;margin:14px auto 16px;letter-spacing:-.4px}
 .hero-copy>p{font-size:13px;line-height:1.8;margin:0 auto 20px;max-width:350px}
 .hero .search{max-width:100%}
 .hero .hot-tags{justify-content:center;gap:10px;margin-top:14px}
 .hero-copy:after{margin-top:20px}
 .food-page .page-heading,.food-heading{padding:27px 0 9px;text-align:center}
 .food-page .page-heading h1,.food-heading h1{font-size:30px;margin-top:6px;padding:0}
 .food-heading-note{font-size:11px;max-width:none;margin-top:7px;text-align:center}
 .rank-hero{padding:36px 18px 30px;border-radius:10px}
 .rank-hero h1{font-size:38px;letter-spacing:.2px}
 .rank-hero h1 em{padding-bottom:3px;border-bottom-width:3px}
 .rank-hero p{font-size:12px}
 .rank-hero:before{width:300px;height:300px;top:-170px}
 .rank-hero:after{width:210px;height:210px;top:-120px}
}
html[lang=en] .rank-hero h1 em{margin-left:.25em}
@media(max-width:700px){html[lang=en] .rank-hero h1{font-size:34px}}

/* v0.12 lighter paper and pure-white surfaces */
:root{--paper:#fcf9f3;--white:#ffffff;--line:#ebe4d8}
body{background:var(--paper)}
header{background:#fffffff7}
.empty{background:#f6f2e9}
.rank-hero{background:linear-gradient(180deg,#fffdf9 0%,#fcf9f3 100%)}
.rank-row:nth-child(-n+3){background:linear-gradient(110deg,#fdf8ed,#ffffff)}
.avatar.large{background:#ffffff}
.profile-hero{background:linear-gradient(135deg,#f0f4ea,#fdfaf4)}
.food-card,.post-card,.rank-row,.rank-portal,.inbox-panel,.secondary,.food-search-box{background:var(--white)}

/* v0.13 hero line-art ornaments A + D */
.hero{position:relative;overflow:hidden}
.hero-deco{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.hero-arch{position:absolute;left:50%;top:14px;width:min(760px,76vw);height:auto;transform:translateX(-50%);color:var(--gold);opacity:.15}
.hero-plate{position:absolute;top:43%;width:clamp(112px,10.5vw,152px);height:auto;color:var(--red);opacity:.15}
.hero-plate-left{left:2.8%;transform:translateY(-50%) rotate(-4deg)}
.hero-plate-right{right:2.8%;transform:translateY(-50%) rotate(3deg);color:var(--gold)}
.hero-plate .steam{animation:heroSteam 6s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
@keyframes heroSteam{from{transform:translateY(0);opacity:.72}to{transform:translateY(-4px);opacity:1}}
.hero-copy{position:relative;z-index:1}
@media(max-width:1100px){.hero-plate{display:none}.hero-arch{width:82vw;opacity:.12}}
@media(max-width:700px){.hero-arch{top:22px;width:92vw;opacity:.085}.hero-plate{display:none}}

/* v0.14 one-line hero slogan */
.hero h1{max-width:none;white-space:nowrap;font-size:clamp(38px,4.5vw,64px);letter-spacing:-.8px;line-height:1.28}
html[lang=en] .hero h1{font-size:clamp(19px,3vw,42px);letter-spacing:-.4px}
@media(max-width:700px){
 .hero h1{font-size:clamp(26px,8.4vw,34px);letter-spacing:-.5px;line-height:1.3}
 html[lang=en] .hero h1{font-size:clamp(18px,4.9vw,20px);letter-spacing:-.2px}
}

/* temple gate line art colors */
.hero-arch{width:min(820px,82vw);top:6px;opacity:.16}
.hero-arch .gate-red{stroke:var(--red)}
.hero-arch .gate-detail{stroke:var(--gold)}
.hero-arch .gate-roof{stroke:var(--gold)}
@media(max-width:1100px){.hero-arch{width:84vw;opacity:.12}}
@media(max-width:700px){.hero-arch{width:94vw;top:12px;opacity:.08}}

/* temple gate masthead */
.hero-gate{width:clamp(260px,34vw,390px);margin:0 auto 12px;color:var(--gold);opacity:.84}
.hero-gate .hero-arch{position:relative;left:auto;top:auto;transform:none;width:100%;opacity:1}
.hero-gate .gate-red{stroke:var(--red)}
.hero-gate .gate-detail{stroke:var(--gold)}
.hero-gate .gate-roof{stroke:var(--gold)}
.hero-gate .hero-arch text{font-size:16px}
@media(max-width:700px){.hero-gate{width:230px;margin-bottom:8px;opacity:.9}.hero-gate .hero-arch text{font-size:14px}}

/* extracted SJTU temple-gate line art */
.hero-gate{width:min(620px,78vw);margin:0 auto 10px;opacity:.72}
.hero-gate img{display:block;width:100%;height:auto}
.hero-gate .hero-arch{display:none}
@media(max-width:700px){.hero-gate{width:min(320px,82vw);opacity:.78;margin-bottom:6px}}

/* blend gate line art into the paper background */
.hero-gate{opacity:.64;mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse at 50% 52%,#000 58%,transparent 96%);mask-image:radial-gradient(ellipse at 50% 52%,#000 58%,transparent 96%)}
@media(max-width:700px){.hero-gate{opacity:.7}}
@media(max-width:700px){.hero h1{font-size:clamp(24px,7.7vw,32px);letter-spacing:-.35px}}

/* v0.15 full gate background wrapping slogan + search */
.hero-gate-bg{position:absolute;left:50%;top:4px;width:min(1320px,150vw);height:auto;transform:translateX(-50%);opacity:.27;mix-blend-mode:multiply;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse at 50% 52%,#000 54%,transparent 94%);mask-image:radial-gradient(ellipse at 50% 52%,#000 54%,transparent 94%)}
.hero-copy{position:relative;z-index:2}
@media(max-width:700px){.hero-gate-bg{width:255vw;top:0;opacity:.18}}
/* slightly whiter warm paper */
:root{--paper:#fdfbf6;--white:#ffffff}
body{background:var(--paper)}
.rank-hero{background:linear-gradient(180deg,#fffefa 0%,#fdfbf6 100%)}

/* v0.16 autocomplete + exact search results */
.search.has-suggest,.food-search-box.has-suggest{position:relative}
.search-suggest{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:120;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 16px 38px rgba(54,42,28,.14);padding:6px;max-height:330px;overflow:auto}
.suggest-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:9px 10px;border-radius:7px;background:transparent;color:var(--ink);border:0}
.suggest-item:hover,.suggest-item:focus-visible{background:#faf6ee}
.suggest-type{flex:0 0 auto;min-width:38px;text-align:center;font-size:10px;font-weight:700;letter-spacing:.5px;padding:3px 6px;border-radius:4px;background:#f2eadc;color:#8b6b3f}
.suggest-type.dish{background:#f6e7e8;color:var(--red)}
.suggest-type.window{background:#eef1e4;color:#62734d}
.suggest-type.restaurant{background:#f4ede0;color:#8b6b3f}
.suggest-text{display:flex;flex-direction:column;min-width:0;gap:2px}
.suggest-text b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggest-text small{font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggest-arrow{margin-left:auto;color:var(--red);font-size:14px;flex:0 0 auto}
.search-result-head{margin-top:28px}
.search-result-head h2{font-size:27px}
.search-group-head{margin:26px 0 12px}
.search-group-head h2{font-size:20px;display:flex;align-items:baseline;gap:8px}
.search-group-head .result-count{font:400 11px/1.6 var(--display-font);color:var(--muted);letter-spacing:0}
@media(max-width:700px){.search-suggest{max-height:260px;padding:4px}.suggest-item{padding:8px 7px;gap:7px}.suggest-text b{font-size:12px}.suggest-text small{font-size:9.5px}.search-result-head h2{font-size:22px}.search-group-head h2{font-size:18px}}
@media(max-width:700px){.hero-gate-bg{width:300vw;top:-10px;opacity:.13;-webkit-mask-image:radial-gradient(ellipse at 50% 48%,#000 56%,transparent 94%);mask-image:radial-gradient(ellipse at 50% 48%,#000 56%,transparent 94%)}}
@media(max-width:700px){.hero-gate-bg{opacity:.2}}
/* allow autocomplete to escape the hero while clipping only the gate art */
.hero{overflow:visible}
.hero-deco{overflow:hidden}
/* keep autocomplete above cards and section content */
.hero{position:relative;z-index:4}
.hero-copy{z-index:6}
.search-suggest{z-index:300}
.food-toolbar{z-index:25}

/* actual reviews shown above the sample review list */
.real-reviews{display:grid;gap:12px;margin:20px 0 8px}
.real-reviews-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}
.real-reviews-head strong{font:700 17px/1.5 var(--display-font);color:var(--ink)}
.real-reviews-head span{font-size:11px;color:var(--muted)}
.real-review{border-color:#e7cbd0;background:#fffdfb;box-shadow:0 5px 16px rgba(54,42,28,.04)}
.real-review .review-demo-text{color:var(--ink)}
@media(max-width:700px){.real-reviews{margin-top:14px}.real-reviews-head strong{font-size:15px}.real-review{padding:15px}}

/* v0.18 search box A: rounded editorial search + scope selector */
.search{min-height:56px;border-radius:16px;border:1px solid #e6ded2;background:#fff;padding:5px 6px 5px 16px;gap:10px;box-shadow:0 6px 20px rgba(60,45,30,.05);transition:border-color .18s,box-shadow .18s}
.search:focus-within{border-color:var(--red);box-shadow:0 0 0 3px rgba(158,27,50,.09),0 6px 20px rgba(60,45,30,.05)}
.search>span{font-size:22px;color:var(--red);margin-left:0;flex:0 0 auto}
.search input{font-size:15px;padding:12px 0;border:0;background:transparent;outline:0}
.search .primary{min-height:44px;min-width:88px;padding:0 21px;border-radius:11px;font-size:14px;font-weight:700}
.food-search-box{display:flex;flex-wrap:wrap;align-items:center;border-radius:16px;padding:5px 6px 5px 16px}
.food-search-box .search-row{flex:1 1 100%;display:flex;align-items:center;gap:10px;width:100%}
.search-scope{flex:1 0 100%;display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:7px 0 2px;border-top:1px solid #f2ece2;margin-top:3px}
.search-scope button{border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:11px;line-height:1.4;padding:5px 11px;transition:all .16s}
.search-scope button:hover{border-color:#cdb9aa;color:var(--red)}
.search-scope button.active{background:var(--red);border-color:var(--red);color:white;font-weight:600}
.search-suggest{border-radius:14px;padding:7px;box-shadow:0 16px 38px rgba(54,42,28,.14)}
.suggest-item{border-radius:9px}
.search-suggest em{font-style:normal;color:var(--red);background:#f7e6e8;border-radius:3px;padding:0 1px}
.real-review-image-link{display:block;margin:10px 0 2px;width:fit-content;max-width:100%}
.real-review-image{display:block;width:auto;max-width:420px;max-height:300px;object-fit:cover;border-radius:9px;border:1px solid var(--line);background:#faf7f1}
@media(max-width:700px){
 .search{min-height:52px;border-radius:14px;padding:4px 5px 4px 13px;gap:8px}
 .search input{font-size:14px;padding:10px 0}
 .search .primary{min-height:40px;min-width:76px;padding:0 15px;border-radius:9px;font-size:12px}
 .food-search-box{padding:4px 5px 4px 13px}
 .search-scope{gap:4px;padding-top:6px}
 .search-scope button{font-size:10px;padding:4px 9px}
 .suggest-item{border-radius:7px}
 .real-review-image{max-width:100%;max-height:240px}
}

/* v0.20 shorter search bars and coordinated scope control */
.food-search-box{flex:0 1 640px;width:100%;max-width:640px;margin:0 auto}
.food-toolbar-row{max-width:900px;margin:0 auto;justify-content:center}
.food-toolbar .filter-note{max-width:900px;margin-left:auto;margin-right:auto}
.search-scope{width:100%;align-self:stretch;display:flex;gap:2px;padding:3px;margin:7px 0 1px;border:0;border-radius:10px;background:#f7f1e8}
.search-scope button{flex:1;min-width:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:11px;line-height:1.4;padding:6px 8px;text-align:center}
.search-scope button:hover{color:var(--red);border:0}
.search-scope button.active{background:#fff;color:var(--red);font-weight:700;box-shadow:0 2px 7px rgba(60,45,30,.08)}
.square-toolbar{justify-content:center}
.square-toolbar>.search{flex:0 1 680px;width:100%;max-width:680px;margin:0 auto}
@media(max-width:700px){
 .food-search-box{flex-basis:100%;max-width:none}
 .food-toolbar-row{max-width:none;justify-content:flex-start}
 .search-scope{width:100%;margin-top:6px}
 .search-scope button{font-size:10px;padding:5px 4px}
 .square-toolbar>.search{max-width:none}
}

/* v0.21 restore a wider food search and center filters */
.food-search-box{flex:0 1 760px;width:100%;max-width:760px;margin:0 auto}
.food-toolbar-row{max-width:760px;margin:0 auto;justify-content:center;gap:8px}
.food-toolbar .filter-note{max-width:760px;margin-left:auto;margin-right:auto}
.reset-filters{margin-left:0;flex:0 0 auto}
@media(max-width:900px){.food-search-box{flex-basis:min(760px,100%);max-width:760px}.food-toolbar-row{max-width:760px}}
@media(max-width:700px){.food-search-box{flex-basis:100%;max-width:none}.food-toolbar-row{max-width:none;justify-content:flex-start}.reset-filters{margin-left:0}}
