/* Mushimu commercial surfaces: shared palette, compact inventory, explicit advertising. */
.commercial-page{box-sizing:border-box;width:100%;max-width:1080px;margin:0 auto;padding:0 24px 40px}
.commercial-page h1{font-size:clamp(30px,4.2vw,48px);line-height:1.12;letter-spacing:-.04em}
.commercial-hero{padding:48px 0 28px;max-width:740px}
.commercial-hero h1{margin:12px 0 16px;text-wrap:balance}
.commercial-hero>p{color:var(--text-soft);font-size:16px;line-height:1.7;max-width:62ch;margin:0 0 20px}
.commercial-hero .primary{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.commercial-eyebrow{color:var(--accent);font-size:11px;letter-spacing:.12em;font-weight:750}
.commercial-trust{display:flex;gap:12px 24px;flex-wrap:wrap;padding:16px 0;border-block:1px solid var(--border);color:var(--muted);font-size:12px;line-height:1.6}
.commercial-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:28px 0 12px;scroll-margin-top:90px}
.commercial-section-heading h2{font-size:20px;margin:0;letter-spacing:-.02em}
.commercial-section-note{font-size:12px;color:var(--muted)}
.commercial-section-heading a,.commercial-footer a{color:var(--text-soft);text-underline-offset:4px}
.commercial-disclosure,.commercial-fine-print{font-size:12px;color:var(--muted);line-height:1.7}
.commercial-disclosure{margin:0 0 20px;max-width:80ch}
.commercial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 24px;align-items:stretch}
.commercial-card{box-sizing:border-box;padding:20px;min-width:0;overflow-wrap:anywhere}
article.commercial-card,.commercial-empty{border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:none}
.commercial-card .commercial-label{display:block;font-size:11px;font-weight:600;color:var(--muted);line-height:1.5}
.commercial-image-link{display:block;position:relative;overflow:hidden;border-radius:10px;background:var(--surface-2);border:1px solid var(--border-subtle)}
.commercial-image{display:block;width:100%;height:112px;object-fit:contain;padding:6px;box-sizing:border-box}
.commercial-card h2{font-size:18px;line-height:1.4;letter-spacing:-.02em;margin:0}
.commercial-card h2 a{color:var(--text);text-decoration:none}
.commercial-card h2 a:hover{color:var(--accent-link);text-decoration:underline;text-underline-offset:3px}
.commercial-card p{font-size:13px;line-height:1.7;color:var(--text-soft);margin:0}
.commercial-card a.commercial-cta{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;box-sizing:border-box;background:var(--accent);color:var(--accent-ink);border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none;transition:background 140ms}
.commercial-card a.commercial-cta:hover{background:var(--accent-hover)}
.commercial-card a:focus-visible,.commercial-browse a:focus-visible,.commercial-browse summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.commercial-card .commercial-fine-print,.commercial-photo-credit{font-size:11px;color:var(--muted);margin:0;line-height:1.6}
/* Image and benefit remain adjacent, including when a product has no photograph. */
.commercial-grid>.commercial-card,article.commercial-feed-card,article.commercial-reply-card{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:10px 16px;grid-template-rows:auto auto 1fr auto}
.commercial-card>.commercial-label{grid-column:1/-1;grid-row:1}
.commercial-grid .commercial-image-link,.commercial-feed-card>.commercial-image-link,.commercial-reply-card>.commercial-image-link{grid-column:2;grid-row:2/4;margin:0;align-self:start}
.commercial-grid h2,.commercial-feed-card>.commercial-title,.commercial-reply-card>.commercial-title{grid-column:1;grid-row:2}
.commercial-grid .commercial-description,.commercial-feed-card>.commercial-description,.commercial-reply-card>.commercial-description{grid-column:1;grid-row:3}
.commercial-grid .commercial-cta,.commercial-feed-card>.commercial-cta,.commercial-reply-card>.commercial-cta{grid-column:1/-1;grid-row:4;align-self:end;justify-self:stretch}
.commercial-grid .commercial-card:not(:has(.commercial-image-link)),.commercial-feed-card:not(:has(.commercial-image-link)),.commercial-reply-card:not(:has(.commercial-image-link)){grid-template-columns:minmax(0,1fr)}
article.commercial-feed-card,article.commercial-reply-card{margin:16px 0;grid-template-columns:minmax(0,1fr) 120px}
.commercial-feed-card .commercial-image,.commercial-reply-card .commercial-image{height:120px}
.commercial-feed-card>.commercial-cta,.commercial-reply-card>.commercial-cta{grid-column:1;justify-self:start}
.commercial-feed-card>.commercial-fine-print,.commercial-reply-card>.commercial-fine-print,.commercial-feed-card>.commercial-photo-credit,.commercial-reply-card>.commercial-photo-credit{grid-column:1/-1}
.commercial-grid .commercial-photo-credit{grid-column:1/-1}
.display-ad-frame,.display-ad-preview{display:block;width:300px;max-width:100%;height:250px;border:0;margin:12px auto}
.display-ad-preview{display:grid;place-items:center;text-align:center;background:var(--surface-2);color:var(--muted);box-sizing:border-box;padding:20px}
article.display-ad-card{background:var(--bg);border-style:dashed;text-align:center;padding:14px;margin:16px 0}
.display-ad-card button,.display-ad-preferences{min-height:44px;margin:4px 10px 4px 0}
.commercial-partner{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:32px 0;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.commercial-partner h2{margin:0 0 8px;font-size:20px;letter-spacing:-.02em}
.commercial-partner p{margin:0;color:var(--muted);line-height:1.7;font-size:14px}
.commercial-partner>a{flex-shrink:0;color:var(--accent);min-height:44px;display:inline-flex;align-items:center;font-size:14px;font-weight:650}
.commercial-footer{display:flex;gap:8px 20px;flex-wrap:wrap;font-size:12px;padding:20px 0;border-top:1px solid var(--border-subtle);color:var(--muted)}
.commercial-footer a{display:inline-flex;align-items:center;min-height:44px}
.commercial-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0;scroll-margin-top:90px}
.commercial-option{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.commercial-option h2{font-size:18px;margin:16px 0 10px}
.commercial-option p{font-size:14px;color:var(--text-soft);line-height:1.7;margin-bottom:0}
.commercial-step{color:var(--accent);font-family:var(--font-mono);font-size:11px}
.commercial-faq{margin:32px 0}
.commercial-faq h2{font-size:20px;letter-spacing:-.02em}
.commercial-faq details{border-bottom:1px solid var(--border)}
.commercial-faq summary{cursor:pointer;padding:16px 0;min-height:48px;box-sizing:border-box;font-size:14px;font-weight:600}
.commercial-faq p{max-width:70ch;color:var(--text-soft);font-size:14px;line-height:1.7;margin:0 0 18px}
.commercial-empty{padding:32px;margin:24px 0}
.commercial-empty h2{margin-bottom:12px}.commercial-empty p{margin-bottom:16px}
.commercial-browse .commercial-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px max(24px,calc((100vw - 1032px)/2));min-height:72px;box-sizing:border-box}
.commercial-topbar .commercial-brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-size:15px;font-weight:700;white-space:nowrap;text-decoration:none}
.commercial-brand-section{font-weight:400;color:var(--muted);font-size:12px}
.commercial-topbar nav{display:flex;align-items:center;gap:8px}
.commercial-topbar nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;color:var(--muted);font-size:13px;border-radius:8px;text-decoration:none;white-space:nowrap}
.commercial-topbar nav a:hover{color:var(--text);background:var(--surface-2)}
.commercial-topbar nav a[aria-current=page]{background:var(--accent-soft);color:var(--accent-link);font-weight:600}
.commercial-skip{position:fixed;top:8px;left:16px;transform:translateY(-160%);z-index:100;background:var(--surface);color:var(--text);padding:12px;border:1px solid var(--accent);border-radius:8px}
.commercial-skip:focus{transform:translateY(0)}
.commercial-admin{padding:20px;margin-bottom:20px;max-width:900px}
.commercial-admin summary{cursor:pointer;min-height:44px;line-height:1.6}
.commercial-form{display:grid;gap:14px;margin:16px 0;max-width:680px}
.commercial-form label{display:grid;gap:6px;font-weight:600}
.commercial-form input:not([type=checkbox]),.commercial-form textarea,.commercial-form select{width:100%;box-sizing:border-box;min-height:44px;padding:10px}
.commercial-form p{margin:0;font-size:13px;color:var(--muted);line-height:1.6}
.commercial-form .commercial-check{display:flex;align-items:center;gap:10px;min-height:44px}
.commercial-dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.commercial-form button{justify-self:start;min-height:44px}
@media(max-width:880px){.commercial-brand-section,.commercial-topbar .commercial-back{display:none}.commercial-options{grid-template-columns:1fr}.commercial-option{padding:20px}.commercial-option h2{margin-top:10px}}
@media(max-width:700px){
.commercial-grid{grid-template-columns:1fr}
.commercial-page{padding-inline:20px}.commercial-hero{padding:28px 0 20px}.commercial-hero>p{font-size:15px;margin-bottom:12px}
.commercial-trust{gap:8px 16px}.commercial-partner{align-items:flex-start;flex-direction:column;gap:12px;padding:20px}
.commercial-section-heading{align-items:flex-start;flex-direction:column;gap:6px}
.commercial-browse .commercial-topbar{padding:8px 16px;gap:8px;min-height:64px}
.commercial-topbar nav{gap:0}.commercial-topbar nav a{padding:0 10px;font-size:12px}
.commercial-topbar .commercial-brand{gap:6px;font-size:14px}.commercial-topbar .brand-mark{width:30px;height:24px}
.commercial-grid>.commercial-card,article.commercial-feed-card,article.commercial-reply-card{grid-template-columns:minmax(0,1fr) 88px;gap:10px 12px;padding:16px}
.commercial-card h2{font-size:16px}.commercial-image,.commercial-feed-card .commercial-image,.commercial-reply-card .commercial-image{height:88px}
.commercial-feed-card>.commercial-cta,.commercial-reply-card>.commercial-cta{grid-column:1/-1;justify-self:stretch}
.commercial-grid .commercial-description{grid-column:1/-1}
.commercial-grid .commercial-image-link{grid-row:2}
.commercial-footer{gap:4px 16px}
}
@media(max-width:360px){.commercial-topbar .commercial-brand>span{display:none}.commercial-page{padding-inline:16px}}
@media(max-width:480px){.commercial-dates{grid-template-columns:1fr}}

/* Preserve current post sidebar inventory layout. */
.commercial-sidebar-slot{display:flex;flex-direction:column;gap:12px;min-width:0}
.commercial-sidebar-slot[hidden]{display:none!important}
.commercial-sidebar-slot .commercial-card{margin:0;padding:14px;border-radius:15px;background:var(--surface,#101720);border-color:var(--border,#283142);box-shadow:none}
.commercial-sidebar-slot .commercial-sidebar-affiliate{box-sizing:border-box;width:100%;align-self:stretch;padding:12px}
.commercial-sidebar-slot .commercial-label{font-size:10px;letter-spacing:.035em}
.commercial-sidebar-slot .commercial-sidebar-affiliate h2{font-size:15px;line-height:1.3;margin:8px 0 4px}
.commercial-sidebar-slot .commercial-sidebar-affiliate p{font-size:11.5px;line-height:1.45;margin:0 0 8px}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-image-link{margin:8px 0 6px;aspect-ratio:2.1/1}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-image{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-cta{min-height:36px;padding:6px 10px;font-size:11.5px}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-fine-print,.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-photo-credit{font-size:10px;margin-top:7px}
.commercial-sidebar-slot .display-ad-frame,.commercial-sidebar-slot .display-ad-preview{width:100%;max-width:300px;height:250px;margin:10px auto 0}
.commercial-sidebar-slot .display-ad-card{padding:12px}
@media(max-width:820px){.post-context-rail .commercial-sidebar-slot{margin-top:0}.post-context-rail .commercial-sidebar-slot .commercial-sidebar-affiliate{padding:11px}}

/* In-context monetization: match feed rhythm and keep product photography intact. */
.home-feed>article.commercial-feed-card{margin:16px 0 20px;border-color:var(--border);background:var(--surface);grid-template-columns:minmax(0,1fr) 144px;padding:20px;gap:10px 20px}
.home-feed .commercial-feed-card>.commercial-title{font-size:19px;line-height:1.4}
.home-feed .commercial-feed-card>.commercial-description{font-size:14px;line-height:1.65}
.home-feed .commercial-feed-card .commercial-image{height:144px;padding:8px;object-fit:contain}
.home-feed .commercial-feed-card>.commercial-cta{grid-column:1/-1;justify-self:start;margin-top:4px}
.commercial-sidebar-slot .commercial-sidebar-affiliate{border-radius:12px;padding:16px}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-image-link{aspect-ratio:4/3;margin:12px 0;background:var(--surface-2)}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-image{object-fit:contain;padding:10px}
.commercial-sidebar-slot .commercial-sidebar-affiliate h2{font-size:17px;line-height:1.4;margin:12px 0 8px}
.commercial-sidebar-slot .commercial-sidebar-affiliate p{font-size:13px;line-height:1.65;margin:0 0 12px}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-cta{width:100%;min-height:44px;font-size:13px;padding:10px 12px}
.commercial-sidebar-slot .commercial-sidebar-affiliate .commercial-photo-credit{display:inline-flex;align-items:center;min-height:32px;margin-top:4px}
.commercial-post-pick[hidden]{display:none!important}
.commercial-post-pick{padding:16px;background:var(--bg);border-block:1px solid var(--border-subtle)}
.commercial-post-pick .commercial-sidebar-affiliate{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:10px 12px;margin:0;padding:16px}
.commercial-post-pick .commercial-label{grid-column:1/-1;grid-row:1}
.commercial-post-pick .commercial-title{grid-column:1;grid-row:2;font-size:16px}
.commercial-post-pick .commercial-image-link{grid-column:2;grid-row:2;margin:0}
.commercial-post-pick .commercial-image{height:88px;object-fit:contain;padding:6px}
.commercial-post-pick .commercial-description{grid-column:1/-1;grid-row:3}
.commercial-post-pick .commercial-cta{grid-column:1/-1;grid-row:4}
.commercial-post-pick .commercial-fine-print,.commercial-post-pick .commercial-photo-credit{grid-column:1/-1}
.commercial-post-pick .commercial-sidebar-affiliate:not(:has(.commercial-image-link)){grid-template-columns:minmax(0,1fr)}
article.display-ad-card,.commercial-sidebar-slot article.display-ad-card{border:1px solid var(--border-subtle);border-radius:12px;background:var(--surface);padding:14px 12px 0;text-align:left;box-sizing:border-box;overflow:hidden}
.display-ad-card>.commercial-label{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-bottom:12px;text-align:center}
.display-ad-frame,.display-ad-preview,.commercial-sidebar-slot .display-ad-frame,.commercial-sidebar-slot .display-ad-preview{width:300px;max-width:none;height:250px;margin:0 auto;border:0;display:block}
.display-ad-preview{display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border);border-radius:4px;font-size:13px}
.display-ad-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;max-width:300px;margin:8px auto 0;border-top:1px solid var(--border-subtle);color:var(--muted);font-size:10px;line-height:1.5}
.display-ad-footer>a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:3px;flex-shrink:0}
.display-ad-footer>a:hover{color:var(--text)}
@media(max-width:820px){.commercial-post-pick:has(.commercial-card){display:block}.commercial-sidebar-slot .commercial-sidebar-affiliate{padding:16px}}
@media(max-width:600px){
.home-feed>article.commercial-feed-card{grid-template-columns:minmax(0,1fr) 96px;padding:16px;gap:10px 12px;margin:12px 0 16px}
.home-feed .commercial-feed-card>.commercial-title{font-size:16px}
.home-feed .commercial-feed-card .commercial-image{height:96px}
.home-feed .commercial-feed-card>.commercial-image-link{grid-row:2}
.home-feed .commercial-feed-card>.commercial-description{grid-column:1/-1;font-size:13px}
.home-feed .commercial-feed-card>.commercial-cta{justify-self:stretch}
.commercial-post-pick{padding:12px}
}
@media(max-width:380px){article.display-ad-card,.commercial-sidebar-slot article.display-ad-card{padding-inline:0;border-inline:0;border-radius:0}.commercial-post-pick{padding:8px}.commercial-post-pick .commercial-sidebar-affiliate{padding:12px}}
/* Keep the product above the display network, regardless of request completion order. */
.commercial-sidebar-slot .commercial-sidebar-affiliate{order:0}
.commercial-sidebar-slot article.display-ad-sidebar{order:1;padding-inline:8px}
/* At tablet widths the shared two-column shell otherwise puts the rail in a 200px nav track. */
@media(min-width:821px) and (max-width:1180px){
.home.post-v2 .home-shell{grid-template-columns:minmax(0,1fr) 326px;justify-content:stretch;gap:20px}
.home.post-v2 .home-shell>.home-left{display:none}
}
