/* NexaBet — strona główna. Kolory zmieniasz w jednym miejscu (:root). */
:root {
  --nb-bg: #070b18;
  --nb-bg-2: #0a1022;
  --nb-panel: #0d1430;
  --nb-line: #1c2648;
  --nb-text: #eef2ff;
  --nb-muted: #8e98bb;
  --nb-cyan: #22d3ee;
  --nb-blue: #19a7f0;
  --nb-purple: #8b5cf6;
  --nb-violet: #6d28d9;
  --nb-magenta: #d946ef;
  --nb-gold: #fbbf24;
  --nb-grad: linear-gradient(90deg, #19c3f2 0%, #6d5cf6 55%, #b13ef0 100%);
  --nb-header-h: 64px;
  --nb-side-w: 76px;
  --nb-side-w-open: 248px;
  --nb-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nb-header-h) + 12px); }
body {
  margin: 0; min-height: 100vh; color: var(--nb-text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(20, 184, 166, .10), transparent 60%),
    radial-gradient(800px 600px at 30% 10%, rgba(109, 40, 217, .10), transparent 60%),
    var(--nb-bg);
}
a { color: inherit; }
button { font: inherit; color: inherit; }
.nb-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--nb-cyan); outline-offset: 3px; }
[hidden] { display: none !important; }

.nb-skip {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px;
  background: var(--nb-panel); border: 1px solid var(--nb-cyan); text-decoration: none;
}
.nb-skip:focus { top: 12px; }

/* ------------------------------------------------------------ nagłówek */
.nb-header {
  position: sticky; top: 0; z-index: 50; height: var(--nb-header-h);
  display: flex; align-items: center; gap: 16px; padding: 0 24px;
  background: rgba(7, 11, 24, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nb-line);
}
.nb-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(34, 211, 238, .45) 60%, rgba(139, 92, 246, .45) 85%, transparent);
}
.nb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.nb-logo__mark { width: 34px; height: 34px; }
.nb-logo__text { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.nb-logo__text span { background: var(--nb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nb-balances { display: flex; gap: 10px; margin-left: clamp(16px, 9vw, 190px); }
.nb-bal {
  display: flex; align-items: stretch; min-height: 44px; border-radius: 12px;
  background: var(--nb-bg-2); border: 1px solid rgba(34, 211, 238, .45);
  box-shadow: 0 0 18px rgba(34, 211, 238, .08) inset;
}
.nb-bal--bonus.nb-bal__btn { border: 1px solid rgba(217, 70, 239, .55); box-shadow: 0 0 18px rgba(217, 70, 239, .1) inset; }
.nb-bal__btn {
  appearance: none; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; align-content: center; padding: 4px 14px; min-width: 112px; border-radius: 12px;
}
.nb-bal__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--nb-muted); line-height: 1.2; }
.nb-bal__value { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.3; }
.nb-bal--bonus .nb-bal__value { color: #f0abfc; }

.nb-header__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nb-chips {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line); font-weight: 800; cursor: pointer;
}
.nb-chips__icon { width: 22px; height: 22px; vertical-align: -5px; }
.nb-iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line); color: var(--nb-text);
}
.nb-iconbtn--wallet { background: linear-gradient(135deg, #8b5cf6, #d946ef); border-color: transparent; }
.nb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.nb-btn--grad { background: var(--nb-grad); color: #fff; box-shadow: 0 6px 24px rgba(109, 92, 246, .35); }
.nb-btn--outline {
  background: linear-gradient(var(--nb-bg), var(--nb-bg)) padding-box, var(--nb-grad) border-box; color: #fff;
}
.nb-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.nb-btn:not(:disabled):hover, .nb-iconbtn:hover, .nb-chips:hover { filter: brightness(1.12); }

/* --------------------------------------------- pasek boczny (zwijany) */
.nb-side {
  position: fixed; z-index: 40; left: 0; top: var(--nb-header-h); bottom: 0; width: var(--nb-side-w);
  padding: 16px 12px; overflow: hidden auto; scrollbar-width: none;
  background: rgba(8, 12, 28, .96); border-right: 1px solid var(--nb-line);
  transition: width .22s ease, box-shadow .22s ease;
}
.nb-side:hover, .nb-side:focus-within { width: var(--nb-side-w-open); box-shadow: 18px 0 48px rgba(0, 0, 0, .5); }
.nb-side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nb-side__item {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 0 14px;
  border-radius: 12px; border: 0; background: none; text-decoration: none; cursor: pointer; text-align: left;
  color: #c9d1ee; white-space: nowrap;
}
.nb-side__item:hover { background: rgba(139, 92, 246, .10); color: #fff; }
.nb-side__item.is-active {
  color: #fff; background: linear-gradient(90deg, rgba(34, 211, 238, .14), rgba(139, 92, 246, .10) 70%, transparent);
}
.nb-side__item.is-active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--nb-cyan), var(--nb-purple)); box-shadow: 0 0 12px var(--nb-cyan);
}
.nb-side__icon { width: 24px; height: 24px; }
.nb-side__label { font-weight: 700; opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease; }
.nb-side:hover .nb-side__label, .nb-side:focus-within .nb-side__label { opacity: 1; transform: none; }
.nb-side__sep { height: 1px; margin: 14px 6px; background: var(--nb-line); }
.nb-side__dot {
  position: absolute; left: 32px; top: 11px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--nb-magenta); box-shadow: 0 0 10px var(--nb-magenta);
}
.nb-miniwheel {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(#fbbf24 0 27.7deg, #1b2244 0 55.4deg, #0ea5e9 0 83.1deg, #c026d3 0 110.8deg, #1b2244 0 138.5deg,
    #7c3aed 0 166.2deg, #1b2244 0 193.9deg, #0ea5e9 0 221.6deg, #c026d3 0 249.3deg, #1b2244 0 277deg, #7c3aed 0 304.7deg,
    #1b2244 0 332.4deg, #0ea5e9 0 360deg);
  box-shadow: 0 0 0 2px #e9d5ff, 0 0 14px rgba(217, 70, 239, .55);
  animation: nb-spin 9s linear infinite;
}
.nb-miniwheel::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
@keyframes nb-spin { to { transform: rotate(360deg); } }
.nb-side__item--wheel:hover .nb-miniwheel { animation-duration: 1.4s; }

/* --------------------------------------------------------------- treść */
.nb-main { margin-left: var(--nb-side-w); padding: 28px clamp(16px, 3vw, 36px) 48px; max-width: 1600px; outline: none; }
.nb-section + .nb-section { margin-top: 36px; }
.nb-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  color: var(--nb-cyan); font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.nb-eyebrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--nb-line), transparent); }
.nb-h2 { font-size: 1.35rem; margin: 22px 0 14px; }

/* Odkryj NexaBet */
.nb-discover { display: grid; grid-template-columns: repeat(7, minmax(88px, 1fr)); gap: 12px; }
.nb-disc {
  display: grid; justify-items: center; gap: 12px; padding: 6px 4px; border: 0; background: none; cursor: pointer;
  border-radius: 16px;
}
.nb-disc__ring {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #141c3d, #0a0f24) padding-box,
    linear-gradient(140deg, #a78bfa, #6d28d9 40%, #22d3ee) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 22px rgba(139, 92, 246, .35), 0 0 0 6px rgba(139, 92, 246, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nb-disc__ring .ic { width: 34px; height: 34px; stroke-width: 1.6; color: #fff; }
.nb-disc__label { font-weight: 700; font-size: .92rem; }
.nb-disc:hover .nb-disc__ring { transform: translateY(-3px); box-shadow: 0 0 30px rgba(34, 211, 238, .45), 0 0 0 6px rgba(34, 211, 238, .08); }

/* Promocje */
.nb-promos { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 14px; }
.nb-promo {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 252px; padding: 22px 20px 20px; border-radius: var(--nb-radius);
  background: linear-gradient(160deg, #1b1550 0%, #11173a 58%, #0d1631 100%);
  border: 1px solid rgba(139, 92, 246, .38);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.nb-promo--gift { background: linear-gradient(160deg, #1d1a5c, #121a3f 60%, #0d1a34); }
.nb-promo--start { background: linear-gradient(160deg, #24145a, #16163f 60%, #0f1734); }
.nb-promo--pay { background: linear-gradient(160deg, #18184a, #10183a 60%, #0c1731); }
.nb-promo--originals { background: linear-gradient(160deg, #2a1458, #19143f 60%, #111632); }
.nb-promo--voucher { background: linear-gradient(160deg, #142057, #0f1a3d 60%, #0b1832); }
.nb-promo__title {
  margin: 0; font-size: 1.32rem; line-height: 1.08; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
}
.nb-promo__big { margin: 8px 0 2px; font-size: 2rem; font-weight: 900; line-height: 1.1; color: var(--nb-cyan); }
.nb-grad-text { background: linear-gradient(90deg, #f0abfc, #a78bfa 60%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nb-promo__sub { margin: 8px 0 0; max-width: 62%; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #c7cdf0; line-height: 1.5; }
.nb-promo__fine { margin: 6px 0 0; max-width: 62%; font-size: .7rem; color: var(--nb-muted); line-height: 1.4; }
.nb-promo__art { position: absolute; right: 10px; bottom: 74px; width: 118px; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); pointer-events: none; }
.nb-promo__badge {
  position: absolute; top: 96px; right: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #db2777); font-weight: 900; font-size: .9rem; box-shadow: 0 0 16px rgba(236, 72, 153, .6);
}
.nb-pbtn {
  margin-top: auto; position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--nb-grad); color: #fff; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  box-shadow: 0 8px 22px rgba(25, 195, 242, .25);
}
.nb-pbtn:hover { filter: brightness(1.12); }
.nb-note { margin: 16px 0 0; color: var(--nb-muted); font-size: .8rem; }
.nb-note a { color: #c4b5fd; }

/* Wyszukiwarka */
.nb-searchbox {
  flex: 1; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 12px;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line); color: var(--nb-muted);
}
.nb-searchbox:focus-within { border-color: var(--nb-purple); }
.nb-searchbox input { flex: 1; min-width: 0; border: 0; background: none; color: var(--nb-text); font: inherit; outline: none; }
.nb-searchbox input::placeholder { color: var(--nb-muted); }

.nb-empty { color: var(--nb-muted); }

.nb-footer {
  margin-left: var(--nb-side-w); padding: 24px clamp(16px, 3vw, 36px) 32px; border-top: 1px solid var(--nb-line);
  color: var(--nb-muted); font-size: .85rem;
}
.nb-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.nb-footer a { color: #c7cdf0; }

/* --------------------------------------------------------------- okna */
.nb-modal {
  width: min(980px, calc(100vw - 24px)); max-height: min(92vh, 900px); padding: 0; margin: auto;
  border-radius: 20px; border: 1px solid rgba(139, 92, 246, .4); background: #0b1126; color: var(--nb-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.nb-modal::backdrop { background: rgba(3, 5, 12, .75); backdrop-filter: blur(4px); }
.nb-modal__head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #0b1126; border-bottom: 1px solid var(--nb-line);
}
.nb-modal__head h2 { margin: 0; font-size: 1.25rem; }
.nb-tabs { display: flex; gap: 6px; padding: 14px 20px 0; }
.nb-tabs [role="tab"] {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 800;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line);
}
.nb-tabs [aria-selected="true"] { background: var(--nb-grad); border-color: transparent; }
.nb-modal--wallet [role="tabpanel"] { padding: 18px 20px 24px; }

.nb-modal--wheel { width: min(520px, calc(100vw - 24px)); }
.nb-wheel { position: relative; width: min(360px, 78vw); margin: 22px auto 8px; aspect-ratio: 1; }
.nb-wheel__svg {
  width: 100%; height: 100%; display: block; border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, .45));
  transition: transform 5.2s cubic-bezier(.12, .78, .1, 1);
}
.nb-wheel__pointer {
  position: absolute; z-index: 2; left: 50%; top: -6px; transform: translateX(-50%);
  width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 28px solid #fff;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)) drop-shadow(0 0 8px rgba(217, 70, 239, .8));
}
.nb-wheel__hub {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 3px solid #fff; cursor: pointer; font-weight: 900; text-transform: uppercase; font-size: .85rem;
  background: radial-gradient(circle at 40% 35%, #a78bfa, #6d28d9 70%); color: #fff;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, .4), 0 8px 20px rgba(0, 0, 0, .5);
}
.nb-wheel__hub:disabled { cursor: not-allowed; filter: grayscale(.4) brightness(.85); }
.nb-wheel__stats { display: flex; justify-content: center; gap: 22px; color: #c7cdf0; }
.nb-wheel__result { min-height: 1.6em; margin: 10px 20px 0; text-align: center; font-weight: 800; font-size: 1.05rem; }
.nb-wheel__result.is-win { color: #fde68a; }
.nb-wheel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 12px 20px 0; }
.nb-fine { margin: 14px 20px 20px; color: var(--nb-muted); font-size: .78rem; text-align: center; }

.nb-toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; font-weight: 700;
  background: #121a3a; border: 1px solid rgba(34, 211, 238, .5); box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}


/* Saldo: przycisk z listą portfeli (jak w Stake) i znacznik „gram za to saldo” */
.nb-balmenu { position: relative; display: flex; gap: 10px; }
.nb-bal__trigger { padding-right: 34px; position: relative; }
.nb-bal__trigger::after {
  content: ""; position: absolute; right: 12px; top: 50%; margin-top: -2px; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--nb-muted);
}
.nb-bal__trigger[aria-expanded="true"]::after { border-top: 0; border-bottom: 6px solid var(--nb-cyan); }
.nb-bal__ccy { margin-left: 4px; padding: 0 5px; border-radius: 6px; background: rgba(34, 211, 238, .14); color: var(--nb-cyan); letter-spacing: .06em; }
.nb-bal { transition: border-color .15s, box-shadow .15s, opacity .15s; }
.nb-bal:not(.is-playing) { border-color: var(--nb-line); box-shadow: none; opacity: .72; }
.nb-bal:not(.is-playing):hover { opacity: 1; }
.nb-bal--bonus.is-empty { opacity: .5; }
.nb-bal.is-playing::before {
  content: var(--nb-t-playing, "gram za to"); position: absolute; left: 12px; top: -8px; padding: 0 6px; border-radius: 6px; font-size: .58rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; background: var(--nb-bg); color: var(--nb-cyan); line-height: 14px; pointer-events: none;
}
.nb-bal--bonus.is-playing::before { color: #f0abfc; }
.nb-bal--bonus.is-playing { box-shadow: 0 0 22px rgba(217, 70, 239, .28) inset; }
.nb-bal:not(.nb-bal--bonus).is-playing { box-shadow: 0 0 22px rgba(34, 211, 238, .22) inset; }

.nb-balpop {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 60; width: min(360px, calc(100vw - 24px)); padding: 14px;
  border-radius: 16px; background: #0c1330; border: 1px solid rgba(34, 211, 238, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  display: grid; gap: 10px; max-height: calc(100vh - var(--nb-header-h) - 24px); overflow: auto;
}
.nb-bphead { display: flex; align-items: baseline; justify-content: space-between; font-size: .8rem; color: var(--nb-muted); text-transform: uppercase; letter-spacing: .1em; }
.nb-bphead b { color: var(--nb-text); font-size: .78rem; }
.nb-bphead__hint { font-size: .7rem; }
.nb-bpchoices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-bpchoice {
  appearance: none; cursor: pointer; text-align: left; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line); color: var(--nb-text);
}
.nb-bpchoice__t { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--nb-muted); }
.nb-bpchoice__v { font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.nb-bpchoice__n { font-size: .7rem; color: var(--nb-muted); }
.nb-bpchoice[data-src="bonus"] .nb-bpchoice__v { color: #f0abfc; }
.nb-bpchoice.is-on { border-color: var(--nb-cyan); box-shadow: 0 0 0 1px var(--nb-cyan) inset, 0 0 22px rgba(34, 211, 238, .18) inset; }
.nb-bpchoice[data-src="bonus"].is-on { border-color: var(--nb-magenta); box-shadow: 0 0 0 1px var(--nb-magenta) inset, 0 0 22px rgba(217, 70, 239, .2) inset; }
.nb-bpchoice:disabled { opacity: .45; cursor: not-allowed; }
.nb-bplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nb-bprow {
  appearance: none; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: transparent; border: 1px solid transparent; color: var(--nb-text); text-align: left;
}
.nb-bprow:hover { background: rgba(255, 255, 255, .04); }
.nb-bprow.is-on { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .4); }
.nb-bprow__name { font-weight: 800; flex: none; }
.nb-bprow__amt { margin-left: auto; display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.nb-bprow__amt small { color: #f0abfc; font-size: .7rem; }
.nb-bprow__tick { width: 18px; height: 18px; color: var(--nb-cyan); stroke-width: 2.6; }
.nb-cc { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem; color: #fff; flex: none; }
.nb-cc--PLN { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.nb-cc--EUR { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.nb-cc--USD { background: linear-gradient(135deg, #22c55e, #15803d); }
.nb-bpzero { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--nb-muted); cursor: pointer; }
.nb-bpzero input { width: 18px; height: 18px; accent-color: var(--nb-cyan); }
.nb-bpfoot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-bpfoot .nb-btn { min-height: 42px; }
@media (max-width: 700px) {
  .nb-balmenu { flex: 1; width: 100%; }
  .nb-balmenu > .nb-bal:first-child { flex: 1; }
  .nb-balpop { left: 0; right: 0; width: auto; }
}

/* --------------------------------------------------------- responsywność */
@media (max-width: 1280px) {
  .nb-promos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .nb-promo { scroll-snap-align: start; }
}
@media (max-width: 1000px) {
  .nb-balances { margin-left: 8px; }
  .nb-bal__btn { min-width: 0; padding: 4px 10px; }
  .nb-header .nb-btn { padding: 0 14px; font-size: .75rem; }
}
@media (max-width: 860px) {
  /* Pasek boczny -> dolna belka z samymi ikonami */
  .nb-side {
    top: auto; bottom: 0; right: 0; width: auto; height: 66px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    display: flex; justify-content: space-around; border-right: 0; border-top: 1px solid var(--nb-line); overflow: hidden;
  }
  .nb-side:hover, .nb-side:focus-within { width: auto; box-shadow: none; }
  .nb-side__list { display: contents; }
  .nb-side__sep { display: none; }
  .nb-side__item { width: 48px; min-height: 48px; padding: 0; justify-content: center; }
  .nb-side__item.is-active::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 3px; }
  .nb-side__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nb-side__dot { left: 30px; top: 8px; }
  .nb-main, .nb-footer { margin-left: 0; }
  .nb-main { padding-bottom: 96px; }
  .nb-footer { padding-bottom: 96px; }
  .nb-discover { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
}
@media (max-width: 700px) {
  :root { --nb-header-h: auto; }
  .nb-header { height: auto; flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .nb-balances { order: 3; width: 100%; margin: 0; }
  .nb-bal { flex: 1; }
  .nb-bal__btn { flex: 1; }
  .nb-logo__text { font-size: 1.1rem; }
  .nb-header .nb-btn { min-height: 40px; padding: 0 12px; font-size: .7rem; }
  .nb-side { top: auto; }
  .nb-disc__ring { width: 72px; height: 72px; }
  .nb-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .nb-modal--wheel { height: auto; max-height: 100dvh; border-radius: 20px 20px 0 0; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nb-side, .nb-side__label, .nb-disc__ring, .nb-card { transition: none; }
  .nb-miniwheel { animation: none; }
  .nb-wheel__svg { transition-duration: .4s; }
}

/* ===================================================== okna: formularze, konto, gra */
.nb-modal {
  /* paleta modułu portfela (css/wallet.css) dopasowana do strony */
  --nbw-card: #0f1734; --nbw-card-2: #131d40; --nbw-border: #24305a; --nbw-text: var(--nb-text);
  --nbw-muted: var(--nb-muted); --nbw-accent: var(--nb-purple); --nbw-radius: 14px;
}
.nb-modal .nbw { max-width: none; }
.nb-modal--auth { width: min(460px, calc(100vw - 24px)); }
.nb-modal--account { width: min(640px, calc(100vw - 24px)); }
.nb-modal--game { width: min(520px, calc(100vw - 24px)); }
.nb-modal__body { padding: 18px 20px 24px; display: grid; gap: 14px; }
.nb-modal__body .nb-fine { margin: 0; }
.nb-tabs--auth { padding: 0; }
.nb-tabs--auth [role="tab"] { flex: 1; }

.nb-form { display: grid; gap: 14px; }
.nb-field { display: grid; gap: 6px; min-width: 0; }
.nb-field > span { font-weight: 700; font-size: .875rem; color: #c7cdf0; }
.nb-field input, .nb-field select {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; font: inherit; color: var(--nb-text);
  background: var(--nb-bg-2); border: 1px solid var(--nb-line); color-scheme: dark;
}
.nb-field input:focus, .nb-field select:focus { border-color: var(--nb-purple); outline: none; box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.nb-check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.45; cursor: pointer; }
.nb-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--nb-purple); }
.nb-check a { color: var(--nb-cyan); }
.nb-btn--block { width: 100%; }
.nb-btn--danger { background: #e11d48; color: #fff; }
.nb-linkbtn {
  justify-self: center; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--nb-cyan);
  font-weight: 700; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px;
}
.nb-formmsg {
  margin: 0; padding: 10px 14px; border-radius: 12px; font-size: .9rem;
  background: rgba(225, 29, 72, .12); border: 1px solid rgba(225, 29, 72, .45);
}
.nb-formmsg.is-ok { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .45); }
.nb-muted { color: var(--nb-muted); }
.nb-small { font-size: .85rem; }
.nb-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nb-label { font-weight: 700; font-size: .875rem; color: #c7cdf0; }

/* Moje konto */
.nb-acc { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--nbw-card); border: 1px solid var(--nbw-border); }
.nb-acc h3 { margin: 0; font-size: 1rem; }
.nb-acc p { margin: 0; }
.nb-acc a { color: var(--nb-cyan); }
.nb-kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: .9rem; }
.nb-kv dt { color: var(--nb-muted); }
.nb-kv dd { margin: 0; overflow-wrap: anywhere; }
.nb-kv .nb-linkbtn { padding: 0 4px; font-size: .8rem; }
.nb-inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.nb-inline-form .nb-field { flex: 1 1 150px; }
.nb-inline-form .nb-btn { min-height: 46px; }



/* Baner cookies */
.nb-cookie {
  position: fixed; z-index: 110; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; width: min(720px, calc(100vw - 24px)); padding: 14px 18px;
  border-radius: 16px; background: #10183a; border: 1px solid var(--nb-line); box-shadow: 0 16px 50px rgba(0, 0, 0, .55);
}
.nb-cookie p { margin: 0; font-size: .875rem; }
.nb-cookie a { color: var(--nb-cyan); }

@media (max-width: 860px) {
  .nb-cookie { bottom: 80px; flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============================================================ saldo na żywo: animacja +/− */
.nb-bal { position: relative; }
.nb-delta {
  position: absolute; z-index: 60; right: 10px; top: 100%; margin-top: 4px; padding: 3px 9px; border-radius: 999px;
  font-size: .78rem; font-weight: 900; white-space: nowrap; pointer-events: none; animation: nb-delta 2.6s ease-out forwards;
}
.nb-delta.is-up { background: #14532d; color: #bbf7d0; border: 1px solid #22c55e; }
.nb-delta.is-down { background: #4c0519; color: #fecdd3; border: 1px solid #f43f5e; }
.nb-bal.is-flash-up { animation: nb-flash-up 1.2s ease-out; }
.nb-bal.is-flash-down { animation: nb-flash-down 1.2s ease-out; }
@keyframes nb-delta { 0% { opacity: 0; transform: translateY(-6px); } 12% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes nb-flash-up { 0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); } 30% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .55), 0 0 26px rgba(34, 197, 94, .45); } }
@keyframes nb-flash-down { 0%, 100% { box-shadow: 0 0 0 rgba(244, 63, 94, 0); } 30% { box-shadow: 0 0 0 3px rgba(244, 63, 94, .5); } }

/* ============================================================ kafel „Aż 650% bonusu” */
.nb-promo__title--welcome { font-size: 1.22rem; max-width: 92%; }
.nb-promo__sub--prize { max-width: 58%; font-size: .74rem; color: #fde68a; }
.nb-promo__sub--prize b { color: #fff; font-size: 1.05rem; letter-spacing: .02em; }

/* ============================================================ szybka wpłata + bonus powitalny (jak zdj. 1) */
.nb-hero {
  display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.05fr); margin-bottom: 18px;
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(139, 92, 246, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.nb-hero__dep { display: grid; gap: 14px; align-content: center; padding: 26px clamp(18px, 3vw, 34px); background: linear-gradient(180deg, #121836, #0c1129); }
.nb-hero__h { margin: 0; text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.nb-hero__row { display: flex; border-radius: 14px; background: #0a0f24; border: 1px solid #263158; overflow: hidden; }
.nb-hero__amount { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; min-width: 0; }
.nb-hero__amount input { flex: 1; min-width: 0; height: 58px; border: 0; background: none; color: var(--nb-text); font: inherit; font-size: 1.25rem; font-weight: 800; outline: none; }
.nb-hero__plus { flex: none; padding: 6px 10px; border-radius: 9px; background: rgba(34, 197, 94, .14); color: #4ade80; font-weight: 900; font-size: .9rem; white-space: nowrap; }
.nb-hero__cur { display: flex; border-left: 1px solid #263158; background: #121a38; }
.nb-hero__cur select {
  appearance: none; border: 0; background: transparent; color: var(--nb-text); font: inherit; font-weight: 800; padding: 0 34px 0 16px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--nb-muted) 50%), linear-gradient(135deg, var(--nb-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.nb-hero__cur select option { background: var(--nb-panel); }
.nb-hero__row:focus-within { border-color: var(--nb-purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.nb-hero__go {
  min-height: 56px; border: 0; border-radius: 14px; cursor: pointer; font-size: 1.05rem; font-weight: 900; color: #111827;
  background: linear-gradient(90deg, #fde047, #facc15); box-shadow: 0 10px 28px rgba(250, 204, 21, .25);
}
.nb-hero__go:hover { filter: brightness(1.06); }
.nb-hero__step { margin: -4px 0 0; min-height: 1.2em; text-align: center; font-size: .85rem; font-weight: 700; color: #a7f3d0; }
.nb-hero__pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nb-hero__pay li { padding: 6px 11px; border-radius: 9px; background: #1a2246; border: 1px solid #2a3561; font-size: .76rem; font-weight: 800; letter-spacing: .02em; color: #dbe1ff; }
.nb-hero__code { justify-self: center; background: none; border: 0; cursor: pointer; color: #facc15; font-weight: 700; font-size: .88rem; }
.nb-hero__offer {
  position: relative; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 26px 22px; text-align: center;
  background: radial-gradient(500px 260px at 80% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(140deg, #6d28d9, #5b21b6 55%, #4c1d95);
}
.nb-hero__offer::before {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 26px);
}
.nb-hero__gift { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nb-hero__kicker { margin: 0; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }
.nb-hero__title { display: grid; gap: 6px; margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.nb-hero__line { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.nb-pill { display: inline-block; padding: 2px 16px; border-radius: 14px; font-weight: 900; color: #111827; background: #fff; line-height: 1.25; }
.nb-pill--green { background: #4ade80; }
.nb-pill--lilac { background: #e9d5ff; color: #4c1d95; }
.nb-pill--yellow { background: #fde047; }
.nb-hero__sub { margin: 0; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 900; text-transform: uppercase; }
.nb-hero__sub .nb-pill { padding: 1px 12px; }
.nb-hero__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.nb-hero__steps li { display: grid; justify-items: center; min-width: 64px; padding: 6px 8px; border-radius: 12px; background: rgba(17, 24, 39, .32); border: 1px solid rgba(255, 255, 255, .18); }
.nb-hero__steps b { font-size: 1.05rem; }
.nb-hero__steps span { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.nb-hero__steps .is-next { background: #fde047; color: #111827; border-color: #fde047; }
.nb-hero__steps .is-done { opacity: .55; }
.nb-hero__fine { position: relative; margin: 0; max-width: 520px; font-size: .7rem; line-height: 1.45; color: #e9d5ff; }
.nb-hero__fine a { color: #fff; }
.nb-hero__more { position: relative; background: none; border: 0; cursor: pointer; color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================ Mega koło */
.nb-btn--gold { background: linear-gradient(90deg, #fde68a, #f59e0b); color: #3b2300; box-shadow: 0 6px 22px rgba(245, 158, 11, .35); }
.nb-modal--mega { border-color: rgba(251, 191, 36, .6); }
.nb-modal--mega .nb-wheel__svg { filter: drop-shadow(0 0 28px rgba(251, 191, 36, .5)); }
.nb-modal--mega .nb-wheel__hub { background: radial-gradient(circle at 40% 35%, #fde68a, #b45309 70%); color: #3b2300; box-shadow: 0 0 0 4px rgba(180, 83, 9, .45), 0 8px 20px rgba(0, 0, 0, .5); }

/* ============================================================ Centrum bonusów */
.nb-modal--bonuses { width: min(1120px, calc(100vw - 24px)); }
.nb-modal--bonuses .nb-modal__body { gap: 16px; }
.nbb-hero {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 6px 20px; align-items: center; padding: 22px 24px; border-radius: 20px;
  background: radial-gradient(600px 240px at 90% 0%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(130deg, #6d28d9, #4c1d95 60%, #312e81);
  border: 1px solid rgba(196, 181, 253, .45);
}
.nbb-hero__art { grid-row: span 2; width: 120px; }
.nbb-hero__art svg, .nbb-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); }
.nbb-tag { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ddd6fe; }
.nbb-hero__title { margin: 6px 0; font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 900; text-transform: uppercase; line-height: 1.2; }
.nbb-hero__sub { margin: 0; font-weight: 900; text-transform: uppercase; }
.nbb-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.nbb-step { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(15, 23, 42, .35); border: 1px solid rgba(255, 255, 255, .16); }
.nbb-step__n { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; color: #c4b5fd; }
.nbb-step__n .ic { width: 16px; height: 16px; stroke: #4ade80; stroke-width: 3; }
.nbb-step__pct { font-size: 1.45rem; font-weight: 900; }
.nbb-step__chips { font-size: .78rem; font-weight: 700; color: #e9d5ff; }
.nbb-step__lbl { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: #c4b5fd; }
.nbb-step.is-next { background: #fde047; color: #111827; border-color: #fde047; box-shadow: 0 8px 24px rgba(253, 224, 71, .25); }
.nbb-step.is-next .nbb-step__n, .nbb-step.is-next .nbb-step__chips, .nbb-step.is-next .nbb-step__lbl { color: #3f3f46; }
.nbb-step.is-done { opacity: .6; }
.nbb-hero__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.nbb-hero__foot .nb-linkbtn { color: #fff; }
.nbb-done { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #bbf7d0; }
.nbb-done .ic { stroke-width: 3; }
.nbb-hero .nbb-fine { grid-column: 1 / -1; color: #ddd6fe; }
.nbb-fine { margin: 0; font-size: .74rem; line-height: 1.45; color: var(--nb-muted); }
.nbb-fine a { color: #c4b5fd; }

.nbb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.nbb-stat {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px;
  border-radius: 14px; background: var(--nbw-card); border: 1px solid var(--nbw-border); color: var(--nb-text); text-align: left; font: inherit;
}
button.nbb-stat { cursor: pointer; }
button.nbb-stat:hover { border-color: var(--nb-purple); }
.nbb-stat .ic { grid-row: span 2; width: 28px; height: 28px; color: #c4b5fd; }
.nbb-stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--nb-muted); }
.nbb-stat b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }

.nbb-h { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 1.25rem; font-weight: 800; }
.nbb-h .ic { color: #facc15; }
.nbb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.nbb-card {
  position: relative; overflow: hidden; display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 290px; padding: 16px 14px 18px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .1); color: #fff; font: inherit; text-align: center; cursor: pointer;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .16), transparent 55%), linear-gradient(170deg, #3b1a6b, #1a1240);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nbb-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .45); }
.nbb-card--wheel { background: radial-gradient(circle at 50% 42%, rgba(244, 114, 182, .35), transparent 55%), linear-gradient(170deg, #5b1650, #1d123d); }
.nbb-card--checkin { background: radial-gradient(circle at 50% 42%, rgba(251, 146, 60, .35), transparent 55%), linear-gradient(170deg, #5c2310, #1d143a); }
.nbb-card--mega { background: radial-gradient(circle at 50% 42%, rgba(251, 191, 36, .35), transparent 55%), linear-gradient(170deg, #4d3008, #1c1532); }
.nbb-card--milestones { background: radial-gradient(circle at 50% 42%, rgba(250, 204, 21, .28), transparent 55%), linear-gradient(170deg, #26306b, #141838); }
.nbb-card--birthday { background: radial-gradient(circle at 50% 42%, rgba(236, 72, 153, .3), transparent 55%), linear-gradient(170deg, #4a2a0c, #1d1534); }
.nbb-card--highroller { background: radial-gradient(circle at 50% 42%, rgba(129, 140, 248, .35), transparent 55%), linear-gradient(170deg, #2f1f6e, #13163a); }
.nbb-card--crypto { background: radial-gradient(circle at 50% 42%, rgba(45, 212, 191, .3), transparent 55%), linear-gradient(170deg, #0f4648, #12203a); }
.nbb-card--quest { background: radial-gradient(circle at 50% 42%, rgba(74, 222, 128, .28), transparent 55%), linear-gradient(170deg, #134a2c, #12203a); }
.nbb-card__tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.nbb-card__badge { margin-top: -2px; padding: 3px 9px; border-radius: 999px; background: #22c55e; color: #052e16; font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.nbb-card .nbb-art { width: 118px; margin: 4px 0; transition: transform .25s ease; }
.nbb-card:hover .nbb-art { transform: scale(1.05) rotate(-3deg); }
.nbb-card__title { font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.nbb-card__status { font-size: .78rem; font-weight: 700; color: #fde68a; }
.nbb-card__more { margin-top: auto; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .7); }

.nbb-history { display: grid; gap: 10px; }
.nbb-history ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nbb-history li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--nbw-card); border: 1px solid var(--nbw-border); }
.nbb-history li > div { display: grid; }
.nbb-history li > div span { font-size: .74rem; color: var(--nb-muted); }
.nbb-history__r { font-weight: 800; color: #fde68a; text-align: right; }
.nbb-history li.is-new { border-color: rgba(34, 197, 94, .6); }
.nbb-new { padding: 2px 8px; border-radius: 999px; background: #22c55e; color: #052e16; font-size: .66rem; font-weight: 900; text-transform: uppercase; }

.nbb-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--nb-line); background: var(--nb-bg-2); color: var(--nb-text); font: inherit; font-weight: 700; cursor: pointer; }
.nbb-back .ic { width: 20px; height: 20px; }
.nbb-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 22px; border-radius: 20px; background: var(--nbw-card); border: 1px solid var(--nbw-border); }
.nbb-detail h4 { margin: 8px 0 0; font-size: 1rem; }
.nbb-detail p { margin: 0; line-height: 1.55; color: #d5daf0; }
.nbb-detail__head { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
.nbb-detail__head h3 { margin: 4px 0; font-size: 1.5rem; }
.nbb-detail__head .nbb-art { width: 110px; }
.nbb-detail__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.nbb-how { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: how; }
.nbb-how li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 54px; border-radius: 14px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); counter-increment: how; }
.nbb-how li::before {
  content: counter(how, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-weight: 900; font-size: 1.05rem;
  background: linear-gradient(90deg, #67e8f9, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nbb-how span { color: var(--nb-muted); font-size: .9rem; }
.nbb-rewards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.nbb-rewards li { padding: 8px 12px; border-radius: 10px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); font-size: .88rem; }
.nbb-rules { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nbb-rules th, .nbb-rules td { padding: 10px 12px; border-bottom: 1px solid var(--nbw-border); text-align: left; vertical-align: top; }
.nbb-rules th { width: 34%; color: var(--nb-muted); font-weight: 700; }
.nbb-miles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.nbb-miles li { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); }
.nbb-miles li span { font-size: .82rem; color: var(--nb-muted); }
.nbb-miles li .ic { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; stroke: #4ade80; stroke-width: 3; }
.nbb-miles li.is-done { border-color: rgba(34, 197, 94, .55); }
.nbb-miles li.is-next { border-color: #fde047; }
.nbb-bday { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); }
.nbb-bday select { min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--nb-line); background: var(--nb-bg-2); color: var(--nb-text); font: inherit; color-scheme: dark; }
.nbb-warn { color: #fcd34d !important; }
.nbb-quest { display: grid; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.nbb-quest li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); }
.nbb-quest li > div { display: grid; gap: 3px; }
.nbb-quest li > div span, .nbb-quest small { color: var(--nb-muted); font-size: .84rem; }
.nbb-quest__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--nb-bg-2); border: 1px solid var(--nb-line); font-weight: 900; }
.nbb-quest__n .ic { width: 18px; height: 18px; }
.nbb-quest li.is-done .nbb-quest__n { background: #14532d; border-color: #22c55e; }
.nbb-quest li.is-done .nbb-quest__n .ic { stroke: #4ade80; stroke-width: 3; }
.nbb-quest li.is-current { border-color: #a78bfa; box-shadow: 0 0 0 1px #a78bfa inset; }
.nbb-quest li.is-current .nbb-quest__n { background: linear-gradient(135deg, #22d3ee, #8b5cf6); border: 0; }
.nbb-quest li.is-locked { opacity: .6; }
.nbb-quest .nb-btn { min-height: 38px; padding: 0 16px; }
.nbb-bar { display: block; height: 7px; border-radius: 99px; background: var(--nb-bg-2); overflow: hidden; }
.nbb-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #a855f7); }

/* ============================================================ codzienny bonus */
.nb-modal--checkin { width: min(720px, calc(100vw - 24px)); }
.nbc-lead { margin: 0; font-weight: 700; }
.nbc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nbc-day { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; text-align: center; background: var(--nbw-card); border: 1px solid var(--nbw-border); }
.nbc-day__n { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--nb-muted); }
.nbc-day__r { min-height: 2.6em; font-size: .78rem; font-weight: 800; line-height: 1.3; }
.nbc-day__s .ic { width: 20px; height: 20px; color: var(--nb-muted); }
.nbc-day.is-done { border-color: rgba(34, 197, 94, .55); background: linear-gradient(180deg, rgba(34, 197, 94, .14), var(--nbw-card)); }
.nbc-day.is-done .nbc-day__s .ic { color: #4ade80; stroke-width: 3; }
.nbc-day.is-today { border-color: #fde047; box-shadow: 0 0 0 1px #fde047 inset, 0 10px 26px rgba(253, 224, 71, .18); }
.nbc-day.is-today .nbc-day__s .ic { color: #fde047; fill: #fde047; }
.nbc-day.is-big { background: linear-gradient(180deg, rgba(251, 191, 36, .2), var(--nbw-card)); }
.nbc-challenge { display: grid; justify-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--nbw-card); border: 1px solid var(--nbw-border); }
.nbc-challenge p { margin: 0; font-weight: 800; }
.nbc-tap {
  display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; cursor: pointer; color: #fff; font: inherit;
  font-size: 2.4rem; font-weight: 900; background: radial-gradient(circle at 40% 35%, #f0abfc, #7c3aed 70%); box-shadow: 0 0 0 6px rgba(124, 58, 237, .35), 0 14px 30px rgba(0, 0, 0, .45);
  touch-action: manipulation; user-select: none;
}
.nbc-tap:disabled { cursor: default; filter: grayscale(.3) brightness(.9); }
.nbc-tap.is-hit { animation: nbc-hit .18s ease-out; }
@keyframes nbc-hit { 50% { transform: scale(.9); } }
.nbc-captcha:empty { display: none; }

/* ============================================================ responsywność (nowe elementy) */
@media (max-width: 900px) {
  .nb-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nbb-hero { grid-template-columns: 1fr; padding: 18px; }
  .nbb-hero__art { grid-row: auto; width: 90px; }
  .nbc-days { grid-template-columns: repeat(4, 1fr); }
  .nbb-detail { padding: 16px; }
  .nbb-detail__head { grid-template-columns: 80px 1fr; }
  .nbb-detail__head .nbb-art { width: 80px; }
  .nbb-history li { grid-template-columns: 1fr; }
  .nbb-history__r { text-align: left; }
  .nbb-quest li { grid-template-columns: 36px 1fr; }
  .nbb-quest li .nb-btn { grid-column: 1 / -1; }
  .nb-hero__steps li { min-width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .nb-delta, .nb-bal.is-flash-up, .nb-bal.is-flash-down, .nbc-tap.is-hit, .nbb-card, .nbb-card .nbb-art { animation: none; transition: none; }
}

/* ---------- bezpieczeństwo konta (v3.3): 2FA, klucze dostępu, telefon, potwierdzenie wypłaty ---------- */
.nb-or { display: flex; align-items: center; gap: 10px; color: var(--nb-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.nb-or::before, .nb-or::after { content: ""; flex: 1; height: 1px; background: var(--nbw-border); }
.nb-otp { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; font-size: 1.1rem !important; }
.nb-phone { display: grid; gap: 10px; }
.nb-seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--nbw-border); }
.nb-seg button { flex: 1 1 auto; min-height: 40px; padding: 6px 12px; border: 0; border-radius: 9px; background: transparent; color: #c7cdf0; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.nb-seg button[aria-checked="true"] { background: var(--nb-grad); color: #fff; }
.nb-seg button:focus-visible { outline: 2px solid var(--nb-cyan); outline-offset: 2px; }
.nb-modal--verify { width: min(440px, calc(100vw - 24px)); }
.nb-modal--verify .nb-modal__body { display: grid; gap: 14px; }
.nb-modal--verify .nb-modal__body > p { margin: 0; }
.nb-sec { gap: 14px; }
.nb-sec__block { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--nbw-border); }
.nb-sec__block h4 { margin: 0; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nb-sec__block details summary { cursor: pointer; color: var(--nb-cyan); font-weight: 700; font-size: .875rem; padding: 4px 0; }
.nb-sec__block details[open] summary { margin-bottom: 8px; }
.nb-sec__block > .nb-btn { justify-self: start; }
.nb-pill-ok { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: rgba(34, 197, 94, .15); color: #4ade80; border: 1px solid rgba(34, 197, 94, .4); }
.nb-sec__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nb-sec__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--nbw-border); }
.nb-sec__ask { display: grid; gap: 6px; }
/* v7.7: logowanie przez Google / Facebook (same napisy, bez logotypów) i konto bez hasła */
.nb-btn.nb-social { white-space: normal; text-align: center; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; }
.nb-setpw { display: grid; gap: 8px; justify-items: start; }
.nb-setpw .nb-btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; padding-top: 8px; padding-bottom: 8px; }
.nb-sec__nopw { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 196, 0, .35); background: rgba(255, 196, 0, .07); }
.nb-sec__setup { display: grid; gap: 12px; }
.nb-sec__setup ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.nb-sec__qr { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.nb-qr { width: 196px; height: 196px; border-radius: 10px; background: #fff; flex: none; }
.nb-sec__secret { display: inline-block; margin-top: 4px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); word-break: break-all; }
.nb-sec__codes-wrap { display: grid; gap: 10px; }
.nb-sec__codes-wrap p { margin: 0; }
.nb-sec__codes { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px dashed var(--nbw-border); font-size: .95rem; }
.nb-sec__codes-wrap > .nb-btn { justify-self: start; }
@media (max-width: 520px) { .nb-qr { width: 100%; height: auto; max-width: 240px; } }

/* ---- program poleceń (v4.8) ---- */
.nbb-ref { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 6px 0 14px; min-width: 0; }
.nbb-ref__row { display: flex; gap: 8px; align-items: stretch; }
.nbb-ref__link { flex: 1 1 0; width: 0; min-width: 0; text-overflow: ellipsis; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--nbw-border); background: var(--nbw-card-2); color: inherit; font: inherit; font-size: .9rem; }
.nbb-ref__stats, .nbb-ref__me { margin: 0; font-size: .86rem; opacity: .85; }
.nbb-ref__me { padding: 10px 12px; border-radius: 10px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); opacity: 1; }
.nbb-ref__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nbb-ref__list li { display: flex; justify-content: space-between; gap: 10px; min-width: 0; padding: 8px 12px; border-radius: 10px; background: var(--nbw-card-2); border: 1px solid var(--nbw-border); font-size: .88rem; }
.nbb-ref__list li span { min-width: 0; overflow-wrap: anywhere; }
.nbb-ref__list b { font-weight: 700; text-align: right; flex: 0 0 auto; }
.nbb-ref__row .nb-btn, .nbb-ref__row button { flex: 0 0 auto; }
.nbb-ref__list b.is-rewarded { color: #4ade80; }
.nbb-ref__list b.is-rejected, .nbb-ref__list b.is-expired { opacity: .6; }
.nb-refnote { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(250, 204, 21, .12); border: 1px solid rgba(250, 204, 21, .35); font-size: .88rem; }

/* Moje konto: weryfikacja tożsamości (KYC) — dokumenty e-mailem */
.nb-kyc { display: grid; gap: 10px; margin-top: 10px; }
.nb-kyc > .nb-btn { justify-self: start; max-width: 100%; white-space: normal; text-align: center; }
.nb-kyc-info { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--nb-line, #26305c); }
.nb-kyc-info p { margin: 0; }
.nb-kyc-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.nb-kyc-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.nb-kyc-mail > .nb-small:first-child { flex-basis: 100%; }
.nb-kyc-mail__addr { font-size: 1.05rem; font-weight: 700; word-break: break-all; }
.nb-kyc-copy { padding: 6px 14px; min-height: 0; }
.nb-kyc-step { font-weight: 600; }
.nb-kyc-ids { padding: 10px 12px; border-radius: 12px; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .35); }
.nb-kyc-ids dd { word-break: break-all; }
.nb-kyc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-kyc-actions .nb-btn { max-width: 100%; white-space: normal; text-align: center; }
.nb-kyc-actions a.nb-btn { color: #fff; text-decoration: none; }
/* v6.7: automatyczna weryfikacja Didit */
.nb-kyc-auto { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(34, 211, 238, .06)); border: 1px solid rgba(168, 85, 247, .4); }
.nb-kyc-auto p { margin: 0; }
.nb-kyc-auto [hidden] { display: none !important; }
.nb-kyc-auto > .nb-btn { justify-self: start; max-width: 100%; white-space: normal; text-align: center; }
.nb-kyc-auto > .nb-btn:disabled { opacity: .55; cursor: not-allowed; }
.nb-kyc-consent { font-size: .84rem; }
.nb-kyc-alt { justify-self: start; }

/* v5.5: wybór języka w nagłówku (obok pola z żetonami) */
.nb-lang { position: relative; display: inline-flex; align-items: center; }
.nb-lang select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 26px 0 12px; border-radius: 12px; cursor: pointer;
  background: var(--nb-bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2398a2c8' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 9px center;
  border: 1px solid var(--nb-line); color: var(--nb-text); font: inherit; font-weight: 800; font-size: .85rem;
}
.nb-lang select:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.nb-lang option { background: #0f1530; color: #fff; }
@media (max-width: 420px) { .nb-lang select { padding: 0 20px 0 8px; background-position: right 6px center; font-size: .78rem; } }

/* v5.5: tłumaczenie strony (js/lang.js): ukrycie do pierwszego tłumaczenia i informacja na podstronach tylko po polsku */
.nb-i18n-wait body { visibility: hidden; }
.nb-i18n-note { margin: 10px auto; max-width: 960px; padding: 8px 12px; border-radius: 10px; font-size: .85rem; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); color: #e6f9ff; }

/* v5.7: linia licencji w stopce (dane z .env wstawia serwer; bez danych akapit jest pusty i znika) */
.nb-footer .nb-lic:empty { display: none; }
.nb-footer .nb-lic { margin-top: 4px; }
.nb-footer .nb-brandline { max-width: 680px; margin: 0 0 6px; line-height: 1.5; }

/* ============================================================ v6.2: Program VIP */
.nbv-strip { display: flex; align-items: center; gap: 14px; width: 100%; margin: 4px 0 14px; padding: 14px 16px; text-align: left; color: inherit; font: inherit; cursor: pointer;
  border-radius: 18px; border: 1px solid rgba(168, 85, 247, .45); background: linear-gradient(120deg, rgba(34, 211, 238, .14), rgba(168, 85, 247, .18) 55%, rgba(236, 72, 153, .14)); }
.nbv-strip:hover, .nbv-strip:focus-visible { border-color: #a855f7; }
.nbv-strip.has-bonus { box-shadow: 0 0 0 2px rgba(34, 197, 94, .5); }
.nbv-strip__art { width: 64px; flex: 0 0 64px; }
.nbv-strip__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.nbv-strip__txt b { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nbv-strip__txt > span:last-child { color: var(--nb-muted, #9aa4bf); font-size: .88rem; }
.nbv-badge { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 900; letter-spacing: .3px;
  color: #0b0f1a; background: var(--rk, #7df9ff); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; white-space: nowrap; }
.nbv-badge.is-big { font-size: .95rem; padding: 5px 14px; }
.nbv-hero { display: flex; gap: 16px; align-items: center; margin: 6px 0 14px; }
.nbv-hero__art { width: 92px; flex: 0 0 92px; }
.nbv-hero h3 { margin: 2px 0 6px; }
.nbv-bonus { margin: 6px 0 16px; padding: 18px; border-radius: 18px; text-align: center; border: 1px solid rgba(34, 197, 94, .5);
  background: radial-gradient(120% 140% at 50% 0%, rgba(34, 197, 94, .18), rgba(15, 23, 42, .2)); }
.nbv-bonus__amt { display: block; margin: 6px 0; font-size: 2rem; font-weight: 900; color: #7df9ff; line-height: 1.1; }
.nbv-bonus .nb-btn { margin-top: 8px; }
.nbv-prog { margin: 10px 0; }
.nbv-prog__row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: .9rem; }
.nbv-prog .nbb-bar { height: 10px; }
.nbv-lock { padding: 14px 16px; border-radius: 16px; background: var(--nb-bg-2, #151b2e); }
.nbv-req { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.nbv-req li { display: flex; align-items: center; gap: 8px; color: var(--nb-muted, #9aa4bf); }
.nbv-req li.is-done { color: #86efac; }
.nbv-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nbv-ranks { width: 100%; font-size: .88rem; }
.nbv-ranks th, .nbv-ranks td { padding: 9px 6px; vertical-align: top; }
.nbv-cb { display: block; margin-top: 5px; color: #86efac; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.nbv-ranks tr.is-mine, .nbv-link tr.is-mine { background: rgba(125, 249, 255, .08); }
.nbv-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nbv-hist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: var(--nb-bg-2, #151b2e); }
.nbv-hist li span { grid-column: 1; color: #86efac; font-size: .88rem; }
.nbv-hist li time { grid-row: 1; grid-column: 2; color: var(--nb-muted, #9aa4bf); font-size: .8rem; }
.nbv-link .nbv-bonus__amt { text-align: center; margin: 14px 0; }
@media (max-width: 480px) { .nbv-hero__art { width: 70px; flex-basis: 70px; } .nbv-strip__art { width: 52px; flex-basis: 52px; } }
/* v6.3: zgoda na maile w Programie VIP i przy rejestracji */
.nbv-optin { margin: 6px 0 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(125, 249, 255, .45); background: rgba(125, 249, 255, .06); }
.nbv-optin .nb-formmsg { margin: 8px 0 0; }
.nb-check--mkt { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(168, 85, 247, .45); background: rgba(168, 85, 247, .08); }
.nb-check--mkt b { color: #e9d5ff; }
/* v6.4: ranga w Moje konto — plakietka i postęp do następnej rangi */
.nbv-acc { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.nbv-acc .nbv-badge { font-size: .85rem; }
.nbv-badge.is-none { --rk: #334155; color: #e2e8f0; }
.nbv-accprog { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 240px; }
.nbv-accprog .nbb-bar { height: 7px; }
.nbv-accprog small, .nbv-acctop { color: var(--nb-muted, #9aa4bf); font-size: .8rem; }

/* ===================================================== v6.5: telefony (360–480 px) */
/* Nic nie może poszerzyć strony w bok (na Androidzie poszerzało to też dolną belkę). clip nie psuje przyklejonego nagłówka. */
html, body { overflow-x: clip; }
@media (max-width: 480px) {
  /* Odkryj NexaBet: 4 kolumny mieszczą się od 320 px */
  .nb-discover { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; row-gap: 16px; }
  .nb-disc { min-width: 0; padding: 4px 0; gap: 8px; }
  .nb-disc__ring { width: 62px; height: 62px; }
  .nb-disc__ring .ic { width: 28px; height: 28px; }
  .nb-disc__label { font-size: .8rem; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
  /* Nagłówek zalogowanego gracza: znak N + przyciski w JEDNYM rzędzie, salda pod spodem (zamiast 3 rzędów) */
  .nb-header:has(.nb-balances:not([hidden])) .nb-logo__text { display: none; }
  .nb-header__right { gap: 6px; }
  .nb-iconbtn { width: 40px; height: 40px; }
  .nb-chips { min-height: 40px; padding: 0 10px; gap: 6px; }
  /* Karty promocji: grafika nie zasłania tekstu („50 co 24h”) */
  .nb-promo__big { font-size: 1.65rem; }
  .nb-promo__art { width: 92px; bottom: 78px; opacity: .9; }
}
.nb-promo__title, .nb-promo__big, .nb-promo__sub, .nb-promo__fine { position: relative; z-index: 1; }

/* ---------- v7.8: menu gracza w nagłówku i zakładki „Moje konto” ---------- */
.nb-usermenu { position: relative; display: inline-flex; }
.nb-usermenu__pop {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(264px, calc(100vw - 24px)); padding: 8px;
  border-radius: 16px; background: #0c1330; border: 1px solid rgba(34, 211, 238, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  display: grid; gap: 2px; max-height: calc(100vh - var(--nb-header-h) - 24px); overflow: auto;
}
.nb-usermenu__who { display: grid; gap: 2px; padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--nb-line); min-width: 0; }
.nb-usermenu__who strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-usermenu__who span { font-size: .75rem; color: var(--nb-muted); }
.nb-usermenu__pop [role="menuitem"] {
  appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--nb-text); font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.nb-usermenu__pop [role="menuitem"]:hover, .nb-usermenu__pop [role="menuitem"]:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.nb-usermenu__pop [role="menuitem"] .ic { width: 20px; height: 20px; flex: none; color: var(--nb-cyan); }
.nb-usermenu__dot, .nb-acctabs__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nb-gold); flex: none; }
.nb-usermenu__dot { margin-left: auto; }
.nb-usermenu__sep { height: 1px; margin: 4px 0; background: var(--nb-line); }

.nb-modal--account .nb-modal__body { padding-top: 0; }
.nb-acctabs {
  position: sticky; top: 0; z-index: 2; display: flex; gap: 6px; margin: 0 -20px 16px; padding: 12px 20px;
  overflow-x: auto; scrollbar-width: none; background: var(--nb-panel); border-bottom: 1px solid var(--nb-line);
}
.nb-acctabs::-webkit-scrollbar { display: none; }
.nb-acctabs [role="tab"] {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  cursor: pointer; font: inherit; font-weight: 800; font-size: .85rem; color: var(--nb-text); white-space: nowrap;
  background: var(--nb-bg-2); border: 1px solid var(--nb-line);
}
.nb-acctabs [role="tab"] .ic { width: 16px; height: 16px; color: var(--nb-cyan); }
.nb-acctabs [aria-selected="true"] { background: var(--nb-grad); border-color: transparent; }
.nb-acctabs [aria-selected="true"] .ic { color: #fff; }
.nb-accpanel { display: grid; gap: 16px; }
.nb-accpanel > .nb-acc { margin: 0; }
.nb-acc-logout { margin-top: 18px; }
.nb-namegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nb-namehint { margin-top: -6px; }
.nb-namebox { display: grid; gap: 10px; }
.nb-namebox .nb-inline-form { flex-wrap: wrap; }
.nb-warn { color: var(--nb-gold); }

/* ---------- v8.0: dzwoneczek z powiadomieniami ---------- */
.nb-notif { position: relative; display: inline-flex; }
.nb-bell { position: relative; }
.nb-bell__ic { width: 26px; height: 26px; transform-origin: 50% 12%; filter: drop-shadow(0 2px 4px rgba(247, 183, 51, .35)); }
.nb-bell__badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: inline-grid; place-items: center; font: 800 11px/1 Inter, Arial, sans-serif; color: #fff;
  background: linear-gradient(135deg, #ff4d6a, #e11d48); border: 2px solid var(--nb-bg); box-shadow: 0 0 0 0 rgba(255, 77, 106, .6);
}
.nb-bell__badge[hidden] { display: none; }
.nb-bell.is-ringing .nb-bell__ic { animation: nbBellRing 1.1s cubic-bezier(.36, .07, .19, .97) 2; }
.nb-bell.is-ringing .nb-bell__badge { animation: nbBadgePulse 1.1s ease-out 2; }
.nb-bell__badge.is-pop { animation: nbBadgePop .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes nbBellRing {
  0%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 22% { transform: rotate(-14deg); } 34% { transform: rotate(11deg); }
  46% { transform: rotate(-8deg); } 58% { transform: rotate(5deg); } 70% { transform: rotate(-3deg); } 82% { transform: rotate(1deg); }
}
@keyframes nbBadgePop { 0% { transform: scale(.3); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes nbBadgePulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 106, .65); } 100% { box-shadow: 0 0 0 12px rgba(255, 77, 106, 0); } }
.nb-notif__pop {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 61; width: min(400px, calc(100vw - 24px));
  display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 88px));
  border-radius: 18px; background: #0c1330; border: 1px solid rgba(247, 183, 51, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); overflow: hidden;
}
.nb-notif__pop[hidden] { display: none; }
.nb-notif__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px 18px; }
.nb-notif__head h2 { margin: 0; font-size: 1.05rem; flex: 1 1 auto; }
.nb-notif__head .nb-linkbtn { font-size: .78rem; }
.nb-notif__close { display: none; appearance: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--nb-line); background: var(--nb-bg-2); color: var(--nb-text); cursor: pointer; place-items: center; }
.nb-notif__close .ic { width: 18px; height: 18px; }
.nb-notif__tabs { display: flex; gap: 6px; padding: 0 14px 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--nb-line); }
.nb-notif__tabs::-webkit-scrollbar { display: none; }
.nb-notif__tabs [role="tab"] {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: .8rem; color: var(--nb-text); background: var(--nb-bg-2); border: 1px solid var(--nb-line); white-space: nowrap;
}
.nb-notif__tabs [aria-selected="true"] { background: var(--nb-grad); border-color: transparent; }
.nb-notif__cnt { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff4d6a; color: #fff; font-size: .7rem; display: inline-grid; place-items: center; }
.nb-notif__cnt[hidden] { display: none; }
.nb-notif__list { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; }
.nb-notif__head, .nb-notif__tabs, .nb-notif__more, .nb-notif__mail { flex: none; }   /* lista się zwija, nagłówek i zakładki nie */
.nb-ntfs { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; }
.nb-ntf {
  appearance: none; width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: start; text-align: left;
  padding: 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--nb-text); font: inherit; cursor: pointer;
}
.nb-ntf:hover, .nb-ntf:focus-visible { background: rgba(255, 255, 255, .06); outline: none; }
.nb-ntf.is-new { background: rgba(34, 211, 238, .07); border-color: rgba(34, 211, 238, .22); animation: nbNtfIn .35s ease-out; }
@keyframes nbNtfIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nb-ntf__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 229, 255, .12); color: var(--nb-cyan); }
.nb-ntf__ic .ic { width: 20px; height: 20px; }
.nb-ntf--ok .nb-ntf__ic { background: rgba(34, 197, 94, .14); color: #4ade80; }
.nb-ntf--err .nb-ntf__ic { background: rgba(255, 77, 106, .14); color: #ff6b85; }
.nb-ntf--warn .nb-ntf__ic { background: rgba(255, 176, 32, .14); color: #ffc04d; }
.nb-ntf__txt { display: grid; gap: 3px; min-width: 0; }
.nb-ntf__txt strong { font-size: .92rem; }
.nb-ntf__txt span { font-size: .85rem; line-height: 1.45; color: #c9cfe3; overflow-wrap: anywhere; }
.nb-ntf__txt time { font-size: .72rem; color: var(--nb-muted); }
.nb-ntf__dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #ff4d6a; box-shadow: 0 0 0 3px rgba(255, 77, 106, .2); }
.nb-notif__empty { display: grid; justify-items: center; gap: 6px; padding: 28px 22px; text-align: center; color: var(--nb-muted); }
.nb-notif__empty p { margin: 0; }
.nb-notif__emptyic { width: 56px; height: 56px; opacity: .9; }
.nb-notif__more { margin: 4px auto 8px; }
.nb-notif__mail { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--nb-line); font-size: .82rem; color: #c9cfe3; cursor: pointer; }
.nb-notif__mail input { width: 18px; height: 18px; accent-color: var(--nb-cyan); }
@media (max-width: 560px) {
  .nb-notif { position: static; }
  /* nagłówek ma backdrop-filter, więc „fixed” liczy się od nagłówka: lista tuż pod nim, na całą szerokość */
  .nb-notif__pop { position: fixed; left: 8px; right: 8px; width: auto; top: calc(100% + 6px); max-height: min(78vh, 640px); max-height: min(78dvh, 640px); }
  .nb-notif__close { display: inline-grid; }
  .nb-notif__head .nb-linkbtn { font-size: .74rem; }
}
@media (max-width: 480px) { .nb-bell__ic { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .nb-bell.is-ringing .nb-bell__ic, .nb-bell.is-ringing .nb-bell__badge, .nb-bell__badge.is-pop, .nb-ntf.is-new { animation: none; }
}
/* v8.0: z dzwoneczkiem w nagłówku jest 5 przycisków — na wąskich telefonach mniejsze, żeby zostały w jednym rzędzie */
@media (max-width: 400px) {
  .nb-header__right { gap: 4px; }
  .nb-iconbtn { width: 36px; height: 36px; border-radius: 10px; }
  .nb-chips { min-height: 36px; padding: 0 8px; gap: 5px; border-radius: 10px; }
  .nb-chips__icon { width: 18px; height: 18px; }
  .nb-bell__ic { width: 22px; height: 22px; }
  .nb-bell__badge { top: -5px; right: -5px; min-width: 18px; height: 18px; font-size: 10px; }
  .nb-lang select { min-height: 36px; height: 36px; border-radius: 10px; }
}

/* ---------- v8.1: ogłoszenia w dzwoneczku, push, przypomnienie o czasie gry ---------- */
.nb-ntf__go { font-style: normal; font-weight: 800; font-size: .8rem; color: var(--nb-cyan); }
.nb-notif__push { border-top: 0; padding-top: 0; align-items: flex-start; }
.nb-notif__pushtxt { display: grid; gap: 4px; }
.nb-notif__hint { color: var(--nb-muted); font-size: .74rem; line-height: 1.4; }
.nb-notif__hint[hidden] { display: none; }
.nb-modal--reality { max-width: 460px; }
.nb-rc__time { font-size: 1.15rem; font-weight: 800; margin: 0 0 10px; }
.nb-rc__list { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 6px; }
.nb-rc__list li { padding: 10px 12px; border-radius: 12px; background: var(--nb-bg-2); border: 1px solid var(--nb-line); font-size: .88rem; line-height: 1.5; }
.nb-rc__lbl { color: var(--nb-muted); }
.nb-rc__neg { color: #ff6b85; }
.nb-rc__pos { color: #4ade80; }
.nb-rc__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.nb-rc__btns .nb-btn { flex: 1 1 140px; }
