.nabd {
  --n-accent: #7560b6;
  --n-soft: color-mix(in srgb, var(--n-accent) 9%, var(--surface));
  --n-line: color-mix(in srgb, var(--n-accent) 20%, var(--border));
  padding-block: 58px 80px;
  background: radial-gradient(ellipse at 90% 0%, var(--n-soft), transparent 48%), var(--bg);
  min-height: 80vh;
}
:root[data-theme="dark"] .nabd {
  --n-accent: #b5a2ed;
}
.n-progress > span,
#nKnown,
.n-axis-row > b {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}
.n-start {
  margin-top: 20px;
  max-width: 100%;
  justify-content: space-between;
}
.n-resume {
  margin-top: 20px;
}
.n-launch-help {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--n-line);
  border-radius: 14px;
  background: var(--n-soft);
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--muted);
}
.n-launch-help a {
  color: var(--n-accent);
  text-decoration: underline;
}
.n-token-bank {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  margin-block: 14px 20px;
}
.n-token {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-height: 40px;
  line-height: 1;
  font-size: clamp(9px, 2vw, 15px);
  border: 1px dashed var(--n-line);
  border-radius: 12px;
  color: var(--n-accent);
  background: var(--n-soft);
  transition:
    background-color 200ms,
    transform 200ms;
}
.n-token[data-bucket="delivery"] {
  background: var(--n-accent);
  border-style: solid;
  color: #fff;
}
.n-token[data-bucket="insight"] {
  background: var(--accent);
  border-style: solid;
  color: #fff;
}
.n-token[data-bucket="ads"] {
  background: var(--gold);
  border-style: solid;
  color: #fff;
}
.n-token[data-bucket="newMarket"] {
  background: #6e8b6b;
  border-style: solid;
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nabd {
    --n-accent: #b5a2ed;
  }
}
.nabd [hidden] {
  display: none !important;
}
.nabd button,
.nabd input {
  font: inherit;
}
.nabd h1,
.nabd h2,
.nabd h3,
.nabd p {
  text-align: start;
  word-spacing: normal;
}
.nabd svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.n-map {
  min-width: 0;
}
.n-map ol {
  position: relative;
}
.n-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.n-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--n-accent);
  font-weight: 700;
  margin-bottom: 28px;
}
.n-brand svg {
  width: 76px;
  height: 32px;
}
.n-welcome h1 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.n-lead {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.95;
}
.n-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 22px;
}
.n-meta span {
  border: 1px solid var(--n-line);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 0.77rem;
  background: var(--surface);
  color: var(--n-accent);
}
.n-scope {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.n-start {
  gap: 32px;
  min-width: 240px;
}
.n-save {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  font-size: 0.88rem;
  cursor: pointer;
}
.n-save input {
  margin-top: 6px;
  width: 18px;
  height: 18px;
  accent-color: var(--n-accent);
  flex: none;
}
.n-save small {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.7;
  margin-top: 5px;
}
.n-privacy {
  display: flex;
  gap: 10px;
  align-items: start;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.8;
}
.n-privacy svg {
  color: var(--n-accent);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.n-world {
  border: 1px solid var(--n-line);
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(145deg, var(--surface), var(--n-soft));
  box-shadow: 0 24px 64px -44px rgba(62, 44, 110, 0.35);
}
.n-eyebrow {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--n-accent);
  letter-spacing: 0.015em;
}
.n-world-head h2 {
  font-size: 1.5rem;
  margin-block: 8px;
}
.n-world-head > p {
  font-size: 0.86rem;
  color: var(--muted);
}
.n-islands {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-block: 24px;
}
.n-islands li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--n-line);
  border-radius: 18px;
  background: var(--surface);
  position: relative;
}
.n-islands li:nth-child(even) {
  margin-inline-start: 28px;
}
.n-islands li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline-start: 36px;
  height: 15px;
  border-inline-start: 2px dashed var(--n-line);
}
.n-island-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--n-soft);
  color: var(--n-accent);
}
.n-island-icon b {
  position: absolute;
  inset-inline-end: -5px;
  bottom: -5px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  line-height: 1;
  border-radius: 50%;
  background: var(--n-accent);
  color: #fff;
  border: 2px solid var(--surface);
}
.n-islands h3 {
  font-size: 0.94rem;
}
.n-islands p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 3px;
}
.n-island-star {
  color: var(--gold);
  margin-inline-start: auto;
}
.n-world-footer {
  font-size: 0.77rem;
  color: var(--muted);
  border-top: 1px solid var(--n-line);
  padding-top: 18px;
}
.n-world-footer > span {
  color: var(--gold);
  font-size: 1.2rem;
  margin-inline-end: 6px;
}
.n-resume {
  padding: 18px;
  border: 1px solid var(--n-line);
  border-radius: 18px;
  background: var(--n-soft);
}
.n-resume p {
  font-size: 0.86rem;
  margin-bottom: 16px;
}
.n-resume .btn {
  margin-block: 4px;
  margin-inline-end: 8px;
  font-size: 0.84rem;
}
.n-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.n-hud p {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 6px;
}
.n-xp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--n-soft);
  border: 1px solid var(--n-line);
  border-radius: 14px;
  font-size: 0.76rem;
  flex: none;
}
.n-xp > span:first-child {
  color: var(--gold);
  font-size: 1.2rem;
}
.n-xp b {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.n-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.n-progress > div {
  height: 7px;
  flex: 1;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.n-progress > div > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--n-accent));
  border-radius: 99px;
  transition: width 350ms var(--motion-ease);
}
.n-progress > span {
  font-size: 0.76rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.n-play-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.n-map {
  position: sticky;
  top: 105px;
}
.n-map > h2 {
  font-size: 1rem;
  margin-bottom: 18px;
}
.n-map ol {
  list-style: none;
  display: grid;
  gap: 10px;
}
.n-map li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  padding: 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}
.n-map li[aria-current="step"] {
  border-color: var(--n-line);
  background: var(--n-soft);
  color: var(--text);
}
.n-map small {
  display: block;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  text-align: right;
}
.n-map-icon {
  display: grid;
  place-items: center;
  color: var(--n-accent);
}
.n-map-check {
  margin-inline-start: auto;
  color: var(--n-accent);
  opacity: 0;
}
.n-map li.is-done .n-map-check {
  opacity: 1;
}
.n-storage {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}
.n-stage {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--n-line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 20px 60px -48px rgba(42, 26, 82, 0.3);
  scroll-margin-top: 105px;
}
.n-stage:focus,
.n-report:focus {
  outline: none;
}
.n-fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.n-fieldset legend {
  font-family: "ThmanyahSerifDisplay", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.65;
  padding: 0;
  margin-block: 10px 12px;
  width: 100%;
}
.n-hint {
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--muted);
}
.n-options {
  display: grid;
  gap: 10px;
  margin-block: 22px;
}
.n-choice {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  transition:
    border-color 160ms,
    background-color 160ms,
    box-shadow 160ms;
  background: var(--bg);
}
.n-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--n-accent);
  flex: none;
}
.n-choice > span {
  font-size: 0.91rem;
  line-height: 1.7;
}
.n-choice small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 3px;
}
.n-choice:has(input:checked) {
  border-color: var(--n-accent);
  background: var(--n-soft);
  box-shadow: 0 0 0 1px var(--n-line);
}
.n-choice:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.n-choice.n-unknown {
  border-style: dashed;
}
.n-choice.n-unknown > span {
  font-size: 0.84rem;
}
.n-proof {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  font-size: 0.82rem;
}
.n-proof summary {
  cursor: pointer;
  color: var(--n-accent);
  min-height: 28px;
}
.n-proof p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.85;
}
.n-answer-note {
  min-height: 24px;
  font-size: 0.76rem;
  color: var(--n-accent);
  margin-top: 12px;
}
.n-coach {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-top: 22px;
  padding: 15px;
  border-radius: 15px;
  background: var(--n-soft);
  font-size: 0.8rem;
  line-height: 1.8;
}
.n-coach > span {
  color: var(--gold);
  font-size: 1.2rem;
}
.n-coach b {
  font-weight: 600;
}
.n-coach p {
  color: var(--muted);
  margin-top: 3px;
}
.n-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.n-nav .btn {
  font-size: 0.88rem;
  min-width: 110px;
}
.n-nav .btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}
.n-skip,
.n-restart {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  min-height: 44px;
}
.n-challenge-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--n-accent);
  font-size: 0.8rem;
  padding: 5px 11px;
  background: var(--n-soft);
  border-radius: 99px;
  margin-bottom: 12px;
}
.n-stage h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.n-optional {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 10px;
}
.n-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-block: 24px;
}
.n-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  background: var(--n-soft);
  border: 1px solid var(--n-line);
  border-radius: 15px;
}
.n-fact b {
  font-size: 1.2rem;
  color: var(--n-accent);
  direction: ltr;
  text-align: right;
}
.n-fact span {
  font-size: 0.72rem;
  color: var(--muted);
}
.n-game-question {
  font-size: 1.05rem;
  line-height: 1.8;
}
.n-feedback {
  padding: 19px;
  background: var(--n-soft);
  border: 1px solid var(--n-line);
  border-radius: 18px;
  margin-top: 20px;
}
.n-feedback h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.n-feedback p {
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--muted);
}
.n-budget-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
}
.n-budget-header b {
  font-size: 2rem;
  color: var(--n-accent);
  font-variant-numeric: tabular-nums;
}
.n-budget-header span {
  font-size: 0.82rem;
  color: var(--muted);
}
.n-budget-row {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.n-budget-row h4 {
  font-size: 0.9rem;
}
.n-budget-row p {
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 3px;
}
.n-budget-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  direction: ltr;
}
.n-budget-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--n-line);
  border-radius: 12px;
  background: var(--n-soft);
  color: var(--n-accent);
  font-size: 1.2rem;
  cursor: pointer;
}
.n-budget-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.n-budget-controls output {
  min-width: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.n-budget-reset {
  background: none;
  border: 0;
  font-size: 0.78rem;
  text-decoration: underline;
  color: var(--n-accent);
  cursor: pointer;
  min-height: 44px;
  margin-top: 8px;
}
.n-files {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.n-file {
  display: block;
  text-align: start;
  padding: 15px;
  border: 1px dashed var(--n-line);
  border-radius: 15px;
  background: var(--n-soft);
  color: var(--text);
  cursor: pointer;
  width: 100%;
}
.n-file b {
  font-size: 0.86rem;
}
.n-file p {
  margin-top: 8px;
  font-size: 0.81rem;
  line-height: 1.85;
  color: var(--muted);
}
.n-file[aria-expanded="true"] {
  border-style: solid;
}
.n-files-status {
  font-size: 0.75rem;
  color: var(--n-accent);
  margin-top: 8px;
}
.n-report {
  scroll-margin-top: 105px;
}
.n-report-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--n-line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface), var(--n-soft));
}
.n-report-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-block: 8px 18px;
}
.n-report-head h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.n-report-head p {
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--muted);
}
.n-score-ring {
  --n-score: 0%;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--surface) 85%, transparent 86%),
    conic-gradient(var(--n-accent) var(--n-score), var(--n-line) 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
.n-score-ring strong {
  font-size: 3rem;
  line-height: 1.25;
  color: var(--n-accent);
  font-variant-numeric: tabular-nums;
}
.n-score-ring span {
  font-size: 0.75rem;
  color: var(--muted);
}
.n-report-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-block: 20px;
}
.n-report-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.n-report-stats b {
  font-size: 1.3rem;
  color: var(--n-accent);
  font-variant-numeric: tabular-nums;
}
.n-report-stats span,
.n-report-note {
  font-size: 0.77rem;
  color: var(--muted);
}
.n-report-note {
  margin-bottom: 26px;
}
.n-report-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.n-panel {
  padding: 26px;
  border: 1px solid var(--n-line);
  border-radius: 24px;
  background: var(--surface);
}
.n-panel h3,
.n-report-section > h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.n-radar {
  display: grid;
  place-items: center;
  min-height: 80px;
}
.n-radar svg {
  width: min(100%, 330px);
  height: auto;
  overflow: visible;
  stroke-width: 1;
}
.n-radar p {
  font-size: 0.8rem;
  color: var(--muted);
}
.n-breakdown {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.n-axis-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  font-size: 0.83rem;
}
.n-axis-row small {
  font-size: 0.72rem;
  color: var(--muted);
}
.n-axis-track {
  height: 6px;
  border-radius: 99px;
  background: var(--border);
  grid-column: 1/-1;
  overflow: hidden;
}
.n-axis-track > span {
  height: 100%;
  display: block;
  background: var(--n-accent);
  border-radius: 99px;
}
.n-strength {
  padding: 17px;
  border: 1px solid var(--n-line);
  border-radius: 16px;
  margin-top: 12px;
  background: var(--n-soft);
}
.n-strength h4 {
  font-size: 0.95rem;
}
.n-strength p {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.8;
}
.n-badges-heading {
  margin-top: 28px;
}
.n-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.n-badges span {
  font-size: 0.75rem;
  color: var(--n-accent);
  padding: 8px 12px;
  border: 1px solid var(--n-line);
  border-radius: 99px;
  background: var(--n-soft);
}
.n-report-section {
  padding-block: 30px;
  border-bottom: 1px solid var(--border);
}
.n-priorities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.n-priority {
  padding: 22px;
  border: 1px solid var(--n-line);
  border-radius: 20px;
  background: var(--surface);
  min-width: 0;
}
.n-priority > .n-eyebrow {
  font-size: 0.72rem;
}
.n-priority h4 {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-block: 10px;
}
.n-priority blockquote {
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--n-line);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.9;
  margin-block: 14px;
}
.n-priority p {
  font-size: 0.84rem;
  line-height: 1.9;
}
.n-priority b {
  display: block;
  font-size: 0.76rem;
  margin-block: 16px 5px;
  color: var(--n-accent);
}
.n-plan {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.n-plan li {
  border-inline-start: 2px solid var(--n-accent);
  padding-inline-start: 18px;
}
.n-plan h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.n-plan p {
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--muted);
}
.n-learning {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.n-learning article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.n-learning h4 {
  font-size: 0.97rem;
}
.n-learning p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 8px;
}
.n-method {
  padding: 22px;
  border: 1px solid var(--n-line);
  border-radius: 20px;
  margin-top: 26px;
  background: var(--n-soft);
}
.n-method summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}
.n-method p {
  font-size: 0.81rem;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 16px;
}
.n-critical {
  border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--border));
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  background: color-mix(in srgb, var(--gold) 7%, var(--surface));
  font-size: 0.88rem;
  line-height: 1.85;
}
.n-critical b {
  display: block;
  margin-bottom: 8px;
}
.n-critical ul {
  padding-inline-start: 20px;
}
.n-report-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.n-report-actions .btn {
  font-size: 0.86rem;
}
.n-print-hint {
  margin-top: 12px;
}
.n-contact {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--n-line);
  border-radius: 22px;
  background: var(--n-soft);
}
.n-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.n-contact p {
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 60ch;
}
.n-contact > div:last-child {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.n-contact .btn {
  font-size: 0.86rem;
}
.n-service-link {
  font-size: 0.82rem;
  color: var(--n-accent);
}
@media (hover: hover) and (pointer: fine) {
  .n-choice:hover {
    border-color: var(--n-accent);
  }
  .n-budget-controls button:not(:disabled):hover {
    background: var(--n-line);
  }
  .n-file:hover {
    border-color: var(--n-accent);
  }
}
@media (max-width: 1000px) {
  .n-intro-grid {
    gap: 28px;
  }
  .n-world {
    padding: 22px;
  }
  .n-play-grid {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
  }
  .n-stage {
    padding: 26px;
  }
  .n-priorities {
    grid-template-columns: 1fr;
  }
  .n-priority {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .n-priority > .n-eyebrow,
  .n-priority > h4 {
    grid-column: 1/-1;
  }
  .n-priority > blockquote {
    grid-row: 3/6;
  }
}
@media (max-width: 760px) {
  .nabd {
    padding-block: 30px 56px;
  }
  .n-intro-grid {
    grid-template-columns: 1fr;
  }
  .n-world {
    padding: 22px;
  }
  .n-islands {
    gap: 12px;
  }
  .n-world-head h2 {
    font-size: 1.3rem;
  }
  .n-islands li {
    padding: 12px;
  }
  .n-islands li:nth-child(even) {
    margin-inline-start: 20px;
  }
  .n-welcome h1 {
    max-width: 18ch;
  }
  .n-lead {
    font-size: 0.97rem;
  }
  .n-play-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .n-map {
    position: static;
  }
  .n-map > h2 {
    display: none;
  }
  .n-map ol {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-block: 4px;
    scrollbar-width: thin;
  }
  .n-map li {
    padding: 9px 10px;
    min-width: 103px;
    flex: none;
    gap: 7px;
    font-size: 0.78rem;
  }
  .n-map-icon svg {
    width: 18px;
    height: 18px;
  }
  .n-map-check {
    font-size: 0.8rem;
  }
  .n-map small {
    font-size: 0.65rem;
  }
  .n-storage {
    margin-top: 8px;
    font-size: 0.67rem;
  }
  .n-stage {
    padding: 24px;
    border-radius: 22px;
  }
  .n-hud {
    gap: 12px;
    margin-bottom: 14px;
  }
  .n-hud p {
    font-size: 1rem;
  }
  .n-xp {
    padding: 8px 10px;
    gap: 6px;
  }
  .n-xp > span:last-child {
    display: none;
  }
  .n-xp b {
    font-size: 1rem;
  }
  .n-progress {
    margin-bottom: 18px;
  }
  .n-report-head {
    padding: 26px;
    gap: 20px;
  }
  .n-score-ring {
    width: 126px;
    height: 126px;
  }
  .n-score-ring strong {
    font-size: 2.3rem;
  }
  .n-score-ring span {
    font-size: 0.64rem;
  }
  .n-report-grid {
    grid-template-columns: 1fr;
  }
  .n-plan {
    grid-template-columns: 1fr;
  }
  .n-contact {
    flex-direction: column;
    align-items: start;
  }
  .n-contact > div:last-child {
    align-items: start;
  }
  .n-report-stats {
    gap: 8px;
  }
  .n-report-stats > div {
    padding: 13px;
  }
  .n-report-stats span {
    font-size: 0.7rem;
  }
  .n-report-stats b {
    font-size: 1.15rem;
  }
}
@media (max-width: 480px) {
  .n-stage {
    padding: 20px;
  }
  .n-choice {
    padding: 12px;
    gap: 10px;
  }
  .n-choice > span {
    font-size: 0.86rem;
  }
  .n-fieldset legend {
    font-size: 1.2rem;
  }
  .n-coach {
    padding: 12px;
    font-size: 0.74rem;
  }
  .n-nav .btn {
    font-size: 0.81rem;
    min-width: 92px;
    padding-inline: 15px;
  }
  .n-facts {
    gap: 7px;
  }
  .n-fact {
    padding: 10px 8px;
  }
  .n-fact b {
    font-size: 1.05rem;
  }
  .n-fact span {
    font-size: 0.65rem;
  }
  .n-budget-row {
    flex-direction: column;
    align-items: stretch;
  }
  .n-budget-controls {
    justify-content: flex-end;
  }
  .n-report-head {
    grid-template-columns: 1fr;
  }
  .n-score-ring {
    width: 138px;
    height: 138px;
  }
  .n-priority {
    display: block;
    padding: 20px;
  }
  .n-report-actions {
    display: grid;
  }
  .n-report-actions .btn {
    width: 100%;
  }
  .n-meta {
    gap: 7px;
  }
  .n-meta span {
    font-size: 0.71rem;
  }
  .n-world {
    padding: 18px;
  }
  .n-islands p {
    font-size: 0.72rem;
  }
  .n-island-star {
    display: none;
  }
}
@keyframes nabdReward {
  50% {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px -12px var(--n-accent);
  }
}
:root[data-motion-running] .n-xp.is-rewarded {
  animation: nabdReward 450ms var(--motion-ease);
}
@media (prefers-reduced-motion: reduce) {
  .nabd * {
    animation: none !important;
    transition: none !important;
  }
}
:root[data-motion-paused] .nabd * {
  animation: none !important;
  transition: none !important;
}
@media print {
  .n-report > .n-save {
    display: none !important;
  }
}
@media print {
  header.site-header,
  footer,
  .motion-progress,
  .n-report-actions,
  .n-contact,
  .n-restart,
  .n-print-hint,
  #nIntro,
  #nPlay,
  #nCopyStatus {
    display: none !important;
  }
  body {
    padding: 0;
    background: #fff;
    color: #17212b;
  }
  .nabd {
    --bg: #fff;
    --surface: #fff;
    --text: #17212b;
    --muted: #485362;
    --border: #ddd;
    --n-accent: #65529e;
    --n-line: #ddd;
    --n-soft: #f5f3fa;
    padding: 0;
    background: #fff;
  }
  .n-wrap {
    padding: 0;
    max-width: none;
  }
  .n-report-head {
    padding: 20px;
    grid-template-columns: 1fr auto;
  }
  .n-report-head h2 {
    font-size: 22pt;
  }
  .n-report-grid {
    grid-template-columns: 1fr 1fr;
  }
  .n-panel {
    padding: 18px;
  }
  .n-report-section {
    padding-block: 20px;
  }
  .n-priorities,
  .n-plan {
    display: block;
  }
  .n-priority {
    display: block;
    margin-bottom: 12px;
  }
  .n-plan li {
    margin-top: 16px;
  }
  .n-report-stats > div,
  .n-priority,
  .n-plan li,
  .n-learning article,
  .n-report-head,
  .n-strength {
    break-inside: avoid;
  }
  .n-radar svg {
    max-width: 240px;
  }
  .n-method {
    background: none;
  }
  .n-method > p {
    display: block;
  }
  .n-report p {
    orphans: 3;
    widows: 3;
  }
  a {
    text-decoration: none;
  }
  .nabd section {
    padding-block: 20px;
  }
  .n-report-note {
    font-size: 9pt;
  }
}
