.h-profile-settings-v1{color:var(--humanity-text,#f5efe5);font-family:inherit;min-width:0}
.hps-profile-entry{display:flex;justify-content:flex-end;margin:0 0 12px}
.h-profile-settings-v1 .hps-open,.h-profile-settings-v1 .hps-back{min-height:44px;padding:10px 16px;border:1px solid rgba(201,164,92,.3);border-radius:14px;background:#0e1c2c;color:#ebd29c;font:600 14px/1.3 system-ui;cursor:pointer}
.h-profile-settings-v1 .hps-back{margin-bottom:16px}
.h-profile-settings-v1 .hps-menu{display:grid;overflow:hidden;border:1px solid rgba(201,164,92,.24);border-radius:18px;background:#0c1827;margin-bottom:20px}
.h-profile-settings-v1 .hps-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:68px;padding:15px 18px;border:0;border-bottom:1px solid rgba(201,164,92,.16);border-radius:0;background:transparent;color:#f5efe5;text-align:left;font:inherit;cursor:pointer}
.h-profile-settings-v1 .hps-row:last-child{border-bottom:0}
.h-profile-settings-v1 .hps-row strong,.h-profile-settings-v1 .hps-row small{display:block;overflow-wrap:anywhere}
.h-profile-settings-v1 .hps-row strong{font-size:15px;font-weight:600}
.h-profile-settings-v1 .hps-row small{font-size:12px;line-height:1.5;color:#aabacc;margin-top:4px}
.h-profile-settings-v1 .hps-row>span:last-child{font-size:24px;color:#d8bc7b}
.h-profile-settings-v1 button:hover{background:#16283a}
.h-profile-settings-v1 button:focus-visible{outline:2px solid #ebd29c;outline-offset:-3px}
.account-view[data-view="settings"] .settings-card{scroll-margin-top:20px}
#humanidadAccountNavigation [data-account-view="settings"][hidden],[data-mas-target="settings"][hidden]{display:none!important}

/* Perfil V2: photo actions live in Editar perfil, not over the portrait. */
.account-view[data-view="profile"] .profile-v50-avatar-wrap .humanity-avatar-menu-trigger,
.account-view[data-view="profile"] .profile-v50-avatar-wrap .profile-v50-camera{display:none!important}
#profileV50Editor .profile-v2-photo-actions{display:grid;gap:0;margin:0 0 20px}
#profileV50Editor .profile-v2-photo-actions h4{margin:0;padding:0 0 9px;color:#d4af70;font:700 11px/1.4 system-ui;letter-spacing:.14em;text-transform:uppercase}
#profileV50Editor .profile-v2-media-row{display:flex;align-items:center;gap:8px;min-height:58px;border-top:1px solid rgba(212,175,112,.18)}
#profileV50Editor .profile-v2-media-row span{flex:1;min-width:0;color:#f1e9dc;font:500 14px/1.4 system-ui}
#profileV50Editor .profile-v2-media-change{flex:0 0 auto;width:auto;min-width:0;min-height:44px;padding:0 11px;border:1px solid rgba(212,175,112,.38);border-radius:10px;background:rgba(11,25,43,.65);color:#e8cc92;font:650 12px/1 system-ui;cursor:pointer}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-change:not(.profile-v2-media-preview){box-sizing:border-box;appearance:none;-webkit-appearance:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;font-synthesis:none;text-align:center;min-width:0;min-height:44px;padding:0 11px;border:1px solid rgba(212,175,112,.38);border-radius:10px;background:rgba(11,25,43,.65);color:#e8cc92;white-space:normal;cursor:pointer}
#profileV50Editor [data-humanity-profile-avatar-remove][hidden]{display:none!important}
@media(max-width:680px){.account-view[data-view="profile"] .profile-v50-cover{height:255px!important;background-position:center 38%}}

/* Unified compact identity controls: identical layout for avatar and cover. */
#profileV50Editor .profile-v2-photo-actions{gap:0;margin-bottom:18px}
#profileV50Editor .profile-v2-media-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px 0!important;min-height:0!important;align-items:center!important}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-preview{grid-column:1!important;grid-row:1!important;justify-self:start;width:58px!important;min-width:58px!important;height:58px!important;padding:0!important;border-radius:14px!important}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-preview[data-kind="cover"]{width:94px!important;min-width:94px!important;border-radius:12px!important}
#profileV50Editor .profile-v2-media-row>span{grid-column:1/-1!important;grid-row:1!important;margin-left:72px!important;font:500 14px/1.4 system-ui!important}
#profileV50Editor [data-profile-cover-row]>span{margin-left:108px!important}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-change:not(.profile-v2-media-preview){grid-row:2!important;box-sizing:border-box!important;width:100%!important;min-height:44px!important;min-width:0!important;margin:0!important;padding:8px!important;border:1px solid rgba(212,175,112,.35)!important;border-radius:12px!important;background:#101f32!important;color:#e8cc92!important;font:600 12px/1.3 system-ui!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;box-shadow:none!important}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-change:not(.profile-v2-media-preview):last-of-type{grid-column:2!important;background:#111c2d!important;color:#c4cad4!important;border-color:rgba(177,192,210,.25)!important}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-change[hidden]{display:none!important}
#profileV50Editor .profile-v2-media-row>.profile-v2-media-change:focus-visible{outline:2px solid #ebd29c!important;outline-offset:2px!important}
@media(max-width:360px){#profileV50Editor .profile-v2-media-row>.profile-v2-media-change:not(.profile-v2-media-preview){font-size:11px!important}}

/* Local interface-language preference in the existing settings card. */
.humanidad-language-setting{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0;margin-top:12px}
.humanidad-language-setting>span{flex:1;font-weight:600}
.humanidad-language-setting select{width:auto;min-width:140px;max-width:100%;min-height:44px}
.humanidad-language-setting select:focus-visible{outline:2px solid #ebd29c;outline-offset:2px}
