/* An intentionally playful invitation after the business diagnosis. */
body[data-view=result] .diagnosis-game{position:relative;isolation:isolate;background:radial-gradient(ellipse at 94% 12%,#ffe0a5 0,transparent 52%),linear-gradient(135deg,#fff5c9,#f8e6b9 53%,#e4edcb);border:2px solid #d1d6ac;border-radius:28px;padding:28px 30px 20px;box-shadow:0 7px 0 #c2caa3,0 20px 35px #516c4310;overflow:hidden;color:#294d40}
.game-invite-hero{display:grid;grid-template-columns:1.12fr 1fr;gap:12px;align-items:center}.game-invite-copy{position:relative;z-index:2;min-width:0}.game-invite-label{display:inline-block;padding:7px 11px;border:1px solid #fff8;background:#fff9e3;border-radius:20px;color:#68723d;font:700 10px/1.5 Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;transform:rotate(-2deg);box-shadow:0 3px 0 #e6d6a5}
body[data-view=result] .diagnosis-game h2{font:800 clamp(36px,4.5vw,54px)/1.03 'Segoe UI',sans-serif;letter-spacing:-.04em;color:#2c6652;margin:21px 0 17px;text-shadow:0 3px 0 #ffffdf}body[data-view=result] .diagnosis-game h2 span{color:#c76a3c}
body[data-view=result] .diagnosis-game .game-invite-hook{font-size:17px;font-weight:700;line-height:1.5;color:#304c3e;margin:0 0 12px}body[data-view=result] .game-invite-copy>p:last-child{font-size:12px;line-height:1.8;color:#59624c;margin-bottom:0}
.game-invite-scene{height:320px;position:relative;min-width:0}.game-invite-scene:before{content:'';position:absolute;inset:38px -10px 12px;background:#fff9dc99;border:2px solid #fff9;border-radius:50% 50% 40% 40%;transform:rotate(8deg)}.game-invite-scene:after{content:'';position:absolute;bottom:27px;left:0;right:-10px;height:32px;background:#6d87562b;border-radius:50%;filter:blur(4px);z-index:-1}
.invite-character{position:absolute;background-image:url('assets/game-characters.webp');background-size:400% 300%;background-repeat:no-repeat;clip-path:inset(3% 0 3%);filter:drop-shadow(0 7px 3px #654a3225)}.invite-shop{width:215px;height:215px;left:0;bottom:27px;background-position:0 100%;transform:rotate(-4deg)}.invite-admin{width:96px;height:96px;right:1px;top:37px;background-position:33.333333% 0;transform:rotate(7deg)}.invite-owner{width:150px;height:150px;right:-16px;bottom:24px;background-position:0 50%;animation:invite-bob 4s ease-in-out infinite}
.invite-bubble{position:absolute;right:0;top:0;z-index:2;padding:10px 14px;background:#fffdf1;border:2px solid #d9d6ae;border-radius:18px 18px 5px 18px;box-shadow:0 4px 0 #cbbd9133;font-size:11px;font-weight:700;transform:rotate(4deg)}.invite-scene-label{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:11px;color:#6a744b;font-weight:600}
.invite-spark{position:absolute;font-size:32px;color:#d7a52e;z-index:2}.spark-one{left:5px;top:22px;animation:invite-twinkle 3s ease-in-out infinite}.spark-two{right:-6px;top:152px;font-size:26px}.invite-coin{position:absolute;display:grid;place-items:center;width:35px;height:35px;border:3px solid #d99b25;border-radius:50%;background:#ffdd6c;color:#b77e19;box-shadow:inset 0 0 0 2px #fff2a6,0 4px 0 #b88429;z-index:2;font-size:21px;line-height:1}.coin-one{left:4px;bottom:55px;transform:rotate(-15deg)}.coin-two{right:6px;bottom:163px;width:27px;height:27px;font-size:15px;transform:rotate(17deg)}
.game-invite-chips{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 21px}.game-invite-chips>span{padding:8px 12px;background:#fffdf19c;border:1px solid #fff9;border-radius:12px;font-size:11px;font-weight:600;color:#566243}
.game-invite-start{display:flex;align-items:center;gap:20px;flex-wrap:wrap}body[data-view=result] .diagnosis-game #launch{background:#2f765c;border:2px solid #26654d;border-radius:15px;color:#fff9de;box-shadow:0 5px 0 #204e3c, inset 0 2px 0 #ffffff30;padding:17px 19px;display:flex;gap:12px;align-items:center;font-size:15px;font-weight:700;line-height:1.5;min-height:58px;transition:transform .16s,box-shadow .16s}body[data-view=result] .diagnosis-game #launch:hover{background:#388765;transform:translateY(-2px);box-shadow:0 7px 0 #204e3c,inset 0 2px 0 #ffffff30}body[data-view=result] .diagnosis-game #launch:active{transform:translateY(3px);box-shadow:0 2px 0 #204e3c}body[data-view=result] .game-invite-start>p{font-size:11px;line-height:1.8;color:#5d654b;margin:0}
body[data-view=result] .diagnosis-game .diagnosis-details{border-color:#b8bb9360;margin:26px 0 0;padding:16px 0 12px;font-size:11px}body[data-view=result] .diagnosis-game>.foot{color:#69724f;font-size:10px;margin:13px 0 0;line-height:1.7}
@keyframes invite-bob{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-6px) rotate(-1deg)}}@keyframes invite-twinkle{0%,100%{transform:scale(1) rotate(0deg)}50%{transform:scale(1.15) rotate(14deg)}}
@media(max-width:700px){body[data-view=result] .diagnosis-game{padding:25px 19px 19px;margin-inline:-7px}.game-invite-hero{grid-template-columns:1fr;gap:10px}.game-invite-scene{height:240px;width:260px;max-width:100%;margin:0 auto}.invite-shop{width:190px;height:190px;bottom:19px}.invite-owner{width:125px;height:125px;right:-4px;bottom:16px}.invite-admin{width:80px;height:80px;top:23px}.invite-bubble{top:-7px;font-size:10px;padding:8px 10px}.spark-one{top:0}.coin-two{bottom:125px}.invite-scene-label{font-size:10px}.game-invite-chips{gap:6px;margin:20px 0}.game-invite-chips>span{font-size:10px;padding:7px 9px}.game-invite-start{gap:14px}.game-invite-start>p{width:100%;text-align:center}body[data-view=result] .diagnosis-game #launch{width:100%;justify-content:center;font-size:13px;padding:15px 10px}body[data-view=result] .diagnosis-game h2{font-size:43px;line-height:1.06}body[data-view=result] .diagnosis-game .game-invite-hook{font-size:16px}.game-invite-copy>p{max-width:450px}}
@media(prefers-reduced-motion:reduce){.invite-owner,.spark-one{animation:none}body[data-view=result] .diagnosis-game #launch{transition:none}}
