/* NexaBet v3.4 — lobby (kategorie, karuzele, karty gier), menu boczne z grami i ekrany gier. */

/* ================================================================ LOBBY ===== */
.nb-lobbybar { display: flex; gap: 12px; align-items: stretch; margin-bottom: 24px; }
.nb-cats {
  display: flex; gap: 4px; padding: 5px; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
  background: #0d1430; border: 1px solid var(--nb-line); border-radius: 14px;
}
.nb-cats::-webkit-scrollbar { display: none; }
.nb-cat {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px;
  background: none; color: #c3cbea; font-weight: 700; font-size: .92rem; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s;
}
.nb-cat .ic { width: 20px; height: 20px; }
.nb-cat:hover { background: rgba(139, 92, 246, .12); color: #fff; }
.nb-cat[aria-pressed="true"] {
  color: #fff; background: linear-gradient(135deg, rgba(34, 211, 238, .2), rgba(139, 92, 246, .32));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6), 0 6px 18px rgba(109, 40, 217, .25);
}
.nb-lobbybar .nb-searchbox { flex: 1 1 240px; min-height: 52px; background: #0d1430; }

.nb-row + .nb-row { margin-top: 30px; }
.nb-row__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nb-row__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; }
.nb-row__title .ic { width: 24px; height: 24px; color: #a78bfa; }
.nb-row__title--solo { margin-bottom: 14px; font-size: 1rem; color: var(--nb-muted); }
.nb-row__nav { display: flex; align-items: center; gap: 8px; }
.nb-rowall {
  min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--nb-line); background: #121a3b;
  color: #fff; font-weight: 700; font-size: .82rem; cursor: pointer; white-space: nowrap;
}
.nb-rowbtn {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--nb-line); background: #121a3b; color: #fff;
}
.nb-rowbtn .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.nb-rowbtn:disabled { opacity: .35; cursor: default; }
.nb-rowall:hover, .nb-rowbtn:not(:disabled):hover { border-color: #8b5cf6; background: #19214a; }
.nb-row__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, calc((100% - 6 * 14px) / 7), 210px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 12px; margin: -6px -2px -12px;
}
.nb-row__track::-webkit-scrollbar { display: none; }

/* Karty gier: pionowe, kolorowe, z plakietką i dużym tytułem */
.nb-card {
  --c: #8b5cf6;
  position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  isolation: isolate; cursor: pointer; color: #fff; text-align: center; scroll-snap-align: start;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 78%, #fff 22%) 0%, var(--c) 42%, color-mix(in srgb, var(--c) 40%, #000 60%) 100%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 55%, #fff 45%), 0 10px 26px rgba(0, 0, 0, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nb-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, .38)); }
.nb-card--titled::after { background: none; }
.nb-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), 0 20px 40px rgba(0, 0, 0, .5), 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); }
.nb-card:focus-visible { outline-offset: 4px; }
.nb-card__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.nb-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nb-card__pill {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 3px 12px 4px; border-radius: 0 0 10px 10px;
  background: color-mix(in srgb, var(--c) 70%, #000 30%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
  font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.nb-card__title {
  position: absolute; left: 8px; right: 8px; bottom: 10px; font-weight: 900; line-height: 1.02; text-transform: uppercase;
  font-size: clamp(.95rem, 1.45vw, 1.32rem); letter-spacing: .01em; overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 4px 16px rgba(0, 0, 0, .5);
}
.nb-card__emoji { position: absolute; inset: 0 0 24% 0; z-index: -1; display: grid; place-items: center; grid-template-columns: 1fr 1fr; align-content: center; font-size: clamp(2rem, 3.6vw, 3rem); }
.nb-card__emoji span:first-child { grid-column: 1 / -1; font-size: 1.5em; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
/* v8.3: kolory jak na nowych okładkach Nexa Originals (etykieta u góry + ramka) */
.nb-card--roulette { --c: #16a34a; }
.nb-card--dice { --c: #2563eb; }
.nb-card--limbo { --c: #ea580c; }
.nb-card--plinko { --c: #db2777; }
.nb-card--blackjack { --c: #4f46e5; }
.nb-card--keno { --c: #9333ea; }
.nb-card--mines { --c: #dc2626; }
.nb-card--coin { --c: #0d9488; }
.nb-card--titled::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--c) 75%, #fff 25%); }
.nb-card--sicbo { --c: #65a30d; }
.nb-card--red { --c: #e11d48; }
.nb-card--pink { --c: #db2777; }
.nb-card--purple { --c: #7c3aed; }
.nb-card--orange { --c: #d97706; }
.nb-card--teal { --c: #0d9488; }
.nb-card--slate { --c: #475569; }
.nb-card--live { --c: #1e2a55; cursor: default; }
.nb-card--live:hover { transform: none; box-shadow: inset 0 0 0 1.5px #2a3766, 0 10px 26px rgba(0, 0, 0, .35); }
.nb-card--live .nb-card__pill { background: #3b2a06; color: var(--nb-gold); }
.nb-card--live .nb-card__title { color: #aab3d6; font-size: clamp(.85rem, 1.2vw, 1.05rem); }
.nb-card__live-ic { position: absolute; top: 38%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); color: #6f7bab; }

.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.nb-soon {
  display: grid; justify-items: center; gap: 12px; padding: 34px 18px; text-align: center; border-radius: 20px;
  border: 1px solid var(--nb-line); background: radial-gradient(600px 220px at 50% 0%, rgba(34, 211, 238, .12), transparent 70%), #0c1330;
}
.nb-soon h3 { margin: 0; font-size: 1.4rem; }
.nb-soon p { margin: 0; max-width: 560px; color: #b9c2e4; }
.nb-soon__ic { width: 58px; height: 58px; color: var(--nb-cyan); }
.nb-grid--soon { width: 100%; margin-top: 14px; text-align: left; }

/* Menu boczne: plakietka „Wkrótce”, przycisk „Menu” (telefon) */
.nb-side__badge {
  margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .04em;
  background: rgba(251, 191, 36, .14); color: var(--nb-gold); opacity: 0; transition: opacity .18s;
}
.nb-side:hover .nb-side__badge, .nb-side:focus-within .nb-side__badge { opacity: 1; }
.nb-side__menu { display: none; }
.nb-side-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(3, 5, 12, .62); backdrop-filter: blur(2px); }

@media (max-width: 860px) {
  .nb-side__menu { display: flex; }
  .nb-side:not(.is-open) li:has(> .nb-side__item:not([data-mob])) { display: none; }
  .nb-side.is-open {
    z-index: 60; top: 0; bottom: 0; left: 0; right: auto; width: min(300px, 86vw); height: auto; display: block;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); overflow-y: auto; border-top: 0; border-right: 1px solid var(--nb-line);
    box-shadow: 24px 0 60px rgba(0, 0, 0, .6);
  }
  .nb-side.is-open .nb-side__list { display: grid; }
  .nb-side.is-open .nb-side__sep { display: block; }
  .nb-side.is-open .nb-side__item { width: 100%; justify-content: flex-start; padding: 0 14px; }
  .nb-side.is-open .nb-side__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; opacity: 1; transform: none; }
  .nb-side.is-open .nb-side__badge { opacity: 1; }
  .nb-side.is-open .nb-side__item.is-active::before { left: 0; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
  .nb-side.is-open .nb-side__dot { left: 32px; top: 11px; }
  .nb-lobbybar { flex-direction: column; }
  .nb-lobbybar .nb-searchbox { flex: 0 0 auto; }   /* v6.5: w kolumnie flex-basis 240px stawał się WYSOKOŚCIĄ pola wyszukiwania */
  .nb-cat { padding: 0 12px; }
  .nb-row__track { grid-auto-columns: clamp(124px, 38vw, 170px); gap: 10px; }
  .nb-rowall { display: none; }
}
@media (max-width: 520px) {
  .nb-row__nav .nb-rowbtn { width: 32px; height: 32px; }
  .nb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ============================================================ EKRAN GRY ===== */
.nb-gv {
  --gv-panel: #0e1532; --gv-stage: #0a0f24; --gv-in: #141c3e; --gv-line: #24305a; --gv-win: #22c55e; --gv-lose: #f43f5e;
  width: min(1240px, calc(100vw - 24px)); height: min(92vh, 860px); max-height: none; overflow: hidden;
  border-color: rgba(139, 92, 246, .45);
}
.nb-gv[open] { display: grid; grid-template-rows: auto 1fr; }
.nb-gv__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--nb-line); background: #0b1126; }
.nb-gv__titles { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.nb-gv__titles h2 { margin: 0; font-size: 1.25rem; }
.nb-gv__pill { padding: 3px 10px; border-radius: 8px; background: #1a2350; font-size: .75rem; font-weight: 800; color: #c4b5fd; }
.nb-gv__body { display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.nb-gv__loading { margin: auto; padding: 40px; color: var(--nb-muted); }
.nb-gv__main { display: grid; grid-template-columns: 330px 1fr; min-height: 0; }
.nb-gv__panel {
  display: flex; flex-direction: column; gap: 14px; padding: 18px; overflow-y: auto; background: var(--gv-panel);
  border-right: 1px solid var(--gv-line);
}
.nb-gv__controls { display: grid; gap: 14px; }
.nb-gv__controls:empty { display: none; }
.nb-gv__stagewrap { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; min-height: 0; overflow-y: auto; background: radial-gradient(900px 500px at 50% 0%, rgba(109, 40, 217, .16), transparent 70%), var(--gv-stage); }
.nb-gv__stage { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 8px 24px 16px; min-width: 0; }
/* v7.1: ostatnie wyniki — najnowszy zawsze z PRAWEJ i zawsze widoczny (nowy element jest pierwszy w DOM, row-reverse kładzie go
   przy prawej krawędzi); gdy się nie mieszczą, znikają NAJSTARSZE z lewej, z łagodnym wygaszeniem. Wcześniej przy braku miejsca
   ucinany był właśnie najnowszy. Tła pigułek nieprzezroczyste — czytelne na każdym tle gry. */
.nb-gv__hist { display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 6px; min-height: 44px; padding: 12px 16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px); mask-image: linear-gradient(90deg, transparent 0, #000 40px); }
.nb-hpill { flex: none; padding: 5px 10px; border-radius: 999px; background: #1a2246; color: #aab3d6; font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; animation: nb-hp .25s ease-out; }
.nb-hpill.is-win { background: #10331f; color: #4ade80; box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .35); }
@keyframes nb-hp { from { transform: translateX(10px); opacity: 0; } }
.nb-gv__msg { min-height: 1.6em; margin: 0; padding: 0 16px 14px; text-align: center; font-weight: 800; color: #c7cdf0; }
.nb-gv__msg.is-win { color: #4ade80; }
.nb-gv__msg.is-part { color: #fde68a; }
.nb-gv__msg.is-err { color: #fda4af; }
.nb-gv__msg .nb-linkbtn { padding: 0 4px; }
.nb-gv__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 18px;
  border-top: 1px solid var(--gv-line); background: #0b1126; font-size: .85rem;
}
.nb-gv__footlink { display: inline-flex; align-items: center; gap: 6px; color: #aab3d6; text-decoration: none; font-weight: 700; justify-self: start; }
.nb-gv__footlink .ic, .nb-gv__fair summary .ic { width: 18px; height: 18px; }
.nb-gv__footlink:hover { color: #fff; }
.nb-gv__brand { display: inline-flex; align-items: center; gap: 6px; color: #5d6890; font-weight: 800; letter-spacing: .02em; }
.nb-gv__brand b { color: #7c87b2; }
.nb-gv__logo { width: 20px; height: 20px; opacity: .6; }
.nb-gv__fair { position: relative; justify-self: end; }
.nb-gv__fair summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: #86efac; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.nb-gv__fair summary::-webkit-details-marker { display: none; }
.nb-gv__fairbox {
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 5; width: min(360px, 80vw); padding: 14px 16px; border-radius: 14px;
  background: #121a3d; border: 1px solid var(--gv-line); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); color: #c7cdf0; font-size: .82rem;
}
.nb-gv__fairbox p { margin: 0 0 8px; }
.nb-gv__fairbox p:last-child { margin: 0; }
.nb-gv__fairbox a { color: var(--nb-cyan); }

/* Pola panelu */
.nb-gf { display: grid; gap: 6px; min-width: 0; }
.nb-gf__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nb-gf__label { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: .82rem; color: #dfe4fb; }
.nb-gf__hint { display: inline-flex; color: var(--nb-muted); }
.nb-gf__hint .ic { width: 16px; height: 16px; }
.nb-gf__right { font-size: .78rem; color: var(--nb-muted); font-variant-numeric: tabular-nums; }
.nb-ginput {
  display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 4px 4px 4px 12px; border-radius: 12px;
  background: var(--gv-in); border: 1px solid var(--gv-line);
}
.nb-ginput:focus-within { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .22); }
.nb-ginput--ro { background: #10173a; }
.nb-ginput--pct { min-height: 40px; flex: 0 0 96px; }
.nb-ginput__cur { flex: none; color: var(--nb-muted); font-weight: 800; font-size: .9rem; }
.nb-gin {
  flex: 1; min-width: 0; width: 100%; height: 40px; padding: 0; border: 0; background: none; color: #fff; outline: none;
  font: inherit; font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums;
}
.nb-gin:disabled { opacity: .55; }
.nb-gin--btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 48px; padding: 0 12px; border-radius: 12px; cursor: pointer;
  background: var(--gv-in); border: 1px solid var(--gv-line); text-align: left;
}
.nb-gin--btn .ic { width: 20px; height: 20px; color: #a78bfa; }
.nb-gin--btn:hover:not(:disabled) { border-color: #8b5cf6; }
.nb-gbtn {
  flex: none; min-width: 42px; height: 40px; padding: 0 10px; border-radius: 9px; border: 0; cursor: pointer;
  background: #222c58; color: #fff; font-weight: 900; font-size: .9rem;
}
.nb-gbtn:hover:not(:disabled) { background: #2c3870; }
.nb-gbtn:disabled { opacity: .45; cursor: not-allowed; }
.nb-gbtn--wide { flex: 1; }
.nb-seg2 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--gv-in); border: 1px solid var(--gv-line); }
.nb-seg2__btn { min-height: 40px; padding: 0 8px; border: 0; border-radius: 9px; background: none; color: #aab3d6; font-weight: 800; cursor: pointer; white-space: nowrap; }
.nb-seg2__btn:hover { color: #fff; }
.nb-seg2__btn[aria-pressed="true"] { background: #2a3566; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.nb-seg2.is-locked { opacity: .55; pointer-events: none; }
.nb-seg2--mode .nb-seg2__btn { min-height: 42px; }
.nb-seg2__btn.is-low { color: #4ade80; }
.nb-seg2__btn.is-mid { color: #fb923c; }
.nb-seg2__btn.is-high { color: #fb7185; }
.nb-seg2__btn.is-low[aria-pressed="true"] { background: #15803d; color: #fff; }
.nb-seg2__btn.is-mid[aria-pressed="true"] { background: #ea580c; color: #fff; }
.nb-seg2__btn.is-high[aria-pressed="true"] { background: #be123c; color: #fff; }
.nb-seg2__btn.is-heads[aria-pressed="true"] { background: #0284c7; color: #fff; }
.nb-seg2__btn.is-tails[aria-pressed="true"] { background: #d97706; color: #fff; }
.nb-gv__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-gv__row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.nb-gv__note { margin: 0; color: var(--nb-muted); font-size: .82rem; }
.nb-gv__auto { display: grid; gap: 12px; padding-top: 4px; border-top: 1px dashed var(--gv-line); }
.nb-autorow { display: flex; gap: 8px; }
.nb-autorow .nb-seg2 { flex: 1; }
.nb-autostat { margin: 0; font-size: .82rem; font-weight: 800; color: #aab3d6; font-variant-numeric: tabular-nums; }
.nb-autostat:empty { display: none; }
.nb-autostat.is-up { color: #4ade80; }
.nb-autostat.is-down { color: #fda4af; }
.nb-gv__actions { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }
.nb-gbig {
  width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--nb-grad); color: #fff; font-weight: 900; font-size: 1.02rem; letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(109, 92, 246, .35); transition: filter .15s, transform .1s;
}
.nb-gbig:hover:not(:disabled) { filter: brightness(1.12); }
.nb-gbig:active:not(:disabled) { transform: translateY(1px); }
.nb-gbig:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.nb-gbig.is-stop { background: #e11d48; box-shadow: 0 10px 26px rgba(225, 29, 72, .35); }
.nb-gbig--heads { background: linear-gradient(135deg, #22d3ee, #2563eb); box-shadow: 0 10px 26px rgba(37, 99, 235, .35); }
.nb-gbig--tails { background: linear-gradient(135deg, #fbbf24, #ea580c); box-shadow: 0 10px 26px rgba(234, 88, 12, .35); color: #1c0f00; }
.nb-gv__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nb-gv__duo .nb-gbig { padding: 0 10px; font-size: .95rem; }
.nb-stagefields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(760px, 100%); }
.nb-stagefields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---- Kości */
.nb-dice { display: grid; gap: 26px; width: min(760px, 100%); }
.nb-dice__big { display: grid; place-items: center; }
.nb-dice__big span { min-width: 210px; padding: 18px 26px; border-radius: 18px; background: #070b1b; border: 1px solid var(--gv-line); text-align: center; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; font-variant-numeric: tabular-nums; color: #dfe4fb; }
.nb-dice__big span.is-win { color: var(--gv-win); border-color: rgba(34, 197, 94, .5); box-shadow: 0 0 40px rgba(34, 197, 94, .18); }
.nb-dice__big span.is-lose { color: var(--gv-lose); border-color: rgba(244, 63, 94, .45); }
.nb-dice__slider { padding: 18px 18px 22px; border-radius: 999px; background: #121a3b; border: 1px solid var(--gv-line); }
.nb-dice__labels { display: flex; justify-content: space-between; padding: 0 2px 10px; color: var(--nb-muted); font-size: .78rem; font-weight: 800; }
.nb-dice__rail { position: relative; height: 12px; }
.nb-dice__track { position: absolute; inset: 0; border-radius: 999px; }
.nb-dice__range { position: absolute; inset: -12px 0; width: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.nb-dice__range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(#a78bfa, #6d28d9); border: 3px solid #e9e5ff; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.nb-dice__range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(#a78bfa, #6d28d9); border: 3px solid #e9e5ff; }
.nb-dice__range::-moz-range-track { background: transparent; }
.nb-dice__range:disabled { cursor: not-allowed; }
.nb-dice__marker { position: absolute; bottom: 22px; transform: translateX(-50%); transition: left .35s cubic-bezier(.2, .8, .3, 1); pointer-events: none; }
.nb-dice__marker span { display: block; padding: 6px 10px; border-radius: 10px; background: #fff; color: #0b1126; font-weight: 900; font-size: .95rem; font-variant-numeric: tabular-nums; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.nb-dice__marker::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: #fff; }
.nb-dice__marker.is-win span, .nb-dice__marker.is-win::after { background: var(--gv-win); color: #04220f; }
.nb-dice__marker.is-lose span, .nb-dice__marker.is-lose::after { background: var(--gv-lose); color: #fff; }

/* ---- Limbo */
.nb-limbo { display: grid; place-items: center; min-height: 260px; width: 100%; }
.nb-limbo__box { padding: 34px 54px; border-radius: 22px; background: #050814; border: 1px solid var(--gv-line); box-shadow: inset 0 0 60px rgba(109, 40, 217, .12); }
.nb-limbo__num { font-size: clamp(3rem, 9vw, 6.4rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #f8faff; }
.nb-limbo__num.is-win { color: var(--gv-win); text-shadow: 0 0 40px rgba(34, 197, 94, .35); }
.nb-limbo__num.is-lose { color: var(--gv-lose); }

/* ---- Orzeł czy reszka */
.nb-coinwrap { position: relative; display: grid; place-items: center; width: 240px; height: 260px; perspective: 900px; }
.nb-coin { position: relative; width: 210px; height: 210px; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, .9, .3, 1); }
.nb-coin.is-flip { animation: nb-coinup 1s ease-in-out; }
@keyframes nb-coinup { 50% { translate: 0 -40px; } }
.nb-coin__face {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; border-radius: 50%;
  backface-visibility: hidden; font-weight: 900; letter-spacing: .14em; font-size: .9rem;
}
.nb-coin__face--heads { background: radial-gradient(circle at 35% 30%, #a5f3fc, #22d3ee 45%, #1d4ed8); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .18), inset 0 0 0 14px #1e40af, 0 20px 50px rgba(37, 99, 235, .35); color: #fff; }
.nb-coin__face--tails { transform: rotateY(180deg); background: radial-gradient(circle at 35% 30%, #fef3c7, #fbbf24 45%, #b45309); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .2), inset 0 0 0 14px #92400e, 0 20px 50px rgba(234, 88, 12, .35); color: #78350f; }
.nb-coin__art { width: 92px; height: 92px; fill: #fff; stroke: #1e40af; stroke-width: 1.2; stroke-linejoin: round; }
.nb-coin__one { font-size: 5.6rem; line-height: .9; color: #92400e; letter-spacing: 0; }
.nb-coin__shadow { position: absolute; bottom: 4px; width: 150px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .45); filter: blur(6px); }
.nb-coin__note { margin: 0; color: var(--nb-muted); font-weight: 700; }

/* ---- Plinko */
.nb-plinko { width: min(820px, 100%); }
.nb-plinko__svg { display: block; width: 100%; height: auto; max-height: min(62vh, 560px); }
.nb-plinko__pegs circle { fill: #f8fafc; }
.nb-plinko__bucket rect { filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .35)); }
.nb-plinko__bucket text { fill: #1f0a12; font-weight: 900; font-family: system-ui, sans-serif; }
.nb-plinko__bucket { transform-box: fill-box; transform-origin: center; }
.nb-plinko__bucket.is-hit { animation: nb-bucket .35s ease-out; }
@keyframes nb-bucket { 40% { transform: translateY(6px); } }
.nb-plinko__ball { fill: #f472b6; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(244, 114, 182, .8)); }

/* ---- Keno */
.nb-keno { display: grid; gap: 16px; width: min(760px, 100%); }
.nb-keno__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.nb-keno__tile {
  aspect-ratio: 1.25; min-height: 44px; border: 0; border-radius: 10px; cursor: pointer; background: #1b2449; color: #dfe4fb;
  font-weight: 900; font-size: 1.05rem; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); transition: transform .1s, background .15s;
}
.nb-keno__tile:hover:not(:disabled) { background: #26315f; }
.nb-keno__tile[aria-pressed="true"] { background: linear-gradient(#a78bfa, #7c3aed); color: #fff; }
.nb-keno__tile.is-drawn { background: #0b1022; color: #6b7699; box-shadow: inset 0 0 0 2px #f97316; }
.nb-keno__tile.is-hit { background: linear-gradient(#4ade80, #16a34a); color: #04220f; animation: nb-pop .3s ease-out; box-shadow: 0 0 18px rgba(34, 197, 94, .55); }
.nb-keno__tile:disabled { cursor: default; }
.nb-keno__pay { min-height: 60px; }
.nb-keno__payrow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; overflow-x: auto; }
.nb-keno__paycell { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: #121a3b; border: 1px solid var(--gv-line); font-size: .78rem; min-width: 52px; }
.nb-keno__paycell b { font-size: .9rem; }
.nb-keno__paycell span { color: var(--nb-muted); }
.nb-keno__paycell.is-on { background: rgba(34, 197, 94, .18); border-color: #22c55e; }
.nb-keno__hint { margin: 0; text-align: center; color: var(--nb-muted); }

/* ---- Plansza (ruletka, Sic Bo) */
.nb-chipsel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.nb-chipbtn {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .55); cursor: pointer;
  font-weight: 900; font-size: .78rem; color: #fff; box-shadow: 0 0 0 3px transparent, 0 4px 10px rgba(0, 0, 0, .35);
}
.nb-chipbtn--0 { background: #64748b; } .nb-chipbtn--1 { background: #0ea5e9; } .nb-chipbtn--2 { background: #16a34a; }
.nb-chipbtn--3 { background: #dc2626; } .nb-chipbtn--4 { background: #7c3aed; } .nb-chipbtn--5 { background: #d97706; }
.nb-chipbtn[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(255, 255, 255, .45); transform: translateY(-2px); }
.nb-btotal { font-weight: 900; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.nb-bcell {
  position: relative; display: grid; place-items: center; min-height: 44px; padding: 4px; border: 1px solid rgba(255, 255, 255, .16);
  background: #16204a; color: #fff; font-weight: 900; cursor: pointer; transition: filter .12s;
}
.nb-bcell:hover:not(:disabled) { filter: brightness(1.25); }
.nb-bcell:disabled { cursor: default; }
.nb-bcell--red { background: #c81e3a; }
.nb-bcell--black { background: #141a2e; }
.nb-bcell--green { background: #15803d; }
.nb-bcell--out { background: #1a2350; font-size: .82rem; }
.nb-bcell.is-hit { outline: 3px solid #fde047; outline-offset: -3px; z-index: 1; }
.nb-bcell.is-win { box-shadow: inset 0 0 0 3px #4ade80, 0 0 18px rgba(74, 222, 128, .45); z-index: 1; }
.nb-bchip {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 4px; border-radius: 999px; background: #fbbf24; color: #3b2300; border: 2px dashed #fff;
  font-size: .68rem; font-weight: 900; box-shadow: 0 3px 8px rgba(0, 0, 0, .5); pointer-events: none;
}

/* Ruletka */
.nb-roul { display: grid; gap: 18px; justify-items: center; width: 100%; }
.nb-roul__wheel { position: relative; width: min(250px, 60vw); }
.nb-rw { display: block; width: 100%; height: auto; }
.nb-rw__rim { fill: #3b2209; stroke: #fbbf24; stroke-width: 3; }
.nb-rw__wheel { transition: transform 3.1s cubic-bezier(.12, .7, .12, 1); transform-origin: 0 0; }
.nb-rw__pocket--red { fill: #c81e3a; } .nb-rw__pocket--black { fill: #141a2e; } .nb-rw__pocket--green { fill: #15803d; }
.nb-rw__pocket { stroke: #d4a64a; stroke-width: .6; }
.nb-rw__num { fill: #fff; font: 800 8.4px system-ui, sans-serif; }
.nb-rw__inner { fill: #5b3410; stroke: #d4a64a; stroke-width: 1.2; }
.nb-rw__cone { fill: #7c3aed; stroke: #c4b5fd; stroke-width: 1.5; }
.nb-rw__spokes { stroke: #fbbf24; stroke-width: 5; stroke-linecap: round; }
.nb-rw__hub { fill: #fde68a; }
.nb-rw__ball { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8)); }
.nb-rw__ballg { transform-origin: 0 0; }
.nb-rw__ballg.is-spin { animation: nb-ball 3.1s cubic-bezier(.12, .7, .12, 1); }
@keyframes nb-ball { from { transform: rotate(1440deg); } to { transform: rotate(0deg); } }
.nb-rw__ptr { fill: #fde047; }
.nb-rw__res {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 50%; border: 3px solid #fff; font-size: 1.6rem; font-weight: 900; color: #fff; animation: nb-pop .3s ease-out;
}
.nb-rw__res--red { background: #c81e3a; } .nb-rw__res--black { background: #111827; } .nb-rw__res--green { background: #15803d; }
.nb-rboard-wrap { width: 100%; overflow-x: auto; padding-bottom: 6px; }
.nb-rboard {
  display: grid; grid-template-columns: 1.1fr repeat(12, 1fr) 1.1fr; grid-template-rows: repeat(3, 46px) 40px 42px;
  min-width: 600px; max-width: 860px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 2px solid #2a3566;
}
.nb-rb-zero { grid-column: 1; grid-row: 1 / 4; }
.nb-rb-r1 { grid-row: 1; } .nb-rb-r2 { grid-row: 2; } .nb-rb-r3 { grid-row: 3; }
.nb-rb-col { grid-column: 14; }
.nb-rb-doz { grid-row: 4; } .nb-rb-doz1 { grid-column: 2 / 6; } .nb-rb-doz2 { grid-column: 6 / 10; } .nb-rb-doz3 { grid-column: 10 / 14; }
.nb-rb-out { grid-row: 5; }
.nb-rb-out1 { grid-column: 2 / 4; } .nb-rb-out2 { grid-column: 4 / 6; } .nb-rb-out3 { grid-column: 6 / 8; }
.nb-rb-out4 { grid-column: 8 / 10; } .nb-rb-out5 { grid-column: 10 / 12; } .nb-rb-out6 { grid-column: 12 / 14; }
.nb-rb-diamond { width: 22px; height: 22px; transform: rotate(45deg); border-radius: 3px; border: 2px solid #fff; }
.nb-rb-diamond--red { background: #c81e3a; } .nb-rb-diamond--black { background: #0b0f1d; }

/* Sic Bo */
.nb-sb { display: grid; gap: 16px; width: min(860px, 100%); }
.nb-sb__head { display: grid; justify-items: center; gap: 8px; }
.nb-sb__dice { display: flex; gap: 14px; }
.nb-sb__dice.is-roll .nb-die { animation: nb-shake .18s linear infinite; }
@keyframes nb-shake { 25% { transform: rotate(-12deg) translateY(-4px); } 75% { transform: rotate(10deg) translateY(2px); } }
.nb-sb__sum { margin: 0; font-weight: 900; color: #dfe4fb; }
.nb-sb__board { display: grid; gap: 6px; }
.nb-sb__row { display: grid; gap: 6px; }
.nb-sb__row--top { grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr; }
.nb-sb__row--6 { grid-template-columns: repeat(6, 1fr); }
.nb-sb__row--14 { grid-template-columns: repeat(7, 1fr); }
.nb-sb__row .nb-bcell { border-radius: 10px; min-height: 52px; background: #17214c; }
.nb-sb__row .nb-bcell > span { display: grid; justify-items: center; gap: 3px; }
.nb-sb__row small { font-size: .68rem; font-weight: 800; color: #fde68a; }
.nb-sb__any { background: linear-gradient(135deg, #6d28d9, #be185d) !important; }
.nb-sb__dd { display: flex; gap: 3px; }
.nb-sb__lab { margin: 6px 0 0; color: var(--nb-muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.nb-die {
  display: inline-grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); width: 20px; height: 20px; padding: 3px; border-radius: 5px;
  background: linear-gradient(135deg, #fff, #dbe3f1); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.nb-die--big { width: 70px; height: 70px; padding: 10px; border-radius: 16px; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .18), 0 10px 24px rgba(0, 0, 0, .4); }
.nb-die--land { animation: nb-pop .3s ease-out; }
.nb-pip { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #0f172a; align-self: center; justify-self: center; transform: scale(.8); }
.nb-die[data-v="1"] .nb-pip, .nb-die[data-v="4"] .nb-pip { background: #e11d48; }
.p1 { grid-area: 1 / 1; } .p3 { grid-area: 1 / 3; } .p4 { grid-area: 2 / 1; } .p5 { grid-area: 2 / 2; } .p6 { grid-area: 2 / 3; }
.p7 { grid-area: 3 / 1; } .p9 { grid-area: 3 / 3; }

/* ---- Blackjack */
.nb-bj2 {
  display: grid; justify-items: center; gap: 12px; width: min(820px, 100%); padding: 22px 16px; border-radius: 26px;
  background: radial-gradient(ellipse at 50% 40%, #1b2a6b 0%, #121b48 55%, #0b1230 100%); border: 2px solid #2d3a7a;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, .45);
}
.nb-bj2__lab { color: #8e98bb; font-weight: 900; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.nb-bj2__dealer, .nb-bj2__hand { display: grid; justify-items: center; gap: 8px; }
.nb-bj2__hands { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; min-height: 170px; }
.nb-bj2__hand { padding: 10px 12px; border-radius: 16px; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.nb-bj2__hand.is-active { border-color: #a78bfa; background: rgba(139, 92, 246, .1); }
.nb-bj2__hand.is-win, .nb-bj2__hand.is-blackjack { border-color: #22c55e; background: rgba(34, 197, 94, .08); }
.nb-bj2__hand.is-lose, .nb-bj2__hand.is-bust { opacity: .75; }
.nb-bj2__cards { display: flex; min-height: 116px; }
.nb-bj2__cards .nb-pc + .nb-pc { margin-left: -38px; }
.nb-bj2__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nb-bj2__tot { padding: 3px 12px; border-radius: 999px; background: #0b1022; border: 1px solid #2d3a7a; font-weight: 900; font-variant-numeric: tabular-nums; }
.nb-bj2__bet { padding: 3px 10px; border-radius: 999px; background: rgba(251, 191, 36, .14); color: #fde68a; font-weight: 800; font-size: .8rem; }
.nb-bj2__res { padding: 3px 10px; border-radius: 999px; background: #1a2350; font-weight: 900; font-size: .8rem; }
.is-win > .nb-bj2__meta .nb-bj2__res, .is-blackjack > .nb-bj2__meta .nb-bj2__res { background: #16a34a; }
.is-lose > .nb-bj2__meta .nb-bj2__res, .is-bust > .nb-bj2__meta .nb-bj2__res { background: #be123c; }
.nb-bj2__rules { margin: 4px 0; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(251, 191, 36, .35); color: #fde68a; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-align: center; }
.nb-pc {
  position: relative; flex: none; width: 80px; height: 114px; border-radius: 10px; background: #fff; color: #111827;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45); font-family: Georgia, "Times New Roman", serif;
}
.nb-pc.is-red { color: #dc2626; }
.nb-pc__tl, .nb-pc__br { position: absolute; display: grid; justify-items: center; line-height: 1; font-weight: 700; font-size: 1.15rem; }
.nb-pc__tl small, .nb-pc__br small { font-size: .9rem; }
.nb-pc__tl { top: 6px; left: 7px; }
.nb-pc__br { right: 7px; bottom: 6px; transform: rotate(180deg); }
.nb-pc__mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; }
.nb-pc.is-back { background: repeating-linear-gradient(45deg, #6d28d9 0 6px, #5b21b6 6px 12px); border: 4px solid #fff; }
.nb-pc.is-ghost { background: none; border: 2px dashed #2d3a7a; box-shadow: none; }
.nb-pc.is-deal { animation: nb-deal .32s ease-out both; }
@keyframes nb-deal { from { transform: translate(120px, -120px) rotate(18deg); opacity: 0; } }
.nb-bjgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-bjbtn { height: 52px; font-size: .95rem; }
.nb-bjbtn--hit { background: #16a34a; }
.nb-bjbtn--stand { background: #be123c; }
.nb-bjbtn--ins { background: #d97706; }

/* ---- Automaty 5×3 */
/* ================================================================ AUTOMATY ===== */
.nb-slot { --slot-a: #6d28d9; --slot-b: #0c0a2e; --ar: 1.8; --chrome: 150px; position: relative; display: grid; gap: 12px; width: min(900px, 100%, calc((100dvh - var(--chrome) - 210px) * var(--ar))); min-width: min(300px, 100%); }
/* szerokość automatu dobrana tak, żeby bębny zmieściły się w wysokości ekranu (--ar = szerokość / wysokość bębnów) */
.nb-slot--l5x3 { --ar: 1.78; }
.nb-slot--l5x4 { --ar: 1.34; }
.nb-slot--l3x3 { --ar: 1.02; }
.nb-slot--retro { --chrome: 260px; }
.nb-slot__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nb-slot__name { font-weight: 900; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; background: linear-gradient(90deg, #fff, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nb-slot__fs { padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #c026d3, #7c3aed); font-weight: 900; font-size: .82rem; box-shadow: 0 0 18px rgba(192, 38, 211, .45); animation: nb-glow 1.4s ease-in-out infinite alternate; }
@keyframes nb-glow { to { box-shadow: 0 0 30px rgba(232, 121, 249, .75); } }
.nb-slot__ptbtn { margin-left: auto; height: 34px; font-size: .8rem; }
.nb-slot__reels {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 12px; border-radius: 20px;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--slot-a) 70%, transparent), var(--slot-b) 70%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), inset 0 0 40px rgba(0, 0, 0, .55), 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--slot-a) 60%, transparent);
}
.nb-reel { position: relative; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #0a0f24, #141c3e 50%, #0a0f24); box-shadow: inset 0 10px 16px rgba(0, 0, 0, .6), inset 0 -10px 16px rgba(0, 0, 0, .6); }
.nb-slot__reels--5x3 .nb-reel { aspect-ratio: 1 / 2.7; }
.nb-slot__reels--5x4 .nb-reel { aspect-ratio: 1 / 3.6; }
.nb-slot__reels--3x3 .nb-reel { aspect-ratio: 1 / 2.9; }
.nb-reel.is-stop { animation: nb-reelstop .26s ease-out; }
@keyframes nb-reelstop { 0% { transform: translateY(0); } 40% { transform: translateY(5px); } 100% { transform: none; } }
.nb-reel.is-expand { box-shadow: 0 0 0 3px #fde047, 0 0 34px rgba(253, 224, 71, .8), inset 0 0 30px rgba(253, 224, 71, .45); animation: nb-expand .6s ease-out; }
@keyframes nb-expand { 0% { transform: scaleY(.9); filter: brightness(2); } 100% { transform: none; filter: none; } }
.nb-reel__strip { display: flex; flex-direction: column; will-change: transform; }
.nb-cell { flex: none; display: grid; place-items: center; padding: 5%; }
.nb-slot__reels--5x3 .nb-cell, .nb-slot__reels--3x3 .nb-cell { aspect-ratio: 1 / .9; }
.nb-slot__reels--5x4 .nb-cell { aspect-ratio: 1 / .9; }
.nb-cell.is-win { animation: nb-win .9s ease-in-out infinite; position: relative; z-index: 2; }
.nb-cell.is-win .nb-sym { box-shadow: 0 0 0 3px #fde047, 0 0 26px rgba(253, 224, 71, .7); }
@keyframes nb-win { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.nb-sym { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 14px; font-weight: 900; line-height: 1; }
.nb-sym img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .45)); pointer-events: none; user-select: none; }
.nb-sym--hi { background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 70%); }
.nb-sym--h1 { background: radial-gradient(circle at 50% 35%, rgba(253, 224, 71, .35), rgba(253, 224, 71, .05) 70%); box-shadow: inset 0 0 0 2px rgba(253, 224, 71, .5); }
.nb-sym--h2 { background: radial-gradient(circle at 50% 35%, rgba(244, 114, 182, .28), rgba(244, 114, 182, .04) 70%); }
.nb-sym--royal { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 3.6vw, 2.5rem); background: rgba(255, 255, 255, .03); -webkit-text-stroke: 1px rgba(0, 0, 0, .35); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.nb-slot__reels--5x4 .nb-sym--royal { font-size: clamp(1.1rem, 3vw, 2.1rem); }
.nb-sym--A { color: #f43f5e; } .nb-sym--K { color: #38bdf8; } .nb-sym--Q { color: #c084fc; } .nb-sym--J { color: #4ade80; } .nb-sym--T { color: #fb923c; }
.nb-sym--wild { background: radial-gradient(circle at 50% 35%, #fde68a, #f59e0b 45%, #b45309 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), 0 0 16px rgba(245, 158, 11, .45); }
.nb-sym--sc { background: radial-gradient(circle at 50% 35%, #e9d5ff, #a855f7 45%, #4c1d95 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), 0 0 16px rgba(168, 85, 247, .5); animation: nb-scpulse 1.6s ease-in-out infinite; }
@keyframes nb-scpulse { 50% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), 0 0 26px rgba(192, 132, 252, .8); } }
.nb-wildtxt { font-size: clamp(.75rem, 1.8vw, 1.15rem); letter-spacing: .05em; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.nb-sym__tag { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: #7c2d12; color: #fde68a; font: 900 clamp(.45rem, 1.1vw, .62rem)/1.4 system-ui, sans-serif; letter-spacing: .08em; font-style: normal; box-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.nb-sym__tag--sc { background: #3b0764; color: #f5d0fe; }
.nb-sym__x { position: absolute; right: 4%; top: 4%; padding: 1px 5px; border-radius: 999px; background: #dc2626; color: #fff; font: 900 clamp(.5rem, 1.2vw, .7rem)/1.4 system-ui, sans-serif; font-style: normal; box-shadow: 0 0 0 2px #fde68a; }
.nb-seven { font: 900 clamp(2.2rem, 6vw, 4rem)/1 Impact, "Arial Black", system-ui, sans-serif; background: linear-gradient(180deg, #fecaca, #ef4444 45%, #7f1d1d); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2px #fde047; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .4)); }
.nb-slot__lines { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); pointer-events: none; overflow: visible; z-index: 3; }
.nb-slot__line { fill: none; stroke-width: 4px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; animation: nb-line .6s ease-out forwards; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .8)); }
.nb-slot__line--0 { stroke: #fde047; } .nb-slot__line--1 { stroke: #22d3ee; } .nb-slot__line--2 { stroke: #f472b6; } .nb-slot__line--3 { stroke: #4ade80; } .nb-slot__line--4 { stroke: #fb923c; } .nb-slot__line--5 { stroke: #a78bfa; }
@keyframes nb-line { to { stroke-dashoffset: 0; } }
.nb-slot__banner {
  position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; padding: 10px 26px; border-radius: 18px;
  background: rgba(8, 12, 30, .86); border: 2px solid #fde047; box-shadow: 0 0 40px rgba(253, 224, 71, .35); pointer-events: none; animation: nb-pop .35s cubic-bezier(.3, 1.6, .5, 1);
}
@keyframes nb-pop { from { transform: translate(-50%, -50%) scale(.5); opacity: 0; } }
.nb-slot__banner b { font-size: clamp(1.4rem, 3.6vw, 2.2rem); color: #fde047; font-variant-numeric: tabular-nums; }
.nb-slot__banner span { font-size: .78rem; font-weight: 900; letter-spacing: .12em; color: #fff; }
.nb-slot__banner.is-big b { font-size: clamp(1.8rem, 5vw, 3rem); }
.nb-slot__banner.is-small { top: auto; bottom: 10px; transform: translateX(-50%); padding: 4px 14px; border-width: 1px; border-color: rgba(255, 255, 255, .25); box-shadow: none; animation: none; }
.nb-slot__banner.is-small b { font-size: 1rem; color: #c7d2fe; }
.nb-slot__wins { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; min-height: 1.6em; margin: 0; color: #c7cdf0; font-size: .85rem; font-weight: 700; }
.nb-wl { display: inline-flex; align-items: center; gap: 4px; }
.nb-wl__x { padding: 0 5px; border-radius: 999px; background: #dc2626; color: #fff; font-style: normal; font-size: .72rem; }
.nb-mini { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; }
b.nb-mini { display: inline-grid; place-items: center; width: auto; min-width: 22px; font-size: .9rem; }
b.nb-mini.nb-seven { font-size: 1.2rem; -webkit-text-stroke: 1px #fde047; }
.nb-mini--txt { padding: 0 4px; border-radius: 5px; background: #f59e0b; color: #fff; font-size: .62rem !important; }
.nb-mini--royal { font-family: Georgia, serif; }
/* nakładki: darmowe spiny i duża wygrana */
.nb-fsintro, .nb-bigwin { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; border-radius: 20px; background: radial-gradient(circle, rgba(76, 29, 149, .82), rgba(8, 10, 30, .92) 70%); animation: nb-fade .3s ease-out; overflow: hidden; }
.nb-fsintro.is-out, .nb-bigwin.is-out { animation: nb-fadeout .26s ease-in forwards; }
@keyframes nb-fade { from { opacity: 0; } }
@keyframes nb-fadeout { to { opacity: 0; transform: scale(1.04); } }
.nb-fsintro__card { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; padding: 22px 30px; border-radius: 22px; background: linear-gradient(180deg, #1e1b4b, #0f0a2e); border: 3px solid #fde047; box-shadow: 0 0 60px rgba(253, 224, 71, .45); animation: nb-zoom .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes nb-zoom { from { transform: scale(.3) rotate(-8deg); opacity: 0; } }
.nb-fsintro__icons { display: flex; gap: 6px; }
.nb-fsintro__icons img { width: 54px; height: 54px; animation: nb-bob 1s ease-in-out infinite alternate; }
.nb-fsintro__icons img:nth-child(2) { animation-delay: .2s; } .nb-fsintro__icons img:nth-child(3) { animation-delay: .4s; }
@keyframes nb-bob { to { transform: translateY(-8px) rotate(6deg); } }
.nb-fsintro__title { font: 900 clamp(1.6rem, 4.6vw, 2.8rem)/1 system-ui, sans-serif; letter-spacing: .02em; background: linear-gradient(180deg, #fff7ae, #fbbf24 55%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #7c2d12); }
.nb-fsintro__sub { color: #e9d5ff; font-weight: 800; }
.nb-fsintro__go { margin-top: 6px; padding: 10px 26px; border: 0; border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #a855f7); color: #fff; font: 900 1rem system-ui, sans-serif; cursor: pointer; box-shadow: 0 8px 22px rgba(168, 85, 247, .5); }
.nb-clowns { position: absolute; left: 0; right: 0; bottom: 6%; height: 30%; pointer-events: none; }
.nb-clowns img { position: absolute; bottom: 0; width: clamp(34px, 7vw, 64px); animation: nb-clownhop .7s ease-in-out infinite alternate; }
@keyframes nb-clownhop { 0% { transform: translateY(0) rotate(-12deg); } 100% { transform: translateY(-120%) rotate(14deg); } }
.nb-bigwin { cursor: pointer; align-content: center; gap: 6px; background: radial-gradient(circle, rgba(180, 83, 9, .78), rgba(8, 10, 30, .94) 70%); }
.nb-bigwin__tier { position: relative; z-index: 2; font: 900 clamp(1.4rem, 4vw, 2.4rem)/1 system-ui, sans-serif; letter-spacing: .04em; color: #fff; text-shadow: 0 0 22px rgba(253, 224, 71, .9), 0 3px 0 #7c2d12; animation: nb-zoom .5s cubic-bezier(.3, 1.6, .5, 1), nb-tier 1s ease-in-out .5s infinite alternate; }
@keyframes nb-tier { to { transform: scale(1.08); } }
.nb-bigwin--2 .nb-bigwin__tier { color: #fde047; }
.nb-bigwin--3 .nb-bigwin__tier { background: linear-gradient(90deg, #f472b6, #fde047, #22d3ee, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nb-bigwin__num { position: relative; z-index: 2; font: 900 clamp(2.2rem, 7vw, 4.4rem)/1 system-ui, sans-serif; color: #fde047; font-variant-numeric: tabular-nums; text-shadow: 0 4px 0 #92400e, 0 0 30px rgba(253, 224, 71, .6); }
.nb-bigwin__x { position: relative; z-index: 2; color: #fde68a; font-weight: 800; }
.nb-fx { position: absolute; inset: 0; z-index: 25; pointer-events: none; overflow: hidden; }
.nb-fx__p { position: absolute; will-change: transform, opacity; }
/* Still the Game: stara maszyna */
.nb-retro { position: relative; display: grid; gap: 10px; padding: 18px 18px 12px; border-radius: 28px; background: linear-gradient(180deg, #b91c1c, #7f1d1d 60%, #450a0a); box-shadow: inset 0 0 0 4px #fbbf24, inset 0 0 0 9px #7f1d1d, inset 0 0 0 11px #fde68a, 0 24px 50px rgba(0, 0, 0, .55); }
.nb-retro .nb-slot__reels { background: linear-gradient(180deg, #fef3c7, #fde68a); box-shadow: inset 0 0 0 3px #92400e, inset 0 8px 18px rgba(0, 0, 0, .35); }
.nb-retro .nb-reel { background: linear-gradient(180deg, #e7e5e4, #fff 18%, #fff 82%, #d6d3d1); box-shadow: inset 0 14px 18px rgba(0, 0, 0, .35), inset 0 -14px 18px rgba(0, 0, 0, .35), 0 0 0 2px #a8a29e; }
.nb-retro .nb-sym--hi, .nb-retro .nb-sym--h1, .nb-retro .nb-sym--h2 { background: none; box-shadow: none; }
.nb-retro .nb-sym img { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .3)); }
.nb-retro__marquee { display: grid; justify-items: center; gap: 2px; padding: 8px 12px; border-radius: 14px; background: linear-gradient(180deg, #1c1917, #0c0a09); box-shadow: inset 0 0 0 2px #fbbf24; }
.nb-retro__marquee b { font: 900 clamp(1.4rem, 4vw, 2.3rem)/1 Impact, "Arial Black", system-ui, sans-serif; letter-spacing: .04em; font-style: italic; background: linear-gradient(180deg, #fff7ae, #fbbf24 50%, #ea580c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(251, 191, 36, .6)); }
.nb-retro__marquee span { display: inline-flex; align-items: center; gap: 4px; color: #fde68a; font-size: .74rem; font-weight: 700; }
.nb-retro__marquee img { width: 16px; height: 16px; }
.nb-retro__coin { text-align: center; color: rgba(254, 243, 199, .55); font-size: .68rem; font-weight: 900; letter-spacing: .34em; }
.nb-bulbs { display: flex; justify-content: space-between; padding: 0 6px; }
.nb-bulbs i { width: 12px; height: 12px; border-radius: 50%; background: #fde047; box-shadow: 0 0 10px #fde047, 0 0 2px #fff inset; animation: nb-bulb 1s steps(1) infinite; }
.nb-bulbs i:nth-child(even) { animation-delay: .5s; }
@keyframes nb-bulb { 50% { background: #78350f; box-shadow: none; } }
.nb-fsintro--retro { background: radial-gradient(circle, rgba(185, 28, 28, .85), rgba(30, 5, 5, .94) 72%); }
/* tabela wypłat */
.nb-pt { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #0d1430; border: 1px solid var(--gv-line); }
.nb-pt__head { display: flex; align-items: baseline; gap: 10px; }
.nb-pt__head span { color: var(--nb-muted); font-size: .8rem; }
.nb-pt__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.nb-pt__row { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: #121a3b; }
.nb-pt__sym { flex: none; width: 56px; height: 56px; }
.nb-pt__sym .nb-sym--royal { font-size: 1.5rem; }
.nb-pt__sym .nb-seven { font-size: 2.2rem; }
.nb-pt__pays { display: grid; gap: 1px; font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nb-pt__pays small { color: var(--nb-muted); }
.nb-pt__note { margin: 0; color: #c7cdf0; font-size: .8rem; }
.nb-pt__lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.nb-pt__line { display: grid; justify-items: center; gap: 3px; color: var(--nb-muted); }
.nb-pt__mini { display: grid; grid-template-columns: repeat(5, 9px); gap: 3px; }
.nb-pt__mini--3 { grid-template-columns: repeat(3, 9px); }
.nb-pt__mini i { width: 9px; height: 9px; border-radius: 2px; background: #222c58; }
.nb-pt__mini i.is-on { background: #fde047; }
.nb-gv__sound { width: 34px; height: 34px; border: 1px solid var(--gv-line, #26305c); border-radius: 10px; background: #121a3b; color: #fff; font-size: 1rem; cursor: pointer; }

/* ---- Ekran gry na telefonie / tablecie */
@media (max-width: 960px) {
  .nb-gv__main { grid-template-columns: 290px 1fr; }
  .nb-stagefields { grid-template-columns: 1fr; }
  .nb-stagefields--2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nb-gv { width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; }
  .nb-gv__body { overflow-y: auto; display: block; }
  .nb-gv__main { display: flex; flex-direction: column; }
  .nb-gv__stagewrap { order: -1; overflow: visible; }
  .nb-gv__panel { border-right: 0; border-top: 1px solid var(--gv-line); overflow: visible; }
  .nb-gv__actions { order: -1; margin-top: 0; }
  .nb-gv__stage { padding: 4px 12px 10px; }
  .nb-gv__foot { grid-template-columns: 1fr 1fr; }
  .nb-gv__brand { display: none; }
  .nb-keno__grid { gap: 5px; }
  .nb-keno__tile { min-height: 36px; font-size: .92rem; }
  .nb-dice__big span { min-width: 160px; padding: 12px 18px; }
  .nb-limbo { min-height: 180px; }
  .nb-limbo__box { padding: 24px 30px; }
  .nb-coinwrap { width: 200px; height: 210px; }
  .nb-coin { width: 170px; height: 170px; }
  .nb-sb__row--top { grid-template-columns: 1fr 1fr 1fr; }
  .nb-sb__row--top .nb-sb__any { grid-column: 1 / -1; order: 5; }
  .nb-sb__row--6 { grid-template-columns: repeat(3, 1fr); }
  .nb-sb__row--14 { grid-template-columns: repeat(5, 1fr); }
  .nb-pc { width: 64px; height: 92px; }
  .nb-pc__mid { font-size: 2rem; }
  .nb-bj2__cards { min-height: 94px; }
  .nb-bj2__cards .nb-pc + .nb-pc { margin-left: -30px; }
  .nb-slot__reels { gap: 5px; padding: 8px; }
  .nb-slot__lines { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .nb-card, .nb-cat { transition: none; }
  .nb-rw__wheel { transition-duration: .6s; }
  .nb-rw__ballg.is-spin { animation-duration: .6s; }
  .nb-coin { transition-duration: .3s; }
  .nb-cell.is-win, .nb-sb__dice.is-roll .nb-die, .nb-bulbs i, .nb-sym--sc, .nb-clowns img { animation: none; }
}

/* ================================================================== MINES ===== */
.nb-mines { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.nb-mines__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(6px, 1.2vw, 12px); width: min(100%, 540px); }
.nb-mines__grid.is-boom { animation: nb-shake .45s; }
.nb-mines__tile {
  position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #27325f, #1c2550); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .32), 0 2px 0 rgba(255, 255, 255, .04);
  transition: transform .12s, background .15s, filter .15s;
}
.nb-mines__tile:hover:not(:disabled) { transform: translateY(-3px); background: linear-gradient(180deg, #33407a, #242f63); }
.nb-mines__tile:active:not(:disabled) { transform: translateY(0); }
.nb-mines__tile:disabled { cursor: default; }
.nb-mines__tile.is-gem { background: linear-gradient(180deg, #1c2a3a, #142030); box-shadow: inset 0 0 0 2px rgba(250, 204, 21, .55), 0 0 18px rgba(250, 204, 21, .18); }
.nb-mines__tile.is-mine { background: linear-gradient(180deg, #3a1c26, #2a1219); box-shadow: inset 0 0 0 2px rgba(244, 63, 94, .55); }
.nb-mines__tile.is-hit { background: radial-gradient(circle, #f43f5e 0, #7f1d1d 75%); box-shadow: 0 0 26px rgba(244, 63, 94, .55); }
.nb-mines__tile.is-ghost { opacity: .4; box-shadow: none; }
.nb-mines__tile.is-flip { animation: nb-tileflip .32s ease-out; }
@keyframes nb-tileflip { 0% { transform: scale(.82) rotateY(90deg); } 100% { transform: none; } }
.nb-mines__art { position: absolute; left: 19%; top: 19%; width: 62%; height: 62%; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.nb-gem__body { fill: url(#gr-gem); }
.nb-gem__top { fill: #fef9c3; opacity: .65; }
.nb-gem__line { fill: none; stroke: #a16207; stroke-width: .8; opacity: .55; stroke-linejoin: round; }
.nb-bomb__body { fill: url(#gr-bomb); }
.nb-bomb__cap { fill: #92400e; }
.nb-bomb__fuse { fill: none; stroke: #fde68a; stroke-width: 1.6; stroke-linecap: round; }
.nb-bomb__shine { fill: #fff; opacity: .55; }
.nb-mines__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nb-mines__bar > span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  background: #121a3b; border: 1px solid var(--nb-line); color: #c3cbea; font-size: .86rem; font-weight: 700;
}
.nb-mines__bar .ic { width: 16px; height: 16px; }
.nb-mines__bar .nb-mines__next { color: #fde68a; }
.nb-mines__bar .nb-mines__now { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
.nb-gbig--cash { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 10px 24px rgba(22, 163, 74, .35); }
.nb-gbtn--pick { margin-top: 10px; width: 100%; min-height: 44px; }
.nb-ginput--select { padding: 0; }
.nb-gselect { width: 100%; min-height: 48px; padding: 0 14px; background: transparent; color: #fff; font: inherit; font-weight: 700; border: 0; cursor: pointer; }
.nb-gselect option { background: #0d1430; color: #fff; }
.nb-gselect:disabled { opacity: .6; cursor: not-allowed; }

/* =========================================================== CHICKEN CROSS ===== */
.nb-ck { position: relative; display: grid; gap: 12px; width: min(980px, 100%); }
.nb-ck__head { display: grid; justify-items: center; gap: 2px; text-align: center; }
.nb-ck__head b { font: 900 clamp(1.4rem, 3.6vw, 2.2rem)/1 system-ui, sans-serif; letter-spacing: .03em; background: linear-gradient(180deg, #fff7ae, #facc15 55%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #78350f); }
.nb-ck__head span { color: #c7cdf0; font-size: .85rem; }
.nb-ck__road { position: relative; overflow-x: auto; overflow-y: hidden; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .45); scrollbar-width: thin; }
.nb-ck__track { position: relative; display: flex; height: clamp(250px, 38vw, 330px); width: max-content; }
.nb-ck__side { flex: none; width: 96px; display: grid; place-items: center; }
.nb-ck__side--start { background: repeating-linear-gradient(0deg, #9ca3af 0 22px, #a8b0bc 22px 24px), #9ca3af; box-shadow: inset -6px 0 0 #6b7280; }
.nb-ck__side--start span { writing-mode: vertical-rl; transform: rotate(180deg); color: #1f2937; font-weight: 900; letter-spacing: .3em; font-size: .8rem; opacity: .6; }
.nb-ck__side--end { background: radial-gradient(circle at 50% 50%, #4ade80, #15803d); box-shadow: inset 6px 0 0 #6b7280; }
.nb-ck__side--end img { width: 54px; height: 54px; }
.nb-ck__lane { position: relative; flex: none; width: 96px; overflow: hidden; cursor: default; background: linear-gradient(90deg, #2b3242, #353d4f 50%, #2b3242); border-left: 3px dashed rgba(255, 255, 255, .5); }
.nb-ck__lane:first-of-type { border-left: 0; }
.nb-ck__lane.is-next { cursor: pointer; background: linear-gradient(90deg, #343c50, #414a60 50%, #343c50); }
.nb-ck__lane.is-passed { background: linear-gradient(90deg, #26303d, #2e3848 50%, #26303d); }
.nb-ck__lane.is-death { background: linear-gradient(90deg, #4c1d1d, #5f2121 50%, #4c1d1d); }
.nb-ck__coin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #4b5563, #1f2937); box-shadow: inset 0 0 0 3px #6b7280, 0 6px 12px rgba(0, 0, 0, .45); transition: background .3s, box-shadow .3s; }
.nb-ck__coin b { color: #e5e7eb; font: 900 .86rem/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.nb-ck__lane.is-next .nb-ck__coin { box-shadow: inset 0 0 0 3px #facc15, 0 0 0 0 rgba(250, 204, 21, .6); animation: nb-ckpulse 1.2s ease-out infinite; }
@keyframes nb-ckpulse { 70% { box-shadow: inset 0 0 0 3px #facc15, 0 0 0 16px rgba(250, 204, 21, 0); } }
.nb-ck__lane.is-passed .nb-ck__coin { background: radial-gradient(circle at 50% 35%, #fde68a, #f59e0b 60%, #b45309); box-shadow: inset 0 0 0 3px #fff7ae, 0 0 18px rgba(250, 204, 21, .55); }
.nb-ck__lane.is-passed .nb-ck__coin b { color: #451a03; }
.nb-ck__bar { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; animation: nb-drop .35s cubic-bezier(.3, 1.6, .5, 1); }
.nb-ck__bar img { width: 58px; height: 58px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
@keyframes nb-drop { from { transform: translate(-50%, -80px); opacity: 0; } }
.nb-car { position: absolute; left: 50%; top: 0; width: 46px; height: 80px; z-index: 1; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
.nb-car.is-crash { z-index: 4; }
.nb-ck__chicken { position: absolute; left: 0; top: 50%; z-index: 3; width: 74px; height: 74px; margin-top: -40px; pointer-events: none; transform: translateX(-50%); }
.nb-ck__chicken img { width: 100%; height: 100%; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .55)); animation: nb-chick 1.1s ease-in-out infinite alternate; }
@keyframes nb-chick { to { transform: rotate(-6deg) translateY(-3px); } }
.nb-ck__chicken.is-hit img { animation: nb-ckhit .5s ease-out forwards; }
@keyframes nb-ckhit { 0% { transform: scale(1.2); filter: brightness(3); } 100% { transform: scale(1.1, .35) translateY(60%); filter: grayscale(.8) brightness(.7); } }
.nb-ck__chicken.is-happy img { animation: nb-ckhappy .45s ease-in-out infinite alternate; }
@keyframes nb-ckhappy { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(-16px) rotate(8deg); } }
.nb-ck__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nb-ck__stats div { display: grid; justify-items: center; gap: 2px; padding: 8px; border-radius: 12px; background: #121a3b; border: 1px solid var(--nb-line, #26305c); }
.nb-ck__stats small { color: var(--nb-muted, #98a2c8); font-size: .72rem; }
.nb-ck__stats b { font-size: .95rem; font-variant-numeric: tabular-nums; }
.nb-ck__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-gbig--go { background: linear-gradient(135deg, #facc15, #f59e0b); color: #451a03; box-shadow: 0 10px 24px rgba(245, 158, 11, .35); }
.nb-seg2--ck .nb-seg2__btn { padding: 6px 4px; }
.nb-ck__lv { display: grid; justify-items: center; gap: 1px; line-height: 1.1; }
.nb-ck__lv small { font-size: .62rem; opacity: .75; font-weight: 700; }
.nb-seg2--ck.is-locked { opacity: .6; pointer-events: none; }
.nb-card--chicken { --c: #eab308; }
@media (max-width: 560px) {
  .nb-ck__lane, .nb-ck__side { width: 78px; }
  .nb-ck__coin { width: 60px; height: 60px; }
  .nb-ck__chicken { width: 60px; height: 60px; margin-top: -32px; }
  .nb-ck__stats b { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { .nb-ck__chicken img, .nb-ck__lane.is-next .nb-ck__coin { animation: none; } }

/* Przełącznik „gram za saldo / bonus” przy kwocie zakładu */
.nb-gf__right { display: inline-flex; align-items: center; gap: 6px; }
.nb-gf__right b { color: var(--nb-text); font-weight: 800; }
.nb-gf__right.is-bonus b { color: #f0abfc; }
.nb-gf__swap {
  appearance: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border-radius: 8px; cursor: pointer;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line); color: var(--nb-cyan);
}
.nb-gf__swap .ic { width: 16px; height: 16px; }
.nb-gf__swap:disabled { opacity: .4; cursor: not-allowed; }
.nb-gf__right.is-bonus .nb-gf__swap { color: #f0abfc; }

/* Tło sceny automatu (v4.9): obraz z CFG.SLOT_THEMES[id].bg, na telefonie .bgm. Środek jest przyciemniony, bo leżą na nim bębny. */
.nb-bg { --bg-ov: radial-gradient(ellipse 55% 62% at 50% 50%, rgba(4, 7, 20, .55), rgba(4, 7, 20, 0) 100%), linear-gradient(180deg, rgba(4, 7, 20, .2), rgba(4, 7, 20, .55) 100%); }
.nb-arc.nb-bg, .nb-gv__stagewrap.nb-bg { background: var(--bg-ov), var(--bg-d) center / cover no-repeat #080c1f; }
.nb-bg > .nb-gv__stagewrap { background: transparent; }
@media (max-width: 760px) {
  .nb-arc.nb-bg, .nb-gv__stagewrap.nb-bg { background: var(--bg-ov), var(--bg-m) center / cover no-repeat #080c1f; }
  .nb-arc.nb-bg { min-height: 100%; }   /* tło na całą wysokość okna, także gdy pulpit jest krótszy */
}
