/* Built from assets/css-src/kids.css by tools/build-css.js. Edit the source, then rebuild. */
/*
 * NCR Kids Zone — matches NCR Guide (forest hero, Outfit, Cormorant headings)
 * with a brighter, rounder play area. Each age group sets --age (accent) and --on (text on accent).
 */

/* Page resets, same approach as the theme's custom templates */
html:not(#ncrk) body.ncrk-body .site-content,
html:not(#ncrk) body.ncrk-body #content,
html:not(#ncrk) body.ncrk-body #primary,
html:not(#ncrk) body.ncrk-body .entry-content { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important; }
html:not(#ncrk) body.ncrk-body #masthead,
html:not(#ncrk) body.ncrk-body .site-header,
html:not(#ncrk) body.ncrk-body .elementor-location-header { display: none !important; }

/*
 * Theme shield. Elementor's Site Settings (buttons, links, headings) and the Hello theme's
 * reset style every button and link on the site, and would recolour the game buttons.
 * Inside the games, buttons, links and fields start from the browser's plain defaults;
 * the game styles below then apply on top. (tools/build-css.js also raises every rule
 * in these files above theme rules, so only !important theme rules could still interfere.)
 */
html:not(#ncrk) :where(.ncrk-stage, .ncra, .ncrp, .ncra-home, .ncra-scrim, .ncra-banner, .ncra-getapp, .ncra-today, .ncrk-chask) :where(button, a, input, select),
html:not(#ncrk) :where(.ncrk-btn, .ncra-tile, a.ncrk-card, a.ncrk-cupbanner, a.ncrk-age__all, a.ncrk-tag, .ncrk-agejump a, .ncrk-back a) { all: revert; }

html:not(#ncrk) .ncrk {
  --forest: #1B3A2D;
  --saffron: #E07B2A;
  --ink: #1A1A18;
  --muted: #6B6860;
  --rule: #D8D3CA;
  --off: #F7F5F1;
  --stone: #EAE6DF;
  --good: #2E7D32;
  --bad: #C62828;
  --age: #E07B2A;
  --on: #FFFFFF;
  --pad: clamp(16px, 4vw, 60px);
  --r: 16px;

  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--off);
  min-height: 60vh;
}
html:not(#ncrk) .ncrk *, html:not(#ncrk) .ncrk *::before, html:not(#ncrk) .ncrk *::after { box-sizing: border-box; }
html:not(#ncrk) .ncrk a { color: inherit; text-decoration: none; }
html:not(#ncrk) .ncrk h1, html:not(#ncrk) .ncrk h2, html:not(#ncrk) .ncrk p, html:not(#ncrk) .ncrk ol, html:not(#ncrk) .ncrk ul { margin: 0; padding: 0; }
html:not(#ncrk) .ncrk :focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
html:not(#ncrk) .ncrk-hero { background: var(--forest); position: relative; overflow: hidden; padding: clamp(24px, 5vw, 52px) var(--pad) clamp(36px, 6vw, 70px); }
html:not(#ncrk) .ncrk-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 24px 24px;
}
html:not(#ncrk) .ncrk-hero__in { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; }
html:not(#ncrk) .ncrk-hero--game .ncrk-hero__in { max-width: 820px; }
html:not(#ncrk) .ncrk-hero__title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: clamp(34px, 5.5vw, 60px); line-height: 1.05; color: #fff; margin: 8px 0 12px; }
html:not(#ncrk) .ncrk-hero__lede { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 38em; }
html:not(#ncrk) .ncrk-hero__badge { display: inline-block; margin-left: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
html:not(#ncrk) .ncrk-tag { display: inline-block; margin: 6px 0 10px; padding: 5px 14px; border-radius: 999px; background: var(--age); color: var(--on) !important; font-size: 12px; font-weight: 700; letter-spacing: .06em; }

html:not(#ncrk) .ncrk .ncr-bc { padding: 10px 0; }
html:not(#ncrk) .ncrk .ncr-bc-list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
html:not(#ncrk) .ncrk .ncr-bc-item { font-size: 12px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 4px; }
html:not(#ncrk) .ncrk .ncr-bc-item a { color: rgba(255,255,255,.7); }
html:not(#ncrk) .ncrk .ncr-bc-item.current { color: rgba(255,255,255,.85); }
html:not(#ncrk) .ncrk .ncr-bc-sep { color: rgba(255,255,255,.3); font-size: 14px; }

html:not(#ncrk) .ncrk-agejump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
html:not(#ncrk) .ncrk-agejump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--age); color: var(--on) !important; font-weight: 700; font-size: 15px; }
html:not(#ncrk) .ncrk-agejump a:hover { filter: brightness(1.08); }

/* ── Main column ────────────────────────────────────────────────────── */
html:not(#ncrk) .ncrk-main { max-width: 1120px; margin: 0 auto; padding: 32px var(--pad) 64px; }
html:not(#ncrk) .ncrk-main--game { max-width: 820px; padding-top: 0; }
html:not(#ncrk) .ncrk-empty, html:not(#ncrk) .ncrk-back { color: var(--muted); margin-top: 24px !important; }
html:not(#ncrk) .ncrk-back a { text-decoration: underline; }

/* Hub: Family Tournament banner */
html:not(#ncrk) .ncrk-cupbanner { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; padding: 18px 22px; border-radius: var(--r); background: linear-gradient(100deg, #1B3A2D, #2F5D45); color: #fff !important; box-shadow: 0 8px 22px rgba(27,58,45,.18); }
html:not(#ncrk) .ncrk-cupbanner:hover { filter: brightness(1.06); }
html:not(#ncrk) .ncrk-cupbanner__icon { font-size: 46px; line-height: 1; }
html:not(#ncrk) .ncrk-cupbanner__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
html:not(#ncrk) .ncrk-cupbanner__text strong { font-family: 'Cormorant Garamond', serif; font-size: 28px; line-height: 1.1; }
html:not(#ncrk) .ncrk-cupbanner__text span { font-size: 14px; opacity: .85; }
html:not(#ncrk) .ncrk-cupbanner__go { padding: 10px 18px; border-radius: 999px; background: var(--saffron); font-weight: 800; white-space: nowrap; }
@media (max-width: 520px) { html:not(#ncrk) .ncrk-cupbanner { flex-wrap: wrap; } html:not(#ncrk) .ncrk-cupbanner__go { width: 100%; text-align: center; } }

/* Hub: one section per age group */
html:not(#ncrk) .ncrk-age { margin-bottom: 44px; scroll-margin-top: 20px; }
html:not(#ncrk) .ncrk-age__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 18px; border-radius: var(--r); background: var(--age); color: var(--on); }
html:not(#ncrk) .ncrk-age__icon { font-size: 42px; line-height: 1; }
html:not(#ncrk) .ncrk-age__text { flex: 1; min-width: 220px; }
html:not(#ncrk) .ncrk-age__name { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; line-height: 1.1; }
html:not(#ncrk) .ncrk-age__name span { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; opacity: .8; margin-left: 6px; }
html:not(#ncrk) .ncrk-age__blurb { margin-top: 4px !important; font-size: 15px; line-height: 1.5; opacity: .92; }
html:not(#ncrk) .ncrk-age__all { font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.22); }

/* Game cards */
html:not(#ncrk) .ncrk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
html:not(#ncrk) .ncrk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; transition: transform .15s, box-shadow .15s; }
html:not(#ncrk) a.ncrk-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(27,58,45,.12); }
html:not(#ncrk) .ncrk-card__art { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--age) 22%, #fff); }
html:not(#ncrk) .ncrk-card__art img { width: 100%; height: 100%; object-fit: cover; }
html:not(#ncrk) .ncrk-card__icon { font-size: 56px; line-height: 1; }
html:not(#ncrk) .ncrk-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
html:not(#ncrk) .ncrk-card__badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html:not(#ncrk) .ncrk-card__title { font-size: 19px; font-weight: 700; color: var(--forest); line-height: 1.2; }
html:not(#ncrk) .ncrk-card__desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
html:not(#ncrk) .ncrk-card__play { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--forest); }
html:not(#ncrk) .ncrk-card--soon { opacity: .6; border-style: dashed; }
html:not(#ncrk) .ncrk-card--soon .ncrk-card__art { background: var(--stone); }
html:not(#ncrk) .ncrk-card--soon .ncrk-card__play { color: var(--muted); }

html:not(#ncrk) .ncrk-parents { margin-top: 12px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--rule); }
html:not(#ncrk) .ncrk-parents h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--forest); margin-bottom: 6px; }
html:not(#ncrk) .ncrk-parents p { line-height: 1.65; color: #3b3a36; }

/* Game page info */
html:not(#ncrk) .ncrk-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0; }
html:not(#ncrk) .ncrk-info section, html:not(#ncrk) .ncrk-prose { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 20px; }
html:not(#ncrk) .ncrk-info h2, html:not(#ncrk) .ncrk-more h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--forest); margin-bottom: 8px; }
html:not(#ncrk) .ncrk-info ol, html:not(#ncrk) .ncrk-info ul { padding-left: 20px !important; line-height: 1.7; }
html:not(#ncrk) .ncrk-prose { margin-bottom: 28px; line-height: 1.75; }
html:not(#ncrk) .ncrk-more { margin-top: 12px; }

/* ── The stage (where games run) ────────────────────────────────────── */
html:not(#ncrk) .ncrk-stage {
  position: relative; overflow: hidden;
  margin: -40px 0 0; z-index: 3;
  background: #fff; border-radius: 22px;
  border: 1px solid var(--rule); border-top: 6px solid var(--age);
  box-shadow: 0 10px 30px rgba(27,58,45,.10);
  padding: clamp(16px, 4vw, 28px);
  min-height: 360px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;          /* no double-tap zoom on fast taps */
  user-select: none; -webkit-user-select: none;
}
html:not(#ncrk) .ncrk-stage__loading { color: var(--muted); }

html:not(#ncrk) .ncrk-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
html:not(#ncrk) .ncrk-dots { display: flex; gap: 6px; flex: 1; }
html:not(#ncrk) .ncrk-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--stone); transition: background .2s, transform .2s; }
html:not(#ncrk) .ncrk-dot.is-done { background: var(--good); }
html:not(#ncrk) .ncrk-dot.is-now { background: var(--age); transform: scale(1.25); }
html:not(#ncrk) .ncrk-mute { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; font-size: 20px; cursor: pointer; }
html:not(#ncrk) .ncrk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html:not(#ncrk) .ncrk-area { position: relative; }

/* Start screen */
html:not(#ncrk) .ncrk-intro { text-align: center; padding: 18px 0 8px; }
html:not(#ncrk) .ncrk-intro__icon { font-size: 88px; line-height: 1; margin-bottom: 12px; animation: ncrk-bob 2.4s ease-in-out infinite; }
html:not(#ncrk) .ncrk-intro__text { font-size: 20px; font-weight: 500; line-height: 1.5; max-width: 22em; margin: 0 auto 24px !important; }

/* Buttons */
html:not(#ncrk) .ncrk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px 28px; border-radius: 999px; border: 2px solid transparent; font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800; cursor: pointer; }
html:not(#ncrk) .ncrk-btn--go { background: var(--saffron); color: #fff !important; box-shadow: 0 4px 0 #B5611C; }
html:not(#ncrk) .ncrk-btn--go:active { transform: translateY(3px); box-shadow: 0 1px 0 #B5611C; }
html:not(#ncrk) .ncrk-btn--ghost { background: #fff; border-color: var(--rule); color: var(--forest) !important; }

/* Prompt */
html:not(#ncrk) .ncrk-prompt { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; text-align: center; }
html:not(#ncrk) .ncrk-prompt__text { font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; color: var(--forest); line-height: 1.2; }
html:not(#ncrk) .ncrk-prompt__text:focus { outline: none; }
html:not(#ncrk) .ncrk-prompt__say { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--off); font-size: 20px; cursor: pointer; }

/* Choices */
html:not(#ncrk) .ncrk-choices { display: grid; gap: 12px; margin-top: 18px; }
html:not(#ncrk) .ncrk-choices--row   { grid-template-columns: repeat(3, 1fr); }
html:not(#ncrk) .ncrk-choices--pair  { grid-template-columns: 1fr 1fr; margin-top: 4px; }
html:not(#ncrk) .ncrk-choices--grid2 { grid-template-columns: repeat(2, 1fr); max-width: 420px; margin-left: auto; margin-right: auto; }
html:not(#ncrk) .ncrk-choices--grid3 { grid-template-columns: repeat(3, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }

html:not(#ncrk) .ncrk-choice {
  display: flex; align-items: center; justify-content: center;
  min-height: 84px; padding: 10px;
  background: #fff; border: 3px solid var(--rule); border-radius: 18px;
  font-family: 'Outfit', sans-serif; color: var(--ink);
  cursor: pointer; transition: transform .12s, border-color .12s, background .12s;
}
html:not(#ncrk) .ncrk-choice:hover:not(:disabled) { border-color: var(--age); }
html:not(#ncrk) .ncrk-choice:active:not(:disabled) { transform: scale(.96); }
html:not(#ncrk) .ncrk-choice:disabled { cursor: default; }
html:not(#ncrk) .ncrk-choice.is-right { border-color: var(--good); background: #E8F5E9; animation: ncrk-pop .35s ease; }
html:not(#ncrk) .ncrk-choice.is-wrong { border-color: var(--bad); background: #FDECEA; opacity: .55; }
html:not(#ncrk) .ncrk-choices:has(.is-right) .ncrk-choice:not(.is-right) { opacity: .35; }

html:not(#ncrk) .ncrk-num { font-size: 44px; font-weight: 800; line-height: 1; }
html:not(#ncrk) .ncrk-emoji { font-size: 48px; line-height: 1; }
html:not(#ncrk) .ncrk-shape { width: 100%; max-width: 110px; height: auto; display: block; }

/* Count and Tap: ten-frame, rows of five */
html:not(#ncrk) .ncrk-tenframe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; padding: 12px; border-radius: 16px; background: var(--off); }
html:not(#ncrk) .ncrk-tenframe__cell.is-empty { background: transparent; border: 2px dashed var(--rule); }
html:not(#ncrk) .ncrk-tenframe__cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; font-size: clamp(30px, 8vw, 46px); background: #fff; border-radius: 12px; }

/* Which Has More: two groups */
html:not(#ncrk) .ncrk-group { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4px; min-height: 170px; width: 100%; }
html:not(#ncrk) .ncrk-group__item { font-size: clamp(28px, 7vw, 40px); line-height: 1.15; }

/* What Comes Next: the sequence */
html:not(#ncrk) .ncrk-seq { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 14px; border-radius: 16px; background: var(--off); }
html:not(#ncrk) .ncrk-seq__item { display: inline-flex; align-items: center; justify-content: center; width: clamp(40px, 10vw, 58px); height: clamp(40px, 10vw, 58px); font-size: clamp(28px, 7vw, 40px); background: #fff; border-radius: 12px; }
html:not(#ncrk) .ncrk-seq__gap { border: 3px dashed var(--age); color: var(--muted); font-weight: 800; font-size: 26px; animation: ncrk-pulse 1.4s ease-in-out infinite; }

/* Memory Match */
html:not(#ncrk) .ncrk-memory { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }
html:not(#ncrk) .ncrk-memory--3 { grid-template-columns: repeat(3, 1fr); }
html:not(#ncrk) .ncrk-memory--4 { grid-template-columns: repeat(4, 1fr); }
html:not(#ncrk) .ncrk-mcard { aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: pointer; perspective: 600px; }
html:not(#ncrk) .ncrk-mcard__inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .35s; transform-style: preserve-3d; }
html:not(#ncrk) .ncrk-mcard.is-up .ncrk-mcard__inner { transform: rotateY(180deg); }
html:not(#ncrk) .ncrk-mcard__back, html:not(#ncrk) .ncrk-mcard__face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html:not(#ncrk) .ncrk-mcard__back { background: var(--forest); color: rgba(255,255,255,.85); font-size: 30px; font-weight: 800; border: 3px solid var(--age); }
html:not(#ncrk) .ncrk-mcard__face { background: #fff; border: 3px solid var(--rule); font-size: clamp(30px, 9vw, 46px); transform: rotateY(180deg); }
html:not(#ncrk) .ncrk-mcard.is-matched .ncrk-mcard__face { border-color: var(--good); background: #E8F5E9; }
html:not(#ncrk) .ncrk-mcard:disabled { cursor: default; }

/* Finish */
html:not(#ncrk) .ncrk-done { text-align: center; padding: 14px 0 6px; }
html:not(#ncrk) .ncrk-stars { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
html:not(#ncrk) .ncrk-star { font-size: 62px; line-height: 1; color: var(--stone); }
html:not(#ncrk) .ncrk-star.is-on { color: #F5B700; text-shadow: 0 3px 0 #C98F00; animation: ncrk-pop .45s ease both; }
html:not(#ncrk) .ncrk-star.is-on:nth-child(2) { animation-delay: .15s; }
html:not(#ncrk) .ncrk-star.is-on:nth-child(3) { animation-delay: .3s; }
html:not(#ncrk) .ncrk-done__title { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 700; color: var(--forest); }
html:not(#ncrk) .ncrk-done__title:focus { outline: none; }
html:not(#ncrk) .ncrk-done__line { color: var(--muted); margin: 4px 0 22px !important; }
html:not(#ncrk) .ncrk-done__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

html:not(#ncrk) .ncrk-confetti { position: absolute; inset: -20px 0 0; pointer-events: none; overflow: hidden; }
html:not(#ncrk) .ncrk-confetti span { position: absolute; top: -40px; font-size: 26px; animation: ncrk-fall linear forwards; }

/* Animations */
html:not(#ncrk) .is-shake { animation: ncrk-shake .4s ease; }
@keyframes ncrk-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes ncrk-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes ncrk-bob { 50% { transform: translateY(-8px); } }
@keyframes ncrk-pulse { 50% { opacity: .45; } }
@keyframes ncrk-fall { to { transform: translateY(520px) rotate(300deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html:not(#ncrk) .ncrk *, html:not(#ncrk) .ncrk *::before, html:not(#ncrk) .ncrk *::after { animation: none !important; transition: none !important; }
}

/* Phones */
@media (max-width: 520px) {
  html:not(#ncrk) .ncrk-stage { margin-top: -28px; border-radius: 18px; }
  html:not(#ncrk) .ncrk-choice { min-height: 72px; }
  html:not(#ncrk) .ncrk-num { font-size: 38px; }
  html:not(#ncrk) .ncrk-done__btns .ncrk-btn { width: 100%; }
  html:not(#ncrk) .ncrk-age__name { font-size: 26px; }
}

/* Kids Corner: language switch, stickers */
html:not(#ncrk) .ncrk-memory--2 { grid-template-columns: repeat(2, 1fr); max-width: 300px; margin-left: auto; margin-right: auto; }
html:not(#ncrk) .ncrk-lang { min-height: 36px; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; font: 800 13px 'Outfit', sans-serif; color: var(--forest); cursor: pointer; margin-right: 6px; }
html:not(#ncrk) .ncrk-stickers-btn { display: inline-block; margin-top: 12px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px dashed #F5B700; background: #FFFBEA; font: 700 15px 'Outfit', sans-serif; color: #7A5A00; cursor: pointer; }
html:not(#ncrk) .ncrk-got { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 14px; }
html:not(#ncrk) .ncrk-got__label { font-weight: 800; color: #C2410C; }
html:not(#ncrk) .ncrk-got__sticker { padding: 6px 12px; border-radius: 14px; background: #FFF3D6; border: 2px solid #F5B700; font-weight: 700; font-size: 17px; animation: ncrk-pop .5s ease; }
@keyframes ncrk-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
html:not(#ncrk) .ncrk-book { text-align: center; }
html:not(#ncrk) .ncrk-book__title { font-size: 20px; font-weight: 800; color: var(--forest); margin: 0 0 12px !important; }
html:not(#ncrk) .ncrk-book__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 460px; margin: 0 auto 12px; }
html:not(#ncrk) .ncrk-sticker { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 16px; background: #F1EEE8; border: 2px dashed #D8D3CA; }
html:not(#ncrk) .ncrk-sticker.is-have { background: #FFF6E3; border: 2px solid #F5B700; }
html:not(#ncrk) .ncrk-sticker__e { font-size: 34px; line-height: 1; color: #C9C3B8; font-weight: 800; }
html:not(#ncrk) .ncrk-sticker__n { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 4px; }
html:not(#ncrk) .ncrk-sticker__x { position: absolute; top: 4px; right: 6px; font-size: 11px; font-weight: 800; color: #C2410C; }
html:not(#ncrk) .ncrk-book__note { font-size: 14px; color: var(--muted); margin: 0 0 12px !important; }
@media (min-width: 560px) { html:not(#ncrk) .ncrk-book__grid { grid-template-columns: repeat(6, 1fr); } }

/* Music switch */
html:not(#ncrk) .ncrk-music, html:not(#ncrk) .ncrk-musicpill { position: relative; }
html:not(#ncrk) .ncrk-music.is-off, html:not(#ncrk) .ncrk-musicpill.is-off, html:not(#ncrk) .ncra-bar__music.is-off { opacity: .5; }
html:not(#ncrk) .ncrk-music.is-off::after, html:not(#ncrk) .ncrk-musicpill.is-off::after, html:not(#ncrk) .ncra-bar__music.is-off::after {
  content: ''; position: absolute; left: 22%; right: 22%; top: 50%; height: 2px; background: currentColor; transform: rotate(-35deg); border-radius: 2px;
}
html:not(#ncrk) .ncrk-music { margin-right: 6px; color: var(--forest); }
html:not(#ncrk) .ncrk-musicrow { display: flex; justify-content: flex-end; margin: 0 0 8px; }
html:not(#ncrk) .ncrk-musicpill { min-height: 36px; min-width: 44px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; font-size: 18px; cursor: pointer; color: var(--forest); }
html:not(#ncrk) .ncrk-stage[hidden] { display: none !important; }

/* Challenge links */
html:not(#ncrk) .ncrk-chban { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #FFF1DF, #FFE3C2); border: 2px solid #E07B2A; font-family: 'Outfit', sans-serif; }
html:not(#ncrk) .ncrk-chban__icon { font-size: 26px; line-height: 1; }
html:not(#ncrk) .ncrk-chban__text { display: flex; flex-direction: column; min-width: 0; }
html:not(#ncrk) .ncrk-chban__text strong { font-size: 16px; color: #7A3A06; }
html:not(#ncrk) .ncrk-chban__text span { font-size: 14px; color: #5B3A1E; }
html:not(#ncrk) .ncrk-chask { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10,20,35,.55); }
html:not(#ncrk) .ncrk-chask__box { width: min(360px, 100%); margin: 0; padding: 18px; border-radius: 18px; background: #fff; font-family: 'Outfit', sans-serif; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
html:not(#ncrk) .ncrk-chask__title { margin: 0 !important; font-size: 20px; font-weight: 800; color: #1B3A2D; }
html:not(#ncrk) .ncrk-chask__sub { margin: 2px 0 12px !important; font-size: 14px; color: #5f6b66; }
html:not(#ncrk) .ncrk-chask__input { display: block; width: 100%; height: 48px; padding: 0 14px; box-sizing: border-box; border-radius: 12px; border: 2px solid #1B3A2D; background: #fff; color: #1B3A2D; font: 600 17px 'Outfit', sans-serif; outline: none; }
html:not(#ncrk) .ncrk-chask__row { display: flex; gap: 8px; margin-top: 12px; }
html:not(#ncrk) .ncrk-chask__btn { flex: 1; height: 46px; border-radius: 12px; border: 2px solid #1B3A2D; background: #fff; color: #1B3A2D; font: 800 15px 'Outfit', sans-serif; cursor: pointer; }
html:not(#ncrk) .ncrk-chask__btn--go { flex: 1.6; background: #E07B2A; border-color: #E07B2A; color: #fff; }
html:not(#ncrk) .ncrk-others { margin: 8px 0 4px !important; padding: 8px 12px; border-radius: 12px; background: #EEF3FB; color: #12305C; font: 700 14px/1.35 'Outfit', sans-serif; text-align: center; }
html:not(#ncrk) .ncrk-others[hidden] { display: none !important; }

/* Suggest-an-idea box (uses the challenge-name dialog look) */
html:not(#ncrk) .ncrk-sug { overflow-y: auto; align-items: flex-start; }
html:not(#ncrk) .ncrk-sug__box { width: min(420px, 100%); margin: auto 0; display: flex; flex-direction: column; gap: 10px; }
html:not(#ncrk) .ncrk-sug .ncrk-chask__sub { margin-bottom: 0 !important; }
html:not(#ncrk) .ncrk-sug__field, html:not(#ncrk) .ncrk-sug__answers { display: flex; flex-direction: column; gap: 6px; font: 700 13.5px 'Outfit', sans-serif; color: #1B3A2D; }
html:not(#ncrk) .ncrk-sug__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
html:not(#ncrk) .ncrk-sug__answers > span { grid-column: 1 / -1; }
html:not(#ncrk) .ncrk-sug__answers .ncrk-chask__input { font-size: 15px; height: 44px; padding: 0 10px; }
html:not(#ncrk) .ncrk-sug__who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
html:not(#ncrk) .ncrk-sug__who .ncrk-chask__input { font-size: 15px; height: 44px; }
html:not(#ncrk) .ncrk-sug__ok { display: flex; align-items: flex-start; gap: 8px; font: 500 13.5px/1.35 'Outfit', sans-serif; color: #3d4b45; }
html:not(#ncrk) .ncrk-sug__ok input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; }
html:not(#ncrk) .ncrk-sug__err { margin: 0 !important; color: #B3261E; font: 700 14px 'Outfit', sans-serif; }
html:not(#ncrk) .ncrk-sug__err[hidden] { display: none; }
html:not(#ncrk) .ncrk-sug__note { margin: 0 !important; font: 500 12px/1.4 'Outfit', sans-serif; color: #6b7570; text-align: center; }
html:not(#ncrk) .ncrk-sug__big { font-size: 44px; text-align: center; }
html:not(#ncrk) .ncrk-sug select.ncrk-chask__input { font-size: 15px; }
html:not(#ncrk) .ncrk-newtag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #E53935; color: #fff; font: 800 10.5px/1.6 'Outfit', sans-serif; letter-spacing: .5px; vertical-align: middle; }
html:not(#ncrk) .ncrk-credit { display: block; margin-top: 4px; font: 600 12.5px 'Outfit', sans-serif; opacity: .75; }

html:not(#ncrk) .ncrk-css-kids{position:absolute;z-index:7}
