/* Measured KREAM campaign: 2.5:1 canvas, 16px corners, 120px/80px desktop copy inset. */
.global-storefront body.app-home-page .gp-storefront { padding-top: 24px; }
/* Follow the shared header/content width instead of adding a narrower inner canvas. */
.global-storefront body.app-home-page #appHomeFeatured { width: 100%; max-width: none; min-width: 0; margin-inline: auto; }
.global-storefront body.app-home-page #appHomeFeatured #gpBroadcasts { position: relative; --campaign-control-ink: #222; }
.global-storefront #gpBroadcastDirectory { max-width: 1180px; margin: 32px auto; scroll-margin-top: 100px; }
.global-storefront #gpBroadcastDirectory[hidden] { display: none; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail { grid-auto-columns: 100%; gap: 0; padding: 0; margin: 0; scroll-padding: 0; align-items: stretch; overflow-anchor: none; scrollbar-width: none; border-radius: 4px; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail::-webkit-scrollbar { display: none; }
/* Keep snap disabled through the entire handoff from dragging to release easing. */
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail.is-event-dragging,
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail.is-event-gliding { scroll-snap-type: none; scroll-behavior: auto; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail.is-event-dragging,
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail.is-event-dragging .gp-broadcast-card { cursor: grabbing; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card,
.global-storefront body.app-home-page #appHomeFeatured .app-home-featured-skeleton { --campaign-bg: #eeedf0; --campaign-ink: #222; display: block; width: 100%; height: auto; aspect-ratio: 2.5; border-radius: 4px; overflow: hidden; box-shadow: none; transform: none; transition: none; background: var(--campaign-bg); color: var(--campaign-ink); text-decoration: none; }
/* The artwork's own edge color continues into the copy area. Wide artwork fills the canvas. */
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card > img { inset-block: 0; inset-inline-start: auto; inset-inline-end: 0; width: 64%; height: 100%; object-fit: cover; object-position: center; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-portrait-art > img { object-fit: contain; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 90%, transparent); }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-wide-art > img,
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.has-photo-campaign > img { inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; clip-path: none; mask-image: none; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card:hover > img { transform: none; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card::after { display: none; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-event { --campaign-bg: #eee5db; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.event-tone-rose { --campaign-bg: #e9a0b9; }
/* Unknown event artwork retains a right-hand product scene and a readable copy area. */
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-event:not(.has-photo-campaign) > img { object-position: right center; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-caption { inset-inline: 120px; top: auto; bottom: 80px; width: auto; transform: none; color: var(--campaign-ink); text-shadow: none; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-caption h3 { max-width: 100%; margin: 0; color: inherit; font: 700 40px/1.2 Pretendard, sans-serif; letter-spacing: normal; text-shadow: none; white-space: pre-line; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-host { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 100%; overflow: hidden; margin-top: 12px; color: inherit; font: 400 16px/1.2 Pretendard, sans-serif; letter-spacing: normal; opacity: .8; }
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-badge,
.global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-product,
.global-storefront body.app-home-page #appHomeFeatured .gp-event-brand-logo { display: none; }
.global-storefront .gp-event-controls { position: absolute; inset: 0; pointer-events: none; }
.global-storefront .gp-event-controls > button { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 80px; height: 80px; padding: 12px; border: 0; border-radius: 0; background: transparent; color: var(--campaign-control-ink, #4e4e4e); cursor: pointer; pointer-events: auto; opacity: .625; }
.global-storefront .gp-event-controls > button:first-child { inset-inline-start: -6px; }
.global-storefront .gp-event-controls > button:last-child { inset-inline-end: -6px; }
.global-storefront .gp-event-controls > button svg { display: block; width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: butt; stroke-linejoin: miter; }
.global-storefront .gp-event-controls > button:hover { opacity: 1; }
.global-storefront .gp-event-controls > button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; opacity: 1; }
.global-storefront .gp-event-counter { position: absolute; inset-inline-end: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 22px; padding: 3px 6px; border-radius: 4px; background: #0006; color: #fff; font: 400 12px/1.2 Pretendard, sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
.global-storefront .gp-event-counter::after { content: ''; width: 5px; height: 5px; margin-inline-end: 2px; border-block-start: 1px solid currentColor; border-inline-end: 1px solid currentColor; transform: rotate(45deg); opacity: .8; }
.global-storefront[dir='rtl'] .gp-event-counter::after { transform: rotate(-45deg); }
.global-storefront[dir='rtl'] .gp-event-controls > button svg { transform: scaleX(-1); }
.global-storefront[dir='rtl'] body.app-home-page #appHomeFeatured .gp-broadcast-card > img { mask-image: linear-gradient(270deg, transparent, #000 18%); }
.global-storefront[dir='rtl'] body.app-home-page #appHomeFeatured .gp-broadcast-card.is-portrait-art > img { mask-image: linear-gradient(270deg, transparent, #000 12%, #000 90%, transparent); }
.global-storefront[dir='rtl'] body.app-home-page #appHomeFeatured .gp-broadcast-card.is-wide-art > img,
.global-storefront[dir='rtl'] body.app-home-page #appHomeFeatured .gp-broadcast-card.has-photo-campaign > img { mask-image: none; }
/* Place the subscription offer between the category shortcuts and event carousel. */
.global-storefront body.app-home-page .cast-beauty-categories { width: 100%; max-width: none; min-width: 0; margin: 0 auto 24px; }
.global-storefront body.app-home-page .shop-home-categories { width: 100%; min-width: 0; }
.global-storefront body.app-home-page .cast-beauty-hero { margin-bottom: 32px; }
.global-storefront body.app-home-page .app-home > .app-home-promo { display: flex; align-items: center; gap: 14px; width: 100%; max-width: none; min-height: 56px; margin: 0 auto 32px; padding: 12px 18px; border: 0; border-radius: 0; background: #f6f7f9; text-decoration: none; }
.global-storefront body.app-home-page .app-home > .app-home-promo[hidden] { display: none; }
.global-storefront body.app-home-page .app-home > .app-home-promo > img { display: block; width: 30px; height: 30px; object-fit: contain; }
.global-storefront body.app-home-page .app-home > .app-home-promo > span:not(.cast-app-icon) { flex: 1; min-width: 0; display: grid; gap: 3px; }
.global-storefront body.app-home-page .app-home > .app-home-promo strong { color: #222; font-size: 13px; font-weight: 600; }
.global-storefront body.app-home-page .app-home > .app-home-promo span span { margin: 0; color: #777; font-size: 12px; }
@media (min-width: 769px) and (max-width: 960px) {
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-caption { inset-inline: 40px; bottom: 40px; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-caption h3 { font-size: 34px; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-host { font-size: 14px; margin-top: 8px; }
}
@media (max-width: 768px) {
  .global-storefront body.app-home-page .cast-beauty-hero { padding-top: 0; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-rail,
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card,
  .global-storefront body.app-home-page #appHomeFeatured .app-home-featured-skeleton { border-radius: 4px; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card,
  .global-storefront body.app-home-page #appHomeFeatured .app-home-featured-skeleton { aspect-ratio: 1.25; height: auto; min-height: 250px; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card > img { width: 80%; height: 78%; object-position: center; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-wide-art > img,
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.has-photo-campaign > img { width: 100%; height: 100%; object-position: 68% center; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card::after { content: ''; display: block; background: linear-gradient(0deg, var(--campaign-bg) 0%, transparent 55%); pointer-events: none; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.has-photo-campaign::after,
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-wide-art::after { background: linear-gradient(0deg, #0007, transparent 65%); }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.has-photo-campaign .gp-broadcast-caption,
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-card.is-wide-art .gp-broadcast-caption { color: #fff; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-caption { inset-inline: 20px; bottom: 20px; width: auto; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-caption h3 { max-width: 100%; font-size: 24px; line-height: 1.2; }
  .global-storefront body.app-home-page #appHomeFeatured .gp-broadcast-host { max-width: 100%; font-size: 13px; line-height: 1.2; margin-top: 6px; -webkit-line-clamp: 1; }
  .global-storefront .gp-event-controls > button { display: none; }
  .global-storefront .gp-event-counter { inset-inline-end: 8px; bottom: 8px; }
  .global-storefront body.app-home-page .cast-beauty-categories { margin-block: 28px 24px; }
  .global-storefront body.app-home-page .app-home > .app-home-promo { margin-bottom: 24px; gap: 10px; padding: 12px; }
}

/* Match KREAM tablet navigation; touch, mouse drag and keyboard remain available. */
@media (min-width: 769px) and (max-width: 960px) {
  .global-storefront .gp-event-controls > button { display: none; }
}
