/* First-sign-in welcome scene (welcome-scene.js). */
body.welcome-scene-open{overflow:hidden}
.welcome-scene{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:1.5rem;overflow:hidden;text-align:center;
  background:radial-gradient(circle at 50% 42%,#fffdf6 0,#f6efdf 38%,#e7ddc6 100%);animation:ws-in .6s ease-out both}
.welcome-scene.leaving{animation:ws-out .75s ease-in both}
.welcome-scene-petals{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.welcome-scene-glow{position:absolute;left:50%;top:42%;width:min(140vw,900px);aspect-ratio:1;transform:translate(-50%,-50%) scale(.4);border-radius:50%;
  background:radial-gradient(circle,#f8e7bf99 0,#f8e7bf33 35%,transparent 65%);opacity:0;animation:ws-glow 2.6s 1.9s ease-out both;pointer-events:none}
.welcome-scene-stage{position:relative;max-width:560px;width:100%}
.welcome-scene-rings{width:min(260px,62vw);height:auto;overflow:visible;display:block;margin:0 auto 1.2rem}
.ws-ring{fill:none;stroke-width:5;stroke-linecap:round;stroke-dasharray:290;stroke-dashoffset:290}
.ws-ring-left{stroke:#b69b77;animation:ws-draw 1.2s .25s cubic-bezier(.6,.1,.3,1) forwards,ws-slide-left .7s 1.4s cubic-bezier(.5,0,.2,1.4) backwards}
.ws-ring-right{stroke:#60765a;animation:ws-draw 1.2s .45s cubic-bezier(.6,.1,.3,1) forwards,ws-slide-right .7s 1.4s cubic-bezier(.5,0,.2,1.4) backwards}
.ws-link{stroke-dasharray:30;stroke-dashoffset:30;animation:ws-draw-link .35s 1.95s ease-out forwards,ws-slide-left .7s 1.4s cubic-bezier(.5,0,.2,1.4) backwards}
.ws-flash{fill:#fff8e4;opacity:0;transform-origin:120px 70px;animation:ws-flash .9s 2s ease-out}
.welcome-scene-eyebrow{font-size:.72rem;letter-spacing:.3em;color:#786342;font-weight:600;margin:0 0 .8rem;opacity:0;animation:ws-rise .8s 2.35s ease-out forwards}
.welcome-scene-title{font-size:clamp(2.4rem,9vw,4.4rem);line-height:1.08;margin:0 0 1.1rem;color:#3d3b30}
.ws-hello{display:inline-block;opacity:0;animation:ws-rise .8s 2.55s ease-out forwards}
.ws-name{display:inline-block;color:#60765a;font-style:italic;white-space:nowrap}
.ws-name span{display:inline-block;opacity:0;animation:ws-letter .7s calc(2.8s + var(--i) * .07s) cubic-bezier(.2,.9,.3,1.3) forwards}
.welcome-scene-line{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.1rem,3.6vw,1.35rem);color:#5d5643;margin:0 0 .4rem;opacity:0;animation:ws-rise .9s 3.3s ease-out forwards}
.welcome-scene-line em{color:#b69b77}
.welcome-scene-line.ws-second{font-style:italic;color:#786342;animation-delay:3.6s}
.welcome-scene-go{margin-top:1.8rem;min-width:220px;min-height:52px;font-size:1.05rem;border-radius:30px;opacity:0;animation:ws-rise .8s 3.9s ease-out forwards;box-shadow:0 8px 24px #43593d33}
.welcome-scene.still *, .welcome-scene.still{animation-duration:.01s!important;animation-delay:0s!important}
.welcome-scene.still .ws-ring{stroke-dashoffset:0}
@keyframes ws-in{from{opacity:0}to{opacity:1}}
@keyframes ws-out{to{opacity:0;transform:scale(1.04)}}
@keyframes ws-draw{to{stroke-dashoffset:0}}
@keyframes ws-draw-link{to{stroke-dashoffset:0}}
@keyframes ws-slide-left{from{transform:translateX(-34px)}to{transform:none}}
@keyframes ws-slide-right{from{transform:translateX(34px)}to{transform:none}}
@keyframes ws-flash{0%{opacity:.95;transform:scale(.2)}100%{opacity:0;transform:scale(9)}}
@keyframes ws-glow{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}40%{opacity:1}100%{opacity:.75;transform:translate(-50%,-50%) scale(1)}}
@keyframes ws-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes ws-letter{0%{opacity:0;transform:translateY(.5em) rotate(-8deg) scale(.6)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.welcome-scene .ws-ring{stroke-dashoffset:0}}
