/* UI-3A premium player profile — .nxp-* route layer */

body.nxp-profile-layout {
  background: #050b14 !important;
  overflow-x: hidden;
}

body.nxp-profile-layout::before,
body.nxp-profile-layout::after {
  display: none !important;
}

body.nxp-profile-layout .noise {
  opacity: 0.03 !important;
}

body.nxp-profile-layout .site-header,
body.nxp-profile-layout .site-search,
body.nxp-profile-layout .site-footer,
body.nxp-profile-layout .ticker-rail {
  display: none !important;
}

.site-shell:has(.nxp-page) .site-header,
.site-shell:has(.nxp-page) .site-footer,
.site-shell:has(.nxp-page) .ticker-rail {
  display: none !important;
}

body.nxp-profile-layout .site-shell,
body.nxp-profile-layout .site-shell.nexus-app-shell-mode {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

body.nxp-profile-layout .route-root {
  padding: 0;
  max-width: none;
}

.nxp-page {
  min-height: 100vh;
  background: #050b14;
  padding: 28px;
  color: #f7f8ff;
  box-sizing: border-box;
}

.nxp-board {
  width: min(1480px, calc(100vw - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.96), rgba(5, 11, 20, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.nxp-sidebar {
  padding: 20px 16px;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(6, 12, 22, 0.55);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.nxp-sidebar .nexus-sidebar-inner {
  gap: 16px;
}

.nxp-sidebar .nexus-sidebar-link {
  min-height: 42px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.nxp-sidebar .nexus-sidebar-link.is-active {
  background: rgba(155, 92, 255, 0.16);
  border-color: rgba(155, 92, 255, 0.28);
  color: #f7f8ff;
}

.nxp-main {
  padding: 24px 28px 28px;
  min-width: 0;
}

.nxp-page-title {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 18px;
  background: linear-gradient(90deg, #9b5cff, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nxp-profile-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  background: rgba(5, 12, 22, 0.72);
  padding: 28px;
  display: grid;
  gap: 0;
}

.nxp-hero {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: center;
  min-height: 210px;
}

.nxp-avatar-shell {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(135deg, #9b5cff, #00e5ff);
  box-shadow: 0 0 32px rgba(155, 92, 255, 0.22);
}

.nxp-avatar-shell .profile-avatar-image,
.nxp-avatar-shell .profile-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #0a1220;
  object-fit: cover;
}

.nxp-hero-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.nxp-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nxp-display-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: #f7f8ff;
  letter-spacing: 0.02em;
}

.nxp-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 800;
}

.nxp-handle {
  margin: 0;
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.72);
}

.nxp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.86rem;
  color: rgba(203, 213, 225, 0.88);
}

.nxp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nxp-meta-link {
  color: rgba(203, 213, 225, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nxp-meta-link:hover {
  color: #fff;
  border-bottom-color: rgba(155, 92, 255, 0.6);
}

.nxp-bio {
  margin: 0;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.78);
}

.nxp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.nxp-actions .solid-button,
.nxp-actions .follow-action-button.action-button-positive {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #6320ee);
  border: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(99, 32, 238, 0.28);
}

.nxp-actions .ghost-button:not(.action-button-warning) {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: #f7f8ff;
  box-shadow: none;
}

.nxp-rank-card {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(8, 14, 26, 0.85);
  display: grid;
  gap: 8px;
  text-align: center;
  align-self: center;
}

.nxp-rank-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.nxp-rank-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: #f7f8ff;
}

.nxp-rank-region {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.85);
}

.nxp-tabs {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 14, 26, 0.55);
}

.nxp-tabs .analytics-section-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 10px;
  border: none;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  background: transparent;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.nxp-tabs .analytics-section-link:last-child {
  border-right: none;
}

.nxp-tabs .analytics-section-link.is-active {
  color: #f7f8ff;
  background: rgba(155, 92, 255, 0.14);
}

.nxp-tabs .analytics-section-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #9b5cff, #00e5ff);
  border-radius: 999px;
}

.nxp-tab-body {
  margin-top: 24px;
  min-width: 0;
}

.nxp-grid {
  display: grid;
  grid-template-columns: 280px minmax(420px, 1fr) 260px;
  gap: 22px;
  align-items: start;
}

.nxp-col {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.nxp-module {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(8, 14, 26, 0.72);
  overflow: hidden;
}

.nxp-module-head {
  padding: 16px 18px 0;
  display: grid;
  gap: 4px;
}

.nxp-module-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.92);
}

.nxp-module-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.85);
}

.nxp-module-body {
  padding: 14px 18px 18px;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.88);
}

.nxp-module-body .nexus-about-list {
  margin: 0;
}

.nxp-empty {
  margin: 0;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.9rem;
}

.nxp-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nxp-metric {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(5, 11, 20, 0.65);
  display: grid;
  gap: 4px;
}

.nxp-metric-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.nxp-metric-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f7f8ff;
}

.nxp-lock-panel {
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  background: rgba(8, 14, 26, 0.65);
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.nxp-lock-panel strong {
  font-size: 1.05rem;
  color: #f7f8ff;
}

.nxp-tab-single {
  display: grid;
  gap: 18px;
  max-width: 1120px;
}

.nxp-stats-layout {
  display: grid;
  gap: 18px;
}

.nxp-stats-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nxp-fold {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(8, 14, 26, 0.55);
  overflow: hidden;
}

.nxp-fold > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f7f8ff;
}

.nxp-fold > summary::-webkit-details-marker {
  display: none;
}

.nxp-fold-body {
  padding: 0 18px 18px;
  display: grid;
  gap: 14px;
}

/* Neutralize legacy panel visuals inside premium profile */
.nxp-page .nexus-ref-panel,
.nxp-page .route-module-card,
.nxp-page .panel.stack-panel,
.nxp-page .panel:not(.nxp-sidebar) {
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: 14px !important;
  background: rgba(5, 11, 20, 0.5) !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.nxp-page .nexus-ref-panel::before,
.nxp-page .panel::before,
.nxp-page .route-module-card::before {
  display: none !important;
}

.nxp-page .nexus-ref-panel-head {
  padding: 14px 16px 0 !important;
}

.nxp-page .nexus-ref-panel-body {
  padding: 12px 16px 16px !important;
}

.nxp-page .profile-chip-row .badge,
.nxp-page .preview-chip {
  border-radius: 8px;
  font-size: 0.72rem;
  box-shadow: none;
}

.nxp-page .nexus-profile-meta-inline .nexus-ref-meta-item {
  background: transparent;
  border: none;
  padding: 0;
}

/* UI-3A.1 precision scale pass */
.nxp-page {
  min-height: 100vh;
  padding: 8px 0 36px;
  background:
    radial-gradient(circle at 78% 12%, rgba(37, 99, 255, 0.08), transparent 34%),
    #050b14;
}

.nxp-board {
  width: min(1510px, calc(100vw - 24px));
  min-height: calc(100vh - 16px);
  grid-template-columns: 285px minmax(0, 1fr);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.98), rgba(4, 10, 19, 0.99));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nxp-sidebar {
  padding: 28px 24px 22px;
  background: linear-gradient(180deg, rgba(8, 20, 36, 0.96), rgba(4, 11, 22, 0.98));
  border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.nxp-sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 26px;
}

.nxp-sidebar .nexus-brand-lockup {
  gap: 14px;
  min-height: 70px;
  width: 100%;
}

.nxp-sidebar .nexus-brand-mark,
.nxp-sidebar .nx-logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.nxp-sidebar .nexus-wordmark,
.nxp-sidebar .nx-logo-word {
  display: block;
  font-size: 1.32rem;
  letter-spacing: 0.18em;
  color: #f7f8ff;
}

.nxp-sidebar .brand-copy,
.nxp-sidebar .nx-logo-copy {
  display: grid;
  min-width: 0;
}

.nxp-sidebar-nav {
  display: grid;
  gap: 10px;
}

.nxp-sidebar-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: rgba(226, 232, 240, 0.86);
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nxp-sidebar-link:hover {
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.nxp-sidebar-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.54), rgba(37, 99, 255, 0.32));
  border-color: rgba(155, 92, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nxp-sidebar-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nxp-sidebar-chrome {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.nxp-sidebar-user {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 17, 31, 0.82);
  color: #f7f8ff;
  text-decoration: none;
}

.nxp-sidebar-user .mini-avatar {
  width: 54px;
  height: 54px;
}

.nxp-sidebar-user-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nxp-sidebar-user-copy strong {
  font-size: 1rem;
  color: #f7f8ff;
}

.nxp-sidebar-user-copy span,
.nxp-sidebar-user-guest p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(170, 181, 199, 0.88);
}

.nxp-main {
  padding: 26px 28px 34px;
}

.nxp-page-title {
  font-size: clamp(1.75rem, 2.3vw, 2.6rem);
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  line-height: 1;
}

.nxp-profile-card {
  min-height: calc(100vh - 100px);
  border-radius: 22px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.9), rgba(4, 10, 19, 0.82)),
    rgba(8, 17, 31, 0.88);
}

.nxp-hero {
  grid-template-columns: 190px minmax(0, 1fr) 265px;
  min-height: 250px;
  gap: 34px;
}

.nxp-avatar-shell {
  width: 165px;
  height: 165px;
  padding: 5px;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.18), 0 0 34px rgba(155, 92, 255, 0.28);
}

.nxp-display-name {
  font-size: clamp(2.35rem, 3vw, 4.1rem);
  line-height: 1;
}

.nxp-verified {
  width: 30px;
  height: 30px;
  font-size: 0.92rem;
}

.nxp-handle {
  font-size: 1.35rem;
}

.nxp-meta-row {
  gap: 12px;
  font-size: 1rem;
}

.nxp-meta-chip,
.nxp-provider-chip,
.nxp-social-icon,
.nxp-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 17, 31, 0.54);
  color: rgba(247, 248, 255, 0.94);
  text-decoration: none;
}

.nxp-meta-chip {
  gap: 8px;
  padding: 0 10px;
}

.nxp-meta-dot {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2563ff 0 50%, #facc15 50% 100%);
}

.nxp-provider-chip {
  gap: 7px;
  padding: 0 10px;
}

.nxp-provider-chip span {
  font-size: 0.72rem;
  color: rgba(170, 181, 199, 0.82);
}

.nxp-provider-chip strong {
  font-size: 0.84rem;
  color: #f7f8ff;
}

.nxp-social-icon {
  width: 32px;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nxp-bio {
  font-size: 1rem;
}

.nxp-actions {
  gap: 14px;
  margin-top: 8px;
}

.nxp-actions .solid-button,
.nxp-actions .follow-action-button.action-button-positive,
.nxp-actions .ghost-button:not(.action-button-warning) {
  min-width: 156px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 1rem;
}

.nxp-rank-card {
  min-height: 185px;
  border-radius: 22px;
  padding: 24px 20px;
  align-content: center;
  gap: 16px;
}

.nxp-rank-label {
  font-size: 0.82rem;
}

.nxp-rank-value {
  font-size: 4.7rem;
}

.nxp-rank-region {
  min-width: 124px;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  border-radius: 12px;
  font-size: 0.88rem;
}

.nxp-tabs {
  margin-top: 26px;
  border-radius: 14px;
}

.nxp-tabs .analytics-section-link {
  min-height: 70px;
  font-size: 1.08rem;
}

.nxp-tabs .analytics-section-link.is-active::after {
  left: 20px;
  right: 20px;
  height: 4px;
  box-shadow: 0 0 14px rgba(155, 92, 255, 0.45);
}

.nxp-tab-body {
  margin-top: 24px;
}

.nxp-grid {
  grid-template-columns: 300px minmax(520px, 1fr) 270px;
  gap: 24px;
}

.nxp-col {
  gap: 20px;
}

.nxp-module {
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(9, 19, 35, 0.92), rgba(5, 12, 22, 0.86)),
    rgba(8, 17, 31, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nxp-module-head {
  padding: 22px 24px 0;
}

.nxp-module-title {
  position: relative;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nxp-module-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9b5cff, #00e5ff);
}

.nxp-module-note {
  padding-top: 12px;
  font-size: 0.92rem;
}

.nxp-module-body {
  padding: 22px 24px 24px;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.55;
}

.nxp-empty {
  font-size: 1rem;
}

.nxp-about-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.nxp-about-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}

.nxp-about-row dt {
  color: rgba(170, 181, 199, 0.88);
  font-size: 0.98rem;
}

.nxp-about-row dd {
  margin: 0;
  color: #f7f8ff;
  font-size: 1rem;
}

.nxp-link-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nxp-link-icon {
  width: 42px;
  height: 42px;
  font-size: 0.8rem;
  font-weight: 800;
}

.nxp-small-chip {
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(226, 232, 240, 0.92);
}

.nxp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nxp-metric-grid {
  gap: 14px;
}

.nxp-metric {
  padding: 16px;
}

.nxp-metric-label {
  font-size: 0.78rem;
}

.nxp-metric-value {
  font-size: 1.2rem;
}

.nxp-stats-layout,
.nxp-tab-single {
  gap: 20px;
  max-width: none;
}

.nxp-stats-summary {
  gap: 20px;
}

.nxp-fold > summary {
  padding: 18px 22px;
  font-size: 1rem;
}

.nxp-fold-body {
  padding: 0 22px 22px;
}

@media (max-width: 1280px) {
  .nxp-board {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .nxp-hero {
    grid-template-columns: 160px minmax(0, 1fr) 220px;
    gap: 24px;
  }

  .nxp-avatar-shell {
    width: 145px;
    height: 145px;
  }

  .nxp-grid {
    grid-template-columns: 270px minmax(360px, 1fr);
  }

  .nxp-col-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nxp-board {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 32px));
  }

  .nxp-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

  .nxp-hero {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .nxp-rank-card {
    grid-column: 1 / -1;
    max-width: 280px;
  }

  .nxp-grid,
  .nxp-stats-summary {
    grid-template-columns: 1fr;
  }

  .nxp-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nxp-page {
    padding: 12px;
  }

  .nxp-profile-card {
    padding: 18px;
  }

  .nxp-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .nxp-hero-copy {
    justify-items: center;
  }

  .nxp-meta-row,
  .nxp-actions {
    justify-content: center;
  }

  .nxp-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* UI-3A.3 profile scaling, alignment, presence, and header precision */
.nxp-page {
  min-height: 100vh;
  padding: clamp(6px, 1vw, 18px);
}

.nxp-board {
  width: min(1440px, calc(100vw - clamp(12px, 2vw, 32px)));
  min-height: auto;
  align-items: start;
  grid-template-columns: clamp(248px, 19vw, 285px) minmax(0, 1fr);
}

.nxp-sidebar {
  padding: clamp(18px, 1.6vw, 26px);
}

.nxp-sidebar-inner {
  min-height: auto;
  gap: clamp(18px, 2vw, 26px);
}

.nxp-main {
  padding: clamp(16px, 1.8vw, 28px);
}

.nxp-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.9vw, 2.15rem);
  letter-spacing: 0.2em;
  line-height: 1;
  margin: 0 0 clamp(12px, 1.3vw, 18px);
  padding: 0;
}

.nxp-profile-card {
  min-height: auto;
  padding: clamp(18px, 2vw, 30px);
}

.nxp-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: auto;
  margin: 0 0 clamp(34px, 4vw, 54px);
}

.nxp-logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: 0 0 auto;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 42%), #07101d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nxp-logo-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  line-height: 1;
}

.nxp-logo-tagline {
  margin-top: 4px;
  font-size: 0.5rem;
  letter-spacing: 0.26em;
  line-height: 1;
  color: #9fb7d6;
}

.nxp-hero {
  grid-template-columns: clamp(145px, 13vw, 175px) minmax(0, 1fr) clamp(210px, 18vw, 245px);
  gap: clamp(24px, 2.4vw, 34px);
  align-items: center;
  min-height: clamp(190px, 20vw, 230px);
}

.nxp-avatar-shell {
  position: relative;
  width: clamp(135px, 11vw, 155px);
  height: clamp(135px, 11vw, 155px);
  border-radius: 999px;
  padding: 4px;
  background: conic-gradient(from 220deg, #7c3aed, #b026ff, #2563ff, #00e5ff, #7c3aed);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.35);
}

.nxp-avatar-shell .profile-avatar-image,
.nxp-avatar-shell .profile-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  border: 4px solid #07101d;
}

.nxp-avatar-shell .profile-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.48), rgba(0, 229, 255, 0.22)), #101a2a;
}

.nxp-presence-dot {
  position: absolute;
  right: 12%;
  bottom: 8%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #22c55e;
  border: 3px solid #07101d;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.nxp-mini-avatar-wrap {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.nxp-mini-avatar-wrap .profile-mini-avatar {
  width: 100%;
  height: 100%;
}

.nxp-mini-avatar-wrap .nxp-presence-dot {
  right: 0;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-width: 2px;
}

.nxp-display-name {
  font-size: clamp(2.1rem, 3.2vw, 3.45rem);
  line-height: 1;
}

.nxp-handle {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
}

.nxp-actions .solid-button,
.nxp-actions .follow-action-button.action-button-positive,
.nxp-actions .ghost-button:not(.action-button-warning) {
  min-height: clamp(42px, 4vw, 50px);
}

.nxp-rank-card {
  width: clamp(205px, 17vw, 235px);
  min-height: clamp(145px, 15vw, 170px);
  padding: clamp(18px, 1.8vw, 22px);
}

.nxp-rank-value {
  font-size: clamp(2.8rem, 4.2vw, 3.9rem);
}

.nxp-tabs {
  margin-top: clamp(16px, 1.6vw, 22px);
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-self: start;
}

.nxp-tabs .nxp-tab,
.nxp-tabs .analytics-section-link {
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  padding: 0 14px;
  line-height: 1;
}

.nxp-tab-body {
  margin-top: clamp(14px, 1.5vw, 20px);
}

.nxp-grid {
  gap: clamp(18px, 1.7vw, 24px);
}

@media (max-width: 1280px) {
  .nxp-hero {
    grid-template-columns: clamp(132px, 13vw, 155px) minmax(0, 1fr) clamp(190px, 18vw, 220px);
    min-height: clamp(180px, 19vw, 210px);
  }

  .nxp-grid {
    grid-template-columns: minmax(240px, 0.75fr) minmax(360px, 1fr);
  }
}

@media (max-width: 900px) {
  .nxp-board,
  .nxp-hero,
  .nxp-grid {
    grid-template-columns: 1fr;
  }

  .nxp-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    height: auto;
  }
}

/* UI-3A.4 overflow, hierarchy, and readable scaling pass */
.nxp-page {
  width: 100%;
  min-height: 100vh;
  padding: clamp(8px, 1.1vw, 22px);
  overflow-x: hidden;
}

.nxp-board {
  width: min(1680px, calc(100vw - clamp(16px, 2vw, 44px)));
  margin: 0 auto;
  grid-template-columns: clamp(300px, 18vw, 340px) minmax(0, 1fr);
}

.nxp-main {
  min-width: 0;
  width: 100%;
  padding: clamp(18px, 1.65vw, 28px);
}

.nxp-page-title {
  font-size: clamp(1.25rem, 1.55vw, 1.85rem);
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 14px;
}

.nxp-profile-card,
.nxp-tab-body,
.nxp-grid,
.nxp-grid > *,
.nxp-card,
.nxp-module,
.nxp-profile-col,
.nxp-col {
  min-width: 0;
  box-sizing: border-box;
}

.nxp-profile-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.nxp-tab-body {
  overflow: hidden;
}

.nxp-grid {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(220px, 270px);
  gap: clamp(16px, 1.4vw, 24px);
}

.nxp-card,
.nxp-rank-card,
.nxp-profile-card,
.nxp-profile-card * {
  overflow-wrap: anywhere;
}

.nxp-page .nxp-sidebar.panel,
.nxp-sidebar {
  padding: 22px 24px;
}

.nxp-logo-lockup {
  margin: 0 0 42px;
  gap: 14px;
  align-items: center;
}

.nxp-logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

.nxp-logo-word {
  font-size: 1.45rem;
  letter-spacing: 0.25em;
}

.nxp-logo-tagline {
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  margin-top: 4px;
}

.nxp-avatar-frame,
.nxp-user-avatar-wrap {
  position: relative;
  border-radius: 999px;
  flex: 0 0 auto;
}

.nxp-avatar-frame {
  width: clamp(135px, 11vw, 155px);
  height: clamp(135px, 11vw, 155px);
  padding: 4px;
  background: conic-gradient(from 220deg, #7c3aed, #b026ff, #2563ff, #00e5ff, #7c3aed);
}

.nxp-avatar-frame .profile-avatar-image,
.nxp-avatar-frame .profile-avatar-fallback,
.nxp-user-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.nxp-avatar-frame .profile-avatar-image,
.nxp-avatar-frame .profile-avatar-fallback {
  border: 4px solid #07101d;
}

.nxp-presence-dot {
  right: 9%;
  bottom: 8%;
  width: 15px;
  height: 15px;
  border: 3px solid #07101d;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
  z-index: 2;
}

.nxp-user-avatar-wrap {
  width: 46px;
  height: 46px;
}

.nxp-presence-dot--small {
  width: 11px;
  height: 11px;
  border-width: 2px;
  right: -1px;
  bottom: 1px;
}

.nxp-sidebar-user {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 66px;
}

.nxp-user-popover-row {
  grid-template-columns: 46px minmax(0, 1fr);
}

.nxp-module {
  border-color: rgba(130, 150, 180, 0.16);
  background:
    linear-gradient(180deg, rgba(9, 18, 34, 0.9), rgba(5, 11, 21, 0.78)),
    rgba(8, 17, 31, 0.82);
}

.nxp-module-head {
  padding: clamp(16px, 1.4vw, 21px) clamp(18px, 1.6vw, 24px) 0;
}

.nxp-module-title,
.nxp-card-title,
.nxp-card h3 {
  font-size: clamp(1.05rem, 1.15vw, 1.35rem);
  font-weight: 750;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #eef4ff;
}

.nxp-module-title::after {
  width: 34px;
  height: 2px;
  opacity: 0.9;
}

.nxp-module-note,
.nxp-card-kicker,
.nxp-metric-label,
.nxp-rank-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa3bd;
}

.nxp-module-body,
.nxp-card-body,
.nxp-card p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #b9c6d8;
}

.nxp-empty {
  color: #8fa3bd;
  font-size: 0.94rem;
  line-height: 1.5;
}

.nxp-metric-grid {
  gap: 10px;
}

.nxp-metric {
  padding: 13px 14px;
  background: rgba(3, 9, 18, 0.52);
  border-color: rgba(130, 150, 180, 0.13);
}

.nxp-metric-value {
  font-size: 1.25rem;
  font-weight: 800;
}

.nxp-stats-layout {
  gap: clamp(16px, 1.35vw, 22px);
}

.nxp-stats-summary,
.nxp-stats-summary-row {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(16px, 1.35vw, 22px);
  align-items: start;
}

.nxp-stats-summary > *,
.nxp-stats-major,
.nxp-fold,
.nxp-fold-body,
.nexus-provider-rail,
.nexus-ref-metric-grid,
.faceit-source-grid {
  min-width: 0;
  max-width: 100%;
}

.nxp-stats-major {
  display: grid;
  gap: 14px;
}

.nxp-stats-sections {
  display: grid;
  gap: 12px;
}

.nxp-fold {
  border-color: rgba(130, 150, 180, 0.15);
  background: rgba(5, 12, 22, 0.62);
}

.nxp-fold > summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.nxp-fold-secondary {
  opacity: 0.92;
}

@media (max-width: 1250px) {
  .nxp-grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }

  .nxp-profile-col--right,
  .nxp-col-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nxp-stats-summary,
  .nxp-stats-summary-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .nxp-board,
  .nxp-grid,
  .nxp-profile-col--right,
  .nxp-col-right {
    grid-template-columns: 1fr;
  }
}

/* UI-3A.5 profile tab scale, sidebar alignment, and responsive width fix */
.nxp-page {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  padding: clamp(6px, 0.9vw, 16px);
  overflow-x: hidden;
}

.nxp-board {
  width: min(1760px, calc(100vw - clamp(12px, 1.4vw, 28px)));
  max-width: none;
  margin: 0 auto;
  grid-template-columns: 285px minmax(0, 1fr);
  align-items: start;
}

.nxp-main {
  min-width: 0;
  width: 100%;
  padding: clamp(14px, 1.35vw, 24px);
  padding-top: 24px;
}

.nxp-page-title {
  font-size: clamp(1.05rem, 1.25vw, 1.55rem);
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
}

.nxp-main > .nxp-page-title {
  display: none;
}

.nxp-page-title--sidebar {
  font-family: "Orbitron", Inter, system-ui, sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 1.05rem);
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 16px;
  padding: 0;
  text-align: left;
  background: linear-gradient(90deg, #9b5cff, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.nxp-profile-card {
  width: 100%;
  max-width: 100%;
  min-height: auto;
  margin-top: 0;
}

.nxp-sidebar {
  width: 285px;
  padding: 22px 22px 24px;
}

.nxp-sidebar-inner {
  min-height: calc(100vh - clamp(44px, 3.6vw, 64px));
  gap: 0;
}

.nxp-sidebar-header {
  margin-bottom: 34px;
}

.nxp-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.nxp-logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.nxp-logo-word {
  font-family: "Orbitron", Inter, system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1;
  color: #f7f8ff;
}

.nxp-logo-tagline {
  margin-top: 4px;
  font-size: 0.48rem;
  letter-spacing: 0.23em;
  line-height: 1;
  color: #9fb7d6;
}

.nxp-sidebar-nav {
  margin-top: 0;
  display: grid;
  gap: 10px;
}

.nxp-sidebar-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-radius: 10px;
  background: transparent;
  border-color: transparent;
}

.nxp-sidebar-link > span {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
}

.nxp-sidebar-link.is-active {
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(155, 92, 255, 0.26);
  box-shadow: inset 3px 0 0 rgba(0, 229, 255, 0.7);
}

.nxp-sidebar-link.ui-placeholder::after {
  content: "Later";
  position: static;
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.07);
  color: #8fa3bd;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.nxp-sidebar-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.nxp-sidebar-chrome {
  margin-top: auto;
  padding-top: 16px;
}

.nxp-user-tile,
.nxp-sidebar-user {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
}

.nxp-user-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: visible;
}

.nxp-user-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.nxp-presence-dot--small {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid #07101d;
  background: #22c55e;
  z-index: 3;
}

.nxp-user-menu-dots {
  justify-self: end;
}

.nxp-avatar-frame {
  position: relative;
  overflow: visible;
}

.nxp-avatar-frame .nxp-presence-dot {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 3px solid #07101d;
  background: #22c55e;
  z-index: 4;
}

.nxp-tabs {
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(5, 12, 22, 0.55);
}

.nxp-tab,
.nxp-tabs .analytics-section-link {
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: none;
  background: transparent;
  border: 0;
  color: rgba(203, 213, 225, 0.76);
  position: relative;
}

.nxp-tab.is-active,
.nxp-tabs .analytics-section-link.is-active {
  background: rgba(124, 58, 237, 0.14);
  color: #f7f8ff;
}

.nxp-tab.is-active::after,
.nxp-tabs .analytics-section-link.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9b5cff, #00e5ff);
  box-shadow: 0 0 8px rgba(155, 92, 255, 0.28);
}

.nxp-tab-body {
  margin-top: 18px;
}

.nxp-card-title,
.nxp-card h3 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-transform: none;
}

.nxp-module-title {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-transform: none;
}

.nxp-label,
.nxp-metric-label,
.nxp-card-kicker,
.nxp-module-note {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8fa3bd;
}

.nxp-value,
.nxp-metric-value {
  font-size: 1rem;
  font-weight: 800;
  color: #f7f8ff;
}

.nxp-empty,
.nxp-card p {
  color: #95a8bf;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1280px) {
  .nxp-board {
    grid-template-columns: 265px minmax(0, 1fr);
  }

  .nxp-sidebar {
    width: 265px;
  }
}

@media (max-width: 900px) {
  .nxp-board {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 24px));
  }

  .nxp-sidebar {
    width: 100%;
  }

  .nxp-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .nxp-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* UI-3A.10 hard sidebar/main frame lock — reference-aligned board */
.nxp-page {
  padding: 12px !important;
}

.nxp-board {
  display: grid !important;
  grid-template-columns: 285px minmax(0, 1fr) !important;
  column-gap: 16px !important;
  row-gap: 0 !important;
  align-items: stretch !important;
  width: min(1760px, calc(100vw - 24px)) !important;
  margin: 0 auto !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 28% 0%, rgba(37, 99, 255, 0.07), transparent 34%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.98), rgba(4, 10, 18, 0.98)) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34) !important;
}

.nxp-page .nxp-sidebar.panel,
.nxp-page .nxp-sidebar.nexus-surface,
.nxp-sidebar {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  grid-column: 1;
  grid-row: 1;
  width: auto !important;
  max-width: none !important;
  min-height: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 22px 18px 20px 20px !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(5, 12, 22, 0.48) !important;
  box-shadow: none !important;
}

.nxp-page .nxp-sidebar.panel::before,
.nxp-page .nxp-sidebar.panel::after {
  display: none !important;
}

.nxp-sidebar-inner {
  min-height: 100% !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.nxp-sidebar-header {
  margin-bottom: 28px !important;
}

.nxp-sidebar-nav {
  flex: 0 0 auto !important;
}

.nxp-sidebar-chrome {
  margin-top: auto !important;
}

.nxp-user-menu-wrap,
.nxp-sidebar-user {
  margin-top: 12px !important;
}

.nxp-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 22px 18px 20px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

.nxp-profile-card {
  flex: 1 1 auto !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.nxp-hero {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.nxp-tabs {
  margin-top: 0 !important;
}

@media (max-width: 1280px) {
  .nxp-board {
    grid-template-columns: 265px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .nxp-board {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
  }

  .nxp-sidebar {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }

  .nxp-main {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding-left: 0 !important;
  }

  .nxp-sidebar-inner {
    min-height: auto;
  }
}

/* UI-3A.12 reference mock parity — S1mple target layout */
body.nxp-profile-layout {
  background: #050b14 !important;
}

.nxp-page {
  min-height: 100vh !important;
  padding: 8px 12px 20px !important;
  background: #050b14 !important;
}

.nxp-board {
  display: grid !important;
  grid-template-columns: 268px minmax(0, 1fr) !important;
  column-gap: 18px !important;
  row-gap: 0 !important;
  align-items: stretch !important;
  width: min(1480px, calc(100vw - 40px)) !important;
  min-height: min(1080px, calc(100vh - 24px)) !important;
  margin: 0 auto !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 24% 0%, rgba(37, 99, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(4, 10, 18, 0.99)) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38) !important;
}

.nxp-page .nxp-sidebar.panel,
.nxp-page .nxp-sidebar.nexus-surface,
.nxp-sidebar {
  grid-column: 1 !important;
  grid-row: 1 !important;
  padding: 20px 16px 18px 18px !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: 0 !important;
  background: rgba(4, 10, 20, 0.52) !important;
  box-shadow: none !important;
}

.nxp-page-title--sidebar {
  margin: 0 0 10px !important;
  font-family: "Orbitron", Inter, system-ui, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  line-height: 1 !important;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.nxp-sidebar-header {
  margin-bottom: 22px !important;
}

.nxp-logo-lockup {
  gap: 12px !important;
  margin: 0 !important;
}

.nxp-logo-mark {
  width: 46px !important;
  height: 46px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nxp-logo-word {
  font-size: 1.18rem !important;
  letter-spacing: 0.2em !important;
}

.nxp-logo-tagline {
  font-size: 0.48rem !important;
  letter-spacing: 0.22em !important;
  margin-top: 3px !important;
  color: rgba(159, 183, 214, 0.88) !important;
}

.nxp-sidebar-nav {
  gap: 8px !important;
}

.nxp-sidebar-link {
  min-height: 40px !important;
  padding: 0 12px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: rgba(203, 213, 225, 0.82) !important;
}

.nxp-sidebar-link.is-active {
  color: #ffffff !important;
  border-color: rgba(155, 92, 255, 0.38) !important;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.48), rgba(37, 99, 255, 0.2)) !important;
  box-shadow: inset 3px 0 0 #22d3ee !important;
}

.nxp-sidebar-user,
.nxp-user-tile {
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(6, 12, 22, 0.72) !important;
  border-radius: 12px !important;
}

.nxp-main {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 20px 18px 18px 0 !important;
  margin: 0 !important;
}

.nxp-profile-card {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nxp-hero {
  display: grid !important;
  grid-template-columns: 156px minmax(0, 1fr) minmax(210px, 228px) !important;
  gap: 22px 24px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 0 0 18px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
}

.nxp-avatar-shell,
.nxp-avatar-shell.profile-avatar-shell {
  width: 148px !important;
  height: 148px !important;
  padding: 4px !important;
  align-self: start !important;
}

.nxp-display-name {
  font-size: clamp(2rem, 2.35vw, 2.75rem) !important;
  line-height: 1.02 !important;
}

.nxp-handle {
  font-size: 0.98rem !important;
  color: rgba(203, 213, 225, 0.7) !important;
}

.nxp-rank-card {
  width: 100% !important;
  max-width: 228px !important;
  min-height: 142px !important;
  padding: 16px 14px !important;
  margin: 2px 0 0 auto !important;
  align-self: start !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: rgba(5, 11, 22, 0.88) !important;
}

.nxp-rank-label {
  font-size: 0.58rem !important;
  letter-spacing: 0.16em !important;
}

.nxp-rank-value {
  font-size: clamp(2rem, 2.5vw, 2.65rem) !important;
}

.nxp-tabs {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin-top: 16px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: rgba(5, 11, 20, 0.62) !important;
}

.nxp-tabs .analytics-section-link {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: rgba(203, 213, 225, 0.72) !important;
  background: transparent !important;
}

.nxp-tabs .analytics-section-link.is-active {
  color: #f7f8ff !important;
  background: rgba(124, 58, 237, 0.06) !important;
}

.nxp-tabs .analytics-section-link.is-active::after {
  left: 16% !important;
  right: 16% !important;
  bottom: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #9b5cff, #22d3ee) !important;
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.35) !important;
}

.nxp-tab-body {
  margin-top: 16px !important;
}

.nxp-grid {
  grid-template-columns: minmax(250px, 272px) minmax(0, 1fr) minmax(238px, 262px) !important;
  gap: 16px !important;
}

.nxp-module {
  border-radius: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: rgba(5, 11, 20, 0.78) !important;
}

.nxp-module-title {
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Profile hero — Nexus online presence dot */
@keyframes nxp-presence-online-glow {
  0%,
  100% {
    background-color: #22c55e;
    box-shadow:
      0 0 0 2px rgba(34, 197, 94, 0.55),
      0 0 8px 2px rgba(34, 197, 94, 0.45),
      0 0 18px 4px rgba(34, 197, 94, 0.28);
  }

  50% {
    background-color: #4ade80;
    box-shadow:
      0 0 0 3px rgba(134, 239, 172, 0.8),
      0 0 14px 5px rgba(34, 197, 94, 0.72),
      0 0 32px 10px rgba(34, 197, 94, 0.48);
  }
}

@keyframes nxp-presence-online-halo {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.45);
  }
}

.nxp-avatar-shell .nxp-presence-dot:not(.nxp-presence-dot--small),
.nxp-avatar-frame .nxp-presence-dot:not(.nxp-presence-dot--small) {
  width: 20px;
  height: 20px;
  right: 8px;
  bottom: 10px;
  border: 3px solid #07101d;
  border-radius: 999px;
  background-color: #22c55e;
  z-index: 5;
  animation: nxp-presence-online-glow 3.6s ease-in-out infinite;
}

.nxp-avatar-shell .nxp-presence-dot:not(.nxp-presence-dot--small)::after,
.nxp-avatar-frame .nxp-presence-dot:not(.nxp-presence-dot--small)::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.55) 0%, rgba(34, 197, 94, 0) 72%);
  z-index: -1;
  pointer-events: none;
  animation: nxp-presence-online-halo 3.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nxp-avatar-shell .nxp-presence-dot:not(.nxp-presence-dot--small),
  .nxp-avatar-frame .nxp-presence-dot:not(.nxp-presence-dot--small) {
    animation: none;
    box-shadow:
      0 0 0 2px rgba(34, 197, 94, 0.55),
      0 0 10px 3px rgba(34, 197, 94, 0.45);
  }

  .nxp-avatar-shell .nxp-presence-dot:not(.nxp-presence-dot--small)::after,
  .nxp-avatar-frame .nxp-presence-dot:not(.nxp-presence-dot--small)::after {
    animation: none;
    opacity: 0.45;
    transform: scale(1.2);
  }
}
