/* A persistent animated visual-novel scene. */
.portrait-live{background-image:url(clients-cartoon.png);background-size:500% 300%;width:155px;height:155px;max-width:100%;transition:transform .3s}.client-card:hover .portrait-live{transform:scale(1.06)}.live-meeting{max-width:1120px;margin:auto}.session-head{max-width:1120px;margin:24px auto 18px}.session-head h1{margin:7px 0;font-size:26px}.session-head .eyebrow{font-size:10px}.live-stage{height:430px;position:relative;isolation:isolate;overflow:hidden;border-radius:28px 28px 0 0;border:1px solid #526088;border-bottom:0;background:radial-gradient(ellipse at 28% 45%,#45466c,#242640 44%,#121b32 90%);scroll-margin-top:10px;perspective:900px}.office-window{position:absolute;left:4%;top:44px;width:43%;height:290px;border:8px solid #2c3654;background:linear-gradient(#222c5c,#63618a 70%,#9b8c9b);box-shadow:0 0 80px #867cd020;overflow:hidden}.office-window:before,.office-window:after{content:'';position:absolute;z-index:3;background:#313c59}.office-window:before{width:7px;height:100%;left:50%}.office-window:after{height:7px;width:100%;top:65%}.city{position:absolute;bottom:0;width:100%;height:65%;background:repeating-linear-gradient(90deg,#202e4e 0 26px,transparent 26px 35px);clip-path:polygon(0 45%,8% 45%,8% 10%,20% 10%,20% 45%,30% 45%,30% 25%,40% 25%,40% 55%,48% 55%,48% 0,60% 0,60% 30%,70% 30%,70% 50%,80% 50%,80% 20%,95% 20%,95% 45%,100% 45%,100% 100%,0 100%)}.city-two{height:44%;opacity:.7;transform:scaleX(-1);background:#17233e}.window-shine{position:absolute;inset:-50%;background:linear-gradient(115deg,transparent 42%,#d3dfff15 50%,transparent 58%);animation:windowLight 14s ease-in-out infinite}.office-sign{position:absolute;right:7%;top:55px;color:#acb5dc;letter-spacing:4px;font-size:20px;font-weight:bold;opacity:.6}.office-sign b{color:#7bd4ee}.office-sign small{display:block;font-size:7px;letter-spacing:2px;margin-top:10px}.stage-hud{position:absolute;top:14px;left:22px;right:22px;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1px;color:#cfdbf1;z-index:10}.stage-hud button{margin-left:auto;font-size:10px;padding:6px 10px;border-color:#66739370;background:#15203890;font-weight:normal}.live-dot{width:6px;height:6px;border-radius:50%;background:#61c9da;box-shadow:0 0 9px #5fcede;animation:livePulse 2s infinite}.actor{position:absolute;bottom:47px;left:5%;width:350px;height:350px;z-index:4;transform-origin:50% 95%;animation:actorIdle 6s ease-in-out infinite;transition:filter .5s}.actor-frame{position:absolute;inset:0;background-image:url(clients-cartoon.png);background-size:500% 300%;opacity:0;transition:opacity .45s;filter:drop-shadow(4px 8px 12px #06091a80)}.actor-frame.active{opacity:1}.actor-shadow{position:absolute;width:75%;height:25px;bottom:-5px;left:15%;background:#050c25;filter:blur(14px);border-radius:50%}.speaking .actor{animation:actorTalk 1.6s ease-in-out infinite}.react-positive .actor{animation:actorNod .8s ease-in-out 1,actorIdle 5s .8s ease-in-out infinite}.react-negative .actor{animation:actorWithdraw .7s ease-out 1,actorIdle 6s .7s ease-in-out infinite}.speaking.react-positive .actor{animation:actorTalk 1.6s ease-in-out infinite}.speaking.react-negative .actor{animation:actorDisagree 1.4s ease-in-out 1,actorIdle 6s ease-in-out infinite}.voice-bars{display:flex;gap:3px;position:absolute;right:22%;top:19%;opacity:0;transition:.3s;padding:7px;background:#09182fba;border-radius:10px}.speaking .voice-bars{opacity:1}.voice-bars i{display:block;width:3px;height:14px;background:#8ee6ff;border-radius:3px;animation:voice .5s alternate infinite}.voice-bars i:nth-child(2){animation-delay:-.3s}.voice-bars i:nth-child(3){animation-delay:-.1s}.voice-bars i:nth-child(4){animation-delay:-.4s}.stage-table{position:absolute;bottom:0;left:-2%;width:104%;height:80px;z-index:5;background:linear-gradient(#6a6b83 0,#3b435d 4%,#2d344e 70%);border-top:2px solid #a2a6c066;transform:perspective(600px) rotateX(12deg);box-shadow:0 -5px 25px #11172c44}.coffee{position:absolute;left:13%;top:8px;width:32px;height:33px;border-radius:3px 3px 13px 13px;background:linear-gradient(90deg,#a4b3d0,#e2e4ed);box-shadow:5px 7px 6px #10172d77}.coffee:after{content:'';position:absolute;right:-9px;top:6px;width:13px;height:16px;border:3px solid #aab7d0;border-radius:50%;z-index:-1}.coffee i:before,.coffee i:after{content:'';position:absolute;left:12px;top:-26px;width:8px;height:25px;border-left:2px solid #d4e4f855;border-radius:50%;animation:steam 3s infinite}.coffee i:after{left:20px;animation-delay:-1.6s}.notebook{position:absolute;right:19%;width:88px;height:45px;top:5px;transform:rotate(-12deg) skewX(-8deg);background:#172139;border:1px solid #7d82a2;border-radius:4px;box-shadow:5px 7px 0 #141c30}.office-plant{position:absolute;right:1%;bottom:67px;width:75px;height:180px;z-index:2;opacity:.7}.office-plant b{position:absolute;bottom:0;left:20px;width:42px;height:60px;background:linear-gradient(90deg,#4b5271,#252f4d);border-radius:0 0 10px 10px}.office-plant i{position:absolute;width:35px;height:110px;background:linear-gradient(90deg,#214354,#4a766c);border-radius:100% 0 100% 0;transform:rotate(-15deg);bottom:35px;left:12px;transform-origin:bottom;animation:plantSway 9s ease-in-out infinite}.office-plant i:nth-child(2){transform:rotate(30deg);left:30px;height:135px;animation-delay:-3s}.office-plant i:nth-child(3){transform:rotate(-45deg);height:90px;animation-delay:-6s}.live-bubble{position:absolute;left:41%;right:6%;top:120px;z-index:8;min-height:125px;background:linear-gradient(140deg,#edf3ff,#d6e4f7);color:#172c46;border:1px solid #bcd4f1;border-radius:22px 22px 22px 3px;padding:21px 24px;box-shadow:0 12px 35px #060d2855;transition:transform .3s,box-shadow .3s}.live-bubble:before{content:'';position:absolute;left:-14px;bottom:22px;border-top:15px solid transparent;border-right:15px solid #dfeaf9}.bubble-name{display:flex;justify-content:space-between;gap:15px;font-size:12px;align-items:center}.bubble-name span{font-size:10px;color:#4b6483}.live-bubble p{font-size:20px;font-weight:500;line-height:1.5;margin:12px 0 0;min-height:60px}.skip-line{font-size:10px;padding:4px 0;background:none;color:#466586;border:none;font-weight:normal;margin-top:7px}.player-bubble{position:absolute;z-index:9;right:6%;bottom:90px;max-width:47%;padding:13px 18px;background:#244a73ef;border:1px solid #7cbee6;border-radius:14px 14px 3px 14px;color:#e0f0ff;font-size:12px;line-height:1.5;animation:playerEntry .35s both;box-shadow:0 6px 20px #0003}.player-bubble small{display:block;font-size:9px;color:#83cefa;margin-bottom:5px}.player-speaking .live-bubble{opacity:.45;transform:scale(.97)}.player-speaking .actor{filter:brightness(.9)}.live-stage:not(.player-speaking) .player-bubble{opacity:.35;transform:scale(.96);transition:opacity .4s,transform .4s}.stage-trust{position:absolute;z-index:10;bottom:12px;left:24px;width:28%;max-width:280px}.stage-trust>span{font-size:10px;display:flex;justify-content:space-between;letter-spacing:.5px;color:#e1ebff}.stage-trust .trust-track{margin:7px 0;height:4px;background:#131d35}.stage-trust .trust-track i{transition:width 1s cubic-bezier(.2,.8,.2,1)}.reaction-label{position:absolute;left:8%;top:49px;z-index:11;font-size:11px;background:#173a45;color:#a2efdf;border:1px solid #75cfbc70;padding:8px 12px;border-radius:30px;opacity:0}.reaction-label.visible:not(:empty){animation:reactionPop .65s both}.react-negative .reaction-label{background:#43334e;color:#efbed1;border-color:#b790b9}.live-controls{position:relative;z-index:12;background:linear-gradient(130deg,#17223d,#191b33);border:1px solid #526088;border-top:1px solid #657493;border-radius:0 0 24px 24px;padding:22px 26px;box-shadow:0 15px 50px #04081744}.live-controls .turn-meta{align-items:center;margin-bottom:16px;color:#d1ddf1}.step-dots{display:flex;gap:7px}.step-dots i{width:18px;height:4px;background:#3e4d6b;border-radius:3px}.step-dots .done{background:#68c9d9}.step-dots .current{background:#9f87ed;box-shadow:0 0 9px #a184ed66}.live-options{grid-template-columns:repeat(3,1fr);gap:12px}.live-options button{position:relative;display:block;background:linear-gradient(140deg,#263857,#1c2a47);font-size:14px;line-height:1.55;padding:16px;padding-top:45px;border:1px solid #52678a;min-height:140px;animation:optionEntry .35s var(--delay) both;transition:transform .2s,border-color .2s,box-shadow .2s}.live-options button>span{position:absolute;top:12px;left:15px;height:22px;width:22px;font-size:11px;line-height:22px;border:1px solid #6889ac;background:#344b6b}.live-options button:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 8px 24px #369eee25;border-color:#96d2ff}.live-options:has(button:disabled){display:none}.live-feedback{margin:0;border:0;padding:0;animation:optionEntry .4s both;display:flex;align-items:center;gap:20px;justify-content:space-between}.live-feedback .learning{margin:0;max-width:75%;font-size:13px;background:#20324b}.live-feedback button{flex-shrink:0;font-size:13px}.support-row{display:flex;gap:30px;align-items:flex-start;margin-top:15px}.support-row details{margin:0;padding:0;border:0;flex:1;font-size:12px}.support-row details p{line-height:1.6}.result-panel{animation:optionEntry .5s both}.score-orb{animation:resultGlow 2s ease-in-out 2}
@keyframes actorIdle{0%,100%{transform:translateY(0) rotate(-.3deg)}50%{transform:translateY(-4px) rotate(.3deg)}}@keyframes actorTalk{0%,100%{transform:translateY(0) rotate(-.5deg)}40%{transform:translateY(-3px) rotate(.6deg)}70%{transform:translateY(1px) rotate(0)}}@keyframes actorNod{30%{transform:translateY(7px) scale(1.02)}60%{transform:translateY(-3px)}}@keyframes actorWithdraw{30%{transform:translateY(4px) scale(.97)}100%{transform:none}}@keyframes actorDisagree{25%{transform:rotate(-1.5deg) translateX(-4px)}65%{transform:rotate(1deg) translateX(3px)}}@keyframes voice{to{transform:scaleY(.25)}}@keyframes playerEntry{from{transform:translateY(15px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes optionEntry{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes reactionPop{0%{opacity:0;transform:translateY(8px) scale(.9)}70%{transform:translateY(-2px) scale(1.04)}100%{opacity:1;transform:none}}@keyframes steam{0%{opacity:0;translate:0 5px}40%{opacity:.6}100%{opacity:0;translate:4px -15px}}@keyframes plantSway{50%{rotate:3deg}}@keyframes windowLight{50%{translate:10% 0}}@keyframes livePulse{50%{opacity:.4}}@keyframes resultGlow{50%{box-shadow:0 0 60px #7599ff55}}
@media(max-width:850px){.live-stage{height:370px}.actor{width:290px;height:290px;left:0;bottom:45px}.live-bubble{left:40%;right:4%;top:100px;padding:18px;min-height:130px}.live-bubble p{font-size:17px}.office-window{height:250px}.office-sign{font-size:16px;right:5%}.player-bubble{font-size:11px;bottom:70px}.live-options button{font-size:13px}.live-feedback{display:block}.live-feedback .learning{max-width:100%;margin-bottom:14px}.live-feedback button{width:100%}.stage-trust{width:30%}}
@media(max-width:600px){.session-head{margin:18px 0 14px}.session-head h1{font-size:22px}.session-head h1 span{font-size:11px}.session-head .eyebrow{font-size:9px;letter-spacing:1px}.live-stage{height:355px;border-radius:20px 20px 0 0}.stage-hud{top:10px;left:12px;right:12px;font-size:8px;letter-spacing:0}.stage-hud button{font-size:9px;padding:5px 7px}.actor{left:-10px;bottom:45px;width:205px;height:205px}.office-window{top:45px;left:4%;width:62%;height:220px;border-width:5px}.office-sign{top:52px;font-size:12px;right:5%;letter-spacing:2px}.office-sign small{font-size:5px;letter-spacing:1px}.live-bubble{left:35%;right:3%;top:93px;padding:13px;border-radius:15px 15px 15px 2px;min-height:110px;max-height:190px;overflow:auto}.bubble-name{font-size:11px;display:block}.bubble-name span{font-size:8px;display:block;margin-top:4px}.live-bubble p{font-size:14px;line-height:1.5;min-height:42px;margin-top:8px}.live-bubble:before{display:none}.office-plant{display:none}.stage-table{height:55px}.coffee{left:9%;scale:.7;top:-2px}.notebook{scale:.6;right:10%;top:-2px}.stage-trust{left:14px;width:43%;bottom:6px}.stage-trust>span{font-size:9px}.stage-trust .trust-track{height:3px}.player-bubble{left:10px;right:10px;max-width:none;bottom:65px;font-size:12px;padding:12px 14px}.player-speaking .live-bubble{opacity:.15}.live-stage:not(.player-speaking) .player-bubble{display:none}.reaction-label{top:51px;left:10px;font-size:9px;padding:6px 9px;max-width:54%}.voice-bars{right:27%;top:18%;scale:.8}.live-controls{padding:18px 14px;border-radius:0 0 20px 20px}.live-controls .turn-meta{font-size:11px;gap:10px}.step-dots{gap:4px}.step-dots i{width:12px;height:4px}.live-options{grid-template-columns:1fr;gap:9px}.live-options button{min-height:0;display:flex;align-items:flex-start;padding:13px;font-size:13px;line-height:1.5;gap:11px}.live-options button>span{position:static;flex-shrink:0}.support-row{gap:14px}.support-row summary{font-size:11px}.live-feedback .learning{font-size:12px;padding:12px}.portrait-live{width:140px;height:140px}.live-feedback button{padding:12px}.skip-line{font-size:9px}.live-stage:has(.live-bubble p:empty) .live-bubble:after{content:'•••';letter-spacing:5px;color:#6989ac}.live-dot{width:5px;height:5px}}
@media(prefers-reduced-motion:reduce){.live-stage *,.live-controls *,.result-panel,.score-orb{animation:none!important;transition:none!important}.reaction-label.visible{opacity:1}.actor{transform:none!important}}
.actor-frame[data-pose="warm"],.actor-frame[data-pose="guarded"]{clip-path:inset(8% 1% 0 1%)}.actor-frame[data-pose="neutral"]{clip-path:inset(0 1% 0 1%)}.live-stage:not(.player-speaking) .player-bubble{animation:none}
.portrait-live{clip-path:inset(0 6% 0 6%)}.actor-frame[data-pose="neutral"]{clip-path:inset(0 6% 0 6%)}.actor-frame[data-pose="warm"],.actor-frame[data-pose="guarded"]{clip-path:inset(8% 6% 0 6%)}
@media(max-width:600px){.actor{width:175px;height:175px;left:-8px;bottom:55px}.live-bubble{left:43%;top:85px;max-height:210px}.live-bubble p{font-size:13px}.voice-bars{right:25%;top:15%}}

/* Keep neighbouring atlas rows outside each character cutout. */
.actor-frame[data-pose="warm"]{clip-path:inset(9% 6% 0 6%)}
.actor-frame[data-pose="guarded"]{clip-path:inset(11% 6% 0 6%)}

/* Selection portraits express each client’s distinct motivation. */
.clients .portrait-live{background-image:url(client-personalities.png);background-size:500% 100%;width:min(100%,155px);height:auto;aspect-ratio:3/5;clip-path:inset(0 3%);margin-bottom:18px}
@media(max-width:600px){.clients .portrait-live{width:min(100%,140px)}}
.client-card[data-client="2"] .portrait-live{clip-path:inset(0 11% 0 3%)}
.client-card[data-client="3"] .portrait-live{clip-path:inset(0 7% 0 3%)}
/* Individual portraits keep Anna and Irina distinct in stance and gaze. */
.client-card[data-client="0"] .portrait-live{background-image:url(anna-card.png);background-size:100% 100%;background-position:center!important;clip-path:none}
.client-card[data-client="2"] .portrait-live{background-image:url(irina-card.png);background-size:100% 100%;background-position:center!important;clip-path:none}
.client-card[data-client="2"] .portrait-live{background-size:120% auto;background-position:center top!important}
