/* theme + fonts */

/**
 * Design tokens — Peru gaming palette from site backgrounds and logo:
 * crimson red, metallic gold, Andean green, deep night surfaces.
 */
:root {
  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  /* --- Surfaces --- */
  --color-bg-base: #0a0608;
  --color-bg: #0a0608;
  --color-elevated: #140c10;
  --color-surface: rgba(18, 10, 14, 0.88);
  --color-card: rgba(22, 12, 16, 0.92);
  --color-surface-muted: #1a1014;
  --color-surface-subtle: #22161a;
  --color-skeleton: #2a1c22;
  --color-skeleton-strong: #3a2830;
  --color-overlay: rgba(6, 3, 4, 0.82);
  --color-overlay-soft: rgba(6, 3, 4, 0.55);

  /* --- Accents --- */
  --color-accent: #e31c23;
  --color-accent-hot: #ff3b3f;
  --color-accent-gold: #f0c14b;
  --color-accent-gold-deep: #c9921a;
  --color-accent-green: #2f9e44;
  --color-accent-green-deep: #1b6b2e;

  /* --- Text --- */
  --color-text-primary: #f7f1e8;
  --color-text: #f7f1e8;
  --color-text-secondary: #d4c6b4;
  --color-text-muted: #a89888;
  --color-text-subtle: #8a7a6c;
  --color-text-faint: #6e6054;
  --color-text-faintest: #564a42;
  --color-text-inverse: #0a0608;

  /* --- Lines --- */
  --color-border: rgba(240, 193, 75, 0.28);
  --color-border-strong: rgba(227, 28, 35, 0.55);
  --color-border-soft: rgba(247, 241, 232, 0.12);
  --color-border-softer: rgba(247, 241, 232, 0.08);
  --color-border-input: rgba(247, 241, 232, 0.2);
  --color-border-muted: rgba(240, 193, 75, 0.18);

  /* --- Inverted (CTA, banners, badges) --- */
  --color-inverted-bg: #e31c23;
  --color-inverted-bg-hover: #ff3b3f;
  --color-inverted-text: #f7f1e8;
  --color-contrast-bg: #0a0608;
  --color-contrast-text: #f0c14b;

  /* --- Gradients --- */
  --gradient-brand: linear-gradient(135deg, #e31c23 0%, #c9921a 55%, #f0c14b 100%);
  --gradient-gold: linear-gradient(120deg, #f0c14b, #ffe9a8 45%, #c9921a);
  --gradient-cta: linear-gradient(110deg, #e31c23, #ff5a3c 50%, #f0c14b);
  --gradient-cta-top: linear-gradient(110deg, #f0c14b, #ffe08a 40%, #e31c23);
  --gradient-logo-cell: linear-gradient(160deg, rgba(240, 193, 75, 0.22), rgba(227, 28, 35, 0.18));
  --gradient-footer: linear-gradient(90deg, transparent, #e31c23 20%, #f0c14b 50%, #2f9e44 80%, transparent);

  /* --- Spinner --- */
  --color-spinner-track: rgba(247, 241, 232, 0.15);
  --color-spinner-head: #f0c14b;

  /* --- Layout --- */
  --layout-max-width: 1120px;
  --layout-padding-x: 1.25rem;
  --content-max-width: 900px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow-red: 0 0 28px rgba(227, 28, 35, 0.45);
  --shadow-glow-gold: 0 0 24px rgba(240, 193, 75, 0.4);
}


/* global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body), 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display), Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

ul,
ol {
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--color-bg-base);
  color: var(--color-text-primary);
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#lista,
#como-empezar,
#despues-del-clic,
#generos,
#sin-descarga,
#en-el-celular,
#como-elegir,
#para-quien,
#seguridad,
#con-calma,
#preguntas {
  scroll-margin-top: 5.5rem;
}


/* Commons */

.nmMain {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
}


/* Textblock */

.page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max-width));
  margin: 0 auto;
  padding: 2rem var(--layout-padding-x) 3rem;
  color: var(--color-text-primary);
}

.page h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

.page h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--color-accent-gold);
}

.page p,
.page li {
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.page ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.page a {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page details {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--color-surface);
}

.page summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-primary);
}

.page details p {
  margin: 0.55rem 0 0;
}

.page ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

.cardGrid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 1.1rem 0 1.5rem;
}

.cardLink {
  display: grid;
  place-items: center;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: center;
  text-decoration: none !important;
  font-weight: 700;
  color: var(--color-text-primary) !important;
}

.cardLink:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold) !important;
}

.tableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  margin: 0.75rem 0 1.25rem;
}

.tableWrap:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

.tableWrap table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.tableWrap th,
.tableWrap td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--color-border-soft);
  text-align: left;
  vertical-align: top;
  color: var(--color-text-secondary);
}

.tableWrap thead th,
.tableWrap tbody th {
  color: var(--color-accent-gold);
  font-weight: 700;
  background: color-mix(in srgb, var(--color-accent-gold) 10%, transparent);
}

.tableWrap tr:last-child th,
.tableWrap tr:last-child td {
  border-bottom: none;
}

.compare {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.4rem;
}

@media (min-width: 720px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.compare > div {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.compare h2 {
  margin-top: 0;
}

.gameList {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.gameList a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-decoration: none !important;
}

.gameList img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-soft);
}

.gameList strong {
  display: block;
  color: var(--color-accent-gold);
}

.gameList em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.inlineGame {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none !important;
  color: var(--color-text-primary) !important;
  font-weight: 700;
}

.inlineGame img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: cover;
  border-radius: 4px;
}


/* Handoff */

/* Full-screen states rendered without the site chrome: the click hop's
   redirect page, /access-restricted and /error, the 404 and the 500. */
.nmWrapper {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hoCard {
  max-width: 640px;
  text-align: center;
  border: 1px solid var(--color-border-softer);
  border-radius: 12px;
  padding: 24px;
  background: var(--color-surface);
}

.hoTitle {
  margin: 0 0 12px;
}

.nmSubtitle {
  margin: 0 0 10px;
}

.nmDescription {
  margin: 0 0 16px;
  color: var(--color-text-secondary);
}

.nmBackLink {
  display: inline-block;
  text-decoration: underline;
}

/* The click hop's redirect page, while its script sends the visitor on. */
.nmSpinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 4px solid var(--color-spinner-track);
  border-top-color: var(--color-spinner-head);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nmSpinner {
    animation-duration: 2.4s;
  }
}

.nmCode {
  display: block;
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-text-faintest);
}


/* Masthead */

.mhHeader {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(10, 6, 8, 0.72);
}

.mhInner {
  width: min(100%, var(--layout-max-width));
  margin-inline: auto;
  padding: 0.65rem var(--layout-padding-x);
  display: flex;
  align-items: center;
}

.nmHome {
  display: inline-flex;
  align-items: center;
}

.mhLogo {
  width: auto;
  height: 2.6rem;
  max-width: min(220px, 58vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.mhAccent {
  height: 3px;
  background: var(--gradient-brand);
}


/* Groundline */

.nmFooter {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0 0 1.5rem;
  background: rgba(10, 6, 8, 0.82);
}

.nmWithSticky {
  padding-bottom: 5.5rem;
}

.nmRule {
  height: 3px;
  background: var(--gradient-footer);
  margin-bottom: 1.75rem;
}

.glInner {
  width: min(100%, var(--layout-max-width));
  margin-inline: auto;
  padding: 0 var(--layout-padding-x);
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .glInner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }
}

@media (min-width: 1024px) {
  .glInner {
    grid-template-columns: 1.35fr 1.15fr 1.1fr;
    gap: 2rem;
  }
}

.nmCol {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.nmLogoLink {
  display: inline-flex;
  width: fit-content;
}

.glLogo {
  height: 2.2rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nmBlurb {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 38ch;
}

.nmMail {
  color: var(--color-accent-gold);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nmColTitle {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.nmList {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.nmLink {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.35;
}

.nmLink:hover {
  color: var(--color-accent-gold);
}

.nmLinkBlock,
.nmGameLink {
  display: grid;
  gap: 0.12rem;
  color: inherit;
  text-decoration: none;
}

.nmGameLink {
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
}

.nmGameLink img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border-soft);
}

.nmLinkLabel {
  display: block;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.nmLinkHint {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.nmLinkBlock:hover .nmLinkLabel,
.nmGameLink:hover .nmLinkLabel {
  color: var(--color-accent-gold);
}

.nmBottom {
  width: min(100%, var(--layout-max-width));
  margin: 1.5rem auto 0;
  padding: 1rem var(--layout-padding-x) 0;
  border-top: 1px solid var(--color-border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
}

.nmDisclaimer {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  max-width: 54ch;
}

.nmCopy {
  color: var(--color-text-subtle);
  font-size: 0.78rem;
  white-space: nowrap;
}


/* Lede */

.ldHero {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 1.35rem;
  overflow-x: clip;
  max-width: 100%;
}

.ldInner {
  width: min(100%, var(--layout-max-width));
  margin-inline: auto;
  padding: 0 var(--layout-padding-x);
}

.ldBadge {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

.ldTitle {
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  font-weight: 800;
  color: var(--color-text-primary);
  text-wrap: balance;
  max-width: 18ch;
  line-height: 1.12;
}

.nmPrefix {
  color: var(--color-text-primary);
}

.ldAccent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nmSuffix {
  color: var(--color-text-secondary);
  font-weight: 700;
}

.nmDesc {
  margin-top: 0.65rem;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.nmPoints {
  list-style: none;
  margin-top: 0.85rem;
  display: grid;
  gap: 0.4rem;
  max-width: 40rem;
}

.nmPoints li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.nmPoints li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--color-accent-green);
}

.nmActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.ldCta {
  display: inline-flex;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-inverse);
  background: var(--gradient-cta);
  box-shadow: var(--shadow-glow-red);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ldCta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.ldSecondary {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Games: centered mast + full-bleed cover river —— */

.nmGamesHero {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  justify-items: center;
  overflow-x: clip;
}

.nmGamesCenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: min(100%, 46rem);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0.35rem var(--layout-padding-x) 0;
  text-align: center;
  justify-self: center;
}

.nmBrand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  text-align: center;
}

.nmGamesCenter .ldBadge {
  margin-bottom: 0.75rem;
  text-align: center;
}

.nmTitleCenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  width: 100%;
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}

.nmTitleCenter .nmPrefix,
.nmTitleCenter .ldAccent,
.nmTitleCenter .nmSuffix {
  display: block;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.nmTitleCenter .nmSuffix {
  font-size: 0.72em;
  font-weight: 700;
}

.nmDescCenter {
  margin: 0.9rem auto 0;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  text-align: center;
}

.nmActionsCenter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.15rem;
}

.nmRiverWrap {
  position: relative;
  width: 100%;
  max-width: 100vw;
  padding: 0.35rem 0 0.5rem;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.nmRiverFade {
  display: none;
}

.nmRiver {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  max-width: none;
  padding: 1.1rem 0 1.4rem;
  animation: nmRiver 42s linear infinite;
  will-change: transform;
}

.nmRiverCard {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(9.5rem, 22vw, 14.5rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
  transform: translateY(calc(var(--nm-shift, 0) * 0.7rem)) rotate(calc(var(--nm-shift, 0) * 1.4deg));
  background: var(--color-surface);
}

.nmRiverCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nmFootNotes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.1rem;
  width: min(100%, var(--layout-max-width));
  margin: 0 auto;
  padding: 0 var(--layout-padding-x);
}

.nmFootNotes li {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.nmFootNotes li::before {
  content: '·';
  margin-right: 0.55rem;
  color: var(--color-accent-gold);
}

.nmFootNotes li:first-child::before {
  content: none;
  margin: 0;
}

@keyframes nmRiver {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ldCta,
  .nmRiver {
    transition: none;
    animation: none;
  }

  .nmRiver {
    flex-wrap: wrap;
    width: min(100%, var(--layout-max-width));
    margin-inline: auto;
    padding-inline: var(--layout-padding-x);
    justify-content: center;
  }
}


/* Offers */

.ofSection {
  position: relative;
  z-index: 1;
  padding: 0.75rem 0 1.5rem;
}

.nmContainer {
  width: min(100%, var(--layout-max-width));
  margin-inline: auto;
  padding: 0 var(--layout-padding-x);
}

.ofGrid {
  display: grid;
  gap: 1.1rem;
}

.nmSentinel {
  height: 1px;
  width: 100%;
  margin-top: 0.5rem;
}


/* Folio */

.foCard {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  isolation: isolate;
}

.nmTop1 {
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  animation: nmPulse 2.4s ease-in-out infinite;
}

.nmTop23 {
  border-color: rgba(227, 28, 35, 0.45);
}

.foBadge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 0.32rem 0.75rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  background: var(--gradient-cta);
  pointer-events: none;
}

.nmTop1 .foBadge {
  background: var(--gradient-cta-top);
  animation: nmBadgeGlow 1.8s ease-in-out infinite;
}

.nmHit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.foInner {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  pointer-events: none;
}

/* —— Games (fallback) —— */

.nmGame .foInner {
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .nmGame .foInner {
    grid-template-columns: 11.5rem 1fr;
    align-items: start;
    padding: 1.1rem;
    gap: 1rem;
  }
}

.nmMedia {
  position: relative;
  width: min(100%, 16rem);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-muted);
  background: var(--gradient-logo-cell);
  overflow: hidden;
}

@media (min-width: 640px) {
  .nmMedia {
    width: 11.5rem;
  }
}

.nmGame .foLogo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.nmGame:hover .foLogo {
  transform: scale(1.04);
}

.nmBody {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.nmChips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nmChip {
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-muted);
  background: rgba(240, 193, 75, 0.1);
  color: var(--color-accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nmBonusCompact * {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  background: none;
  color: var(--color-text-secondary);
  text-shadow: none;
  filter: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.nmExtra {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.nmCtaHint {
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

/* —— Offers (API) —— */

.nmOffer .foInner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    'brand deal'
    'info info'
    'cta cta'
    'terms terms';
  gap: 0.7rem 0.85rem;
  align-items: center;
  padding: 1rem;
}

.nmOfferBrand {
  grid-area: brand;
  display: grid;
  gap: 0.45rem;
  justify-items: stretch;
  min-width: 0;
}

.nmLogoCell {
  width: 100%;
  height: 4.5rem;
  display: grid;
  place-items: center;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-muted);
  background: var(--gradient-logo-cell);
}

.nmOffer .foLogo {
  width: 100%;
  height: 100%;
  max-height: 3.7rem;
  object-fit: contain;
  object-position: center;
  display: block;
}

.nmOfferInfo {
  grid-area: info;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.nmOfferDeal {
  grid-area: deal;
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  align-content: center;
  justify-items: start;
}

.nmOffer .nmBonus * {
  margin: 0;
}

.nmPayments {
  margin-top: 0.05rem;
}

.nmOffer .foCtaRow {
  grid-area: cta;
  margin-top: 0;
  width: 100%;
}

.nmOffer .foCta {
  justify-self: stretch;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.nmOffer .nmTerms {
  grid-area: terms;
}

@media (min-width: 720px) {
  .nmOffer .foInner {
    grid-template-columns: auto minmax(0, 1.15fr) minmax(10rem, 0.85fr) auto;
    grid-template-areas:
      'brand info deal cta'
      'terms terms terms terms';
    align-items: center;
    gap: 0.9rem 1.15rem;
    padding: 1.15rem 1.25rem;
  }

  .nmOfferBrand {
    align-self: center;
    justify-items: start;
  }

  .nmLogoCell {
    width: 10rem;
    height: 4.75rem;
  }

  .nmOffer .foLogo {
    max-height: 3.9rem;
  }

  .nmOfferInfo {
    gap: 0.5rem;
  }

  .nmOfferDeal {
    gap: 0.45rem;
  }

  .nmOffer .foCtaRow {
    align-self: center;
    justify-self: end;
    width: auto;
  }

  .nmOffer .foCta {
    justify-self: start;
    width: auto;
  }
}

/* —— Shared —— */

.nmName {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--color-text-primary);
  line-height: 1.15;
}

.nmBonus * {
  margin: 0;
}

.foRating {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: var(--color-accent-gold);
  flex-wrap: wrap;
}

.foStar {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
}

.nmOffer .foStar {
  width: 0.88rem;
  height: 0.88rem;
}

.nmRatingNum {
  margin-left: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.foCtaRow {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.foCta {
  justify-self: start;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--color-text-inverse);
  background: var(--gradient-cta);
  box-shadow: var(--shadow-glow-red);
  white-space: nowrap;
}

.nmTop1 .foCta {
  background: var(--gradient-cta-top);
  box-shadow: var(--shadow-glow-gold);
  animation: nmCtaPulse 1.6s ease-in-out infinite;
}

.foCard:hover .foCta {
  filter: brightness(1.08);
}

.nmTerms {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.nmTermsText {
  font-size: 0.72rem;
  color: var(--color-text-faint);
}

.nmTermsLink {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes nmPulse {
  from {
    box-shadow: var(--shadow-card), 0 0 18px rgba(240, 193, 75, 0.25);
  }
  to {
    box-shadow: var(--shadow-card), 0 0 34px rgba(240, 193, 75, 0.55);
  }
}

@keyframes nmBadgeGlow {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.15);
  }
}

@keyframes nmCtaPulse {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nmTop1,
  .nmTop1 .foBadge,
  .nmTop1 .foCta,
  .nmGame .foLogo {
    animation: none;
    transition: none;
  }

  .nmGame:hover .foLogo {
    transform: none;
  }
}

.nmFeatureList {
  display: grid;
  gap: 0.4rem;
}

.nmFeatureItem {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  padding-left: 0.95rem;
  position: relative;
  line-height: 1.4;
}

.nmFeatureItem::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 2px;
  background: var(--color-accent-gold);
}

.nmFeatureDetails {
  margin: 0;
}

.nmFeatureToggle {
  list-style: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.nmFeatureToggle::-webkit-details-marker {
  display: none;
}

.nmMore {
  display: inline;
}

.nmLess {
  display: none;
}

.nmFeatureDetails[open] .nmMore {
  display: none;
}

.nmFeatureDetails[open] .nmLess {
  display: inline;
}

.nmFeatureExtra {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.paymentLogo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(247, 241, 232, 0.08);
}

.paymentExtra {
  display: none;
}

.paymentCheckbox:checked ~ .paymentExtra {
  display: block;
}

.paymentToggle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  cursor: pointer;
}


/* Welcomer */

.nmDisplay {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nmPercent {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.nmAmount {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(240, 193, 75, 0.35));
}

.nmProminent.nmAmount,
.nmProminent .nmAmount {
  font-size: clamp(1.55rem, 4.4vw, 2.15rem);
}

.nmCompact {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  background: none;
  color: var(--color-text-secondary);
  filter: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.wlSecondary {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}


/* Leisure */

.lsSection {
  position: relative;
  z-index: 1;
  padding: 2.75rem 0;
  border-top: 1px solid var(--color-border-soft);
}

.lsInner {
  width: min(100%, var(--layout-max-width));
  margin-inline: auto;
  padding: 0 var(--layout-padding-x);
}

.lsTitle {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.nmLead {
  color: var(--color-text-secondary);
  max-width: 44rem;
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.nmProse {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
}

.nmProse p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.lsSteps {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.nmStep {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  background: var(--color-surface);
}

.nmStepIcon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  color: var(--color-accent-gold);
  background: color-mix(in srgb, var(--color-accent-gold) 14%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-accent-gold) 35%, transparent);
}

.nmStepIcon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nmStepNum {
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-text-inverse);
  background: var(--gradient-cta);
}

.nmStepTitle {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.nmStepText {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.5;
}

.nmCards {
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 720px) {
  .nmCards {
    grid-template-columns: repeat(3, 1fr);
  }

  .nmCardsTwo {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lsCard {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.nmCardIcon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--color-accent-gold);
  background: color-mix(in srgb, var(--color-accent-gold) 14%, transparent);
}

.nmCardIcon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lsCardTitle {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-accent-gold);
}

.lsCardText {
  color: var(--color-text-secondary);
  font-size: 0.96rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.nmBullets {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
  max-width: 46rem;
}

.nmBullets li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.5;
}

.nmBullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-accent-green);
  border-radius: 2px;
}

.lsNote {
  margin-top: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.nmInlineLink {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nmFaqList {
  display: grid;
  gap: 0.55rem;
  max-width: 46rem;
}

.lsFaq {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  background: var(--color-surface);
}

.lsFaq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-primary);
}

.lsFaq p {
  margin-top: 0.55rem;
  color: var(--color-text-secondary);
  font-size: 0.96rem;
  line-height: 1.5;
}

.lsFaq a {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lsTableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  margin-bottom: 0.25rem;
}

.lsTableWrap:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

.lsTable {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}

.nmTableCaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lsTable thead th {
  text-align: left;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  background: color-mix(in srgb, var(--color-accent-gold) 12%, var(--color-surface));
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.lsTable tbody th,
.lsTable tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--color-border-soft);
  vertical-align: top;
}

.lsTable tbody tr:last-child th,
.lsTable tbody tr:last-child td {
  border-bottom: none;
}

.lsTable tbody th {
  font-weight: 700;
  color: var(--color-accent-gold);
  white-space: nowrap;
}

.lsTable tbody td {
  color: var(--color-text-secondary);
}

.lsTable tbody tr:nth-child(even) th,
.lsTable tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
}

.nmCompare {
  display: grid;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.nmCompareHead,
.nmCompareRow {
  display: grid;
  grid-template-columns: minmax(7rem, 0.85fr) 1fr 1fr;
}

.nmCompareHead {
  background: color-mix(in srgb, var(--color-accent-gold) 12%, var(--color-surface));
  border-bottom: 1px solid var(--color-border);
}

.nmCompareCorner,
.nmCompareCol,
.nmCompareLabel,
.nmCompareCell {
  padding: 0.85rem 1rem;
}

.nmCompareCol {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text-primary);
}

.nmCompareHead .nmCompareHere {
  border-inline-end: 1px solid var(--color-border-soft);
}

.nmCompareHead .nmCompareThere {
  color: var(--color-accent-gold);
}

.nmCompareRow + .nmCompareRow {
  border-top: 1px solid var(--color-border-soft);
}

.nmCompareLabel {
  font-weight: 700;
  color: var(--color-text-primary);
  border-inline-end: 1px solid var(--color-border-soft);
  background: color-mix(in srgb, var(--color-bg-base) 40%, transparent);
}

.nmCompareCell {
  color: var(--color-text-secondary);
  font-size: 0.96rem;
  line-height: 1.45;
}

.nmCompareCell.nmCompareHere {
  border-inline-end: 1px solid var(--color-border-soft);
}

@media (max-width: 719px) {
  .nmCompareHead,
  .nmCompareRow {
    grid-template-columns: 1fr;
  }

  .nmCompareCorner {
    display: none;
  }

  .nmCompareHead .nmCompareHere,
  .nmCompareHead .nmCompareThere,
  .nmCompareCell.nmCompareHere {
    border-inline-end: none;
  }

  .nmCompareHead .nmCompareHere,
  .nmCompareHead .nmCompareThere {
    border-bottom: 1px solid var(--color-border-soft);
  }

  .nmCompareLabel {
    padding-bottom: 0.35rem;
    background: transparent;
    color: var(--color-accent-gold);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-inline-end: none;
  }

  .nmCompareCell.nmCompareThere {
    padding-top: 0.55rem;
    border-top: 1px dashed var(--color-border-soft);
  }

  .nmCompareCell::before {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: 0;
  }

  .nmCompareCell.nmCompareHere::before {
    content: attr(data-side);
  }

  .nmCompareCell.nmCompareThere::before {
    content: attr(data-side);
  }
}

.nmThumbRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.nmThumb,
.nmThumbWide,
.nmThumbSm,
.nmPaceImg {
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-soft);
  background: var(--color-bg-base);
}

.nmThumb {
  width: 4.5rem;
  height: 2.55rem;
}

.nmThumbWide {
  width: 7.25rem;
  height: 4.1rem;
}

.nmThumbSm {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-sm);
}

.nmGameCell {
  display: grid;
  gap: 0.45rem;
}

.nmGameCell .nmThumbRow {
  margin-top: 0;
}

.nmGameCell > span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
}

.nmGenreCell {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nmGenreIcon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-accent-gold);
  background: color-mix(in srgb, var(--color-accent-gold) 14%, transparent);
  flex-shrink: 0;
}

.nmGenreIcon svg {
  width: 1rem;
  height: 1rem;
}

.nmCompareCol {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nmCompareIcon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  color: currentColor;
}

.nmCompareIcon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.lsSplit {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .lsSplit {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 1.6rem;
  }
}

.nmCoverGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.nmCoverTile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.nmCoverTile img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.nmCoverTile figcaption {
  padding: 0.45rem 0.6rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.nmIconList {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
}

.nmIconList li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.5;
}

.nmListIcon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  color: var(--color-accent-green);
  background: color-mix(in srgb, var(--color-accent-green) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent-green) 30%, transparent);
}

.nmListIcon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.nmPace {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 820px) {
  .nmPace {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 1.5rem;
  }
}

.nmPaceArt {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 28px color-mix(in srgb, #000 28%, transparent);
}

.nmPaceImg {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0;
}

.lsTable {
  min-width: 42rem;
}


/* Underlay */

.nmRoot {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.nmPhoto {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/bg-top_peru.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.nmVignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 8, 0.55) 0%,
      rgba(10, 6, 8, 0.72) 45%,
      rgba(10, 6, 8, 0.88) 100%
    );
}

.nmGlow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .nmPhoto {
    background-image: url('/assets/img/bg-mobile-top_peru.webp');
    background-position: center top;
  }
}


/* Showcase */

.shWrap {
  position: relative;
  z-index: 1;
  width: min(100%, var(--layout-max-width));
  margin: 0 auto;
  padding: 1.5rem var(--layout-padding-x) 3rem;
}

.shHeader {
  margin-bottom: 1.5rem;
}

.shTitle {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.nmIntro {
  color: var(--color-text-secondary);
  max-width: 40rem;
  margin-bottom: 0.9rem;
}

.nmAnchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nmAnchor {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.shTableWrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.shTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.88rem;
}

.shTable th,
.shTable td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-soft);
}

.shTable th {
  color: var(--color-accent-gold);
  font-weight: 700;
}

.shTable a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shGenre {
  margin-bottom: 2rem;
  scroll-margin-top: 5.5rem;
}

.nmGenreTitle {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.shGrid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .shGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shCard {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.shCover {
  width: 100%;
  height: 5rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.shCardTitle {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.shCardText {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.nmGuideLink {
  color: var(--color-text-muted);
}

.nmGuideLink a {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Playbook */

.pbWrap {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max-width));
  margin: 0 auto;
  padding: 1.25rem var(--layout-padding-x) 3rem;
}

.nmCrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.nmCrumbs a {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pbGenre {
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pbHero {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 860px) {
  .pbHero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    gap: 1.4rem;
  }
}

.nmHeroCopy {
  min-width: 0;
}

.pbTitle {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0.25rem 0 0.35rem;
}

.nmTagline {
  color: var(--color-text-secondary);
  margin-bottom: 0.6rem;
}

.nmMeta {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.35rem;
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

@media (min-width: 720px) {
  .nmMeta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nmMeta div {
  min-width: 0;
}

.nmMeta dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 0.2rem;
}

.nmMeta dd {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.4;
}

.pbRating {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--color-accent-gold);
  margin-bottom: 0.9rem;
}

.pbStar {
  flex: none;
}

.pbCtaRow {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.nmPlay {
  display: inline-flex;
  width: fit-content;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  color: var(--color-text-inverse);
  background: var(--gradient-cta);
  box-shadow: var(--shadow-glow-red);
  position: relative;
  z-index: 2;
}

.nmHint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pbCover {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin: 0;
}

.nmBlock {
  margin-bottom: 1.5rem;
  scroll-margin-top: 5.5rem;
}

.nmBlock h2 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.nmBlock h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--color-accent-gold);
}

.nmBlock p {
  color: var(--color-text-secondary);
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.nmFacts,
.pbSteps {
  padding-left: 1.15rem;
  color: var(--color-text-secondary);
  display: grid;
  gap: 0.35rem;
}

.nmToc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.nmToc a {
  font-size: 0.82rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
}

.nmTables {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .nmTables {
    grid-template-columns: 1fr 1fr;
  }
}

.nmTables table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.nmTables caption {
  text-align: left;
  font-weight: 700;
  padding: 0.5rem 0.7rem;
  color: var(--color-accent-gold);
}

.nmTables th,
.nmTables td {
  padding: 0.45rem 0.7rem;
  border-top: 1px solid var(--color-border-soft);
  text-align: left;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.pbSplit {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .pbSplit {
    grid-template-columns: 1fr 1fr;
  }
}

.nmSide {
  padding: 0.9rem;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.nmMistakes {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  padding: 0;
}

.nmMistakes li {
  position: relative;
  padding: 0.7rem 0.85rem 0.7rem 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-soft);
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface));
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.nmMistakes li::before {
  content: '!';
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text-inverse);
  background: var(--color-accent);
}

.pbNote {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pbNote a {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pbFaq {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.45rem;
  background: var(--color-surface);
}

.pbFaq summary {
  cursor: pointer;
  font-weight: 700;
}

.pbFaq p {
  margin: 0.5rem 0 0;
}

.nmRelated {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  padding: 0;
}

@media (min-width: 700px) {
  .nmRelated {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nmRelatedCard {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  height: 100%;
}

.nmRelatedCard img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.nmRelatedCard strong {
  display: block;
  color: var(--color-accent-gold);
  font-size: 0.98rem;
}

.nmRelatedCard em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

