/* Rocco has a point of view. Every performance ends, leaving room to act. */
.rocco-moment{--rm-teal:#287c73;position:relative;isolation:isolate;display:block;flex:none;width:min(240px,100%);aspect-ratio:1;margin:0 auto;pointer-events:none}
.rocco-moment-compact{width:136px}
.rm-orbit{position:absolute;inset:16% 10% 6%;border-radius:48% 52% 45% 55%;background:linear-gradient(145deg,#f5e5c7,#e3eee6);transform:rotate(-9deg);z-index:-1}
.rm-portrait{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 5px 7px #60534a0b)}
.rm-character{transform-origin:120px 232px}.rm-head{transform-origin:120px 100px}.rm-eyes{transform-origin:119px 73px}.rm-ear-left{transform-origin:76px 50px}.rm-ear-right{transform-origin:166px 50px}.rm-tail{transform-origin:158px 208px}.rm-paw-left{transform-origin:76px 151px}.rm-paw-right{transform-origin:162px 151px}
.rm-mark{position:absolute;top:12%;right:9%;display:grid;place-items:center;min-width:32px;height:32px;padding:0 6px;border:1px solid #fff7;border-radius:50%;background:#fffaf0;color:#425e50;font:700 21px/1 Georgia,serif;box-shadow:0 4px 14px #5b694514;transform:rotate(9deg)}
.rm-spark{position:absolute;color:#9c682c;font-size:20px;line-height:1;opacity:0}.rm-spark-a{top:12%;left:14%;transform:rotate(-12deg)}.rm-spark-b{top:52%;right:4%;font-size:29px}.rm-spark-c{bottom:20%;left:10%;font-size:15px}
.rm-mouth{display:none}.rm-smile{display:block}
[data-rocco-mood=think] .rm-smile,[data-rocco-mood=reveal] .rm-smile,[data-rocco-mood=help] .rm-smile{display:none}
[data-rocco-mood=think] .rm-flat,[data-rocco-mood=reveal] .rm-o,[data-rocco-mood=help] .rm-o{display:block}
[data-rocco-mood=think] .rm-head{transform:rotate(-7deg)}[data-rocco-mood=think] .rm-eyes{transform:scaleY(.73)}[data-rocco-mood=think] .rm-pupils{transform:translate(-3px,-2px)}[data-rocco-mood=think] .rm-paw-right{transform:rotate(125deg)}
[data-rocco-mood=help] .rm-head{transform:rotate(7deg)}[data-rocco-mood=help] .rm-pupils{transform:translate(3px,-1px)}
[data-rocco-mood=reveal] .rm-eyes{transform:scale(1.07)}[data-rocco-mood=reveal] .rm-ear-left{transform:rotate(-8deg)}[data-rocco-mood=reveal] .rm-ear-right{transform:rotate(8deg)}
[data-rocco-mood=agree] .rm-eyes,[data-rocco-mood=celebrate] .rm-eyes{transform:scaleY(.72)}[data-rocco-mood=celebrate] .rm-paw-left{transform:rotate(-125deg)}[data-rocco-mood=celebrate] .rm-paw-right{transform:rotate(125deg)}
.is-reacting .rm-character{animation:rm-hello 1.45s cubic-bezier(.2,.8,.25,1) both}
.is-reacting .rm-mark{animation:rm-pop .65s cubic-bezier(.2,.8,.25,1) both}
.is-reacting[data-rocco-mood=greet] .rm-paw-right{animation:rm-wave 1.45s ease-in-out both}
.is-reacting[data-rocco-mood=think] .rm-character,.is-reacting[data-rocco-mood=help] .rm-character{animation:rm-curious 1.4s ease-in-out both}
.is-reacting[data-rocco-mood=reveal] .rm-character{animation:rm-surprise 1.2s cubic-bezier(.2,.8,.25,1) both}
.is-reacting[data-rocco-mood=agree] .rm-head{animation:rm-nod 1.15s ease-in-out both}
.is-reacting[data-rocco-mood=celebrate] .rm-character{animation:rm-cheer 1.55s ease-in-out both}
.is-reacting[data-rocco-mood=celebrate] .rm-spark,.is-reacting[data-rocco-mood=agree] .rm-spark{animation:rm-sparkle 1.5s ease-out both}.is-reacting .rm-spark-b{animation-delay:.12s}.is-reacting .rm-spark-c{animation-delay:.22s}
.is-reacting .rm-tail{animation:rm-tail-wag 1.6s ease-in-out both}
@keyframes rm-hello{0%{transform:translateY(8px) scale(.96)}35%{transform:translateY(-6px) scale(1.025)}65%{transform:translateY(1px)}100%{transform:none}}
@keyframes rm-wave{0%{transform:rotate(0)}25%{transform:rotate(137deg)}38%{transform:rotate(108deg)}52%{transform:rotate(137deg)}65%{transform:rotate(108deg)}80%{transform:rotate(137deg)}100%{transform:rotate(0)}}
@keyframes rm-curious{0%,100%{transform:none}35%{transform:rotate(-4deg) translateY(-2px)}68%{transform:rotate(2deg)}}
@keyframes rm-surprise{0%,100%{transform:none}20%{transform:translateY(4px) scale(1.03,.97)}48%{transform:translateY(-9px) scale(.98,1.03)}75%{transform:translateY(1px)}}
@keyframes rm-nod{0%,100%{transform:none}28%{transform:translateY(5px) rotate(3deg)}58%{transform:translateY(-1px) rotate(-2deg)}78%{transform:translateY(2px)}}
@keyframes rm-cheer{0%,100%{transform:none}18%{transform:translateY(4px) scale(1.04,.95)}38%{transform:translateY(-15px) rotate(-4deg)}55%{transform:translateY(1px) scale(1.02,.98)}72%{transform:translateY(-7px) rotate(3deg)}88%{transform:translateY(1px)}}
@keyframes rm-pop{0%{transform:translateY(7px) scale(.4) rotate(-12deg);opacity:0}65%{transform:translateY(-2px) scale(1.1) rotate(13deg);opacity:1}100%{transform:rotate(9deg);opacity:1}}
@keyframes rm-sparkle{0%{opacity:0;transform:translateY(6px) scale(.5)}25%,65%{opacity:1}100%{opacity:0;transform:translateY(-16px) scale(1.1)}}
@keyframes rm-tail-wag{0%,100%{transform:rotate(0)}22%{transform:rotate(7deg)}42%{transform:rotate(-5deg)}62%{transform:rotate(6deg)}82%{transform:rotate(-3deg)}}
.rocco-demo-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:30px;border:1px solid #d9ded3;border-radius:28px;background:#fffdf7;color:#2f443a;box-shadow:0 30px 100px #21352c38;font-family:inherit}
.rocco-demo-dialog::backdrop{background:#1e322b77;backdrop-filter:blur(5px)}
.rm-demo-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#f0f0e7;color:#324b3d;font-family:inherit;font-size:26px;font-weight:400;line-height:1;cursor:pointer}
.rm-demo-stage{max-width:480px;margin:auto;color:#2f443a;overflow-wrap:anywhere}.rm-demo-stage *{box-sizing:border-box}
.rm-demo-eyebrow{margin:4px 36px 10px 0;font-size:.69rem;font-weight:750;letter-spacing:.12em;line-height:1.6;color:#59674f}
.rm-demo-stage .rocco-moment{float:right;width:118px;margin:-8px -3px 8px 12px}
.rm-demo-stage h2{margin:16px 0 12px;font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:clamp(1.8rem,5vw,2.4rem);line-height:1.08;letter-spacing:-.035em;color:#2f443a}
.rm-demo-stage h2:focus{outline:none}.rm-demo-copy{font-size:1rem;line-height:1.6;margin:0 0 20px}
.rm-demo-plan{clear:both;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:18px 0}
.rm-demo-plan p{margin:0;border:1px solid #dce3d8;border-radius:16px;padding:18px;background:#f1f5ed}.rm-demo-plan p:last-child{background:#fbefdb;border-color:#ead9ba}
.rm-demo-plan span,.rm-demo-chore span:not(.rm-demo-check),.rm-demo-reward>span{display:block;font-size:.64rem;font-weight:750;letter-spacing:.1em;line-height:1.5;margin-bottom:7px;color:#53644c}
.rm-demo-plan strong{display:block;font-size:1.05rem;line-height:1.3;margin-bottom:6px}.rm-demo-plan small{display:block;font-size:.83rem;line-height:1.5;color:#516052}
.rm-demo-whisper{font-size:.84rem;line-height:1.55;color:#536154;margin:15px 0}
.rm-demo-chore{clear:both;display:flex;align-items:flex-start;gap:14px;padding:20px;border:1px solid #ded9bb;border-radius:18px;background:#fff6de;margin:24px 0 16px}
.rm-demo-check{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #b8c5a9;border-radius:50%;font-size:24px;color:#637856}
.rm-demo-chore strong{display:block;font-size:1.1rem}.rm-demo-chore p{font-size:.88rem;line-height:1.5;margin:6px 0 0}
.rm-demo-win{clear:both;text-align:center;border:1px solid #c9dac4;border-radius:20px;background:#eaf2e4;padding:22px;margin:24px 0 12px}.rm-demo-win>span{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 10px;border-radius:50%;background:#3f6553;color:#fff;font-size:22px}.rm-demo-win strong{display:block;font-size:1.12rem}.rm-demo-win p{font-size:.86rem;margin:7px 0 14px}.rm-demo-win progress{appearance:none;border:0;width:100%;height:7px;border-radius:8px;overflow:hidden;background:#d3dfc8;color:#4c745b}.rm-demo-win progress::-webkit-progress-bar{background:#d3dfc8}.rm-demo-win progress::-webkit-progress-value{background:#4c745b}.rm-demo-win progress::-moz-progress-bar{background:#4c745b}
.rm-demo-reward{padding:16px 19px;border-radius:15px;background:#fcf0db}.rm-demo-reward strong{font-family:Georgia,'Times New Roman',serif;font-size:1.25rem;font-weight:500}
.journey-result{background:#edf2df;border:1px solid #cad5b9;border-radius:18px;padding:20px 22px;margin:20px 0}.journey-result .play-kicker{margin:0 0 9px;color:#4b6044}.journey-result h3{font-family:Georgia,'Times New Roman',serif;font-size:1.65rem;line-height:1.15;font-weight:500;letter-spacing:-.025em;margin:0 0 12px;color:#304b3b}.journey-result>p:not(.play-kicker){font-size:.95rem;line-height:1.6;margin:0 0 10px;color:#3c5141}.journey-result small{font-size:.78rem;line-height:1.5;color:#52634b;display:block}
.rm-demo-disclaimer{clear:both;margin:18px 0 15px;font-size:.73rem;line-height:1.5;color:#60695a}
.rm-demo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.rm-demo-primary,.rm-demo-back{min-height:48px;border-radius:14px;padding:12px 19px;font-family:inherit;font-size:.9rem;font-weight:650;line-height:1.4;cursor:pointer}.rm-demo-primary{border:1px solid #315540;background:#315540;color:#fffdf7;flex:1}.rm-demo-primary:hover{background:#264734}.rm-demo-back{border:1px solid transparent;background:transparent;color:#355442}.rm-demo-back:hover{background:#edf1e7}.rm-demo-primary:focus-visible,.rm-demo-back:focus-visible,.rm-demo-close:focus-visible{outline:3px solid #bd7a2d;outline-offset:3px}
body.reduce-motion .rocco-moment *,body.reduce-motion .rocco-moment,.rocco-moment.rm-quiet *{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.rocco-moment *,.rocco-moment{animation:none!important;transition:none!important}}
@media(max-width:420px){.rocco-demo-dialog{padding:22px 18px;border-radius:22px}.rm-demo-stage .rocco-moment{width:102px;margin-right:0}.rm-demo-plan{gap:8px}.rm-demo-plan p{padding:14px 12px}.rm-demo-primary{flex-basis:100%}.rm-demo-back{margin:auto}.rm-demo-chore{padding:17px 14px}}
