.auth-trigger { white-space: nowrap; }
.auth-dialog {
  width: min(440px, calc(100vw - 28px)); max-width: 100%; padding: 0;
  color: #f4f0e8; background: #10151a; border: 1px solid #384049;
  border-radius: 16px; box-shadow: 0 28px 90px #000b, 0 0 0 1px #ffffff0a;
}
.auth-dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.auth-dialog__body { padding: 30px; }
.auth-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.auth-dialog__eyebrow { display: block; margin-bottom: 12px; color: #c99c53; font: 700 11px/1.2 system-ui, sans-serif; letter-spacing: .17em; }
.auth-dialog h2 { margin: 0; color: #fff; font: 650 25px/1.2 system-ui, sans-serif; letter-spacing: -.035em; }
.auth-dialog__close { min-width: 36px; min-height: 36px; margin: -6px -6px 0 0; border-radius: 8px; }
.auth-dialog__intro { max-width: 33ch; margin: 14px 0 24px; color: #b9c0c8; font: 15px/1.5 system-ui, sans-serif; }
.auth-provider-list { display: grid; gap: 10px; margin: 0; }
.auth-provider { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid #58616c; border-radius: 8px; background: #f9fafb; color: #171b20; font: 600 14px system-ui, sans-serif; text-align: center; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.auth-provider::after { content: ''; }
.auth-provider:hover:not([disabled]) { background: #e8edf2; border-color: #fff; transform: translateY(-1px); }
.auth-provider:focus-visible { outline: 3px solid #d9a74f; outline-offset: 3px; }
.auth-provider--apple, .auth-provider--x { color: #fff; background: #050607; border-color: #67717b; }
.auth-provider--apple:hover:not([disabled]), .auth-provider--x:hover:not([disabled]) { background: #242b32; }
.auth-provider__icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.auth-provider__icon svg { display: block; width: 22px; height: 22px; }
.auth-provider[disabled] { opacity: .55; cursor: not-allowed; }
.auth-dialog__privacy { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid #303842; color: #aab3bc; font: 12px/1.5 system-ui, sans-serif; }
.auth-status { min-height: 1.5em; margin: 10px 0 0; color: #d5ad65; font: 12px/1.5 system-ui, sans-serif; }
.auth-account { display: grid; gap: 14px; }
.auth-account__identity { padding: 12px; background: #080c10; border: 1px solid #303842; }
.auth-account__identity strong { display: block; color: #f4f0e8; }
.auth-account__identity span { display: block; margin-top: 4px; color: #aab3bc; font-size: 12px; }
.auth-note { margin: 0; color: #aab3bc; font-size: 12px; line-height: 1.5; }
@media (max-width: 600px) { .auth-dialog__body { padding: 22px; } .auth-dialog h2 { font-size: 22px; } }
