/* ---------- Comptes ---------- */
.acc-btn { overflow: hidden; }
.acc-av { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.acc-av.square { border-radius: 28%; }
.acc-av.mini { width: 30px; height: 30px; font-size: 12px; }
.acc-av.big { width: clamp(88px, 10vw, 128px); height: clamp(88px, 10vw, 128px); font-size: clamp(34px, 4vw, 52px); }
.verified { display: inline-grid; vertical-align: middle; color: var(--accent-text); font-size: 0.5em; translate: 0 -0.1em; }
.verified-i { color: var(--accent-text); vertical-align: -2px; }

/* connexion / inscription */
.auth { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.auth-intro { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 48px); }
.auth-perks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; font-size: 17px; }
.auth-perks li { display: flex; gap: 12px; align-items: center; }
.auth-perks i { font-size: 22px; color: var(--accent-text); }
.auth-card { padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; }
.auth-card form { display: grid; gap: 20px; }
.auth-card .seg { justify-self: start; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type-card { display: grid; gap: 8px; align-content: start; text-align: left; padding: 18px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--bg-2); transition: border-color 0.25s, background-color 0.25s, transform 0.4s var(--ease); }
.type-card i { font-size: 26px; }
.type-card b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.type-card small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.type-card:hover { border-color: var(--text); }
.type-card.on { border-color: var(--accent-text); background: color-mix(in srgb, var(--accent) 10%, var(--bg-2)); }
.type-card.on i { color: var(--accent-text); }
.company-fields { display: grid; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--bg-2); border: 1px dashed var(--line-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two-col .select, .acc-edit .select { width: 100%; height: 52px; border-radius: var(--r-sm); }
.error-line { color: var(--danger); font-size: 14px; }
.as-account { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 15px; }
.as-account i { font-size: 22px; color: var(--accent-text); }

/* mon compte */
.acc-head, .prof-head { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end; margin-bottom: 48px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.acc-main { min-width: 0; }
.acc-edit { padding: 22px; display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 32px); }
.acc-edit h3 { font-size: 22px; }
.acc-reqs { display: grid; gap: 8px; }
.acc-req { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s; }
.acc-req:hover { border-color: var(--line-2); }

/* profil public */
.prof-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.prof-facts span, .prof-facts a { display: inline-flex; align-items: center; gap: 8px; }
.prof-facts i { font-size: 18px; }
.prof-head.company { padding: clamp(20px, 3vw, 36px); border-radius: calc(var(--r) * 1.4); background: var(--surface); border: 1px solid var(--line); }
.prof-head .creator-stats { margin-top: 0; }

@media (max-width: 1080px) {
  .auth, .acc-grid { grid-template-columns: 1fr; }
  .auth-intro, .acc-edit { position: static; }
  .acc-head, .prof-head { grid-template-columns: auto 1fr; }
  .acc-head .p-actions, .prof-head .creator-stats { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .types { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .acc-head, .prof-head { grid-template-columns: 1fr; }
}

/* abonnements */
.follow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.follow-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.follow-who b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-who small { color: var(--muted); font-size: 13px; }
.prof-head .creator-stats { align-items: center; }

/* notifications */
.bell-wrap { position: relative; }
.notif-panel { position: absolute; right: -60px; top: 52px; width: min(380px, 92vw); max-height: 70vh; overflow: auto; padding: 8px; box-shadow: var(--shadow); z-index: 120; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 14px; }
.notif-head button { font-size: 13px; color: var(--muted); }
.notif { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); transition: background-color 0.2s; }
.notif:hover { background: var(--surface-2); }
.notif .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); font-size: 18px; }
.notif.unread .ic { background: var(--accent); color: var(--accent-ink); }
.notif b { display: block; font-weight: 500; font-size: 14px; line-height: 1.35; }
.notif small { color: var(--faint); font-size: 12px; }
.notif-empty { padding: 12px; font-size: 14px; }
