.moodle-connect{box-sizing:border-box;width:min(440px,calc(100vw - 32px));padding:42px 30px 32px;border:1px solid #d5ac6f66;border-radius:28px;background:radial-gradient(ellipse at 50% 0,#70526b44,transparent 70%),#171322;color:#f7f1e8;text-align:center;box-shadow:0 25px 100px #0008,0 0 65px #d5ac6f16;font-family:inherit;overflow:hidden}.moodle-connect::backdrop{background:#070610b8;backdrop-filter:blur(7px)}.moodle-connect[open]{animation:moodle-connect-in .25s ease-out}.moodle-connect-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#cbbfd2;font-size:28px;cursor:pointer;padding:4px 10px}.moodle-connect-label{font-size:10px;font-weight:700;letter-spacing:.18em;color:#e6bc7c}.moodle-connect h2{font-size:25px;line-height:1.25;margin:14px 0}.moodle-connect-status{font-size:15px;line-height:1.6;min-height:48px;color:#c6bccc;margin:0 0 22px}.moodle-connect-visual{position:relative;width:112px;height:112px;margin:0 auto 26px;display:grid;place-items:center}.moodle-connect-visual span{position:absolute;inset:8px;border:1px solid #e8bc7338;border-radius:50%;border-top:2px solid #f4d399;animation:moodle-connect-spin 2s linear infinite}.moodle-connect-visual span:nth-child(2){inset:20px;border-color:#ae8dcc44;border-right:2px solid #ccacf0;animation-direction:reverse;animation-duration:3s}.moodle-connect-visual b{font-size:43px;color:#f4cf8c;text-shadow:0 0 25px #e3ac62;animation:moodle-connect-pulse 2s ease-in-out infinite}.moodle-connect-visual i{position:absolute;left:5%;top:25%;width:4px;height:4px;border-radius:50%;background:#f4cf8c;box-shadow:0 0 10px #f4cf8c;animation:moodle-connect-pulse 1.8s infinite}.moodle-connect-visual i:nth-last-child(2){left:90%;top:60%;animation-delay:.6s}.moodle-connect-visual i:last-child{left:60%;top:4%;animation-delay:1.2s}.moodle-connect-track{height:3px;border-radius:6px;background:#d6b77822;overflow:hidden}.moodle-connect-track span{display:block;width:40%;height:100%;background:linear-gradient(90deg,transparent,#f6d99f,#bc90d8);animation:moodle-connect-progress 1.5s ease-in-out infinite}.moodle-connect-retry{margin-top:20px;padding:12px 20px;border-radius:13px;border:1px solid #e2b67a66;background:#5b4055;color:#fff0d3;font:inherit;cursor:pointer}.moodle-connect [hidden]{display:none}.moodle-connect[data-state=error] .moodle-connect-track{display:none}.moodle-connect[data-state=error] .moodle-connect-visual span{animation-play-state:paused;border-top-color:#e59d91}.moodle-connect[data-state=error] .moodle-connect-status{color:#edb0a7}.moodle-connect[data-state=ready] .moodle-connect-track span{width:100%;animation:none;background:#9bd4bf}@keyframes moodle-connect-spin{to{transform:rotate(360deg)}}@keyframes moodle-connect-pulse{50%{opacity:.4;transform:scale(.9)}}@keyframes moodle-connect-progress{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes moodle-connect-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.moodle-connect,.moodle-connect *{animation:none!important}.moodle-connect-track span{width:70%}}
