:is(.page-commercial,.page-operations,.page-photography,.page-cosplay) main {
  overflow-x: clip;
  overflow-y: visible;
}
.chapter-ribbon {
  min-height: 0;
  overflow: visible;
  text-align: center;
  padding: 17px 20px 18px;
  background:
    radial-gradient(ellipse at 49% 29%,#fff1dcba,transparent 57%),
    radial-gradient(ellipse at 2% 28%,#e1a8c47a,transparent 66%),
    radial-gradient(ellipse at 96% 30%,#bbcde8a1,transparent 57%);
}
.chapter-ribbon > .art { position: absolute; pointer-events: none; }
.ribbon-plate {
  position: relative;
  isolation: isolate;
  width: min(66vw,826px);
  min-height: 121px;
  aspect-ratio: 4.43;
  margin: 0 auto;
  z-index: 4;
  container-type: inline-size;
}
.ribbon-paper {
  position: absolute;
  inset: 11% 8%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 40%,#fcf0de 6%, #f7e1e7 84%);
  box-shadow: 0 3px 12px #78567528;
  pointer-events: none;
  overflow: hidden;
}
.ribbon-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 2;
  filter: drop-shadow(2px 4px 4px #72506935);
}
.ribbon-copy {
  position: absolute;
  z-index: 3;
  inset: 29% 16% 13%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1px,.45cqw,4px);
  text-align: center;
}
.ribbon-copy .chapter-script {
  font: 400 clamp(1.7rem,8.1cqw,4.25rem)/.94 var(--script);
  padding: .08em .08em .11em;
  white-space: nowrap;
}
.ribbon-copy h1 {
  color: #67415c;
  font: 400 clamp(.83rem,2.4cqw,1.3rem)/1.14 var(--wenkai);
  letter-spacing: .08em;
  margin: 0;
  white-space: nowrap;
}
.ribbon-lead {
  position: relative;
  z-index: 4;
  width: min(68vw,750px);
  color: #644c66;
  margin: 7px auto 0;
  font-size: clamp(.9rem,1.15vw,1.13rem);
  line-height: 1.32;
}
.ribbon-curtain {
  width: min(29vw,432px);
  top: -36%;
  left: -5%;
  transform: rotate(-5deg);
  z-index: 1;
  filter: drop-shadow(4px 5px 4px #69436328);
}
.ribbon-pearls {
  width: min(27vw,410px);
  top: -69%;
  z-index: 2;
  filter: drop-shadow(2px 3px 3px #69436328);
}
.ribbon-pearls.left { left: -3.8%; transform: rotate(-23deg); }
.ribbon-pearls.right { right: -2.8%; top: -60%; transform: rotate(19deg); }
.ribbon-roses {
  width: clamp(132px,18vw,276px);
  bottom: -21%;
  left: -1.9%;
  transform: rotate(-16deg);
  z-index: 2;
}
.ribbon-garland {
  width: min(29.6vw,450px);
  bottom: -26%;
  right: 1.7%;
  transform: rotate(-8deg);
  z-index: 2;
}
.ribbon-bells {
  width: min(14vw,208px);
  bottom: -13%;
  right: -2%;
  transform: scaleX(-1) rotate(-15deg);
}
.ribbon-butterfly {
  width: clamp(55px,7.6vw,116px);
  left: 16.9%;
  bottom: 8%;
  transform: rotate(-19deg);
  z-index: 3;
}
.page-operations .ribbon-curtain,.page-cosplay .ribbon-curtain {
  left: auto;
  right: -5%;
  transform: scaleX(-1) rotate(-5deg);
}
.page-operations .ribbon-garland,.page-cosplay .ribbon-garland {
  right: auto;
  left: 2%;
  transform: scaleX(-1) rotate(-8deg);
}
.page-operations .ribbon-roses,.page-cosplay .ribbon-roses {
  left: auto;
  right: -1%;
  transform: scaleX(-1) rotate(-12deg);
}
.page-operations .ribbon-bells,.page-cosplay .ribbon-bells {
  right: auto;
  left: -1.4%;
  transform: rotate(-14deg);
}
.page-operations .ribbon-butterfly,.page-cosplay .ribbon-butterfly {
  left: auto;
  right: 16%;
  transform: rotate(16deg) scaleX(-1);
}
.page-photography .ribbon-roses { width: min(16vw,242px); left: 0; bottom: -17%; }
.page-operations .ops-account,.page-commercial .creator-editorial { overflow: visible; }
.page-operations .ops-chenxi { padding-top: clamp(26px,3.8vw,62px); }
.section-garland {
  position: absolute;
  pointer-events: none;
  width: clamp(248px,31vw,485px);
  bottom: -44px;
  z-index: 1;
  filter: drop-shadow(2px 3px 3px #67475f24);
}
.commercial-garland { right: 13vw; transform: rotate(-6deg); }
.page-commercial .creator-folio,.page-commercial .section-title { z-index: 3; }
.page-commercial .case-cover:focus-visible,.page-commercial .creator-profile-image:focus-visible { outline-offset: 3px; }
@media (max-width: 1050px) {
  .ribbon-plate { width: min(71vw,778px); }
}
@media (max-width: 710px) {
  .chapter-ribbon { padding: 15px 6px 14px; }
  .ribbon-plate { width: min(94vw,580px); min-height: 98px; aspect-ratio: 3.85; }
  .ribbon-lead { width: min(85vw,480px); font-size: .84rem; margin-top: 2px; }
  .ribbon-curtain { width: 40vw; left: -10%; top: -56%; opacity: .93; }
  .ribbon-pearls { width: 40vw; top: -52%; }
  .ribbon-pearls.left { left: -10%; }
  .ribbon-pearls.right { right: -10%; top: -56%; }
  .ribbon-roses { width: 28vw; min-width: 0; left: -12%; bottom: -25%; opacity: .82; }
  .ribbon-garland { width: 42vw; bottom: -34%; right: -9%; opacity: .94; }
  .ribbon-bells { width: 22vw; right: -10%; bottom: -20%; }
  .ribbon-butterfly { width: 13vw; min-width: 0; left: 3%; bottom: -10%; }
  .page-operations .ribbon-curtain,.page-cosplay .ribbon-curtain { right: -10%; }
  .page-operations .ribbon-garland,.page-cosplay .ribbon-garland { left: -8%; }
  .page-operations .ribbon-roses,.page-cosplay .ribbon-roses { right: -11%; }
  .page-operations .ribbon-bells,.page-cosplay .ribbon-bells { left: -9%; }
  .page-operations .ribbon-butterfly,.page-cosplay .ribbon-butterfly { right: 4%; }
  .page-photography .ribbon-roses { width: 25vw; left: -9%; }
  .section-garland { width: min(55vw,249px); bottom: -26px; }
  .commercial-garland { right: 7%; }
}
.ribbon-paper {
  inset: 22% 10% 5%;
  box-shadow: none;
  background: radial-gradient(ellipse at 50% 43%,#fff2da 0%,#f7e4e3 69%,#f7e4e300 100%);
}
