
/* MobilePro Home — persistent profile-first surface, shared with /profil data */
.home-profile-card { margin: 0 0 10px; overflow: hidden; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(21, 32, 51, .08); }
.home-profile-card[hidden] { display: none; }
.home-profile-cover { position: relative; height: 220px; overflow: hidden; background: linear-gradient(135deg, #dbeafe 0%, #c4b5fd 48%, #fbcfe8 100%); }
.home-profile-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 21, 43, .08), rgba(10, 21, 43, .38)); }
.home-profile-cover img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.home-profile-cover-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; background: rgba(15, 23, 42, .58); box-shadow: 0 5px 18px rgba(0,0,0,.18); backdrop-filter: blur(12px); cursor: pointer; }
.home-profile-cover-btn span { display: none; }
.home-profile-cover-btn input { display: none; }
.home-profile-cover-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-profile-content { position: relative; padding: 0 16px 18px; }
.home-profile-avatar-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: -58px; position: relative; z-index: 4; }
.home-profile-avatar-button { position: relative; flex: 0 0 auto; width: 116px; height: 116px; padding: 0; border: 5px solid var(--card); border-radius: 50%; background: linear-gradient(135deg, #dbeafe, #c4b5fd); box-shadow: 0 3px 14px rgba(15, 23, 42, .20); cursor: pointer; }
.home-profile-avatar { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; color: var(--ink); background: linear-gradient(135deg, #bfdbfe, #ddd6fe); font: 800 34px var(--font); }
.home-profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-profile-avatar-camera { position: absolute; right: -3px; bottom: -1px; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--card); border-radius: 50%; color: #fff; background: #2563eb; box-shadow: 0 3px 8px rgba(37, 99, 235, .3); }
.home-profile-avatar-camera svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-profile-thought { display: inline-flex; align-items: center; gap: 9px; margin: 12px auto 8px; padding: 9px 15px; border: 1px solid var(--border); border-radius: 24px; color: var(--muted); background: var(--card2); font: 600 14px var(--font); cursor: pointer; }
.home-profile-thought svg { width: 19px; height: 19px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-profile-copy { text-align: center; }
.home-profile-name { margin: 2px 0 0; color: var(--ink); font: 900 30px/1.1 var(--font); letter-spacing: -.03em; }
.home-profile-bio { min-height: 21px; margin: 7px 0 10px; color: var(--muted); font: 500 16px/1.35 var(--font); }
.home-profile-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px 16px; margin-top: 7px; color: var(--muted); font: 500 14px/1.35 var(--font); }
.home-profile-meta[hidden] { display: none; }
.home-profile-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.home-profile-meta-item svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-profile-stats { display: flex; gap: 24px; align-items: center; justify-content: center; margin: 9px 0 0; padding-top: 0; border-top: 0; }
.home-profile-stat { display: flex; flex-direction: column; align-items: flex-start; min-width: 58px; padding: 3px 0; border-radius: 9px; text-align: left; }
.home-profile-stat-value { color: var(--ink); font: 800 22px/1.05 var(--font); }
.home-profile-stat-label { color: var(--muted); font: 700 10px/1.1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.home-profile-card + .composer-card { margin-top: 0; }
@media (min-width: 641px) {
  .home-profile-card { max-width: 760px; margin-right: auto; margin-left: auto; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 18px 18px; }
  .home-profile-cover { height: 270px; }
  .home-profile-content { padding-right: 24px; padding-left: 24px; }
}
@media (max-width: 520px) {
  .home-profile-cover { height: 205px; }
  .home-profile-avatar-row { display: block; margin-top: -58px; }
  .home-profile-avatar-button { width: 104px; height: 104px; }
  .home-profile-name { font-size: 27px; }
  .home-profile-meta { gap: 6px 11px; font-size: 13px; }
}
@media (max-width: 380px) {
  .home-profile-avatar-button { width: 92px; height: 92px; }
  .home-profile-avatar-camera { width: 30px; height: 30px; }
}


@media (max-width: 520px) {
}

/* The own Mobile Pro profile uses the same stat rhythm as /profil. */
.profile-stats-row { display: flex; gap: 24px; align-items: center; margin: 9px 0 0; padding-top: 0; border-top: 0; }
.profile-stat-box { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 auto; min-width: 58px; padding: 3px 0; border: 0; border-radius: 9px; text-align: left; background: transparent; }
.profile-stat-box:last-child { border-right: 0; }
.profile-stat-val { color: var(--ink); font: 800 22px/1.05 var(--font); }
.profile-stat-lbl { color: var(--muted); font: 700 10px/1.1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) {
  .home-profile-stats, .profile-stats-row { justify-content: center; gap: 25px; }
}
@media (max-width: 350px) {
  .home-profile-stats, .profile-stats-row { gap: 17px; }
}
