.randes-account-modal{padding:0;border:1px solid #334155;border-radius:18px;background:#161b26;color:#e2e8f0;width:min(1040px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;overflow:hidden;box-shadow:0 28px 90px #0008;font:14px/1.4 system-ui,sans-serif}
.randes-account-modal:not([open]),.randes-account-modal [hidden]{display:none!important}
.randes-account-modal::backdrop{background:rgba(0,0,0,.57);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.randes-account-modal[data-layout="auth"]{width:min(470px,calc(100vw - 48px))}
.randes-account-modal__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px 10px 24px;border-bottom:1px solid #2a3344;min-height:56px}
.randes-account-modal__header span{font-size:12px;font-weight:700;letter-spacing:.1em}
.randes-account-modal__close{display:grid;place-items:center;background:transparent;color:#e2e8f0;border:0;border-radius:50%;width:36px;height:36px;padding:0;font:28px/1 system-ui;cursor:pointer}
.randes-account-modal__close:hover{background:#2a3344}
.randes-account-modal button:focus-visible,.randes-account-modal a:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}
.randes-account-modal__frame{display:block;width:100%;height:var(--randes-account-height,520px);max-height:calc(100dvh - 106px);border:0;background:#161b26}
.randes-account-modal__status,.randes-account-modal__error{padding:32px 24px;color:#cbd5e1}
.randes-account-modal__error button{background:#2563eb;color:white;border:0;border-radius:8px;padding:10px 16px;font:inherit;cursor:pointer;margin-right:16px}
.randes-account-modal__error a{color:#93c5fd;text-decoration:underline}
@media(max-width:749px){.randes-account-modal,.randes-account-modal[data-layout="auth"]{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.randes-account-modal__header{padding-left:16px}.randes-account-modal__frame{max-height:calc(100dvh - 74px)}}
@media(prefers-reduced-motion:no-preference){.randes-account-modal[open]{animation:randes-account-open .16s ease-out}@keyframes randes-account-open{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
