.creation-start .showcase-styles {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(8px,1.6vw,14px);
  max-width: 540px;
  margin-inline: auto;
}
.creation-start:has(.showcase-samples) {
  width: min(100%,960px);
  max-width: 100%;
}
.creation-start .showcase-samples {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(172px,100%),1fr));
  gap: 10px;
}
.showcase-samples .showcase-sample, .showcase-styles .showcase-style,
.showcase-placeholder, .showcase-select {
  aspect-ratio: 3 / 4;
  width: 100%;
  min-width: 0;
  border-radius: 12px;
}
.showcase-placeholder {
  display: block;
  background: #221e23;
}
.showcase-style, .showcase-select {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border: 1px solid #3a333b;
  color: #fff;
  background: #211e22;
  font: inherit;
  text-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.showcase-select[aria-pressed=true], .showcase-style[aria-pressed=true] {
  box-shadow: inset 0 0 0 2px var(--studio-accent);
  border-color: var(--studio-accent);
}
.showcase-select[aria-pressed=true]::after, .showcase-style[aria-pressed=true]::after {
  content: '✓';
  position: absolute;
  top: 9px;
  inset-inline-start: 9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--studio-accent);
  color: #321027;
  font: 750 14px/1 system-ui;
}
.showcase-select:focus-visible, .showcase-style:focus-visible,
.showcase-expand:focus-visible, .showcase-zoom-close:focus-visible {
  outline: 3px solid #ff92d1;
  outline-offset: 2px;
}
.showcase-sample { position: relative; }
.showcase-art, .showcase-poster, .showcase-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-art {
  z-index: -1;
  display: block;
  pointer-events: none;
}
.showcase-poster, .showcase-motion, .showcase-large {
  display: block;
  object-fit: contain;
}
.showcase-motion {
  opacity: 0;
  transition: opacity 180ms ease-out;
}
.showcase-motion.showcase-playing { opacity: 1; }
.showcase-name, .showcase-style-name {
  display: block;
  overflow-wrap: anywhere;
  padding: 24px 10px 9px;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 3px #000;
  background: linear-gradient(transparent,#100b11d6);
}
.showcase-name { font-size: clamp(13px,1.3vw,16px); }
.showcase-style-name {
  text-align: center;
  font-size: clamp(18px,2.4vw,24px);
  padding-bottom: 13px;
}
.showcase-expand, .showcase-zoom-close {
  position: absolute;
  top: 3px;
  inset-inline-end: 3px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.showcase-expand svg {
  box-sizing: border-box;
  width: 29px;
  height: 29px;
  padding: 6px;
  border: 1px solid #ffffff4d;
  border-radius: 50%;
  background: #151217a8;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.showcase-zoom {
  width: fit-content;
  margin: auto;
  padding: 0;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 1px solid #514952;
  border-radius: 12px;
  background: #161317;
  color: white;
  overscroll-behavior: contain;
}
.showcase-zoom::backdrop { background: #080609e6; }
html:has(.showcase-zoom[open]) { overflow: hidden; }
.showcase-large {
  width: min(calc(100vw - 26px),calc((100dvh - 74px) * .75));
  aspect-ratio: 3 / 4;
}
.showcase-zoom-name {
  padding: 10px 14px;
  font-weight: 700;
  line-height: 1.25;
}
.showcase-zoom-close {
  background: #171217c9;
  font: 26px/1 system-ui;
}
.showcase-notice {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 0;
}
@media (max-width:760px), (max-width:1000px) and (max-height:540px) and (pointer:coarse) {
  .creation-start .showcase-samples {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .showcase-motion { transition: none; }
}
