/* Supplied design: ST reset, real count/chain are rendered from saved state. */
.lily-reset-fx{position:absolute;inset:0;z-index:79;pointer-events:none;overflow:hidden;display:grid;place-items:center;animation:lrAll 3s ease both}
@keyframes lrAll{0%{opacity:1}85%{opacity:1}100%{opacity:0}}
.lr-dim{position:absolute;inset:0;background:radial-gradient(circle at 50% 44%,rgba(20,120,60,.45),rgba(2,14,8,.84) 70%);animation:lilyResetFade .2s ease both}
.lr-wave{position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(90,255,150,.06) 0 2px,transparent 2px 6px);animation:lrScan 1.2s linear infinite}
@keyframes lrScan{to{background-position:0 60px}}
.lr-ring{position:absolute;left:50%;top:44%;width:12px;height:12px;margin:-6px;border-radius:50%;opacity:0;animation:lrRing 1.2s cubic-bezier(.2,.7,.3,1) both}
.lr-ring.r1{animation-delay:.1s}.lr-ring.r2{animation-delay:.4s}
@keyframes lrRing{0%{opacity:1;box-shadow:0 0 0 0 rgba(90,255,150,.9)}100%{opacity:1;box-shadow:0 0 0 200px rgba(90,255,150,0)}}
/* 巻き戻る時計 */
.lr-clock{position:absolute;left:50%;top:44%;width:230px;height:230px;margin:-115px 0 0 -115px;border-radius:50%;animation:lrClockIn .4s cubic-bezier(.2,1.4,.4,1) both}
@keyframes lrClockIn{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
.lr-arc{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,#3ce27a var(--lily-reset-progress,0%),rgba(90,255,150,.12) 0);-webkit-mask:radial-gradient(circle,transparent 62%,#000 63%,#000 70%,transparent 71%);mask:radial-gradient(circle,transparent 62%,#000 63%,#000 70%,transparent 71%);filter:drop-shadow(0 0 8px #3ce27a);animation:lrArc 1.1s cubic-bezier(.4,0,.2,1) .25s both}
@property --lily-reset-progress{syntax:'<percentage>';initial-value:8%;inherits:false}
@keyframes lrArc{from{--lily-reset-progress:8%}to{--lily-reset-progress:100%}}
.lr-hand{position:absolute;left:50%;top:50%;width:3px;height:92px;margin:-92px 0 0 -1.5px;border-radius:2px;background:linear-gradient(180deg,#fff,#3ce27a);transform-origin:50% 100%;box-shadow:0 0 8px #3ce27a;animation:lrHand 1.1s cubic-bezier(.4,0,.2,1) .25s both}
@keyframes lrHand{from{rotate:30deg}to{rotate:-720deg}}
.lr-body{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:-4%}
.lr-top{font-family:var(--en);font-weight:600;font-size:12px;letter-spacing:.5em;padding-left:.5em;color:#c4ffd8;text-shadow:0 0 8px rgba(90,255,150,.9);animation:lilyResetPop .4s cubic-bezier(.2,1.6,.4,1) .15s both}
.lily-reset-fx.clutch .lr-top{font-family:var(--jp);font-size:14px;letter-spacing:.2em;color:#ffb3a8;text-shadow:0 0 10px rgba(255,80,60,.9)}
.lr-t{display:flex;align-items:baseline;gap:2px;font-size:38px;font-weight:900;color:#fff;letter-spacing:.04em;text-shadow:0 0 12px rgba(90,255,150,.8),0 3px 0 rgba(0,0,0,.6);animation:lilyResetPop .55s cubic-bezier(.2,1.5,.4,1) .3s both}
.lr-t b{font-family:var(--en);font-style:italic;font-weight:600;font-size:56px;padding:0 .08em;background:linear-gradient(180deg,#ffffff,#c4ffd8 45%,#14a050);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.8);filter:drop-shadow(0 0 10px rgba(90,255,150,.9))}
.lr-count{display:flex;align-items:center;gap:10px;margin-top:6px;animation:lilyResetPop .4s cubic-bezier(.2,1.6,.4,1) .55s both}
.lr-from{font-family:var(--en);font-weight:600;font-size:26px;color:#ffb3a8;text-decoration:line-through;text-decoration-thickness:2px;opacity:.85}
.lr-arrow{width:26px;height:12px;position:relative}
.lr-arrow::before{content:'';position:absolute;left:0;right:6px;top:5px;height:2px;background:#c4ffd8}
.lr-arrow::after{content:'';position:absolute;right:0;top:1px;width:8px;height:8px;border-right:2px solid #c4ffd8;border-top:2px solid #c4ffd8;transform:rotate(45deg)}
.lr-to{display:flex;align-items:baseline;gap:2px}
.lr-to b{display:inline-block;padding:2px .14em 0 .06em;font-family:var(--en);font-style:italic;font-weight:600;font-size:54px;line-height:1;color:#fff;background:none;-webkit-text-stroke:2px #0d6a30;paint-order:stroke fill;text-shadow:0 0 6px #fff,0 0 18px rgba(90,255,150,1),0 4px 0 #04381a;animation:lrTo .5s cubic-bezier(.2,1.8,.4,1) 1.25s both}
.lr-to{padding:2px 14px 4px;border-radius:12px;background:radial-gradient(120% 120% at 50% 40%,rgba(60,226,122,.35),rgba(4,30,14,.75));border:1.5px solid rgba(160,255,200,.8);box-shadow:0 0 18px rgba(60,226,122,.55),inset 0 0 12px rgba(60,226,122,.35)}
.lr-to small{font-size:14px!important;color:#e6fff0!important;font-weight:900!important;text-shadow:0 2px 0 rgba(0,0,0,.6)}
@keyframes lrTo{0%{transform:scale(1)}40%{transform:scale(1.35)}100%{transform:scale(1)}}
.lr-to small{font-size:12px;color:#c4ffd8;font-weight:700}
.lr-sub{margin-top:6px;font-size:14px;font-weight:900;color:#fff;background:rgba(0,0,0,.5);border:1px solid rgba(90,255,150,.5);padding:4px 14px;border-radius:99px;animation:lilyResetPop .4s cubic-bezier(.2,1.6,.4,1) 1.5s both}
.lr-sub b{font-family:var(--en);font-size:17px;color:#3ce27a;margin:0 1px}

@keyframes lilyResetFade{from{opacity:0}to{opacity:1}}
@keyframes lilyResetPop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
.lily-reset-fx .lr-note{margin-top:8px;color:#d5ffe6;font-size:11px}.lily-reset-fx .lr-t{white-space:nowrap}
@media(prefers-reduced-motion:reduce){.lily-reset-fx,.lily-reset-fx *{animation:none!important}.lily-reset-fx .lr-arc{--lily-reset-progress:100%}.lily-reset-fx .lr-hand{display:none}}
