:root{--account-ink:#1b1b1e;--account-muted:#737376;--account-border:#e3e2e2;--account-bg:#faf9f8;--account-gold:#ae9158;--account-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.plot-header,.account-page,.account-dialog{font-family:var(--account-font);color:var(--account-ink);box-sizing:border-box}
.plot-header *,.account-page *,.account-dialog *{box-sizing:border-box}
.plot-header{height:84px;background:var(--account-bg);border-bottom:1px solid var(--account-border);position:relative;z-index:20}
.plot-header-inner{height:100%;max-width:1600px;margin:auto;display:flex;align-items:center;gap:44px;padding:0 42px}
.plot-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--account-ink);flex-shrink:0}
.plot-brand svg,.plot-brand img{width:30px;height:30px;display:block}
.plot-brand strong{font-size:25px;font-weight:700;letter-spacing:-.7px;line-height:1}
.plot-nav{display:flex;align-items:center;gap:34px}
.plot-nav a{font-size:16px;line-height:24px;text-decoration:none;color:var(--account-muted);font-weight:500;white-space:nowrap;padding:14px 0}
.plot-nav a:hover,.plot-nav a[aria-current=page]{color:var(--account-ink)}
.plot-nav a[aria-current=page]{font-weight:650}
.plot-header-actions{margin-left:auto;display:flex;align-items:center;gap:24px;min-width:0}
.plot-account-link,.plot-user summary{height:44px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--account-border);border-radius:999px;background:transparent;padding:0 21px;font-size:15px;font-weight:600;color:var(--account-ink);text-decoration:none;cursor:pointer;white-space:nowrap}
.plot-account-link svg,.plot-user svg{width:18px;height:18px;flex-shrink:0}
.plot-account-link:hover,.plot-user summary:hover{background:#f0efed}
.plot-user{position:relative;min-width:0}
.plot-user summary{list-style:none;max-width:230px}
.plot-user summary::-webkit-details-marker{display:none}
.plot-user-name{max-width:160px;overflow:hidden;text-overflow:ellipsis}
.plot-user-menu{position:absolute;top:52px;right:0;width:265px;padding:18px;background:#fff;border:1px solid var(--account-border);border-radius:16px;box-shadow:0 12px 40px #18181b12}
.plot-user-menu small{display:block;color:var(--account-muted);font-size:12px;margin-bottom:6px}
.plot-user-menu p{margin:0 0 16px;overflow-wrap:anywhere;font-size:14px}
.plot-user-menu button{width:100%;border:1px solid var(--account-border);border-radius:10px;padding:11px;background:var(--account-bg);color:var(--account-ink);font:inherit;font-size:14px;cursor:pointer}
.plot-user-status{font-size:12px;color:#b42318;margin-top:10px}
.studio>.topbar,.studio>.page-navigation{display:none!important}
body.plot-account-mode{margin:0;background:var(--account-bg)}
.account-page{max-width:520px;margin:0 auto;padding:64px 0 42px}
.account-intro{text-align:center;margin-bottom:38px}
.account-eyebrow{font-size:13px;letter-spacing:4px;color:var(--account-gold);font-weight:600;margin:0 0 18px}
.account-intro h1{font-size:44px;letter-spacing:-1.8px;line-height:1.2;font-weight:700;margin:0 0 20px;color:var(--account-ink)}
.account-subtitle{font-size:18px;line-height:1.7;color:var(--account-muted);margin:0}
.account-form{display:flex;flex-direction:column;gap:22px}
.account-field label{display:block;font-size:15px;font-weight:600;margin:0 0 12px}
.account-field input{appearance:none;background:transparent;width:100%;height:56px;border:1px solid var(--account-border);border-radius:11px;padding:0 18px;font:inherit;font-size:17px;color:var(--account-ink);transition:border-color .15s}
.account-field input::placeholder{color:#a6a6a8}
.account-field input:focus{outline:none;border-color:#848487;box-shadow:0 0 0 3px #1b1b1e08}
.account-password-wrap{position:relative}
.account-password-wrap input{padding-right:58px}
.account-eye{position:absolute;right:8px;top:7px;display:grid;place-items:center;width:42px;height:42px;border:0;background:transparent;color:var(--account-muted);cursor:pointer;border-radius:8px}
.account-eye svg{width:21px;height:21px}
.account-primary{display:flex;align-items:center;justify-content:center;min-height:62px;width:100%;margin-top:0;border:0;border-radius:999px;background:#19191c;color:#fff;font:inherit;font-size:18px;font-weight:600;box-shadow:0 13px 28px #19191c14;cursor:pointer;transition:background .15s,transform .15s}
.account-primary:hover{background:#333337;transform:translateY(-1px)}
.account-primary:disabled{opacity:.6;cursor:wait;transform:none}
.account-error{margin:0;min-height:0;font-size:14px;line-height:1.6;color:#b42318}
.account-error:empty{display:none}
.account-forgot{text-align:center;margin:32px 0 0;font-size:15px}
.account-forgot a,.account-switch a{color:var(--account-ink);text-underline-offset:4px;font-weight:600}
.account-switch{text-align:center;margin:36px 0 0;padding-top:30px;border-top:1px solid var(--account-border);font-size:16px;color:var(--account-muted)}
.account-switch a{margin-left:12px}
.account-note{font-size:12px;line-height:1.7;text-align:center;color:#8e8e91;margin:30px 0 0}
.account-help{font-size:13px;line-height:1.65;color:var(--account-muted);margin:9px 0 0}
.account-dialog{max-width:520px;width:calc(100% - 32px);padding:34px;border:1px solid var(--account-border);border-radius:20px;background:var(--account-bg);box-shadow:0 24px 100px #0002}
.account-dialog::backdrop{background:#1b1b1e55;backdrop-filter:blur(3px)}
.account-dialog h2{font-size:26px;margin:0 0 16px;letter-spacing:-.7px}
.account-dialog p{color:var(--account-muted);font-size:14px;line-height:1.8}
.account-recovery-code{display:block;padding:18px 10px;margin:22px 0;background:#f0eeeb;border-radius:10px;text-align:center;font-family:ui-monospace,SFMono-Regular,monospace;font-size:15px;letter-spacing:.4px;overflow-wrap:anywhere;user-select:all;color:var(--account-ink)}
.account-save-code{width:100%;min-height:44px;background:transparent;border:1px solid #d4d1cd;border-radius:999px;font:inherit;font-size:14px;cursor:pointer;color:var(--account-ink)}
.account-code-saved{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.6;margin:20px 0;color:var(--account-muted)}
.account-code-saved input{accent-color:#19191c;margin-top:4px;flex-shrink:0}
.plot-header :is(a,button,summary):focus-visible,.account-page :is(a,button):focus-visible,.account-dialog :is(button,input):focus-visible{outline:2px solid #9e834e;outline-offset:4px}
@media(max-width:1000px){.plot-header-inner{gap:30px;padding-inline:28px}.plot-nav{gap:24px}}
@media(max-width:760px){.plot-header{height:122px}.plot-header-inner{position:relative;align-items:flex-start;padding:0 22px;gap:0}.plot-brand{height:72px}.plot-brand strong{font-size:23px}.plot-brand svg,.plot-brand img{width:27px;height:27px}.plot-header-actions{height:72px;gap:12px}.plot-account-link,.plot-user summary{height:40px;padding-inline:16px;font-size:14px}.plot-user summary{max-width:180px}.plot-user-name{max-width:110px}.plot-nav{position:absolute;bottom:0;left:22px;right:22px;height:49px;display:flex;justify-content:space-between;gap:0}.plot-nav a{font-size:15px;padding:12px 10px}.account-page{max-width:520px;width:100%;padding:46px 24px 32px}.account-intro{margin-bottom:34px}.account-intro h1{font-size:38px}.account-subtitle{font-size:16px}.account-field input{height:54px;font-size:16px}.account-form{gap:21px}.account-primary{min-height:58px}.account-dialog{padding:26px}.account-recovery-code{font-size:13px}.account-eyebrow{margin-bottom:16px}}
@media(max-width:360px){.plot-header-inner{padding-inline:16px}.plot-brand strong{font-size:21px}.plot-brand{gap:8px}.plot-user summary{max-width:150px}.plot-user-name{max-width:85px}.account-intro h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.account-primary,.account-field input{transition:none}.account-primary:hover{transform:none}}

.plot-download-link{position:fixed;right:24px;bottom:24px;z-index:100;padding:13px 24px;background:#19191c;color:#fff;border-radius:999px;text-decoration:none;box-shadow:0 5px 24px #0002;font:500 14px var(--account-font)}
.account-code-wrap{display:flex;gap:10px;align-items:center}
.account-code-wrap input{min-width:0;flex:1;letter-spacing:3px}
.account-send-code{height:56px;flex-shrink:0;min-width:136px;padding:0 16px;font:500 14px var(--account-font);border:1px solid #cbdde7;border-radius:11px;background:#edf5f8;color:#2e7084;cursor:pointer}
.account-send-code:disabled{color:#8a9da8;background:#f1f5f7;cursor:default}
.account-feedback{margin:0;color:#388576;font-size:13px;line-height:1.6}
.account-feedback:empty{display:none}
@media(max-width:480px){.account-send-code{min-width:122px;padding-inline:10px;font-size:13px}.account-code-wrap{gap:8px}.account-code-wrap input{padding-inline:12px;font-size:15px}}

.plot-user-avatar{width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}
.plot-avatar{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;background:#eef3f8}
.plot-user-menu button+button{margin-top:8px}
.plot-profile-dialog{position:fixed;inset:0;margin:auto;height:fit-content;background:#fff;max-height:calc(100dvh - 32px);overflow:auto;padding:28px;width:calc(100% - 32px);max-width:500px;border-color:#dce6ef;color:#1b283a}
.plot-profile-form{display:flex;flex-direction:column;gap:24px}
.plot-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.plot-profile-heading h2{margin:0;font-size:25px;letter-spacing:-.5px}
.plot-profile-close{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:0;border-radius:50%;background:#f3f6fa;font-size:25px;line-height:1;color:#6c7a8c;cursor:pointer}
.plot-profile-dialog .plot-profile-email{margin:-14px 0 0;font-size:13px;overflow-wrap:anywhere;color:#78889a;line-height:1.5}
.plot-profile-avatar-row{display:flex;align-items:center;gap:20px;padding:18px;background:#f6f9fc;border:1px solid #e5ecf3;border-radius:14px}
.plot-profile-avatar{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#e9f0f7;color:#879aae}
.plot-profile-avatar svg{width:34px;height:34px}
.plot-profile-upload,.plot-profile-remove{font:600 13px var(--account-font);border:1px solid #d8e2ec;border-radius:8px;padding:8px 12px;background:#fff;color:#25354a;cursor:pointer}
.plot-profile-remove{margin-left:8px;font-weight:400;border-color:transparent;background:transparent;color:#77889a}
.plot-profile-remove:disabled{opacity:.4;cursor:default}
.plot-profile-dialog .account-help{font-size:12px;line-height:1.65;color:#7c8b9d;margin:8px 0 0}
.plot-profile-dialog .account-error{margin:0;color:#b42318;font-size:13px}
.plot-profile-dialog .account-field input{height:48px;font-size:15px;border-color:#dce4ed;background:#fbfcfe}
.plot-profile-dialog .account-field label{font-size:14px;margin-bottom:9px}
.plot-profile-password{border-top:1px solid #e7edf3;border-bottom:1px solid #e7edf3}
.plot-profile-password summary{list-style:none;font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:18px 0}
.plot-profile-password summary::-webkit-details-marker{display:none}
.plot-profile-password summary span{font-size:18px;font-weight:400;color:#8392a3}
.plot-profile-password[open] summary span{transform:rotate(45deg)}
.plot-profile-password-fields{display:flex;flex-direction:column;gap:18px;padding:0 0 18px}
.plot-profile-footer{display:flex;gap:12px;align-items:center}
.plot-profile-footer .account-primary{min-height:48px;font-size:15px;flex:1;background:#1b2b40;box-shadow:0 5px 18px #1b2b4012}
.plot-profile-cancel{min-height:48px;border:1px solid #dce4ed;border-radius:999px;padding:0 25px;font:500 15px var(--account-font);color:#5b6c80;background:#fff;cursor:pointer}
.plot-profile-dialog button:disabled{opacity:.5;cursor:default}
@media(max-width:480px){.plot-profile-dialog{padding:24px 20px}.plot-profile-form{gap:21px}.plot-profile-avatar-row{padding:14px;gap:14px}.plot-profile-avatar{width:64px;height:64px}.plot-profile-upload{padding:8px 10px}.plot-profile-remove{margin-left:2px;padding:8px}.plot-profile-dialog .account-help{font-size:11px}.plot-user-menu{max-width:calc(100vw - 44px)}}
