/* Menus browse through their native cards; creation belongs to the editor. */
body[data-product='experiences'] .gallery-list-item { display: contents; }
body[data-product='experiences'] .menu-action-composition {
  --menu-heading-height: clamp(100px, 19svh, 160px);
  --menu-hint-height: 22px;
  grid-template-areas: 'heading' 'media' 'caption' 'progress' 'hint';
  grid-template-rows: var(--menu-heading-height) minmax(0,1fr) auto 28px var(--menu-hint-height);
  gap: 4px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
body[data-product='experiences'] .menu-action-composition :is(.gallery-heading,.submenu-heading) { grid-area: heading; }
body[data-product='experiences'] .menu-action-composition .gallery-stage { grid-area: media; }
body[data-product='experiences'] .menu-action-composition .gallery-caption { grid-area: caption; }
body[data-product='experiences'] .menu-action-composition .gallery-progress { grid-area: progress; }
body[data-product='experiences'] .menu-action-composition[data-single-choice='true'] {
  grid-template-rows: var(--menu-heading-height) minmax(0,1fr) auto 0 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
body.storybook[data-product='experiences'] .menu-browse-hint {
  grid-area: hint;
  align-self: end;
  min-height: 18px;
  margin: 0;
  font-size: 13px !important;
  line-height: 18px;
  letter-spacing: 0;
  opacity: .55;
  visibility: visible;
  color: var(--brand-heading-ink,var(--cream));
}
body[data-product='experiences'] .menu-action-composition[data-single-choice='true'] .menu-browse-hint {
  visibility: hidden;
}
body.storybook[data-product='experiences'] .gallery-caption h3 {
  max-width: 25ch;
  margin: 0;
  color: var(--brand-heading-ink,var(--cream));
  font-size: 27px !important;
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}
/* Match supporting menu lettering to the approved crisp ivory headings. */
body.storybook[data-product='experiences'] .gallery-caption p,
body.storybook[data-product='experiences'] .santa-menu-options > summary,
body.storybook[data-product='experiences'] .santa-menu-options > nav :is(a,button) {
  color: var(--brand-heading-ink,var(--cream));
}
/* Character pixels stay unchanged; surrounding card trim uses existing ivory. */
body[data-product='experiences'] .menu-action-composition .gallery-card-corners { --gold: var(--brand-heading-ink,var(--cream)); opacity: .65; }
body[data-product='experiences'] .menu-action-composition .gallery-card-window,
body.storybook[data-product='experiences'] .menu-action-composition .gallery-card,
body.storybook[data-product='experiences'] .menu-action-composition .gallery-card[data-selected='true'] {
  border-color: color-mix(in srgb,var(--brand-heading-ink,var(--cream)) 35%,transparent);
}
body[data-product='experiences'] .menu-action-composition .gallery-progress button[aria-pressed='true']::before {
  background: var(--brand-heading-ink,var(--cream));
  box-shadow: none;
}
body[data-product='experiences'] #experience-reindeer-video img { object-fit: contain; object-position: center; }
body[data-product='experiences'] #category-elf .submenu-card {
  --gallery-card-width: min(84vw,calc((100cqh - 20px)*.75),410px);
}
body[data-product='experiences'] .menu-action-composition :is(.gallery-card,.gallery-track,.gallery-progress button):focus-visible {
  outline: 2px solid var(--brand-heading-ink,var(--gold));
  outline-offset: 3px;
}
.result-proof { margin: 0 auto; width: min(100%,480px); }
.result-proof-images { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 16/10; }
.result-proof img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.result-proof img + img { border-left: 1px solid var(--line); }
.result-proof figcaption { text-align: center; color: var(--brand-heading-ink,var(--cream)); }
body[data-product='experiences'] .menu-action-composition.has-result-proof {
  grid-template-areas: 'heading' 'proof' 'media' 'caption' 'progress' 'hint';
  grid-template-rows: min(10svh,80px) min(20svh,145px) minmax(0,1fr) auto 28px var(--menu-hint-height);
}
body[data-product='experiences'] .has-result-proof .result-proof {
  grid-area: proof;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  height: 100%;
  min-height: 0;
}
body[data-product='experiences'] .has-result-proof .result-proof-images { min-height: 0; height: 100%; }
body.storybook[data-product='experiences'] .result-proof figcaption { margin: 0; font-size: 16px; line-height: 20px; }
@media (hover:hover) and (pointer:fine) {
  body[data-product='experiences'] .menu-action-composition { --menu-hint-height: 0px; }
  body.storybook[data-product='experiences'] .menu-browse-hint { display: none; }
  body[data-product='experiences'] .menu-action-composition .gallery-card { transition: translate 160ms ease,box-shadow 160ms ease; }
  body[data-product='experiences'] .menu-action-composition .gallery-card:hover { translate: 0 -2px; box-shadow: 0 10px 30px #0005; }
}
@media (max-width:600px) {
  .result-proof-images { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .result-proof img + img { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-height:650px) and (orientation:portrait) {
  body[data-product='experiences'] .menu-action-composition { --menu-heading-height: 92px; gap: 3px; }
  body.storybook[data-product='experiences'] .gallery-caption h3 { font-size: 22px !important; }
}
@media (max-height:500px) and (orientation:landscape) {
  body[data-product='experiences'] .menu-action-composition { --menu-heading-height: 54px; gap: 2px; grid-template-rows: var(--menu-heading-height) minmax(0,1fr) auto 0 var(--menu-hint-height); }
  body[data-product='experiences'] .menu-action-composition .gallery-progress { display: none; }
  body[data-product='experiences'] .menu-action-composition .gallery-caption { min-height: 43px; }
  body.storybook[data-product='experiences'] .gallery-caption h3 { max-width: none; font-size: 19px !important; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-product='experiences'] .menu-action-composition .gallery-card { transition: none; translate: none; }
  body[data-product='experiences'] :is(.gallery-twinkle,.text-screen-twinkles) { display: none !important; }
}
