.mp-home,.mp-catalog-heading,.mp-back-home{display:none}
@media(min-width:1000px){
 body.mp-platform-desktop #items .np-banner{display:none!important}
 body.mp-platform-desktop #items .sh-shop-intro{display:block!important}
 body.mp-platform-desktop #items:not(.mp-home-open) .me-shop-entry{display:none!important}
 body.mp-platform-desktop #items.mp-home-open :is(.nd-sticky,.nd-feed-heading){display:none!important}
 body.mp-platform-desktop #items.mp-home-open .mp-home{display:block}
 body.mp-platform-desktop #items.mp-home-open .mp-catalog-heading{display:flex}
 body.mp-platform-desktop #items:not(.mp-home-open) .mp-back-home{display:block;border:0;background:transparent;color:#557876;padding:14px 0;font:inherit;font-size:12px;cursor:pointer}
 body.mp-platform-desktop #items .px-content{background:#fff!important}
 body.mp-platform-desktop #items .nd-page{max-width:1600px;margin-inline:auto;padding:16px 24px 32px!important}
 body.mp-platform-desktop .mp-home{color:#38373c;text-align:left;font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',sans-serif}
 body.mp-platform-desktop .mp-home *{box-sizing:border-box}
 body.mp-platform-desktop .mp-home button,body.mp-platform-desktop .mp-catalog-heading button{font-family:inherit;cursor:pointer}
 body.mp-platform-desktop .mp-home :is(a,button):focus-visible{outline:2px solid #487d82;outline-offset:5px}
 body.mp-platform-desktop .mp-home a{text-decoration:none;color:inherit}
 body.mp-platform-desktop .mp-eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.18em;color:#6b8583;line-height:1.7}
 body.mp-platform-desktop .mp-keywords{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:18px 0;border-bottom:1px solid #eee9e7}
 body.mp-platform-desktop .mp-keywords>span{font-size:11px;margin-right:9px;color:#81787a}
 body.mp-platform-desktop .mp-keyword-rail>button{border:0;background:#f6f0f1;color:#7d6970;border-radius:22px;padding:8px 14px;font-size:11px;line-height:1.4;transition:background .2s}
 body.mp-platform-desktop .mp-keyword-rail>button:hover{background:#eee0e4}
 body.mp-platform-desktop .mp-section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:36px 0 20px;gap:20px}
 body.mp-platform-desktop .mp-section-heading h2{font-size:21px;line-height:1.5;font-weight:500;margin:6px 0 0;letter-spacing:.035em;color:#46404a}
 body.mp-platform-desktop .mp-section-heading>button{padding:8px 0;border:0;border-bottom:1px solid #d9d4d5;background:none;color:#6f646a;font-size:11px;white-space:nowrap}
 body.mp-platform-desktop .mp-tastes{padding-top:2px}
 body.mp-platform-desktop .mp-taste-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 body.mp-platform-desktop .mp-taste-card{display:flex;align-items:center;min-width:0;border:0;padding:0;background:#f8f4f3;text-align:left;gap:15px;overflow:hidden}
 body.mp-platform-desktop .mp-taste-card:nth-child(2n){background:#f1f6f5}
 body.mp-platform-desktop .mp-taste-card img{width:86px;height:112px;object-fit:cover;object-position:50% 20%}
 body.mp-platform-desktop .mp-taste-card div{padding:10px 8px 10px 0;min-width:0}
 body.mp-platform-desktop .mp-taste-card h3{font-size:12px;font-weight:500;margin:0 0 9px;line-height:1.7}
 body.mp-platform-desktop .mp-taste-card span{font-size:10px;color:#81727a;line-height:1.6}
 body.mp-platform-desktop .mp-catalog-heading{border-top:1px solid #eee9e7;padding-top:30px}
 body.mp-platform-desktop .mp-catalog-heading .mp-eyebrow{color:#6b8583}
 @media(max-width:1199px){
  body.mp-platform-desktop #items .nd-page{padding-inline:24px!important}
  body.mp-platform-desktop .mp-taste-card{gap:9px}
  body.mp-platform-desktop .mp-taste-card img{width:66px;height:108px}
  body.mp-platform-desktop .mp-taste-card h3{font-size:11px}
 }
}

/* Restore the familiar MEIAI imagery and soft palette within the new discovery shell. */
@media(min-width:1000px){
 body.mp-platform-desktop .mp-home{color:#504a50}
 body.mp-platform-desktop .mp-home>.sh-shop-intro{padding:0 0 4px!important}
 body.mp-platform-desktop .mp-home .lv-editorial{margin:0!important}
 body.mp-platform-desktop .mp-home .lv-editorial .mb-hero{height:clamp(300px,23vw,360px)!important;border-radius:16px}
 body.mp-platform-desktop .mp-home .lv-editorial .mb-hero-copy{max-width:50%}
 body.mp-platform-desktop .mp-home .bc-brand-marquee{scroll-margin-top:20px}
 body.mp-platform-desktop .mp-keywords{padding:14px 0 18px;border-bottom:1px solid #efe6ed;gap:8px}
 body.mp-platform-desktop .mp-keywords>span{color:#887687}
 body.mp-platform-desktop .mp-keyword-rail>button{background:#f8f0f6;color:#927b8c;border:1px solid #eee4ed;border-radius:18px}
 body.mp-platform-desktop .mp-keyword-rail>button:hover{background:linear-gradient(110deg,#f4e4ed,#e6f3f5);color:#677c83}
 body.mp-platform-desktop .mp-section-heading{margin:24px 0 15px}
 body.mp-platform-desktop .mp-eyebrow{color:#b58ba4;font-size:9px;letter-spacing:.12em}
 body.mp-platform-desktop .mp-section-heading h2{font-size:19px;color:#665460}
 body.mp-platform-desktop .mp-taste-grid{gap:12px}
 body.mp-platform-desktop .mp-taste-card{background:linear-gradient(115deg,#fcf6fa,#f5f9fb);border:1px solid #eee6ed;border-radius:14px}
 body.mp-platform-desktop .mp-taste-card:nth-child(2n){background:linear-gradient(115deg,#f5f9fc,#f0f8f8)}
 body.mp-platform-desktop .mp-taste-card img{height:104px;width:80px}
 body.mp-platform-desktop .mp-taste-card h3{color:#705d6a}
 body.mp-platform-desktop .mp-taste-card span{color:#a08d9b}
 body.mp-platform-desktop .mp-catalog-heading{border-top:0;padding-top:16px}
 body.mp-platform-desktop #items.mp-home-open .me-shop-entry{margin:20px 0}
}

@media(min-width:1000px){
 body.mp-platform-desktop #items .mp-home .cr-category-strip .mp-expanded-categories[data-discovery-rail]{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:14px;max-width:100%;width:100%;margin-inline:auto;padding:16px 30px 10px 18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:18px;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:none;cursor:grab}
 body.mp-platform-desktop #items .mp-home .mp-expanded-categories .hd-category{flex:0 0 90px;min-width:90px;min-height:96px;gap:7px;font-size:11px;line-height:1.4;scroll-snap-align:start;user-select:none}
 body.mp-platform-desktop #items .mp-home .mp-expanded-categories .hd-category img{width:62px;height:62px;border-radius:8px;object-fit:cover;object-position:50% 25%;-webkit-user-drag:none}
 body.mp-platform-desktop #items .mp-home .mp-expanded-categories .hd-category>span{display:block;max-width:100%;min-height:2.8em;white-space:pre-line;overflow-wrap:anywhere;text-align:center}
 body.mp-platform-desktop #items .mp-home .cr-category-strip>.cr-rail-arrow{top:30px;width:32px;height:32px}
 body.mp-platform-desktop #items .mp-home .mp-expanded-categories.mp-dragging{cursor:grabbing;scroll-snap-type:none}
 body.mp-platform-desktop #items .mp-home .mp-expanded-categories.mp-dragging *{cursor:grabbing}
}

@media(min-width:1000px){
 body.mp-platform-desktop .mp-keywords{flex-wrap:nowrap;gap:12px;min-width:0}
 body.mp-platform-desktop .mp-keywords>span{flex:none;white-space:nowrap;margin-right:0}
 body.mp-platform-desktop .mp-keyword-rail{display:flex;align-items:center;flex:1;min-width:0;gap:8px;padding:4px 2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity;touch-action:pan-x pan-y}
 body.mp-platform-desktop .mp-keyword-rail::-webkit-scrollbar{display:none}
 body.mp-platform-desktop .mp-keyword-rail>button{flex:none;white-space:nowrap;scroll-snap-align:start}
 body.mp-platform-desktop .mp-keyword-controls{display:flex;flex:none;gap:6px}
 body.mp-platform-desktop .mp-keyword-controls[hidden]{display:none}
 body.mp-platform-desktop .mp-keyword-arrow{display:grid;place-items:center;width:28px;height:28px;border:1px solid #e9dfe7;border-radius:50%;background:#fff;color:#877080;font-size:19px;line-height:1;padding:0}
 body.mp-platform-desktop .mp-keyword-arrow:hover:enabled{background:#f7eff5}
 body.mp-platform-desktop .mp-keyword-arrow:disabled{opacity:.3;cursor:default}
}

/* Compact mobile Web follow-up links, preserving the existing destinations. */
@media(max-width:999px){
 html:not(.meiai-native) #items .me-shop-entry{margin:10px 12px 12px}
 html:not(.meiai-native) #items .me-follow-grid{max-width:none;gap:6px}
 html:not(.meiai-native) #items .me-follow-grid .me-follow-card{display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;justify-content:center;column-gap:4px;row-gap:5px;min-height:64px;padding:9px 7px;border-radius:9px;text-align:left}
 html:not(.meiai-native) #items .me-follow-icon{grid-column:1;grid-row:1;width:22px;height:22px;margin:0}
 html:not(.meiai-native) #items .me-follow-icon :is(img,svg){width:22px;height:22px}
 html:not(.meiai-native) #items .me-follow-card strong.me-follow-mobile-copy{grid-column:2;grid-row:1;font-size:10.5px;line-height:1.4;white-space:nowrap}
 html:not(.meiai-native) #items .me-follow-card small.me-follow-mobile-copy{grid-column:1/-1;grid-row:2;font-size:9.5px;line-height:1.4;white-space:nowrap;text-align:center}
}
