.capsule-opening{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#252b29;overflow:hidden;z-index:10000}.capsule-opening::backdrop{background:transparent}.capsule-opening[open]{display:grid;place-items:center}.capsule-opening .opening-backdrop{position:absolute;inset:0;background:#f2eee5}.opening-stage{position:relative;width:min(420px,100vw);text-align:center;isolation:isolate}.opening-kicker{font-size:10px;letter-spacing:3px;color:#b8472d;margin:0 0 18px}.opening-date{font-size:25px;font-weight:700;letter-spacing:-1px;margin:0}.opening-art{position:relative;height:300px;display:grid;place-items:center;perspective:700px}.opening-orbit{position:absolute;width:250px;height:250px;border:1px solid #c7b89e;border-radius:50%;transform:rotateX(65deg) rotate(-20deg);opacity:.6}.opening-orbit::after{content:'';position:absolute;inset:22px;border:1px dashed #c7b89e;border-radius:50%}.opening-glow{position:absolute;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,#f8dfad 0,rgba(236,193,123,.3) 35%,transparent 70%);opacity:0;transform:scale(.4)}.opening-pill{position:relative;width:112px;height:210px;transform:rotate(-26deg);filter:drop-shadow(8px 16px 12px #342a221b)}.opening-half{position:absolute;left:0;width:112px;height:105px;border:1px solid #bd987c;overflow:hidden;box-shadow:inset -10px 0 16px #0000000a,inset 7px 0 12px #ffffff50}.opening-top{top:0;border-radius:60px 60px 0 0;background:linear-gradient(110deg,#fffdf5,#e7dcc8);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.opening-top small{font-size:8px;letter-spacing:2px;color:#8f7b63}.opening-top strong{font-size:24px;color:#9a402d;letter-spacing:1px}.opening-bottom{bottom:0;border-radius:0 0 60px 60px;background:linear-gradient(110deg,#c66042,#a8402a);display:grid;place-items:center}.opening-clock{position:relative;display:block;width:45px;height:45px;border:1px solid #f9dfb6;border-radius:50%;opacity:.95}.opening-clock::before,.opening-clock::after{content:'';position:absolute;left:21px;bottom:21px;width:1px;background:#f9dfb6;transform-origin:bottom}.opening-clock::before{height:14px;transform:rotate(40deg)}.opening-clock::after{height:10px;transform:rotate(-65deg)}.opening-light{position:absolute;top:100px;left:4px;width:104px;height:7px;background:#ffeac4;box-shadow:0 0 20px 5px #f7d59e;opacity:0}.opening-spark{position:absolute;left:50%;top:50%;width:5px;height:9px;border-radius:2px;background:var(--color,#b8472d);opacity:0;pointer-events:none}.opening-caption{font-size:14px;letter-spacing:-.3px;color:#756c5b;margin:0}.opening-skip{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));background:transparent;border:1px solid #cfc4b2;color:#6f6658;border-radius:30px;padding:8px 15px;font-size:12px}.capsule-opening.is-playing .opening-stage{animation:capsule-stage-in .45s ease-out both}.capsule-opening.is-playing .opening-pill{animation:capsule-float 1.05s ease-in-out both}.capsule-opening.is-playing .opening-top{animation:capsule-top 1.8s cubic-bezier(.2,.65,.2,1) both}.capsule-opening.is-playing .opening-bottom{animation:capsule-bottom 1.8s cubic-bezier(.2,.65,.2,1) both}.capsule-opening.is-playing .opening-light{animation:capsule-seam 1.8s ease-out both}.capsule-opening.is-playing .opening-glow{animation:capsule-glow 1.8s ease-out both}.capsule-opening.is-playing .opening-spark{animation:capsule-spark .8s 1.03s ease-out both}.capsule-opening.is-leaving{animation:capsule-leave .45s ease-in both;pointer-events:none}.capsule-opening.is-leaving .opening-backdrop{opacity:0;transition:opacity .4s}.capsule-opening.is-leaving .opening-skip{visibility:hidden}@keyframes capsule-stage-in{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}@keyframes capsule-float{0%{transform:translateY(12px) rotate(-26deg)}55%{transform:translateY(-9px) rotate(-22deg)}75%{transform:translateX(-3px) rotate(-28deg)}85%{transform:translateX(3px) rotate(-24deg)}100%{transform:rotate(-26deg)}}@keyframes capsule-top{0%,55%{transform:none;opacity:1}80%{transform:translate(-30px,-70px) rotate(-18deg);opacity:1}100%{transform:translate(-70px,-130px) rotate(-28deg);opacity:0}}@keyframes capsule-bottom{0%,55%{transform:none;opacity:1}80%{transform:translate(30px,65px) rotate(16deg);opacity:1}100%{transform:translate(65px,120px) rotate(26deg);opacity:0}}@keyframes capsule-seam{0%,35%{opacity:0}53%,65%{opacity:1;transform:scaleX(1)}100%{opacity:0;transform:scaleX(2)}}@keyframes capsule-glow{0%,40%{opacity:0;transform:scale(.4)}65%{opacity:1;transform:scale(1.35)}100%{opacity:0;transform:scale(2.1)}}@keyframes capsule-spark{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}15%{opacity:.9}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(var(--r)) scale(.5)}}@keyframes capsule-leave{to{opacity:0}}@media(max-width:480px){.opening-art{height:270px}.opening-date{font-size:23px}.opening-pill{scale:.9}}@media(prefers-reduced-motion:reduce){.capsule-opening *{animation:none!important;transition:none!important}}
/* Five-second cartoon time travel: arrival, tunnel, discovery, burst, reveal. */
.capsule-opening{color:#173948}.capsule-opening .opening-backdrop{background:radial-gradient(ellipse at 50% 48%,#f9f2d8 0,#d9f0e8 25%,#9cd8e5 58%,#64b8d0 100%)}.opening-tunnel{position:absolute;inset:0;overflow:hidden;pointer-events:none}.time-tunnel-ring{position:absolute;left:50%;top:48%;width:min(55vw,400px);height:min(55vw,400px);min-width:230px;min-height:230px;border:2px solid #fff6d0;border-radius:50%;opacity:0;box-shadow:0 0 0 12px #ffffff09,0 0 0 25px #1284a50a}.time-tunnel-trail{position:absolute;left:50%;top:48%;width:2px;height:115px;background:linear-gradient(transparent,#fff8dc);border-radius:5px;opacity:0;transform-origin:top}.opening-stage{z-index:1}.opening-kicker{color:#286a7c;font-weight:800;letter-spacing:3px}.opening-date{color:#214c58;text-shadow:0 2px #fff9}.opening-art{height:330px}.opening-caption{color:#315967;font-weight:700;min-height:24px}.opening-skip{color:#254e5b;border-color:#6198a9;background:#f8f8ec9c;z-index:2}.opening-pill{width:118px;height:220px;filter:drop-shadow(5px 8px 0 #25536725)}.opening-half{width:118px;height:110px;border:3px solid #285969;box-shadow:inset -12px 0 0 #0000000b,inset 6px 0 0 #fff5}.opening-top{background:linear-gradient(115deg,#fffef2,#f2e9cd);border-radius:64px 64px 0 0}.opening-top strong{color:#b8472d;font-size:27px}.opening-top small{color:#3b6876;font-weight:700}.opening-bottom{background:linear-gradient(115deg,#37bfdf,#168bbd);border-radius:0 0 64px 64px;border-top:8px solid #bd4b35}.opening-clock{width:49px;height:49px;border:3px solid #7c5835;background:#ffdb59;box-shadow:2px 3px 0 #25536733}.opening-clock::before,.opening-clock::after{background:#654721;left:21px;bottom:21px;width:2px;border-radius:2px}.opening-clock::before{height:14px}.opening-clock::after{height:10px}.opening-light{top:105px;width:110px;left:4px;background:#fff2b6}.opening-orbit{width:270px;height:270px;border:2px solid #629caf;opacity:.35}.opening-glow{width:270px;height:270px;background:radial-gradient(circle,#fff4b8 0,#ffe59b80 35%,transparent 70%)}.opening-time-dial{position:absolute;inset:26px 50%;width:270px;height:270px;margin-left:-135px;border:2px solid #fff6dbaa;border-radius:50%;color:#61939d;font-size:19px;font-weight:700;opacity:.7}.opening-time-dial span{position:absolute}.opening-time-dial span:nth-child(1){top:2px;left:50%;translate:-50% 0}.opening-time-dial span:nth-child(2){right:10px;top:50%;translate:0 -50%}.opening-time-dial span:nth-child(3){bottom:2px;left:50%;translate:-50% 0}.opening-time-dial span:nth-child(4){left:10px;top:50%;translate:0 -50%}.opening-time-dial i,.opening-time-dial b{position:absolute;left:calc(50% - 1px);bottom:50%;width:2px;background:#5d9aab60;transform-origin:bottom;border-radius:3px}.opening-time-dial i{height:99px}.opening-time-dial b{height:75px}.opening-spark.is-star{width:12px;height:12px;clip-path:polygon(50% 0,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0 50%,38% 36%)}
.capsule-opening.is-playing .opening-stage{animation:capsule-cartoon-stage 5s ease-in-out both}.capsule-opening.is-playing .opening-pill{animation:capsule-cartoon-flight 5s ease-in-out both}.capsule-opening.is-playing .opening-top{animation:capsule-cartoon-top 5s cubic-bezier(.2,.65,.2,1) both}.capsule-opening.is-playing .opening-bottom{animation:capsule-cartoon-bottom 5s cubic-bezier(.2,.65,.2,1) both}.capsule-opening.is-playing .opening-light{animation:capsule-cartoon-seam 5s ease-out both}.capsule-opening.is-playing .opening-glow{animation:capsule-cartoon-glow 5s ease-out both}.capsule-opening.is-playing .opening-spark{animation:capsule-spark 1.15s 3.65s ease-out both}.capsule-opening.is-playing .time-tunnel-ring{animation:capsule-tunnel-ring 1.9s var(--lag) linear infinite}.capsule-opening.is-playing .time-tunnel-trail{animation:capsule-tunnel-trail 1.35s var(--lag) ease-in infinite}.capsule-opening.is-playing .opening-time-dial i{animation:capsule-clock-spin 1.2s linear infinite}.capsule-opening.is-playing .opening-time-dial b{animation:capsule-clock-spin 3.5s linear infinite reverse}.capsule-opening.is-leaving{animation:capsule-leave .55s ease-in both}.capsule-opening.is-leaving .opening-backdrop{transition:opacity .55s}
@keyframes capsule-cartoon-stage{0%{opacity:0;transform:translateY(35px) scale(.7)}12%{opacity:1;transform:translateY(-8px) scale(1.04)}22%,80%{opacity:1;transform:none}100%{opacity:0;transform:scale(1.08)}}@keyframes capsule-cartoon-flight{0%{transform:translateY(30px) rotate(-30deg) scale(.8)}16%{transform:translateY(-12px) rotate(-22deg) scale(1)}32%{transform:translate(10px,4px) rotate(-13deg)}48%{transform:translate(-10px,-10px) rotate(-32deg)}62%{transform:translateY(0) rotate(-22deg)}67%{transform:translateX(-5px) rotate(-29deg)}70%{transform:translateX(5px) rotate(-20deg)}73%,100%{transform:rotate(-26deg)}}@keyframes capsule-cartoon-top{0%,72%{opacity:1;transform:none}83%{opacity:1;transform:translate(-40px,-82px) rotate(-22deg)}96%,100%{opacity:0;transform:translate(-85px,-155px) rotate(-42deg)}}@keyframes capsule-cartoon-bottom{0%,72%{opacity:1;transform:none}83%{opacity:1;transform:translate(40px,80px) rotate(20deg)}96%,100%{opacity:0;transform:translate(85px,150px) rotate(38deg)}}@keyframes capsule-cartoon-seam{0%,52%{opacity:0;transform:scaleX(.6)}68%,76%{opacity:1;transform:scaleX(1)}94%,100%{opacity:0;transform:scaleX(2.5)}}@keyframes capsule-cartoon-glow{0%,45%{opacity:0;transform:scale(.5)}66%{opacity:.65;transform:scale(1)}78%{opacity:1;transform:scale(1.7)}98%,100%{opacity:0;transform:scale(2.8)}}@keyframes capsule-tunnel-ring{0%{transform:translate(-50%,-50%) scale(.12) rotate(0);opacity:0}20%{opacity:.5}100%{transform:translate(-50%,-50%) scale(4.5) rotate(35deg);opacity:0}}@keyframes capsule-tunnel-trail{0%{transform:rotate(var(--angle)) translateY(100px) scaleY(.15);opacity:0}45%{opacity:.42}100%{transform:rotate(var(--angle)) translateY(480px) scaleY(1.8);opacity:0}}@keyframes capsule-clock-spin{to{transform:rotate(360deg)}}@media(max-width:480px){.opening-art{height:300px}.opening-time-dial{top:18px}.opening-caption{font-size:13px}.time-tunnel-trail{height:75px}}@media(prefers-reduced-motion:reduce){.capsule-opening *{animation:none!important;transition:none!important}}
