/* Modification du profil — même compte et mêmes champs, sans migration SQL. */
#container #subContainer #pk-community form.pc-settings-form,#pk-community form.pc-settings-form{display:block;margin:0;padding:0;border:0;background:transparent;box-shadow:none;width:100%;max-width:none}
#pk-community .pc-settings-page{--ps-ink:#283c43;--ps-line:#e6edef;--ps-soft:#f1f6f3;--ps-muted:#61757d;max-width:1160px;margin:0 auto;color:var(--ps-ink)}
html[data-pk-theme=dark] #pk-community .pc-settings-page{--ps-ink:#e3edf2;--ps-line:#304753;--ps-soft:#223a32;--ps-muted:#a4b9c5}
#pk-community .pc-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
#pk-community .pc-settings-heading h2{font-size:28px!important;line-height:1.25;margin:5px 0 7px!important;letter-spacing:-.6px}
#pk-community .pc-settings-heading p{font-size:14px;line-height:1.6;color:var(--ps-muted)}
#pk-community .pc-settings-heading .pc-settings-eyebrow{font-size:11px;letter-spacing:.11em;font-weight:700;color:var(--pc-accent)}
#pk-community .pc-settings-columns{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}
#pk-community .pc-settings-fields,#pk-community .pc-settings-preview-column{min-width:0}
#pk-community .pc-settings-card{background:var(--pc-panel);border:1px solid var(--ps-line);border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 6px 22px #18374a05}
#pk-community .pc-settings-card h3{font-size:18px!important;line-height:1.35;letter-spacing:-.25px;margin:0 0 7px!important}
#pk-community .pc-settings-card p{font-size:13px;line-height:1.65;color:var(--ps-muted)}
#pk-community .pc-settings-section-heading{margin-bottom:22px}
#pk-community .pc-settings-form label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px!important;font-weight:600;line-height:1.5;margin:0 0 8px}
#pk-community .pc-settings-form label>span{font-size:12px;font-weight:400;color:var(--ps-muted)}
#pk-community .pc-settings-form input,#pk-community .pc-settings-form textarea{display:block;width:100%;max-width:100%;border:1px solid var(--ps-line);background:var(--pc-panel)!important;color:var(--ps-ink);font-family:inherit;font-size:15px;line-height:1.6;padding:11px 13px;border-radius:10px!important;margin:0;box-shadow:none}
#pk-community .pc-settings-form input::placeholder,#pk-community .pc-settings-form textarea::placeholder{color:var(--ps-muted);opacity:.85}
#pk-community .pc-settings-form input:focus,#pk-community .pc-settings-form textarea:focus{border-color:var(--pc-accent)}
#pk-community .pc-settings-form textarea{resize:vertical;min-height:140px}
#pk-community .pc-settings-counter{display:block;text-align:right;font-size:12px;color:var(--ps-muted);margin:7px 0 22px}
#pk-community .pc-settings-identity{display:flex;align-items:center;gap:14px;padding:20px 23px}
#pk-community .pc-settings-identity>.pc-avatar{width:60px;height:60px}
#pk-community .pc-settings-identity>div{flex:1;min-width:0}
#pk-community .pc-settings-identity h3{font-size:18px!important}
#pk-community .pc-settings-identity p{font-size:12px;line-height:1.5}
#pk-community .pc-settings-identity>.pc-button{font-size:12px;white-space:nowrap}
#pk-community .pc-favorite-input{position:relative}
#pk-community .pc-favorite-input input{padding-right:46px}
#pk-community .pc-favorite-input>button{position:absolute;right:4px;top:4px;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:var(--ps-muted);font-size:24px;line-height:1}
#pk-community .pc-favorite-input>button:hover{background:var(--pc-soft)}
#pk-community .pc-favorite-suggestions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:16px 0}
#pk-community .pc-favorite-suggestions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:9px 4px;border:1px solid var(--ps-line);border-radius:12px;background:var(--pc-panel);color:var(--ps-ink);font-size:10px;line-height:1.4}
#pk-community .pc-favorite-suggestions button[aria-pressed=true]{background:var(--pc-soft);border-color:var(--pc-accent);color:var(--pc-accent)}
#pk-community .pc-favorite-suggestions button:hover{background:var(--pc-bg)}
#pk-community .pc-favorite-suggestions img{width:36px;height:36px;object-fit:contain;margin:0;border:0;background:none;box-shadow:none}
#pk-community .pc-favorite-display{display:flex;align-items:center;gap:17px;padding:16px;border-radius:14px;background:#f0f6f1;min-width:0;color:var(--pc-text)}
#pk-community .pc-favorite-image{display:grid;place-items:center;width:88px;height:88px;flex:none;background:radial-gradient(circle,#ffffffad,transparent 70%);border-radius:50%}
#pk-community .pc-favorite-image img{display:block;width:88px;height:88px;object-fit:contain;max-width:100%;margin:0;border:0;background:none;box-shadow:none}
#pk-community .pc-favorite-placeholder{font-size:34px;color:var(--pc-accent)}
#pk-community .pc-favorite-display>div{min-width:0;overflow-wrap:anywhere}
#pk-community .pc-favorite-display small{display:block;font-size:11px;letter-spacing:.02em;color:var(--pc-muted);margin-bottom:4px}
#pk-community .pc-favorite-display strong{display:block;font-size:19px;line-height:1.35}
#pk-community .pc-favorite-display>div>span{display:block;font-size:12px;color:var(--pc-muted);margin-top:5px}
#pk-community .pc-favorite-display--mini{gap:10px;padding:10px;background:var(--pc-soft)}
#pk-community .pc-favorite-display--mini .pc-favorite-image,#pk-community .pc-favorite-display--mini img{width:64px;height:64px}
#pk-community .pc-favorite-display--mini strong{font-size:16px}
#pk-community .pc-settings-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
#pk-community .pc-settings-card .pc-settings-hint{font-size:12px;margin-top:18px;line-height:1.6}
#pk-community .pc-settings-save{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:3px 0 18px}
#pk-community .pc-settings-save>span{font-size:12px;color:var(--ps-muted)}
#pk-community .pc-settings-save .pc-button{font-size:14px;min-height:44px;border-radius:10px;padding:11px 18px}
#pk-community .pc-settings-save>[role=alert]{flex-basis:100%;font-size:14px;color:#a43c42;background:#fcecef;border-radius:10px;padding:12px}
#pk-community .pc-settings-preview{background:var(--pc-panel);border:1px solid var(--ps-line);border-radius:18px;overflow:hidden;margin-bottom:20px}
#pk-community .pc-settings-preview-cover{height:95px;padding:17px 19px;background:linear-gradient(115deg,#d5e9e0,#deebf1);color:#486b63;font-size:11px;letter-spacing:.04em}
#pk-community .pc-settings-preview-body{padding:0 18px 20px}
#pk-community .pc-settings-preview-person{display:flex;align-items:flex-end;gap:10px;margin-top:-24px;margin-bottom:19px;position:relative}
#pk-community .pc-settings-preview-person>.pc-avatar{width:64px;height:64px;border:4px solid var(--pc-panel)}
#pk-community .pc-settings-preview-person>div{min-width:0;flex:1;padding-top:30px}
#pk-community .pc-settings-preview-person h3{font-size:18px!important;overflow-wrap:anywhere;margin:0!important}
#pk-community .pc-settings-preview-person>div>span{font-size:11px;color:var(--ps-muted)}
#pk-community [data-preview-bio]{font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px;max-height:none}
#pk-community [data-preview-quote]{padding:0 0 0 12px;margin:0 0 18px;border:0;border-left:2px solid var(--pc-accent);color:var(--ps-muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#pk-community .pc-settings-preview-body>small{display:block;color:var(--ps-muted);font-size:11px;line-height:1.65;margin-top:16px}
#pk-community .pc-settings-account h3{font-size:15px!important}
#pk-community .pc-settings-account p{font-size:12px}
#pk-community .pc-settings-account a{display:inline-block;font-size:13px;font-weight:600;margin-top:15px}
#pk-community .pc-profile-favorite{padding:0;border:0;background:none}
html[data-pk-theme=dark] #pk-community .pc-favorite-display{background:#203d34}
html[data-pk-theme=dark] #pk-community .pc-favorite-image{background:radial-gradient(circle,#47695866,transparent 70%)}
html[data-pk-theme=dark] #pk-community .pc-settings-preview-cover{background:linear-gradient(115deg,#29483e,#263e53);color:#bdd8ce}
html[data-pk-theme=dark] #pk-community .pc-settings-save>[role=alert]{background:#452b35;color:#ffb0b6}
@media(max-width:1200px){#pk-community .pc-settings-columns{grid-template-columns:minmax(0,1fr) 250px;gap:18px}#pk-community .pc-settings-card{padding:20px}#pk-community .pc-settings-identity{flex-wrap:wrap}#pk-community .pc-settings-identity>.pc-button{margin-left:74px}#pk-community .pc-favorite-suggestions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){#pk-community .pc-settings-columns{grid-template-columns:minmax(0,1fr)}#pk-community .pc-settings-preview-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}#pk-community .pc-settings-identity>.pc-button{margin-left:auto}#pk-community .pc-favorite-suggestions{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:600px){#pk-community .pc-settings-heading h2{font-size:25px!important}#pk-community .pc-settings-heading p{font-size:13px}#pk-community .pc-settings-preview-column{display:block}#pk-community .pc-settings-codes{grid-template-columns:minmax(0,1fr)}#pk-community .pc-settings-form input,#pk-community .pc-settings-form textarea{font-size:16px}#pk-community .pc-settings-card{padding:20px 17px;border-radius:15px}#pk-community .pc-settings-identity>.pc-button{margin-left:74px}#pk-community .pc-favorite-suggestions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#pk-community .pc-favorite-suggestions button{font-size:12px;min-height:74px}#pk-community .pc-settings-save .pc-button{width:100%}#pk-community .pc-settings-heading>.pc-button{min-height:42px}#pk-community .pc-settings-save>span{font-size:12px}#pk-community .pc-settings-identity>div{min-width:140px}}
