/* ================= 第九幕 二十一颗星星 ================= */
#ch-stars { padding: calc(var(--vh) * 8) 0 calc(var(--vh) * 12); }
.sr-stage { width: min(100% - 24px, 560px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sr-sky { position: relative; width: 100%; aspect-ratio: 1 / 0.92; max-height: calc(var(--vh) * 50); }
.sr-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sr-path { fill: none; stroke: #fff2c4; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1 0; opacity: 0; filter: drop-shadow(0 0 4px rgba(255, 220, 150, .9)); }
.drawing .sr-path, .named .sr-path { opacity: .9; animation: srdraw 2.6s ease-in-out both; stroke-dasharray: 400; }
@keyframes srdraw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.sr-fill { fill: rgba(255, 150, 200, .0); stroke: none; transition: fill 1.6s; }
.named .sr-fill { fill: rgba(255, 150, 200, .22); }
.sr-star { opacity: 0; position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: flex; align-items: center; justify-content: center; transition: left 1.2s cubic-bezier(.5, 0, .2, 1), top 1.2s cubic-bezier(.5, 0, .2, 1); }
.sr-star img { width: 30px; height: 30px; opacity: .38; filter: grayscale(.6) brightness(.9); transition: all .45s var(--ease-pop); animation: srtw 3s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
@keyframes srtw { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.05); } }
.sr-star b { position: absolute; bottom: -8px; font-size: 12px; color: rgba(255, 248, 236, .55); font-weight: 600; }
.sr-star .mic { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }
.sr-star .mic::after { content: ''; position: absolute; left: 4px; top: 2px; width: 4px; height: 6px; border-radius: 3px; background: var(--ink); }
.sr-star.lit img { width: 40px; height: 40px; opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 226, 140, .95)); }
.sr-star.lit b { color: #fff2c4; }
.sr-star.burst img { animation: srburst .8s var(--ease-pop); }
@keyframes srburst { 0% { transform: scale(.3) rotate(-40deg); } 60% { transform: scale(1.5) rotate(10deg); } 100% { transform: scale(1); } }
.sr-secret { position: absolute; left: 50%; top: 52%; width: 50px; height: 50px; margin: -25px 0 0 -25px; opacity: 0; transform: scale(0); transition: all .8s var(--ease-pop); pointer-events: none; }
.sr-secret img { width: 100%; height: 100%; filter: hue-rotate(290deg) saturate(2) drop-shadow(0 0 12px rgba(255, 150, 200, 1)); animation: pulse 1.4s ease-in-out infinite; }
.sr-secret b { position: absolute; left: 0; right: 0; bottom: -10px; font-size: 12px; color: var(--pink3); }
.secret .sr-secret { opacity: 1; transform: none; pointer-events: auto; }
.sr-name { position: absolute; left: 0; right: 0; top: 102%; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(10px); transition: all .9s var(--ease-pop); pointer-events: none; }
.sr-name b { font-weight: normal; font-size: 30px; color: #fff2c4; letter-spacing: .2em; text-shadow: 0 0 24px rgba(255, 200, 120, .9), 0 3px 0 rgba(20, 10, 60, .5); }
.sr-name span { font-size: 13px; color: var(--pink3); }
.named .sr-name { opacity: 1; transform: none; }
.sr-bottom { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
.named .sr-bottom { margin-top: 64px; }
.sr-count { font-size: 15px; color: var(--gold3); }
.sr-count b { font-size: 19px; color: var(--gold); }
.sr-card { width: 100%; min-height: 128px; padding: 14px 18px 16px; }
.sr-card.pop { animation: cardpop .5s var(--ease-pop); }
@keyframes cardpop { 0% { transform: scale(.94) rotate(-1deg); } 100% { transform: none; } }
.sc-no { font-size: 14px; color: var(--rose); }
.sc-text { font-size: 17px; line-height: 1.7; margin-top: 4px; min-height: 2.6em; }
.vb { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 99px; background: #9ee28f; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.vb-play { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; }
.vb-play::after { content: ''; position: absolute; left: 8px; top: 6px; border-left: 8px solid #9ee28f; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.vb-wave { display: inline-flex; align-items: center; gap: 2px; height: 20px; }
.vb-wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--ink); }
.vb.on .vb-wave i { animation: wave .8s ease-in-out infinite; }
.vb-wave i:nth-child(3n) { animation-delay: -.2s; } .vb-wave i:nth-child(3n+1) { animation-delay: -.45s; } .vb-wave i:nth-child(4n) { animation-delay: -.6s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.vb em { font-style: normal; font-size: 13px; }
