/* Homepage live (?homepreview=1): compact sourcing + 2030 category grid.
   Only applied when html.mc-homepreview is set by mc-home-preview.js */
html.mc-homepreview .mc-hp-pill{display:inline-flex!important}

/* ── Sourcing Partner: tighten empty space ── */
html.mc-homepreview section.below-fold.py-10.md\:py-16.bg-white,
html.mc-homepreview #mc-sourcing-preview{
  padding-top:1.25rem!important;padding-bottom:1.5rem!important;
}
html.mc-homepreview #mc-sourcing-preview .mc-src-inner{max-width:1100px;margin:0 auto;padding:0 16px}
html.mc-homepreview #mc-sourcing-preview .mc-src-hero{
  display:grid;gap:16px;align-items:center;
  grid-template-columns:1fr;margin-bottom:14px;
}
@media (min-width:768px){
  html.mc-homepreview #mc-sourcing-preview .mc-src-hero{grid-template-columns:1.2fr .8fr;gap:24px;margin-bottom:18px}
}
html.mc-homepreview #mc-sourcing-preview h2{
  font-size:1.35rem;line-height:1.2;font-weight:800;letter-spacing:-.02em;margin:0 0 6px;color:#0f172a;
}
@media (min-width:768px){html.mc-homepreview #mc-sourcing-preview h2{font-size:1.85rem}}
html.mc-homepreview #mc-sourcing-preview .mc-src-sub{margin:0;color:#64748b;font-size:.875rem;line-height:1.45;max-width:36rem}
html.mc-homepreview #mc-sourcing-preview .mc-src-ctas{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html.mc-homepreview #mc-sourcing-preview .mc-src-ctas a{
  display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:12px;
  font-size:.8125rem;font-weight:700;text-decoration:none;line-height:1;
}
html.mc-homepreview #mc-sourcing-preview .mc-src-ctas a.pri{background:#0096db;color:#fff;box-shadow:0 8px 18px rgba(0,150,219,.28)}
html.mc-homepreview #mc-sourcing-preview .mc-src-ctas a.sec{background:#fff;color:#0f172a;border:1px solid #e2e8f0}
html.mc-homepreview #mc-sourcing-preview .mc-src-ctas a.sec:hover{border-color:#0096db;color:#0096db}
html.mc-homepreview #mc-sourcing-preview .mc-src-badges{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;
}
@media (max-width:419px){
  html.mc-homepreview #mc-sourcing-preview .mc-src-badges{
    display:flex;overflow-x:auto;gap:8px;padding-bottom:4px;-webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
  }
  html.mc-homepreview #mc-sourcing-preview .mc-src-badge{flex:0 0 72%;scroll-snap-align:start}
}
html.mc-homepreview #mc-sourcing-preview .mc-src-badge{
  display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;
  background:linear-gradient(145deg,#f8fafc,#fff);border:1px solid #eef2f7;
  box-shadow:0 1px 0 rgba(15,23,42,.04);
}
html.mc-homepreview #mc-sourcing-preview .mc-src-badge .ic{
  width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;
  background:#eff6ff;color:#0096db;font-size:16px;
}
html.mc-homepreview #mc-sourcing-preview .mc-src-badge .t{font-size:.75rem;font-weight:700;color:#0f172a;line-height:1.25}
html.mc-homepreview #mc-sourcing-preview .mc-src-badge .d{font-size:.65rem;color:#64748b;margin-top:1px}
html.mc-homepreview #mc-sourcing-preview .mc-hp-pill{
  display:inline-flex;align-items:center;margin-bottom:8px;font-size:10px;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:2px 8px;
}

/* Hide original bloated sourcing when we inject replacement */
html.mc-homepreview section.below-fold.py-10.md\:py-16.bg-white:has(h2):not(#mc-sourcing-preview){display:none!important}
/* fallback without :has — JS adds .mc-src-orig-hide */
html.mc-homepreview section.mc-src-orig-hide{display:none!important}

/* ── Category grid 2030 (preview overrides on .mcx) ── */
html.mc-homepreview .mcx{padding:28px 0 32px!important;background:
  radial-gradient(1200px 400px at 10% -10%,rgba(0,150,219,.08),transparent 60%),
  radial-gradient(900px 360px at 90% 0%,rgba(139,198,63,.08),transparent 55%),#fff!important}
html.mc-homepreview .mcx-head{margin-bottom:14px!important}
html.mc-homepreview .mcx h2{font-size:1.45rem!important}
@media (min-width:768px){html.mc-homepreview .mcx h2{font-size:2rem!important}}
html.mc-homepreview .mcx-sub{font-size:.8125rem!important;max-width:28rem}
html.mc-homepreview .mcx-track{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
@media (min-width:600px){
  html.mc-homepreview .mcx-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}
@media (min-width:1024px){
  /* 6 cols on large desktop; bento: first tile spans 2x2 */
  html.mc-homepreview .mcx-track{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;
  }
  html.mc-homepreview .mcx-track > .mcx-item:first-child{
    grid-column:span 2;grid-row:span 2;
  }
  html.mc-homepreview .mcx-track > .mcx-item:first-child .mcx-tile{aspect-ratio:auto;height:100%;min-height:100%}
  html.mc-homepreview .mcx-track > .mcx-item:not(:first-child){grid-column:span 2}
}
html.mc-homepreview .mcx-tile{
  border-radius:18px!important;
  box-shadow:0 10px 28px -18px rgba(15,23,42,.45), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter:saturate(1.1);
  transition:transform .28s ease, box-shadow .28s ease;
}
html.mc-homepreview .mcx-tile:after{
  background:linear-gradient(to top,rgba(7,13,22,.88) 0%,rgba(7,13,22,.4) 42%,rgba(7,13,22,.05) 72%)!important;
}
html.mc-homepreview .mcx-tile:before{
  opacity:.85!important;
  background:linear-gradient(135deg,rgba(0,150,219,.55),rgba(139,198,63,.2) 55%,transparent 80%)!important;
}
html.mc-homepreview .mcx-name{font-size:15px!important;letter-spacing:-.01em}
html.mc-homepreview .mcx-track > .mcx-item:first-child .mcx-name{font-size:22px!important}
html.mc-homepreview .mcx-explore{
  display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:11px;font-weight:700;
  color:rgba(255,255,255,.92);opacity:.9;
}
html.mc-homepreview .mcx-explore svg{width:12px;height:12px}
html.mc-homepreview .mcx-skel{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0;padding:0;list-style:none;
}
@media (min-width:600px){html.mc-homepreview .mcx-skel{grid-template-columns:repeat(3,1fr)}}
html.mc-homepreview .mcx-skel li{
  aspect-ratio:4/5;border-radius:18px;background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9 50%,#e2e8f0 75%);
  background-size:200% 100%;animation:mcHpSkel 1.2s ease-in-out infinite;
}
@keyframes mcHpSkel{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media (hover:hover) and (pointer:fine){
  html.mc-homepreview .mcx-tile:hover{transform:translateY(-5px)!important;box-shadow:0 22px 40px -16px rgba(0,150,219,.5)!important}
  html.mc-homepreview .mcx-tile:hover img{transform:scale(1.07)!important}
}
html.mc-homepreview .mcx-tile:focus-visible{outline:3px solid #8bc63f!important;outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  html.mc-homepreview .mcx-tile,html.mc-homepreview .mcx-tile img,html.mc-homepreview .mcx-skel li{transition:none!important;animation:none!important}
  html.mc-homepreview .mcx-tile:hover{transform:none!important}
  html.mc-homepreview .mcx-tile:hover img{transform:none!important}
}

html.mc-homepreview section.mc-src-orig-hide,html.mc-homepreview section.mc-src-orig-hide *{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}


/* ── Footer subscribe strip (preview only) ── */
html.mc-homepreview #mc-subscribe-footer{
  width:100%;box-sizing:border-box;
  background:#0b1220;border-bottom:1px solid #1f2937;
  color:#e5e7eb;padding:14px 0 16px;
}
html.mc-homepreview footer.bg-gray-900 > #mc-subscribe-footer,
html.mc-homepreview footer.ft > #mc-subscribe-footer{order:-1}
html.mc-homepreview #mc-subscribe-footer .mc-sub-inner{
  max-width:1100px;margin:0 auto;padding:0 16px;
  display:grid;gap:12px;align-items:start;
}
@media (min-width:768px){
  html.mc-homepreview #mc-subscribe-footer .mc-sub-inner{
    grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr);gap:20px;align-items:center;
  }
}
html.mc-homepreview #mc-subscribe-footer .mc-hp-pill{
  display:inline-flex!important;margin-bottom:6px;font-size:10px;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:#93c5fd;background:rgba(59,130,246,.18);
  border-radius:999px;padding:2px 8px;
}
html.mc-homepreview #mc-subscribe-footer h2{
  margin:0 0 4px;font-size:1rem;font-weight:800;letter-spacing:-.01em;color:#fff;line-height:1.25;
}
html.mc-homepreview #mc-subscribe-footer .mc-sub-lead{
  margin:0;font-size:.75rem;line-height:1.4;color:#9ca3af;max-width:36rem;
}
html.mc-homepreview #mc-subscribe-footer .mc-sub-grid{display:grid;gap:8px}
html.mc-homepreview #mc-subscribe-footer .mc-sub-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:419px){html.mc-homepreview #mc-subscribe-footer .mc-sub-row{grid-template-columns:1fr}}
html.mc-homepreview #mc-subscribe-footer label{
  display:block;font-size:11px;font-weight:600;color:#9ca3af;margin:0 0 3px;
}
html.mc-homepreview #mc-subscribe-footer input,
html.mc-homepreview #mc-subscribe-footer select{
  width:100%;box-sizing:border-box;border:1px solid #374151;border-radius:10px;
  padding:10px 11px;font-size:.8125rem;color:#111827;background:#fff;
}
html.mc-homepreview #mc-subscribe-footer input:focus-visible,
html.mc-homepreview #mc-subscribe-footer select:focus-visible{outline:2px solid #3B82F6;outline-offset:1px}
html.mc-homepreview #mc-subscribe-footer .mc-sub-hp{position:absolute;left:-9999px;height:0;width:0;overflow:hidden;opacity:0}
html.mc-homepreview #mc-subscribe-footer .mc-sub-cta{
  width:100%;border:0;border-radius:10px;padding:11px 12px;cursor:pointer;
  background:#0096db;color:#fff;font-weight:800;font-size:.8125rem;
}
html.mc-homepreview #mc-subscribe-footer .mc-sub-cta:disabled{opacity:.55;cursor:not-allowed}
html.mc-homepreview #mc-subscribe-footer .mc-sub-cta:focus-visible{outline:2px solid #8bc63f;outline-offset:2px}
html.mc-homepreview #mc-subscribe-footer .mc-sub-note{margin:6px 0 0;font-size:11px;line-height:1.35;color:#6b7280}
html.mc-homepreview #mc-subscribe-footer .mc-sub-note a{color:#93c5fd;text-decoration:underline}
html.mc-homepreview #mc-subscribe-footer .mc-sub-err{margin:6px 0 0;font-size:12px;font-weight:600;color:#fca5a5}
html.mc-homepreview #mc-subscribe-footer .mc-sub-ok{padding:4px 0;color:#e5e7eb}
html.mc-homepreview #mc-subscribe-footer .mc-sub-ok strong{display:block;color:#fff;font-size:.95rem;margin-bottom:2px}
/* Hide homepage body subscribe section in preview (never inject a body card) */
html.mc-homepreview section.mc-sub-orig-hide,
html.mc-homepreview #mc-subscribe-preview{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}

/* Compact Telegram bar — preview only */
html.mc-homepreview #mc-tg-popup-wrap{display:none!important}
html.mc-homepreview #mc-tg2-root{
  position:fixed;left:0;right:0;bottom:0;z-index:99990;pointer-events:none;
  display:flex;justify-content:center;padding:0 10px calc(10px + env(safe-area-inset-bottom,0px));
  opacity:0;transform:translateY(12px);transition:opacity .28s ease,transform .28s ease;
}
html.mc-homepreview #mc-tg2-root.mc-tg2-on{opacity:1;transform:none;pointer-events:auto}
@media (prefers-reduced-motion:reduce){
  html.mc-homepreview #mc-tg2-root{transition:none}
}
html.mc-homepreview #mc-tg2-root .mc-tg2-sheet{
  position:relative;display:flex;align-items:center;gap:10px;
  width:100%;max-width:420px;box-sizing:border-box;
  background:#0b1220;color:#e5e7eb;border:1px solid rgba(34,158,217,.35);
  border-radius:14px;padding:10px 40px 10px 10px;
  box-shadow:0 12px 32px rgba(0,0,0,.28);
}
html.mc-homepreview #mc-tg2-root .mc-tg2-pill{position:absolute;top:-8px;left:12px}
html.mc-homepreview #mc-tg2-root .mc-tg2-icon{
  flex:0 0 auto;width:36px;height:36px;border-radius:11px;
  background:linear-gradient(135deg,#229ED9,#1a7fb0);
  display:flex;align-items:center;justify-content:center;
}
html.mc-homepreview #mc-tg2-root .mc-tg2-copy{min-width:0;flex:1}
html.mc-homepreview #mc-tg2-root .mc-tg2-title{
  margin:0;font-size:.8125rem;font-weight:800;letter-spacing:-.01em;color:#fff;line-height:1.2;
}
html.mc-homepreview #mc-tg2-root .mc-tg2-sub{
  margin:1px 0 0;font-size:.6875rem;line-height:1.3;color:#94a3b8;
}
html.mc-homepreview #mc-tg2-root .mc-tg2-cta{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:0 14px;border-radius:10px;text-decoration:none;
  background:#229ED9;color:#fff;font-weight:800;font-size:.75rem;
}
html.mc-homepreview #mc-tg2-root .mc-tg2-cta:focus-visible{outline:2px solid #8bc63f;outline-offset:2px}
html.mc-homepreview #mc-tg2-root .mc-tg2-close{
  position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:999px;
  background:transparent;color:#94a3b8;font-size:18px;line-height:1;cursor:pointer;
}
html.mc-homepreview #mc-tg2-root .mc-tg2-close:hover{background:rgba(255,255,255,.08);color:#fff}
html.mc-homepreview #mc-tg2-root .mc-tg2-close:focus-visible{outline:2px solid #229ED9;outline-offset:1px}
@media (min-width:768px){
  html.mc-homepreview #mc-tg2-root{justify-content:flex-end;padding-right:20px}
  html.mc-homepreview #mc-tg2-root .mc-tg2-sheet{max-width:380px}
}
/*mc-momo:start*/
html.mc-homepreview #mc-sourcing-preview .mc-src-hero.mc-momo{display:block;margin:0;text-align:center}
html.mc-homepreview #mc-main div.pb-20:has(> #mc-sourcing-preview){padding-bottom:0!important}
html.mc-homepreview #mc-sourcing-preview .mc-momo h2{margin-left:auto;margin-right:auto}
html.mc-homepreview #mc-sourcing-preview .mc-momo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px auto 0;max-width:420px}
html.mc-homepreview #mc-sourcing-preview .mc-momo-b{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 4px 14px rgba(15,23,42,.06);min-width:0}
html.mc-homepreview #mc-sourcing-preview .mc-momo-ic{width:40px;height:40px;flex:0 0 auto;display:block}
html.mc-homepreview #mc-sourcing-preview .mc-momo-tx{text-align:center;min-width:0}
html.mc-homepreview #mc-sourcing-preview .mc-momo-b .t{font-size:.8rem;font-weight:800;color:#0f172a;line-height:1.2;white-space:nowrap}
html.mc-homepreview #mc-sourcing-preview .mc-momo-b .d{font-size:.68rem;color:#64748b;margin-top:2px;white-space:nowrap}
@media (max-width:359px){html.mc-homepreview #mc-sourcing-preview .mc-momo-b .t{font-size:.72rem}html.mc-homepreview #mc-sourcing-preview .mc-momo-b .d{font-size:.62rem}}
@media (min-width:768px){html.mc-homepreview #mc-sourcing-preview .mc-momo-row{display:flex;justify-content:center;gap:14px;max-width:none;margin-top:18px}html.mc-homepreview #mc-sourcing-preview .mc-momo-b{flex-direction:row;gap:12px;padding:9px 20px 9px 9px;text-align:left}html.mc-homepreview #mc-sourcing-preview .mc-momo-tx{text-align:left}html.mc-homepreview #mc-sourcing-preview .mc-momo-ic{width:46px;height:46px}html.mc-homepreview #mc-sourcing-preview .mc-momo-b .t{font-size:1rem}html.mc-homepreview #mc-sourcing-preview .mc-momo-b .d{font-size:.75rem}}
html.mc-homepreview #mc-sourcing-preview .mc-cards{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;margin:14px auto 0;padding-top:12px;border-top:1px dashed #e2e8f0;max-width:420px}
html.mc-homepreview #mc-sourcing-preview .mc-cards-l{font-size:.75rem;font-weight:700;color:#64748b}
html.mc-homepreview #mc-sourcing-preview .mc-cards-ic{display:inline-flex;gap:6px;opacity:.7;filter:grayscale(.3)}
html.mc-homepreview #mc-sourcing-preview .mc-card-ic{width:44px;height:28px;display:block}
html.mc-homepreview #mc-sourcing-preview .mc-cards-soon{font-size:.65rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:3px 8px;white-space:nowrap}
@media (min-width:768px){html.mc-homepreview #mc-sourcing-preview .mc-cards{max-width:480px;margin-top:16px;gap:8px 12px}html.mc-homepreview #mc-sourcing-preview .mc-card-ic{width:52px;height:32px}html.mc-homepreview #mc-sourcing-preview .mc-cards-l{font-size:.8rem}}
/*mc-momo:end*/
