.dialog-open{overflow:hidden}#ov{backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}#modal.auth-modal{position:relative;overflow:visible;width:calc(100% - 32px);max-width:420px;border:1px solid transparent;border-radius:24px;padding:36px 28px 24px;background:linear-gradient(var(--card,#fff),var(--card,#fff)) padding-box,linear-gradient(135deg,#e11d2e,#a4c639) border-box;box-shadow:0 20px 80px #0003,0 0 35px #e11d2e12;animation:auth-in .2s ease-out;margin-top:150px;color:var(--ink,#182334)}[data-theme=dark] #modal.auth-modal{background:linear-gradient(#17181bee,#17181bee) padding-box,linear-gradient(135deg,#e11d2e,#a4c639) border-box;color:#fff;box-shadow:0 20px 80px #0009,0 0 45px #e11d2e25}.auth-content{position:relative;z-index:2;text-align:center}.auth-content:before{content:'';position:absolute;inset:-20px;z-index:-1;pointer-events:none;opacity:.035;background-image:linear-gradient(#a4c639 1px,transparent 1px),linear-gradient(90deg,#e11d2e 1px,transparent 1px);background-size:22px 22px}.auth-eyebrow{font-size:10px;letter-spacing:.2em;color:#778746}.auth-content h2{font-size:29px;margin:14px 0 10px}.auth-subtitle{font-size:14px;line-height:1.65;opacity:.75;margin:0 0 25px}.auth-provider{width:100%;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0;border:1px solid #ddd;cursor:pointer;font:600 14px/1.2 system-ui;transition:transform .18s,box-shadow .18s}.auth-provider.telegram{background:#229ed9;color:white;border-color:#229ed9}.auth-provider.google{background:white;color:#202124}.auth-provider:hover{transform:translateY(-2px);box-shadow:0 6px 22px #229ed940}.auth-provider.google:hover{box-shadow:0 6px 22px #a4c63940}.auth-provider:focus-visible,.auth-legal a:focus-visible{outline:3px solid #a4c639;outline-offset:3px}.auth-provider:disabled{opacity:.6;cursor:wait}.google-g{font-size:23px;font-weight:800;color:#4285f4}.auth-provider.busy:after{content:'';width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:auth-spin .7s linear infinite}.auth-trust{font-size:12px;opacity:.7;margin-top:24px}.auth-legal{display:flex;gap:12px;justify-content:center;font-size:12px}.auth-legal a{color:inherit}.auth-mascot{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);width:220px;height:183px;pointer-events:none;z-index:2}.auth-mascot video,.auth-mascot img{position:absolute;width:100%;height:100%;object-fit:contain;inset:0}.auth-mascot [hidden]{display:none!important}#modal.auth-modal>.x{z-index:4;right:12px;top:10px}.auth-sheet-handle{display:none}#auth-widget{display:flex;justify-content:center;margin-top:16px;min-height:0}#auth-error{color:#d81935;font-size:13px;line-height:1.5;min-height:0}.shake{animation:auth-shake .2s}.account-avatar{width:25px;height:25px;object-fit:cover;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;background:#a4c63933}#account-button{display:flex;align-items:center;gap:7px;max-width:180px}#account-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#account-menu{position:absolute;top:64px;inset-inline-end:20px;z-index:100;background:var(--card,#fff);color:var(--ink,#182334);padding:8px;border:1px solid #8884;border-radius:14px;box-shadow:0 12px 35px #0003;min-width:190px}#account-menu[hidden]{display:none}#account-menu button{display:block;width:100%;text-align:start;padding:12px;border:0;background:transparent;color:inherit;cursor:pointer;border-radius:8px}#account-menu button:hover,#account-menu button:focus-visible{background:#a4c63922;outline:2px solid #a4c639}[data-theme=dark] #account-menu{background:#18191d;color:white}@keyframes auth-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes auth-spin{to{transform:rotate(360deg)}}@keyframes auth-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@media(max-width:639px){#ov:has(.auth-modal){align-items:flex-end;padding:0}#modal.auth-modal{margin:150px 0 0;width:100%;max-width:none;border-radius:24px 24px 0 0;padding:24px 24px max(24px,env(safe-area-inset-bottom));animation:auth-sheet .2s ease-out;max-height:calc(100dvh - 110px);overflow:visible}.auth-sheet-handle{display:block;width:40px;height:4px;border-radius:5px;background:#8886;margin:-10px auto 18px}.auth-mascot{width:170px;height:141px}@keyframes auth-sheet{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}}@media(prefers-reduced-motion:reduce){#modal.auth-modal,.auth-provider,.shake{animation:none;transition:none}}

@media(max-width:639px){.auth-content{max-height:calc(100dvh - 195px);overflow-y:auto;padding:0 2px}.auth-content:before{inset:0}}
