/* ================= 片尾 ================= */
.cr-stage { text-align: center; }
.cr-rollbox { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 80%, transparent 93%); mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 80%, transparent 93%); }
.cr-roll { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 0 24px; }
.cr-film { font-size: clamp(26px, 7.6vw, 40px); color: #fff2c4; margin-bottom: 10px; }
.cr-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cr-item em { font-style: normal; font-size: 13px; letter-spacing: .35em; color: var(--gold); }
.cr-item b { font-weight: normal; font-size: clamp(18px, 5.2vw, 24px); line-height: 1.5; color: var(--txt); text-shadow: 0 0 18px rgba(20, 10, 80, .9); max-width: 18em; }
.cr-pics { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.cr-pics img { width: 92px; height: 112px; object-fit: cover; background: #fff; padding: 5px 5px 16px; border: 2.5px solid var(--ink); border-radius: 4px; transform: rotate(var(--r)); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.cr-thanks { margin-top: 20px; font-size: 18px; }
.cr-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 20px calc(10% + var(--sb)); opacity: 0; }
.cr-big { font-size: clamp(48px, 15vw, 88px); color: #fff2c4; letter-spacing: .1em; line-height: 1.1; }
.cr-small { font-size: 13px; letter-spacing: .5em; color: var(--pink3); font-weight: 500; }
.cr-line { margin-top: 8px; font-size: clamp(17px, 5vw, 22px); }
.cr-hold { position: relative; margin-top: 14px; display: flex; align-items: center; gap: 8px; padding: 9px 18px 9px 10px; border-radius: 99px; border: 2.5px solid rgba(255, 248, 236, .7); color: var(--txt); font-size: 14px; background: rgba(255, 255, 255, .08); overflow: hidden; touch-action: none; -webkit-touch-callout: none; }
.cr-hold i { width: 22px; height: 22px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); position: relative; z-index: 1; }
.cr-hold span { position: relative; z-index: 1; }
.cr-hold::before { content: ''; position: absolute; inset: 0; width: 0; background: rgba(255, 158, 196, .45); }
.cr-hold.holding::before { width: 100%; transition: width .65s linear; }
.cr-hold.done { border-color: var(--pink); }
.cr-final { min-height: 52px; max-width: 22em; font-size: 16.5px; line-height: 1.7; color: var(--pink3); opacity: 0; transition: opacity .5s; }
.cr-final.on { opacity: 1; }
.cr-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cr-pets { display: flex; gap: 0; margin-top: 6px; }
.cr-pets .puppet { width: 88px; height: 88px; }
.cr-big { cursor: pointer; -webkit-user-select: none; user-select: none; }
.cr-big.boing { animation: crboing .45s var(--ease-pop); }
@keyframes crboing { 0% { transform: scale(1); } 40% { transform: scale(1.08, .92); } 100% { transform: scale(1); } }
.cr-next { max-height: 0; opacity: 0; overflow: hidden; font-size: 16px; line-height: 1.6; color: #fff2c4; transition: max-height .8s ease, opacity .8s ease; }
.cr-next span { font-family: var(--f-hand); font-size: 13px; color: var(--pink3); }
.cr-next.on { max-height: 80px; opacity: 1; }
.replay-fade { position: fixed; inset: 0; z-index: 300; background: #1b1f86 url(../assets/art/sky/night-p.webp) center / cover; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.replay-fade.on { opacity: 1; pointer-events: auto; }
