
/* NEXORA 0.8.4 — perfil social, reglas aisladas */
.nx-profile-v2{max-width:820px;margin:0 auto 24px;min-height:70dvh;background:#08090f;color:#f7f7fb;border-radius:20px;overflow:hidden;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.nx-profile-v2 *{box-sizing:border-box}.nx-profile-v2 button{cursor:pointer}.nx-profile-v2 svg{width:21px;height:21px;flex:none}.nx-profile-top{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #ffffff0e}.nx-profile-top>strong{font-size:15px;letter-spacing:.015em}.nx-profile-dot{color:#a877ff}.nx-profile-top-right{display:flex;gap:6px}.nx-icon-btn{display:grid;place-items:center;background:transparent!important;color:#f6f4fa!important;border:0!important;width:42px;height:42px;padding:9px!important;border-radius:12px!important;box-shadow:none!important}.nx-icon-btn:hover{background:#ffffff14!important}
.nx-profile-identity{text-align:center;padding:26px 18px 6px}.nx-profile-avatar{position:relative;display:grid;place-items:center;width:102px;height:102px;margin:0 auto 14px;border-radius:50%;background:linear-gradient(140deg,#a474fa,#4721ad);border:3px solid #d0b1ff;box-shadow:0 0 0 5px #9d6cff22;font-size:40px;font-weight:800}.nx-profile-avatar-star{position:absolute;bottom:-3px;right:-3px;background:#9d5dff;color:#fff;font-size:15px;border:3px solid #08090f;border-radius:50%;width:31px;height:31px;display:grid;place-items:center}.nx-profile-identity h2{font-size:clamp(22px,5vw,29px);margin:0;font-weight:800;letter-spacing:-.04em}.nx-profile-handle{font-size:13px;color:#b7b3c3;margin:5px 0 16px}.nx-profile-bio{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;max-width:480px;margin:0 auto 6px}.nx-profile-country{font-size:12px;color:#a7a1b5;margin:4px 0 0}.nx-profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:18px 12px 16px}.nx-profile-metrics>div{display:flex;align-items:center;flex-direction:column;gap:4px;min-width:0}.nx-profile-metrics strong{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}.nx-profile-metrics span{font-size:11px;color:#aaa6b4}.nx-profile-ctas{display:flex;gap:9px;padding:0 16px 19px}.nx-profile-ctas button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;background:#24222d!important;border:1px solid #ffffff15!important;color:#fff!important;border-radius:11px!important;font-size:13px!important;font-weight:700;padding:12px 8px!important;box-shadow:none!important}.nx-profile-ctas button:first-child{background:#7944e9!important}.nx-profile-ctas svg{width:17px;height:17px}.nx-profile-tabs{display:flex;border-bottom:1px solid #ffffff1c}.nx-profile-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border:0!important;background:transparent!important;color:#9e9ba8!important;padding:13px 4px!important;border-bottom:2px solid transparent!important;border-radius:0!important;font-size:12px!important;box-shadow:none!important}.nx-profile-tabs button.active{color:white!important;border-bottom-color:#b17cff!important}.nx-profile-tabs svg{width:17px;height:17px}.nx-profile-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;background:#08090f;min-height:220px}.nx-profile-tile{position:relative;display:block;aspect-ratio:3/4.25;width:100%;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden;background:#211a30!important;color:white!important;box-shadow:none!important}.nx-tile-art,.nx-tile-art img,.nx-tile-art video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.nx-tile-text{display:flex;align-items:center;justify-content:center;padding:12px;height:100%;font-size:12px;line-height:1.4;overflow:hidden;overflow-wrap:anywhere}.nx-tile-overlay{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:4px;padding:24px 8px 8px;background:linear-gradient(transparent,#000a);font-size:11px;font-weight:700}.nx-tile-overlay svg{width:15px;height:15px}.nx-profile-empty{grid-column:1/-1;padding:55px 20px;text-align:center;color:#b3aabc;font-size:13px}
.nx-profile-backdrop:not([hidden]){position:fixed;inset:0;background:#000a;z-index:250}.nx-profile-drawer{position:fixed;top:0;right:0;bottom:0;width:min(86vw,365px);padding:25px 20px;background:#1b1b22;z-index:260;transform:translateX(105%);transition:transform .25s ease;box-shadow:-12px 0 40px #0008;overflow-y:auto}.nx-profile-drawer.open{transform:translateX(0)}.nx-drawer-head{display:flex;align-items:center;justify-content:space-between;font-size:17px;margin-bottom:27px}.nx-drawer-label{font-size:11px;color:#aaa4b5;font-weight:700;letter-spacing:.07em;margin:22px 0 9px}.nx-profile-drawer>button[data-nx-menu]{display:flex;align-items:center;gap:14px;width:100%;padding:15px 3px!important;background:none!important;border:0!important;border-bottom:1px solid #ffffff12!important;color:#fff!important;text-align:left;font-size:14px!important;border-radius:0!important;box-shadow:none!important}.nx-profile-drawer>button[data-nx-menu] svg:last-child{margin-left:auto;width:16px;color:#999}.nx-drawer-note{font-size:12px;color:#aaa;margin-top:32px}.nx-profile-edit-modal:not([hidden]){position:fixed;inset:0;display:grid;place-items:center;background:#000b;z-index:280;padding:18px}.nx-edit-dialog{width:min(100%,460px);max-height:90dvh;overflow:auto;border-radius:20px;background:#191721;padding:20px;box-shadow:0 20px 70px #0009}.nx-edit-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.nx-edit-dialog form{display:grid;gap:12px}.nx-edit-dialog label{display:grid;gap:6px;font-size:12px;color:#c5bdd4}.nx-edit-dialog input,.nx-edit-dialog textarea{width:100%;background:#0c0b11!important;color:white!important;border:1px solid #40374f!important;border-radius:10px!important;padding:12px!important}.nx-save-profile{background:#824ee9!important;color:white!important;border:0!important;border-radius:12px!important;padding:13px!important;font-weight:700}
@media(max-width:750px){.nx-profile-v2{margin:0 -12px 0;border-radius:0;min-height:calc(100dvh - 155px)}.nx-profile-top{height:55px}.nx-profile-avatar{width:90px;height:90px;font-size:35px}.nx-profile-identity{padding-top:20px}.nx-profile-metrics{margin:15px 8px}.nx-profile-metrics strong{font-size:18px}.nx-profile-metrics span{font-size:10px}.nx-profile-tabs button{font-size:11px!important}.nx-profile-gallery{padding-bottom:85px}}
@media(prefers-reduced-motion:reduce){.nx-profile-drawer{transition:none}}

/* NEXORA 0.8.5 — un único acceso a edición y fotografía de perfil */
.nx-profile-brand{display:grid;place-items:center;width:42px;height:42px;color:#ad7bff;font-size:23px}
.nx-profile-avatar{overflow:visible}.nx-avatar-photo{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.nx-photo-editor{display:flex;flex-direction:column;align-items:center;gap:9px;padding:8px 0 20px}
.nx-photo-preview{display:grid;place-items:center;width:102px;height:102px;border-radius:50%;background:linear-gradient(135deg,#985aff,#46279b);border:3px solid #b990ff;color:white;font-size:42px;font-weight:800;overflow:hidden}
.nx-photo-preview img{width:100%;height:100%;object-fit:cover}
.nx-edit-dialog .nx-photo-pick{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border:1px solid #8158c9;border-radius:999px;color:#fff;font-weight:700;cursor:pointer;background:#332149}
.nx-photo-pick svg{width:16px;height:16px}.nx-photo-editor small{font-size:11px;color:#b4a8c4}
