/* Nexus Lab L3 (2026-11-16): the guided draft tour, the skins quick filters and the patch page "What changed". Loaded by the draft views (rift-lab.php draft, League
   draft), the skins pages (nexus-lab-skins.php) and the Wild Rift patch pages (nexus-lab-guide.php patch kind) only. Green on near-black, logical properties. */
.nxt-tour, .nxt-pc, .nxt-skq { --nxt-acc: #45f882; --nxt-ink: #e8f3ec; --nxt-mute: #a7b7ad; --nxt-line: #2f4337; --nxt-card: rgba(13, 18, 16, .92); --nxt-nerf: #ff8a95; }

/* ---------------------------------------------------------------- draft tour */
.nxt-tour { display: flex; flex-direction: column; gap: 8px; margin-block-end: 12px; padding: 14px 16px; border: 1px solid var(--nxt-line); border-radius: 14px; background: var(--nxt-card); color: var(--nxt-ink); }
.nxt-tour__k { margin: 0; font-size: 13px; color: var(--nxt-acc); }
.nxt-tour__dots { display: none; gap: 6px; align-items: center; }
.nxt-tour__dots span { block-size: 6px; inline-size: 12px; border-radius: 999px; background: var(--nxt-line); transition: inline-size .16s ease-out, background .16s ease-out; }
.nxt-tour__dots span.is-on { inline-size: 28px; background: var(--nxt-acc); }
.nxt-tour__dots span.is-done { background: var(--nxt-acc); }
.nxt-tour__count { margin: 0; font-size: 12.5px; color: var(--nxt-mute); }
.nxt-steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.nxt-step__h { margin: 0; font-size: 16px; line-height: 1.3; color: var(--nxt-ink); }
.nxt-step__h:focus { outline: none; }
.nxt-step__h:focus-visible { outline: 2px solid var(--nxt-acc); outline-offset: 2px; }
.nxt-step__p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--nxt-mute); }
.nxt-tour__need { margin: 0; font-size: 13px; color: var(--nxt-acc); }
.nxt-tour__nav { display: flex; gap: 10px; }
.nxt-tour__nav[hidden], .nxt-tour__count[hidden], .nxt-tour__need[hidden] { display: none; }
.nxt-btn { flex: 1; min-block-size: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--nxt-line); background: transparent; color: var(--nxt-ink); font: inherit; font-weight: 600; cursor: pointer; }
.nxt-btn--go { border-color: var(--nxt-acc); background: var(--nxt-acc); color: #04140a; }
.nxt-btn:disabled { opacity: .45; cursor: default; }
.nxt-btn:focus-visible { outline: 2px solid var(--nxt-acc); outline-offset: 2px; }
/* with script: one step at a time */
.is-nxt .nxt-tour__dots { display: flex; }
.is-nxt .nxt-steps { padding: 0; list-style: none; }
.is-nxt .nxt-step[hidden] { display: none; }
.is-nxt .nxt-on { outline: 2px solid rgba(69, 248, 130, .55); outline-offset: 4px; border-radius: 14px; }
@media (min-width: 768px) {
  .is-nxt .nxt-tour { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; }
  .is-nxt .nxt-steps { flex: 1 1 320px; }
  .is-nxt .nxt-tour__nav { flex: 0 0 auto; min-inline-size: 240px; }
  .is-nxt .nxt-tour__k { flex-basis: 100%; }
}
@media (max-width: 767px) {
  /* one step per screen: only the parts of the current step are shown (everything stays in the DOM for the board scripts) */
  .is-nxt .nxt-on { outline: 0; }
  .is-nxt[data-nxt-cur] .rd2-steps, .is-nxt[data-nxt-cur] .nxp-help { display: none; }
  .is-nxt[data-nxt-cur="1"] .nxp-console,
  .is-nxt[data-nxt-cur="1"] .rl44-draft-actions,
  .is-nxt[data-nxt-cur="1"] #nxp-lane-h,
  .is-nxt:not([data-nxt-cur="1"]) .rl44-draft-toolbar,
  .is-nxt:not([data-nxt-cur="2"]):not([data-nxt-cur="3"]) .rl44-match-board,
  .is-nxt:not([data-nxt-cur="2"]):not([data-nxt-cur="3"]) .rl45-secondary-stack,
  .is-nxt[data-nxt-cur="2"] .rl44-team-panel.ally,
  .is-nxt[data-nxt-cur="3"] .rl44-team-panel.enemy,
  .is-nxt[data-nxt-cur="2"] .rl45-versus,
  .is-nxt[data-nxt-cur="3"] .rl45-versus,
  .is-nxt[data-nxt-cur="2"] #rl-pool-panel,
  .is-nxt[data-nxt-cur="3"] #rl-bans-panel,
  .is-nxt[data-nxt-cur="4"] .nxp-console,
  .is-nxt:not([data-nxt-cur="4"]) .rd2-comp,
  .is-nxt:not([data-nxt-cur="4"]) .rl45-analysis-grid,
  .is-nxt:not([data-nxt-cur="4"]) .nxp-howto { display: none !important; }
  .is-nxt .nxt-tour { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .nxt-tour__dots span { transition: none; } }

/* ---------------------------------------------------------------- skins: champion and skin line in view */
.nxt-skq { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-block: 8px; }
.nxt-skq .nxl3s-sel { flex: 1 1 200px; min-inline-size: 0; }
.nxt-skq select { min-block-size: 44px; max-inline-size: 100%; }

/* ---------------------------------------------------------------- patch: What changed */
.nxt-pc { display: flex; flex-direction: column; gap: 10px; margin-block: 18px; padding: 16px; border: 1px solid var(--nxt-line); border-radius: 16px; background: var(--nxt-card); color: var(--nxt-ink); }
.nxt-pc__k { margin: 0; font-size: 13px; color: var(--nxt-acc); }
.nxt-pc__h { margin: 0; }
.nxt-pc__p, .nxt-pc__none, .nxt-pc__empty, .nxt-pc__msg { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nxt-mute); }
.nxt-pc__msg[hidden], .nxt-pc__none[hidden], .nxt-chip[hidden], .nxt-pc__row[hidden] { display: none; }
.nxt-pc__bar { display: flex; flex-wrap: wrap; gap: 8px; }
.nxt-chip { display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nxt-line); background: transparent; color: var(--nxt-ink); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.nxt-chip[aria-pressed="true"] { border-color: var(--nxt-acc); background: rgba(69, 248, 130, .14); color: var(--nxt-acc); }
.nxt-chip:focus-visible { outline: 2px solid var(--nxt-acc); outline-offset: 2px; }
.nxt-pc__g { display: flex; flex-direction: column; gap: 6px; }
.nxt-pc__gh { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--nxt-acc); }
.nxt-pc__g--nerf .nxt-pc__gh { color: var(--nxt-nerf); }
.nxt-pc__g--adjusted .nxt-pc__gh, .nxt-pc__g--new .nxt-pc__gh { color: var(--nxt-ink); }
.nxt-pc__n { font-weight: 400; color: var(--nxt-mute); }
.nxt-pc__l { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
@media (min-width: 900px) { .nxt-pc__l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nxt-pc__row a, .nxt-pc__plain { display: flex; flex-direction: column; gap: 2px; min-block-size: 44px; justify-content: center; padding: 8px 12px; border: 1px solid var(--nxt-line); border-radius: 12px; color: var(--nxt-ink); text-decoration: none; }
.nxt-pc__row a:hover, .nxt-pc__row a:focus-visible { border-color: var(--nxt-acc); }
.nxt-pc__name { font-size: 14px; }
.nxt-pc__d { font-size: 12.5px; color: var(--nxt-mute); overflow-wrap: anywhere; }
[dir="rtl"] .nxt-pc__d[dir="ltr"] { text-align: end; }
