/* Reuse the approved landing gallery's gold picture frame on choices only.
   Card/grid dimensions, image fitting, camera layers and exported pixels belong
   to their existing components and are deliberately outside this stylesheet. */
body.storybook :is(
  #video-elf-grid > .elf-sticker-card,
  #journey-actor-buttons > .journey-sticker-card,
  #tree-actor-buttons > button
) {
  position: relative;
  border-color: #dfb87a77;
  border-radius: 17px 17px 10px 10px;
  background-color: #020710;
  /* The same eight 14px corner strokes as .gallery-card-corners. The two
     small SVG squares reproduce its existing 4px + 1px-border, 45deg diamonds
     as background decoration, leaving ::after free for the Selected badge. */
  background-image:
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Crect x='2.5' y='2.5' width='5' height='5' transform='rotate(45 5 5)' fill='none' stroke='%23dfb87a' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Crect x='2.5' y='2.5' width='5' height='5' transform='rotate(45 5 5)' fill='none' stroke='%23dfb87a' stroke-width='1'/%3E%3C/svg%3E");
  background-position:
    left 3px top 3px, left 3px top 3px,
    right 3px top 3px, right 3px top 3px,
    left 3px bottom 3px, left 3px bottom 3px,
    right 3px bottom 3px, right 3px bottom 3px,
    left 4px top 4px, right 4px top 4px;
  background-size:
    14px 1px, 1px 14px, 14px 1px, 1px 14px,
    14px 1px, 1px 14px, 14px 1px, 1px 14px,
    10px 10px, 10px 10px;
  background-repeat: no-repeat;
  background-origin: padding-box;
}

body.storybook :is(
  #video-elf-grid > .elf-sticker-card,
  #journey-actor-buttons > .journey-sticker-card,
  #tree-actor-buttons > button
)::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #dfb87a66;
  border-radius: 11px 11px 6px 6px;
  pointer-events: none;
}

body.storybook :is(
  #video-elf-grid > .elf-sticker-card,
  #journey-actor-buttons > .journey-sticker-card,
  #tree-actor-buttons > button
)[aria-pressed='true'] {
  border-color: #dfb87ad9;
  background-color: #0a1120;
}

body.storybook :is(
  #video-elf-grid > .elf-sticker-card,
  #journey-actor-buttons > .journey-sticker-card,
  #tree-actor-buttons > button
):hover {
  border-color: var(--gold);
}

/* Existing selection labels remain readable and cannot intercept a tap. */
body.storybook :is(
  #video-elf-grid > .elf-sticker-card,
  #journey-actor-buttons > .journey-sticker-card,
  #tree-actor-buttons > button
)::after {
  pointer-events: none;
}
