.rpg-invite-open{overflow:hidden}
.rpg-guest-invite,.rpg-guest-invite *{box-sizing:border-box}
.rpg-guest-invite{position:fixed;z-index:999990;inset:0;display:grid;place-items:center;padding:20px;color:#443286;font-family:"Trebuchet MS",Arial,sans-serif;opacity:0;visibility:hidden;transition:opacity .24s ease,visibility .24s ease}
.rpg-guest-invite.is-visible{opacity:1;visibility:visible}
.rpg-guest-backdrop{position:absolute;inset:0;background:rgba(39,25,76,.55);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.rpg-guest-card{position:relative;width:min(570px,100%);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;padding:30px 32px 25px;border:1px solid rgba(225,214,249,.95);border-radius:34px;background:radial-gradient(circle at 93% 8%,rgba(255,214,94,.25) 0 8%,transparent 8.5%),linear-gradient(145deg,#fffdf8 0%,#fff 45%,#effbf7 100%);box-shadow:0 34px 90px rgba(43,27,85,.35);transform:translateY(24px) scale(.97);transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.rpg-guest-invite.is-visible .rpg-guest-card{transform:none}
.rpg-guest-card:before,.rpg-guest-card:after{content:"";position:absolute;pointer-events:none;border-radius:50%}
.rpg-guest-card:before{right:-40px;bottom:-50px;width:160px;height:160px;border:28px solid rgba(126,85,220,.07)}
.rpg-guest-card:after{left:-28px;top:116px;width:74px;height:74px;background:rgba(66,194,160,.07)}
.rpg-guest-close{position:absolute;z-index:3;right:15px;top:14px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:#f0eafa;color:#6749c2;font:400 29px/1 Arial,sans-serif;cursor:pointer;transition:transform .18s ease,background .18s ease}
.rpg-guest-close:hover{transform:rotate(7deg);background:#e7ddfa}
.rpg-guest-top{position:relative;z-index:1;display:grid;grid-template-columns:92px minmax(0,1fr);gap:18px;align-items:center;padding-right:26px}
.rpg-guest-mascot{width:92px;height:92px;display:grid;place-items:center;border-radius:29px;background:linear-gradient(145deg,#eee7ff,#fff7d8);box-shadow:0 12px 28px rgba(97,65,171,.16);overflow:hidden}
.rpg-guest-mascot img{display:block;width:88px;height:88px;object-fit:contain}
.rpg-guest-mascot i{width:38px;height:46px;border:5px solid #7657df;border-radius:50% 50% 46% 54%;transform:rotate(35deg)}
.rpg-guest-kicker{display:block;margin-bottom:6px;color:#198d79;font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.rpg-guest-top h2{margin:0;color:#4b3296;font-size:clamp(24px,4.6vw,34px);line-height:1.08;letter-spacing:-.025em}
.rpg-guest-promises{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin:21px 0 15px}
.rpg-guest-promises span{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #e7def7;border-radius:999px;background:rgba(255,255,255,.88);color:#5b478c;font-size:12px;font-weight:900}
.rpg-guest-promises i{position:relative;width:18px;height:18px;border-radius:50%;background:#48bd9f}
.rpg-guest-promises i:after{content:"";position:absolute;left:5px;top:4px;width:7px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}
.rpg-guest-lead{position:relative;z-index:1;margin:0;color:#655a7b;font-size:15px;font-weight:700;line-height:1.58}
.rpg-guest-support{position:relative;z-index:1;margin:17px 0 0;padding:17px 18px;border:1px solid #ffe0a9;border-radius:21px;background:linear-gradient(135deg,#fff8dc,#fffdf5)}
.rpg-guest-support b{display:block;margin-bottom:5px;color:#9b671b;font-size:15px}
.rpg-guest-support p{margin:0;color:#75634b;font-size:13px;line-height:1.52}
.rpg-guest-extra{position:relative;z-index:1;margin:13px 0 0;color:#786d8d;font-size:12px;line-height:1.45}
.rpg-guest-actions{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:19px}
.rpg-guest-register,.rpg-guest-continue{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:15px;padding:10px 13px;text-align:center;font:900 12px/1.25 "Trebuchet MS",Arial,sans-serif;text-decoration:none;cursor:pointer}
.rpg-guest-register{border:0;background:linear-gradient(135deg,#7f5fe3,#6846cf);color:#fff;box-shadow:0 9px 20px rgba(105,73,205,.27)}
.rpg-guest-register:hover{background:linear-gradient(135deg,#7554db,#5d3bc2);color:#fff}
.rpg-guest-continue{border:1px solid #e5dcf5;background:#fff;color:#64557f}
.rpg-guest-login{position:relative;z-index:1;display:block;width:max-content;max-width:100%;margin:13px auto 0;color:#6848c3;font-size:12px;font-weight:800;text-align:center;text-decoration:underline;text-underline-offset:3px}
.rpg-guest-invite a:focus-visible,.rpg-guest-invite button:focus-visible{outline:3px solid #ffad54;outline-offset:3px}
@media(max-width:590px){.rpg-guest-invite{padding:10px}.rpg-guest-card{max-height:calc(100dvh - 20px);padding:23px 18px 19px;border-radius:27px}.rpg-guest-top{grid-template-columns:66px minmax(0,1fr);gap:12px;padding-right:22px}.rpg-guest-mascot{width:66px;height:66px;border-radius:21px}.rpg-guest-mascot img{width:64px;height:64px}.rpg-guest-kicker{font-size:9px}.rpg-guest-top h2{font-size:24px}.rpg-guest-close{right:10px;top:10px;width:35px;height:35px}.rpg-guest-promises{margin:16px 0 12px;gap:6px}.rpg-guest-promises span{padding:7px 9px;font-size:10px}.rpg-guest-lead{font-size:13px}.rpg-guest-support{margin-top:13px;padding:14px}.rpg-guest-support b{font-size:13px}.rpg-guest-support p{font-size:11px}.rpg-guest-extra{font-size:11px}.rpg-guest-actions{grid-template-columns:1fr;margin-top:15px}.rpg-guest-register,.rpg-guest-continue{min-height:44px}.rpg-guest-login{font-size:11px}}
@media(max-height:650px){.rpg-guest-card{padding-top:20px;padding-bottom:17px}.rpg-guest-top{grid-template-columns:58px minmax(0,1fr)}.rpg-guest-mascot{width:58px;height:58px;border-radius:18px}.rpg-guest-mascot img{width:56px;height:56px}.rpg-guest-promises{margin-top:12px}.rpg-guest-support{padding:12px 14px}.rpg-guest-actions{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.rpg-guest-invite,.rpg-guest-card{transition:none}}
