#accountButton{margin-left:12px;padding:7px 12px;border:1px solid #615a43;color:#d4c59f;border-radius:7px;font-size:11px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile{cursor:pointer}.account-dialog{width:440px;padding:32px;max-width:94vw}.account-dialog h2{font-size:24px;margin:0 0 10px}.account-dialog .account-subtitle{font-size:12px;color:#a5ad96;line-height:1.8;text-align:left}.account-dialog label{display:block;font-size:11px;color:#b7bda9;margin:15px 0 6px}.account-dialog input{display:block;width:100%;padding:11px 12px;border:1px solid #505a43;background:#20271d;border-radius:7px;color:#e6e3d1;outline:none}.account-dialog input:focus{border-color:#bda47a}.account-dialog .submit{width:100%;background:#bda47a;color:#24291e;padding:12px;margin:22px 0 8px;border-radius:8px;font-weight:600}.account-dialog button:disabled{opacity:.5}.account-links{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:12px}.account-links button{font-size:11px;color:#cabb92;text-decoration:underline}.account-dialog .account-error{color:#e7b08d;font-size:12px;line-height:1.8;text-align:left;white-space:pre-wrap}.account-close{position:absolute;top:12px;right:14px;font-size:22px}.account-info{background:#333b2b;border:1px solid #4b583d;padding:12px;border-radius:8px;margin-top:15px;font-size:11px;line-height:1.9;overflow-wrap:anywhere}.account-info a{color:#ddc994}.account-dialog .account-notice{text-align:left;font-size:11px;color:#a3ae92;line-height:1.9}.chat-row{display:flex;align-items:center;border-radius:7px;padding:3px 4px;margin-bottom:3px}.chat-row:hover,.chat-row.current{background:#30372b}.chat-row .chat-open{flex:1;min-width:0;text-align:left;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 7px;color:#c0c6b1}.chat-row .chat-menu{font-size:12px;padding:5px;color:#919c80}#chatList{max-height:230px;overflow:auto;margin-bottom:16px}.saved-live-remove{color:#c9b78b;font-size:10px;padding:8px;margin:0 10px 10px;border:1px solid #535e43;border-radius:5px}.account-dialog .verify-mark{color:#c8b784}.live-card .heart{z-index:2}@media(max-width:760px){#accountButton{font-size:9px;padding:6px;margin-left:0;max-width:86px}header{gap:7px}.preview-badge{display:none}.account-dialog{padding:26px 22px}.sidebar-bottom .tip{display:none}#chatList{max-height:35vh}}

.auth-channel-tabs{display:flex;gap:6px;padding:4px;border:1px solid #ffffff16;border-radius:11px;background:#ffffff04;margin:15px 0}.auth-channel-tabs button{flex:1;padding:10px;border:0;border-radius:8px;color:#a9b5a8;background:transparent;font-size:13px}.auth-channel-tabs button.selected{background:#c6b38822;color:#e4d1aa}.registration-code-row{display:flex;gap:9px;align-items:stretch}.registration-code-row input{flex:1;min-width:0;width:0!important;margin:0!important}.registration-send{flex-shrink:0;padding:10px 12px;border:1px solid #c6b38840;border-radius:9px;background:#c6b38812;color:#d9c59d;font-size:12px}.registration-note{font-size:11px!important;color:#a6af9e;line-height:1.7;margin:9px 0 15px;overflow-wrap:anywhere}

/* Compact calling-code selector and accessible password visibility controls. */
.account-dialog{box-sizing:border-box;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.account-dialog input{box-sizing:border-box;min-width:0}
.account-phone-row{display:flex;gap:8px;align-items:stretch}
.account-phone-row select{box-sizing:border-box;flex:0 0 118px;width:118px;min-width:0;max-width:40%;padding:10px 7px;border:1px solid #505a43;border-radius:7px;background:#20271d;color:#e6e3d1;font:inherit;font-size:13px;color-scheme:dark}
.account-phone-row input{flex:1;width:0;font-size:16px}
.account-password-row{position:relative}
.account-dialog .account-password-row input{padding-right:48px}
.password-toggle{position:absolute;right:2px;top:2px;bottom:2px;display:grid;place-items:center;width:42px;padding:0;border:0;border-radius:6px;background:transparent;color:#c6b388;cursor:pointer}
.password-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed="true"] .eye-slash{display:block}
.password-toggle:focus-visible,.account-phone-row select:focus-visible{outline:2px solid #c6b388;outline-offset:2px}
@media(max-width:480px){.account-dialog input{font-size:16px}.account-phone-row{gap:6px}.account-phone-row select{flex-basis:104px;width:104px;font-size:12px}.account-phone-row input::placeholder{font-size:12px}}
.account-password-row input::-ms-reveal,.account-password-row input::-ms-clear{display:none}
