/* A warm, personal corner inside the directory. */
.cb .account-dialog{--mint:#ffd3a5;--account-muted:#a9b8c4;width:min(480px,calc(100vw - 24px));padding:0;border:1px solid #4c5b6866;border-radius:26px;background:radial-gradient(ellipse at 12% 0%,#ffc98f18,transparent 45%),radial-gradient(ellipse at 100% 20%,#8abaff12,transparent 45%),#172028;color:#f4f5f3;box-shadow:0 30px 110px #000a;max-height:calc(100dvh - 24px)}
.cb.is-community .account-dialog{background:radial-gradient(ellipse at 12% 0%,#ffc98f18,transparent 45%),radial-gradient(ellipse at 100% 20%,#8abaff12,transparent 45%),#172028;border-color:#4c5b6866}
.cb .account-dialog::backdrop{background:#070e13b8;backdrop-filter:blur(7px)}
.account-dialog .account-panel-heading{position:relative;isolation:isolate;align-items:start;padding:21px 26px 10px;min-height:86px}
.account-dialog .account-panel-heading p{display:flex;align-items:center;gap:6px;font-size:9px;color:#edbf90;letter-spacing:1.7px;margin-bottom:9px}
.account-dialog .account-panel-heading p svg{width:12px!important;height:12px!important}
.account-dialog .account-panel-heading h2{font-size:29px;line-height:1.1;letter-spacing:-1px;font-weight:600}
.account-dialog .account-panel-heading .feedback-close{width:32px;min-height:32px;background:#ffffff08;color:#b1bdc7;z-index:1;transition:background .15s,transform .15s}
.account-dialog .feedback-close:hover{background:#ffffff12;transform:rotate(8deg)}
.account-welcome-art{position:absolute;top:25px;right:72px;width:91px;height:65px;pointer-events:none}
.account-welcome-art span{position:absolute;display:grid;place-items:center;width:35px;height:35px;border-radius:12px;border:1px solid #ffffff13;box-shadow:0 8px 18px #050d1526;animation:account-drift 5s ease-in-out infinite}
.account-welcome-art span:first-child{left:3px;top:4px;color:#9dc8ff;background:#29405a;transform:rotate(-12deg)}
.account-welcome-art span:nth-child(2){right:0;bottom:2px;color:#d7c5ff;background:#3a3151;animation-delay:-1.6s}
.account-welcome-art span:nth-child(3){right:0;top:-3px;width:23px;height:23px;color:#ffd3a5;border:0;background:none;box-shadow:none;animation-delay:-3s}
.account-welcome-art span svg{width:18px!important;height:18px!important;stroke-width:1.8}
.account-welcome-art span:nth-child(3) svg{width:15px!important;height:15px!important}
@keyframes account-drift{0%,100%{translate:0 0}50%{translate:0 -4px}}
.cb .account-dialog .profile-preview{padding:8px 26px 16px;gap:16px;align-items:center}
.cb .account-dialog .profile-avatar{width:64px;height:64px;font-size:26px;font-weight:500;background:linear-gradient(135deg,#ffe1b3,#f4b99f);color:#573d36;border:3px solid #ffe0b726;box-shadow:0 0 0 5px #ffcd9e0a,0 7px 20px #050d152e;transition:transform .18s,box-shadow .18s}
.account-dialog .profile-avatar:hover{transform:rotate(-5deg) scale(1.04);box-shadow:0 0 0 6px #ffcd9e15,0 8px 24px #050d153f}
.account-dialog .avatar-camera{width:23px;height:23px;border-color:#172028;background:#d9eaff;color:#28445f}
.account-dialog .profile-preview strong{font-size:17px!important;font-weight:550!important;letter-spacing:-.3px;line-height:1.3}
.account-dialog .profile-preview p{font-size:11px!important;color:var(--account-muted)!important;line-height:1.4}
.account-dialog .photo-actions{gap:10px;margin-top:4px}
.account-dialog .photo-actions button{display:flex;align-items:center;gap:5px;color:#adcfff;font-size:11px;min-height:27px}
.account-dialog .photo-actions button svg{width:13px!important;height:13px!important}
.account-dialog .photo-actions button:last-child{color:#b4bec8}
.cb .account-dialog .account-private-badge{align-self:center;margin:0 0 0 auto;padding:5px 7px;border:1px solid #96c8ff21;border-radius:20px;background:#99caff08;color:#afcbe3;font-size:9px}
.account-dialog .account-tabs{margin:0 26px;padding:4px;gap:4px;border:1px solid #c1d7e514;border-radius:13px;background:#10181f}
.account-dialog .account-tabs button{flex:1;justify-content:center;gap:7px;min-height:34px;padding:5px 10px;border:0;border-radius:9px;font-size:12px;color:#94a4b3;transition:background .15s,color .15s}
.account-dialog .account-tabs button[aria-current=page]{background:#2c3945;color:#faf0e6;box-shadow:0 2px 6px #0002}
.account-dialog .account-tabs button:first-child svg{color:#ffd3a5}
.account-dialog .account-tabs button:last-child svg{color:#a7caff}
.account-dialog .account-tabs button:hover{color:#f6f5f3;background:#ffffff08}
.cb .account-dialog [data-account-panel]{padding:18px 26px}
.cb .account-dialog .profile-form>label{display:flex;align-items:center;gap:7px;margin:0 0 6px;font-size:12px;font-weight:500;color:#d6e0e7}
.account-dialog .profile-form>label svg{width:14px!important;height:14px!important;color:#a8c7e6;stroke-width:1.8}
.account-dialog .profile-form>label[for=profile-bio] svg{color:#d8baf6}
.cb .account-dialog .profile-form input:not([type=checkbox]),.cb .account-dialog .profile-form textarea{background:#101920;border:1px solid #40515f8c;border-radius:11px;padding:11px 13px;font-size:13px;color:#f1f4f6;min-height:43px;transition:border-color .15s,background .15s}
.account-dialog .profile-form input::placeholder,.account-dialog .profile-form textarea::placeholder{color:#798e9f;opacity:1}
.cb .account-dialog .profile-form textarea{min-height:56px;max-height:140px;resize:vertical}
.cb .account-dialog .profile-form>input{margin-bottom:10px}
.account-dialog .profile-form input:hover,.account-dialog .profile-form textarea:hover{border-color:#71899b}
.account-dialog .profile-form input:focus-visible,.account-dialog .profile-form textarea:focus-visible{outline:2px solid #ffd3a58c;outline-offset:2px;background:#14212a}
.cb .account-dialog .profile-interests{gap:8px;margin:12px 0 16px}
.account-dialog .profile-interests legend{font-size:12px!important;margin-bottom:8px;color:#d6e0e7}
.account-dialog .profile-interests legend>svg{width:14px!important;height:14px!important;color:#ffe0a7;vertical-align:-3px;margin-right:7px}
.account-dialog .profile-interests legend span{font-size:10px;color:#8299ab;margin-left:7px}
.account-dialog .profile-interests label{--topic:#a6caff;--topic-bg:#a6caff17;display:flex;gap:6px;min-height:34px;border:1px solid #b2c9d521;background:var(--topic-bg);border-radius:12px;padding:6px 10px;font-size:11px;color:#c3d1dc;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s}
.account-dialog .profile-interests label::after{content:'';position:absolute;right:-4px;top:-4px;width:14px;height:14px;border-radius:50%;background:var(--topic) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%2315222c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px 9px no-repeat;opacity:0;transform:scale(.6);transition:opacity .15s,transform .15s;pointer-events:none}
.account-dialog .profile-interests label:has(input:checked)::after{opacity:1;transform:scale(1)}
.account-dialog .profile-interests [data-interest=reports]{--topic:#c9b0ff;--topic-bg:#c9b0ff17}
.account-dialog .profile-interests [data-interest=quant]{--topic:#75d9d4;--topic-bg:#75d9d417}
.account-dialog .profile-interests [data-interest=paper]{--topic:#aada92;--topic-bg:#aada9217}
.account-dialog .profile-interests [data-interest=crypto]{--topic:#ffcf85;--topic-bg:#ffcf8517}
.account-dialog .profile-interests [data-interest=finance]{--topic:#ffb59e;--topic-bg:#ffb59e17}
.account-dialog .profile-interests [data-interest=prediction]{--topic:#f0a9d7;--topic-bg:#f0a9d717}
.account-dialog .profile-interests label svg{flex-shrink:0;width:15px!important;height:15px!important;color:var(--topic);stroke-width:1.8;transition:transform .15s}
.account-dialog .profile-interests label:hover{transform:translateY(-2px);background:var(--topic-bg);border-color:var(--topic)}
.cb .account-dialog .profile-interests label:has(input:checked){background:var(--topic-bg);border-color:var(--topic);color:#f0f5f8;box-shadow:inset 0 0 0 1px var(--topic-bg)}
.account-dialog .profile-interests label:has(input:checked) svg{transform:rotate(-8deg)}
.account-dialog .profile-interests label:has(input:focus-visible){outline:2px solid var(--topic);outline-offset:3px}
.account-dialog .profile-save-row{gap:12px}
.account-dialog .profile-save-row>p{font-size:10px;color:#91a7b8}
.account-dialog .profile-save-row>p svg{color:#97c4dd;width:13px!important;height:13px!important}
.cb .account-dialog .profile-save-row .action{display:flex;gap:8px;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:0;border-radius:13px;background:linear-gradient(115deg,#ffe1b4,#ffc59d);color:#493429;font-size:12px;font-weight:600;box-shadow:0 4px 16px #ffb57d13;transition:transform .15s,box-shadow .15s}
.cb .account-dialog .profile-save-row .action:hover{transform:translateY(-1px);box-shadow:0 6px 22px #ffb57d24}
.account-dialog .profile-save-row .action svg{width:15px!important;height:15px!important}
.cb .account-dialog .account-signin{margin:0 26px 12px;border-color:#8dbbe125;border-radius:12px;background:#101c25;color:#a9bfd0;line-height:1.5;padding:8px 13px}
.account-dialog .account-signin [data-google-button]:not(:empty){margin-top:7px}
.account-dialog .account-panel-footer{padding:11px 26px;background:#111a22;border-color:#8aafc51a}
.account-dialog .account-panel-footer>span{color:#91a7b8}
.account-dialog .account-panel-footer>span svg{color:#a1c7dd}
.account-dialog .account-panel-footer button{color:#c7d8e4}
.cb .account-dialog .account-status:not(:empty){color:#ffe0b4;padding:0 26px 17px}
.account-dialog [data-account-panel=settings]>h3{color:#bed0de!important}
.account-dialog .account-settings-row{border-color:#859eb12e!important;background:#101b24;border-radius:12px;transition:background .15s}
.account-dialog .account-settings-row:hover{background:#223441}
.account-dialog .account-settings-row>svg:first-child{color:#a1c9ff!important}
.account-dialog .account-settings-row strong{color:#e9f0f4}
.account-dialog .account-settings-row small{color:#92a9bc}
.account-dialog .account-danger summary{color:#afc2d0!important}
.account-dialog .account-danger summary>svg{color:#c8b5ec!important}
@media(max-width:440px){.cb .account-dialog{border-radius:22px}.account-dialog .account-panel-heading{padding:22px 20px 10px;min-height:93px}.account-dialog .account-panel-heading h2{font-size:26px}.account-welcome-art{right:62px;width:72px;top:23px}.account-welcome-art span:first-child{width:30px;height:30px;left:0}.account-welcome-art span:nth-child(2){width:30px;height:30px;right:0;bottom:7px}.cb .account-dialog .profile-preview{padding:10px 20px 20px;gap:14px}.account-dialog .account-tabs{margin:0 20px}.cb .account-dialog [data-account-panel]{padding:20px}.cb .account-dialog .account-signin{margin-left:20px;margin-right:20px}.account-dialog .profile-interests label{padding:7px 9px}.account-dialog .account-panel-footer{padding:10px 20px}.cb .account-dialog .account-status:not(:empty){padding:0 20px 15px}.cb .account-dialog .account-private-badge{display:none}}
@media(max-width:350px){.account-welcome-art{display:none}.account-dialog .profile-save-row{flex-wrap:wrap}.account-dialog .profile-save-row .action{flex:1}.cb .account-dialog .profile-preview strong{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){.account-welcome-art span{animation:none}.account-dialog .profile-avatar,.account-dialog .feedback-close,.account-dialog .profile-interests label,.account-dialog .profile-interests label::after,.account-dialog .profile-interests label svg,.account-dialog .profile-save-row .action{transition:none}}
