/* Ajouts limités aux profils ; couleurs et typographie du site conservées. */
.profile-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:44px;border:2px solid var(--teal);border-radius:100px;color:var(--teal-dark);background:var(--paper);font-size:.82rem;font-weight:900;white-space:nowrap}
.profile-link img{width:29px;height:29px;border-radius:50%;object-fit:cover}
.site-header nav{gap:20px}
.reader-transfer .profile-link{margin-right:10px}
.profiles-main{max-width:900px;padding-block:30px 70px}
.profiles-intro{display:flex;align-items:center;gap:24px;margin-bottom:22px}
.profiles-intro>img{width:130px;height:130px;object-fit:contain;flex-shrink:0;border-radius:35px;background:#fff}
.profiles-intro h1{font-size:clamp(2rem,5vw,3.6rem);margin-block:10px}
.profiles-intro p{margin-bottom:0}
.profile-note{padding:18px;border-radius:18px;background:var(--aqua);line-height:1.6;overflow-wrap:anywhere}
.profile-panel{background:var(--paper);padding:26px;border:1px solid var(--line);border-radius:24px;margin-block:22px;box-shadow:0 8px 24px #213b4d08}
.profile-panel h2{font-size:1.6rem}
.profiles-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.profile-card{border:2px solid var(--line);border-radius:18px;padding:18px;min-width:0}
.profile-card.is-current{border-color:var(--teal);background:#f2faf7}
.profile-card-head{display:flex;align-items:center;gap:12px;margin-bottom:14px;min-width:0}
.profile-card-head img{width:62px;height:62px;object-fit:contain;border-radius:50%;background:white;flex-shrink:0}
.profile-card-head strong{overflow-wrap:anywhere;display:block;font-size:1.1rem}
.profile-card small{display:block;color:var(--muted);margin-top:5px}
.profile-form{display:grid;gap:12px;max-width:520px}
.profile-form label{font-weight:900}
.profile-form input{min-width:0;width:100%;min-height:48px;padding:12px;border-radius:12px;border:2px solid var(--line);color:var(--ink);background:#fff}
.profile-actions{display:flex;flex-wrap:wrap;gap:10px}
.profile-card .profile-actions .button{padding:11px 14px;font-size:.82rem;min-height:44px}
.profile-help{font-size:.85rem;color:var(--muted);margin:14px 0 0;overflow-wrap:anywhere}
.profiles-status{min-height:1.6em;line-height:1.6;font-weight:800;overflow-wrap:anywhere;color:var(--teal-dark)}
.profiles-status.is-error{color:#963428}
.profile-danger{background:#fff0e9;color:#963428;border:2px solid #e2a79d}
.profile-privacy{display:inline-block;padding:15px;font-weight:800}
.profile-panel [hidden]{display:none!important}
@media(max-width:900px){.site-header nav{gap:10px}}
@media(max-width:700px){.site-header{height:auto;min-height:89px;flex-wrap:wrap;padding-block:14px;gap:14px}.site-header nav{margin-left:auto;flex-wrap:wrap;gap:8px}.profile-link{font-size:.72rem;padding:6px 9px}.profile-link img{width:25px;height:25px}.profiles-main{width:calc(100% - 28px);padding-top:20px}.profiles-intro{gap:14px}.profiles-intro>img{width:84px;height:84px;border-radius:22px}.profiles-intro .eyebrow{font-size:.6rem}.profile-panel{padding:18px}.profiles-list{grid-template-columns:1fr}.profile-actions>.button{max-width:100%;white-space:normal}.profile-note{padding:15px}.profile-panel .button{min-height:48px}.reader-transfer{flex-wrap:wrap;gap:10px}}
@media(max-width:380px){.site-header nav{width:100%;justify-content:space-between}.profiles-intro{align-items:flex-start}.profiles-intro h1{font-size:1.8rem}.profiles-intro>img{width:65px;height:65px}.profiles-intro p{font-size:.9rem}.profiles-main>.button{width:100%}}
