#auth-modal{padding:12px;background:rgba(8,9,20,.84)}.auth-sheet{animation:none;box-shadow:0 18px 70px #0008}.auth-identity>div{min-width:0}
.auth-sheet{width:min(432px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;gap:0;align-items:stretch;text-align:left;overflow:hidden;background:#24273c;border:1px solid #48455e;border-radius:12px}.auth-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 16px;border-bottom:1px solid #48455e80;flex-shrink:0}.auth-head h2{margin:4px 0 0;font-size:22px;line-height:1.4}.auth-eyebrow{font-size:11px;color:#f0bd9f;letter-spacing:1.6px;font-weight:700}.auth-close{width:44px;min-height:44px;flex-shrink:0;font:24px/1 system-ui;border:0;background:transparent;color:var(--text);cursor:pointer}.auth-content{padding:22px;overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:15px;line-height:1.65}.auth-content> *+*{margin-top:16px}.auth-content p,.auth-content h3{margin-bottom:0}.auth-content p:first-child{margin-top:0}.auth-content form>*+*{margin-top:12px}.auth-button,.auth-password button{cursor:pointer;display:block;min-height:44px;width:100%;padding:9px 14px;border:1px solid #48455e;border-radius:6px;background:transparent;color:#f3e9e2;font:600 15px/1.6 system-ui,-apple-system,"PingFang SC",sans-serif}.auth-button:hover,.auth-password button:hover{border-color:#f0bd9f}.auth-primary{background:#d97757;border-color:#d97757;color:#19141a;box-shadow:0 3px 0 #994b35}.auth-button:disabled{opacity:.55;cursor:default}.auth-sheet :is(button,input,summary):focus-visible{outline:3px solid #f4ce82;outline-offset:3px}.auth-sheet input{min-width:0;width:100%;border:1px solid #48455e;border-radius:6px;background:#191c30;color:#f3e9e2;font-size:16px;padding:11px;margin-top:6px}.auth-field{display:block;font-size:13px;font-weight:600}.auth-hint{color:#b8b1c8;font-size:13px;line-height:1.6;display:block;font-weight:400}.auth-password{display:flex;gap:6px;align-items:stretch}.auth-password input{margin:0;flex:1}.auth-password button{width:auto;min-width:52px;font-size:12px;padding:8px}.auth-credentials{padding:16px;border:1px solid #48455e;border-radius:6px;background:#191c30}.auth-credentials strong{display:block;color:#f0bd9f;font-size:20px;letter-spacing:.7px;overflow-wrap:anywhere;margin:8px 0 12px}.auth-credentials .auth-code{font:17px/1.8 ui-monospace,monospace;word-break:break-all;letter-spacing:.5px}.auth-notice{padding:12px 14px;border-left:3px solid #f0bd9f;background:#f0bd9f0a;color:#ead9cb;font-size:13px}.auth-notice.auth-error{border-color:#ef8e89;background:#ef8e890b;color:#ffd2cc}.auth-success{border-color:#9bc8b1;color:#c7e7d6}.auth-error-text{color:#ffc8c0;font-size:13px}.auth-error-text:empty{display:none}.auth-row{display:flex;gap:10px}.auth-row>*{flex:1;min-width:0;font-size:13px}.auth-divider{display:flex;gap:12px;align-items:center;font-size:11px;color:#b8b1c8}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#48455e}.auth-check{display:flex;gap:9px;align-items:flex-start;font-size:13px}.auth-sheet input[type=checkbox]{width:18px;height:18px;margin:3px 0 0;flex-shrink:0;accent-color:#d97757;padding:0}.auth-identity{display:flex;align-items:center;gap:13px}.auth-identity canvas{image-rendering:pixelated;background:#151a2e;border-radius:8px;flex-shrink:0}.auth-identity strong{font-size:18px;overflow-wrap:anywhere}.auth-list{border-top:1px solid #48455e}.auth-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #48455e;font-size:13px}.auth-list strong,.auth-list small{display:block;color:#b8b1c8;font-size:12px}.auth-list .auth-button{width:auto;font-size:12px;flex-shrink:0}.auth-badge{color:#f0bd9f;border:1px solid #48455e;border-radius:4px;padding:2px 7px;font-size:11px}.auth-success-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#9bc8b117;border:1px solid #678a77;color:#b8dfc8;font-size:24px}.auth-sheet details{color:#b8b1c8;font-size:13px}.auth-sheet [hidden]{display:none!important}@media(max-width:440px){.auth-head{padding:16px}.auth-content{padding:18px 16px}.auth-head h2{font-size:21px}.auth-credentials strong{font-size:18px}}@media(prefers-reduced-motion:reduce){.auth-sheet *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.auth-error-text.auth-waiting{color:#b8b1c8}

.auth-head h2{color:#f3e9e2}
