/* First-party login overlay; the main page and Audio transport remain mounted. */
.fm320-auth-dialog {
  box-sizing:border-box; position:fixed; inset:0; margin:auto;
  width:min(570px,calc(100vw - 32px)); height:min(720px,calc(100dvh - 40px));
  max-width:none; max-height:none; padding:0; overflow:hidden;
  border:1px solid rgba(194,203,215,.22); border-radius:15px;
  background:#080d15; color:#eef1f3; box-shadow:0 25px 90px rgba(0,0,0,.68);
  z-index:10030;
}
.fm320-auth-dialog::backdrop {background:rgba(4,8,14,.76);backdrop-filter:blur(6px)}
.fm320-auth-dialog__bar {
  box-sizing:border-box; height:53px; padding:0 15px 0 23px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.12); font:700 14px Arial,Helvetica,sans-serif;
  letter-spacing:.03em;
}
.fm320-auth-dialog__close {
  width:37px; height:37px; border:0; border-radius:8px;
  background:transparent; color:#d5dbe2; font:28px/1 Arial,sans-serif;
  cursor:pointer;
}
.fm320-auth-dialog__close:hover,.fm320-auth-dialog__close:focus-visible {background:#ffffff15;outline:2px solid #e5a1cd;outline-offset:0}
.fm320-auth-dialog__frame {
  display:block; width:100%; height:calc(100% - 53px);
  border:0; background:#080d15; color-scheme:dark;
}
@media(max-width:520px) {
  .fm320-auth-dialog {width:calc(100vw - 16px);height:calc(100dvh - 20px);border-radius:10px}
}
