/* 美团外卖 */
.mt-app{--yellow:#ffe337;--ink:#222;display:flex;flex-direction:column;height:100%;min-height:0;background:#f5f5f5;color:var(--ink);font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.mt-app *{box-sizing:border-box}
.mt-app button,.mt-app input{font:inherit;color:inherit}
.mt-app button{appearance:none;border:0;background:none;cursor:pointer;padding:0;text-align:inherit}
.mt-app button:focus-visible,.mt-app input:focus-visible{outline:2px solid #907200;outline-offset:-2px}
.mt-app button:active{opacity:.78}
.mt-app img{display:block;max-width:100%}
.mt-app svg{width:19px;height:19px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
.mt-app h1,.mt-app h2,.mt-app h3,.mt-app p{margin:0}
.mt-scroll{min-height:0;overflow:auto;flex:1;overscroll-behavior:contain;scrollbar-width:none}
.mt-homehead{background:var(--yellow);padding:1px 12px 9px}
.mt-homehead>div,.mt-smallhead,.mt-orderline,.mt-infoline,.mt-address,.mt-dealitem,.mt-nav,.mt-dealgrid,.mt-filters,.mt-orderfilters,.mt-product{display:flex;align-items:center}
.mt-homehead>div{justify-content:space-between;height:32px}
.mt-homehead>div>b{font-weight:850;font-size:19px;letter-spacing:-.06em}
.mt-address{gap:3px;font-weight:650!important}.mt-address svg{width:16px;height:16px}.mt-address svg:last-child{width:12px}
.mt-search{display:flex;align-items:center;gap:4px;background:white;border:2px solid var(--yellow);border-radius:22px;padding:2px;margin:0;min-height:37px}
.mt-search label{display:flex;flex:1;align-items:center;min-width:0;gap:5px;padding-left:8px}
.mt-search label svg{color:#888;width:16px;height:16px}.mt-search input{border:0;min-width:0;width:100%;background:none;border-radius:3px;font-size:13px}
.mt-search button{font-weight:650;background:var(--yellow);padding:5px 15px;border-radius:18px;font-size:13px}
.mt-page-home .mt-scroll{background:linear-gradient(var(--yellow) 10px,#f5f5f5 11px)}
.mt-categories{background:linear-gradient(white 72%,#fafafa);border-radius:13px 13px 0 0;padding:9px 4px 10px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px 0}
.mt-categories button{display:grid;grid-template-rows:47px auto;justify-items:center;align-items:center;font-size:12px;white-space:nowrap}
.mt-categories button img{height:46px;width:50px;object-fit:contain;mix-blend-mode:multiply}
.mt-categories button:nth-child(n+6){grid-template-rows:35px auto}.mt-categories button:nth-child(n+6) img{height:32px;width:44px}
.mt-deals{background:white;margin:7px 8px;border-radius:12px;padding:10px}
.mt-smallhead{gap:6px;margin-bottom:8px}.mt-smallhead h2{font-size:20px;font-weight:900;letter-spacing:-.06em}.mt-smallhead>span{color:#bd590d;background:#fff3df;border-radius:3px;font-size:11px;padding:1px 4px}
.mt-smallhead button{margin-left:auto;color:#666;font-size:12px}.mt-smallhead button svg{width:12px}
.mt-dealgrid{gap:8px}.mt-dealitem{flex:1;min-width:0;gap:6px}.mt-dealitem img{width:44%;aspect-ratio:1;object-fit:cover;border-radius:7px}
.mt-dealitem>span{display:flex;flex-direction:column;min-width:0;font-size:12px}.mt-dealitem b,.mt-dealitem small,.mt-storecopy strong,.mt-storeproducts{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mt-dealitem small{font-size:11px}.mt-dealitem em{font-size:12px;color:#fc491f;font-weight:700;font-style:normal;margin-top:3px}.mt-dealitem em strong{font-size:18px;line-height:1}
.mt-filters{gap:6px;margin:8px}.mt-filters button{border-radius:6px;background:white;padding:6px 2px;flex:1;text-align:center;font-size:12px;font-weight:550}.mt-filters .selected{font-weight:750;background:#fff2a9}
.mt-list{padding:0 8px 8px}.mt-list .mt-store{display:flex;align-items:stretch;gap:10px;border-radius:12px;background:white;width:100%;padding:9px;margin:0 0 6px}
.mt-cover{width:clamp(66px,23vw,92px);height:clamp(66px,23vw,92px);border-radius:8px;object-fit:contain;background:#faf9f6}
.mt-storecopy{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;gap:3px;padding:1px 0}
.mt-storecopy strong{max-width:100%;font-size:17px;letter-spacing:-.03em}.mt-storemeta{font-size:12px;color:#97610e}.mt-storeproducts{max-width:100%;font-size:12px;color:#707070}.mt-tag{font-weight:600;line-height:1.35;color:#c95c29;border:1px solid #ffd0af;background:#fff7ed;font-size:10px;padding:0 3px;border-radius:3px;margin-top:auto}
.mt-nav{justify-content:space-around;position:relative;z-index:1;height:53px;flex:none;background:white;border-top:1px solid #eee}
.mt-nav button{display:grid;justify-items:center;align-content:center;gap:1px;flex:1;height:100%;min-width:0;color:#555;font-size:10px}
.mt-nav svg{width:21px;height:21px}.mt-nav .selected{color:#222;font-weight:650}.mt-nav .selected svg{fill:#ffda32;stroke:#222}.mt-nav .mt-member img{width:49px;height:49px;border-radius:50%;margin-top:-8px}
.mt-subhead{height:44px;flex:none;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;background:#fff}
.mt-subhead b{font-size:16px}.mt-subhead button{display:grid;height:100%;place-items:center}
.mt-ordershead{padding:7px 14px 11px;text-align:center;background:#fff}.mt-ordershead h1{font-size:19px}
.mt-often,.mt-panel,.mt-orderlist .mt-order{background:#fff;border-radius:12px}
.mt-often{padding:11px 13px;margin:8px}.mt-often h2,.mt-panel h2{font-size:16px;margin-bottom:9px}.mt-often>div{display:flex;gap:19px}.mt-often button{display:grid;gap:4px;justify-items:center;font-size:11px}
.mt-storemark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:7px;object-fit:cover;flex:none}.mt-arches{background:#cf1619}.mt-arches svg{fill:#ffcd00;stroke:none;width:94%;height:94%}.mt-medmark{background:#278868;color:white;font-size:24px;line-height:1}
.mt-orderfilters{padding:6px 11px;gap:22px}.mt-orderfilters button{position:relative;padding:3px 0 6px;color:#666}.mt-orderfilters .selected{color:#171717;font-weight:750}.mt-orderfilters .selected:after{content:"";position:absolute;bottom:0;height:3px;width:21px;border-radius:10px;background:#ffd42c;left:50%;transform:translateX(-50%)}
.mt-orderlist{padding:2px 8px 8px}.mt-orderlist .mt-order{width:100%;padding:12px 13px;margin:0 0 8px}
.mt-orderline{gap:7px}.mt-orderline>strong{font-size:16px}.mt-orderline>svg{width:12px;height:15px;color:#999}.mt-orderline>small{margin-left:auto;color:#777;font-size:12px}.mt-orderline .mt-storemark{width:25px;height:25px;border-radius:5px;font-size:20px}
.mt-ordergoods,.mt-ordergoods>div{display:flex;gap:5px;align-items:center}.mt-ordergoods{justify-content:space-between;margin:10px 0 9px}.mt-ordergoods>div{min-width:0}.mt-ordergoods img{width:clamp(38px,13vw,54px);height:clamp(38px,13vw,54px);border-radius:5px;background:#f7f7f7;object-fit:contain}.mt-ordergoods span{color:#888;font-size:12px}
.mt-orderbottom{text-align:right}.mt-orderbottom span{display:inline-block;padding:3px 11px;border:1px solid #ddd;border-radius:14px;font-size:12px}
.mt-detail{padding:6px 0}.mt-detail h1{font-size:25px;margin:10px 14px 16px}.mt-panel{padding:15px;margin:9px}
.mt-product{gap:11px;border-top:1px solid #f2f2f2;padding:9px 0}.mt-product strong{font-size:14px}.mt-product img{width:48px;height:48px;object-fit:contain;border-radius:5px;background:#fafafa}
.mt-panel .mt-orderline{padding-bottom:10px}.mt-infoline,.mt-menulink{justify-content:space-between;gap:8px}.mt-infoline span{color:#777}
.mt-merchant small{display:block;color:#777;margin-bottom:15px}.mt-merchant h1,.mt-panel h1{font-size:19px}
.mt-empty{text-align:center;color:#888;padding:36px 8px!important}.mt-panel .mt-menulink{display:flex;align-items:center;width:100%;border-top:1px solid #efefef;margin-top:10px;padding:12px 0 4px}.mt-menulink svg{width:14px}
.mt-page-category .mt-list,.mt-page-deals .mt-list,.mt-page-search .mt-list{padding-top:8px}

/* Merchant browsing follows the customer's Meituan reference without adding prices or orders. */
.mt-scroll::-webkit-scrollbar,.mt-promo-gallery::-webkit-scrollbar,.mt-menu-rail::-webkit-scrollbar,.mt-shop-tabs::-webkit-scrollbar{display:none}
.mt-page-shop,.mt-page-product{background:#f5f5f5}
.mt-shopbar{height:52px;flex:none;display:flex;justify-content:space-between;align-items:center;padding:4px 12px;background:linear-gradient(100deg,#ffe5d2,#ffc69f 55%,#f3a991)}
.mt-shopbar-actions{display:flex;align-items:center;gap:8px}
.mt-shop-search{display:flex;align-items:center;gap:4px;flex:1;min-width:0;height:33px;margin:0 8px;padding:0 7px;background:rgba(255,255,255,.9);border-radius:20px}
.mt-shop-search svg{width:16px;height:16px;color:#777}.mt-shop-search input{border:0;outline:0;min-width:0;flex:1;width:100%;background:transparent;font-size:12px}
.mt-shop-search button{font-size:11px!important;font-weight:750!important;color:#555!important;white-space:nowrap}
.mt-shopbar .mt-shopround{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:rgba(98,62,39,.43);color:white;font-size:28px;line-height:1}
.mt-shopbar .mt-shopround svg{width:19px;height:19px;stroke-width:2.2}
.mt-shopbar .mt-shopround.is-active{color:#ffe337}
.mt-shopbar.mt-shopbar-compact{background:#fff;border-bottom:1px solid #eee}
.mt-shopbar-compact .mt-shopround{background:#f6f6f6;color:#222}
.mt-shopbar-compact .mt-shopround.is-active{color:#f3ae00}
.mt-shopbar:not(.mt-shopbar-compact).mt-shop-theme-0{background:linear-gradient(110deg,#daf0ec,#a7d5cf)}
.mt-shopbar:not(.mt-shopbar-compact).mt-shop-theme-2{background:linear-gradient(110deg,#202d6b,#1b2460)}
.mt-shopbar:not(.mt-shopbar-compact).mt-shop-theme-3{background:linear-gradient(110deg,#e8efdf,#d4e2c6)}
.mt-shopbar:not(.mt-shopbar-compact).mt-shop-theme-0 .mt-shopround,.mt-shopbar:not(.mt-shopbar-compact).mt-shop-theme-3 .mt-shopround{background:rgba(39,88,76,.25)}
.mt-shop-hero{background:linear-gradient(150deg,#ffc99e 0%,#ec9b79 72%,#f5f5f5 72%);padding:8px 0 7px}
.mt-shop-hero.mt-shop-theme-0{background:linear-gradient(150deg,#d6f0ec,#98c7c2 72%,#f5f5f5 72%)}
.mt-shop-hero.mt-shop-theme-2{background:linear-gradient(150deg,#202d6b,#345498 72%,#f5f5f5 72%)}
.mt-shop-hero.mt-shop-theme-3{background:linear-gradient(150deg,#e5efdb,#b6d3a6 72%,#f5f5f5 72%)}
.mt-promo-gallery{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:4px 13px 14px;scroll-snap-type:x proximity}
.mt-promo-tile{position:relative;flex:none;width:42%;min-width:130px;aspect-ratio:1.42;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 5px 15px rgba(115,54,35,.13);scroll-snap-align:start}
.mt-promo-tile img{width:100%;height:100%;object-fit:contain;padding:3px}
.mt-promo-tile span{position:absolute;left:0;right:0;bottom:0;padding:12px 7px 5px;background:linear-gradient(transparent,rgba(64,34,20,.78));color:white;font-weight:750;font-size:11px;text-shadow:0 1px 2px #333}
.mt-promo-single .mt-promo-feature{width:100%;aspect-ratio:2.3}
.mt-promo-single .mt-promo-feature img{object-fit:cover;padding:0}
.mt-shop-theme-3 .mt-promo-feature img{object-fit:cover}
.mt-shop-summary{margin:0 9px;background:#fff;border-radius:19px;padding:15px 15px 13px;box-shadow:0 5px 16px rgba(91,56,38,.07)}
.mt-shop-summary-head{display:flex;align-items:center;gap:10px}
.mt-shop-summary-head .mt-storemark{width:44px;height:44px;border-radius:11px;font-size:30px}
.mt-shop-summary-head h1{font-size:21px;line-height:1.15;letter-spacing:-.025em}
.mt-shop-summary-head p{color:#777;font-size:12px;margin-top:4px}
.mt-shop-summary-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #f2f2f2;margin-top:12px;padding-top:11px;font-size:12px}
.mt-shop-summary-meta span:first-child:not(:last-child){color:#d35b29;background:#fff1e8;border-radius:5px;padding:2px 6px;font-weight:700}
.mt-shop-summary-meta span:last-child{color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-shop-tabs{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;position:sticky;top:0;z-index:2;background:#f5f5f5;padding:0 8px;border-bottom:1px solid #e9e9e9}
.mt-shop-tabs button{flex:1;min-width:67px;text-align:center;padding:12px 4px 10px;position:relative;font-size:15px;white-space:nowrap;color:#777}
.mt-shop-tabs button.selected{font-weight:800;color:#191919}
.mt-shop-tabs button.selected:after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:2px;width:26px;height:4px;border-radius:5px;background:#ffcf00}
.mt-shop-deals{background:#fff;margin:8px 8px 14px;border-radius:15px;padding:13px 11px}
.mt-shop-section-title,.mt-menu-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mt-shop-section-title h2,.mt-menu-heading h2{font-size:18px;font-weight:800}
.mt-shop-section-title span,.mt-menu-heading span{font-size:12px;color:#999}
.mt-shop-dealgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:12px}
.mt-shop-dealcard{display:flex;flex-direction:column;min-width:0;border-radius:12px!important;border:1px solid #ededed!important;overflow:hidden;background:#fff!important;text-align:left!important}
.mt-shop-dealcard img{width:100%;aspect-ratio:1.15;object-fit:contain;background:#fff8f3;padding:7px}
.mt-shop-dealcard strong{padding:7px 8px 0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-shop-dealcard small{display:flex;align-items:center;padding:5px 8px 9px;font-size:11px;color:#8a6b18}.mt-shop-dealcard small svg{width:12px;height:12px}
.mt-shop-menu{display:flex;align-items:stretch;min-height:420px;background:#fff}
.mt-menu-rail{width:83px;flex:none;align-self:flex-start;position:sticky;top:49px;max-height:calc(100dvh - 180px);overflow-y:auto;scrollbar-width:none;background:#f4f4f5;border-right:1px solid #ededed}
.mt-menu-rail button{display:block;width:100%;padding:15px 8px;text-align:center!important;color:#666;font-size:13px;line-height:1.3;position:relative}
.mt-menu-rail button.selected{background:#fff;color:#171717;font-weight:800}
.mt-menu-rail button.selected:before{content:"";position:absolute;left:0;top:30%;bottom:30%;width:3px;background:#ffce00;border-radius:0 3px 3px 0}
.mt-menu-content{min-width:0;flex:1;padding:13px 10px 24px}
.mt-menu-heading{padding-bottom:8px}
.mt-menu-item{display:flex;gap:9px;padding:13px 0;border-top:1px solid #f1f1f1;min-height:112px}
.mt-menu-image{width:85px;height:85px;flex:none;border-radius:10px!important;overflow:hidden;background:#faf7f3!important}
.mt-menu-image img{width:100%;height:100%;object-fit:contain}
.mt-menu-item-info{display:flex;flex-direction:column;min-width:0;flex:1;align-items:flex-start}
.mt-menu-item-info h3{font-size:15px;line-height:1.3;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mt-menu-item-info>span{color:#999;font-size:11px;margin-top:4px}
.mt-menu-view{margin-top:auto;align-self:flex-end;border-radius:16px!important;background:#ffe230!important;color:#262000!important;font-weight:800!important;padding:5px 15px!important;font-size:12px!important;text-align:center!important}
.mt-shop-menu.mt-shop-theme-2 .mt-menu-view{background:#202d6b!important;color:#fff!important}
.mt-shop-empty,.mt-shop-info{margin:8px;background:#fff;border-radius:15px;padding:19px 15px;min-height:200px}
.mt-shop-empty h2,.mt-shop-info h2{font-size:18px;margin-bottom:12px}.mt-shop-empty p{color:#999;text-align:center;padding:45px 0}
.mt-shop-info>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f0f0f0;padding:13px 0;font-size:13px}
.mt-shop-info>div span{color:#999}.mt-shop-info>div strong{text-align:right;font-weight:600}
.mt-productbar{height:46px;flex:none;display:grid;grid-template-columns:45px 1fr 45px;align-items:center;background:#fff;text-align:center;padding:0 6px}
.mt-productbar b{font-size:16px}.mt-product-round{display:grid!important;place-items:center;width:34px;height:34px;border-radius:50%!important;background:#f7f7f7!important;font-size:23px!important;line-height:1!important}
.mt-page-product .mt-scroll{background:#f5f5f5}.mt-product-hero{background:#fff;aspect-ratio:1.05;max-height:430px;display:grid;place-items:center;padding:12px}
.mt-product-hero img{width:100%;height:100%;object-fit:contain}
.mt-product-summary,.mt-product-panel{background:#fff;margin:8px 8px 0;border-radius:14px;padding:15px}
.mt-product-summary h1{font-size:23px;line-height:1.22}.mt-product-summary p{color:#999;margin-top:7px;font-size:13px}
.mt-product-panel h2{font-size:16px;margin-bottom:10px}.mt-product-panel p{font-size:13px;line-height:1.6;color:#777}
.mt-product-fields{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f1f1f1;padding:10px 0;font-size:13px}.mt-product-fields span{color:#999}.mt-product-fields strong{text-align:right;font-weight:600}
.mt-product-related{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none}
.mt-product-related::-webkit-scrollbar{display:none}
.mt-product-related-item{flex:none;width:94px;display:flex!important;flex-direction:column;gap:6px;align-items:center!important;text-align:center!important;font-size:12px}
.mt-product-related-item img{width:94px;height:94px;object-fit:contain;background:#faf8f6;border-radius:9px}
.mt-product-related-item strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-product-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border-top:1px solid #eee;padding:8px 12px;min-height:59px}
.mt-product-footer>div{display:flex;align-items:center;gap:7px;min-width:0}.mt-product-footer span{display:flex;flex-direction:column;font-size:12px;min-width:0}.mt-product-footer strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-product-footer small{font-size:10px;color:#999}
.mt-product-return{background:#ffe22e!important;border-radius:20px!important;text-align:center!important;padding:8px 18px!important;font-size:13px!important;font-weight:800!important;white-space:nowrap}
.mt-shop-results-search{display:flex;align-items:center;gap:7px;background:#fff;border-radius:18px;margin:10px 9px 0;padding:8px 11px}
.mt-shop-results-search svg{width:17px;height:17px;color:#999}.mt-shop-results-search input{min-width:0;flex:1;border:0;background:transparent;outline:0;font-size:13px}.mt-shop-results-search button{background:#ffe337;padding:5px 10px;border-radius:14px;font-size:12px;font-weight:750}
.mt-shop-results{margin:10px 9px;background:#fff;border-radius:15px;padding:12px}.mt-shop-results>p{font-size:12px;color:#888;padding-bottom:7px}
.mt-shop-result-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 0!important;border-top:1px solid #f1f1f1!important}
.mt-shop-result-item img{width:64px;height:64px;object-fit:contain;border-radius:8px;background:#faf8f5}
.mt-shop-result-item span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.mt-shop-result-item strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-shop-result-item small{font-size:11px;color:#999}.mt-shop-result-item>svg{width:13px;height:13px;color:#999}
#device:has(.mt-page-shop) #system{background:#ffe5d2;color:#222}
#device:has(.mt-page-shop.mt-shop-0) #system{background:#daf0ec;color:#222}
#device:has(.mt-page-shop.mt-shop-2) #system{background:#202d6b;color:#fff}
#device:has(.mt-page-shop.mt-shop-3) #system{background:#e8efdf;color:#222}
#device:has(.mt-page-shop.mt-shop-compact) #system{background:#fff;color:#222}
#device:has(.mt-app) #system,#device:has(.mt-app) #homekey{background:white;color:#222}
#device:has(.mt-page-home) #system{background:#ffe337}
#device:has(.mt-page-shop.mt-shop-1:not(.mt-shop-compact)) #system{background:#ffe5d2}
