.chapter-shell.has-song-stage {
  overflow: hidden;
  isolation: isolate;
}

.main-song-film {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #070404;
  opacity: 0;
  transition: opacity 420ms ease;
}

.chapter-shell.has-song-stage .main-song-film {
  opacity: 1;
}

.main-song-film video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.03);
  opacity: 1;
  transition: opacity 180ms ease;
}

.main-song-film.is-web-state video {
  opacity: 0;
  pointer-events: none;
}

.main-song-web-stage {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: #130b08 center / cover no-repeat;
  transition: opacity 180ms ease;
}

.main-song-film.is-web-state .main-song-web-stage {
  opacity: 1;
}

.answer-film-layer .answer-web-stage,
.afterstory-film-layer .afterstory-web-stage {
  z-index: 0;
  opacity: 0;
}

.answer-film-layer > video,
.afterstory-film-layer > video {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 180ms ease;
}

.answer-film-layer.is-web-state .answer-web-stage,
.afterstory-film-layer.is-web-state .afterstory-web-stage {
  opacity: 1;
}

.answer-film-layer.is-web-state > video,
.afterstory-film-layer.is-web-state > video {
  opacity: 0;
  pointer-events: none;
}

.main-song-web-stage[data-track="01_almost"],
.main-song-web-stage[data-track="02_letter"] {
  background-image: url("../image/stage/舞台R6R2/第一幕.png");
}

.main-song-web-stage[data-track="03_just_right"],
.main-song-web-stage[data-track="04_answer"] {
  background-image: url("../image/stage/舞台R6R2/第二幕.png");
}

.main-song-web-stage[data-track="07_mahjong_magic"] {
  background-image: url("../image/stage/舞台R6R2/麻將番外.png");
}

.main-song-web-stage[data-track="05_princess"],
.main-song-web-stage[data-track="06_dog_princess"] {
  background-image: url("../image/stage/舞台R6R2/謝幕.png");
}

.r8r4-stage-event-scene,
.r8r4-stage-event-depth,
.r8r4-stage-event-haze,
.r8r4-stage-event-floor,
.r8r4-stage-event-props {
  position: absolute;
  inset: 0;
}

.r8r4-stage-event-depth {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255, 196, 112, .16), transparent 34%),
    linear-gradient(180deg, rgba(8, 4, 3, .08), rgba(8, 4, 3, .28));
}

.r8r4-stage-event-haze {
  opacity: calc(.18 + var(--event-eased, 0) * .12);
  background:
    radial-gradient(ellipse at 28% 50%, rgba(255, 220, 172, .24), transparent 28%),
    radial-gradient(ellipse at 70% 44%, rgba(244, 179, 94, .16), transparent 34%);
  filter: blur(18px);
}

.r8r4-stage-event-floor {
  top: 64%;
  background:
    linear-gradient(90deg, transparent, rgba(248, 198, 122, .14), transparent),
    repeating-linear-gradient(92deg, rgba(255, 235, 198, .035) 0 1px, transparent 1px 7.2%);
  transform: perspective(520px) rotateX(62deg) scale(1.28);
  transform-origin: center top;
}

.r8r4-stage-event-props {
  perspective: 1100px;
}

.r8r4-stage-prop {
  position: absolute;
  box-sizing: border-box;
  transform-origin: center;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .54));
}

.r8r4-stage-prop--bench {
  bottom: 22%;
  left: 35%;
  width: min(31vw, 510px);
  height: clamp(58px, 10vw, 150px);
  border: 5px solid #4a2416;
  border-top-color: #8a5231;
  background:
    repeating-linear-gradient(90deg, transparent 0 8%, rgba(23, 8, 4, .56) 8.5% 10%),
    linear-gradient(180deg, #704128 0 23%, #402015 25% 68%, #1d0d09 70%);
  box-shadow: inset 0 1px #d08a4b, 0 20px 24px rgba(0, 0, 0, .5);
}

.r8r4-stage-prop--bench::before,
.r8r4-stage-prop--bench::after {
  content: "";
  position: absolute;
  bottom: -25%;
  width: 5%;
  height: 32%;
  background: linear-gradient(90deg, #24100a, #74432a, #21100a);
}

.r8r4-stage-prop--bench::before { left: 8%; }
.r8r4-stage-prop--bench::after { right: 8%; }

.r8r4-stage-prop--book {
  bottom: 31%;
  left: 47%;
  width: clamp(50px, 7vw, 112px);
  aspect-ratio: 1.45;
  border: 2px solid #a87945;
  border-radius: 2px;
  background: linear-gradient(90deg, #442019 48%, #d8b57d 49% 51%, #4f281c 52%);
  box-shadow: inset 0 0 0 3px rgba(236, 193, 125, .16);
}

.r8r4-stage-prop--envelope {
  bottom: 31%;
  left: 52%;
  width: clamp(58px, 8vw, 128px);
  aspect-ratio: 1.62;
  border: 1px solid rgba(97, 61, 34, .72);
  background:
    linear-gradient(145deg, transparent 50%, rgba(133, 91, 50, .34) 51%),
    linear-gradient(35deg, transparent 50%, rgba(133, 91, 50, .22) 51%),
    #e7cf9e;
  box-shadow: inset 0 0 18px rgba(126, 78, 38, .22), 0 7px 10px rgba(0, 0, 0, .42);
}

.r8r4-stage-prop--cord {
  bottom: 25%;
  left: 50%;
  width: min(56vw, 900px);
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(180deg, #a92124, #5c0c10);
  box-shadow: 0 1px #e55c55, 0 6px 9px rgba(0, 0, 0, .48);
  transform-origin: left center;
}

.r8r4-stage-prop--spot-left,
.r8r4-stage-prop--spot-right {
  top: -21%;
  width: 31%;
  height: 99%;
  background: linear-gradient(180deg, rgba(255, 230, 172, .42), rgba(249, 185, 91, .13) 58%, transparent 83%);
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  filter: blur(5px);
  mix-blend-mode: screen;
}

.r8r4-stage-prop--spot-left { left: 8%; }
.r8r4-stage-prop--spot-right { right: 8%; }

.r8r4-stage-prop--scrim {
  top: 10%;
  bottom: 16%;
  left: 26%;
  width: 48%;
  border: 1px solid rgba(218, 183, 126, .28);
  background:
    repeating-linear-gradient(90deg, rgba(255, 246, 224, .035) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(237, 213, 168, .24), rgba(91, 55, 34, .14));
  box-shadow: inset 0 0 70px rgba(42, 20, 12, .34);
  backdrop-filter: blur(2px) saturate(.72);
}

.r8r4-stage-prop--veil-shadow {
  bottom: 20%;
  left: 19%;
  width: 13%;
  height: 45%;
  border-radius: 48% 48% 16% 16%;
  background: linear-gradient(90deg, transparent, rgba(246, 226, 193, .18), rgba(30, 18, 13, .42));
  filter: blur(7px);
}

.r8r4-stage-prop--clock {
  top: 16%;
  right: 17%;
  width: clamp(58px, 7.2vw, 116px);
  aspect-ratio: 1;
  border: clamp(5px, .55vw, 9px) solid #5f351f;
  border-radius: 50%;
  background: radial-gradient(circle, #eddbb6 0 59%, #b98148 61% 65%, #2b160f 67%);
  box-shadow: inset 0 0 18px rgba(88, 52, 24, .55), 0 12px 22px rgba(0, 0, 0, .54);
}

.r8r4-stage-prop--clock::before,
.r8r4-stage-prop--clock::after {
  content: "";
  position: absolute;
  top: 49%;
  left: 50%;
  width: 34%;
  height: 2px;
  background: #291710;
  transform: rotate(var(--clock-turn, 0deg));
  transform-origin: left center;
}

.r8r4-stage-prop--clock::after {
  width: 24%;
  transform: rotate(122deg);
}

.r8r4-stage-prop--door {
  bottom: 18%;
  left: 42%;
  width: clamp(96px, 15vw, 250px);
  height: clamp(190px, 38vw, 520px);
  border: clamp(7px, .7vw, 12px) solid #4b2819;
  background:
    linear-gradient(90deg, rgba(231, 173, 94, .2), transparent 14% 86%, rgba(30, 13, 8, .38)),
    repeating-linear-gradient(90deg, #4d281b 0 8%, #6c3c25 9% 16%);
  box-shadow: inset 0 0 0 3px #98603a, 0 22px 30px rgba(0, 0, 0, .58);
  transform-origin: left center;
}

.r8r4-stage-prop--page-flat {
  bottom: 18%;
  left: 30%;
  width: 40%;
  height: 59%;
  border: 2px solid rgba(143, 95, 52, .52);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 238, 193, .38), transparent 30%),
    linear-gradient(135deg, #cbb184, #8e6d43);
  box-shadow: inset 0 0 70px rgba(73, 42, 21, .38), 0 24px 34px rgba(0, 0, 0, .54);
  transform-origin: right center;
}

.r8r4-stage-prop--arrow-1,
.r8r4-stage-prop--arrow-2,
.r8r4-stage-prop--arrow-3 {
  bottom: 30%;
  width: clamp(74px, 10vw, 158px);
  height: clamp(25px, 3vw, 45px);
  border: 2px solid #9e7546;
  background: linear-gradient(180deg, #7e5432, #3d2318);
  box-shadow: inset 0 1px #d4ad72, 0 10px 16px rgba(0, 0, 0, .46);
}

.r8r4-stage-prop--arrow-1 { left: 28%; }
.r8r4-stage-prop--arrow-2 { left: 45%; bottom: 36%; }
.r8r4-stage-prop--arrow-3 { left: 61%; }

.r8r4-stage-prop--umbrella {
  bottom: 19%;
  left: 36%;
  width: clamp(70px, 9vw, 150px);
  height: clamp(85px, 12vw, 190px);
  border-top: clamp(18px, 2.3vw, 38px) solid #5e2530;
  border-radius: 50% 50% 0 0;
  box-shadow: inset 0 7px rgba(255, 255, 255, .08);
}

.r8r4-stage-prop--umbrella::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: #a6875d;
}

.r8r4-stage-prop--wing-darkness {
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78), transparent 26% 74%, rgba(0, 0, 0, .78));
  filter: none;
}

.r8r4-stage-prop--mahjong-table {
  bottom: 10%;
  left: 26%;
  width: 48%;
  height: 34%;
  border: clamp(9px, 1vw, 16px) solid #54301d;
  background: radial-gradient(ellipse, #164d37, #082b21 75%);
  box-shadow: inset 0 0 0 3px #ad7743, 0 30px 38px rgba(0, 0, 0, .65);
  transform: perspective(520px) rotateX(57deg);
}

.r8r4-stage-prop--tile-1,
.r8r4-stage-prop--tile-2,
.r8r4-stage-prop--tile-3,
.r8r4-stage-prop--chips {
  bottom: 24%;
  width: clamp(30px, 3.4vw, 54px);
  aspect-ratio: .78;
  border: 2px solid #c9a86a;
  border-radius: 3px;
  background: #e9dfc4;
}

.r8r4-stage-prop--tile-1 { left: 43%; }
.r8r4-stage-prop--tile-2 { left: 48%; }
.r8r4-stage-prop--tile-3 { left: 53%; }
.r8r4-stage-prop--chips { left: 58%; border-radius: 50%; background: #b83a32; }

.r8r4-stage-prop--crown {
  bottom: 25%;
  left: 49%;
  width: clamp(64px, 7vw, 112px);
  height: clamp(38px, 4vw, 68px);
  clip-path: polygon(0 100%, 10% 18%, 34% 63%, 50% 0, 68% 63%, 90% 18%, 100% 100%);
  background: linear-gradient(90deg, #8c5a27, #e0bb68 45%, #755020);
}

.r8r4-stage-prop--mirror {
  bottom: 18%;
  right: 19%;
  width: clamp(100px, 12vw, 190px);
  height: clamp(190px, 27vw, 400px);
  border: clamp(8px, .8vw, 13px) solid #8a6239;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(135deg, rgba(236, 219, 190, .28), rgba(42, 32, 30, .54));
}

.r8r4-stage-prop--blanket {
  bottom: 20%;
  left: 37%;
  width: 27%;
  height: 14%;
  border-radius: 4px 4px 42% 42%;
  background: linear-gradient(135deg, #8f3b42, #d8b893);
}

.r8r4-stage-prop--lamp {
  right: 25%;
  bottom: 23%;
  width: clamp(38px, 4vw, 65px);
  height: clamp(90px, 10vw, 155px);
  background: linear-gradient(90deg, transparent 45%, #8c623d 46% 54%, transparent 55%);
}

.r8r4-stage-prop--lamp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 180%;
  height: 36%;
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  background: #d3a45d;
  box-shadow: 0 0 35px #efbb64;
}

.r8r4-stage-prop--dog-tag {
  bottom: 28%;
  left: 49%;
  width: clamp(38px, 4vw, 66px);
  aspect-ratio: 1;
  border: 4px solid #a8753e;
  border-radius: 50% 50% 45% 45%;
  background: #c69c61;
}

.r8r4-stage-prop--desk {
  bottom: 20%;
  left: 24%;
  width: clamp(190px, 27vw, 430px);
  height: clamp(66px, 8vw, 122px);
  border: 5px solid #4a2718;
  background: linear-gradient(180deg, #865334, #3c1e14 68%, #1f0e09);
  box-shadow: inset 0 2px #bd8550, 0 24px 28px rgba(0, 0, 0, .58);
}

.r8r4-stage-prop--desk::before,
.r8r4-stage-prop--desk::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 8%;
  height: 72%;
  background: linear-gradient(90deg, #251108, #6d3c22, #211008);
}

.r8r4-stage-prop--desk::before { left: 8%; }
.r8r4-stage-prop--desk::after { right: 8%; }

.r8r4-stage-prop--paper {
  bottom: 32%;
  left: 34%;
  width: clamp(72px, 10vw, 155px);
  aspect-ratio: 1.35;
  border: 1px solid #a57b48;
  background: #e6d0a4;
  box-shadow: inset 0 0 20px rgba(116, 70, 32, .2);
}

.r8r4-stage-prop--pen {
  bottom: 36%;
  left: 44%;
  width: clamp(42px, 6vw, 100px);
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1c1715, #b68851 80%, #261811);
  transform: rotate(-18deg);
}

.r8r4-stage-prop--drawer {
  bottom: 25%;
  left: 29%;
  width: clamp(90px, 13vw, 205px);
  height: clamp(34px, 4vw, 62px);
  border: 4px solid #4a2819;
  background: #704128;
  box-shadow: inset 0 0 0 2px #a56b3f, 12px 12px 18px rgba(0, 0, 0, .5);
}

.r8r4-stage-prop--window {
  top: 17%;
  left: 16%;
  width: clamp(110px, 16vw, 255px);
  height: clamp(175px, 28vw, 430px);
  border: clamp(7px, .8vw, 13px) solid #4d2a1b;
  background:
    linear-gradient(90deg, transparent 48%, #57301d 49% 52%, transparent 53%),
    linear-gradient(0deg, transparent 48%, #57301d 49% 52%, transparent 53%),
    linear-gradient(135deg, rgba(255, 211, 132, .7), rgba(90, 45, 24, .22));
  box-shadow: 0 0 44px rgba(240, 172, 83, .26);
}

.r8r4-stage-prop--arch {
  top: 13%;
  left: 34%;
  width: 32%;
  height: 55%;
  border: clamp(9px, 1vw, 16px) solid #7a5b3b;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  box-shadow: inset 0 0 38px rgba(255, 210, 133, .18), 0 0 42px rgba(0, 0, 0, .48);
}

.r8r4-stage-prop--foliage-left,
.r8r4-stage-prop--foliage-right {
  bottom: 20%;
  width: 16%;
  height: 46%;
  border-radius: 58% 32%;
  background:
    radial-gradient(ellipse at 40% 30%, #52613b 0 12%, transparent 14%),
    radial-gradient(ellipse at 65% 52%, #2f442d 0 16%, transparent 18%),
    radial-gradient(ellipse at 38% 77%, #465739 0 15%, transparent 17%);
  opacity: .78;
}

.r8r4-stage-prop--foliage-left { left: 8%; }
.r8r4-stage-prop--foliage-right { right: 8%; transform: scaleX(-1); }

.r8r4-stage-prop--path-light {
  bottom: 5%;
  left: 50%;
  width: 26%;
  height: 62%;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 222, 162, .08), rgba(246, 181, 84, .42));
  filter: blur(5px);
  transform-origin: center top;
}

.r8r4-stage-prop--streetlamp {
  bottom: 18%;
  left: 18%;
  width: 6px;
  height: 45%;
  background: #49351f;
}

.r8r4-stage-prop--streetlamp::before {
  content: "";
  position: absolute;
  top: -12%;
  left: 50%;
  width: clamp(38px, 5vw, 70px);
  aspect-ratio: .8;
  border: 4px solid #5d4428;
  background: rgba(245, 186, 92, .72);
  box-shadow: 0 0 34px rgba(255, 190, 89, .62);
  transform: translateX(-50%);
}

.r8r4-stage-prop--shadow-left,
.r8r4-stage-prop--shadow-right {
  bottom: 20%;
  width: 10%;
  height: 42%;
  border-radius: 50% 50% 18% 18%;
  background: rgba(17, 10, 8, .55);
  filter: blur(4px);
}

.r8r4-stage-prop--shadow-left { left: 34%; }
.r8r4-stage-prop--shadow-right { right: 34%; }

.r8r4-stage-prop--chair-1,
.r8r4-stage-prop--chair-2,
.r8r4-stage-prop--chair-3,
.r8r4-stage-prop--chair-4 {
  bottom: 18%;
  width: clamp(56px, 7vw, 108px);
  height: clamp(78px, 10vw, 155px);
  border: 5px solid #58301d;
  border-radius: 18px 18px 3px 3px;
  background: linear-gradient(90deg, #32180f, #704025, #32180f);
}

.r8r4-stage-prop--chair-1 { left: 24%; }
.r8r4-stage-prop--chair-2 { left: 39%; }
.r8r4-stage-prop--chair-3 { right: 39%; }
.r8r4-stage-prop--chair-4 { right: 24%; }

.r8r4-stage-prop--pendant {
  top: 0;
  left: 50%;
  width: 4px;
  height: 33%;
  background: #6c4b2e;
}

.r8r4-stage-prop--pendant::after {
  content: "";
  position: absolute;
  bottom: -8%;
  left: 50%;
  width: clamp(90px, 13vw, 210px);
  height: clamp(36px, 5vw, 76px);
  border-radius: 50% 50% 12% 12%;
  background: #9d713d;
  box-shadow: 0 14px 45px rgba(246, 185, 83, .48);
  transform: translateX(-50%);
}

.r8r4-stage-prop--tile-rack {
  bottom: 25%;
  left: 39%;
  width: 23%;
  height: 7%;
  border: 3px solid #795235;
  background: repeating-linear-gradient(90deg, #e4dac0 0 8%, #bfae8a 8.5% 10%);
}

.r8r4-stage-prop--wind-indicator {
  top: 20%;
  right: 21%;
  width: clamp(52px, 6vw, 96px);
  aspect-ratio: 1;
  border: 4px solid #a7773c;
  border-radius: 50%;
  background: conic-gradient(#6f2830 0 25%, #d6b66d 0 50%, #324d3d 0 75%, #d8d0b9 0);
}

.r8r4-stage-prop--tally-lights {
  top: 18%;
  left: 28%;
  width: 44%;
  height: 26%;
  background: repeating-linear-gradient(90deg, transparent 0 8%, rgba(246, 189, 92, .75) 8.5% 9.5%);
  box-shadow: 0 0 32px rgba(245, 178, 75, .28);
}

.r8r4-stage-prop--trolley,
.r8r4-stage-prop--wardrobe {
  bottom: 18%;
  width: clamp(150px, 21vw, 330px);
  height: clamp(120px, 19vw, 280px);
  border: 6px solid #5b3823;
  background: linear-gradient(135deg, rgba(116, 71, 43, .88), rgba(40, 20, 14, .94));
  box-shadow: inset 0 0 0 2px #a87649, 0 22px 28px rgba(0, 0, 0, .54);
}

.r8r4-stage-prop--trolley { left: 18%; height: clamp(72px, 10vw, 150px); }
.r8r4-stage-prop--wardrobe { right: 16%; }

.r8r4-stage-prop--plates,
.r8r4-stage-prop--slippers,
.r8r4-stage-prop--ticket,
.r8r4-stage-prop--stamp,
.r8r4-stage-prop--bone,
.r8r4-stage-prop--medal {
  bottom: 26%;
  left: 46%;
  width: clamp(48px, 6vw, 94px);
  height: clamp(28px, 4vw, 62px);
  border: 3px solid #a87945;
  border-radius: 50%;
  background: #d7b67c;
}

.r8r4-stage-prop--slippers { left: 58%; border-radius: 55% 20% 55% 20%; background: #8e3d48; }
.r8r4-stage-prop--ticket { left: 39%; border-radius: 3px; background: #dfc797; }
.r8r4-stage-prop--stamp { left: 51%; width: 42px; border-radius: 5px; background: #78432c; }
.r8r4-stage-prop--bone { left: 34%; border-radius: 45%; background: #eadfca; }
.r8r4-stage-prop--medal { left: 51%; aspect-ratio: 1; height: auto; border-radius: 50%; background: #c99a4e; }

.r8r4-stage-prop--gauge {
  top: 21%;
  right: 31%;
  width: 4px;
  height: clamp(48px, 6vw, 94px);
  background: #d1a75f;
  transform-origin: bottom center;
}

.r8r4-stage-prop--travel-case,
.r8r4-stage-prop--service-tray,
.r8r4-stage-prop--menu-cards {
  bottom: 21%;
  left: 24%;
  width: clamp(78px, 11vw, 170px);
  height: clamp(52px, 7vw, 105px);
  border: 5px solid #5b3421;
  border-radius: 5px;
  background: linear-gradient(135deg, #9a6940, #3e2116);
}

.r8r4-stage-prop--service-tray { left: 44%; height: 18px; border-width: 2px; background: #b58b57; }
.r8r4-stage-prop--menu-cards { left: 57%; width: 10%; height: 15%; background: #d8c29a; }

.r8r4-stage-prop--padded-club {
  right: 27%;
  bottom: 23%;
  width: clamp(28px, 3.5vw, 55px);
  height: clamp(105px, 15vw, 230px);
  border-radius: 42% 42% 12% 12%;
  background: repeating-linear-gradient(180deg, #7c3a45 0 12%, #54242d 12% 22%);
  transform: rotate(18deg);
}

.r8r4-stage-prop--home-outline,
.r8r4-stage-prop--mini-proscenium {
  bottom: 17%;
  left: 50%;
  width: 42%;
  height: 44%;
  border: 6px solid rgba(213, 161, 87, .72);
  border-bottom-width: 12px;
  clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
  box-shadow: inset 0 0 34px rgba(255, 193, 96, .16);
}

.r8r4-stage-prop--mini-proscenium {
  border-radius: 50% 50% 4px 4px;
  clip-path: none;
}

.r8r4-stage-prop--monogram {
  top: 26%;
  left: 44%;
  width: 12%;
  aspect-ratio: 1;
  border: 2px solid rgba(213, 170, 102, .44);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(244, 190, 101, .32);
}

.main-song-film.is-loading video {
  opacity: .35;
}

.main-song-film-grade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 2, 2, .72) 0, rgba(4, 2, 2, .08) 29%, transparent 55%),
    linear-gradient(0deg, rgba(3, 2, 2, .9) 0, rgba(3, 2, 2, .16) 38%, transparent 60%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .48);
}

.chapter-shell.has-song-stage header {
  z-index: 4;
  top: clamp(22px, 4.2svh, 54px) !important;
}

.chapter-shell.has-song-stage header h2 {
  font-size: clamp(28px, 3.4vw, 48px);
}

.chapter-shell.has-song-stage .chapter-story {
  display: none;
}

.main-song-experience {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: none;
  pointer-events: none;
}

.main-song-experience.is-active {
  display: block;
}

.main-song-lyrics {
  position: absolute;
  left: 50%;
  bottom: clamp(92px, 12svh, 124px);
  width: min(900px, calc(100vw - 180px));
  min-height: 118px;
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 2px 12px #000, 0 0 26px #000;
}

.main-song-section {
  display: block;
  min-height: 18px;
  color: #d9ae72;
  font-size: 12px;
}

.main-song-lyrics p {
  margin: 0;
  letter-spacing: 0;
}

.main-song-lyric-previous,
.main-song-lyric-next {
  min-height: 21px;
  color: rgba(255, 239, 216, .56);
  font-size: clamp(12px, 1vw, 15px);
}

.main-song-lyric-current {
  min-height: 40px;
  padding: 6px 0;
  color: #fff4de;
  font-family: Georgia, "Times New Roman", "Microsoft JhengHei", serif;
  font-size: clamp(21px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

.main-song-lyric-current.is-changing {
  animation: mainSongLyricIn 320ms ease both;
}

@keyframes mainSongLyricIn {
  from { opacity: .2; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-song-player {
  position: absolute;
  right: clamp(14px, 3vw, 48px);
  bottom: clamp(14px, 2.2svh, 28px);
  left: clamp(14px, 3vw, 48px);
  display: grid;
  grid-template-columns: 38px 42px minmax(120px, 1fr) 42px 38px minmax(70px, 110px) minmax(92px, auto);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border-top: 1px solid rgba(224, 184, 121, .32);
  border-bottom: 1px solid rgba(224, 184, 121, .16);
  background: linear-gradient(90deg, transparent, rgba(9, 5, 4, .82) 8% 92%, transparent);
  pointer-events: auto;
}

.main-song-icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(223, 183, 119, .52);
  border-radius: 50%;
  color: #fff1d8;
  background: rgba(32, 16, 11, .72);
  cursor: pointer;
}

.main-song-time,
.main-song-status {
  color: #f1dcc0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.main-song-status {
  text-align: right;
}

.main-song-seek-wrap,
.main-song-volume-wrap {
  display: flex;
  align-items: center;
}

.main-song-player input[type="range"] {
  width: 100%;
  accent-color: #b8322b;
}

.chapter-shell.has-song-stage > #backToMenuButton {
  z-index: 7;
  top: clamp(16px, 2.4svh, 30px);
  right: clamp(14px, 2.5vw, 34px);
  bottom: auto;
  min-height: 38px;
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  body[data-set="memory"] .main-song-film {
    background: #100908 url("../image/stage/舞台R6R2/第一幕_手機.png") center / cover no-repeat;
  }

  body[data-set="present"] .main-song-film {
    background: #100908 url("../image/stage/舞台R6R2/第二幕.png") center / cover no-repeat;
  }

  body[data-set="mahjong"] .main-song-film {
    background: #0b100c url("../image/stage/舞台R6R2/麻將番外.png") center / cover no-repeat;
  }

  .main-song-film video {
    position: absolute;
    top: 50%;
    left: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: transparent;
    transform: translateY(-50%);
  }

  .main-song-film-grade {
    background:
      linear-gradient(180deg, rgba(4, 2, 2, .64) 0, rgba(4, 2, 2, .24) 22%, rgba(4, 2, 2, .05) 48%, rgba(3, 2, 2, .78) 82%, rgba(3, 2, 2, .92) 100%),
      linear-gradient(90deg, rgba(4, 2, 2, .24), transparent 28%, transparent 72%, rgba(4, 2, 2, .24));
  }

  .chapter-shell.has-song-stage header {
    top: max(12px, env(safe-area-inset-top)) !important;
    right: 92px;
    left: 12px;
    text-align: left;
  }

  .chapter-shell.has-song-stage header .eyebrow,
  .chapter-shell.has-song-stage header #chapterSubtitle {
    font-size: 10px;
  }

  .chapter-shell.has-song-stage header h2 {
    margin: 3px 0;
    font-size: clamp(20px, 6vw, 27px);
  }

  .chapter-shell.has-song-stage header::after {
    right: 0;
    left: 0;
  }

  .main-song-lyrics {
    bottom: 122px;
    width: calc(100vw - 24px);
    min-height: 106px;
  }

  .main-song-lyric-current {
    min-height: 36px;
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .main-song-lyric-previous,
  .main-song-lyric-next {
    font-size: 11px;
  }

  .main-song-player {
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    grid-template-columns: 34px 36px minmax(90px, 1fr) 36px 34px;
    gap: 6px;
    padding: 7px 8px 24px;
  }

  .main-song-volume-wrap,
  .main-song-status {
    display: none;
  }

  .main-song-icon-button {
    width: 34px;
    height: 34px;
  }

  .chapter-shell.has-song-stage > #backToMenuButton {
    top: max(10px, env(safe-area-inset-top));
    right: 8px;
    min-width: 0;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 11px;
  }
}
