.pn-profile-integrated { --pn-profile-accent: var(--pn-green); overflow-x: hidden !important; }
.pn-profile-integrated .pn-dashboard-main { min-width: 0; padding: 22px clamp(18px,3vw,42px) 34px; }
.pn-profile-integrated .pn-dashboard-page { width: min(1180px,100%); margin: 0 auto; }
.pn-profile-integrated .pn-v3-sitebar,
.pn-profile-integrated .nearo-profile-nav { display: none !important; }

.pn-profile-integrated .nearo-profile-page {
  visibility: visible;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pn-text) !important;
  background: transparent !important;
  border: 0 !important;
  font-family: var(--pn-font-ui) !important;
  overflow: visible !important;
}
.pn-profile-integrated .nearo-profile-page * { box-sizing: border-box; }
.pn-profile-integrated .nearo-profile-top {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  min-height: 112px !important;
  margin: 0 0 14px !important;
  padding: 22px 24px !important;
  background: linear-gradient(135deg,rgba(139,208,95,.1),rgba(38,44,37,.92) 48%,rgba(38,44,37,.86)) !important;
  border: 1px solid var(--pn-border) !important;
  border-radius: var(--pn-radius) !important;
  box-shadow: var(--pn-shadow) !important;
}
.pn-profile-integrated .nearo-profile-identity { display: grid !important; grid-template-columns: auto minmax(0,1fr) !important; align-items: center !important; gap: 17px !important; }
.pn-profile-integrated .pn-v4-profile-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #172012;
  background: var(--pn-green);
  border-radius: 14px;
  box-shadow: inset 0 0 0 4px rgba(20,23,20,.24),0 8px 24px rgba(0,0,0,.22);
  font: 900 16px/1 var(--pn-font-mono);
  letter-spacing: -.04em;
}
.pn-profile-integrated .nearo-profile-kicker,
.pn-profile-integrated .nearo-profile-card-label,
.pn-profile-integrated .nearo-insight-title,
.pn-profile-integrated .nearo-profile-chart-title,
.pn-profile-integrated .nearo-season-profile-label,
.pn-profile-integrated .nearo-profile-section-title {
  color: var(--pn-muted-2) !important;
  font: 800 10px/1.25 var(--pn-font-mono) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.pn-profile-integrated .nearo-profile-title {
  margin: 5px 0 2px !important;
  color: var(--pn-text) !important;
  font: 800 clamp(28px,4vw,48px)/.98 var(--pn-font-mono) !important;
  letter-spacing: -.055em !important;
  white-space: nowrap !important;
}
.pn-profile-integrated .nearo-profile-sub { max-width: 620px !important; margin: 7px 0 0 !important; color: var(--pn-muted) !important; font: 13px/1.45 var(--pn-font-ui) !important; }
.pn-profile-integrated .nearo-profile-top > #profile-logout {
  align-self: start !important;
  justify-self: end !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  color: var(--pn-muted) !important;
  background: rgba(0,0,0,.14) !important;
  border-color: var(--pn-border) !important;
}
.pn-profile-integrated .nearo-profile-top > #profile-logout:hover { color: var(--pn-text) !important; border-color: var(--pn-border-strong) !important; }

.pn-profile-integrated .nearo-auth-panel,
.pn-profile-integrated .nearo-profile-setup {
  max-width: 620px !important;
  margin: 42px auto !important;
  padding: 22px !important;
  color: var(--pn-text) !important;
  background: var(--pn-surface) !important;
  border: 1px solid var(--pn-border-strong) !important;
  border-radius: var(--pn-radius) !important;
  box-shadow: var(--pn-shadow) !important;
}
.pn-profile-integrated .nearo-auth-form { display: grid !important; grid-template-columns: minmax(0,1fr) auto !important; gap: 9px !important; }
.pn-profile-integrated .nearo-auth-panel input,
.pn-profile-integrated .nearo-profile-setup input {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  color: var(--pn-text) !important;
  background: rgba(0,0,0,.2) !important;
  border: 1px solid var(--pn-border-strong) !important;
  border-radius: 8px !important;
  font: 13px var(--pn-font-mono) !important;
}
.pn-profile-integrated .nearo-button {
  min-height: 42px !important;
  padding: 0 14px !important;
  color: var(--pn-text) !important;
  background: var(--pn-surface-3) !important;
  border: 1px solid var(--pn-border-strong) !important;
  border-radius: 8px !important;
  font: 800 10px/1 var(--pn-font-mono) !important;
  text-transform: uppercase !important;
}

.pn-profile-integrated #profile-content { display: grid; gap: 13px; }
.pn-profile-integrated .nearo-level-card { min-height: 112px !important; }
.pn-profile-integrated .nearo-profile-command { min-height: 214px !important; }
.pn-profile-integrated .nearo-profile-grid { min-height: 88px !important; }
.pn-profile-integrated .nearo-trophy-card { min-height: 104px !important; }
.pn-profile-integrated .nearo-level-number,
.pn-profile-integrated .nearo-level-xp,
.pn-profile-integrated .nearo-profile-card-value { font-variant-numeric: tabular-nums !important; }
.pn-profile-integrated .nearo-level-card,
.pn-profile-integrated .nearo-profile-focus-card,
.pn-profile-integrated .nearo-profile-chart-card,
.pn-profile-integrated .nearo-profile-card,
.pn-profile-integrated .nearo-season-profile-card,
.pn-profile-integrated .nearo-trophy-card,
.pn-profile-integrated .nearo-profile-details {
  margin: 0 !important;
  padding: 17px !important;
  color: var(--pn-text) !important;
  background: var(--pn-surface) !important;
  border: 1px solid var(--pn-border) !important;
  border-radius: 11px !important;
  box-shadow: none !important;
}
.pn-profile-integrated .nearo-level-card { padding: 20px 22px !important; border-top: 2px solid var(--pn-green) !important; background: linear-gradient(120deg,rgba(139,208,95,.075),var(--pn-surface) 42%) !important; }
.pn-profile-integrated .nearo-level-row { display: grid !important; grid-template-columns: auto minmax(0,1fr) auto !important; align-items: center !important; gap: 16px !important; }
.pn-profile-integrated .nearo-level-number { color: var(--pn-green) !important; font: 900 clamp(25px,3.2vw,38px)/1 var(--pn-font-mono) !important; white-space: nowrap !important; }
.pn-profile-integrated .nearo-level-title { margin-top: 3px !important; color: var(--pn-text) !important; font: 800 16px/1.2 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-level-meta { margin-top: 3px !important; color: var(--pn-muted) !important; font-size: 12px !important; }
.pn-profile-integrated .nearo-level-xp { color: var(--pn-text) !important; font: 800 13px/1 var(--pn-font-mono) !important; white-space: nowrap !important; }
.pn-profile-integrated .nearo-level-bar { height: 7px !important; margin-top: 15px !important; overflow: hidden !important; background: rgba(255,255,255,.07) !important; border: 0 !important; border-radius: 999px !important; }
.pn-profile-integrated .nearo-level-fill { height: 100% !important; background: var(--pn-green) !important; border-radius: inherit !important; transition: width .4s ease !important; }

/* Personal Luxembourg mastery map */
.pn-profile-integrated .nearo-mastery-map-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--pn-text);
  background: linear-gradient(145deg,rgba(139,208,95,.055),transparent 32%),var(--pn-surface);
  border: 1px solid var(--pn-border);
  border-top: 2px solid var(--pn-green);
  border-radius: 11px;
}
.pn-profile-integrated .nearo-mastery-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 21px 17px;
  border-bottom: 1px solid var(--pn-border);
}
.pn-profile-integrated .nearo-mastery-map-head h2 {
  margin: 4px 0 0;
  color: var(--pn-text);
  font: 900 clamp(22px,2.8vw,34px)/1.04 var(--pn-font-mono);
  letter-spacing: -.045em;
}
.pn-profile-integrated .nearo-mastery-map-head p {
  max-width: 690px;
  margin: 7px 0 0;
  color: var(--pn-muted);
  font: 12px/1.45 var(--pn-font-ui);
}
.pn-profile-integrated .nearo-mastery-data-state {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 6px 9px;
  color: var(--pn-muted);
  background: rgba(0,0,0,.16);
  border: 1px solid var(--pn-border);
  border-radius: 999px;
  font: 800 8px/1 var(--pn-font-mono);
  letter-spacing: .06em;
  white-space: nowrap;
  text-transform: uppercase;
}
.pn-profile-integrated .nearo-mastery-summary {
  display: grid;
  grid-template-columns: minmax(220px,1.35fr) repeat(3,minmax(110px,.65fr));
  border-bottom: 1px solid var(--pn-border);
}
.pn-profile-integrated .nearo-mastery-summary-cell {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 92px;
  padding: 15px 18px;
  border-right: 1px solid var(--pn-border);
}
.pn-profile-integrated .nearo-mastery-summary-cell:last-child { border-right: 0; }
.pn-profile-integrated .nearo-mastery-summary-cell > span,
.pn-profile-integrated .nearo-mastery-detail-kicker span,
.pn-profile-integrated .nearo-mastery-place-stats span {
  color: var(--pn-muted-2);
  font: 800 8px/1.25 var(--pn-font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pn-profile-integrated .nearo-mastery-summary-cell strong {
  display: block;
  margin-top: 7px;
  color: var(--pn-text);
  font: 900 25px/1 var(--pn-font-mono);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.pn-profile-integrated .nearo-mastery-summary-cell.is-primary strong { font-size: 28px; }
.pn-profile-integrated .nearo-mastery-summary-cell strong em { color: var(--pn-green); font-style: normal; }
.pn-profile-integrated .nearo-mastery-summary-cell strong b { color: var(--pn-muted); font-weight: 700; }
.pn-profile-integrated .nearo-mastery-summary-cell small {
  margin-top: 6px;
  color: var(--pn-muted-2);
  font: 9px/1.2 var(--pn-font-mono);
}
.pn-profile-integrated .nearo-mastery-summary-cell.is-perfect strong { color: var(--pn-amber); }
.pn-profile-integrated .nearo-mastery-milestone {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 49px;
  padding: 9px 15px;
  color: var(--pn-text);
  background: linear-gradient(90deg,rgba(139,208,95,.09),rgba(139,208,95,.025));
  border-bottom: 1px solid rgba(139,208,95,.2);
}
.pn-profile-integrated .nearo-mastery-milestone[hidden] { display: none; }
.pn-profile-integrated .nearo-mastery-milestone-signal {
  width: 7px;
  height: 7px;
  background: var(--pn-green);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(139,208,95,.6);
}
.pn-profile-integrated .nearo-mastery-milestone div { display: grid; gap: 3px; min-width: 0; }
.pn-profile-integrated .nearo-mastery-milestone strong {
  color: var(--pn-green);
  font: 900 9px/1 var(--pn-font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pn-profile-integrated .nearo-mastery-milestone div span { color: var(--pn-muted); font: 10px/1.35 var(--pn-font-ui); }
.pn-profile-integrated .nearo-mastery-milestone button {
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--pn-muted);
  background: transparent;
  border: 0;
  font: 16px/1 var(--pn-font-mono);
  cursor: pointer;
}
.pn-profile-integrated .nearo-mastery-milestone button:hover { color: var(--pn-text); }
.pn-profile-integrated .nearo-mastery-progress {
  width: 100%;
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}
.pn-profile-integrated .nearo-mastery-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pn-green);
  border-radius: inherit;
  transition: width .5s ease;
}
.pn-profile-integrated .nearo-mastery-workspace {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(260px,.7fr);
  min-width: 0;
}
.pn-profile-integrated .nearo-mastery-map-panel {
  min-width: 0;
  padding: 17px;
  border-right: 1px solid var(--pn-border);
}
.pn-profile-integrated .nearo-mastery-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 31px;
  margin-bottom: 12px;
}
.pn-profile-integrated .nearo-mastery-panel-head > strong {
  color: var(--pn-text);
  font: 800 11px/1 var(--pn-font-mono);
  letter-spacing: .025em;
  white-space: nowrap;
}
.pn-profile-integrated .nearo-mastery-filters {
  display: flex;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pn-profile-integrated .nearo-mastery-filters::-webkit-scrollbar { display: none; }
.pn-profile-integrated .nearo-mastery-filters button,
.pn-profile-integrated .nearo-mastery-tools button {
  appearance: none;
  border: 1px solid var(--pn-border);
  color: var(--pn-muted);
  background: rgba(17,20,17,.9);
  border-radius: 6px;
  font: 800 8px/1 var(--pn-font-mono);
  cursor: pointer;
}
.pn-profile-integrated .nearo-mastery-filters button {
  min-height: 27px;
  padding: 0 8px;
  white-space: nowrap;
}
.pn-profile-integrated .nearo-mastery-filters button:hover,
.pn-profile-integrated .nearo-mastery-filters button.is-active {
  color: #182014;
  background: var(--pn-green);
  border-color: var(--pn-green);
}
.pn-profile-integrated .nearo-mastery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 545px;
  overflow: hidden;
  isolation: isolate;
  touch-action: none;
  background:
    linear-gradient(rgba(139,208,95,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(139,208,95,.025) 1px,transparent 1px),
    radial-gradient(circle at 50% 44%,rgba(139,208,95,.045),transparent 46%),
    #111511;
  background-size: 27px 27px,27px 27px,auto,auto;
  border: 1px solid var(--pn-border);
  border-radius: 9px;
}
.pn-profile-integrated .nearo-mastery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 48px rgba(0,0,0,.34);
}
.pn-profile-integrated .nearo-mastery-svg {
  display: block;
  width: min(92%,520px);
  height: min(500px,calc(100% - 36px));
  overflow: visible;
  cursor: grab;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.25));
  user-select: none;
  -webkit-user-select: none;
}
.pn-profile-integrated .nearo-mastery-svg:active { cursor: grabbing; }
.pn-profile-integrated .nearo-mastery-country {
  fill: #1c251b;
  stroke: rgba(154,222,104,.72);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}
.pn-profile-integrated .nearo-mastery-place {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.05;
  cursor: pointer;
  transition: opacity .18s ease,filter .18s ease,stroke-width .18s ease;
}
.pn-profile-integrated .nearo-mastery-place[data-status="undiscovered"] { fill: #273027; stroke: #485248; opacity: .58; }
.pn-profile-integrated .nearo-mastery-place[data-status="discovered"] { fill: #aab1a7; stroke: #d5d9d3; }
.pn-profile-integrated .nearo-mastery-place[data-status="established"] { fill: #719b55; stroke: #9ac878; }
.pn-profile-integrated .nearo-mastery-place[data-status="mastered"] { fill: var(--pn-green); stroke: #d2ffb5; filter: drop-shadow(0 0 2px rgba(139,208,95,.64)); }
.pn-profile-integrated .nearo-mastery-place[data-perfect="true"] { stroke: var(--pn-amber); stroke-width: 1.8; filter: drop-shadow(0 0 3px rgba(224,161,74,.68)); }
.pn-profile-integrated .nearo-mastery-place:hover,
.pn-profile-integrated .nearo-mastery-place.is-selected { stroke: #fff9d5; stroke-width: 2.1; opacity: 1; }
.pn-profile-integrated .nearo-mastery-place.is-dimmed { opacity: .07; filter: none; pointer-events: none; }
.pn-profile-integrated .nearo-mastery-tools {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 5;
  display: grid;
  gap: 4px;
}
.pn-profile-integrated .nearo-mastery-tools button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  color: var(--pn-text);
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.pn-profile-integrated .nearo-mastery-tools button:hover { color: var(--pn-green); border-color: rgba(139,208,95,.5); }
.pn-profile-integrated .nearo-mastery-tooltip {
  position: absolute;
  z-index: 6;
  max-width: 180px;
  padding: 6px 8px;
  color: var(--pn-text);
  background: rgba(13,16,13,.96);
  border: 1px solid var(--pn-border-strong);
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
  font: 800 9px/1.25 var(--pn-font-mono);
  pointer-events: none;
  transform: translate(-50%,calc(-100% - 9px));
}
.pn-profile-integrated .nearo-mastery-tooltip[hidden] { display: none; }
.pn-profile-integrated .nearo-mastery-legend {
  position: absolute;
  right: 11px;
  bottom: 10px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100% - 22px);
  gap: 5px 9px;
  padding: 6px 8px;
  color: var(--pn-muted);
  background: rgba(13,16,13,.86);
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 6px;
  font: 700 7px/1 var(--pn-font-mono);
  backdrop-filter: blur(8px);
}
.pn-profile-integrated .nearo-mastery-legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pn-profile-integrated .nearo-mastery-legend i { width: 6px; height: 6px; border-radius: 50%; }
.pn-profile-integrated .nearo-mastery-legend .is-unseen { background: #485248; }
.pn-profile-integrated .nearo-mastery-legend .is-seen { background: #c8cec5; }
.pn-profile-integrated .nearo-mastery-legend .is-established { background: #719b55; }
.pn-profile-integrated .nearo-mastery-legend .is-mastered { background: var(--pn-green); }
.pn-profile-integrated .nearo-mastery-legend .is-perfect { background: transparent; border: 1px solid var(--pn-amber); }
.pn-profile-integrated .nearo-mastery-detail {
  display: flex;
  min-width: 0;
  padding: 20px;
  flex-direction: column;
  gap: 17px;
  background: rgba(0,0,0,.08);
}
.pn-profile-integrated .nearo-mastery-detail-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pn-profile-integrated .nearo-mastery-detail-kicker b {
  padding: 4px 6px;
  color: var(--pn-green);
  background: rgba(139,208,95,.08);
  border: 1px solid rgba(139,208,95,.18);
  border-radius: 5px;
  font: 800 8px/1 var(--pn-font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pn-profile-integrated .nearo-mastery-detail h3 {
  margin: -7px 0 -10px;
  overflow-wrap: anywhere;
  color: var(--pn-text);
  font: 900 clamp(21px,2.25vw,29px)/1.06 var(--pn-font-mono);
  letter-spacing: -.045em;
}
.pn-profile-integrated .nearo-mastery-detail > p {
  min-height: 34px;
  margin: 0;
  color: var(--pn-muted);
  font: 11px/1.5 var(--pn-font-ui);
}
.pn-profile-integrated .nearo-mastery-place-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
}
.pn-profile-integrated .nearo-mastery-place-stats > div {
  min-width: 0;
  padding: 10px;
  background: rgba(0,0,0,.14);
  border: 1px solid var(--pn-border);
  border-radius: 7px;
}
.pn-profile-integrated .nearo-mastery-place-stats strong {
  display: block;
  margin-top: 7px;
  color: var(--pn-text);
  font: 900 18px/1 var(--pn-font-mono);
  font-variant-numeric: tabular-nums;
}
.pn-profile-integrated .nearo-mastery-next-goal {
  padding: 13px;
  background: rgba(139,208,95,.045);
  border: 1px solid rgba(139,208,95,.14);
  border-radius: 8px;
}
.pn-profile-integrated .nearo-mastery-next-goal > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pn-profile-integrated .nearo-mastery-next-goal strong { color: var(--pn-text); font: 800 11px/1.25 var(--pn-font-mono); }
.pn-profile-integrated .nearo-mastery-next-goal span { color: var(--pn-green); font: 900 10px/1 var(--pn-font-mono); }
.pn-profile-integrated .nearo-mastery-next-goal p { margin: 7px 0 0; color: var(--pn-muted); font: 10px/1.45 var(--pn-font-ui); }
.pn-profile-integrated .nearo-mastery-region-list { display: grid; gap: 8px; margin-top: 10px; }
.pn-profile-integrated .nearo-mastery-region {
  display: grid;
  grid-template-columns: 51px minmax(0,1fr) 42px;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pn-profile-integrated .nearo-mastery-region > span,
.pn-profile-integrated .nearo-mastery-region > strong { color: var(--pn-muted); font: 800 8px/1 var(--pn-font-mono); }
.pn-profile-integrated .nearo-mastery-region > strong { color: var(--pn-text); text-align: right; font-variant-numeric: tabular-nums; }
.pn-profile-integrated .nearo-mastery-region.is-complete > span,
.pn-profile-integrated .nearo-mastery-region.is-complete > strong { color: var(--pn-green); }
.pn-profile-integrated .nearo-mastery-region.is-complete .nearo-mastery-progress i { box-shadow: 0 0 7px rgba(139,208,95,.42); }
.pn-profile-integrated .nearo-mastery-region .nearo-mastery-progress { height: 4px; margin: 0; }
.pn-profile-integrated .nearo-mastery-actions { display: grid; gap: 8px; margin-top: auto; }
.pn-profile-integrated .nearo-mastery-train {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: #172012;
  background: var(--pn-green);
  border: 1px solid var(--pn-green);
  border-radius: 8px;
  font: 900 10px/1 var(--pn-font-mono);
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.pn-profile-integrated .nearo-mastery-train:hover { filter: brightness(1.08); }
.pn-profile-integrated .nearo-mastery-actions small { color: var(--pn-muted-2); font: 9px/1.45 var(--pn-font-ui); }

.pn-profile-integrated .nearo-profile-command { display: grid !important; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) !important; gap: 13px !important; margin: 0 !important; }
.pn-profile-integrated .nearo-profile-focus-card { border-top: 2px solid var(--pn-green) !important; }
.pn-profile-integrated .nearo-profile-focus-title { color: var(--pn-text) !important; font: 800 16px/1.2 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-profile-next-action { margin-top: 11px !important; padding: 12px !important; background: rgba(139,208,95,.055) !important; border: 1px solid rgba(139,208,95,.15) !important; border-radius: 8px !important; }
.pn-profile-integrated .nearo-profile-next-action strong { color: var(--pn-green) !important; font: 800 13px/1.3 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-profile-next-action span,
.pn-profile-integrated .nearo-insight-list { color: var(--pn-muted) !important; font-size: 12px !important; line-height: 1.5 !important; }
.pn-profile-integrated .nearo-insight-list { margin: 9px 0 0 !important; padding-left: 18px !important; }
.pn-profile-integrated .nearo-region-bars { display: grid !important; width: 100% !important; max-width: 100% !important; gap: 9px !important; overflow: hidden !important; }
.pn-profile-integrated .nearo-region-bar { display: grid !important; grid-template-columns: 70px minmax(0,1fr) 52px !important; align-items: center !important; min-width: 0 !important; max-width: 100% !important; gap: 10px !important; color: var(--pn-muted) !important; font: 10px/1 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-region-bar-track { width: 100% !important; min-width: 0 !important; height: 6px !important; overflow: hidden !important; background: rgba(255,255,255,.07) !important; border-radius: 99px !important; }
.pn-profile-integrated .nearo-region-bar-fill { display: block !important; height: 100% !important; background: var(--pn-green) !important; border-radius: inherit !important; }

.pn-profile-integrated .nearo-profile-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 13px !important; margin: 0 !important; }
.pn-profile-integrated .nearo-profile-card { min-height: 88px !important; padding: 15px 17px !important; }
.pn-profile-integrated .nearo-profile-card-value { margin-top: 8px !important; color: var(--pn-text) !important; font: 900 25px/1 var(--pn-font-mono) !important; }

.pn-profile-integrated .nearo-season-profile-card { display: grid !important; grid-template-columns: minmax(230px,.7fr) minmax(0,1.3fr) !important; align-items: center !important; gap: 18px !important; }
.pn-profile-integrated .nearo-season-profile-title { margin-top: 4px !important; color: var(--pn-text) !important; font: 800 16px/1.25 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-season-profile-note { margin-top: 5px !important; color: var(--pn-muted) !important; font-size: 11px !important; line-height: 1.4 !important; }
.pn-profile-integrated .nearo-season-profile-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
.pn-profile-integrated .nearo-season-profile-stat { min-width: 0 !important; padding: 11px 13px !important; background: rgba(0,0,0,.14) !important; border: 1px solid var(--pn-border) !important; border-radius: 8px !important; }
.pn-profile-integrated .nearo-season-profile-main { display: flex !important; align-items: baseline !important; justify-content: space-between !important; gap: 9px !important; margin-top: 7px !important; }
.pn-profile-integrated .nearo-season-profile-rank { color: var(--pn-green) !important; font: 900 21px/1 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-season-profile-points { color: var(--pn-text) !important; font: 800 12px/1 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-season-profile-breakdown { margin-top: 7px !important; color: var(--pn-muted-2) !important; font: 9px/1.35 var(--pn-font-mono) !important; }

.pn-profile-integrated .nearo-trophy-card { border-top: 2px solid var(--pn-amber) !important; }
.pn-profile-integrated .nearo-trophy-featured { margin: 13px 0 !important; padding: 12px !important; background: rgba(224,161,74,.055) !important; border: 1px solid rgba(224,161,74,.2) !important; border-radius: 8px !important; }
.pn-profile-integrated .nearo-trophy-icon { color: var(--pn-amber) !important; }
.pn-profile-integrated .nearo-trophy-title { color: var(--pn-text) !important; font: 800 13px/1.3 var(--pn-font-mono) !important; }
.pn-profile-integrated .nearo-trophy-meta,
.pn-profile-integrated .nearo-trophy-terminal-help,
.pn-profile-integrated .nearo-trophy-empty { color: var(--pn-muted) !important; font-size: 11px !important; }
.pn-profile-integrated .nearo-trophy-terminal-row { min-width: 0 !important; padding: 9px 0 !important; border-color: var(--pn-border) !important; }
.pn-profile-integrated .nearo-trophy-row-dots { color: var(--pn-muted-2) !important; overflow: hidden !important; }

.pn-profile-integrated .nearo-profile-details { padding: 0 !important; overflow: hidden !important; }
.pn-profile-integrated .nearo-profile-details summary { padding: 15px 17px !important; color: var(--pn-text) !important; background: rgba(0,0,0,.1) !important; font: 800 12px/1.2 var(--pn-font-mono) !important; cursor: pointer !important; }
.pn-profile-integrated .nearo-profile-details[open] { padding-bottom: 16px !important; }
.pn-profile-integrated .nearo-profile-details[open] > :not(summary) { margin-left: 16px !important; margin-right: 16px !important; }
.pn-profile-integrated .nearo-achievement-grid { grid-template-columns: 1fr !important; gap: 6px !important; }
.pn-profile-integrated .nearo-achievement { min-width: 0 !important; border-radius: 8px !important; }

@media (max-width: 900px) {
  .pn-profile-integrated .nearo-profile-command,
  .pn-profile-integrated .nearo-season-profile-card { grid-template-columns: 1fr !important; }
  .pn-profile-integrated .nearo-mastery-workspace { grid-template-columns: 1fr; }
  .pn-profile-integrated .nearo-mastery-map-panel { border-right: 0; border-bottom: 1px solid var(--pn-border); }
  .pn-profile-integrated .nearo-mastery-stage { min-height: 570px; }
  .pn-profile-integrated .nearo-mastery-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.8fr); align-items: start; }
  .pn-profile-integrated .nearo-mastery-detail-kicker,
  .pn-profile-integrated .nearo-mastery-detail h3,
  .pn-profile-integrated .nearo-mastery-detail > p { grid-column: 1; }
  .pn-profile-integrated .nearo-mastery-place-stats,
  .pn-profile-integrated .nearo-mastery-next-goal { grid-column: 1; }
  .pn-profile-integrated .nearo-mastery-detail > div:nth-last-child(2),
  .pn-profile-integrated .nearo-mastery-actions { grid-column: 2; }
  .pn-profile-integrated .nearo-mastery-actions { margin-top: 0; }
}
@media (max-width: 760px) {
  .pn-profile-integrated .pn-dashboard-main { padding: 12px 10px 28px !important; }
  .pn-profile-integrated .nearo-profile-top { min-height: 88px !important; padding: 15px !important; border-radius: 11px !important; }
  .pn-profile-integrated .pn-v4-profile-mark { width: 48px; height: 48px; border-radius: 11px; font-size: 13px; }
  .pn-profile-integrated .nearo-profile-title { font-size: 28px !important; }
  .pn-profile-integrated .nearo-profile-sub { font-size: 11px !important; }
  .pn-profile-integrated .nearo-profile-top > #profile-logout { font-size: 8px !important; }
  .pn-profile-integrated .nearo-level-card,
  .pn-profile-integrated .nearo-profile-focus-card,
  .pn-profile-integrated .nearo-profile-chart-card,
  .pn-profile-integrated .nearo-profile-card,
  .pn-profile-integrated .nearo-season-profile-card,
  .pn-profile-integrated .nearo-trophy-card { padding: 13px !important; }
  .pn-profile-integrated .nearo-level-row { grid-template-columns: auto minmax(0,1fr) !important; gap: 10px !important; }
  .pn-profile-integrated .nearo-level-xp { grid-column: 1 / -1 !important; font-size: 10px !important; }
  .pn-profile-integrated .nearo-profile-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 7px !important; }
  .pn-profile-integrated .nearo-profile-card { min-height: 72px !important; padding: 11px !important; }
  .pn-profile-integrated .nearo-profile-card-label { font-size: 8px !important; letter-spacing: .06em !important; }
  .pn-profile-integrated .nearo-profile-card-value { font-size: 20px !important; }
  .pn-profile-integrated .nearo-region-bar { grid-template-columns: 58px minmax(0,1fr) 44px !important; gap: 7px !important; }
  .pn-profile-integrated .nearo-season-profile-grid { grid-template-columns: 1fr 1fr !important; }
  .pn-profile-integrated .nearo-mastery-map-card { border-radius: 10px; }
  .pn-profile-integrated .nearo-mastery-map-head { display: grid; gap: 10px; padding: 15px 13px; }
  .pn-profile-integrated .nearo-mastery-map-head h2 { font-size: 24px; }
  .pn-profile-integrated .nearo-mastery-map-head p { font-size: 11px; }
  .pn-profile-integrated .nearo-mastery-data-state { justify-self: start; }
  .pn-profile-integrated .nearo-mastery-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pn-profile-integrated .nearo-mastery-summary-cell { min-height: 76px; padding: 11px; border-top: 1px solid var(--pn-border); }
  .pn-profile-integrated .nearo-mastery-summary-cell.is-primary { grid-column: 1 / -1; min-height: 82px; border-top: 0; border-right: 0; }
  .pn-profile-integrated .nearo-mastery-summary-cell:nth-child(4) { border-right: 0; }
  .pn-profile-integrated .nearo-mastery-summary-cell strong { font-size: 20px; }
  .pn-profile-integrated .nearo-mastery-map-panel { padding: 11px; }
  .pn-profile-integrated .nearo-mastery-panel-head { display: grid; gap: 9px; }
  .pn-profile-integrated .nearo-mastery-filters { width: 100%; }
  .pn-profile-integrated .nearo-mastery-stage { min-height: 500px; }
  .pn-profile-integrated .nearo-mastery-svg { width: min(90%,385px); height: 445px; }
  .pn-profile-integrated .nearo-mastery-tools { top: 8px; left: 8px; }
  .pn-profile-integrated .nearo-mastery-tools button { width: 29px; height: 29px; }
  .pn-profile-integrated .nearo-mastery-legend { right: 7px; bottom: 7px; left: 7px; justify-content: center; max-width: none; }
  .pn-profile-integrated .nearo-mastery-detail { display: flex; padding: 15px 13px; gap: 14px; }
  .pn-profile-integrated .nearo-mastery-detail h3 { font-size: 24px; }
}
@media (max-width: 390px) {
  .pn-profile-integrated .nearo-auth-form { grid-template-columns: 1fr !important; }
  .pn-profile-integrated .nearo-profile-grid { grid-template-columns: 1fr 1fr !important; }
  .pn-profile-integrated .nearo-profile-grid > :last-child { grid-column: 1 / -1 !important; }
  .pn-profile-integrated .nearo-season-profile-grid { grid-template-columns: 1fr !important; }
  .pn-profile-integrated .nearo-mastery-summary-cell { padding: 9px 8px; }
  .pn-profile-integrated .nearo-mastery-summary-cell > span { font-size: 7px; letter-spacing: .05em; }
  .pn-profile-integrated .nearo-mastery-summary-cell small { font-size: 7px; }
  .pn-profile-integrated .nearo-mastery-stage { min-height: 442px; }
  .pn-profile-integrated .nearo-mastery-svg { width: min(88%,325px); height: 388px; }
  .pn-profile-integrated .nearo-mastery-legend { gap: 4px 7px; font-size: 6px; }
  .pn-profile-integrated .nearo-mastery-place-stats { gap: 4px; }
  .pn-profile-integrated .nearo-mastery-place-stats > div { padding: 8px 6px; }
  .pn-profile-integrated .nearo-mastery-place-stats span { font-size: 7px; letter-spacing: .04em; }
  .pn-profile-integrated .nearo-mastery-place-stats strong { font-size: 16px; }
}
