@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #090d18;
  --panel: #111827;
  --panel-soft: #151e30;
  --border: rgba(155, 171, 197, .14);
  --text: #f3f6fc;
  --muted: #9aa8bd;
  --blue: #81a9ff;
  --blue-strong: #5684f5;
  --green: #72d6a0;
  --shadow: 0 24px 70px rgba(0, 0, 0, .26);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 11% 5%, rgba(62, 102, 202, .16), transparent 35rem),
    radial-gradient(ellipse at 90% 36%, rgba(44, 81, 150, .1), transparent 32rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.muted { color: var(--muted); }

.topbar {
  min-height: 76px;
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(155, 171, 197, .1);
}
.compact-topbar { width: min(1200px, calc(100% - 40px)); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font: 800 1rem "Manrope", sans-serif;
  letter-spacing: -.04em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: linear-gradient(140deg, #6595ff, #7d5ef7);
  box-shadow: 0 8px 22px rgba(86, 132, 245, .28);
  font: 800 .65rem "Manrope", sans-serif;
  letter-spacing: .02em;
}
.nav, .nav-actions, .button-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.button {
  min-height: 42px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: rgba(19, 28, 44, .82);
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s, border-color .18s, background .18s;
}
.button:hover { transform: translateY(-1px); border-color: rgba(129, 169, 255, .5); }
.button-primary {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, #4f7ff0, #718ff5);
  box-shadow: 0 8px 22px rgba(69, 111, 226, .22);
}
.button-primary:hover { background: linear-gradient(135deg, #5d89f7, #829dfa); }
.button-quiet { background: rgba(19, 28, 44, .5); }
.button-full { width: 100%; margin-top: 4px; }
.inline-form { display: inline-flex; }

.landing {
  width: min(1110px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 70px 0 80px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}
.hero-copy { padding: 30px 0; }
.eyebrow {
  display: inline-block;
  color: #91b0ff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1, .auth-intro h1 {
  margin: 20px 0 22px;
  font: 800 clamp(3.05rem, 6vw, 5.35rem)/.99 "Manrope", sans-serif;
  letter-spacing: -.075em;
}
.gradient-text {
  color: #91b0ff;
  background: linear-gradient(100deg, #acc4ff, #7d8ffb 65%, #b29bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy > p, .auth-intro > p {
  max-width: 560px;
  margin-bottom: 26px;
  color: #aab6ca;
  font-size: 1.04rem;
  line-height: 1.8;
}
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 20px;
  margin-top: 36px;
  color: var(--muted);
  font-size: .78rem;
}
.feature-row span { display: inline-flex; align-items: center; gap: 8px; }
.feature-dot, .online-dot, .availability i, .language-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(114, 214, 160, .48);
}
.preview-card, .auth-card, .dashboard-card, .content-card {
  border: 1px solid var(--border);
  border-radius: 19px;
  background: linear-gradient(148deg, rgba(20, 30, 49, .92), rgba(14, 21, 35, .96));
  box-shadow: var(--shadow);
}
.preview-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
}
.preview-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 220px;
  top: -140px;
  right: -40px;
  border-radius: 50%;
  background: rgba(105, 139, 244, .2);
  filter: blur(45px);
}
.preview-top { display: flex; align-items: center; justify-content: space-between; }
.preview-avatar, .avatar-fallback, .user-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #dce5ff;
  background: linear-gradient(145deg, #384e7c, #7865a8);
  font: 700 1.55rem "Manrope", sans-serif;
}
.preview-avatar {
  width: 70px;
  height: 70px;
  margin: 33px 0 15px;
  border: 4px solid #151e30;
  border-radius: 23px;
  box-shadow: 0 0 0 1px var(--border);
}
.preview-card h2 { margin-bottom: 6px; font: 700 1.35rem "Manrope", sans-serif; }
.preview-card > p { margin-bottom: 18px; font-size: .85rem; }
.preview-bio { color: #c5cfdf; font-size: .91rem; line-height: 1.7; }
.preview-project {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}
.project-icon, .social-badge, .stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  color: #9eb7ff;
  background: rgba(108, 144, 245, .12);
}
.preview-project strong, .preview-project small { display: block; }
.preview-project strong { font-size: .87rem; }
.preview-project small { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.preview-footer { display: flex; justify-content: space-between; margin-top: 23px; color: var(--muted); font-size: .72rem; }

.auth-wrap {
  width: min(1000px, calc(100% - 44px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 70px;
  align-items: center;
}
.auth-intro h1 { max-width: 520px; font-size: clamp(2.8rem, 5vw, 4.5rem); }
.auth-note { display: flex; gap: 13px; align-items: center; margin-top: 46px; }
.auth-note strong, .auth-note small { display: block; }
.auth-note strong { font-size: .89rem; }
.auth-note small { margin-top: 5px; color: var(--muted); font-size: .79rem; }
.note-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #adc0ff; background: rgba(108, 144, 245, .12); }
.auth-card { padding: 32px; }
.card-heading h2 { margin: 10px 0 7px; font: 700 1.75rem "Manrope", sans-serif; letter-spacing: -.05em; }
.card-heading p { margin-bottom: 22px; font-size: .88rem; }
.form-stack { display: grid; gap: 17px; }
.field { min-width: 0; display: grid; gap: 8px; }
.field > span { color: #cad3e1; font-size: .8rem; font-weight: 600; }
.field input, .field textarea, .input-prefix {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(155, 171, 197, .19);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: rgba(6, 11, 20, .44);
  transition: border .2s, box-shadow .2s;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .input-prefix:focus-within { border-color: #7798fa; box-shadow: 0 0 0 3px rgba(96, 132, 238, .13); }
.field input::placeholder, .field textarea::placeholder { color: #647187; }
.field small { color: #7f8da3; font-size: .72rem; }
.input-prefix { display: flex; align-items: center; gap: 8px; padding: 0 13px; color: #8e9db5; }
.input-prefix input { min-height: 42px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.input-prefix input:focus { box-shadow: none; }
.auth-switch { margin: 22px 0 0; color: var(--muted); text-align: center; font-size: .82rem; }
.auth-switch a { color: #a9bfff; font-weight: 700; }
.message-list { display: grid; gap: 9px; margin: 0 0 18px; }
.message { padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; font-size: .83rem; }
.message.error, .toast.error { color: #ffc0c0; border-color: rgba(239, 100, 100, .25); background: rgba(155, 42, 42, .15); }
.message.success, .toast.success { color: #b6f2ce; border-color: rgba(114, 214, 160, .25); background: rgba(42, 130, 84, .13); }

.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 23px 17px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: rgba(13, 19, 31, .93);
}
.sidebar .brand { padding: 0 8px; }
.workspace-label { margin: 43px 0 13px 11px; color: #708098; font-size: .64rem; font-weight: 700; letter-spacing: .13em; }
.side-nav { display: grid; gap: 5px; }
.side-nav a { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 9px; color: #94a1b5; font-size: .84rem; font-weight: 600; transition: .15s; }
.side-nav a:hover, .side-nav a.active { color: #c0d0ff; background: rgba(96, 132, 238, .12); }
.sidebar-bottom { margin-top: auto; padding: 14px 4px 2px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin: 0 5px 14px; }
.user-avatar { width: 34px; height: 34px; border-radius: 11px; font-size: .92rem; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.sidebar-user small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.signout { width: 100%; padding: 9px; border: 0; border-radius: 8px; color: #aab6c8; background: transparent; text-align: left; cursor: pointer; font-size: .8rem; }
.signout:hover { color: white; background: rgba(255, 255, 255, .045); }
.dashboard-main { width: min(1050px, 100%); margin: 0 auto; padding: 37px clamp(24px, 5vw, 66px) 55px; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.dashboard-header .eyebrow { margin-bottom: 10px; }
.dashboard-header h1 { margin: 0 0 7px; font: 700 clamp(1.55rem, 3vw, 2rem) "Manrope", sans-serif; letter-spacing: -.06em; }
.dashboard-header p:not(.eyebrow) { margin: 0; font-size: .85rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 15px; }
.stat-card { padding: 17px; border: 1px solid var(--border); border-radius: 13px; background: rgba(19, 28, 44, .68); }
.stat-icon { width: 30px; height: 30px; margin-bottom: 13px; font-size: .9rem; }
.stat-icon.violet { color: #c3a5ff; background: rgba(164, 118, 255, .11); }
.stat-icon.green { color: #86e0b0; background: rgba(114, 214, 160, .11); }
.stat-card > span:nth-child(2) { display: block; font-size: .76rem; }
.stat-card strong { display: block; margin: 5px 0 4px; font: 700 1.72rem "Manrope", sans-serif; letter-spacing: -.05em; }
.stat-card small { color: #77859a; font-size: .68rem; }
.dashboard-card { margin-bottom: 15px; padding: 24px; scroll-margin-top: 24px; }
.profile-url-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 19px; }
.profile-url-card > div { display: grid; gap: 6px; }
.profile-url { color: #d1dafa; font-size: .84rem; overflow-wrap: anywhere; }
.profile-url:hover { color: #a9bdff; }
.visibility { flex-shrink: 0; padding: 6px 9px; border-radius: 99px; font-size: .68rem; font-weight: 700; }
.is-public { color: #8be0ad; background: rgba(79, 180, 119, .11); }
.is-private { color: #ffd27c; background: rgba(209, 152, 51, .12); }
.section-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.section-heading h2 { margin: 6px 0 5px; font: 700 1.25rem "Manrope", sans-serif; letter-spacing: -.04em; }
.section-heading p { margin: 0; font-size: .8rem; }
.dashboard-card > .form-stack { gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full-width { grid-column: 1 / -1; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 4px; }
.check-field { display: inline-flex; align-items: center; gap: 9px; color: #aebbd0; font-size: .79rem; cursor: pointer; }
.check-field input { accent-color: #7194f5; width: 16px; height: 16px; }
.manage-list { display: grid; }
.manage-item { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid rgba(155, 171, 197, .1); }
.manage-item:first-child { padding-top: 0; }
.manage-item:last-child { border-bottom: 0; }
.manage-item .project-icon, .manage-item .social-badge { width: 36px; height: 36px; }
.manage-copy { min-width: 0; flex: 1; }
.manage-copy strong, .manage-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manage-copy strong { font-size: .84rem; }
.manage-copy small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.icon-link { color: #9eb6ff; font-size: 1.1rem; }
.delete-button { padding: 7px 9px; border: 1px solid var(--border); border-radius: 7px; color: #a7b1c1; background: transparent; cursor: pointer; font-size: .7rem; }
.delete-button:hover { color: #ffaaaa; border-color: rgba(239, 100, 100, .35); }
.add-form { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.add-form h3 { margin: 0; font: 600 .95rem "Manrope", sans-serif; }
.add-form .button { justify-self: start; }
.empty-state { padding: 12px 0; color: #8391a7; font-size: .82rem; }
.dashboard-footer { display: flex; justify-content: space-between; padding: 10px 2px; color: #75839a; font-size: .72rem; }
.dashboard-footer a { color: #a5b8ef; }

.public-wrap { width: min(1070px, calc(100% - 48px)); margin: 36px auto 0; }
.profile-cover {
  position: relative;
  min-height: 228px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 19px 19px 0 0;
  background: linear-gradient(112deg, #18243a, #19294a 48%, #222347);
}
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-glow { position: absolute; width: 360px; height: 230px; top: -110px; right: 8%; border-radius: 50%; background: rgba(94, 139, 255, .26); filter: blur(65px); }
.profile-identity { position: absolute; z-index: 1; right: 29px; bottom: 24px; left: 29px; display: flex; align-items: flex-end; gap: 18px; }
.avatar-image, .avatar-fallback { width: 104px; height: 104px; border: 5px solid #101727; border-radius: 28px; object-fit: cover; box-shadow: 0 12px 26px rgba(0, 0, 0, .25); }
.avatar-fallback { font-size: 2rem; }
.identity-copy { flex: 1; padding-bottom: 4px; }
.identity-copy h1 { margin: 7px 0 3px; font: 800 1.8rem "Manrope", sans-serif; letter-spacing: -.055em; }
.profile-handle { margin: 0; color: #adb9ce; font-size: .88rem; }
.availability { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 6px 9px; border: 1px solid rgba(114, 214, 160, .16); border-radius: 99px; color: #a8e6c0; background: rgba(48, 121, 80, .15); font-size: .68rem; }
.availability i { width: 6px; height: 6px; }
.website-button { margin: 0 0 6px 0; }
.public-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .78fr); gap: 17px; padding: 19px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 19px 19px; background: rgba(12, 18, 30, .65); }
.public-socials { margin: 17px 0 0; }
.public-socials .section-heading { margin-bottom: 13px; }
.public-socials .section-heading h2 { margin-bottom: 0; }
.public-main, .public-side { display: grid; align-content: start; gap: 17px; }
.content-card { padding: 21px; }
.content-card h2 { margin: 7px 0 16px; font: 700 1.1rem "Manrope", sans-serif; letter-spacing: -.035em; }
.bio-text { margin-bottom: 18px; color: #b6c1d2; font-size: .88rem; line-height: 1.75; white-space: pre-line; }
.about-details { display: flex; flex-wrap: wrap; gap: 12px 18px; padding-top: 15px; border-top: 1px solid var(--border); }
.about-details span, .about-details a { display: inline-flex; align-items: center; gap: 7px; color: #9eacc2; font-size: .74rem; overflow-wrap: anywhere; }
.detail-icon { color: #91aaff; font-style: normal; }
.content-card .section-heading { align-items: center; margin-bottom: 13px; }
.content-card .section-heading h2 { margin-bottom: 0; }
.count-badge { padding: 5px 9px; border: 1px solid var(--border); border-radius: 99px; color: #a9b8d4; font-size: .7rem; }
.public-project { padding: 15px 0; border-bottom: 1px solid rgba(155, 171, 197, .1); }
.public-project:first-child { padding-top: 4px; }
.public-project:last-child { padding-bottom: 0; border-bottom: 0; }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-heading h3 { margin: 0; font-size: .91rem; }
.project-heading h3 a { color: #a9bdff; }
.project-heading h3 a:hover { color: #d0dcff; }
.project-stars { color: #aab6c8; font-size: .74rem; }
.public-project > p { margin: 8px 0 12px; color: #9aa8bd; font-size: .78rem; line-height: 1.65; }
.project-meta { display: flex; justify-content: space-between; color: #8593a8; font-size: .68rem; }
.project-meta > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.language-dot { width: 7px; height: 7px; background: #83a2ff; box-shadow: none; }
.public-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.public-link { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid rgba(155, 171, 197, .12); border-radius: 11px; background: rgba(255, 255, 255, .02); transition: border .2s, background .2s; }
.public-link:hover { border-color: rgba(129, 169, 255, .35); background: rgba(129, 169, 255, .05); }
.public-link .social-badge { width: 32px; height: 32px; border-radius: 9px; }
.public-link > span:nth-child(2) { min-width: 0; flex: 1; }
.public-link strong, .public-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.public-link strong { font-size: .77rem; }
.public-link small { margin-top: 3px; color: #8593a8; font-size: .67rem; }
.link-arrow { color: #91aaff; }
.profile-note { padding: 17px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(130deg, rgba(88, 119, 203, .12), rgba(26, 29, 55, .3)); }
.profile-note .brand-mark { width: 28px; height: 28px; border-radius: 9px; font-size: .58rem; }
.profile-note p { margin: 13px 0 4px; font-weight: 600; font-size: .82rem; }
.profile-note small { color: var(--muted); font-size: .69rem; }
.public-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 1px; color: #77859a; font-size: .7rem; }
.public-footer .brand { font-size: .78rem; }
.public-footer .brand-mark { width: 27px; height: 27px; border-radius: 9px; font-size: .56rem; }
.error-wrap { width: min(500px, calc(100% - 40px)); margin: 18vh auto; text-align: center; }
.error-wrap h1 { margin: 13px 0; font: 800 3rem "Manrope", sans-serif; letter-spacing: -.06em; }
.error-wrap p { margin-bottom: 22px; }
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 10; width: min(360px, calc(100vw - 40px)); display: grid; gap: 8px; }
.toast { padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; background: #151e30; box-shadow: var(--shadow); font-size: .83rem; }

@media (max-width: 850px) {
  .landing { grid-template-columns: 1fr .8fr; gap: 30px; }
  .hero-copy h1 { font-size: clamp(3rem, 7vw, 4rem); }
  .auth-wrap { grid-template-columns: 1fr 390px; gap: 28px; }
  .dashboard-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .dashboard-main { padding-right: 25px; padding-left: 25px; }
  .public-grid { grid-template-columns: minmax(0, 1.3fr) minmax(220px, .8fr); padding: 13px; }
}
@media (max-width: 680px) {
  .topbar { width: calc(100% - 32px); min-height: 66px; gap: 10px; }
  .nav { display: none; }
  .topbar > .button, .nav-actions .button { min-height: 38px; padding: 8px 10px; font-size: .75rem; }
  .landing { width: calc(100% - 40px); min-height: auto; padding: 53px 0 55px; grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { margin: 16px 0; font-size: clamp(3rem, 13vw, 4.2rem); }
  .hero-copy > p { font-size: .94rem; }
  .button-row { align-items: stretch; flex-wrap: wrap; }
  .button-row .button { flex: 1; }
  .feature-row { margin-top: 25px; }
  .preview-card { padding: 22px; }
  .auth-wrap { width: calc(100% - 36px); min-height: auto; padding: 35px 0; grid-template-columns: 1fr; gap: 28px; }
  .auth-intro h1 { margin: 14px 0; font-size: 2.7rem; }
  .auth-intro > p { margin-bottom: 15px; font-size: .9rem; }
  .auth-note { display: none; }
  .auth-card { padding: 24px 20px; }
  .dashboard-shell { display: block; }
  .sidebar { position: relative; width: 100%; height: auto; padding: 12px 17px; display: block; border-right: 0; border-bottom: 1px solid var(--border); }
  .sidebar .brand { display: inline-flex; }
  .workspace-label, .sidebar-bottom { display: none; }
  .side-nav { display: flex; overflow-x: auto; margin-top: 11px; }
  .side-nav a { flex-shrink: 0; padding: 8px 10px; font-size: .74rem; }
  .dashboard-main { padding: 25px 16px 35px; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .dashboard-header > .button { align-self: flex-start; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 12px 10px; }
  .stat-card strong { font-size: 1.4rem; }
  .stat-card small { font-size: .61rem; line-height: 1.4; }
  .stat-card > span:nth-child(2) { font-size: .68rem; }
  .dashboard-card { padding: 18px 15px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .full-width { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .profile-url-card { align-items: flex-start; flex-direction: column; }
  .profile-identity { left: 17px; right: 17px; bottom: 17px; gap: 12px; flex-wrap: wrap; }
  .avatar-image, .avatar-fallback { width: 78px; height: 78px; border-radius: 22px; }
  .identity-copy h1 { font-size: 1.45rem; }
  .identity-copy { min-width: 150px; }
  .website-button { margin-left: auto; }
  .profile-cover { min-height: 220px; }
  .public-wrap { width: calc(100% - 28px); margin-top: 18px; }
  .public-grid { grid-template-columns: 1fr; padding: 10px; }
  .public-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  .brand { font-size: .86rem; }
  .nav-actions { gap: 5px; }
  .nav-actions .button { padding: 8px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { display: grid; grid-template-columns: 35px 1fr; align-items: center; column-gap: 10px; }
  .stat-icon { grid-row: 1 / 4; margin: 0; }
  .stat-card strong { margin: 2px 0; }
}
