/* Media controls and responsive fixes. Original page color palette is preserved. */
:root{--rose-text:#d78fb1}
body :is(.experience-kicker,.eyebrow,.content-side-caption,.creator-notes-eyebrow,.about-recipes-kicker,.about-fact dt,.collab-metric-label,.process-label,.creator-insights-eyebrow,.recipe-index-label,.recipe-index-label span,.recipe-index-number,.recipe-mobile-index label){
  font-size:max(.75rem,12px)!important;
}
body .journal-page-topline p,
body .journal-page-title p,
body .journal-video-card>span,
body .journal-page-navigation button,
body .journal-page-navigation p,
body .stats-section .stat-card>span,
body .stats-section .creator-insight-card>span{
  font-size:max(.75rem,12px)!important;
  line-height:1.4;
}
body .camera-world-visual .camera-gallery-tile{font-size:.75rem!important}
body .partnership-row-title .partnership-row-number,
body .stats-section .creator-profile-followers>span,
body .stats-section .creator-profile-bio>span,
body .recipe-reader-hint,
body .journal-tab{
  font-size:max(.75rem,12px)!important;
}

/* Use native media buttons; focus does not start playback. */
.journal-video-media{appearance:none;padding:0;border:0;font:inherit;text-align:inherit}
.journal-video-card .journal-video-media::after{
  content:""!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff8f9' d='M12 9L24 16 12 23Z'/%3E%3C/svg%3E")!important;background-size:100% 100%!important;background-repeat:no-repeat!important;display:grid!important;place-items:center;position:absolute;
  inset:auto 10px 10px auto;z-index:2;transform:none;width:30px;height:30px;
  margin:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;
  background-color:rgba(42,25,20,.62);color:#fff8f9;font:12px/1 Arial,sans-serif;
  letter-spacing:0;pointer-events:none;
}
.journal-video-card.is-playing .journal-video-media::after{content:""!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff8f9' d='M11 9h4v14h-4zm7 0h4v14h-4z'/%3E%3C/svg%3E")!important}
.journal-video-card.is-preview-loading .journal-video-media::after{content:""!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='none' stroke='%23fff8f9' stroke-width='2' d='M23 16a7 7 0 1 1-7-7'/%3E%3C/svg%3E")!important}
.journal-video-card .journal-video-media.is-preview-error::after{content:""!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='none' stroke='%23fff8f9' stroke-width='2' d='M23 16a7 7 0 1 1-7-7'/%3E%3C/svg%3E")!important}
.journal-video-media:focus-visible{outline:3px solid var(--rose-text)!important;outline-offset:4px}

/* Manual film browsing on touch screens and for reduced motion. */
.brand-logo-stage:has(.brand-video-gallery.is-manual){mask-image:none}
.brand-video-gallery.is-manual{
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  scroll-padding-inline:0;overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;mask-image:none;scrollbar-width:thin;
  scrollbar-color:rgba(160,82,118,.4) transparent;
}
.brand-video-gallery.is-manual:not(.is-compositor-auto) .brand-video-reel{
  animation:none!important;transform:none!important;will-change:auto;
}
.brand-video-gallery.is-manual .brand-video-set[aria-hidden="true"]{display:none}
.brand-video-gallery.is-manual .brand-video-card{
  scroll-snap-align:start;flex-shrink:0;
}
.brand-video-gallery.is-manual .brand-video-card:hover{
  transform:none;
}
.brand-video-gallery.is-home-auto{scroll-snap-type:none}
.brand-video-gallery.is-home-auto .brand-video-set[aria-hidden="true"]{display:flex}
.brand-video-controls{
  display:flex;justify-content:center;align-items:center;gap:1rem;
  margin:.75rem auto 0;color:var(--text-brown,#4f2b1f);
  font:400 .8rem/1.4 var(--glacial);
}
.brand-video-controls[hidden]{display:none}
.brand-video-position{min-width:4.5rem;text-align:center;font-variant-numeric:tabular-nums}
.brand-video-arrow{
  display:grid;place-items:center;width:44px;height:44px;padding:0;
  border:1px solid rgba(79,43,31,.25);border-radius:50%;
  background:rgba(255,255,255,.6);color:#4f2b1f;font:24px/1 var(--glacial);
  cursor:pointer;transition:background .2s;
}
.brand-video-arrow:hover:enabled{background:#f7dce2}
.brand-video-arrow:disabled{opacity:.35;cursor:default}
.brand-video-autoplay{font-size:16px}
.brand-video-autoplay[hidden]{display:none}
.brand-preview-toggle{
  appearance:none;position:absolute;inset:0;z-index:1;width:100%;height:100%;
  margin:0;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer;
}
.brand-preview-toggle::after{
  content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff8f9' d='M12 9L24 16 12 23Z'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;position:absolute;right:.8rem;bottom:.8rem;display:grid;
  place-items:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.7);
  border-radius:50%;color:#fff8f9;background-color:rgba(42,25,20,.62);font:12px/1 Arial,sans-serif;
}
.brand-preview-toggle[aria-pressed="true"]::after{content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff8f9' d='M11 9h4v14h-4zm7 0h4v14h-4z'/%3E%3C/svg%3E")}
.is-preview-loading .brand-preview-toggle::after{content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='none' stroke='%23fff8f9' stroke-width='2' d='M23 16a7 7 0 1 1-7-7'/%3E%3C/svg%3E")}
.is-video-missing .brand-preview-toggle::after{content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='none' stroke='%23fff8f9' stroke-width='2' d='M23 16a7 7 0 1 1-7-7'/%3E%3C/svg%3E")}
.brand-preview-toggle:focus-visible{outline:3px solid var(--rose-text);outline-offset:-5px}
.brand-video-arrow:focus-visible{outline:2px solid var(--rose-text);outline-offset:3px}
.brand-video-card::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(24,18,15,.48),transparent 28%,transparent 68%,rgba(24,18,15,.3));
}
body .brand-video-card>span:not(.brand-preview-error){pointer-events:none}
body .brand-video-card>.brand-preview-error{
  position:absolute;z-index:2;inset:auto .5rem 3.3rem;pointer-events:none;
  margin:0;padding:.4rem .5rem;border:0;border-radius:4px;box-shadow:none;
  background:rgba(42,25,20,.8);color:#fff!important;font:400 12px/1.4 var(--glacial);
  text-transform:none;letter-spacing:0;backdrop-filter:none;
}
body .brand-video-card>.brand-preview-error:empty{display:none}
body .brand-video-card.is-video-missing .brand-video-media::after{display:none}
body .brand-video-card>.brand-video-link,
body .brand-video-card>span:not(.brand-preview-error){
  font-size:.75rem!important;
}
body.brands-experience .brand-video-card>.brand-video-link,
body.brands-experience .brand-video-card>span:not(.brand-preview-error){
  text-shadow:0 1px 2px #241810,0 0 5px #241810;
}
@media(prefers-reduced-motion:reduce){
  .brand-video-arrow{transition:none}
}
