/* Silk uses the established Irezumi page layout with its own palette and plate. */
.silk-page {
  --paper: #181519;
  --ink: #fff0d8;
  --muted: #e1cbbc;
  --edge: #e2ac8550;
  --accent: #ffda9c;
  --pea-pink: #ffc5ae;
  --pea-lilac: #f2bf83;
}
.silk-page :is(.launch-header, .launch-footer) { background: #171419; }
.silk-page .launch-header { border-bottom: 0; }
.silk-page .pea-hero {
  background: radial-gradient(ellipse at 68% 42%, #49333c, #221b23 66%, #181519);
}
.silk-page :is(.pea-hero, .pea-details)::before {
  background-image: url('/assets/plugins/silk-world/peony-and-wave.webp');
}
.silk-page .pea-hero::before {
  inset: auto auto -260px -36px;
  width: min(36vw, 530px);
  aspect-ratio: 141 / 303;
  opacity: .38;
}
.silk-page .pea-hero::after {
  background: linear-gradient(90deg, #181519eb 0%, #181519ab 28%, #18151920 51%, transparent 69%),
    linear-gradient(0deg, var(--paper), transparent 16%, transparent 84%, #171419);
}
.silk-page .pea-stage {
  aspect-ratio: 686 / 658;
  width: min(70vw, calc(100svh - 22px), 1170px);
  /* Keep the native frame fully outside the artwork fade, as on PeaComp. */
  mask-image: linear-gradient(90deg, transparent 5%, #000 12%, #000 88%, transparent 95%),
    radial-gradient(ellipse 77% 73% at 53% 48%, black 55%, #000e 65%, transparent 100%),
    linear-gradient(0deg, transparent, black 12%, black 91%, transparent);
  mask-composite: intersect;
}
.silk-page .pea-copy h1 { font-style: italic; letter-spacing: -.06em; }
.silk-page .pea-cta {
  background: #ffdd9f;
  color: #291516;
  border-color: transparent;
}

.silk-page .pea-replay { background: #22181f; border-color: #cf907975; }
.silk-page .pea-details { background: linear-gradient(130deg, #30212b, #1e1921 55%, #181519); }
.silk-page .pea-details::before {
  inset: auto -3vw -300px auto;
  width: min(50vw, 640px);
  aspect-ratio: 141 / 303;
  transform: scaleX(-1);
  opacity: .44;
}
.silk-page .silk-detail-description { max-width: 42ch; margin: 0 0 24px; color: var(--muted); }

@media (max-width: 760px) {
  .silk-page .pea-stage { width: min(100%, 560px); }
  .silk-page .pea-copy { margin-top: 4px; }
  .silk-page .pea-hero::after { background: linear-gradient(0deg, var(--paper), transparent 14%, transparent 90%, #171419); }
  .silk-page .pea-details::before { width: 80vw; }
}
