/* Shared production layout, D by default; E changes only the palette. */
body.production-site .meal-platform-details{ text-align:left }
body.production-site .bottom-sheet .sheet-description,
body.production-site .bottom-sheet .copy-instructions,
body.production-site .bottom-sheet .sheet-note{text-align:left}
body.production-site .meituan-stable-sheet #sheet-content{padding-bottom:16px}
body.production-site .bottom-sheet .pack-choice{text-align:left}
body.production-site .meal-platform-details .sheet-description,
body.production-site .meal-platform-details .meal-participation,
body.production-site .meal-platform-details .copy-instructions,
body.production-site .meal-platform-details .sheet-note{text-align:left}
.meal-participation{margin:12px 0 16px;padding:12px 14px;background:#f1efeb;border-radius:10px;color:var(--ink)}
.meal-participation h3{font-size:14px;font-weight:600;margin:0 0 8px}
.meal-participation ol{margin:0;padding-left:20px;font-size:13px;line-height:1.8}
.meal-participation li+li{margin-top:5px}
.meal-participation .sheet-note{margin:10px 0 0}
.coupon-details-link{display:flex;align-items:center;justify-content:flex-start;gap:5px;width:100%;min-height:44px;margin:0 0 4px;padding:0;border:0;background:transparent;text-align:left;font:inherit;font-size:13px;color:var(--accent-dark);cursor:pointer}
.coupon-details-link svg{display:block;flex:0 0 10px;width:10px;height:10px}
.compact-claim .coupon-details-link{margin-bottom:-4px}
body.production-site .compact-claim .claim-intro:has(+.coupon-details-link){margin-bottom:0}
.compact-claim .coupon-details-link{min-height:36px}
body.production-site .compact-claim+.sheet-reminder{margin-top:8px;padding:4px 0;line-height:1.6}
.compact-claim .coupon-details-link+.wechat-coupon-qr{margin-top:0}
.coupon-details-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}

body.production-site .bottom-sheet.meituan-stable-sheet{height:85vh;height:85dvh;display:flex;flex-direction:column;overflow:hidden}
body.production-site .meituan-stable-sheet>.sheet-handle,body.production-site .meituan-stable-sheet>.sheet-heading{flex-shrink:0}
body.production-site .meituan-stable-sheet #sheet-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
body.production-site .bottom-sheet.meituan-stable-sheet::-webkit-scrollbar,body.production-site .meituan-stable-sheet #sheet-content::-webkit-scrollbar{display:none;width:0;height:0}

body.production-site .pack-selector-grid .pack-advice{margin:12px 0 0;padding:8px 10px;border:0;border-radius:8px;background:#f1efeb;font-size:13px;line-height:1.7;text-align:left;color:var(--ink)}
body.production-site .bottom-sheet .sheet-reminder{background:transparent;color:#756f67}
body.production-site .pack-advice strong{display:inline-block;margin-right:8px;font-size:12px;font-weight:500;color:var(--accent-dark)}
body.production-site .pack-selector-grid+.meal-platform-details .claim-intro{margin:20px 0 6px;text-align:left;font-size:14px;line-height:1.7;color:var(--ink)}
body.production-site .pack-selector.pack-selector-grid{background:transparent;border:0;padding:0;margin:12px 0 16px}
body.production-site .pack-selector-grid .pack-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.production-site .pack-selector-grid .pack-choice{border:1px solid var(--line);background:#fffdfa;box-shadow:none;border-radius:10px}
body.production-site .bottom-sheet .pack-selector-grid .pack-choice.selected{background:var(--soft);border-color:var(--accent);box-shadow:none}
body.production-site .pack-selector-grid .pack-choice:not(.selected) .pack-check{display:none}
body.production-site .bottom-sheet .pack-selector-grid .pack-choice.selected .pack-check{background:transparent;border:0;color:var(--accent-dark);font-size:16px}
body.production-site .pack-selector-grid .pack-choice{min-height:48px;padding:11px 32px 11px 10px;display:flex;align-items:center;text-align:left}
body.production-site .pack-selector-grid .pack-choice-copy{min-width:0}
body.production-site .pack-selector-grid .pack-choice strong{font-size:14px!important;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.production-site .pack-selector-grid .pack-choice.selected strong{font-weight:600}
body.production-site .pack-selector-grid .pack-choice{height:auto}
body.production-site .pack-selector-grid .pack-choice small{display:none}
body.production-site .pack-selector-grid .pack-check{right:9px}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.compact-claim .claim-intro{margin:10px 0;font-size:14px;line-height:1.6}
.claim-alternatives{margin:12px 0 0;border-top:1px solid var(--line);padding-top:4px}
.claim-alternatives summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:flex-start;gap:6px;font-size:14px;color:var(--accent-dark);list-style:none}
.claim-alternatives summary::-webkit-details-marker{display:none}
.claim-alternatives summary:after{content:'';flex:0 0 12px;width:12px;height:12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.claim-alternatives[open] summary:after{transform:rotate(180deg)}
.home-snack-cat{display:block;width:74px;height:42px;object-fit:contain}
body.production-site #daily-section>.section-heading{min-height:42px}
body.production-site .bottom-sheet .pack-selector-grid .pack-choice.selected .pack-check{width:20px;height:20px;color:var(--accent)}
.pack-paw{display:block;width:21px;height:21px;max-width:none;flex-shrink:0;color:#b76549;transform:rotate(-14deg)}
@media(prefers-reduced-motion:no-preference){.pack-choice.selected .pack-paw.is-stamping{animation:paw-stamp .22s ease-out}@keyframes paw-stamp{from{opacity:0;scale:.88}to{opacity:1;scale:1}}}
.compact-claim .copy-status:empty{display:none}
.compact-claim .wechat-coupon-qr{margin:8px 0}
.compact-claim .wechat-coupon-qr img{width:160px;height:auto}
.compact-claim .qr-press-hint{font-size:13px;color:var(--muted);font-weight:400;line-height:1.4;margin:2px 0 0}
.compact-claim .wechat-coupon-qr{margin:6px 0 2px}
.claim-method-row>.sheet-note{flex:1;min-width:0}
.claim-method .sheet-secondary{min-width:88px}
.claim-method-row>.sheet-secondary{min-width:88px;text-align:center;justify-content:center}
#wechat-launch-guide{display:block;margin:4px 0 8px;font-size:13px;line-height:1.6}
.image-save-dialog{width:calc(100% - 32px);max-width:360px;max-height:85dvh;overflow:auto;border:0;border-radius:16px;padding:16px;background:#fff;color:#34312d;text-align:center}
.image-save-dialog::backdrop{background:rgba(0,0,0,.65)}
.image-save-dialog.image-view-dialog{width:fit-content;max-width:calc(100% - 32px);padding:36px 12px 12px;border-radius:12px}
.image-view-dialog>button{position:absolute;right:4px;top:4px;width:44px;height:44px;min-height:44px;padding:0;border:0;background:rgba(255,255,255,.94);border-radius:50%;font-size:0;z-index:1}
.image-view-dialog>button:after{content:'×';font-size:22px;font-weight:400;line-height:1;color:var(--ink)}
.image-save-dialog.image-view-dialog img{max-width:min(480px,calc(100vw - 56px));max-height:calc(85dvh - 24px);object-fit:contain}
.image-save-dialog>button{display:block;margin-left:auto;min-height:44px}
.image-save-dialog p{font-size:14px;line-height:1.6;margin:10px 0}
.image-save-dialog img{display:block;max-width:100%;height:auto;margin:auto;-webkit-touch-callout:default;user-select:auto}
body.production-site .claim-code{display:flex;align-items:center;gap:8px;margin:8px 0}
body.production-site .claim-code .code-box{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}
body.production-site .claim-code button{flex-shrink:0;min-height:44px;font-size:14px;padding:10px 12px}
body.production-site .compact-claim .claim-code:has(>.sheet-primary){flex-direction:column;align-items:stretch}
body.production-site .compact-claim .claim-code:has(>.sheet-primary) .code-box{flex:auto;width:100%;overflow-wrap:anywhere;word-break:break-all}
body.production-site .compact-claim .claim-code:has(>.sheet-primary)>.sheet-primary{width:100%;max-width:100%}
@media(max-width:340px){body.production-site .claim-code{flex-direction:column;align-items:stretch}}
.claim-method{padding:10px 0;border:0}
.claim-alternatives[open]>summary{border-bottom:1px solid var(--line)}
.claim-method+.claim-method{border-top:0;background-image:repeating-linear-gradient(to right,#e8e5df 0,#e8e5df 5px,transparent 5px,transparent 11px);background-size:100% 1px;background-position:left top;background-repeat:no-repeat}
.claim-method-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.claim-method-row>div{min-width:0}
.claim-method-row .sheet-note{margin:0;font-size:13px;line-height:1.6;text-align:left}
body.production-site .claim-method .sheet-note,body.production-site .claim-method .copy-instructions{font-size:14px;line-height:1.6;color:var(--ink);text-align:left;font-weight:400}
body.production-site .claim-code .code-box{border:1px solid var(--line);background:var(--pale);box-shadow:none}
.claim-method-row .sheet-secondary{flex-shrink:0;min-height:44px;font-size:13px;padding:9px 12px}
.compact-claim .claim-code{display:flex;flex-direction:row;align-items:center;gap:8px}
.compact-claim .claim-code .code-box{flex:1;min-width:0;width:auto}
.compact-claim .copy-instructions{text-align:left;margin:5px 0 0;font-size:13px;line-height:1.6}
@media(max-width:340px){.compact-claim .claim-code{flex-direction:column;align-items:stretch}.compact-claim .claim-code .code-box{flex:auto;width:100%}}

body.production-site .travel-offer-main{display:flex;align-items:center;gap:10px}
body.production-site .travel-platform-logo{display:block;flex:0 0 40px;width:40px;height:40px;object-fit:contain;border-radius:9px}
body.production-site .travel-offer-copy{flex:1;min-width:0}
body.production-site .travel-offer-main .travel-claim{flex-shrink:0}
body.production-site .travel-ticket-title{display:flex;align-items:center;gap:10px}
body.production-site .concert-search-row{display:flex;gap:8px}
body.production-site .concert-search-row input{flex:1;min-width:0;min-height:46px;font-size:16px;border-radius:10px}
body.production-site .concert-search-row button{flex-shrink:0;min-height:46px;padding:10px 16px;border-radius:10px;background:var(--button-bg);color:#fff}
body.production-site .concert-search-row button:disabled{opacity:.65;cursor:wait}
body.production-site .concert-disclaimer{font-size:12px;line-height:1.65;color:var(--muted)}
body.production-site .concert-status{padding:16px 12px;border-radius:10px;background:var(--pale);font-size:14px;line-height:1.6;color:var(--muted)}
body.production-site .concert-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px;margin-top:12px}
body.production-site .concert-card h4{font-size:15px;line-height:1.6}
body.production-site .concert-card-line{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;line-height:1.7}
body.production-site .concert-status-tag{background:var(--soft);color:var(--accent-dark)}
body.production-site[data-palette=d]{--page:#f5f2ec;--canvas:#f5f2ec;--ink:#34312d;--muted:#756e64;--line:#e9e3d9;--accent:#ad492b;--accent-dark:#983c22;--button-bg:#b76549;--soft:#f9eee5;--pale:#faf6ef;background:var(--page)}
body.production-site[data-palette=e]{--page:#f8faf9;--canvas:#f8faf9;--ink:#26332e;--muted:#65736c;--line:#e1e8e3;--accent:#087b59;--accent-dark:#086347;--button-bg:#628b75;--soft:#e9f4ed;--pale:#f6f8f6;background:var(--page)}
body.production-site [hidden]{display:none!important}
body.production-site .phone{height:auto!important;min-height:100dvh;overflow:visible;max-width:540px}
body.production-site .phone-scroll{height:auto!important;overflow:visible!important;padding:0 18px 12px}
body.production-site .site-header{height:84px!important}
body.production-site .brand-copy{display:flex;flex-direction:column;gap:3px;line-height:1.4}
body.production-site .brand-copy small{font-size:12px;font-weight:400;letter-spacing:.2px;color:var(--muted)}
body.production-site .site-brand{font-size:19px!important;font-weight:600!important;margin-left:-4px}
body.production-site .site-brand .brand-mark{width:34px;height:34px;flex-basis:34px}
body.production-site .site-brand .brand-mark img{filter:none}
.landing-tagline{padding:0 0 8px}.landing-tagline p{margin:0;font-size:15px;line-height:1.6;font-weight:400;color:var(--muted)}
body.production-site .section-heading{margin:24px 0 12px!important;align-items:center}
body.production-site #daily-section>.section-heading{margin-top:16px!important}
body.production-site .section-heading h3{font-size:18px!important;font-weight:600!important}
body.production-site .section-heading h3:after{display:none}
body.production-site #daily-section>.section-heading>span{font-size:12px;color:var(--muted);margin-left:auto}
body.production-site .benefit-grid{gap:10px}
body.production-site[data-layout=cards] #daily-section .benefit-card{padding:12px;grid-template-columns:28px minmax(0,1fr);grid-template-rows:28px auto auto;gap:0 8px;border-radius:13px;background:#fff}
body.production-site[data-layout=cards] .benefit-card strong{font-size:16px;font-weight:600}
body.production-site[data-layout=cards] #daily-section [data-entry=entryMeituan]{background:#fffbeb;border-color:#eee3b9}
body.production-site[data-layout=cards] #daily-section [data-entry=entryInstant]{background:#fff5ef;border-color:#f0ddcf}
body.production-site[data-layout=cards] #daily-section .benefit-card{padding:15px 12px}
body.production-site #daily-section .benefit-icon{width:30px;height:30px}
body.production-site[data-layout=cards] #daily-section .benefit-desc{font-size:12px;line-height:1.6;margin-top:8px}
body.production-site[data-layout=cards] #daily-section .card-cta{font-size:13px;font-weight:500;margin-top:7px;min-height:32px;background:var(--soft);padding:5px 8px;color:var(--accent-dark)}
body.production-site .feature-card{margin-top:0;padding:12px 14px;border-color:var(--line);background:#fff;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px}
body.production-site .feature-card h3{grid-column:1;grid-row:1;font-size:16px!important}
body.production-site .feature-card p{grid-column:1;grid-row:2;margin:0}
body.production-site .feature-card .feature-button{grid-column:2;grid-row:1 / 3;width:auto;margin:0;padding:10px 12px;align-self:center}
body.production-site[data-palette=e] .feature-card{background:#fff;border-color:var(--line)}
body.production-site .feature-card h3{font-size:18px;line-height:1.5;font-weight:500!important}
body.production-site .feature-card .feature-topline{margin-bottom:6px}
body.production-site .feature-card p{font-size:13px;line-height:1.6}
body.production-site[data-palette] .feature-card .feature-button{min-height:44px;background:var(--soft);color:var(--accent-dark);font-size:14px;font-weight:500;box-shadow:none}
.browse-filters{display:flex;flex-wrap:nowrap;gap:0;overflow-x:auto;border-bottom:1px solid var(--line)}
.browse-filters button{position:relative;flex:1 0 auto;font:inherit;font-size:14px;min-height:44px;padding:10px 6px;border:0;border-radius:0;background:transparent;color:var(--muted);white-space:nowrap}
.browse-filters button[aria-pressed=true]{background:transparent;box-shadow:none;color:var(--accent-dark);font-weight:600}
.browse-filters button[aria-pressed=true]:after{content:'';position:absolute;left:18%;right:18%;bottom:0;height:2px;border-radius:2px;background:var(--accent)}
body.production-site[data-palette=d] .browse-group-items{background:#fcfaf7}
.browse-group{margin-top:12px}.browse-group-items{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 12px;overflow:hidden}
body.production-site .browse-group .benefit-row,body.production-site .browse-group .resource-entry{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:13px 0!important;margin:0;min-height:76px}
body.production-site .browse-group-items>:last-child{border-bottom:0}
.browse-group .row-icon{width:30px;height:30px;flex:0 0 30px;border:1px solid var(--line);border-radius:7px;background:var(--pale);color:var(--accent-dark)}
.browse-group .row-icon .icon{width:18px;height:18px;stroke-width:1.7}
body.production-site .row-copy strong{font-size:15px!important}body.production-site .row-copy small{font-size:13px!important}
body.production-site .community-card{display:block;position:relative;margin-top:24px;background:#ede4d8!important;border:0;padding:18px 146px 18px 20px!important;min-height:100px}
body.production-site[data-palette=e] .community-card{background:#edf4ef!important;padding-right:96px!important}
body.production-site .community-card h3{font-size:17px!important;font-weight:600!important;margin:0 0 8px!important;padding-right:0;line-height:1.6}
body.production-site .community-card button{position:absolute;top:50%;right:16px;transform:translateY(-50%);margin:0!important;min-height:46px;padding:11px 16px!important;gap:7px;font-size:14px;white-space:nowrap;background:#fff!important}
body.production-site .site-header .join-outline{min-height:42px;padding:10px 16px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0}
body.production-site .community-card,body.production-site[data-palette=e] .community-card{padding:18px 134px 18px 16px!important}
body.production-site .community-card button{right:14px;padding:11px 12px!important;gap:5px}
body.production-site .community-card p{font-size:12px;line-height:1.7;margin:0}
@media(max-width:350px){body.production-site .community-card,body.production-site[data-palette=e] .community-card{padding:18px 20px!important}body.production-site .community-card button{position:static;transform:none;margin:12px 0 0!important}body.production-site .community-card h3{margin-bottom:6px!important}}
body.production-site .community-card .community-icon,body.production-site .community-doodle{display:none}
body.production-site .site-footer{padding:26px 0!important}
body.production-site .sheet-overlay{position:fixed;inset:0;background:rgba(24,26,25,.62);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:30}
body.production-site .bottom-sheet{position:fixed;z-index:31;max-height:92dvh!important;border-radius:22px 22px 0 0!important;background:#fcfaf7;box-shadow:0 -12px 40px rgba(28,32,29,.16)}
body.production-site .sheet-title,body.production-site .sheet-brand{font-size:20px!important}
body.production-site .pack-selector{background:transparent;border:0;padding:0;margin:8px 0 10px}
body.production-site .pack-selector:not(.pack-selector-grid) .pack-choice{background:#fffdfa;border:1px solid var(--line);border-radius:10px;box-shadow:none;padding:11px 36px 11px 10px}
body.production-site .bottom-sheet .pack-selector:not(.pack-selector-grid) .pack-choice.selected{background:var(--soft);border-color:var(--accent);box-shadow:none}
body.production-site .pack-selector:not(.pack-selector-grid) .pack-choice:has(.pack-choice-image){display:flex;align-items:center;gap:10px;min-width:0}
body.production-site .pack-selector:not(.pack-selector-grid) .pack-choice-image{position:static;transform:none;width:34px;height:34px;flex:0 0 34px;object-fit:contain}
body.production-site .pack-selector:not(.pack-selector-grid) .pack-choice-copy{min-width:0;flex:1}
body.production-site .pack-selector:not(.pack-selector-grid) .pack-choice-copy strong{white-space:normal;overflow-wrap:anywhere}
body.production-site .pack-selector:not(.pack-selector-grid) .pack-choice:not(.selected) .pack-check{display:none}
body.production-site .bottom-sheet .pack-selector:not(.pack-selector-grid) .pack-choice.selected .pack-check{width:20px;height:20px;background:transparent;border:0;color:var(--accent);right:9px}
body.production-site .pack-selector:not(.pack-selector-grid) .platform-hint{margin:12px 0 0;padding:8px 10px;border-radius:8px;background:#f1efeb;color:var(--ink)}
body.production-site .pack-choices{gap:6px}
body.production-site .pack-choice{min-height:60px;padding-top:8px;padding-bottom:8px}
body.production-site .pack-selector .platform-hint{margin:6px 1px 0;font-size:12px;line-height:1.5}
body.production-site .pack-choice strong{font-size:15px!important}body.production-site .pack-choice small{font-size:13px!important;line-height:1.6}
body.production-site .bottom-sheet .pack-choice.selected{border-color:#c28b76;box-shadow:inset 3px 0 #c28b76;background:#fcf2ec}
body.production-site .bottom-sheet .pack-check{border-color:#b76549;color:#8e452f}
body.production-site .bottom-sheet .pack-choice.selected .pack-check{border-color:#b76549;background:#b76549;color:#fff;font-size:13px;font-weight:800}
body.production-site .bottom-sheet .sheet-primary{position:relative;min-height:46px;padding:11px 16px;border-radius:12px;font-size:15px;font-weight:500;box-shadow:none;background:var(--button-bg);color:#fff}
body.production-site .bottom-sheet .sheet-primary:hover{background:#a9563d}body.production-site .bottom-sheet .sheet-primary:active{background:#984b36}
body.production-site .bottom-sheet .sheet-primary[data-copy]{background:#ad684f}body.production-site .bottom-sheet .sheet-primary[data-copy]:hover{background:#9f5b45}
body.production-site[data-palette=e] .bottom-sheet .sheet-primary{background:#628b75}body.production-site[data-palette=e] .bottom-sheet .sheet-primary:hover{background:#527b65}body.production-site[data-palette=e] .bottom-sheet .sheet-primary:active{background:#456b57}
body.production-site[data-palette=e] .bottom-sheet .pack-choice.selected{border-color:#87a993;box-shadow:inset 3px 0 #87a993;background:#edf5ef}
body.production-site[data-palette=e] .bottom-sheet .pack-check{border-color:#628b75;color:#456b57}
body.production-site[data-palette=e] .bottom-sheet .pack-choice.selected .pack-check{border-color:#628b75;background:#628b75;color:#fff}
body.production-site .community-join .sheet-primary{display:flex;align-items:center;justify-content:center;gap:10px}
body.production-site .community-scan .sheet-secondary{display:inline-flex;align-items:center;justify-content:center;min-width:116px;min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:12px;background:var(--pale);color:var(--accent-dark);font-size:14px;font-weight:500;box-shadow:none}
body.production-site .community-scan .sheet-secondary::before{content:none;display:none}
body.production-site .travel-tabs{background:#fcfaf7}
body.production-site .travel-tabs button{background:#fffdfa;color:var(--muted);border:1px solid var(--line)}
body.production-site .travel-tabs button[aria-selected=true]{background:var(--soft);color:var(--accent-dark);border-color:var(--accent);font-weight:600;box-shadow:none}body.production-site .travel-offer h3{font-size:16px!important;font-weight:500}body.production-site .travel-offer p{font-size:14px!important}body.production-site .travel-claim{min-height:44px}
@media(max-width:360px){body.production-site .phone-scroll{padding-left:14px!important;padding-right:14px!important}body.production-site .site-brand{font-size:18px!important}body.production-site .section-heading>span{font-size:11px!important}}
