.premium {
  --bg: #070510;
  --panel: #110c22;
  --muted: #b5adc9;
  --gold: #f2cc70;
  --green: #4ade80;
  --nx-player: #a855f7;
  --nx-context: #c084fc;
  --nx-border: #2e214d;
  background:
    radial-gradient(ellipse at 70% 9%, rgba(147, 51, 234, 0.26), transparent 44%),
    radial-gradient(ellipse at 20% 11%, rgba(107, 33, 168, 0.2), transparent 40%),
    #070510;
  color: #f5f2ff;
}
.premium main { outline: none; }
.premium [id] { scroll-margin-top: 100px; }
.premium :focus-visible { outline: 2px solid #c084fc; outline-offset: 4px; }
.premium .skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 14px 18px; background: #160f29; color: #fff; border: 1px solid #a855f7; border-radius: 8px; }
.premium .skip-link:focus { top: 12px; }

/* CONTAINER & DESKTOP SCALE */
.premium .container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.6vw, 48px);
}
@media (min-width: 1600px) {
  .premium .container {
    max-width: 1560px;
    padding-inline: 56px;
  }
}

/* HEADER */
.premium .nx-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 5, 16, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.16);
}
.premium .shell-nav {
  min-height: 82px;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.premium .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
}
.premium .brand:hover { color: #ffffff; }
.premium .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: transparent;
  clip-path: none;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.65));
}
.premium .brand-word {
  font-family: Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}
.premium .brand-word strong {
  font-weight: 800;
  background: linear-gradient(90deg, #c084fc 0%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.premium .nx-nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.premium .nx-nav-center a {
  position: relative;
  padding: 8px 0;
  color: #ccc5e0;
  transition: color 160ms ease;
}
.premium .nx-nav-center a:hover,
.premium .nx-nav-center a.is-active {
  color: #ffffff;
}
.premium .nx-nav-center a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #a855f7, #d8b4fe);
  box-shadow: 0 0 12px #a855f7;
}
.premium .nx-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.premium .nx-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 24px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.48);
  background: rgba(19, 13, 35, 0.76);
  color: #f3effb;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.premium .nx-btn-login:hover {
  border-color: #c084fc;
  background: rgba(36, 22, 66, 0.88);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}
.premium .button,
.premium .nx-btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #a855f7 0%, #7c3aed 100%);
  color: #ffffff;
  border: 1px solid rgba(216, 180, 254, 0.45);
  border-radius: 10px;
  min-height: 42px;
  padding: 9px 24px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(147, 51, 234, 0.55);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.premium .button:hover,
.premium .nx-btn-signup:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.78);
  filter: brightness(1.06);
}
.premium .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.38);
  background: rgba(18, 13, 33, 0.82);
  color: #f1ecff;
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease;
}
.premium .outline-button:hover {
  border-color: #c084fc;
  background: rgba(34, 22, 62, 0.88);
  color: #ffffff;
}

/* HERO STAGE & DECORATIONS */
.nx-hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 68% 45%, rgba(147, 51, 234, 0.22), transparent 56%),
    radial-gradient(ellipse at 22% 35%, rgba(126, 34, 206, 0.14), transparent 50%);
}
.nx-hero-banner-decor {
  position: absolute;
  left: max(0px, calc(50% - 880px));
  top: 0;
  height: clamp(480px, 38vw, 620px);
  width: auto;
  opacity: 0.68;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.92) 30%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,0.92) 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.92) 30%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,0.92) 72%, transparent 100%);
  mask-composite: intersect;
}
.nx-hero-glow {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(68px);
}
.nx-glow-left {
  width: 520px;
  height: 420px;
  left: max(-60px, calc(50% - 760px));
  top: 20px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24) 0%, transparent 72%);
}
.nx-glow-right {
  width: 820px;
  height: 600px;
  right: max(-80px, calc(50% - 820px));
  top: 0;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(107, 33, 168, 0.2) 52%, transparent 76%);
}
.nx-hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8b4fe;
  box-shadow: 0 0 10px #a855f7, 0 0 18px #c084fc;
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}
.nx-hero-particles span:nth-child(1) { top: 14%; left: 42%; }
.nx-hero-particles span:nth-child(2) { top: 8%; right: 16%; width: 5px; height: 5px; }
.nx-hero-particles span:nth-child(3) { top: 48%; left: 45%; width: 3px; height: 3px; }
.nx-hero-particles span:nth-child(4) { bottom: 26%; left: 10%; }
.nx-hero-particles span:nth-child(5) { bottom: 18%; right: 10%; width: 5px; height: 5px; }
.nx-hero-particles span:nth-child(6) { top: 28%; right: 6%; width: 3px; height: 3px; }

/* HERO GRID - BALANCED FOR LARGE DESKTOPS */
.premium-hero {
  display: grid;
  grid-template-columns: minmax(400px, 0.84fr) minmax(540px, 1.16fr);
  gap: clamp(32px, 3.2vw, 54px);
  padding-top: clamp(42px, 4.2vw, 68px);
  padding-bottom: clamp(48px, 4.8vw, 76px);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nx-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 8px;
  background: rgba(88, 28, 135, 0.32);
  border: 1px solid rgba(168, 85, 247, 0.42);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.18);
  margin-bottom: 22px;
}
.nx-dota-badge-icon {
  display: inline-flex;
  align-items: center;
}
.premium .eyebrow {
  color: #e2c8ff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin: 0;
}
.premium-hero h1 {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 22px;
}
.premium h1 em,
.premium h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #a855f7 0%, #d8b4fe 48%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.32));
}
/* HERO BRAND CARD & PROPORTIONAL GRAPHICS */
.nx-brand-hero-card {
  width: 100%;
  max-width: 530px;
  margin-bottom: 22px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.42);
  background: radial-gradient(circle at 50% 30%, rgba(46, 16, 80, 0.5) 0%, rgba(13, 10, 26, 0.85) 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(147, 51, 234, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.nx-brand-hero-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.8),
    0 0 42px rgba(168, 85, 247, 0.38);
}
.nx-brand-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 673;
  object-fit: contain;
}
.nx-hero-subtitle {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px;
}
.nx-hero-subtitle em {
  font-style: normal;
  background: linear-gradient(90deg, #a855f7 0%, #d8b4fe 48%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.32));
}

.premium-hero .lead {
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.68;
  color: #c2bad6;
  max-width: 530px;
  margin: 0 0 32px;
}
.premium .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.premium .nx-cta-primary {
  min-height: 50px;
  padding: 13px 28px;
  font-size: 15px;
  border-radius: 11px;
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.65);
}
.premium .nx-cta-secondary {
  min-height: 50px;
  padding: 13px 26px;
  font-size: 15px;
  border-radius: 11px;
}
.compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  color: #ccc5e0;
}
.compatibility li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.compatibility li::before {
  content: '✓';
  color: #b87aff;
  font-weight: 800;
  margin: 0;
}

/* HERO RIGHT SCENE & PROTAGONIST MONITOR */
.scene.nx-hero-scene {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  width: 100%;
}
.scene-grid {
  position: absolute;
  z-index: -1;
  inset: -16px;
  background-image: linear-gradient(rgba(168, 85, 247, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 85, 247, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 26px;
  transform: translateY(var(--scene-depth, 0px)) perspective(700px) rotateX(10deg);
  pointer-events: none;
}
.nx-monitor-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 0;
  background: transparent;
  filter:
    drop-shadow(0 0 38px rgba(168, 85, 247, 0.42))
    drop-shadow(0 26px 55px rgba(0, 0, 0, 0.85));
}
.nx-monitor-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* OVERLAY HUD CARD ON MONITOR - PROPORTIONAL SCALING */
.preview-widget.nx-hud-overlay-card {
  position: absolute;
  top: 9.6%;
  right: 6.4%;
  bottom: 13.8%;
  width: 30.8%;
  min-width: 190px;
  max-width: none;
  margin: 0;
  padding: clamp(10px, 1.1vw, 18px) clamp(11px, 1.2vw, 18px);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(19, 15, 35, 0.97) 0%, rgba(11, 8, 22, 0.99) 100%);
  border: 1.5px solid rgba(192, 132, 252, 0.52);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(147, 51, 234, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nx-hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: clamp(6px, 0.6vw, 10px);
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.nx-hud-logo {
  display: inline-grid;
  place-items: center;
  width: clamp(18px, 1.4vw, 24px);
  height: clamp(18px, 1.4vw, 24px);
  border-radius: 5px;
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  color: #ffffff;
  font-size: clamp(10px, 0.85vw, 13px);
  font-weight: 800;
}
.nx-hud-title {
  font-size: clamp(11.5px, 0.95vw, 15px);
  font-weight: 700;
  color: #ffffff;
}
.nx-hud-title strong {
  color: #c084fc;
  font-weight: 700;
}
.nx-hud-section {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: clamp(6px, 0.65vw, 11px) clamp(8px, 0.8vw, 13px);
  margin-bottom: 0;
}
.nx-hud-label {
  display: block;
  font-size: clamp(9.5px, 0.78vw, 12px);
  font-weight: 700;
  color: #e6e0f5;
  margin-bottom: clamp(4px, 0.45vw, 8px);
  letter-spacing: 0.2px;
}
.nx-hud-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.nx-item-box {
  width: clamp(26px, 2.2vw, 38px);
  height: clamp(26px, 2.2vw, 38px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.55);
  background: #090612;
  display: grid;
  place-items: center;
}
.nx-item-box.gold {
  border-color: rgba(234, 179, 8, 0.7);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.28);
}
.nx-item-box.purple {
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.38);
}
.nx-item-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-item-arrow {
  font-style: normal;
  font-size: clamp(11px, 0.9vw, 15px);
  color: #a79ec0;
  line-height: 1;
}
.nx-hud-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.nx-matchup-portraits {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nx-hero-thumb {
  width: clamp(26px, 2.2vw, 38px);
  height: clamp(26px, 2.2vw, 38px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.6);
}
.nx-hero-thumb.enemy {
  border-color: rgba(248, 113, 113, 0.6);
}
.nx-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-vs-text {
  font-size: clamp(9px, 0.75vw, 11.5px);
  font-weight: 700;
  color: #aba3c2;
  text-transform: lowercase;
}
.nx-matchup-winrate {
  text-align: right;
  line-height: 1.1;
}
.nx-matchup-winrate strong {
  display: block;
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 800;
  color: #4ade80;
}
.nx-matchup-winrate span {
  font-size: clamp(8.5px, 0.7vw, 11px);
  color: #4ade80;
}
.nx-obj-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(9.5px, 0.8vw, 12px);
  padding: 3px 0;
}
.nx-obj-row + .nx-obj-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.nx-obj-name {
  color: #d4cde6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nx-obj-icon {
  font-style: normal;
  font-size: clamp(9px, 0.75vw, 11px);
  color: #f87171;
}
.nx-obj-timer {
  color: #ffffff;
  font-size: clamp(10px, 0.82vw, 12.5px);
}
.nx-obj-status {
  color: #4ade80;
  font-size: clamp(9.5px, 0.8vw, 12px);
}

/* HERO BOTTOM 3-COLUMN STRIP */
.nx-hero-strip-wrap {
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  background: linear-gradient(90deg, rgba(12, 8, 24, 0.92) 0%, rgba(22, 14, 42, 0.95) 50%, rgba(12, 8, 24, 0.92) 100%);
}
.product-strip.nx-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-block: 28px;
  border: 0;
}
.nx-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
  border-right: 1px solid rgba(168, 85, 247, 0.16);
}
.nx-strip-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.nx-strip-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.34);
  box-shadow: 0 0 18px rgba(147, 51, 234, 0.24);
}
.nx-strip-item strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.nx-strip-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: #b4acc8;
}

/* EXISTING LOWER SECTIONS & DASHBOARD COMPATIBILITY */
.premium .section {
  padding-top: clamp(56px, 5.5vw, 88px);
  padding-bottom: clamp(32px, 3.5vw, 48px);
}
.premium .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(24px, 2.5vw, 36px);
}
.premium .section-heading .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #c084fc;
}
.premium .section-heading h2 {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}
.premium .section-heading > p {
  display: block;
  margin: 0;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.6;
  color: #b5adc9;
  text-align: right;
}
.premium .tag {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 5px 11px;
  border-radius: 6px;
  color: #dfd0ff;
  background: rgba(147, 51, 234, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.34);
}
.premium .small-note { font-size: 12.5px; line-height: 1.65; margin-top: 16px; color: #9e95b8; }

/* SIMULADOR INTERATIVO (#recursos / #demonstracao) */
.simulator {
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 12, 32, 0.94) 0%, rgba(10, 7, 20, 0.98) 100%);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(147, 51, 234, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
}
.sim-tabs {
  display: flex;
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(8, 6, 16, 0.72);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.sim-tabs button {
  flex: 1;
  min-height: 60px;
  padding: 14px 18px;
  color: #a9a0c2;
  border: none;
  border-bottom: 2.5px solid transparent;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.sim-tabs button:hover {
  color: #f5f2ff;
  background: rgba(168, 85, 247, 0.05);
}
.sim-tabs button[aria-selected=true] {
  color: #ffffff;
  border-bottom-color: #a855f7;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.03) 0%, rgba(168, 85, 247, 0.12) 100%);
}
.sim-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(28px, 3vw, 44px);
  align-items: center;
  padding: clamp(28px, 3vw, 44px);
  min-height: 400px;
}
.sim-panel[hidden] { display: none; }
.sim-panel h3 {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
  color: #ffffff;
}
.sim-panel p {
  font-size: clamp(14.5px, 1.02vw, 16px);
  line-height: 1.68;
  color: #c2bad6;
  margin-bottom: 0;
}
.nx-build-copy {
  max-width: 460px;
}
.module-preview {
  background: linear-gradient(165deg, #130e26 0%, #0a0715 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 16px;
  padding: 24px;
}

/* ABA ITENS - HUD BUILD RECOMENDADA (ACABAMENTO SÓBRIO E PROPORCIONAL) */
.nx-build-hud-card {
  position: relative;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  background:
    radial-gradient(ellipse at 50% 24%, rgba(147, 51, 234, 0.09), transparent 64%),
    linear-gradient(180deg, rgba(18, 13, 34, 0.98) 0%, rgba(9, 7, 19, 0.99) 100%);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nx-build-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-build-hud-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.nx-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.7);
}
.nx-build-demo-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 5px 10px;
  border-radius: 6px;
  color: #d8b4fe;
  background: rgba(147, 51, 234, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.28);
}
.nx-build-core-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #a399bd;
  margin-bottom: 12px;
}
.nx-build-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.14fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(8px, 1vw, 14px);
}
.nx-seq-arrow {
  display: inline-grid;
  place-items: center;
  color: #8b5cf6;
  opacity: 0.75;
  align-self: center;
}
.nx-build-item {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.item-tile.nx-build-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 12px;
  border-radius: 13px;
  background: rgba(15, 11, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}
.item-tile.nx-build-item.completed {
  border-color: rgba(74, 222, 128, 0.28);
  background: linear-gradient(180deg, rgba(16, 30, 27, 0.45) 0%, rgba(13, 10, 24, 0.92) 100%);
}
.item-tile.nx-build-item.current {
  padding: 18px 14px;
  border: 1.5px solid rgba(192, 132, 252, 0.72);
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.22) 0%, rgba(22, 14, 42, 0.96) 100%);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(168, 85, 247, 0.22),
    inset 0 1px 0 rgba(233, 213, 255, 0.16);
}
.item-tile.nx-build-item.next-step {
  border-color: rgba(168, 85, 247, 0.22);
  background: rgba(15, 11, 28, 0.86);
}
.nx-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 3.5px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  line-height: 1.2;
}
.nx-status-pill.completed {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
}
.nx-status-pill.completed b {
  font-size: 10px;
  color: #4ade80;
}
.nx-status-pill.current {
  color: #f8f5ff;
  background: rgba(147, 51, 234, 0.38);
  border: 1px solid rgba(216, 180, 254, 0.58);
}
.nx-status-pill.next-step {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.24);
}
.nx-item-icon-wrap {
  position: relative;
  width: 80px;
  height: 58px;
  aspect-ratio: 88 / 64;
  border-radius: 8px;
  overflow: hidden;
  background: #07050f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.item-tile.current .nx-item-icon-wrap {
  width: 88px;
  height: 64px;
  border: 1.5px solid rgba(233, 213, 255, 0.8);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.7),
    0 0 14px rgba(192, 132, 252, 0.35);
}
.item-tile.completed .nx-item-icon-wrap {
  border-color: rgba(74, 222, 128, 0.38);
}
.nx-item-icon-wrap.sm {
  width: 64px;
  height: 47px;
  aspect-ratio: 88 / 64;
  border-radius: 7px;
}
.nx-item-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #f3effb;
  line-height: 1.25;
}
.item-tile.current .nx-item-name {
  font-size: 14px;
  color: #ffffff;
}

/* ÁREA SECUNDÁRIA: SITUACIONAL */
.nx-build-situational-area {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(9, 7, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.nx-situational-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.nx-situational-header .nx-build-core-label {
  margin-bottom: 0;
}
.nx-situational-header small {
  font-size: 11px;
  color: #968cb0;
}
.nx-situational-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.nx-situational-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(16, 12, 30, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.18);
}
.nx-situational-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  min-width: 0;
}
.nx-status-inline {
  font-size: 10.5px;
  color: #b794f4;
  font-weight: 600;
}

/* HOVER, FOCUS & TOOLTIPS */
.nx-build-item:hover,
.nx-build-item:focus-visible,
.nx-build-item.is-selected:not(.current) {
  border-color: rgba(192, 132, 252, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(168, 85, 247, 0.22);
}
.nx-item-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  width: min(230px, 82vw);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(11, 8, 23, 0.98);
  border: 1px solid rgba(192, 132, 252, 0.75);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85), 0 0 14px rgba(168, 85, 247, 0.28);
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 30;
}
.nx-build-sequence > .nx-build-item:first-child .nx-item-tooltip {
  left: 0;
  transform: translateY(6px);
}
.nx-build-sequence > .nx-build-item:first-child .nx-item-tooltip::after {
  left: 36px;
}
.nx-build-sequence > .nx-build-item:last-child .nx-item-tooltip {
  left: auto;
  right: 0;
  transform: translateY(6px);
}
.nx-build-sequence > .nx-build-item:last-child .nx-item-tooltip::after {
  left: auto;
  right: 36px;
}
.nx-item-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(192, 132, 252, 0.75);
}
.nx-item-tooltip strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 3px;
}
.nx-item-tooltip span {
  display: block;
  font-size: 11px;
  line-height: 1.42;
  color: #cec7e2;
  font-weight: 400;
}
@media (hover: hover) and (pointer: fine) {
  .nx-build-item:hover .nx-item-tooltip,
  .nx-build-item:focus-visible .nx-item-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nx-build-sequence > .nx-build-item:first-child:hover .nx-item-tooltip,
  .nx-build-sequence > .nx-build-item:first-child:focus-visible .nx-item-tooltip,
  .nx-build-sequence > .nx-build-item:last-child:hover .nx-item-tooltip,
  .nx-build-sequence > .nx-build-item:last-child:focus-visible .nx-item-tooltip {
    transform: translateY(0);
  }
}

/* BARRA DE DETALHE ACESSÍVEL (TECLADO & MOBILE) */
.nx-hud-inspector {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(8, 6, 16, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.22);
}
.nx-inspector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.nx-inspector-top strong {
  font-size: 13px;
  color: #ffffff;
}
.nx-inspector-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2.5px 9px;
  border-radius: 99px;
  color: #e9d5ff;
  background: rgba(147, 51, 234, 0.24);
  border: 1px solid rgba(192, 132, 252, 0.36);
}
.nx-hud-inspector p {
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
  color: #beb6d4;
}
.nx-demo-disclaimer {
  margin: 12px 0 0 !important;
  font-size: 11px;
  color: #8f86a8;
  text-align: center;
}
/* ABA HABILIDADES - HUD PROGRESSÃO DE HABILIDADES */
.nx-skill-hero-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nx-skill-hero-portrait {
  width: 60px;
  height: 34px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.48);
  background: #07050f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
  flex-shrink: 0;
}
.nx-skill-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-skill-hero-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nx-skill-hero-sub {
  font-size: 11.5px;
  color: #b4acc8;
  padding-left: 18px;
}
.nx-skill-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.nx-skill-section-top .nx-build-core-label {
  margin-bottom: 0;
}
.nx-innate-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border-radius: 99px;
  background: rgba(18, 13, 34, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #d8d0ec;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.nx-innate-pill img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nx-innate-pill strong {
  color: #ffffff;
  font-weight: 700;
}
.nx-innate-pill:hover,
.nx-innate-pill:focus-visible,
.nx-innate-pill.is-inspected {
  border-color: rgba(192, 132, 252, 0.78);
  background: rgba(126, 34, 206, 0.22);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.24);
}
.nx-skill-slots-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr 0.94fr;
  gap: 10px;
  align-items: stretch;
}
.nx-ability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(15, 11, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #f5f2ff;
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}
.nx-ability-card.completed {
  border-color: rgba(74, 222, 128, 0.24);
  background: linear-gradient(180deg, rgba(16, 28, 25, 0.42) 0%, rgba(13, 10, 24, 0.92) 100%);
}
.nx-ability-card.is-recommended {
  border: 1.5px solid rgba(192, 132, 252, 0.72);
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.22) 0%, rgba(22, 14, 42, 0.96) 100%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(168, 85, 247, 0.2),
    inset 0 1px 0 rgba(233, 213, 255, 0.14);
}
.nx-ability-card.is-level-target:not(.is-recommended) {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.24);
}
.nx-ability-card:hover,
.nx-ability-card:focus-visible,
.nx-ability-card.is-inspected {
  border-color: #d8b4fe;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 14px rgba(192, 132, 252, 0.28);
}
.nx-ability-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.nx-hotkey-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(7, 5, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e6e0f5;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.nx-ability-visual-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nx-ability-icon-wrap {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  overflow: hidden;
  background: #07050f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.65);
  flex-shrink: 0;
}
.nx-ability-icon-wrap.recommended {
  border: 1.5px solid rgba(233, 213, 255, 0.82);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7), 0 0 14px rgba(192, 132, 252, 0.34);
}
.nx-ability-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-raze-variants {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nx-raze-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.5px 5px 1.5px 2px;
  border-radius: 5px;
  background: rgba(9, 7, 18, 0.88);
  border: 1px solid rgba(192, 132, 252, 0.32);
}
.nx-raze-mini img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  display: block;
}
.nx-raze-mini small {
  font-size: 9px;
  font-weight: 700;
  color: #e2d8f8;
  line-height: 1;
}
.nx-skill-pips {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.nx-skill-pips .pip {
  width: 12px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.nx-skill-pips .pip.filled {
  background: #4ade80;
  border-color: rgba(74, 222, 128, 0.7);
}
.nx-skill-pips .pip.next {
  background: #c084fc;
  border-color: #f3e8ff;
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.75);
}

/* VISOR DE CONSULTA DA HABILIDADE (INTERAÇÃO INDEPENDENTE) */
.nx-ability-detail-bar {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(11, 8, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-ability-detail-heading {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.nx-detail-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #a89ec4;
  text-transform: uppercase;
}
.nx-ability-detail-bar p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #bdb4d4;
}

/* TRILHA SEQUENCIAL POR NÍVEL (1 A 8) */
.nx-skill-progression-area {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 13px;
  background: rgba(9, 7, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.nx-skill-timeline {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
}
.nx-skill-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(16, 12, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #f5f2ff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.nx-skill-step.completed {
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(14, 22, 22, 0.72);
}
.nx-skill-step.current {
  border: 1.5px solid rgba(192, 132, 252, 0.78);
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.26) 0%, rgba(24, 15, 45, 0.96) 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 14px rgba(168, 85, 247, 0.24);
}
.nx-skill-step:hover,
.nx-skill-step:focus-visible,
.nx-skill-step.is-selected-step {
  border-color: #e9d5ff;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.34);
}
.nx-step-lvl {
  font-size: 10px;
  font-weight: 700;
  color: #cfc8e4;
}
.nx-skill-step.current .nx-step-lvl {
  color: #ffffff;
}
.nx-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #07050f;
}
.nx-skill-step.current .nx-step-icon {
  border-color: rgba(233, 213, 255, 0.85);
}
.nx-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-step-key {
  font-size: 9.5px;
  font-weight: 700;
  color: #e2dcf2;
}
.nx-step-state {
  font-size: 9px;
  font-weight: 700;
  padding: 1.5px 5px;
  border-radius: 99px;
  line-height: 1.2;
}
.nx-step-state.completed {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}
.nx-step-state.current {
  color: #ffffff;
  background: rgba(147, 51, 234, 0.45);
  border: 1px solid rgba(216, 180, 254, 0.55);
}
.nx-step-state.next-step {
  color: #b9afd4;
  background: rgba(255, 255, 255, 0.05);
}
.nx-inspector-badge[data-state="Evoluído"] {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.32);
}

/* ABA FARM - HUD ANÁLISE DE FARM */
.nx-farm-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.nx-farm-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(14, 10, 28, 0.9);
  border: 1px solid rgba(192, 132, 252, 0.34);
  color: #e2d8f8;
  font-size: 11px;
}
.nx-farm-clock-pill svg {
  color: #c084fc;
  flex-shrink: 0;
}
.nx-farm-clock-pill b {
  color: #ffffff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.nx-farm-clock-pill small {
  color: #a69cc2;
  font-size: 10.5px;
}
.nx-farm-timeline-wrap {
  margin-bottom: 14px;
}
.nx-farm-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.nx-farm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 6px;
  border-radius: 10px;
  background: rgba(15, 11, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e8e2f6;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.nx-farm-step.completed {
  border-color: rgba(74, 222, 128, 0.24);
  background: rgba(14, 22, 22, 0.65);
}
.nx-farm-step.current {
  border-color: rgba(192, 132, 252, 0.55);
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.22) 0%, rgba(22, 14, 42, 0.94) 100%);
}
.nx-farm-step:hover,
.nx-farm-step:focus-visible,
.nx-farm-step.is-selected-minute {
  border-color: #d8b4fe;
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.28) 0%, rgba(24, 15, 45, 0.96) 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 14px rgba(168, 85, 247, 0.26);
}
.nx-farm-step-min {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}
.nx-farm-step-sub {
  font-size: 10px;
  font-weight: 600;
  color: #a99fc4;
  font-variant-numeric: tabular-nums;
}
.nx-farm-step.is-selected-minute .nx-farm-step-sub {
  color: #e9d5ff;
}

/* CARDS DOS 4 INDICADORES DE FARM */
.nx-farm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.nx-farm-metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(15, 11, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.nx-farm-metric-card.highlight {
  border: 1.5px solid rgba(192, 132, 252, 0.68);
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.2) 0%, rgba(20, 13, 38, 0.95) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.52), 0 0 16px rgba(168, 85, 247, 0.18);
}
.nx-farm-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.nx-farm-metric-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: #e2dcf2;
}
.nx-farm-metric-card.highlight .nx-farm-metric-label {
  color: #f3e8ff;
}
.nx-farm-metric-tag {
  font-size: 9.5px;
  color: #9e94b8;
}
.nx-farm-metric-val {
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.nx-farm-metric-delta {
  font-size: 10.5px;
  font-weight: 600;
  color: #b4acc8;
  font-variant-numeric: tabular-nums;
}
.nx-farm-metric-delta.positive {
  color: #4ade80;
}

/* GRÁFICO SVG DE EVOLUÇÃO DE GPM */
.nx-farm-chart-card {
  padding: 13px 15px 10px;
  border-radius: 13px;
  background: rgba(9, 7, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-farm-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.nx-farm-chart-header .nx-build-core-label {
  margin-bottom: 0;
}
.nx-farm-chart-readout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3.5px 10px;
  border-radius: 99px;
  background: rgba(147, 51, 234, 0.22);
  border: 1px solid rgba(192, 132, 252, 0.48);
  font-size: 11px;
  color: #e9d5ff;
  font-variant-numeric: tabular-nums;
}
.nx-farm-chart-readout strong {
  color: #ffffff;
  font-weight: 700;
}
.nx-farm-svg-wrap {
  width: 100%;
}
.nx-farm-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.nx-chart-grid-line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.nx-chart-axis-label {
  fill: #8c82a8;
  font-size: 9.5px;
  font-weight: 600;
  font-family: Inter, sans-serif;
}
.nx-chart-guide-line {
  stroke: rgba(192, 132, 252, 0.45);
  stroke-width: 1.4;
  stroke-dasharray: 3 3;
  transition: transform 180ms ease;
}
.nx-chart-node {
  cursor: pointer;
  outline: none;
}
.nx-chart-hit {
  fill: transparent;
}
.nx-chart-halo {
  fill: rgba(168, 85, 247, 0);
  stroke: rgba(216, 180, 254, 0);
  stroke-width: 1.5;
  transition: fill 160ms ease, stroke 160ms ease;
}
.nx-chart-dot {
  fill: #140e26;
  stroke: #c084fc;
  stroke-width: 2.2;
  transition: fill 160ms ease, stroke 160ms ease, r 160ms ease;
}
.nx-chart-x-label {
  fill: #9e94b8;
  font-size: 10px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  transition: fill 160ms ease;
}
.nx-chart-node:hover .nx-chart-halo,
.nx-chart-node:focus-visible .nx-chart-halo,
.nx-chart-node.is-active .nx-chart-halo {
  fill: rgba(168, 85, 247, 0.26);
  stroke: rgba(233, 213, 255, 0.72);
}
.nx-chart-node:hover .nx-chart-dot,
.nx-chart-node:focus-visible .nx-chart-dot,
.nx-chart-node.is-active .nx-chart-dot {
  fill: #e9d5ff;
  stroke: #a855f7;
}
.nx-chart-node:hover .nx-chart-x-label,
.nx-chart-node:focus-visible .nx-chart-x-label,
.nx-chart-node.is-active .nx-chart-x-label {
  fill: #ffffff;
}
/* ABA DRAFT - HUD LEITURA DE DRAFT 5V5 */
.nx-draft-teams-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.nx-draft-team-block {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(15, 11, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.nx-draft-team-block.nx-team-radiant {
  border-color: rgba(52, 211, 153, 0.25);
  background: linear-gradient(135deg, rgba(16, 40, 36, 0.42) 0%, rgba(15, 11, 28, 0.94) 48%);
}
.nx-draft-team-block.nx-team-dire {
  border-color: rgba(248, 113, 113, 0.25);
  background: linear-gradient(135deg, rgba(46, 18, 28, 0.44) 0%, rgba(15, 11, 28, 0.94) 48%);
}
.nx-draft-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.nx-draft-team-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.nx-team-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nx-team-indicator.radiant {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.65);
}
.nx-team-indicator.dire {
  background: #f87171;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.65);
}
.nx-draft-team-title strong {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}
.nx-draft-team-block.nx-team-radiant .nx-draft-team-title strong {
  color: #a7f3d0;
}
.nx-draft-team-block.nx-team-dire .nx-draft-team-title strong {
  color: #fecaca;
}
.nx-draft-team-title small {
  font-size: 10.5px;
  color: #a79ec0;
}
.nx-draft-team-summary {
  font-size: 10.5px;
  font-weight: 600;
  color: #cfc6e6;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-variant-numeric: tabular-nums;
}
.nx-draft-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.nx-draft-slot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(11, 8, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3effb;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.nx-draft-slot:hover,
.nx-draft-slot:focus-visible {
  border-color: rgba(216, 180, 254, 0.68);
  background: rgba(24, 16, 46, 0.94);
  outline: none;
}
.nx-draft-slot.is-selected-hero {
  border: 1.5px solid #d8b4fe;
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.28) 0%, rgba(22, 14, 42, 0.96) 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 15px rgba(168, 85, 247, 0.3);
}
.nx-draft-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.nx-draft-pos-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #d8b4fe;
  text-transform: uppercase;
}
.nx-draft-role-short {
  font-size: 9px;
  font-weight: 600;
  color: #9e94b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-draft-portrait-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #090612;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.nx-draft-slot.is-selected-hero .nx-draft-portrait-box {
  border-color: rgba(233, 213, 255, 0.65);
}
.nx-draft-portrait-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-draft-hero-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-draft-hero-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #a99fc4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-draft-slot.is-selected-hero .nx-draft-hero-sub {
  color: #e9d5ff;
}

/* PAINEL DE COMPARAÇÃO ESTRUTURAL E TÁTICA */
.nx-draft-comp-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(9, 7, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}
.nx-draft-comp-section .nx-situational-header {
  margin-bottom: 8px;
}
.nx-draft-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.nx-draft-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px;
  border-radius: 9px;
  background: rgba(16, 12, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-draft-metric-name {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #e2dcf2;
  text-transform: uppercase;
}
.nx-draft-metric-sub {
  font-size: 9px;
  color: #968cb2;
}
.nx-draft-metric-Row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.nx-metric-val-rad {
  color: #6ee7b7;
}
.nx-metric-val-sep {
  color: #6e6488;
  font-size: 9.5px;
  font-weight: 600;
}
.nx-metric-val-dire {
  color: #fca5a5;
}
.nx-draft-tactical-section {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.nx-draft-tactical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.nx-draft-tactical-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(16, 12, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-draft-tactical-card.radiant {
  border-left: 3px solid rgba(52, 211, 153, 0.65);
}
.nx-draft-tactical-card.dire {
  border-left: 3px solid rgba(248, 113, 113, 0.65);
}
.nx-draft-tactical-card-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #dcd4f0;
}
.nx-draft-trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.nx-draft-trait-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 7px;
  border-radius: 6px;
  background: rgba(147, 51, 234, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.32);
  font-size: 10px;
  color: #ebe2fc;
}
.nx-draft-trait-chip b {
  color: #ffffff;
  font-weight: 700;
}

/* INSPETOR DO HERÓI SELECIONADO NO DRAFT */
.nx-draft-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.nx-draft-inspector-hero {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nx-draft-inspector-portrait-wrap {
  width: 68px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.5);
  background: #090612;
  flex-shrink: 0;
}
.nx-draft-inspector-portrait-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-draft-inspector-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.nx-draft-attr-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2dcf2;
}
.nx-draft-inspector-taxonomies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(10, 7, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
}
.nx-draft-taxonomy-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nx-taxonomy-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #a398bf;
  letter-spacing: 0.3px;
}
.nx-taxonomy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nx-taxonomy-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #f1ecfa;
}
.nx-taxonomy-pill.nexus-trait {
  background: rgba(147, 51, 234, 0.22);
  border-color: rgba(192, 132, 252, 0.45);
  color: #e9d5ff;
}
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.benefit-grid article { padding: 28px; background: linear-gradient(145deg,#17102c,#0f0a1e); border: 1px solid var(--nx-border); border-radius: 16px; }
.benefit-grid article>span { font-size: 10px; letter-spacing: 1px; color: var(--nx-context); }
.benefit-grid h3 { margin-top: 24px; }
.benefit-grid p { margin-bottom: 0; }
.premium .access-card { background: radial-gradient(ellipse at right,#7654a633,transparent),#130d24; border-color: #bba6ff55; }
.premium .form-card { border-color: var(--nx-border); }

/* FASE 4.1 — AUTENTICAÇÃO PREMIUM (LOGIN, CADASTRO E RECUPERAÇÃO CSRF) */
.nx-auth-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(147, 51, 234, 0.2), transparent 55%),
    radial-gradient(ellipse at 22% 30%, rgba(107, 33, 168, 0.14), transparent 50%);
}
.nx-auth-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(420px, 540px);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 84px);
}
.nx-auth-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}
.nx-auth-copy h1 {
  font-size: clamp(44px, 4.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.nx-auth-lead {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.68;
  color: #c7bfe0;
  margin: 0 0 28px;
}
.nx-auth-highlights {
  display: grid;
  gap: 12px;
  width: 100%;
}
.nx-auth-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(16, 11, 30, 0.78);
  border: 1px solid rgba(168, 85, 247, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nx-auth-highlight-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.42);
  color: #d8b4fe;
  flex-shrink: 0;
}
.nx-auth-highlight-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
.nx-auth-highlight-item small {
  display: block;
  font-size: 12px;
  line-height: 1.48;
  color: #b5adc9;
}

/* CARD HUD DE AUTENTICAÇÃO */
.nx-auth-hud-card {
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(23, 16, 44, 0.96) 0%, rgba(12, 8, 24, 0.98) 100%);
  border: 1px solid rgba(192, 132, 252, 0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 28px rgba(147, 51, 234, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nx-auth-card-header {
  margin-bottom: 16px;
  padding-bottom: 13px;
}
.nx-auth-tag {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #f3effb;
}
.nx-auth-card-heading {
  margin-bottom: 20px;
}
.nx-auth-card-heading h2 {
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.1;
  margin: 0 0 8px;
  color: #ffffff;
}
.nx-auth-card-heading p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #b5adc9;
  margin: 0;
}

/* BLOCO DE ERROS DE AUTENTICAÇÃO (#auth-errors) */
.nx-auth-errors {
  margin: 0 0 20px;
  padding: 15px 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(68, 19, 38, 0.92), rgba(40, 12, 25, 0.95));
  border: 1.5px solid rgba(251, 113, 133, 0.65);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  color: #fff1f2;
}
.nx-auth-errors:focus {
  outline: 2px solid #fda4af;
  outline-offset: 3px;
}
.nx-auth-errors-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.nx-auth-errors-badge {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.32);
  border: 1px solid rgba(253, 164, 175, 0.7);
  font-size: 12px;
  font-weight: 800;
  color: #ffe4e6;
  flex-shrink: 0;
}
.nx-auth-errors-header strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
.nx-auth-errors p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #fecdd3;
  margin: 0 0 8px;
}
.nx-auth-errors ul {
  margin: 0 0 8px;
  padding-left: 18px;
}
.nx-auth-errors li {
  font-size: 12.5px;
  line-height: 1.5;
  color: #ffe4e6;
  margin-bottom: 4px;
}
.nx-auth-errors a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-auth-errors a:hover,
.nx-auth-errors a:focus-visible {
  color: #fda4af;
}
.nx-auth-errors-note {
  margin-bottom: 0 !important;
  font-size: 11.5px !important;
  color: #fda4af !important;
}

/* CAMPOS DO FORMULÁRIO */
.nx-auth-form {
  display: grid;
  gap: 16px;
}
.nx-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nx-form-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ece6f8;
  margin-bottom: 0;
}
.nx-auth-form input[type="text"],
.nx-auth-form input[type="password"],
.nx-auth-form input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(9, 6, 18, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.32);
  color: #ffffff;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.nx-auth-form input:hover {
  border-color: rgba(192, 132, 252, 0.55);
}
.nx-auth-form input:focus,
.nx-auth-form input:focus-visible {
  outline: none;
  border-color: #d8b4fe;
  background: rgba(14, 10, 28, 0.98);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.24), 0 0 16px rgba(168, 85, 247, 0.22);
}
.nx-form-group.has-error input {
  border-color: rgba(251, 113, 133, 0.78);
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.18);
}
.nx-field-errors {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
}
.nx-field-errors li {
  font-size: 12px;
  font-weight: 600;
  color: #fda4af;
}
.nx-field-help {
  font-size: 11.5px;
  line-height: 1.5;
  color: #9e94b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 11px;
}
.nx-field-help ul {
  margin: 0;
  padding-left: 16px;
}
.nx-field-help li {
  font-size: 11.5px;
  line-height: 1.48;
  color: #a89ec2;
  margin-bottom: 3px;
}
.nx-field-help li:last-child {
  margin-bottom: 0;
}
.nx-auth-submit {
  width: 100%;
  min-height: 48px;
  margin: 6px 0 0 !important;
  font-size: 14.5px !important;
  justify-content: center !important;
}
.nx-auth-card-footer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.nx-auth-card-footer p {
  margin: 0;
  font-size: 13px;
  color: #b5adc9;
}
.nx-auth-card-footer a {
  color: #d8b4fe;
  font-weight: 700;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-auth-card-footer a:hover,
.nx-auth-card-footer a:focus-visible {
  color: #ffffff;
}

.nx-auth-card-footer .nx-auth-forgot-link {
  margin-bottom: 10px;
}

.nx-auth-card-footer .nx-auth-forgot-link a {
  color: #c084fc;
  font-weight: 600;
  margin-left: 0;
}

/* CARD DE RECUPERAÇÃO CSRF (csrf_failure.html) */
.nx-csrf-alert-box {
  padding: 14px 16px;
  border-radius: 11px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.34);
  margin-bottom: 18px;
}
.nx-csrf-alert-box p {
  font-size: 13px;
  line-height: 1.58;
  color: #e6dff5;
  margin: 0 0 8px;
}
.nx-csrf-alert-box p:last-child {
  margin-bottom: 0;
}
.nx-csrf-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.nx-csrf-secondary-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #9e94b8;
}
.nx-csrf-secondary-links a {
  color: #d8b4fe;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-csrf-secondary-links a:hover {
  color: #ffffff;
}
.nx-csrf-footnote {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #968cb2;
  text-align: center;
}
/* FASE 4.2 — CENTRAL DO JOGADOR (DASHBOARD PREMIUM) */
.player-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(28px, 3.2vw, 44px);
  padding-block: clamp(36px, 4.5vw, 64px) 84px;
  align-items: start;
}
.player-nav {
  position: sticky;
  top: 102px;
  border-right: 0;
  padding-right: 0;
}
.nx-sidebar-card {
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(22, 15, 42, 0.94) 0%, rgba(12, 8, 24, 0.96) 100%);
  border: 1px solid rgba(192, 132, 252, 0.26);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nx-sidebar-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-sidebar-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #9333ea 0%, #581c87 100%);
  border: 1px solid rgba(216, 180, 254, 0.55);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}
.nx-sidebar-user-meta {
  min-width: 0;
}
.nx-sidebar-user-meta small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #a69cc2;
}
.nx-sidebar-user-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-nav summary {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nx-context);
  margin-bottom: 10px;
  cursor: pointer;
}
.player-nav nav {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
}
.player-nav nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #d3cbe8;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.player-nav nav a svg {
  color: #a855f7;
  flex-shrink: 0;
  transition: color 160ms ease;
}
.player-nav nav a:hover,
.player-nav nav a:focus-visible,
.player-nav nav a.is-current-section {
  background: rgba(147, 51, 234, 0.18);
  border-color: rgba(192, 132, 252, 0.35);
  color: #ffffff;
}
.player-nav nav a:hover svg,
.player-nav nav a.is-current-section svg {
  color: #e9d5ff;
}
.nx-sidebar-logout {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-logout-btn {
  width: 100%;
  justify-content: center;
  min-height: 40px;
  font-size: 13px;
}

/* CABEÇALHO DO DASHBOARD */
.nx-dashboard-main {
  display: grid;
  gap: 22px;
}
.nx-dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 6px;
}
.nx-dashboard-hero-copy {
  max-width: 660px;
}
.player-content h1 {
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.03;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.nx-dashboard-subtitle {
  font-size: 15px;
  line-height: 1.62;
  color: #c4bcda;
  margin: 0;
}
.nx-dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(16, 11, 30, 0.92);
  border: 1px solid rgba(192, 132, 252, 0.34);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}
.nx-dashboard-status-pill.is-entitled {
  border-color: rgba(74, 222, 128, 0.45);
  background: linear-gradient(135deg, rgba(16, 42, 34, 0.65) 0%, rgba(15, 11, 28, 0.95) 100%);
}
.nx-dashboard-status-pill.is-warning {
  border-color: rgba(251, 146, 60, 0.45);
  background: linear-gradient(135deg, rgba(52, 26, 20, 0.65) 0%, rgba(15, 11, 28, 0.95) 100%);
}
.nx-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.7);
  flex-shrink: 0;
}
.nx-dashboard-status-pill.is-entitled .nx-status-dot {
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}
.nx-dashboard-status-pill.is-warning .nx-status-dot {
  background: #fb923c;
  box-shadow: 0 0 10px rgba(251, 146, 60, 0.8);
}
.nx-dashboard-status-pill small {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: #a89ec2;
}
.nx-dashboard-status-pill strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

/* TRILHA DE ONBOARDING (4 ETAPAS) */
.nx-onboarding-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(22, 15, 42, 0.92) 0%, rgba(12, 8, 24, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.26);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}
.nx-onboarding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.nx-onboarding-header .nx-build-core-label {
  margin-bottom: 0;
}
.nx-onboarding-header small {
  font-size: 11px;
  color: #9e94b8;
}
.nx-onboarding-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nx-onboarding-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(11, 8, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-onboarding-step.is-done {
  border-color: rgba(74, 222, 128, 0.28);
  background: linear-gradient(180deg, rgba(16, 36, 30, 0.5) 0%, rgba(11, 8, 22, 0.9) 100%);
}
.nx-onboarding-step.is-current {
  border-color: rgba(192, 132, 252, 0.55);
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.2) 0%, rgba(15, 10, 30, 0.95) 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 14px rgba(168, 85, 247, 0.16);
}
.nx-onboarding-step.is-warning {
  border-color: rgba(251, 146, 60, 0.38);
}
.nx-onboarding-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nx-step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #9e94b8;
  font-variant-numeric: tabular-nums;
}
.nx-onboarding-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid transparent;
}
.nx-onboarding-badge.done {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
}
.nx-onboarding-badge.current {
  color: #f3e8ff;
  background: rgba(147, 51, 234, 0.35);
  border-color: rgba(216, 180, 254, 0.55);
}
.nx-onboarding-badge.warning {
  color: #fdba74;
  background: rgba(251, 146, 60, 0.15);
  border-color: rgba(251, 146, 60, 0.38);
}
.nx-onboarding-badge.app {
  color: #d8b4fe;
  background: rgba(147, 51, 234, 0.18);
  border-color: rgba(192, 132, 252, 0.38);
}
.nx-onboarding-badge.muted {
  color: #a398bf;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.nx-onboarding-step strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
.nx-onboarding-step p {
  font-size: 12px;
  line-height: 1.48;
  color: #b5adc9;
  margin: 0;
}
.nx-onboarding-step p b {
  color: #ece6f8;
}

/* CARDS PRINCIPAIS DO DASHBOARD */
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.account-card {
  border: 1px solid rgba(192, 132, 252, 0.26);
  background: linear-gradient(160deg, rgba(24, 16, 46, 0.94) 0%, rgba(13, 9, 26, 0.97) 100%);
  border-radius: 16px;
  padding: 26px;
}
.account-card h2 {
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.12;
  margin: 8px 0 14px;
  color: #ffffff;
}
.nx-badge-active {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.12) !important;
  border-color: rgba(74, 222, 128, 0.36) !important;
}
.nx-badge-inactive {
  color: #e9d5ff !important;
  background: rgba(147, 51, 234, 0.2) !important;
  border-color: rgba(192, 132, 252, 0.38) !important;
}
.nx-license-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(10, 7, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-license-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nx-license-meta-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.nx-license-meta-row dt {
  font-size: 12px;
  font-weight: 600;
  color: #a69cc2;
}
.nx-license-meta-row dd {
  margin: 0;
  font-size: 13px;
  color: #f3effb;
  font-variant-numeric: tabular-nums;
}
.nx-expired-inline-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #fda4af;
  margin-left: 4px;
}
.nx-meta-muted {
  color: #968cb2;
  font-size: 12px;
}
.nx-license-status-box {
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.24);
}
.nx-license-status-box.is-entitled {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.28);
}
.nx-license-status-box p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.58;
  color: #d6cee8;
}

/* CARD DO CLIENTE WINDOWS */
.nx-client-lead {
  font-size: 13.5px;
  color: #d3cbe8;
  margin: 0 0 14px;
}
.nx-download-action-box {
  margin-bottom: 14px;
}
.nx-download-btn {
  width: 100%;
  justify-content: center !important;
  min-height: 48px;
  font-size: 14px !important;
}
.availability {
  display: block;
  color: #e2d8f8;
  padding: 11px 15px;
  background: rgba(11, 8, 22, 0.78);
  border: 1px dashed rgba(192, 132, 252, 0.42);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 14px;
}
.nx-sha-details {
  margin-bottom: 16px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(9, 6, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-sha-details summary {
  font-size: 12px;
  font-weight: 700;
  color: #d8b4fe;
  cursor: pointer;
}
.nx-sha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(4, 3, 10, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.24);
}
.nx-sha-box code {
  font-size: 11.5px;
  color: #e9d5ff;
  overflow-wrap: anywhere;
  user-select: all;
}
.nx-copy-sha-btn {
  min-height: 32px !important;
  padding: 5px 12px !important;
  font-size: 11.5px !important;
  flex-shrink: 0;
}
.nx-copy-sha-btn.is-copied {
  border-color: rgba(74, 222, 128, 0.65) !important;
  color: #4ade80 !important;
}
.nx-sha-feedback {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #b5adc9;
  min-height: 16px;
}
.nx-sha-feedback.is-success {
  color: #4ade80;
}
.nx-setup-guide {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(10, 7, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
}
.nx-setup-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}
.nx-setup-steps li {
  font-size: 12.5px;
  line-height: 1.5;
  color: #cfc7e4;
  margin: 0;
}
.nx-setup-steps code {
  padding: 1.5px 6px;
  border-radius: 5px;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #f3e8ff;
  font-size: 11.5px;
}
.nx-client-footnote {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #968cb2;
}

/* CARD DE ATALHO DE DISPOSITIVOS E HISTÓRICO */
.nx-devices-shortcut-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nx-devices-shortcut-copy {
  max-width: 640px;
}
.nx-devices-shortcut-copy h2 {
  margin: 8px 0 6px;
  font-size: 24px;
}
.nx-devices-shortcut-copy p {
  margin: 0;
  font-size: 13.5px;
  color: #c2b9da;
}
.nx-devices-link-btn {
  white-space: nowrap;
}
.empty-state {
  display: flex;
  align-items: center;
  gap: 24px;
}
.empty-symbol {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(147, 51, 234, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.35);
  font-size: 26px;
  color: var(--nx-context);
  flex-shrink: 0;
}
.nx-empty-history-copy h2 {
  margin: 8px 0 6px;
  font-size: 24px;
}
.nx-empty-history-copy p {
  margin: 0 0 10px;
  font-size: 13.5px;
}

/* FASE 4.3 — MEUS DISPOSITIVOS */
.nx-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c4b5fd;
}
.nx-back-link:hover,
.nx-back-link:focus-visible {
  color: #ffffff;
}
.nx-devices-error-banner {
  margin: 0;
}
.nx-token-created-card {
  border-color: rgba(74, 222, 128, 0.42);
  background: linear-gradient(160deg, rgba(16, 38, 32, 0.6) 0%, rgba(13, 9, 26, 0.97) 60%);
}
.nx-token-created-card h2 {
  font-size: 24px;
  margin: 4px 0 8px;
}
.nx-token-warning-text {
  font-size: 13px;
  line-height: 1.58;
  color: #d6cee8;
  margin: 0 0 14px;
}
.nx-token-copy-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.nx-token-readonly-input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(4, 3, 10, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #f3e8ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}
.nx-token-readonly-input:focus {
  outline: none;
  border-color: #d8b4fe;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.24);
}
.nx-copy-token-btn {
  white-space: nowrap;
  justify-content: center !important;
}
.nx-copy-token-btn.is-copied {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%) !important;
  border-color: rgba(134, 239, 172, 0.6) !important;
}
.nx-devices-section {
  display: grid;
  gap: 12px;
}
.nx-devices-list-header {
  margin-bottom: 0;
}
.nx-devices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.nx-device-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
}
.nx-device-card.is-active {
  border-color: rgba(74, 222, 128, 0.32);
}
.nx-device-card.is-expired {
  border-color: rgba(251, 146, 60, 0.32);
}
.nx-device-card.is-revoked {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.78;
}
.nx-device-card-header {
  align-items: flex-start;
  margin-bottom: 12px;
}
.nx-device-title-group {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.nx-device-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(147, 51, 234, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #d8b4fe;
  flex-shrink: 0;
}
.nx-device-card.is-revoked .nx-device-icon {
  color: #8c82a8;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.nx-device-title-group h2 {
  font-size: 18px !important;
  line-height: 1.2;
  margin: 0 !important;
  overflow-wrap: anywhere;
}
.nx-device-created {
  font-size: 11.5px;
  color: #9e94b8;
}
.nx-device-badge-expired {
  color: #fdba74 !important;
  background: rgba(251, 146, 60, 0.14) !important;
  border-color: rgba(251, 146, 60, 0.4) !important;
}
.nx-device-badge-revoked {
  color: #c8c0dc !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.nx-device-meta {
  margin-bottom: 14px;
}
.nx-device-card-footer {
  margin-top: auto;
}
.nx-device-revoked-note {
  margin: 0;
  font-size: 12px;
  color: #9e94b8;
}
.nx-revoke-btn {
  width: 100%;
  justify-content: center;
  min-height: 40px;
  font-size: 13px;
  border-color: rgba(251, 113, 133, 0.45) !important;
  color: #fecdd3 !important;
}
.nx-revoke-btn:hover,
.nx-revoke-btn:focus-visible {
  border-color: #fb7185 !important;
  background: rgba(244, 63, 94, 0.14) !important;
  color: #ffffff !important;
}
.nx-empty-devices-card {
  grid-column: 1 / -1;
}
.nx-advanced-cred-card {
  padding: 0;
  overflow: hidden;
}
.nx-advanced-cred-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.nx-advanced-cred-summary::-webkit-details-marker {
  display: none;
}
.nx-advanced-cred-summary h3 {
  font-size: 19px;
  margin: 6px 0 0;
  color: #ffffff;
}
.nx-advanced-cred-summary:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: -4px;
}
.nx-advanced-cred-body {
  padding: 0 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.nx-advanced-cred-body > p {
  font-size: 13px;
  line-height: 1.58;
  color: #c2b9da;
  margin: 14px 0;
}
.nx-manual-cred-form {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.nx-manual-form-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.nx-manual-input-wrap {
  flex: 1;
  min-width: 0;
}
.nx-manual-input-wrap input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(9, 6, 18, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.32);
  color: #ffffff;
  font-size: 14px;
}
.nx-manual-input-wrap input:focus {
  outline: none;
  border-color: #d8b4fe;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.24);
}
.nx-manual-submit-btn {
  min-height: 46px;
  white-space: nowrap;
  margin: 0 !important;
  width: auto !important;
}
.nx-devices-footnote {
  margin: 0;
  font-size: 12px;
  color: #968cb2;
}

/* FASE 4.3 — PAREAMENTO EM 1 CLIQUE (/conectar/) */
.nx-connected-account-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(10, 7, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 16px;
  font-size: 12.5px;
  color: #b5adc9;
}
.nx-connected-account-pill strong {
  font-size: 14px;
  color: #ffffff;
  overflow-wrap: anywhere;
}
.nx-authorize-alert {
  margin-bottom: 16px;
}
.nx-verification-code-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(126, 34, 206, 0.22) 0%, rgba(14, 9, 28, 0.96) 100%);
  border: 1.5px solid rgba(216, 180, 254, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 18px rgba(168, 85, 247, 0.18);
  text-align: center;
}
.nx-verification-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #d8b4fe;
}
.nx-verification-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(192, 132, 252, 0.45);
  overflow-wrap: anywhere;
}
.nx-verification-code-panel small {
  font-size: 12px;
  line-height: 1.5;
  color: #c4bcda;
}
.nx-authorize-form {
  margin-bottom: 10px;
}
.nx-authorize-success-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 42, 34, 0.7) 0%, rgba(12, 8, 24, 0.95) 100%);
  border: 1.5px solid rgba(74, 222, 128, 0.5);
}
.nx-authorize-check {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  border: 1px solid rgba(134, 239, 172, 0.6);
  color: #4ade80;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.nx-authorize-success-box h2 {
  font-size: 22px;
  margin: 0 0 6px;
  color: #ffffff;
}
.nx-authorize-success-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #d6f5e3;
}
.nx-switch-account-form {
  margin: 0;
}
.nx-switch-account-btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  font-size: 13.5px;
}
.nx-authorize-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #8c82a8;
}
.nx-authorize-footer a {
  margin-left: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .premium-hero { animation: nx-enter 420ms ease-out both; }
  .sim-panel:not([hidden]) { animation: nx-enter 180ms ease-out both; }
}
@keyframes nx-enter { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.premium .benefit-grid article,
.premium .account-card,
.premium .module-preview:not(.nx-build-hud-card),
.premium .access-card {
  box-shadow: 0 12px 30px #00000026, inset 0 1px 0 #ffffff06;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.premium .benefit-grid article:focus-within,
.premium .account-card:focus-within,
.premium .access-card:focus-within {
  border-color: var(--nx-player);
  box-shadow: 0 18px 40px #00000040, 0 0 25px #a855f720;
}
@media (hover: hover) and (pointer: fine) {
  .premium .benefit-grid article:hover,
  .premium .account-card:hover,
  .premium .module-preview:not(.nx-build-hud-card):hover,
  .premium .access-card:hover {
    border-color: #9333ea;
    box-shadow: 0 22px 45px #00000050, 0 0 28px #a855f724;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .premium .benefit-grid article:hover,
  .premium .account-card:hover { transform: translateY(-4px); }
}

/* RESPONSIVENESS */
@media (max-width: 1199px) {
  .premium-hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
  }
  .sim-panel {
    grid-template-columns: minmax(280px, 0.78fr) minmax(460px, 1.22fr);
    gap: 28px;
    padding: 28px;
  }
  .nx-skill-slots-grid,
  .nx-farm-metrics-grid,
  .nx-onboarding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-draft-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .premium .nx-nav-center { display: none; }
  .premium-hero { grid-template-columns: 1fr; padding-top: 36px; gap: 32px; }
  .nx-monitor-frame { transform: none; max-width: 720px; margin: 0 auto; }
  .product-strip.nx-hero-strip { grid-template-columns: 1fr; gap: 18px; }
  .nx-strip-item { border-right: 0; border-bottom: 1px solid rgba(168, 85, 247, 0.14); padding-right: 0; padding-bottom: 16px; }
  .nx-strip-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .premium .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .premium .section-heading > p { text-align: left; max-width: none; }
  .sim-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; min-height: auto; }
  .nx-build-copy { max-width: none; }
  .nx-skill-slots-grid,
  .nx-farm-metrics-grid,
  .nx-onboarding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-draft-metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: 1fr; }
  .player-shell { grid-template-columns: 1fr; gap: 24px; }
  .player-nav { position: static; border-right: 0; padding-bottom: 0; }
  .player-nav nav { display: flex; flex-wrap: wrap; margin-bottom: 12px; }
  .account-grid { grid-template-columns: 1fr; }
  .nx-devices-grid { grid-template-columns: 1fr; }
  .nx-auth-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 36px 56px;
  }
  .nx-auth-hud-card {
    order: -1;
  }
  .nx-auth-copy {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .nx-brand-hero-card {
    border-radius: 13px;
    margin-bottom: 18px;
  }
  .nx-hero-subtitle {
    font-size: 21px;
    margin-bottom: 12px;
  }
  .premium .container { padding-inline: 16px; }
  .premium .shell-nav { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .premium .brand { font-size: 17px; }
  .premium .nx-btn-login, .premium .nx-btn-signup { padding: 7px 13px; font-size: 12px; min-height: 36px; }
  .nx-auth-grid {
    padding-block: 24px 44px;
    gap: 22px;
  }
  .nx-auth-hud-card {
    padding: 20px 16px;
  }
  .nx-auth-copy h1 {
    font-size: 36px;
  }
  .nx-onboarding-grid {
    grid-template-columns: 1fr;
  }
  .nx-sha-box {
    flex-direction: column;
    align-items: stretch;
  }
  .nx-devices-shortcut-card {
    flex-direction: column;
    align-items: stretch;
  }
  .nx-devices-link-btn {
    width: 100%;
    text-align: center;
  }
  .nx-token-copy-row,
  .nx-manual-form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .nx-manual-submit-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .nx-advanced-cred-summary,
  .nx-advanced-cred-body {
    padding-inline: 16px;
  }
  .nx-device-card {
    padding: 18px 16px;
  }
  .nx-verification-code {
    letter-spacing: 0.2em;
    padding-left: 0.2em;
  }
  .preview-widget.nx-hud-overlay-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    padding: 14px;
    gap: 8px;
  }
  .sim-tabs { flex-wrap: wrap; }
  .sim-tabs button { flex-basis: 50%; min-height: 50px; padding: 10px 12px; font-size: 13px; }
  .sim-panel, .account-grid { grid-template-columns: 1fr; }
  .sim-panel { padding: 20px 16px; gap: 20px; }
  .nx-build-hud-card { padding: 18px 16px; }
  .nx-build-sequence {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nx-seq-arrow {
    transform: rotate(90deg);
    margin: -2px auto;
  }
  .nx-situational-grid {
    grid-template-columns: 1fr;
  }
  .nx-skill-slots-grid {
    grid-template-columns: 1fr;
  }
  .nx-skill-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .nx-farm-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-farm-step-min {
    font-size: 11px;
  }
  .nx-draft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-draft-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-draft-tactical-grid,
  .nx-draft-inspector-taxonomies {
    grid-template-columns: 1fr;
  }
  .nx-inspector-top {
    flex-wrap: wrap;
  }
  .nx-build-hud-header {
    flex-wrap: wrap;
  }
  .module-preview:not(.nx-build-hud-card) { padding: 16px; }
  .empty-state { align-items: start; gap: 12px; }
  .premium .hero-actions>a { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .premium *, .premium *::before, .premium *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .premium .button:hover { transform: none; }
}
