.main-menu-actions #unlock-pro,.pro-purchase{position:relative;isolation:isolate;overflow:visible;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #ffffffad;background:linear-gradient(115deg,#b7ece8 0%,#d6d8fa 26%,#f6dcea 51%,#f7edce 73%,#bceee8 100%);color:#243044;box-shadow:inset 0 1px 2px #fff,0 3px 20px #c8b4ef33;font-weight:750;letter-spacing:0;text-shadow:0 1px #ffffff70;transition:filter .2s,box-shadow .2s}
.main-menu-actions #unlock-pro{justify-self:center;min-height:43px;width:230px;max-width:85%;margin-top:5px;font-size:13px;padding:10px 22px}
#unlock-pro svg,.pro-purchase svg{width:21px;height:21px;flex:none}
.main-menu-actions #unlock-pro:hover,.pro-purchase:hover{background:linear-gradient(115deg,#d1fffa,#e7ddff 30%,#ffe4ee 55%,#fff3cf 78%,#d5fff8);box-shadow:inset 0 1px 2px #fff,0 4px 26px #d6b8ff55;transform:none}
.pro-spark{position:absolute;right:17px;top:-8px;width:24px;height:24px;background:radial-gradient(ellipse,#fff 0%,#fff9 18%,transparent 62%);pointer-events:none;filter:drop-shadow(0 0 4px #e7fbff);animation:pro-glint 4s ease-in-out infinite}
.pro-spark:before,.pro-spark:after{content:'';position:absolute;background:linear-gradient(transparent,#fff,transparent);left:11px;top:0;width:2px;height:24px;border-radius:50%}.pro-spark:after{transform:rotate(90deg)}
@keyframes pro-glint{0%,100%{opacity:.45;transform:scale(.8) rotate(0)}50%{opacity:1;transform:scale(1.1) rotate(12deg)}}
#pro-panel{position:relative;width:min(440px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:30px 32px 25px;text-align:center;border:1px solid #e4dbff88;border-radius:26px;background:radial-gradient(ellipse at 0 0,#9be8dc25,transparent 55%),radial-gradient(ellipse at 100% 10%,#e0b6fa28,transparent 60%),linear-gradient(145deg,#243044c9,#131c2bd9);box-shadow:inset 0 1px #fff3,0 18px 70px #0005,0 0 35px #c9d2ff12;backdrop-filter:blur(24px);animation:pro-appear .35s ease both;color:#eef4ff}
#pro-panel[hidden]{display:none}#pro-panel h2{font-size:42px;font-weight:750;letter-spacing:0;margin:8px 0;color:#f2eafa}#pro-panel .pro-intro{margin:0 0 23px;color:#c2cddd;font-size:14px;line-height:1.5}
.pro-emblem{display:grid;place-items:center;width:68px;height:68px;margin:4px auto 12px;border-radius:21px;border:1px solid #fff6;background:linear-gradient(130deg,#b7e5eacc,#e3c8f4cc,#f5e6c6cc);box-shadow:inset 0 1px #fff8,0 5px 25px #bcb6fa22;color:#38415d;transform:rotate(-5deg)}.pro-emblem svg{width:36px;height:36px;transform:rotate(5deg)}
#pro-back{position:absolute;top:18px;left:18px;width:32px;height:32px;display:grid;place-items:center;background:#ffffff08;border:1px solid #ffffff25;border-radius:50%;color:#d8e2ee}#pro-back:hover{background:#ffffff18}#pro-back svg{width:18px;height:18px}
.pro-benefits{list-style:none;display:grid;gap:0;text-align:left;padding:0;margin:0 0 22px}.pro-benefits li{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #ffffff10;font-size:15px}.pro-benefits li:last-child{border:0}.pro-benefits svg{width:23px;height:23px;flex:none;color:#d8d5fc}.pro-benefits small{display:block;font-size:11px;color:#b3b9cc;margin-top:4px}
#pro-panel .pro-support{font-size:12px;line-height:1.65;color:#bdc9d8;margin:0 0 23px}.pro-purchase{border-radius:999px;padding:14px 18px;min-height:50px;width:100%;font-size:15px;cursor:pointer}.pro-purchase:disabled{opacity:.65;cursor:default;transform:none}.pro-footnote{font-size:11px;color:#b7c5d5;line-height:1.6;margin:12px 0 0}.pro-footnote a{color:inherit;text-underline-offset:3px}#pro-login-note{font-size:11px;color:#b7c5d5;margin:8px 0 0}#pro-status{font-size:12px;line-height:1.5;color:#e6dcfb;margin:12px 0 0}#pro-status:empty{display:none}
#pro-panel button:focus-visible{outline:2px solid #e7dbff;outline-offset:4px}body:has(#pro-panel:not([hidden])) #player-account{display:none}
@keyframes pro-appear{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:420px){#pro-panel{padding:26px 23px 22px}.pro-benefits li{font-size:14px}}@media(prefers-reduced-motion:reduce){#pro-panel,.pro-spark{animation:none}.pro-purchase,.main-menu-actions #unlock-pro{transition:none}}

#pro-checkout svg[hidden]{display:none}
#pro-dialog{padding:0;border:0;background:transparent;color:inherit;width:min(440px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:visible}
#pro-dialog::backdrop{background:#070e185c;backdrop-filter:blur(4px)}
#pro-dialog #pro-panel{width:100%;max-height:calc(100dvh - 32px);box-sizing:border-box}

#free-mode{position:relative;overflow:hidden}.free-pro-hover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;opacity:0;pointer-events:none;font-size:13px;transition:opacity .18s ease;background:linear-gradient(115deg,#b7ece8 0%,#d6d8fa 26%,#f6dcea 51%,#f7edce 73%,#bceee8 100%);backdrop-filter:blur(4px);color:#243044;font-weight:750;text-shadow:0 1px #ffffff70}.free-pro-hover svg{width:18px;height:18px;flex:none}:is(#free-mode,#versus-button).pro-locked:is(:hover,:focus-visible) .free-pro-hover{opacity:1}:is(#free-mode,#versus-button).pro-locked:is(:hover,:focus-visible)>:not(.free-pro-hover){opacity:0}:is(#free-mode,#versus-button).pro-locked:is(:hover,:focus-visible){border-color:#e7efff77;box-shadow:inset 0 1px 2px #ffffff55}
