:root {
  --bg: #060b13;
  --bg-soft: #0e1828;
  --panel: #121f33;
  --line: #243a5b;
  --text: #e8f0ff;
  --muted: #96accd;
  --accent: #2ec5ff;
  --accent-2: #8cff77;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(46, 197, 255, 0.2), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(140, 255, 119, 0.15), transparent 30%),
    linear-gradient(180deg, #060b13 0%, #0a1524 60%, #0b1019 100%);
  font-family: 'Exo 2', system-ui, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #8fe8ff; }

.shell {
  width: min(1380px, 93vw);
  margin: 0 auto;
}

.shell-wide {
  width: min(1800px, 98vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36, 58, 91, 0.8);
  background: rgba(5, 10, 17, 0.82);
}

.info-strip {
  border-bottom: 1px solid rgba(36, 58, 91, 0.7);
  background: rgba(4, 10, 19, 0.93);
}

.info-strip-inner {
  min-height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b4c8e9;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-strip-text {
  line-height: 1.35;
}

.info-strip-text strong,
.info-strip-text b {
  font-weight: 900;
}

.info-strip-text em,
.info-strip-text i {
  font-style: italic;
}

.info-strip-text s,
.info-strip-text del,
.info-strip-text strike {
  text-decoration: line-through;
}

.info-strip-text a {
  color: #7dd3ff;
  text-decoration: underline;
}

.info-strip-inner a {
  color: #ff4756;
  font-weight: 700;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.45rem;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.actions {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.auth-inline-form {
  margin: 0;
}

.launcher-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(140, 255, 119, 0.45);
  background: rgba(11, 35, 24, 0.85);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.launcher-user-name {
  color: #d7ffe2;
  font-weight: 700;
}

.launcher-user-id {
  color: #8fd6a0;
  font-size: 0.86rem;
}

.discord-link-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, 96vw);
  border: 1px solid rgba(69, 99, 140, 0.85);
  background: rgba(8, 15, 27, 0.985);
  padding: 12px;
  z-index: 55;
}

.discord-link-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #d9e7ff;
}

.discord-link-hint {
  margin: 6px 0 12px;
  color: #9db5d9;
  font-size: 0.9rem;
  line-height: 1.4;
}

.discord-link-form {
  display: grid;
  gap: 10px;
}

.discord-link-form label {
  display: grid;
  gap: 4px;
  color: #9db5d9;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.discord-link-form input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0d1c31;
  color: var(--text);
  padding: 10px;
}

.discord-link-retry {
  text-align: center;
}

.auth-feedback {
  border-bottom: 1px solid rgba(36, 58, 91, 0.8);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 8px 0;
}

.auth-feedback.is-error {
  background: rgba(93, 21, 21, 0.65);
  color: #ffd1d1;
}

.auth-feedback.is-success {
  background: rgba(18, 77, 36, 0.56);
  color: #d6ffdf;
}

.locale-switcher {
  position: relative;
}

.locale-trigger,
.locale-option {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #112038;
  color: var(--text);
  min-height: 42px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.locale-trigger {
  cursor: pointer;
}

.locale-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-consent-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 11, 19, 0.95);
}

.cookie-consent-panel {
  width: min(640px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 26, 45, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: 28px 28px 22px;
}

.cookie-consent-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-consent-text {
  margin: 0 0 20px;
  color: #c6d3e8;
  line-height: 1.65;
  font-size: 0.98rem;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.cookie-consent-actions .btn {
  min-width: 170px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.cookie-consent-actions .btn#cookie-consent-accept {
  background: linear-gradient(90deg, #1696ce, #30d6ff);
  color: #04101e;
  box-shadow: 0 4px 18px rgba(22, 150, 206, 0.35);
}

.cookie-consent-actions .btn#cookie-consent-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(48, 214, 255, 0.45);
}

.cookie-consent-actions .btn#cookie-consent-accept:active {
  transform: translateY(0);
}

.cookie-consent-actions .btn#cookie-consent-reject {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: #dbe4f2;
}

.cookie-consent-actions .btn#cookie-consent-reject:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.cookie-consent-actions .btn:focus-visible {
  outline: 2px solid #30d6ff;
  outline-offset: 2px;
}

/* Mobile: stack buttons full-width so they never overflow the card */
@media (max-width: 560px) {
  .cookie-consent-banner {
    padding: 16px;
    align-items: flex-end;
  }

  .cookie-consent-panel {
    width: 100%;
    padding: 22px 18px 18px;
    max-height: 88vh;
    overflow-y: auto;
  }

  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

.cookie-consent-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.cookie-consent-panel a {
  color: var(--accent);
}

.locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  display: none;
  background: rgba(8, 15, 27, 0.98);
  border: 1px solid rgba(69, 99, 140, 0.7);
  z-index: 45;
  padding: 6px;
}

.locale-menu.open {
  display: grid;
  gap: 5px;
}

.locale-option {
  width: 100%;
  justify-content: flex-start;
  cursor: pointer;
}

.locale-option:hover,
.locale-option[aria-current="true"] {
  border-color: #2ec5ff;
  background: #163152;
}

select, .btn {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #112038;
  color: var(--text);
  padding: 10px 14px;
}

.admin-field {
  display: block;
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #112038;
  color: var(--text);
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.25;
}

.admin-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(46, 197, 255, 0.15);
  outline: none;
}

.admin-field::placeholder {
  color: var(--muted);
}

select.admin-field option {
  background: #112038;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
  background: linear-gradient(90deg, #1696ce, #30d6ff);
  color: #04101e;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
}

.btn.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
}

.cookie-consent-link {
  margin: 0 0 16px;
  color: #a8b8d6;
}

.cookie-consent-link a {
  color: var(--accent);
  text-decoration: underline;
}

.btn-placeholder {
  opacity: 0.75;
  cursor: not-allowed;
}

.content-shell {
  padding: 40px 0;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(9, 17, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 32px;
}

.legal-page h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
}

.legal-page h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-page p {
  margin: 0 0 16px;
  color: #c8d5ea;
  line-height: 1.8;
}

.legal-page a {
  color: var(--accent);
}

/* Support section (home page) */
.support-section {
  padding-top: 8px;
  padding-bottom: 40px;
}

.support-subtitle {
  color: #a8b8d6;
  max-width: 640px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: rgba(9, 17, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.support-card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.support-card h3 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.support-card p {
  margin: 0 0 6px;
  color: #a8b8d6;
  line-height: 1.55;
  font-size: 0.95rem;
  flex-grow: 1;
}

.support-card .btn {
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
}

@media (max-width: 560px) {
  .support-cards {
    grid-template-columns: 1fr;
  }

  .support-card .btn {
    width: 100%;
    align-self: stretch;
    text-align: center;
  }
}

/* Discord widget (home page, under Patch Notes) */
.discord-widget-panel {
  margin-top: 20px;
}

.discord-widget-hint {
  margin: 0 0 16px;
  color: #a8b8d6;
  line-height: 1.55;
  font-size: 0.9rem;
  text-align: center;
}

.discord-widget-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.discord-widget-wrap iframe {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  background: rgba(9, 17, 30, 0.85);
}

.discord-widget-join {
  display: block;
  margin-top: 16px;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  background: linear-gradient(90deg, #1696ce, #30d6ff);
  color: #04101e;
  box-shadow: 0 4px 18px rgba(22, 150, 206, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.discord-widget-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(48, 214, 255, 0.5);
  filter: brightness(1.08);
}

.discord-widget-join:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(22, 150, 206, 0.35);
}

/* Terms acceptance (first Discord login) */
.terms-accept-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 8px 0 36px;
  padding: 18px 20px;
  background: rgba(22, 150, 206, 0.08);
  border: 1px solid rgba(22, 150, 206, 0.25);
  border-radius: 12px;
  cursor: pointer;
  color: #c8d5ea;
  line-height: 1.6;
  font-size: 0.98rem;
}

.terms-accept-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #1696ce;
  cursor: pointer;
}

.terms-accept-check a {
  color: var(--accent);
  text-decoration: underline;
}

.terms-accept-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
}

.terms-accept-actions .btn {
  min-width: 170px;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.terms-accept-actions .btn:not(.btn-ghost) {
  background: linear-gradient(90deg, #1696ce, #30d6ff);
  color: #04101e;
  box-shadow: 0 4px 18px rgba(22, 150, 206, 0.3);
}

.terms-accept-actions .btn:not(.btn-ghost):hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(48, 214, 255, 0.45);
}

.terms-accept-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.terms-accept-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dbe4f2;
}

.terms-accept-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.terms-accept-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #8fa3c2;
  text-align: center;
}

@media (max-width: 560px) {
  .terms-accept-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-accept-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.legal-page table th,
.legal-page table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: #c8d5ea;
  line-height: 1.55;
}

.legal-page table th {
  background: rgba(22, 150, 206, 0.14);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.legal-page table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 640px) {
  .legal-page {
    padding: 22px 16px;
  }

  .legal-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.btn.btn-red {
  background: #f51f2f;
  color: #fff;
  border-color: #f51f2f;
}

.hero-stage {
  padding: 0 0 26px;
}

.hero-stage-content {
  margin-top: 0;
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(69, 99, 140, 0.45);
  border-left: 0;
  border-right: 0;
  overflow: hidden;
  min-height: 360px;
  background: #0a131f;
}

.hero-banner-frame::before,
.hero-banner-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(120px, 18vw, 340px);
  pointer-events: none;
  z-index: 2;
}

.hero-banner-frame::before {
  left: 0;
  background: linear-gradient(90deg,
    rgba(6, 11, 19, 1) 0%,
    rgba(6, 11, 19, 0.85) 40%,
    rgba(6, 11, 19, 0) 100%);
}

.hero-banner-frame::after {
  right: 0;
  background: linear-gradient(270deg,
    rgba(6, 11, 19, 1) 0%,
    rgba(6, 11, 19, 0.85) 40%,
    rgba(6, 11, 19, 0) 100%);
}

.hero-banner-image {
  /* [CHANGE 2026-09-18 HERO] Zgodnie z site.tactical.css: proporcje pudelka
     pochodza z obrazka (`--hero-ar`), nie ze stalej wysokosci. Stala wysokosc
     + `object-fit: cover` obcinaly gore i dol grafiki. */
  width: 100%;
  height: auto;
  aspect-ratio: var(--hero-ar, 1.9);
  max-height: min(78vh, 760px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: clamp(16px, 2.3vw, 34px);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.14) 0%, rgba(5, 10, 18, 0.78) 100%);
  z-index: 3;
}

.kicker {
  margin: 0;
  color: #89a8d6;
  letter-spacing: 0.12em;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.hero-stage h1 {
  margin: 10px 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid rgba(69, 99, 140, 0.45);
}

.hero-tabs a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #dbe7ff;
  border-right: 1px solid rgba(69, 99, 140, 0.45);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(12, 18, 30, 0.92);
}

.hero-tabs a:last-child {
  border-right: 0;
}

.hero-tabs a.active {
  box-shadow: inset 0 -2px 0 #f51f2f;
}

.headline-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
}

.headline-main,
.headline-side {
  position: relative;
  margin: 0;
  border: 1px solid rgba(69, 99, 140, 0.45);
  overflow: hidden;
}

.headline-image {
  width: 100%;
  /* [CHANGE 2026-09-18 IMG-ADAPT] Bylo `height: clamp(340px, 40vw, 620px)` +
     `object-position: center 32%`. Przy kolumnie ~840px i obrazie 1.98:1 dawalo
     to pudelko 840x620 (1.35:1) => tracone ~32% wysokosci i to NIESYMETRYCZNIE
     (wiecej z dolu). Teraz wysokosc wynika z PRAWDZIWEJ proporcji pliku
     (`--img-ar` z helpera `boxRatio`), wiec `object-fit: cover` nie przycina.
     `max-height` chroni uklad przed obrazem wyzszym niz ekran. */
  height: auto;
  aspect-ratio: var(--img-ar, 1.7);
  max-height: min(80vh, 760px);
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.05) saturate(1.03);
  display: block;
}

.headline-side-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  /* [CHANGE 2026-09-18] Bylo `center 28%` — kadr zsuniety w gore, wiec dol
     obrazu byl obcinany mocniej niz gora. `center` obcina symetrycznie. */
  object-position: center center;
  filter: contrast(1.04) saturate(1.02);
  display: block;
}

.headline-caption,
.headline-side-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #0a111d;
  background: rgba(248, 250, 255, 0.95);
  border-left: 4px solid #f51f2f;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  padding: 10px 14px;
}

.headline-caption {
  /* FIX 2026-09-05: tytuł głównego newsa na hero był wizualnie zbyt mały
     względem obrazka — wyrównany do rozmiaru side caption (1.72rem) + clamp
     dla mobile. */
  font-size: clamp(1.25rem, 2.6vw, 1.72rem);
  line-height: 1.08;
  display: block;
  max-width: min(92%, 760px);
}

.headline-caption span {
  display: block;
  /* długie tytuły zawijane słowami, bez przepełniania obrazka */
  overflow-wrap: break-word;
}

.headline-side-caption {
  display: grid;
  gap: 2px;
}

.headline-side-caption small {
  color: #d4a900;
  font-weight: 900;
}

.headline-side-caption strong {
  color: #0a111d;
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 900;
}

.section { padding: 26px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.grid {
  display: grid;
  gap: 14px;
}

.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(18, 31, 51, 0.95), rgba(9, 20, 34, 0.95));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.news-card {
  overflow: hidden;
}

.card-media {
  margin: -16px -16px 16px;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #04101e 0%, #0a1f3a 100%);
  aspect-ratio: 16 / 9;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-media.small {
  aspect-ratio: 16 / 9;
  height: auto;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* [CHANGE 2026-09-18] Bylo `center 34%` — kadr byl przesuniety w gore/dol
     w zaleznosci od obrazka. `center` obcina symetrycznie, wiec nigdy nie
     ucina wiecej z jednej strony (na produkcji obrazek 1.50:1 w pudelku 16:9
     tracil 15.5% wysokosci, teraz po rowno z gory i z dolu). */
  object-position: center center;
  filter: contrast(1.04) saturate(1.03);
  display: block;
}

.card h3 { margin: 7px 0 8px; }
.card h3 { font-weight: 900; }
.meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price { color: var(--accent-2); font-weight: 700; }

.shop-wallet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-wallet-card {
  min-height: 114px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-wallet-value {
  margin: 6px 0 0;
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
}

.shop-wallet-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shop-wallet-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

/* ── Promo Codes page ── */
.promo-head h1 {
  color: var(--accent);
}
.promo-redeem-card,
.promo-history-card {
  padding: 22px;
}
.promo-redeem-title,
.promo-history-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.promo-redeem-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}
.promo-code-input {
  flex: 1 1 260px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd93d;
}
.promo-code-input::placeholder {
  color: rgba(255, 217, 61, 0.35);
  letter-spacing: 0.08em;
}
.promo-redeem-btn {
  min-height: 44px;
  padding: 0 28px;
  font-weight: 700;
}
.promo-history-table-wrap {
  overflow-x: auto;
}
.promo-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.promo-history-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.promo-history-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.promo-code-badge {
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd93d;
}
.promo-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-status-ok {
  color: #6fe39b;
  background: rgba(80, 220, 120, 0.12);
  border: 1px solid rgba(80, 220, 120, 0.3);
}
.promo-status-fail {
  color: #ff8f8f;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.3);
  cursor: help;
}
.promo-status-pending {
  color: #ffd93d;
  background: rgba(255, 217, 61, 0.12);
  border: 1px solid rgba(255, 217, 61, 0.3);
}

/* ── Promo result modal ── */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 8, 16, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ── Discord guild join modal (new player onboarding) ── */
.guild-join-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(3, 8, 16, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.guild-join-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, #313338, #2b2d31);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: promoModalIn 0.2s ease;
  text-align: center;
}
.guild-join-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #949ba4;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.guild-join-modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.guild-join-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  width: 72px;
  height: 72px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #1c2b4a, #101a30);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.guild-join-modal-icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.guild-join-modal-title {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}
.guild-join-modal-text {
  margin: 0 0 20px;
  color: #b5bac1;
  font-size: 0.95rem;
  line-height: 1.5;
}
.guild-join-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
}
.guild-join-modal-btn:hover { background: #4752c4; color: #fff; text-decoration: none; }
.guild-join-modal-btn:active { transform: translateY(1px); }
.guild-join-modal-hint {
  margin: 14px 0 6px;
  color: #949ba4;
  font-size: 0.85rem;
  line-height: 1.4;
}
.guild-join-modal-retry {
  display: inline-block;
  margin-top: 8px;
  color: #00a8fc;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.guild-join-modal-retry:hover { text-decoration: underline; color: #33b9ff; }
.promo-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.98), rgba(8, 23, 42, 0.99));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: promoModalIn 0.18s ease;
}
@keyframes promoModalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.promo-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.promo-modal-close:hover { color: #ff8f8f; }
.promo-modal-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.promo-modal-title-ok { color: #6fe39b; }
.promo-modal-title-fail { color: #ff8f8f; }
.promo-modal-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}
.promo-modal-rewards {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.promo-modal-rewards li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.98rem;
}
.promo-modal-reward-icon {
  font-size: 1.25rem;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}
.promo-modal-reward-label {
  flex: 1;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-modal-note {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.promo-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.shop-packages-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-packs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-tabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.86), rgba(8, 23, 42, 0.92));
}

.shop-tab-button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-tab-button:hover {
  color: #e8f0ff;
}

.shop-tab-button.is-active {
  color: #081221;
  border-color: rgba(46, 197, 255, 0.35);
  background: linear-gradient(180deg, #56d9ff, #2ec5ff);
}

.shop-tab-panel[hidden] {
  display: none !important;
}

.shop-package-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  min-height: 184px;
}

.shop-package-amount {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shop-package-formula {
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.28rem;
  line-height: 1.18;
}

.shop-package-formula-segment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e9f2ff;
  font-weight: 800;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.01em;
}

.shop-package-formula-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.shop-package-formula-op {
  color: #96acce;
  font-weight: 900;
}

.shop-selected-amount {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px 0 4px;
  font-size: 1.7rem;
}

.shop-selected-segment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shop-selected-op {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25em;
  line-height: 1;
}

.shop-selected-bonus-segment {
  color: #f8fbff;
}

.shop-offer-ends {
  margin: 8px 0 0;
  color: #fff62a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.95rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.shop-credits-inline-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.22));
}

.shop-package-card:hover {
  border-color: rgba(255, 71, 86, 0.75);
  transform: translateY(-2px);
}

.shop-package-card.is-selected {
  border-color: #ff2a3a;
  box-shadow: 0 0 0 1px rgba(255, 42, 58, 0.35), 0 14px 30px rgba(255, 42, 58, 0.18);
}

.shop-package-corner-badge {
  position: absolute;
  top: 14px;
  right: -42px;
  min-width: 132px;
  padding: 4px 10px;
  text-align: center;
  transform: rotate(35deg);
  transform-origin: center;
  background: linear-gradient(180deg, #ffe48e 0%, #f4c44e 52%, #dba52e 100%);
  color: #2e1e08;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(227, 182, 59, 0.4);
  pointer-events: none;
}

.shop-checkout-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-checkout-panel h3 {
  margin: 2px 0;
  font-size: 1.7rem;
}

.shop-pack-card h3 {
  margin: 7px 0 6px;
}

.shop-pack-limit {
  margin: 10px 0 0;
  color: #ffd879;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.shop-pack-reset-timer {
  margin: 10px 0 0;
  color: #8ce7ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.shop-pack-buy-button {
  margin-top: 10px;
}

.shop-pack-offer-price {
  margin: 8px 0;
  color: #74ff8a;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
}

.shop-pack-reward-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.shop-pack-reward-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(120, 153, 194, 0.34);
  background: linear-gradient(180deg, rgba(22, 40, 67, 0.78), rgba(9, 22, 39, 0.88));
  color: #f2f7ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.shop-pack-reward-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.shop-milestone-card h3 {
  font-size: 1.5rem;
}

.shop-milestone-progress {
  margin: 0;
  color: #d9e9ff;
}

.shop-milestone-reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.shop-milestone-reward-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(120, 153, 194, 0.34);
  background: linear-gradient(180deg, rgba(22, 40, 67, 0.78), rgba(9, 22, 39, 0.88));
  color: #f2f7ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.shop-milestone-reward-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.22));
}

.news-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid #ff1a2a;
  background: #ff1a2a;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 340px);
  gap: 14px;
  align-items: stretch;
}

.latest-news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.latest-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-self: stretch;
}

.latest-sidebar-feature {
  position: relative;
  border: 1px solid rgba(69, 99, 140, 0.45);
  overflow: hidden;
  background: #081425;
  min-height: 260px;
}

.latest-sidebar-feature img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  /* [CHANGE 2026-09-18] Bylo `center 30%` (kadr zsuniety w gore). `center`
     obcina symetrycznie, wiec nic nie jest "ucinane z dolu" bardziej niz z gory. */
  object-position: center center;
  display: block;
}

.latest-sidebar-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 8px;
}

.latest-sidebar-caption strong {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  background: rgba(248, 250, 255, 0.96);
  color: #0a111d;
  padding: 6px 10px;
  border-left: 4px solid #f51f2f;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.latest-sidebar-panel {
  border: 1px solid rgba(69, 99, 140, 0.45);
  background: linear-gradient(180deg, rgba(10, 18, 31, 0.96), rgba(6, 12, 22, 0.96));
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.latest-sidebar-panel h3 {
  margin: 0;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 26, 42, 0.65);
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-align: right;
}

.latest-sidebar-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-sidebar-panel li + li {
  border-top: 1px solid rgba(150, 172, 205, 0.16);
}

.latest-sidebar-panel a {
  display: block;
  padding: 10px 12px;
  color: #dce7ff;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.latest-sidebar-panel a:hover {
  color: #fff;
  background: rgba(23, 41, 67, 0.6);
}

.page-block { padding: 42px 0; }
.article-card { max-width: 920px; }

.article-hero {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #04101e 0%, #0a1f3a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  /* [CHANGE 2026-09-18 IMG-ADAPT] Bylo twarde `max-height: 520px`. Sam obraz
     dostal proporcje z pliku, ale RODZIC z `overflow: hidden` obcinalby go
     dalej (klasyczna pulapka: naprawiasz dziecko, winowajca siedzi w rodzicu).
     Limit zostaje, ale liczony od wysokosci ekranu. */
  max-height: min(80vh, 760px);
}

.article-hero img {
  max-width: 100%;
  max-height: 520px;
  object-fit: cover;
  /* [CHANGE 2026-09-18 IMG-ADAPT] Bylo `center 30%` + twardy `max-height: 520px`
     bez proporcji. Przy szerokosci tresci ~1100px obraz 1.98:1 skalowal sie do
     ~556px, wiec `max-height` obcinalo ~6.5% wysokosci (mocniej z dolu).
     Teraz pudelko bierze proporcje z PRAWDZIWEGO pliku (`--img-ar`). */
  aspect-ratio: var(--img-ar, 1.8);
  max-height: min(80vh, 760px);
  object-position: center center;
  filter: contrast(1.05) saturate(1.03);
  display: block;
}

/* FIX: treść newsa — zachowaj wcięcia i nowe linie wpisane w admin panelu.
   ⚠️ [CHANGE 2026-09-19 EDITOR] `pre-wrap` MUSI zostac: starsze newsy pisane były
   jako zwykły tekst z enterami (bez tagów), a `pre-wrap` jest jedynym, co dla nich
   daje akapity. HTML z edytora renderuje sie identycznie (biale znaki miedzy
   tagami i tak sa zwijane). NIE zmieniac na `normal` — znikna akapity w starych
   newsach. */
.article-body {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  line-height: 1.65;
  font-size: 1.02rem;
  margin: 18px 0 22px;
}
/* [CHANGE 2026-09-19 EDITOR] Elementy, ktore teraz produkuje edytor, a ktore
   wczesniej nie mogly wystapic w tresci. Bez tego listy nie miałyby wciec,
   a obrazki wychodzilyby poza kolumne na waskich ekranach. */
.article-body ul,
.article-body ol { padding-left: 1.5em; margin: 0 0 14px; }
.article-body li { margin-bottom: 4px; }
.article-body p { margin: 0 0 14px; }
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 { margin: 22px 0 10px; line-height: 1.25; }
.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 14px 0;
}
.article-body iframe { aspect-ratio: 16 / 9; width: 100%; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 0.96rem;
}
.article-body th,
.article-body td {
  border: 1px solid rgba(150, 172, 205, 0.25);
  padding: 8px 10px;
  text-align: left;
}
.article-body th { background: rgba(46, 197, 255, 0.08); }
.article-body figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 6px;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 14px 0;
  color: var(--muted);
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.article-body code {
  background: rgba(46, 197, 255, 0.08);
  border: 1px solid rgba(46, 197, 255, 0.25);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: 'Courier New', monospace;
}

/* ============================================================================
 * [CHANGE 2026-09-19 CODESAMPLE] Blok kodu + kolorowanie skladni.
 * ----------------------------------------------------------------------------
 * OBJAW: "Insert > Code sample" wygladal dobrze w edytorze, a na stronie newsa
 * byl "mocno zdegradowany".
 *
 * ZMIERZONA PRZYCZYNA (trzy warstwy, winowajca w trzeciej):
 *   1. TinyMCE produkuje: <pre class="language-javascript"><code>...</code></pre>
 *   2. Sanitizer przepuszcza to NIETKNIETE (sprawdzone testem) — klasa zostaje.
 *   3. ALE na stronie nikt tej klasy nie czyta:
 *      - brak Prism.js (TinyMCE ma wlasny, tylko w panelu admina),
 *      - brak JAKIEGOKOLWIEK CSS dla `.language-*` (zmierzone: 0 wystapien `codesample`),
 *      - brak stylu dla `<pre>` w tresci — zostawal font przegladarki (Courier New)
 *        bez tla, ramki, paddingu i bez `overflow`, wiec dlugie linie rozpychaly layout.
 *
 * ROZWIAZANIE: styl dla bloku kodu + wlasny, maly tokenizator (bez zaleznosci).
 * ⚠️ Klasa `language-*` MUSI zostac w markupie — to ona mowi, jakiego jezyka uzyc.
 * ============================================================================ */
.article-body pre {
  background: #0b1220;
  border: 1px solid rgba(150, 172, 205, 0.28);
  border-left: 3px solid var(--accent, #30d6ff);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0 20px;
  /* ⚠️ `pre` dziedziczy po `.article-body { white-space: pre-wrap }`, co ZAWIJA
     dlugie linie kodu. W bloku kodu tego nie chcemy — ma sie przewijac w poziomie. */
  white-space: pre;
  overflow-x: auto;
  overflow-y: hidden;
  font-family: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  tab-size: 2;
}
/* Sam <code> wewnatrz bloku: bez tla i ramki (ma je juz <pre>), zeby nie bylo
   "pudelka w pudelku" i podwojnego paddingu. */
.article-body pre > code {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: #d7e3f4;
  white-space: inherit;
}
/* Pasek z nazwa jezyka — dodawany przez JS (nie ma go w zapisanej tresci,
   zeby markup w bazie pozostal czysty i przenosny). */
.article-body pre.cs-block { position: relative; padding-top: 34px; }
.article-body pre.cs-block::before {
  content: attr(data-lang);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px 14px;
  border-bottom: 1px solid rgba(150, 172, 205, 0.22);
  background: rgba(46, 197, 255, 0.06);
  color: var(--accent, #30d6ff);
  font-family: 'Rajdhani', 'IBM Plex Mono', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Tokeny kolorowania (klasy generowane przez public/js/codesample.js) */
.article-body pre .cs-kw      { color: #ff8ec0; }              /* slowa kluczowe */
.article-body pre .cs-str     { color: #9ae66e; }              /* stringi */
.article-body pre .cs-num     { color: #ffcb6b; }              /* liczby */
.article-body pre .cs-comment { color: #7d8ea6; font-style: italic; }
.article-body pre .cs-fn      { color: #82d2ff; }              /* nazwy funkcji */
.article-body pre .cs-attr    { color: #ffd580; }              /* atrybuty CSS/XML */
.article-body pre .cs-tag     { color: #ff8ec0; }              /* tagi XML/HTML */
.article-body pre .cs-op      { color: #b0c4de; }              /* operatory */
.article-body pre .cs-punct   { color: #8fa3bd; }              /* interpunkcja */

/* ============================================================================
 * [CHANGE 2026-09-19 CODESAMPLE] Podglad w edytorze (WYSIWYG).
 * Panel admina ma `body.theme-tactical` (poza /admin), wiec reguly ponizej
 * stosujemy do tresci edytora, zeby blok kodu wygladal TAK SAMO jak na stronie.
 * Bez tego znow bylaby roznica "w edytorze ladnie, na stronie brzydko".
 * ============================================================================ */
.tox .mce-content-body pre,
.mce-content-body pre {
  background: #0b1220;
  border: 1px solid rgba(150, 172, 205, 0.28);
  border-left: 3px solid #30d6ff;
  border-radius: 8px;
  padding: 14px 16px;
  white-space: pre;
  overflow-x: auto;
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #d7e3f4;
}

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid rgba(150, 172, 205, 0.2);
  text-align: left;
  padding: 10px;
}

.leaderboard-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
}

.leaderboard-tab {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #10213a;
  color: var(--muted);
  min-height: 38px;
  min-width: 112px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.leaderboard-tab.active {
  color: var(--text);
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(22, 150, 206, 0.35), rgba(48, 214, 255, 0.4));
}

.leaderboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.leaderboard-month-label {
  margin: 0 0 10px 0;
  color: var(--muted);
}

.leaderboard-archive-form {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.leaderboard-archive-form label {
  font-family: 'Rajdhani', sans-serif;
  color: var(--muted);
}

.leaderboard-archive-form select {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0e1d33;
  color: var(--text);
  padding: 0 10px;
}

.leaderboard-rewards-card h4 {
  margin: 14px 0 8px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leaderboard-reward-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.leaderboard-reward-list li {
  border: 1px solid rgba(150, 172, 205, 0.2);
  border-radius: 8px;
  padding: 8px;
  background: rgba(7, 17, 31, 0.75);
  display: grid;
  gap: 4px;
}

.cur-icon-inline {
  height: 13px;
  width: 13px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 3px;
}

.leaderboard-timer {
  border: 1px solid rgba(46, 197, 255, 0.35);
  border-radius: 10px;
  padding: 10px;
  background: rgba(9, 28, 48, 0.65);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 17, 0.82);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #a8b8d6;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .leaderboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.launcher-shell-body {
  margin: 0;
  min-height: 100vh;
  overflow: auto;
  background:
    radial-gradient(circle at 8% 12%, rgba(46, 197, 255, 0.16), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(140, 255, 119, 0.1), transparent 24%),
    linear-gradient(180deg, #080e18 0%, #0b1424 60%, #0c1522 100%);
}

.launcher-shell-main {
  padding: 10px 12px 14px;
}

.launcher-unified-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.launcher-account-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 12px;
}

.launcher-account-card h2 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
}

.launcher-account-box {
  border: 1px solid rgba(69, 99, 140, 0.55);
  background: rgba(7, 16, 29, 0.95);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.launcher-account-caption {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.launcher-account-user {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.launcher-launch-btn {
  min-height: 46px;
  font-size: 1.2rem;
  border-color: #f8cb6a;
  background: linear-gradient(180deg, #ffd777, #f89c32 60%, #ce6f18);
  color: #261203;
}

.launcher-language-block {
  display: grid;
  gap: 8px;
}

.launcher-small-label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.launcher-language-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.launcher-option-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launcher-language-buttons .btn.active {
  border-color: #2ec5ff;
  background: linear-gradient(90deg, rgba(22, 150, 206, 0.35), rgba(48, 214, 255, 0.4));
}

.launcher-status-box {
  border: 1px solid rgba(69, 99, 140, 0.5);
  background: rgba(6, 13, 24, 0.92);
  padding: 10px;
  min-height: 110px;
}

.launcher-status-box p {
  margin: 0;
}

.launcher-build-stamp {
  margin: 0;
  color: #7d93b4;
  font-size: 0.82rem;
  align-self: end;
  justify-self: end;
}

.launcher-content-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.launcher-info-strip {
  border: 1px solid rgba(36, 58, 91, 0.7);
  background: rgba(4, 10, 19, 0.93);
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 4px 10px;
}

.launcher-info-strip-text {
  color: #b4c8e9;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.launcher-shell-tabs {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launcher-shell-tabs a {
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.launcher-shell-layout {
  margin-top: 12px;
}

/* Keep launcher news visuals lighter so title/body are visible without deep scrolling. */
.launcher-shell-body .shell-card .card-media {
  aspect-ratio: 21 / 9;
  max-height: 260px;
}

.launcher-shell-body .shell-card .card-media img {
  object-position: center center;
}

.launcher-shell-compact {
  display: block;
}

.launcher-shell-body.compact-mode .launcher-shell-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launcher-shell-body.compact-mode .launcher-shell-tabs a {
  border-right: 1px solid rgba(69, 99, 140, 0.45);
  border-bottom: 0;
  white-space: nowrap;
}

.launcher-shell-body.compact-mode .launcher-shell-tabs a:last-child {
  border-right: 0;
}

.shell-link-disabled {
  display: inline-flex;
  color: #7f93b4;
  opacity: 0.85;
  cursor: default;
  font-weight: 700;
}

.launcher-shell-empty {
  margin-top: 12px;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d9ee;
}

.footer-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(46, 197, 255, 0.28));
}

@media (min-width: 1500px) {
  /* [CHANGE 2026-09-18 IMG-ADAPT] Bylo `height: 560px` (+ 610px w kolejnym progu).
     Te DWA progi nadpisywaly proporcje z `--img-ar`, wiec na duzych ekranach
     przyciecie wracalo. Teraz wysokosc nadal wynika z proporcji pliku, a jedyne
     co robimy to symetryczne kadrowanie. */
  .headline-image {
    object-position: center center;
  }

  .headline-side-image {
    min-height: 560px;
    object-position: center center;
  }

  .card-media,
  .card-media.small {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1850px) {
  .headline-image {
    object-position: center center;
  }

  .headline-side-image {
    min-height: 610px;
    object-position: center center;
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }
  .info-strip-inner {
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
    align-items: flex-start;
  }

  .locale-switcher,
  .locale-trigger,
  .locale-menu {
    width: 100%;
  }

  .actions {
    position: relative;
    width: 100%;
    flex-wrap: wrap;
  }

  .discord-link-panel {
    right: 0;
    left: 0;
    width: 100%;
  }

  .hero-tabs,
  .launcher-unified-grid,
  .headline-grid,
  .news-grid,
  .latest-layout,
  .latest-news-grid,
  .shop-wallet-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-checkout-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-tab-button {
    width: 100%;
    justify-content: center;
  }

  .shop-packs-grid,
  .shop-milestone-reward-grid {
    grid-template-columns: 1fr;
  }

  .shop-package-formula {
    font-size: 1.08rem;
  }

  .shop-selected-op {
    font-size: 1.35rem;
  }

  .shop-offer-ends {
    font-size: 1.2rem;
  }

  .latest-sidebar {
    grid-template-rows: auto;
  }

  .launcher-account-card {
    grid-template-rows: unset;
  }

  .hero-tabs a {
    border-right: 0;
    border-bottom: 1px solid rgba(69, 99, 140, 0.45);
  }

  .launcher-shell-body.compact-mode .launcher-shell-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launcher-shell-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launcher-shell-tabs a {
    border-right: 1px solid rgba(69, 99, 140, 0.45);
    border-bottom: 0;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
  }

  .launcher-shell-tabs a:last-child {
    border-right: 0;
  }

  .launcher-shell-body.compact-mode .launcher-shell-tabs a {
    border-right: 1px solid rgba(69, 99, 140, 0.45);
    border-bottom: 0;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
  }

  .launcher-shell-body.compact-mode .launcher-shell-tabs a:last-child {
    border-right: 0;
  }

  .headline-side-image {
    min-height: 220px;
  }

  /* [CHANGE 2026-09-18 IMG-ADAPT] Bylo `height: clamp(260px, 58vw, 460px)` +
     `object-position: center 26%` — na mobile obraz byl przycinany najbardziej
     (pudelko 58vw przy obrazie 1.98:1 => ok. 32% wysokosci tracone). Teraz
     wysokosc z proporcji pliku, kadr symetryczny. */
  .headline-image {
    object-position: center center;
  }

  .headline-side-image {
    min-height: 260px;
    object-position: center center;
  }

  .card-media,
  .card-media.small {
    aspect-ratio: 3 / 2;
  }

  .card-media img {
    object-position: center center;
  }
}

/* ── Info Strip WYSIWYG editor (admin) ─────────────────── */
.is-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(17, 32, 56, 0.7);
  user-select: none;
  -webkit-user-select: none;
}

.is-toolbar-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.is-toolbar-sep {
  width: 1px;
  height: 24px;
  background: rgba(150, 172, 205, 0.2);
  margin: 0 4px;
}

.is-tb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.is-tb:hover {
  background: rgba(46, 197, 255, 0.12);
  border-color: rgba(46, 197, 255, 0.3);
}

.is-tb:active {
  background: rgba(46, 197, 255, 0.22);
}

/* "A" button for applying color — has a colored bar at the bottom */
.is-tb-apply-color {
  padding-bottom: 6px;
  font-weight: 700;
}

.is-tb-color-bar {
  position: absolute;
  bottom: 3px;
  left: 4px;
  right: 4px;
  height: 3px;
  border-radius: 2px;
  pointer-events: none;
}

/* Standalone color picker input next to the "A" button */
.is-color-pick {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
}

.is-color-pick::-webkit-color-swatch-wrapper { padding: 1px; }
.is-color-pick::-webkit-color-swatch { border: none; border-radius: 3px; }

.is-editor {
  display: block;
  width: 100%;
  min-height: 80px;
  max-height: 300px;
  overflow-y: auto;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: rgba(17, 32, 56, 0.6);
  color: var(--text);
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  outline: none;
}

.is-editor:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(46, 197, 255, 0.15);
}

.is-editor:empty::before {
  content: 'Type your info strip text here...';
  color: var(--muted);
  pointer-events: none;
}

/* =============================================
   BATTLE PASS — Atlas
   ============================================= */

.bp-page {
  padding-bottom: 60px;
}

/* --- Hero --- */
.bp-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 28px;
}

.bp-hero-inner {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 28px;
  isolation: isolate;
}

.bp-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  filter: saturate(1.05) contrast(1.08);
}

.bp-hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(130% 130% at 80% 10%, rgba(255, 167, 31, 0.3) 0%, rgba(255, 167, 31, 0.04) 36%, rgba(6, 9, 14, 0.86) 76%),
    linear-gradient(100deg, rgba(5, 10, 16, 0.92) 20%, rgba(7, 12, 18, 0.55) 58%, rgba(7, 12, 18, 0.9) 100%);
}

.bp-hero-text {
  max-width: 680px;
  background: rgba(10, 16, 24, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
  border-radius: 10px;
  padding: 14px 16px;
}

.bp-kicker {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9bdcff;
  margin: 0 0 6px;
}

.bp-hero-text h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1em;
  line-height: 1;
  background: linear-gradient(90deg, #ffffff 0%, #ffe4a4 52%, #ffc247 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #d8e5f0;
  margin: 4px 0 0;
}

.bp-hero-tagline {
  margin: 10px 0 0;
  max-width: 56ch;
  color: #c7d6e3;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bp-hero-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5, 9, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
}

.bp-premium-cta {
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(245, 166, 35, 0.2);
}

.bp-timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c3d3e0;
}

.bp-timer-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffc85c;
}

@media (max-width: 900px) {
  .bp-hero-inner {
    grid-template-columns: 1fr;
    min-height: 280px;
    padding: 18px;
  }

  .bp-hero-text {
    max-width: none;
    padding: 12px;
  }

  .bp-hero-timer {
    justify-self: start;
    align-items: flex-start;
  }

  .bp-subtitle {
    letter-spacing: 0.18em;
  }

  .bp-premium-cta {
    width: 100%;
    text-align: center;
  }

  .bp-level-next-reward {
    display: block;
    white-space: normal;
  }

  .bp-tasks-reset {
    display: block;
    margin-left: auto;
    text-align: right;
  }
}

/* --- Stats Bar --- */
.bp-stats {
  padding: 20px 0;
}

.bp-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.bp-stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.bp-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.bp-level-bar-wrap {
  position: relative;
}

.bp-level-bar {
  height: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.bp-level-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #8cff77);
  border-radius: 5px;
  transition: width 0.4s ease;
}

.bp-level-bar-text {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 0.72rem;
  color: var(--muted);
}

.bp-level-next-reward {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #9fb8d6;
  white-space: nowrap;
}

.bp-level-next-reward strong {
  color: #d8e8fb;
}

/* --- Reward Rail --- */
.bp-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 28px 0 14px;
}

.bp-rail {
  padding: 0 0 20px;
}

.bp-rail-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.bp-rail-track {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.bp-rail-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
  flex-shrink: 0;
  cursor: default;
  position: relative;
}

.bp-rail-lvl {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.bp-rail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg-soft);
  transition: all 0.2s;
}

.bp-rail-node.reached .bp-rail-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(46, 197, 255, 0.5);
}

.bp-rail-node.claimed .bp-rail-dot {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.bp-rail-node.milestone .bp-rail-dot {
  width: 20px;
  height: 20px;
  border-width: 3px;
}

.bp-rail-node.milestone .bp-rail-lvl {
  font-size: 0.8rem;
  color: var(--text);
}

.bp-rail-reward-label {
  font-size: 0.58rem;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Task Board --- */
.bp-tasks {
  padding: 0 0 30px;
}

.bp-login-notice {
  color: var(--muted);
  font-style: italic;
  margin: 12px 0;
}

.bp-tasks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .bp-tasks-grid { grid-template-columns: 1fr; }
}

.bp-tasks-col-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

/* [CHANGE 2026-09-18 BP-R27-NO-COLLAPSE-TRIANGLE] NAGŁÓWKI DAILY/WEEKLY BEZ
   TRÓJKĄTA ZWIJANIA.
   ─────────────────────────────────────────────────────────────────────────
   User pkt 13 tury 14: „Przy Daily i Weekly tasks jest taki trójkąt do zwijania
   zadań - usuń go".

   BYŁO: `<button class="bp-tasks-col-toggle" data-target=... aria-expanded>` +
   `::after { content: '▾' }` + handler w `battlepass.js`, który schował listę.
   Nagłówek wyglądał jak nagłówek, ale był przyciskiem — a trójkąt sugerował
   akcję, której użytkownik nie chce (listy zadań mają być ZAWSZE widoczne).

   JEST: statyczny `<div class="bp-tasks-col-head">`. Bez `cursor: pointer`
   (to już nie jest klikalne), bez `::after` i bez `aria-expanded`, żeby czytnik
   ekranu nie zapowiadał zwijania, którego nie ma. */
.bp-tasks-col-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  margin: 0 0 12px;
  text-align: left;
}

.bp-tasks-col-head .bp-tasks-col-title {
  margin: 0;
  padding-bottom: 6px;
}

.bp-tasks-reset {
  font-size: 0.72rem;
  color: #8fb0d1;
  white-space: nowrap;
}

.bp-tasks-list[hidden] {
  display: none !important;
}

.bp-tasks-empty {
  color: var(--muted);
  font-size: 0.85rem;
}

.bp-task-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.bp-task-card:hover {
  border-color: var(--accent);
}

.bp-task-card.completed {
  border-color: var(--accent-2);
}

.bp-task-card.claimed {
  opacity: 0.6;
}

.bp-task-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.bp-task-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.bp-task-xp {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  white-space: nowrap;
}

.bp-task-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 8px;
}

.bp-task-progress-bar {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 6px 0;
}

.bp-task-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  transition: width 0.3s;
}

.bp-task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-task-counter {
  font-size: 0.75rem;
  color: var(--muted);
}

.bp-task-claimed-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-2);
}

.btn-sm {
  padding: 5px 14px;
  font-size: 0.75rem;
  border-radius: 6px;
}

.btn-gold {
  background: linear-gradient(90deg, #f5a623, #fbd15b);
  color: #1a1000;
  border: 1px solid #f5a623;
}

.btn-gold:hover {
  background: linear-gradient(90deg, #fbd15b, #f5a623);
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.bp-reward-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 320px;
  background: rgba(6, 12, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 10px 12px;
  pointer-events: none;
}

.bp-reward-tooltip-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fdcff;
  margin-bottom: 8px;
}

.bp-reward-tooltip-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 0.76rem;
  color: #bfcde0;
  margin-bottom: 4px;
}

.bp-reward-tooltip-line:last-child {
  margin-bottom: 0;
}

.bp-reward-tooltip-line strong {
  color: #f2f6fb;
  font-weight: 600;
  word-break: break-word;
}

/* --- Rewards Table --- */
.bp-rewards {
  padding: 0 0 40px;
}

.bp-rewards-table-wrap {
  overflow-x: auto;
}

.bp-rewards-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.bp-rewards-table th {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.bp-rewards-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(36, 58, 91, 0.4);
}

.bp-rewards-lvl {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.bp-row-reached td {
  background: rgba(46, 197, 255, 0.04);
}

.bp-row-claimed td {
  opacity: 0.55;
}

.bp-badge-claimed {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-2);
}

.bp-badge-locked {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}

.bp-no-season {
  text-align: center;
  padding: 80px 0;
}

.bp-no-season h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  color: var(--text);
}

.bp-no-season p {
  color: var(--muted);
}

/* =============================================
   BATTLE PASS - Operation Visual Iteration 1
   ============================================= */

.bp-page {
  --bp-bg-a: #04142a;
  --bp-bg-b: #062439;
  --bp-bg-c: #0a3a3c;
  --bp-panel: rgba(7, 20, 36, 0.82);
  --bp-panel-strong: rgba(5, 16, 30, 0.92);
  --bp-line-soft: rgba(120, 214, 255, 0.18);
  --bp-line-strong: rgba(120, 214, 255, 0.32);
  --bp-glow-cyan: rgba(61, 219, 255, 0.28);
  --bp-glow-amber: rgba(255, 183, 74, 0.24);
  background:
    radial-gradient(1000px 460px at 85% -6%, rgba(255, 180, 70, 0.2) 0%, rgba(255, 180, 70, 0) 70%),
    radial-gradient(900px 500px at 8% 6%, rgba(69, 210, 255, 0.16) 0%, rgba(69, 210, 255, 0) 72%),
    linear-gradient(148deg, var(--bp-bg-a) 0%, var(--bp-bg-b) 54%, var(--bp-bg-c) 100%);
}

.bp-hero {
  border-bottom: 1px solid var(--bp-line-soft);
  background: transparent;
}

.bp-hero-inner {
  border: 1px solid var(--bp-line-soft);
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  min-height: 360px;
  padding: 32px;
}

.bp-hero-inner::before {
  background:
    linear-gradient(110deg, rgba(2, 9, 18, 0.9) 12%, rgba(4, 12, 22, 0.54) 52%, rgba(3, 10, 18, 0.88) 100%),
    radial-gradient(120% 120% at 84% 8%, rgba(255, 176, 62, 0.26) 0%, rgba(255, 176, 62, 0.04) 34%, rgba(4, 8, 14, 0.74) 76%);
}

.bp-hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 8px),
    linear-gradient(25deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 9px);
  background-size: 9px 9px, 13px 13px;
}

.bp-hero-ring {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(123, 216, 255, 0.2);
  filter: blur(0.2px);
}

.bp-hero-ring-a {
  width: 310px;
  height: 310px;
  right: -130px;
  top: -84px;
  box-shadow: 0 0 90px var(--bp-glow-cyan), inset 0 0 46px rgba(61, 219, 255, 0.18);
}

.bp-hero-ring-b {
  width: 440px;
  height: 440px;
  right: -190px;
  top: -150px;
  border-color: rgba(255, 185, 78, 0.2);
  box-shadow: 0 0 120px var(--bp-glow-amber), inset 0 0 48px rgba(255, 185, 78, 0.14);
}

.bp-hero-text {
  max-width: 640px;
  border-radius: 14px;
  border: 1px solid var(--bp-line-soft);
  background: linear-gradient(165deg, rgba(8, 20, 34, 0.78) 0%, rgba(6, 17, 30, 0.58) 100%);
  backdrop-filter: blur(7px);
  padding: 16px 18px;
}

.bp-kicker {
  color: #90e4ff;
  letter-spacing: 0.22em;
}

.bp-hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  letter-spacing: 0.12em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.bp-subtitle {
  color: #d5f1ff;
  font-size: 0.96rem;
}

.bp-hero-tagline {
  font-size: 0.9rem;
  color: #b8d2e7;
}

.bp-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bp-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 216, 255, 0.22);
  background: rgba(8, 22, 39, 0.58);
  color: #b8e8ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bp-hero-timer {
  border-radius: 12px;
  border: 1px solid var(--bp-line-strong);
  padding: 12px 14px;
  background: linear-gradient(170deg, rgba(6, 16, 28, 0.9), rgba(4, 13, 23, 0.76));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}

.bp-premium-cta {
  box-shadow: 0 12px 22px rgba(255, 184, 80, 0.2);
}

.bp-stats {
  padding-top: 24px;
}

.bp-stats-row {
  gap: 12px;
}

.bp-stat-card {
  min-width: 172px;
  border-radius: 11px;
  border: 1px solid var(--bp-line-soft);
  background: linear-gradient(170deg, rgba(7, 20, 35, 0.9), rgba(5, 15, 28, 0.6));
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.bp-stat-label {
  color: #8bb1ce;
}

.bp-stat-value {
  color: #ecf6ff;
}

.bp-level-bar {
  height: 12px;
  background: rgba(0, 0, 0, 0.26);
  border-color: rgba(102, 170, 210, 0.22);
}

.bp-level-bar-fill {
  background: linear-gradient(90deg, #2dd1ff 0%, #1ea0ff 45%, #67ef9d 100%);
  box-shadow: 0 0 16px rgba(40, 206, 255, 0.36);
}

.bp-level-next-reward {
  color: #b0d3ea;
}

.bp-section-title {
  margin-top: 34px;
  color: #6fd8ff;
  letter-spacing: 0.14em;
}

.bp-rail-scroll {
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  padding: 14px 10px 10px;
  background: linear-gradient(180deg, rgba(5, 16, 30, 0.76), rgba(4, 13, 24, 0.5));
}

.bp-rail-track {
  position: relative;
}

.bp-rail-track::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 30px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(53, 196, 255, 0.5), rgba(121, 255, 174, 0.44));
}

.bp-rail-node {
  z-index: 1;
}

.bp-rail-dot {
  width: 12px;
  height: 12px;
  border-color: rgba(106, 171, 212, 0.58);
  background: rgba(3, 15, 30, 0.96);
}

.bp-rail-node.reached .bp-rail-dot {
  box-shadow: 0 0 14px rgba(45, 199, 255, 0.54);
}

.bp-tasks-grid {
  gap: 18px;
}

.bp-tasks-grid.bp-tasks-grid-three {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 1180px) {
  .bp-tasks-grid.bp-tasks-grid-three {
    grid-template-columns: 1fr;
  }
}

.bp-tasks-column {
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(5, 18, 32, 0.7), rgba(4, 14, 26, 0.5));
}

.bp-tasks-col-head .bp-tasks-col-title {
  border-bottom: 0;
  color: #cde9fc;
}

.bp-task-card {
  border-radius: 10px;
  border: 1px solid rgba(124, 214, 255, 0.15);
  background: linear-gradient(175deg, rgba(9, 26, 45, 0.95), rgba(7, 22, 39, 0.75));
  margin-bottom: 12px;
}

.bp-task-card:hover {
  border-color: rgba(117, 216, 255, 0.45);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.bp-task-name {
  color: #f1f8ff;
}

.bp-task-desc {
  color: #a6c4da;
}

.bp-task-progress-bar {
  height: 6px;
}

.bp-task-progress-fill {
  background: linear-gradient(90deg, #22d7ff, #58e7a0);
}

.bp-rewards-table-wrap {
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  background: var(--bp-panel-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
}

.bp-rewards-table th {
  color: #89d2f9;
  border-bottom: 1px solid rgba(95, 164, 208, 0.35);
}

.bp-rewards-table td {
  color: #dbeaf7;
}

.bp-row-reached td {
  background: rgba(43, 188, 255, 0.08);
}

.bp-badge-locked {
  color: #7d9db8;
}

.bp-page .bp-hero-inner,
.bp-page .bp-stat-card,
.bp-page .bp-tasks-column,
.bp-page .bp-rewards-table-wrap,
.bp-page .bp-rail-scroll {
  animation: bpFadeRise 0.46s ease-out both;
}

.bp-page .bp-stat-card:nth-child(2) {
  animation-delay: 0.04s;
}

.bp-page .bp-stat-card:nth-child(3) {
  animation-delay: 0.08s;
}

@keyframes bpFadeRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .bp-hero-inner {
    min-height: 300px;
    padding: 18px;
  }

  .bp-hero-chip {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .bp-stat-card {
    min-width: 0;
    flex: 1;
  }
}

/* =============================================
   BATTLE PASS - Operation Visual Iteration 3
   ============================================= */

.bp-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background:
    radial-gradient(620px 280px at 70% 22%, rgba(255, 175, 65, 0.16) 0%, rgba(255, 175, 65, 0) 70%),
    radial-gradient(560px 260px at 26% 72%, rgba(65, 206, 255, 0.18) 0%, rgba(65, 206, 255, 0) 70%),
    rgba(2, 8, 16, 0.94);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

.bp-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 16, 0) 0%, rgba(2, 8, 16, 0.45) 50%, rgba(2, 8, 16, 0) 100%);
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: bpLoaderSweep 4.8s linear infinite;
  pointer-events: none;
}

.bp-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bp-loader-grid {
  position: absolute;
  inset: -24% -18%;
  background-image:
    linear-gradient(rgba(137, 224, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 224, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(920px) rotateX(62deg) translateY(6%);
  transform-origin: center bottom;
  opacity: 0.24;
  filter: blur(0.2px);
}

.bp-loader-aura {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.4;
  animation: bpLoaderAura 3.2s ease-in-out infinite;
}

.bp-loader-aura-a {
  width: 240px;
  height: 240px;
  top: 18%;
  left: 22%;
  background: rgba(70, 206, 255, 0.28);
}

.bp-loader-aura-b {
  width: 280px;
  height: 280px;
  right: 18%;
  bottom: 16%;
  background: rgba(255, 186, 102, 0.24);
  animation-delay: -1.2s;
}

.bp-loader-shell {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 30px));
  border: 1px solid rgba(136, 220, 255, 0.32);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(7, 18, 33, 0.9), rgba(5, 14, 27, 0.74));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(134, 215, 255, 0.1) inset;
  backdrop-filter: blur(6px);
  padding: 18px 18px 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.bp-loader-orbit {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.bp-loader-media {
  width: min(440px, calc(100vw - 82px));
  aspect-ratio: 730 / 411;
  border-radius: 12px;
  border: 1px solid rgba(137, 221, 255, 0.34);
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(96, 212, 255, 0.24), rgba(8, 17, 30, 0.94));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.bp-loader-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  filter: saturate(1.08) contrast(1.05);
}

.bp-loader-core {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, #8be7ff 0%, #1bb8ff 45%, #08324f 100%);
  box-shadow: 0 0 36px rgba(66, 208, 255, 0.45);
  animation: bpPulse 1.8s ease-in-out infinite;
}

.bp-loader-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(110, 216, 255, 0.36);
}

.bp-loader-ring-a {
  width: 180px;
  height: 180px;
  animation: bpSpin 5.2s linear infinite;
}

.bp-loader-ring-b {
  width: 250px;
  height: 250px;
  border-color: rgba(255, 188, 95, 0.3);
  animation: bpSpin 6.8s linear infinite reverse;
}

.bp-loader-progress {
  width: min(420px, calc(100vw - 82px));
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(135, 216, 255, 0.38);
  background: rgba(7, 18, 33, 0.9);
  overflow: hidden;
}

.bp-loader-progress-fill {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(118, 223, 255, 0.95), rgba(255, 191, 111, 0.95));
  box-shadow: 0 0 18px rgba(124, 221, 255, 0.42);
  transition: width 0.22s linear;
}

.bp-loader-text {
  margin: 2px 0 0;
  text-align: center;
  color: #9dd7f8;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.bp-loader-subtext {
  margin: 0;
  text-align: center;
  color: #7fa9c4;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bp-command-strip {
  display: grid;
  grid-template-columns: 180px 1fr 180px 180px;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 8px;
}

.bp-command-item {
  border: 1px solid rgba(124, 214, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  background: linear-gradient(172deg, rgba(8, 21, 38, 0.88), rgba(6, 16, 30, 0.58));
}

.bp-command-k {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #8fb8d8;
}

.bp-command-v {
  display: block;
  margin-top: 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.08rem;
  color: #ecf7ff;
}

.bp-command-bar-wrap {
  display: flex;
  flex-direction: column;
}

.bp-command-bar {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
  border: 1px solid rgba(125, 205, 246, 0.2);
}

.bp-command-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1dd2ff, #55f1a4);
  box-shadow: 0 0 12px rgba(46, 208, 255, 0.48);
}

.bp-task-inspector {
  border: 1px solid rgba(123, 214, 255, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: linear-gradient(170deg, rgba(8, 22, 38, 0.9), rgba(7, 20, 34, 0.62));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.bp-task-inspector-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8dd7f8;
}

.bp-task-inspector-title {
  margin: 6px 0 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #f2f8ff;
}

.bp-task-inspector-desc {
  margin: 0;
  color: #a7c6dc;
  font-size: 0.82rem;
}

.bp-task-inspector-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bp-task-inspector-k {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #7ea6c2;
}

.bp-task-inspector-v {
  display: block;
  margin-top: 2px;
  color: #e6f3ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
}

/* =============================================
   BATTLE PASS - Expert Quest Panel (New Design)
   ============================================= */

.bp-quest-panel {
  position: relative;
  border: 2px solid rgba(255, 42, 67, 0.65);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 14px;
  background: linear-gradient(175deg, rgba(20, 30, 45, 0.94), rgba(16, 26, 40, 0.88));
  box-shadow: 
    0 0 20px rgba(255, 42, 67, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
}

.bp-quest-lock-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  color: rgba(255, 150, 150, 0.8);
  transition: color 0.2s ease;
}

.bp-quest-lock-icon-open {
  color: rgba(75, 230, 160, 0.85);
  filter: drop-shadow(0 0 6px rgba(75, 230, 160, 0.3));
}

.bp-quest-lock-icon-locked {
  color: rgba(255, 100, 100, 0.8);
}

.bp-quest-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  /* [CHANGE 2026-09-18 BP-R27E-5-INSPECTOR-STABLE] STAŁA WYSOKOŚĆ NAGŁÓWKA.
     ─────────────────────────────────────────────────────────────────────────
     User: „Jak latam myszką nad daily taskami to okienko minimalnie zmienia
     swoją pozycję (jak latam miedzy zwyklymi taskami a premium)".

     PRZYCZYNA: tytuł w inspektorze jest przepisywany z karty pod myszką, więc
     raz ma JEDNĄ linię („Elite Sweep Contract" z karty premium), a raz DWIE
     („Kill 250 enemies in PvE or 50 in PvP" z karty dziennej). Przy
     `align-items: baseline` (BYŁO) wysokość nagłówka zależała i od liczby linii
     tytułu, i od „zejścia" plakietki stanu poniżej linii bazowej — czyli panel
     przesuwał się o kilka pikseli przy KAŻDYM ruchu myszki między kartami.
     Wyglądało to jak drżenie układu strony.

     JEST: `min-height` na dwie linie tytułu (2 × 1.2 × 1.3rem ≈ 50px) +
     `align-items: flex-start`. Wysokość nagłówka jest teraz NIEZMIENNA, więc
     panel stoi w miejscu niezależnie od tego, na którą kartę najedzie gracz.
     ⚠️ `flex-start` (a nie `center`) jest konieczne razem z przycięciem tytułu
     do dwóch linii — inaczej plakietka przesuwałaby się w pionie przy zmianie
     liczby linii tytułu, czyli dokładnie ten sam objaw w innym miejscu. */
  min-height: 52px;
}

.bp-quest-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f2f8ff;
  flex: 1;
  /* [CHANGE 2026-09-18 BP-R27E-5-INSPECTOR-STABLE] Tytuł przycięty do DWÓCH linii.
     Bez tego długi tytuł (np. „Kill 250 enemies in PvE or 50 in PvP") potrafi
     zawinąć się do trzech linii przy wąskim panelu i rozepchnąć układ od nowa.
     `-webkit-line-clamp` jest tu bezpieczne: to tylko degradacja — gdy
     przeglądarka go nie zna, tytuł pokaże się w całości, a `min-height`
     nagłówka nadal trzyma stałą wysokość dla 1-2 linii. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-quest-state-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
  /* [CHANGE 2026-09-18 BP-R27E-5-INSPECTOR-STABLE] Plakietka NIE MOŻE zmieniać
     wysokości nagłówka ani przesuwać tytułu. Powód w komentarzu przy
     `.bp-quest-header`. */
  flex: 0 0 auto;
  align-self: flex-start;
}

.bp-quest-state-badge.bp-quest-state-available {
  background: rgba(100, 150, 200, 0.35);
  color: #b8d8f5;
  border: 1px solid rgba(120, 170, 220, 0.4);
}

.bp-quest-state-badge.bp-quest-state-active {
  background: rgba(255, 200, 100, 0.3);
  color: #ffe6b3;
  border: 1px solid rgba(255, 200, 100, 0.5);
}

.bp-quest-state-badge.bp-quest-state-claimable {
  background: rgba(100, 200, 255, 0.3);
  color: #b8e8ff;
  border: 1px solid rgba(100, 200, 255, 0.5);
}

.bp-quest-state-badge.bp-quest-state-claimed {
  background: rgba(120, 220, 150, 0.25);
  color: #b8f0d0;
  border: 1px solid rgba(120, 220, 150, 0.4);
}

.bp-quest-description {
  margin: 0 -2px 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #bfd4e6;
}

/* Progress Container */
.bp-quest-progress-container {
  margin-bottom: 14px;
}

.bp-quest-progress-bar {
  height: 8px;
  background: rgba(100, 120, 145, 0.25);
  border: 1px solid rgba(120, 170, 220, 0.25);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.bp-quest-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 150, 100, 0.8), rgba(255, 200, 100, 0.9));
  border-radius: 4px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 150, 100, 0.4);
}

.bp-quest-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #99b8d8;
}

#bp-quest-progress-value {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #cde9fc;
}

#bp-quest-status-label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 100, 100, 0.2);
  color: #ffb8b8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Rewards Section */
.bp-quest-rewards {
  margin-bottom: 12px;
}

.bp-quest-rewards-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6464;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 100, 100, 0.25);
}

.bp-quest-rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bp-quest-reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(120, 180, 220, 0.2);
  background: rgba(10, 25, 40, 0.6);
  transition: all 0.15s ease;
}

.bp-quest-reward-item:hover {
  border-color: rgba(120, 180, 220, 0.45);
  background: rgba(12, 28, 45, 0.8);
  transform: translateY(-2px);
}

.bp-quest-reward-item.event-currency {
  border-color: rgba(255, 150, 100, 0.3);
  background: rgba(255, 100, 50, 0.08);
}

.bp-quest-reward-item.event-currency:hover {
  border-color: rgba(255, 150, 100, 0.5);
  background: rgba(255, 100, 50, 0.12);
}

.bp-quest-reward-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(80, 140, 200, 0.2);
  color: #88c5ff;
  transition: all 0.15s ease;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon {
  background: rgba(100, 160, 220, 0.3);
  transform: scale(1.08);
}

.bp-quest-reward-icon.xp {
  background: linear-gradient(135deg, rgba(100, 200, 100, 0.25), rgba(150, 255, 150, 0.15));
  color: #a8ff88;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.xp {
  background: linear-gradient(135deg, rgba(100, 200, 100, 0.4), rgba(150, 255, 150, 0.25));
}

.bp-quest-reward-icon.coin {
  background: linear-gradient(135deg, rgba(255, 180, 80, 0.25), rgba(255, 220, 100, 0.15));
  color: #ffc888;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.coin {
  background: linear-gradient(135deg, rgba(255, 180, 80, 0.4), rgba(255, 220, 100, 0.25));
}

.bp-quest-reward-icon.item {
  background: linear-gradient(135deg, rgba(150, 150, 220, 0.25), rgba(180, 180, 255, 0.15));
  color: #b8b8ff;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.item {
  background: linear-gradient(135deg, rgba(150, 150, 220, 0.4), rgba(180, 180, 255, 0.25));
}

.bp-quest-reward-icon.skull {
  background: linear-gradient(135deg, rgba(255, 150, 100, 0.3), rgba(255, 100, 50, 0.2));
  color: #ffb388;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.skull {
  background: linear-gradient(135deg, rgba(255, 150, 100, 0.45), rgba(255, 100, 50, 0.3));
  box-shadow: 0 0 10px rgba(255, 150, 100, 0.25);
}

.bp-quest-reward-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8f2ff;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
}

/* Meta Info */
.bp-quest-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 180, 220, 0.15);
}

.bp-quest-meta-item {
  display: flex;
  flex-direction: column;
}

.bp-quest-meta-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #7ea6c2;
  margin-bottom: 4px;
}

.bp-quest-meta-value {
  display: block;
  color: #d4e6f5;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .bp-quest-rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-quest-panel {
    padding: 14px 12px;
  }

  .bp-quest-lock-icon {
    width: 20px;
    height: 20px;
  }

  .bp-quest-title {
    font-size: 1.1rem;
  }
}

.bp-task-card {
  cursor: pointer;
}

@keyframes bpPulse {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

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

@keyframes bpLoaderSweep {
  0% { transform: translateY(-32%); }
  100% { transform: translateY(32%); }
}

@keyframes bpLoaderAura {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.52;
    transform: scale(1.05);
  }
}

@media (max-width: 1180px) {
  .bp-command-strip {
    grid-template-columns: 1fr 1fr;
  }

  .bp-task-inspector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bp-command-strip {
    grid-template-columns: 1fr;
  }

  .bp-task-inspector-grid {
    grid-template-columns: 1fr;
  }
}

.bp-currency-continent {
  margin-top: 14px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 12px;
}

.bp-currency-panel,
.bp-continent-panel {
  border: 1px solid rgba(123, 214, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(8, 22, 38, 0.9), rgba(6, 18, 32, 0.62));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.bp-currency-panel {
  padding: 14px;
}

.bp-currency-k {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94c6e6;
}

.bp-currency-main {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-currency-icon,
.bp-currency-fallback {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(120, 212, 255, 0.28);
  background: rgba(10, 26, 43, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bp-currency-icon {
  object-fit: contain;
  padding: 6px;
}

.bp-currency-fallback {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  color: #96dbff;
}

.bp-currency-fallback.is-hidden {
  display: none;
}

.bp-currency-fallback svg {
  width: 24px;
  height: 24px;
  display: block;
}

.bp-currency-value {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.9rem;
  color: #f1f8ff;
  line-height: 1;
}

.bp-currency-code {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8ec3e4;
}

.bp-currency-note {
  margin: 12px 0 0;
  color: #a8c9df;
  font-size: 0.8rem;
}

/* ── Globe section: full-width centered layout ── */
.bp-globe-section {
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.bp-globe-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#bp-globe-canvas {
  display: block;
  width: clamp(340px, 70vw, 760px);
  height: clamp(340px, 70vw, 760px);
  cursor: grab;
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(65, 202, 255, 0.28),
    0 0 220px rgba(65, 202, 255, 0.10);
}

#bp-globe-canvas:active { cursor: grabbing; }

/* Floating continent label tooltip */
.bp-globe-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  padding: 8px 14px;
  background: rgba(4, 14, 26, 0.93);
  border: 1px solid rgba(34, 215, 255, 0.42);
  border-radius: 4px;
  font: 700 13px/1.35 'Rajdhani', sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #edf8ff;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity .12s ease;
}
.bp-globe-tooltip.is-visible { opacity: 1; }

/* Legacy layers / rings no longer used — hide if accidentally present */
.bp-globe-ring,
.bp-globe-layer,
.bp-globe-shine,
.bp-globe-marker,
.bp-marker-label { display: none !important; }

/* Old .bp-globe div (now hidden wrapper) */
#bp-globe[hidden] { display: none !important; }

/* ── Command bar: horizontal strip below globe ── */
.bp-globe-command {
  width: 100%;
  max-width: 1520px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid rgba(122, 205, 244, 0.22);
  border-radius: 10px;
  padding: 14px 22px;
  background: rgba(6, 20, 35, 0.75);
}

.bp-globe-command-region {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 160px;
}

.bp-globe-command-k {
  font: 700 9px/1 'Rajdhani', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bp-amber-hot, #ff9c3c);
}

.bp-globe-command-v {
  font: 700 20px/1 'Rajdhani', sans-serif;
  letter-spacing: .05em;
  color: #edf8ff;
}

.bp-globe-command-note {
  flex: 1;
  margin: 0;
  color: #9ec3dd;
  font-size: 0.77rem;
}

.bp-globe-command-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Continent route planner panel ── */
.bp-route-panel {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(255, 76, 116, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(14, 10, 23, 0.9), rgba(8, 14, 28, 0.9));
  box-shadow: inset 0 0 40px rgba(255, 63, 120, 0.06), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.bp-route-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.bp-route-kicker {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  color: #ff6b99;
  text-transform: uppercase;
}

.bp-route-title {
  font: 700 16px/1.1 'Rajdhani', sans-serif;
  color: #ffe9f0;
  letter-spacing: .03em;
}

.bp-route-meta {
  margin-left: auto;
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff9fbd;
}

.bp-route-visual-wrap {
  position: relative;
  margin-top: 10px;
  border: 1px solid rgba(255, 76, 116, 0.28);
  border-radius: 10px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 94, 138, 0.08), transparent 55%),
    rgba(6, 11, 20, 0.9);
}

.bp-route-panel[data-continent='europe'] .bp-route-visual-wrap {
  min-height: clamp(500px, 78vh, 1080px);
  padding: 0;
  overflow: hidden;
}

.bp-route-panel[data-continent='asia'] .bp-route-visual-wrap {
  min-height: clamp(500px, 78vh, 1080px);
  padding: 0;
  overflow: hidden;
}

.bp-route-panel[data-continent='north_america'] .bp-route-visual-wrap,
.bp-route-panel[data-continent='south_america'] .bp-route-visual-wrap,
.bp-route-panel[data-continent='africa'] .bp-route-visual-wrap,
.bp-route-panel[data-continent='australia'] .bp-route-visual-wrap {
  min-height: clamp(500px, 78vh, 1080px);
  padding: 0;
  overflow: hidden;
}

.bp-route-panel[data-continent='europe'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/europe-neon-infographic.svg?v=20260916g');
  background-size: contain;
  background-position: center var(--bp-europe-map-pos-y, 64%);
  background-repeat: no-repeat;
  transform: translateY(var(--bp-europe-map-shift-y, 7%));
  transform-origin: center;
  pointer-events: none;
}

.bp-route-panel[data-continent='asia'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/asia-neon-infographic.svg?v=20260916g');
  background-size: contain;
  background-position: var(--bp-asia-map-pos-x, 50%) var(--bp-asia-map-pos-y, 56%);
  background-repeat: no-repeat;
  transform: translate(var(--bp-asia-map-shift-x, 0%), var(--bp-asia-map-shift-y, 0%));
  transform-origin: center;
  pointer-events: none;
}

.bp-route-panel[data-continent='north_america'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/north-america-neon-infographic.svg?v=20260916g');
  background-size: contain;
  background-position: center var(--bp-na-map-pos-y, 50%);
  background-repeat: no-repeat;
  pointer-events: none;
}

.bp-route-panel[data-continent='south_america'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/south-america-neon-infographic.svg?v=20260916g');
  background-size: contain;
  background-position: center var(--bp-sa-map-pos-y, 50%);
  background-repeat: no-repeat;
  pointer-events: none;
}

.bp-route-panel[data-continent='africa'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/africa-neon-infographic.svg?v=20260916g');
  background-size: contain;
  background-position: center var(--bp-af-map-pos-y, 50%);
  background-repeat: no-repeat;
  pointer-events: none;
}

.bp-route-panel[data-continent='australia'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/australia-neon-infographic.svg?v=20260916g');
  background-size: contain;
  background-position: center var(--bp-au-map-pos-y, 50%);
  background-repeat: no-repeat;
  pointer-events: none;
}

.bp-route-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(460px, 66vh, 980px);
}

.bp-route-panel[data-continent='europe'] .bp-route-svg,
.bp-route-panel[data-continent='asia'] .bp-route-svg,
.bp-route-panel[data-continent='north_america'] .bp-route-svg,
.bp-route-panel[data-continent='south_america'] .bp-route-svg,
.bp-route-panel[data-continent='africa'] .bp-route-svg,
.bp-route-panel[data-continent='australia'] .bp-route-svg {
  display: block;
  position: relative;
  z-index: 2;
}

.bp-route-panel .bp-route-contour {
  display: none;
}

.bp-route-contour {
  fill: rgba(255, 67, 123, 0.12);
  stroke: rgba(255, 62, 120, 0.9);
  stroke-width: 0.7;
  filter: drop-shadow(0 0 5px rgba(255, 58, 120, 0.35));
}


.bp-route-link {
  stroke: rgba(255, 72, 124, 0.5);
  stroke-width: 0.45;
}

.bp-route-link.is-complete {
  stroke: rgba(98, 255, 184, 0.8);
}

.bp-route-node {
  cursor: pointer;
}

.bp-route-node.is-empty {
  cursor: default;
}

.bp-route-node-core {
  fill: rgba(14, 16, 25, 0.95);
  stroke: rgba(255, 72, 124, 0.75);
  stroke-width: 0.45;
}

.bp-route-node-inner {
  fill: rgba(255, 72, 124, 0.92);
}

.bp-route-node-label {
  fill: #f4d1dc;
  font: 700 1.6px/1 'Rajdhani', sans-serif;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.bp-route-node.is-current .bp-route-node-core {
  stroke: rgba(75, 224, 255, 1);
  stroke-width: 0.25;
  filter: drop-shadow(0 0 9px rgba(75, 224, 255, 0.55));
}

.bp-route-node.is-current .bp-route-node-inner {
  fill: rgba(75, 224, 255, 1);
}

.bp-route-node.is-current .bp-route-node-label {
  fill: #eaf8ff;
}

.bp-route-node.is-locked .bp-route-node-inner {
  fill: rgba(255, 72, 124, 0.45);
}

.bp-route-node.is-open .bp-route-node-inner {
  fill: rgba(255, 150, 188, 0.9);
}

.bp-route-node.is-active .bp-route-node-core {
  stroke: rgba(59, 223, 255, 0.9);
}

.bp-route-node.is-active .bp-route-node-inner {
  fill: rgba(59, 223, 255, 1);
}

.bp-route-node.is-claimable .bp-route-node-core {
  stroke: rgba(112, 255, 176, 0.95);
}

.bp-route-node.is-claimable .bp-route-node-inner {
  fill: rgba(112, 255, 176, 1);
}

.bp-route-node.is-done .bp-route-node-core {
  stroke: rgba(112, 255, 176, 0.75);
}

.bp-route-node.is-done .bp-route-node-inner {
  fill: rgba(112, 255, 176, 0.78);
}

.bp-route-node:focus-visible .bp-route-node-core,
.bp-route-node:hover .bp-route-node-core {
  stroke: #f8fcff;
  stroke-width: 0.65;
}

.bp-route-node.is-selected .bp-route-node-core {
  stroke: #ffffff;
  stroke-width: 0.85;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.42));
}

.bp-route-node.is-selected .bp-route-node-inner {
  fill: #f8fcff;
}

.bp-route-node-brief {
  position: absolute;
  z-index: 8;
  /* [CHANGE 2026-09-18 BP-R27E-3-BRIEF-SIZE] 360px -> 460px.
     ─────────────────────────────────────────────────────────────────────
     User: „Otworzyłem teraz Step #10 - tam achievement jest troche mniejszy
     (ma mniejszy kafelek niz pozostałe nagrody dodatkowo za nim jest jakies
     +600) - to okienko jest po prostu za małe - zwiększ je i odpowiednio
     doskaluj przedmioty w nim".
     Przyczyna: siatka `.bp-route-node-brief-rewards` ma 3 kolumny, a slot
     nagrody za kontynent jest TRZECIM dzieckiem — wciskał się więc w kolumnę
     ~105px, co dla wstęgi 4:1 (i dla ikony boostera) było po prostu za mało,
     a kwota nagrody (`+600`) lądowała obok obrazka bez miejsca.
     Teraz panel jest szerszy, a slot zajmuje CAŁY wiersz (`grid-column: 1/-1`).
     `calc(100% - 24px)` zostaje — na wąskim ekranie panel nadal nie wyjdzie
     za kontener mapy. */
  width: min(460px, calc(100% - 24px));
  border: 1px solid rgba(255, 67, 123, 0.65);
  border-radius: 14px;
  background: rgba(5, 10, 18, 0.95);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  padding: 14px 16px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -115%) scale(0.97);
  transition: opacity .14s ease, transform .16s ease;
}

.bp-route-node-brief.is-visible {
  opacity: 1;
  transform: translate(-50%, -115%) scale(1);
}

.bp-route-node-brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bp-route-node-brief-step,
.bp-route-node-brief-state {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bp-route-node-brief-step {
  color: #ff95bb;
}

.bp-route-node-brief-state {
  color: #d6e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 123, 156, 0.24);
  background: rgba(20, 14, 23, 0.88);
}

.bp-route-node-lock-open,
.bp-route-node-lock-closed {
  display: none;
}

.bp-route-node-brief-state[data-lock='open'] {
  color: #88ffbc;
  border-color: rgba(112, 255, 180, 0.44);
  box-shadow: 0 0 18px rgba(112, 255, 180, 0.2);
}

.bp-route-node-brief-state[data-lock='open'] .bp-route-node-lock-open,
.bp-route-node-brief-state[data-lock='locked'] .bp-route-node-lock-closed {
  display: block;
}

.bp-route-node-brief-title {
  display: block;
  margin-top: 6px;
  font: 700 15px/1.18 'Rajdhani', sans-serif;
  color: #fff2f7;
}

.bp-route-node-brief-desc {
  margin: 7px 0 0;
  color: #e8cfdb;
  font-size: 0.86rem;
  line-height: 1.3;
}

.bp-route-node-brief-progress-wrap {
  margin-top: 10px;
  display: grid;
  gap: 5px;
}

.bp-route-node-brief-progress-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 111, 159, 0.16);
}

.bp-route-node-brief-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff557d 0%, #ffbd72 100%);
  box-shadow: 0 0 14px rgba(255, 124, 102, 0.22);
  transition: width .18s ease;
}

.bp-route-node-brief-progress-meta {
  display: flex;
  justify-content: flex-start;
}

.bp-route-node-brief-progress-meta strong {
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffdce8;
}

.bp-route-node-brief-rewards {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* [CHANGE 2026-09-18 BP-R27E-3-BRIEF-SIZE] Slot nagrody za ukończenie kontynentu
   zajmuje CAŁY wiersz, a nie trzecią kolumnę. Powód w komentarzu przy
   `.bp-route-node-brief` wyżej — w kolumnie obrazek i kwota nie miały miejsca. */
.bp-route-node-brief-reward-stripe {
  grid-column: 1 / -1;
}

.bp-route-node-brief-reward {
  min-height: 58px;
  border: 1px solid rgba(255, 67, 123, 0.18);
  border-radius: 9px;
  padding: 8px 10px;
  font: 700 12px/1.1 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(22, 13, 23, 0.72);
}

.bp-route-node-brief-reward-xp {
  gap: 6px;
  color: #fff4cd;
  background: linear-gradient(180deg, rgba(255, 214, 79, 0.2), rgba(255, 95, 125, 0.08));
}

.bp-xp-reward-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 208, 98, 0.28));
}

.bp-xp-reward-icon-sm {
  width: 16px;
  height: 16px;
}

.bp-route-node-brief-reward-item {
  color: #f3edf6;
}

.bp-route-node-brief-reward-token {
  gap: 8px;
  color: #ffe6cd;
}

.bp-route-node-token-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.bp-route-legend {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #d7c0cb;
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: baseline;
  background: rgba(255, 72, 124, 0.75);
}

.bp-dot.is-locked { background: rgba(255, 72, 124, 0.45); }
.bp-dot.is-open { background: rgba(255, 150, 188, 0.95); }
.bp-dot.is-active { background: rgba(59, 223, 255, 1); }
.bp-dot.is-claimable,
.bp-dot.is-done { background: rgba(112, 255, 176, 1); }

.bp-route-hint {
  margin: 10px 0 0;
  color: #f3d3df;
  font-size: 0.82rem;
}

.bp-token-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #ffd8aa;
  background: linear-gradient(180deg, rgba(255, 211, 143, 0.28), rgba(123, 49, 18, 0.28));
  border: 1px solid rgba(255, 149, 87, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 123, 84, 0.12);
}

.bp-token-icon-skull {
  color: #ffcf9d;
}

.bp-currency-token {
  flex: 0 0 auto;
}

.bp-route-task-preview {
  margin-top: 12px;
  border: 1px solid rgba(255, 86, 136, 0.26);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(17, 10, 20, 0.96), rgba(11, 11, 21, 0.92)),
    radial-gradient(circle at 82% 22%, rgba(255, 105, 152, 0.1), transparent 32%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bp-route-task-shell {
  display: grid;
  gap: 12px;
}

.bp-route-task-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bp-route-task-title-wrap {
  display: grid;
  gap: 5px;
}

.bp-route-task-kicker {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #ff80aa;
}

.bp-route-task-title {
  font: 700 21px/1.05 'Rajdhani', sans-serif;
  color: #fff0f6;
  letter-spacing: .025em;
}

.bp-route-task-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.bp-route-task-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 109, 149, 0.26);
  background: rgba(26, 14, 25, 0.9);
  color: #ff8fae;
}

.bp-route-task-lock-open,
.bp-route-task-lock-closed {
  display: none;
}

.bp-route-task-lock[data-lock='open'] {
  color: #88ffbc;
  border-color: rgba(112, 255, 180, 0.42);
  box-shadow: 0 0 18px rgba(102, 255, 166, 0.18);
}

.bp-route-task-lock[data-lock='open'] .bp-route-task-lock-open,
.bp-route-task-lock[data-lock='locked'] .bp-route-task-lock-closed {
  display: block;
}

.bp-route-task-state {
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffc1d8;
}

.bp-route-task-preview[data-state='open'] .bp-route-task-state,
.bp-route-task-preview[data-state='active'] .bp-route-task-state,
.bp-route-task-preview[data-state='claimable'] .bp-route-task-state,
.bp-route-task-preview[data-state='done'] .bp-route-task-state {
  color: #9dffc9;
}

.bp-route-task-desc {
  margin: 0;
  color: #f2dce5;
  font-size: 0.92rem;
  max-width: 72ch;
}

.bp-route-task-progress-wrap {
  display: grid;
  gap: 6px;
}

.bp-route-task-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 111, 159, 0.18);
}

.bp-route-task-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff557d 0%, #ffbd72 100%);
  box-shadow: 0 0 18px rgba(255, 124, 102, 0.24);
  transition: width 0.2s ease;
}

.bp-route-task-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bp-route-task-progress-meta strong,
.bp-route-task-progress-meta span {
  font: 700 11px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffd7e4;
}

.bp-route-task-rewards-title {
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ff7ba6;
}

.bp-route-task-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 2.2fr) minmax(0, 0.52fr);
  align-items: start;
  gap: 8px;
}

.bp-route-task-tile {
  min-height: 66px;
  border: 1px solid rgba(255, 97, 146, 0.22);
  border-radius: 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(26, 14, 25, 0.82), rgba(17, 11, 20, 0.92));
  display: grid;
  align-content: space-between;
  gap: 5px;
}

.bp-route-task-tile-k {
  display: block;
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ff9cc2;
}

.bp-route-task-tile-k-icon {
  display: inline-flex;
  align-items: center;
}

.bp-route-task-tile strong {
  display: block;
  font: 700 15px/1 'Rajdhani', sans-serif;
  color: #fff4f8;
}

.bp-route-task-tile.is-xp,
.bp-route-task-tile.is-skull {
  min-height: 58px;
  max-height: 58px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.bp-route-task-tile.is-xp strong {
  font-size: 14px;
  color: #ffd595;
}

.bp-route-task-tile.is-item {
  min-height: 132px;
  padding-top: 16px;
  padding-bottom: 16px;
  align-content: center;
  gap: 10px;
  border-color: rgba(255, 132, 176, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 167, 199, 0.16);
}

.bp-route-task-tile.is-item strong {
  font-size: 17px;
  line-height: 1.12;
  color: #e7ecff;
}

.bp-route-task-tile.is-meta strong {
  color: #9ed4ff;
}

.bp-route-task-tile.is-skull strong {
  font-size: 14px;
}

.bp-route-task-token-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bp-route-task-token-row .bp-token-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.bp-token-icon-img,
.bp-token-icon-fallback {
  width: 65%;
  height: 65%;
  display: block;
  object-fit: contain;
}

.bp-token-icon-fallback.is-hidden {
  display: none;
}

/* ── Continent cards: 3-col grid full width ── */
.bp-continent-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bp-continent-card {
  border: 1px solid rgba(122, 205, 244, 0.18);
  border-left: 3px solid rgba(122, 205, 244, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  background: rgba(9, 25, 42, 0.72);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.bp-continent-card.is-active,
.bp-continent-card:hover {
  border-color: rgba(122, 218, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.bp-continent-card.is-unlocked { border-left-color: rgba(94, 245, 168, 0.55); }
.bp-continent-card.is-locked   { border-left-color: rgba(200, 60, 60, 0.4); }

.bp-continent-card:focus-visible {
  outline: 2px solid rgba(150, 227, 255, 0.95);
  outline-offset: 2px;
}

.bp-continent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.bp-continent-head h3 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #e8f4ff;
}

.bp-continent-status {
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  color: #8aaec8;
}

.bp-continent-card.is-unlocked .bp-continent-status {
  color: #7de7ff;
}

.bp-continent-progress {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #98bdd7;
}

.bp-continent-bar {
  margin-top: 5px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(2, 12, 24, 0.55);
}

.bp-continent-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #35d7ff, #59e9a2);
}

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

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

@keyframes bpGlobeRingPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

@media (max-width: 1180px) {
  .bp-currency-continent {
    grid-template-columns: 1fr;
  }

  .bp-continent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bp-globe {
    width: clamp(280px, 86vw, 480px);
  }

  .bp-globe-stage {
    padding: 44px;
  }

  .bp-continent-list {
    grid-template-columns: 1fr;
  }

  .bp-globe-command {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bp-route-meta {
    margin-left: 0;
  }

  .bp-route-svg {
    min-height: min(52vh, 380px);
  }

  .bp-route-panel[data-continent='europe'] .bp-route-visual-wrap,
  .bp-route-panel[data-continent='asia'] .bp-route-visual-wrap,
  .bp-route-panel[data-continent='north_america'] .bp-route-visual-wrap,
  .bp-route-panel[data-continent='south_america'] .bp-route-visual-wrap,
  .bp-route-panel[data-continent='africa'] .bp-route-visual-wrap,
  .bp-route-panel[data-continent='australia'] .bp-route-visual-wrap {
    min-height: min(66vh, 520px);
  }

  .bp-route-panel[data-continent='europe'] .bp-route-svg,
  .bp-route-panel[data-continent='asia'] .bp-route-svg,
  .bp-route-panel[data-continent='north_america'] .bp-route-svg,
  .bp-route-panel[data-continent='south_america'] .bp-route-svg,
  .bp-route-panel[data-continent='africa'] .bp-route-svg,
  .bp-route-panel[data-continent='australia'] .bp-route-svg {
    display: block;
  }

  .bp-route-legend {
    gap: 8px;
    letter-spacing: .08em;
  }

  .bp-route-task-state {
    margin-left: 0;
  }

  .bp-route-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-route-task-tile.is-item {
    grid-column: 1 / -1;
    min-height: 114px;
  }

  .bp-route-node-brief {
    width: min(280px, calc(100% - 16px));
  }
}

@media (max-width: 680px) {
  .bp-loader-shell {
    width: calc(100vw - 20px);
    padding: 14px 12px 12px;
  }

  .bp-loader-media,
  .bp-loader-progress {
    width: calc(100vw - 58px);
  }

  .bp-loader-orbit {
    width: 210px;
    height: 210px;
    top: -2px;
  }

  .bp-loader-ring-a {
    width: 152px;
    height: 152px;
  }

  .bp-loader-ring-b {
    width: 208px;
    height: 208px;
  }
}

.bp-access-ops {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 12px;
}

.bp-access-rail,
.bp-ops-economy,
.bp-infinite-card {
  border: 1px solid rgba(123, 214, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(8, 22, 38, 0.9), rgba(6, 18, 32, 0.62));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.bp-access-rail {
  padding: 14px;
}

.bp-access-head,
.bp-ops-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.bp-access-k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94c6e6;
}

.bp-access-tier {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  color: #ebf8ff;
  letter-spacing: 0.05em;
}

.bp-access-note {
  margin: 10px 0 0;
  color: #a8c9df;
  font-size: 0.8rem;
}

.bp-access-features {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-access-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 212, 255, 0.28);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b6d8ef;
}

.bp-access-chip.is-ready {
  color: #7df4c0;
  border-color: rgba(125, 244, 192, 0.35);
}

.bp-access-chip.is-off {
  color: #94a9bd;
  border-color: rgba(148, 169, 189, 0.3);
}

.bp-ops-economy {
  padding: 12px;
}

.bp-ops-kicker {
  color: #e8f4ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.bp-ops-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bp-ops-tile {
  border: 1px solid rgba(122, 205, 244, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(9, 25, 42, 0.72);
}

.bp-ops-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8fb6d1;
}

.bp-ops-value {
  display: block;
  margin-top: 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  color: #edf8ff;
}

.bp-ops-tile small,
.bp-ops-note {
  color: #9dbfd8;
  font-size: 0.72rem;
}

.bp-ops-note {
  margin: 10px 0 0;
}

.bp-infinite-track {
  margin-top: 12px;
}

.bp-infinite-card {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.bp-infinite-col {
  border: 1px solid rgba(122, 205, 244, 0.2);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(9, 25, 42, 0.65);
}

.bp-infinite-k {
  display: block;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8fb6d1;
}

.bp-infinite-v {
  display: block;
  margin-top: 3px;
  font-family: 'Rajdhani', sans-serif;
  color: #eaf8ff;
  font-size: 1rem;
}

.bp-infinite-card.is-active .bp-infinite-v {
  color: #7ceec7;
}

.bp-task-state-row {
  margin-top: 6px;
}

.bp-task-state-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(123, 214, 255, 0.24);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ed6f7;
}

.bp-task-state-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ─── [CHANGE 2026-09-18 BP-R27E-4-AUTO-START] ZNACZNIK „AKTYWNE" ───────────
   User: „Chciałbym żebyś uprościł buttony - bo jest start hold i resume -
   chciałbym żeby te taski się same uruchamiały jesli gracz odwiedził
   przynajmniej raz stronę battlepassa".

   Trzy przyciski (START/HOLD/RESUME) NIE wpływały na naliczanie postępu —
   sterowały tylko wyglądem karty przez `localStorage`, a `processEvent`
   nalicza postęp dla wszystkich aktywnych zadań sezonu. Skoro zadania są
   aktywne od pierwszego wejścia, zostaje po nich tekst, a nie przycisk.

   ⚠️ Świadomie NIE używamy tu `btn`-a: przycisk, który nic nie robi, jest
   gorszy niż brak przycisku (gracz klika i oczekuje skutku). To etykieta
   stanu, więc wygląda jak etykieta. */
.bp-task-auto-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 194, 71, 0.32);
  background: rgba(255, 194, 71, 0.08);
  font: 600 0.68rem/1.1 'Rajdhani', 'Exo 2', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffc247;
}

.bp-task-action {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 0.66rem;
}

.bp-task-card[data-ui-state='active'] .bp-task-state-badge {
  border-color: rgba(110, 238, 188, 0.4);
  color: #86f1cc;
}

.bp-task-card[data-ui-state='hold'] .bp-task-state-badge,
.bp-task-card[data-ui-state='cooldown'] .bp-task-state-badge {
  border-color: rgba(255, 193, 99, 0.36);
  color: #ffd08b;
}

.bp-task-card[data-ui-state='claimable'] .bp-task-state-badge {
  border-color: rgba(138, 255, 116, 0.34);
  color: #a4ff90;
}

.bp-task-card.is-hidden-by-filter {
  display: none;
}

.bp-task-card.is-globe-focus {
  border-color: rgba(125, 228, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(125, 228, 255, 0.35), 0 14px 24px rgba(0, 0, 0, 0.28);
}

.bp-task-card.is-globe-ping {
  animation: bpGlobeTaskPing 0.9s ease-out;
}

@keyframes bpGlobeTaskPing {
  0% {
    box-shadow: 0 0 0 0 rgba(112, 232, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(112, 232, 255, 0);
  }
}

@media (max-width: 1280px) {
  .bp-access-ops {
    grid-template-columns: 1fr;
  }

  .bp-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-infinite-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bp-ops-grid,
  .bp-infinite-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BATTLE PASS — Operation Visual Iteration 4
   AP/Atlas UX Parity: command-center scan bar, dossier cards,
   mode chips, HQ status tile, classified region stamps
   ============================================================ */

/* ── Keyframes ── */
@keyframes bpScanlineScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes bpLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
@keyframes bpDossierSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Color tokens (extend existing bp-page vars) ── */
.bp-page {
  --bp-amber-hot:   #ff9c3c;
  --bp-green-ok:    #5ef5a8;
  --bp-red-locked:  #e05040;
  --bp-cyan-bright: #22d7ff;
  --bp-chip-bg:     rgba(0,0,0,.55);
  --bp-chip-r:      3px;
}

/* ── Scanline / classified ticker bar ── */
.bp-scanline-bar {
  width: 100%;
  overflow: hidden;
  background: rgba(0,20,40,.85);
  border-top:    1px solid rgba(34,215,255,.18);
  border-bottom: 1px solid rgba(34,215,255,.18);
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.bp-scanline-track {
  display: flex;
  white-space: nowrap;
  animation: bpScanlineScroll 28s linear infinite;
  gap: 0;
}
.bp-scanline-chip {
  font: 600 10px/32px 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  color: var(--bp-cyan-bright);
  text-transform: uppercase;
  padding: 0 24px;
}
.bp-scanline-chip.bp-scanline-warn { color: var(--bp-amber-hot); }
.bp-scanline-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(34,215,255,.25);
  vertical-align: middle;
  margin: 0 4px;
}
.bp-scanline-bar:hover .bp-scanline-track { animation-play-state: paused; }

/* ── Hero section extras ── */
.bp-kicker-tag {
  display: inline-block;
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  color: var(--bp-amber-hot);
  background: rgba(255,156,60,.12);
  border: 1px solid rgba(255,156,60,.35);
  padding: 3px 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 8px;
}
.bp-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  color: #8fb0d1;
  background: var(--bp-chip-bg);
  border: 1px solid rgba(143,176,209,.2);
  padding: 4px 10px;
  border-radius: var(--bp-chip-r);
  text-transform: uppercase;
}
.bp-chip-live {
  color: var(--bp-green-ok);
  border-color: rgba(94,245,168,.3);
  background: rgba(94,245,168,.08);
}
.bp-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bp-green-ok);
  animation: bpLivePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.bp-chip-season {
  color: var(--bp-amber-hot);
  border-color: rgba(255,156,60,.3);
  background: rgba(255,156,60,.08);
}
.bp-hero-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.bp-hero-op-id {
  margin-top: 16px;
  font: 700 11px/1 'Rajdhani', monospace;
  letter-spacing: .2em;
  color: rgba(34,215,255,.55);
  text-transform: uppercase;
}
.bp-hero-op-code {
  color: var(--bp-cyan-bright);
}

/* ── Command strip (HQ STATUS tile) ── */
.bp-cmd-header {
  background: rgba(255,156,60,.06) !important;
  border-color: rgba(255,156,60,.25) !important;
}
.bp-cmd-header .bp-command-label {
  color: var(--bp-amber-hot) !important;
  font-weight: 700;
}
.bp-cmd-hq-v {
  font: 700 13px/1 'Rajdhani', sans-serif;
  letter-spacing: .06em;
}
.bp-cmd-hq-v.full  { color: var(--bp-green-ok); }
.bp-cmd-hq-v.trial { color: var(--bp-amber-hot); }
.bp-cmd-of { font-variant-numeric: tabular-nums; }
.bp-cmd-days { color: var(--bp-amber-hot); }
.bp-cmd-claimable {
  background: rgba(94,245,168,.06) !important;
  border-color: rgba(94,245,168,.25) !important;
}
.bp-cmd-claimable .bp-command-label { color: var(--bp-green-ok) !important; }
.bp-cmd-claimable .bp-command-value { color: var(--bp-green-ok); font-weight: 700; }

/* ── Globe section header ── */
.bp-globe-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.bp-globe-title-tag {
  display: inline-block;
  font: 800 11px/1 'Rajdhani', sans-serif;
  letter-spacing: .22em;
  color: var(--bp-amber-hot);
  background: rgba(255,156,60,.1);
  border: 1px solid rgba(255,156,60,.3);
  padding: 5px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ── Continent card dossier tag ── */
.bp-continent-dossier-tag {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.bp-continent-dossier-tag.is-active {
  color: var(--bp-green-ok);
  background: rgba(94,245,168,.1);
  border: 1px solid rgba(94,245,168,.3);
}
.bp-continent-dossier-tag.is-locked {
  color: var(--bp-red-locked);
  background: rgba(224,80,64,.1);
  border: 1px solid rgba(224,80,64,.25);
}

/* border-left color coding on continent cards */
.bp-ops-card[data-unlocked="true"]  { border-left-color: rgba(94,245,168,.45); }
.bp-ops-card[data-unlocked="false"] { border-left-color: rgba(224,80,64,.35); }

/* ── Task board section head ── */
.bp-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.bp-section-head .bp-section-title { margin-bottom: 0; }
.bp-section-head-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.bp-section-badge {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fb0d1;
  background: rgba(143,176,209,.1);
  border: 1px solid rgba(143,176,209,.2);
  padding: 4px 9px;
  border-radius: 2px;
}
.bp-badge-claimable {
  color: var(--bp-green-ok);
  background: rgba(94,245,168,.1);
  border-color: rgba(94,245,168,.3);
  animation: bpLivePulse 2s ease-in-out infinite;
}

/* ── Task column toggle badges ── */
.bp-tasks-col-badge {
  display: inline-block;
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bp-amber-hot);
  background: rgba(255,156,60,.1);
  border: 1px solid rgba(255,156,60,.25);
  padding: 3px 7px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Task card dossier head ── */
.bp-task-dossier-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  animation: bpDossierSlideIn .18s ease both;
  flex-wrap: wrap;
}
.bp-task-mode-chip {
  font: 800 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  border: 1px solid;
  flex-shrink: 0;
}
/* mode chip colors */
/* Use generic approach since JS already evaluates PVP/PVE/OPS text: */
.bp-task-mode-chip { color: var(--bp-cyan-bright); border-color: rgba(34,215,255,.3); background: rgba(34,215,255,.07); }
/* PVP override applied via JS data attribute */
.bp-task-card[data-task-code*="pvp"] .bp-task-mode-chip { color: var(--bp-amber-hot); border-color: rgba(255,156,60,.3); background: rgba(255,156,60,.07); }
.bp-task-card[data-task-code*="pve"] .bp-task-mode-chip { color: var(--bp-green-ok); border-color: rgba(94,245,168,.3); background: rgba(94,245,168,.07); }

.bp-task-track-chip {
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(143,176,209,.7);
  padding: 3px 7px;
  border: 1px solid rgba(143,176,209,.15);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Task state badge (in dossier head) ── */
.bp-task-dossier-head .bp-task-state-badge {
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid;
  margin-left: auto;
  flex-shrink: 0;
}
/* Remove legacy state row since badge is now in dossier head */
.bp-task-state-row { display: none; }

.bp-state-available  { color: rgba(143,176,209,.6); border-color: rgba(143,176,209,.2); background: transparent; }
.bp-state-active     { color: var(--bp-cyan-bright); border-color: rgba(34,215,255,.3); background: rgba(34,215,255,.06); }
.bp-state-claimable  { color: var(--bp-green-ok); border-color: rgba(94,245,168,.4); background: rgba(94,245,168,.1); animation: bpLivePulse 1.8s ease-in-out infinite; }
.bp-state-claimed    { color: rgba(143,176,209,.4); border-color: rgba(143,176,209,.1); background: transparent; }

/* ── Task card left-border accent by state ── */
.bp-task-card.bp-task-state-active    { border-left: 3px solid var(--bp-cyan-bright); }
.bp-task-card.bp-task-state-claimable { border-left: 3px solid var(--bp-green-ok); }
.bp-task-card.bp-task-state-claimed   { border-left: 3px solid rgba(143,176,209,.2); opacity: .65; }
.bp-task-card.bp-task-state-available { border-left: 3px solid rgba(143,176,209,.2); }

/* ── Task inspector AP style ── */
.bp-task-inspector-label {
  font: 700 9px/1 'Rajdhani', monospace;
  letter-spacing: .2em;
  color: var(--bp-amber-hot);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ── Claim button pulse on claimable state ── */
.bp-task-card.bp-task-state-claimable .bp-claim-task {
  box-shadow: 0 0 12px rgba(94,245,168,.35);
}

/* ── Responsive: mobile stack ── */
@media (max-width: 640px) {
  .bp-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bp-scanline-bar { height: 28px; }
  .bp-scanline-chip { font-size: 9px; padding: 0 16px; }
  .bp-hero-chips-row { gap: 5px; }
  .bp-task-dossier-head { gap: 4px; }
}

/* [CHANGE 2026-09-14 22:40] globalne keyframes dla animacji w Top Info Strip
   (info-strip dopuszcza style inline, ale @keyframes nie moga byc inline —
   musza miescic sie w ladowanym CSS). "glitch" uzywany przez admina. */
@keyframes glitch {
  0%   { transform: skew(-8deg) rotate(-2deg) translate(0, 0); }
  20%  { transform: skew(-8deg) rotate(-2deg) translate(-2px, 1px); }
  40%  { transform: skew(-8deg) rotate(-2deg) translate(2px, -1px); }
  60%  { transform: skew(-8deg) rotate(-2deg) translate(-1px, 2px); }
  80%  { transform: skew(-8deg) rotate(-2deg) translate(1px, -2px); }
  100% { transform: skew(-8deg) rotate(-2deg) translate(0, 0); }
}
@keyframes glitch-shake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, -2px); }
}
@keyframes rainbow-move {
  0%   { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.25; }
}

/* ===========================================================================
   [CHANGE 2026-09-16 NAV-MOBILE] Kompaktowy pasek nawigacji na telefonie.
   PROBLEM (user): „na wersji mobilnej ten pasek na górze (home/news/shop/promo
   codes) zajmuje bardzo dużo miejsca - przerób ten pasek [...] żeby nie
   zasłaniał tak dużo ekranu".
   PRZYCZYNA: ponizej 980 px `.topbar-inner` przelaczal sie na JEDNA kolumne
   (grid-template-columns: 1fr), wiec brand, 6 linkow nawigacji, badge gracza,
   przycisk logowania/wylogowania i przelacznik jezyka ukladaly sie JEDEN POD
   DRUGIM. Na 390 px szerokosci pasek zajmowal ~260 px wysokosci (>30% ekranu)
   i przesuwal cala tresc ponizej.
   ROZWIAZANIE: dwuwierszowy uklad — wiersz 1: brand + akcje (bez zmiany
   wysokosci), wiersz 2: JEDNA linia nawigacji z przewijaniem poziomym.
   Pasek informacyjny (`info-strip`) na mobile chowamy — jest dekoracyjny.

   [CHANGE 2026-09-17 NAV-MOBILE-TOGGLE] User nadal uwazal, ze pasek zajmuje
   za duzo miejsca („ciagle za duzo miejsca zajmuje"), wiec nawigacja schodzi
   POD PRZYCISK: wiersz 2 znika domyslnie i rozwija sie dopiero po kliknieciu
   `.nav-toggle` (klasa `.is-nav-open` na `.topbar-inner`, obslugiwana przez
   `site.js`). Domyslna wysokosc paska na mobile to teraz JEDEN wiersz.
   ========================================================================= */
/* Przycisk menu — na desktopie w ogole nie istnieje w ukladzie. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  padding: 0;
  cursor: pointer;
  background: rgba(6, 12, 20, 0.6);
  border: 1px solid rgba(36, 58, 91, 0.9);
  color: var(--text);
}
.nav-toggle:hover { border-color: rgba(46, 197, 255, 0.6); }
.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
/* Krzyzyk po otwarciu — ten sam element, bez podmiany ikony w DOM. */
.topbar-inner.is-nav-open .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar-inner.is-nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.topbar-inner.is-nav-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.topbar-inner.is-nav-open .nav-toggle { border-color: rgba(46, 197, 255, 0.7); }

/* ===========================================================================
   [CHANGE 2026-09-17 CSS-MOBILE-GUARD] STRAŻNIK REGUŁ MOBILNYCH — CZYTAJ PRZED
   EDYCJĄ CZEGOKOLWIEK PONIŻEJ 980 px.

   ⚠️⚠️ DLACZEGO TEN KOMENTARZ ISTNIEJE
   W turze 11 DWA z trzech błędów wdrożeniowych wynikały WYŁĄCZNIE z kolejności
   i specyficzności arkuszy — kod był „poprawny", ale bez efektu:

     1) `.main-nav { display: none }` w tym pliku NIE UKRYWAŁO nawigacji, bo
        `site.tactical.css` ładuje się PO `site.css` i ustawia
        `body.theme-tactical .main-nav { display: flex }` — specyficzność
        0,2,0 > 0,1,0. `getComputedStyle` pokazywał `flex` mimo poprawnej reguły.
     2) `body.theme-tactical .actions { gap: 6px }` (0,2,1) PRZEGRYWAŁO
        z istniejącą `body.theme-tactical .topbar .actions { gap: 10px }` (0,3,1).
     3) `width: 38px` na `.download-btn` NIE DZIAŁAŁO, bo reguła bazowa ma
        `min-width: 148px` — `min-width` wygrywa z `width` niezależnie od
        kolejności.

   ── ZASADY, KTÓRYCH NALEŻY PRZESTRZEGAĆ ──────────────────────────────────
   A. REGUŁY MOBILNE DLA `.topbar` / `.main-nav` / `.actions` / `.nav-toggle`
      PISZEMY W `site.tactical.css`, w sekcji `NAV-MOBILE` (na końcu pliku).
      Powód: motyw ładuje się ostatni, więc tylko tam reguła jest rozstrzygająca.
      Ten plik (`site.css`) zostaje dla układu BAZOWEGO — bez motywu.
   B. SPRAWDZAJ RZECZYWISTĄ SPECYFICZNOŚĆ. Zanim dodasz `body.theme-tactical X`,
      wyszukaj, czy nie istnieje już `body.theme-tactical <rodzic> X` — dodanie
      rodzica to najczęstszy powód „dodałem regułę i nic się nie stało".
   C. `min-width` BIJE `width`. Chcesz zmniejszyć przycisk — wyzeruj `min-width`
      (albo `flex-basis`), nie tylko ustaw `width`.
   D. WERYFIKUJ `getComputedStyle`, NIE WŁASNY PLIK. „Reguła jest w arkuszu" nie
      znaczy „reguła działa". Panel Computed w DevTools albo
      `getComputedStyle(el).display` w konsoli rozstrzyga w sekundę.
   E. HAMBURGER (`#nav-toggle`) jest DOMYŚLNIE `display: none` — pokazuje go
      dopiero `@media (max-width: 980px)` w `site.tactical.css`.

   ── GDZIE SZUKAĆ REGUŁ MOBILNYCH (mapa) ──────────────────────────────────
     • pasek górny + nawigacja + hamburger ....... site.tactical.css / NAV-MOBILE
     • pasek informacyjny (ukryty) .............. site.tactical.css / NAV-MOBILE
     • siatki BP (globe, currency, tabs) ........ site.tactical.css / max-width 980
     • układ bazowy (desktop, bez motywu) ....... ten plik / max-width 980
     • sklep (Packs) ............................ ten plik / SHOP-PACKS-REDESIGN
   ========================================================================= */

@media (max-width: 980px) {
  /* Pasek informacyjny tylko zjada wysokosc — na mobile jest zbedny.
     ⚠️ TO ORAZ REGUŁY `.topbar-inner` / `.main-nav` PONIŻEJ SĄ WYŁĄCZNIE
     SIATKĄ BEZPIECZEŃSTWA dla stron BEZ motywu (np. admin, launcher-shell).
     Dla stron z `body.theme-tactical` rozstrzygają reguły z `site.tactical.css`. */
  .info-strip { display: none; }

  .nav-toggle { display: inline-flex; }

  .topbar-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand actions"
      "nav nav";
    gap: 0 12px;
    min-height: 0;
    padding: 8px 0 7px;
  }

  .brand { grid-area: brand; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 1rem; }

  .actions {
    grid-area: actions;
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }

  /* Nazwa gracza zjada najwiecej miejsca — na mobile zostaje sam numer konta. */
  .launcher-user-badge { padding: 5px 8px; gap: 4px; }
  .launcher-user-name {
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .launcher-user-id { font-size: 0.72rem; }

  .locale-trigger { padding: 5px 8px; }
  .locale-trigger span { display: none; }   /* zostaje sama flaga */
  .locale-switcher, .locale-trigger, .locale-menu { width: auto; }

  /* „Download" tylko ikona — pelny przycisk nie miesci sie obok hamburgera. */
  .download-btn { padding: 5px 8px; }
  .download-btn span { display: none; }

  /* [NAV-MOBILE-TOGGLE] Nawigacja DOMYSLNIE schowana. Rozwija sie jako panel
     w drugim wierszu siatki po dodaniu `.is-nav-open` na `.topbar-inner`. */
  .main-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 0.98rem;
  }
  .topbar-inner.is-nav-open .main-nav {
    display: flex;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(36, 58, 91, 0.55);
    animation: navPanelIn 0.18s ease-out 1 both;
  }
  @keyframes navPanelIn {
    0% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  /* Pozycje jako pelne wiersze — latwiej trafic palcem niz w ciasne chipy. */
  .main-nav a {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(36, 58, 91, 0.32);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a[aria-current="page"] { background: rgba(46, 197, 255, 0.1); }

  /* Discord z badge gracza obok siebie nie mieszcza sie — sam ikona+tekst w 1 linii. */
  .auth-inline-form .btn { padding: 5px 10px; font-size: 0.78rem; }
}

/* Bardzo waskie ekrany: skracamy jeszcze bardziej (316 px i mniej). */
@media (max-width: 420px) {
  .brand span { display: none; }          /* zostaje samo logo */
  .main-nav { font-size: 0.92rem; }
  .main-nav a { padding: 9px 10px; }
  .launcher-user-name { max-width: 58px; }
}

/* Nawigacja nie moze chowac tresci pod soba — `scroll-margin` dla kotwic. */
@media (max-width: 980px) {
  [id] { scroll-margin-top: 96px; }
}

/* ===========================================================================
   [CHANGE 2026-09-16 SHOP-PACKS-REDESIGN] Zakladka „Packs" — nowy wyglad.
   Uzasadnienie i audyt starego widoku: patrz komentarz w `views/pages/shop.ejs`.
   Paleta jak reszta portalu (ciemny granat + zloto), ale BEZ `theme-tactical`
   — sklep uzywa bazowego motywu, wiec selektory sa bez prefiksu `body.theme-*`.
   =========================================================================== */

/* ---- Naglowek sekcji ofert cyklicznych --------------------------------- */
.shop-packs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(69, 99, 140, 0.4);
}
.shop-packs-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8f1ff;
}
.shop-packs-sub {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: #93a7c4;
  max-width: 62ch;
}
.shop-packs-head-badge {
  padding: 4px 11px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(46, 197, 255, 0.42);
  background: rgba(8, 30, 46, 0.6);
}

/* ---- Karty ofert cyklicznych ------------------------------------------- */
/* [CHANGE 2026-09-17 SHOP-PACKS-PALETTE] User pkt 8: „podoba mi się premium
   access i loyality reward - ale Daily Pack i Weekly Pack bym przerobił bardziej
   pod kolorystykę naszej strony - bo straszny miszmasz wyszedł".

   AUDYT MISZMASZU: karta Daily/Weekly miala JEDNOCZESNIE: cyjanowa gorna krawedz,
   cyjanowa ramke ceny, cyjanowa ramke pigulki resetu, cyjanowy licznik, zlota
   plakietke BEST VALUE i zloty CTA. Cztery akcenty w jednym kaflu = brak
   hierarchii; wzrok nie wiedzial, co jest najwazniejsze.

   NOWA ZASADA (ta sama co w Premium i Loyalty, ktore user zaakceptowal):
     • ciemna, jednolita powierzchnia z palety strony (`--panel`/`--bg`),
     • JEDEN akcent na karte — pionowy pasek z lewej (`--accent` dla Daily,
       zloto dla Weekly, bo Weekly jest oferta „premium value"),
     • teksty pomocnicze w `--muted`, bez kolorowych ramek,
     • zloto zarezerwowane WYLACZNIE dla BEST VALUE (plakietka + CTA), zeby
       znaczylo „to jest najtanszy sposob na te nagrody", a nie „ozdoba". */
.shop-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.shop-pack-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 19px 17px;
  overflow: hidden;
  background: linear-gradient(168deg, rgba(18, 31, 51, 0.92), rgba(6, 11, 19, 0.96));
  border: 1px solid rgba(36, 58, 91, 0.75);
  border-left: 3px solid var(--accent);
}
.shop-pack-v2.is-best {
  border-left-color: #ffc247;
  box-shadow: 0 0 26px rgba(255, 194, 71, 0.12);
}
.shop-pack-v2-corner {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1a1206;
  background: linear-gradient(180deg, #ffc247, #f0a01f);
}
.shop-pack-v2-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.shop-pack-v2-kicker {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-pack-v2-title {
  margin: 3px 0 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}
/* Cena jako OSOBNY badge — wczesniej byla wprasowana w przycisk, co mieszalo
   informacje (cena) z akcja (kup). */
.shop-pack-v2-price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  flex: 0 0 auto;
  padding: 5px 10px;
  background: rgba(6, 12, 20, 0.75);
  border: 1px solid rgba(36, 58, 91, 0.9);
}
.shop-pack-v2-price strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: #e8f0ff;
}
.shop-pack-v2-price span { font-size: 0.66rem; letter-spacing: 0.08em; color: var(--muted); }
.shop-pack-v2.is-best .shop-pack-v2-price { border-color: rgba(255, 194, 71, 0.5); }
.shop-pack-v2.is-best .shop-pack-v2-price strong { color: #ffc247; }

/* Nagrody jako CHIPY — duza liczba + ikona waluty (wczesniej: goly tekst). */
.shop-pack-v2-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shop-pack-v2-reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 128px;
  padding: 8px 11px;
  background: rgba(8, 16, 27, 0.72);
  border: 1px solid rgba(36, 58, 91, 0.7);
}
.shop-pack-v2-reward strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.shop-pack-v2-reward span {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Limit + odliczanie — to NAJWAZNIEJSZA informacja dla oferty cyklicznej
   („kiedy moge kupic znow"), wiec jest wyrozniona, ale BEZ dodatkowego koloru:
   wystarczy tlo i wyzsza waga tekstu. */
.shop-pack-v2-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(14, 24, 40, 0.72);
  border: 1px solid rgba(36, 58, 91, 0.7);
}
.shop-pack-v2-reset-k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-pack-v2-reset .shop-pack-reset-timer {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8f0ff;
}
.shop-pack-v2.is-best .shop-pack-v2-reset .shop-pack-reset-timer { color: #ffc247; }

.shop-pack-v2-foot { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.shop-pack-v2-limit {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}
.shop-pack-v2-cta {
  width: 100%;
  padding: 11px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shop-pack-v2.is-best .shop-pack-v2-cta {
  background: linear-gradient(180deg, #ffc247, #f0a01f);
  border-color: #ffd97a;
  color: #1a1206;
}
.shop-pack-v2-cta[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---- PREMIUM: osobna, szeroka karta (inny typ zakupu) ------------------- */
.shop-premium-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 22px;
  background:
    linear-gradient(90deg, rgba(58, 16, 44, 0.55), rgba(9, 16, 26, 0.96) 62%),
    linear-gradient(158deg, rgba(19, 34, 54, 0.9), rgba(9, 16, 26, 0.96));
  border: 1px solid rgba(255, 77, 146, 0.36);
  border-left: 3px solid #ff4d92;
}
.shop-premium-v2-kicker {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff8ec0;
}
.shop-premium-v2-title {
  margin: 4px 0 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}
.shop-premium-v2-note { margin: 0 0 12px; font-size: 0.78rem; line-height: 1.55; color: #9fb2cd; }
.shop-premium-v2-benefits { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.shop-premium-v2-benefits li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; color: #d5e2f2; }
.shop-premium-v2-benefits svg { color: #5ef5a8; flex: 0 0 auto; }
.shop-premium-v2-buy { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.shop-premium-v2-price { display: inline-flex; align-items: baseline; justify-content: center; gap: 3px; }
.shop-premium-v2-price strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #ff8ec0;
  line-height: 1;
}
.shop-premium-v2-price span { font-size: 0.72rem; letter-spacing: 0.1em; color: #9fb2cd; }
.shop-premium-v2-cta { padding: 11px 16px; font-family: 'Rajdhani', sans-serif; font-size: 0.98rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.shop-premium-v2-once { font-size: 0.68rem; letter-spacing: 0.06em; color: #8298b5; }
@media (max-width: 760px) {
  .shop-premium-v2 { grid-template-columns: 1fr; gap: 16px; }
  .shop-premium-v2-buy { border-top: 1px solid rgba(255, 77, 146, 0.28); padding-top: 14px; }
}

/* ---- LOYALTY: pasek postepu zamiast liczby ------------------------------ */
.shop-loyalty-v2 {
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(158deg, rgba(46, 30, 4, 0.42), rgba(9, 16, 26, 0.95));
  border: 1px solid rgba(255, 194, 71, 0.32);
  border-left: 3px solid #ffc247;
}
.shop-loyalty-v2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.shop-loyalty-v2-kicker {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffc247;
}
.shop-loyalty-v2-title { margin: 4px 0 0; font-family: 'Rajdhani', sans-serif; font-size: 1.16rem; font-weight: 700; color: #fff; }
.shop-loyalty-v2-count { display: inline-flex; align-items: baseline; gap: 3px; }
.shop-loyalty-v2-count strong { font-family: 'Rajdhani', sans-serif; font-size: 1.7rem; font-weight: 700; color: #ffc247; line-height: 1; }
.shop-loyalty-v2-count em { font-style: normal; font-size: 0.84rem; color: #9fb2cd; }
.shop-loyalty-v2-bar {
  height: 9px;
  margin: 12px 0 7px;
  background: rgba(6, 12, 20, 0.8);
  border: 1px solid rgba(69, 99, 140, 0.5);
  overflow: hidden;
}
.shop-loyalty-v2-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f0a01f, #ffd97a);
  box-shadow: 0 0 12px rgba(255, 194, 71, 0.5);
  transition: width 0.5s ease;
}
.shop-loyalty-v2-progress { margin: 0; font-size: 0.74rem; color: #9fb2cd; }
.shop-loyalty-v2-rewards { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.shop-loyalty-v2-reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(8, 16, 27, 0.72);
  border: 1px solid rgba(255, 194, 71, 0.3);
}
.shop-loyalty-v2-reward strong { font-family: 'Rajdhani', sans-serif; font-size: 1.04rem; font-weight: 700; color: #ffe3b0; }
.shop-loyalty-v2-rule { margin: 11px 0 0; font-size: 0.7rem; line-height: 1.5; color: #8298b5; }
