/* Personal dashboard: keep the site's existing black and red visual language. */
.site-header .personal-icon{width:44px;height:44px;padding:10px;display:grid;place-items:center;border-color:#393137;color:#e5e1e2;border-radius:50%;flex:none}
.personal-icon svg,.dashboard-avatar svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.site-header .personal-icon:hover,.site-header .personal-icon:focus-visible{color:#fff;border-color:#e62d43;background:#211316}
.dashboard-view{max-width:1250px;padding-top:54px;min-height:75vh}
.dashboard-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.dashboard-toolbar-button{min-height:38px;padding:8px 14px;background:#171417;border:1px solid #49383d;color:#e0d4d7;font-size:12px;line-height:1.3}
.dashboard-toolbar-button span{color:#ed6b76}.dashboard-toolbar-button:hover{border-color:#bf4050;color:#fff}
.dashboard-logout{min-height:44px;padding:11px 18px;color:#e6d8db;font-size:13px;font-weight:600}
body.dashboard-animating{overflow-x:clip}.dashboard-view.dashboard-leaving{pointer-events:none}
.dashboard-breadcrumb,.dashboard-kicker{color:#aa9fa2;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:600}
.dashboard-breadcrumb{margin-bottom:26px;color:#857c7f}.dashboard-breadcrumb span{padding:0 10px;color:#db3b4d}
.dashboard-hero{display:flex;align-items:center;gap:22px;min-height:150px;padding:29px 32px;background:linear-gradient(112deg,#1c171a 0%,#151315 72%,#251519 100%);border:1px solid #383034;border-left:3px solid #d82a40}
.dashboard-avatar{width:68px;height:68px;flex:none;color:#d9c9cc;background:#282023;border:1px solid #514247;border-radius:50%;display:grid;place-items:center;padding:16px}
.dashboard-identity{flex:1;min-width:0}.dashboard-identity h1{font-size:clamp(28px,4vw,42px);line-height:1.2;margin:9px 0 5px;overflow-wrap:anywhere;letter-spacing:.01em}.dashboard-identity p{font-size:12px;line-height:1.7;color:#aaa0a3;margin:0}
.dashboard-rank{align-self:flex-start;flex:none;max-width:40%;color:#e7bec3;background:#2d1b20;border:1px solid #6e3a43;padding:8px 12px;font-size:11px;line-height:1.4}.dashboard-rank.pending{color:#cabcbf}
.dashboard-rank-actions{align-self:flex-start;display:flex;flex:none;flex-direction:column;align-items:flex-end;gap:14px;max-width:40%}
.dashboard-rank-actions .dashboard-rank{align-self:flex-end;max-width:100%}
.dashboard-tabs{display:flex;position:relative;align-items:stretch;gap:32px;border-bottom:1px solid #373034;margin:0 0 42px;overflow-x:auto;scrollbar-width:thin}
.dashboard-tab{display:block;flex:none;white-space:nowrap;padding:19px 1px 16px;color:#a9a0a3;font-size:13px;font-weight:600;border-bottom:2px solid transparent}.dashboard-tab:hover{color:#fff}.dashboard-tab.active{color:#fff;border-color:#e22a40}
.dashboard-tabs.has-indicator .dashboard-tab.active{border-color:transparent}
.dashboard-tab-indicator{position:absolute;left:0;bottom:0;height:2px;width:0;background:#e22a40;transform-origin:left center;pointer-events:none}
.dashboard-section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:20px}.dashboard-section-head h2,.dashboard-notice h2{font-size:25px;line-height:1.25;margin:9px 0}.dashboard-section-head h2 span{font-size:14px;color:#9c8e92;font-weight:400;margin-left:6px}.dashboard-section-head p,.dashboard-notice p{font-size:12px;line-height:1.8;color:#a8a0a2;margin:0}.dashboard-sync{white-space:nowrap;flex:none}.dashboard-inline-link{color:#d9b1b6;font-size:12px;white-space:nowrap}.dashboard-inline-link:hover{color:#fff}
.dashboard-fleet #manage-panel{background:transparent}.dashboard-fleet #manage-scope-note{border:0;padding:0;background:transparent;color:#8e8588;margin:0 0 18px}.dashboard-fleet .manage-tabs,.dashboard-fleet #refresh-records,.dashboard-fleet #logout,.dashboard-fleet #discord-migration-warning{display:none!important}
.dashboard-fleet #records-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.dashboard-fleet #records-workspace:has(#record-editor:not(.hidden)){grid-template-columns:minmax(0,1fr) minmax(350px,1fr);gap:0 28px}.dashboard-fleet #add-record{grid-column:1;grid-row:1;justify-self:start;width:auto;margin:0 0 16px;padding:12px 18px;background:#20191b;border:1px solid #62404a;color:#f5e6e8}.dashboard-fleet #add-record:hover{border-color:#e63a4e}
.dashboard-fleet #admin-records{grid-column:1;grid-row:2;max-height:none;overflow:visible;margin:0;gap:8px;align-content:start}.dashboard-fleet #editor-home{display:none}.dashboard-fleet #record-editor{grid-column:2;grid-row:1 / span 3;background:#171417;border:1px solid #3d3236;padding:22px;min-width:0;align-self:start;scroll-margin-top:105px}.dashboard-fleet .editor-title{border:0;padding:0;margin:0 0 18px;font-size:19px}.dashboard-fleet #editor-form .field:first-child{margin-top:0}
.dashboard-ship-row{display:flex;gap:16px;text-align:left;background:#171517;border:1px solid #3a3034;padding:10px;min-height:90px}.dashboard-ship-row:hover,.dashboard-ship-row.selected{border-color:#a63d4c;background:#1e171a}.dashboard-ship-art{width:104px;height:70px;position:relative;overflow:hidden;background:#0f0f10;flex:none;display:flex;align-items:center;justify-content:center}.dashboard-ship-art img{width:100%;height:100%;object-fit:cover}.dashboard-ship-art img.fallback-logo{width:40px;height:40px;object-fit:contain;opacity:.65}.dashboard-ship-art .image-unavailable{display:none}.dashboard-ship-copy{display:grid;gap:4px;flex:1;min-width:0}.dashboard-ship-copy strong{font-size:15px;overflow-wrap:anywhere}.dashboard-ship-copy small{font-size:10px;color:#a69b9e;line-height:1.35;margin:0}.dashboard-ship-edit{font-size:11px;color:#e4bbc0;white-space:nowrap;padding-right:6px}.dashboard-empty{padding:30px;border:1px dashed #49383d;background:#151315;color:#aa9fa2;font-size:12px;line-height:1.8;margin:0}
.dashboard-form,.dashboard-info-card,.dashboard-notice{background:#171417;border:1px solid #3a3034;padding:24px}.dashboard-form{max-width:820px}.dashboard-form .field:first-child{margin-top:0}.dashboard-form .field>span{color:#d7cbd0}.dashboard-form textarea{min-height:150px}.dashboard-field-note{font-size:11px;line-height:1.7;color:#a69a9e;margin:24px 0}.dashboard-savebar{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#171417;border-top:1px solid #403338;padding:16px 0 0}.dashboard-savebar span{font-size:11px;color:#bcaeb2}.dashboard-savebar .btn{white-space:nowrap}
.dashboard-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dashboard-info-card{min-height:160px}.dashboard-card-label{display:block;font-size:11px;color:#a29599;margin-bottom:20px}.dashboard-info-card strong{font-size:19px}.dashboard-info-card p,.dashboard-info-card small{display:block;color:#aaa0a3;font-size:12px;line-height:1.8;margin:8px 0}.dashboard-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.dashboard-notice{max-width:760px}.dashboard-notice h2{margin-top:0}
.dashboard-login-wrap #login-panel{max-width:520px;margin:55px auto 30px;padding:35px;background:#171417;border:1px solid #44363a;border-top:2px solid #d82a40}.dashboard-login-wrap #login-panel h1{font-size:32px;margin:14px 0}.dashboard-login-wrap #login-panel p{line-height:1.9}.dashboard-view .form-error{margin-top:18px}
@media(max-width:850px){.dashboard-fleet #records-workspace:has(#record-editor:not(.hidden)){grid-template-columns:1fr}.dashboard-fleet #record-editor{grid-column:1;grid-row:3;margin-top:18px}.dashboard-account-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.site-header .personal-icon{width:40px;height:40px;padding:9px}.dashboard-view{padding-top:30px}.dashboard-breadcrumb{font-size:9px;margin-bottom:18px}.dashboard-hero{padding:20px 16px;gap:13px;flex-wrap:wrap}.dashboard-avatar{width:52px;height:52px;padding:12px}.dashboard-identity h1{font-size:25px}.dashboard-rank{margin-left:65px;max-width:100%}.dashboard-tabs{gap:22px;margin-bottom:32px}.dashboard-section-head{align-items:flex-start;flex-direction:column}.dashboard-sync{width:100%;justify-content:center}.dashboard-ship-art{width:80px;height:62px}.dashboard-ship-row{gap:10px;min-height:82px}.dashboard-ship-edit{font-size:10px}.dashboard-fleet #record-editor,.dashboard-form,.dashboard-info-card,.dashboard-notice{padding:18px}.dashboard-account-grid{grid-template-columns:1fr}.dashboard-login-wrap #login-panel{padding:24px;margin:20px auto}.dashboard-savebar{gap:8px}.dashboard-savebar .btn{padding:12px}}
@media(max-width:600px){.dashboard-rank-actions{max-width:100%;margin-left:auto}.dashboard-rank-actions .dashboard-rank{margin-left:0}}
@media(max-width:420px){.dashboard-identity{flex:1 1 calc(100% - 65px)}}
