/* =======================================================================
   EXODAR — styl "ARCANE" (makieta właściciela: tools/web/arcane/reference.webp)
   Fiolet + złoto, malowane tło z postaciami po bokach, ramki ze ściętymi rogami.
   Ładowany po nova.css i nova-pages.css: zmienne --nx-* (podstrony) dostają
   paletę Arcane, a układ (arcane/layout.php) ma własne klasy .ax-*.
   Spis: 0 tokeny · 1 baza i tło · 2 ramki · 3 przyciski i zakładki · 4 nagłówek ·
   5 kolumny i panele · 6 scena · 7 karty · 8 pasek informacji · 9 newsy ·
   10 prawa kolumna · 11 podstrony · 12 stopka · 13 szuflada · 14 responsywność
   ======================================================================= */

/* 0) Tokeny ----------------------------------------------------------------- */
:root[data-nx-theme="arcane"] {
  /* zmienne Novy (podstrony: tabele, formularze, rankingi) — złote nagłówki, fioletowe przyciski */
  --nx-bg: #0a070f;
  --nx-bg-rgb: 10, 7, 15;
  --nx-bg-2: #0e0a16;
  --nx-surface: #161021;
  --nx-surface-2: #1c1529;
  --nx-surface-3: #251b36;
  --nx-solid: #120d1c;
  --nx-solid-2: #0f0b17;
  --nx-solid-3: #1c1528;
  --nx-s1: 27, 19, 40;
  --nx-s2: 13, 10, 21;
  --nx-s3: 20, 15, 31;
  --nx-panel: linear-gradient(180deg, rgba(var(--nx-s1), .9), rgba(var(--nx-s2), .94));

  --nx-acc: 214, 170, 98;
  --nx-acc-frame: 222, 184, 116;
  --nx-acc-hi: 244, 220, 160;
  --nx-acc-glow: 124, 77, 255;
  --nx-acc-shine: 214, 190, 255;
  --nx-acc-deep: 76, 38, 140;
  --nx-acc-border: #c8adff;

  --nx-text: #ece7f5;
  --nx-text-2: #cbc2de;
  --nx-muted: #9d93b6;
  --nx-dim: #6f6787;
  --nx-head: #f3dca2;
  --nx-head-hi: #fff1d4;
  --nx-head-sub: #e2d9f2;
  --nx-name: #f4effb;
  --nx-nav: #e6def5;

  --nx-on-acc: #ffffff;
  --nx-on-acc-glow: 40, 12, 90;
  --nx-btn-b1: #d6c4ff;
  --nx-btn-b2: #6c3fd8;
  --nx-btn-b3: #43218f;
  --nx-scroll-a: #3a2368;
  --nx-scroll-b: #7b54d8;
  --nx-grad-gold: linear-gradient(180deg, #9a6cff 0%, #7442ea 48%, #5a2bcf 52%, #4a21b0 100%);

  /* Arcane */
  --ax-bg: #0a070f;
  --ax-ink: #ece7f5;
  --ax-ink-2: #d2c9e4;
  --ax-muted: #a196bb;
  --ax-lilac: #b99cff;
  --ax-lilac-2: #cdb8ff;
  --ax-gold: #e6c27c;
  --ax-gold-2: #c99a52;
  --ax-cream: #f6ead2;
  --ax-good: #9be35a;
  --ax-bad: #ff6f6f;
  --ax-panel: linear-gradient(180deg, rgba(26, 19, 39, .93) 0%, rgba(15, 11, 24, .95) 100%);
  --ax-panel-2: linear-gradient(180deg, rgba(31, 23, 47, .62) 0%, rgba(17, 13, 27, .7) 100%);
  --ax-grad-gold: linear-gradient(180deg, #fde9b8 0%, #ecc57d 46%, #c08a42 100%);
  --ax-grad-silver: linear-gradient(180deg, #ffffff 0%, #f0e6ff 34%, #bba6e3 60%, #f5efff 100%);
  --ax-grad-lilac: linear-gradient(180deg, #fbf6ff 0%, #e4d2ff 36%, #a888e6 62%, #efe4ff 100%);
  --ax-btn-edge: linear-gradient(180deg, #e1d2ff 0%, #9b7af5 55%, #6d48d8 100%);
  --ax-btn-fill: linear-gradient(180deg, #9467ff 0%, #7442ea 47%, #5a2ccf 53%, #4a20ae 100%);
  --ax-line-gold: linear-gradient(90deg, transparent, rgba(230, 194, 124, .62) 18%, rgba(230, 194, 124, .62) 82%, transparent);

  --ax-cut-10: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  --ax-cut-7: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  --ax-cut-6: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  --ax-cut-5: polygon(5.6px 0, calc(100% - 5.6px) 0, 100% 5.6px, 100% calc(100% - 5.6px), calc(100% - 5.6px) 100%, 5.6px 100%, 0 calc(100% - 5.6px), 0 5.6px);

  --ax-wrap: min(100vw - 32px, 1250px);
  --ax-left: 218px;
  --ax-right: 266px;
  --ax-gap: 13px;
  --ax-top-h: 78px;
  --ax-side-drop: 84px;
}

/* 1) Baza i tło ---------------------------------------------------------------- */
html.ax-root { background: var(--ax-bg); }
body.ax {
  background: var(--ax-bg);
  color: var(--ax-ink);
  font-size: 14px;
}
.ax a { color: var(--ax-lilac-2); }
.ax a:hover { color: #fff; }
.ax ::selection { background: rgba(124, 77, 255, .45); color: #fff; }
.ax :focus-visible { outline-color: #b99cff; }
.ax-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Malowane tło: postacie po bokach zawsze tuż przy kolumnach (obraz skalowany do szerokości układu). */
.ax-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--ax-bg) url("img/bg.webp") center top / calc(var(--ax-wrap) * 1.2288) auto no-repeat;
}
.ax .nx-embers { opacity: .7; }

.ax .ax-container {
  width: var(--ax-wrap);
  max-width: none;
  padding: 0;
}

/* 2) Ramki: złote linie ze ściętymi rogami (SVG 9-slice nad treścią, tło przycięte clip-path) ---- */
.ax .ax-panel,
.ax .ax-box,
.ax .ax-strip,
.ax .ax-feature,
.ax .ax-info,
.ax .ax-post {
  position: relative;
  clip-path: var(--ax-cut-10);
}
.ax .ax-feature,
.ax .ax-info,
.ax .ax-post { clip-path: var(--ax-cut-7); }

.ax .ax-panel::after,
.ax .ax-box::after,
.ax .ax-strip::after,
.ax .ax-feature::after,
.ax .ax-info::after,
.ax .ax-post::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  width: auto;
  height: auto;
  border: 30px solid transparent;
  border-radius: 0;
  border-image: url("img/frame.svg") 30 / 30px stretch;
  pointer-events: none;
}
.ax .ax-feature::after,
.ax .ax-info::after,
.ax .ax-post::after {
  border-width: 16px;
  border-image: url("img/frame-card.svg") 16 / 16px stretch;
}
.ax .ax-post::after { opacity: .7; }

/* 3) Przyciski i zakładki ----------------------------------------------------------- */
.ax-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 34px;
  padding: 0 18px;
  border: 0;
  background: none;
  color: #fff !important;
  font: 700 13px/1 var(--nx-font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(20, 0, 60, .6);
  white-space: nowrap;
  cursor: pointer;
  filter: drop-shadow(0 6px 12px rgba(80, 30, 200, .28));
  transition: filter .25s, transform .25s var(--nx-ease);
}
.ax-btn::before,
.ax-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.ax-btn::before { inset: 0; z-index: -2; background: var(--ax-btn-edge); clip-path: var(--ax-cut-6); }
.ax-btn::after { inset: 1px; background: var(--ax-btn-fill); clip-path: var(--ax-cut-5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.ax-btn:hover { color: #fff !important; transform: translateY(-1px); filter: drop-shadow(0 0 14px rgba(140, 90, 255, .55)) brightness(1.08); }
.ax-btn:active { transform: none; }
.ax-btn i { font-size: 1em; }
.ax-btn--block { display: flex; width: 100%; }
.ax-btn--sm { height: 28px; padding: 0 14px; font-size: 12px; }
.ax-btn--line {
  --ax-btn-edge: linear-gradient(180deg, #f0cf8a, #a77a3c);
  --ax-btn-fill: linear-gradient(180deg, #2a1a45 0%, #1a1029 100%);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  filter: none;
}
.ax-btn--line:hover { filter: drop-shadow(0 0 10px rgba(230, 194, 124, .35)); }

.ax-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-tab {
  position: relative;
  isolation: isolate;
  height: 32px;
  padding: 0 16px;
  border: 0;
  background: none;
  color: var(--ax-ink-2);
  font: 500 12.5px/1 var(--nx-font-body);
  cursor: pointer;
  transition: color .2s, filter .2s;
}
.ax-tab::before,
.ax-tab::after { content: ""; position: absolute; pointer-events: none; }
.ax-tab::before { inset: 0; z-index: -2; background: rgba(255, 255, 255, .13); clip-path: var(--ax-cut-6); }
.ax-tab::after { inset: 1px; z-index: -1; background: linear-gradient(180deg, #171022, #0d0915); clip-path: var(--ax-cut-5); }
.ax-tab:hover { color: #fff; }
.ax-tab.is-active { color: #fff; font-weight: 600; filter: drop-shadow(0 0 8px rgba(124, 77, 255, .55)); }
.ax-tab.is-active::before { background: linear-gradient(180deg, #e0d0ff, #8e69f2); }
.ax-tab.is-active::after { background: linear-gradient(180deg, #8456f6, #5a2dcd); }

/* 4) Nagłówek: herb z logo, pasek z ikonami, licznik graczy ------------------------------- */
.ax-top {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) auto;
  align-items: start;
  height: var(--ax-top-h);
  margin-bottom: 2px;
}
.ax-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 236px;
  right: 40px;
  height: 76px;
  background: linear-gradient(90deg, transparent 0, rgba(10, 7, 16, .9) 7%, rgba(10, 7, 16, .92) 93%, transparent 100%);
}
.ax-top::after {
  content: "";
  position: absolute;
  top: 75px;
  left: 270px;
  right: 120px;
  height: 1px;
  background: var(--ax-line-gold);
}

.ax-logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 330px;
  height: 126px;
  margin-left: 30px;
  padding-top: 0;
  text-decoration: none !important;
}
.ax-logo__crest {
  position: absolute;
  top: 0;
  left: 50%;
  width: 304px;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55));
}
.ax-logo__crown {
  position: relative;
  width: 118px;
  height: auto;
  margin: -2px 0 -24px;
  filter: drop-shadow(0 0 6px rgba(175, 125, 255, .9)) drop-shadow(0 0 14px rgba(140, 80, 255, .55));
  transition: filter .35s;
}
.ax-logo__name {
  position: relative;
  font: 700 47px/1 var(--nx-font-display);
  letter-spacing: .01em;
  text-transform: uppercase;
  background: var(--ax-grad-lilac);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .6px rgba(58, 24, 112, .6);
  filter: drop-shadow(0 0 10px rgba(150, 100, 255, .6)) drop-shadow(0 2px 1px rgba(0, 0, 0, .9));
  transition: filter .35s;
}
.ax-logo__tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  color: #ece6f6;
  font: 600 12px/1 var(--nx-font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px #000;
}
.ax-logo__tag::before,
.ax-logo__tag::after { content: ""; width: 20px; height: 1px; background: linear-gradient(90deg, transparent, #d9cfee); }
.ax-logo__tag::after { transform: scaleX(-1); }
.ax-logo:hover .ax-logo__name { filter: drop-shadow(0 0 16px rgba(170, 120, 255, .85)) drop-shadow(0 2px 1px rgba(0, 0, 0, .9)); }
.ax-logo:hover .ax-logo__crown { filter: drop-shadow(0 0 14px rgba(190, 140, 255, .95)); }

.ax-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  height: 76px;
}
.ax-nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 94px;
  padding: 4px 8px 6px;
  color: #f2edf9 !important;
  font: 600 13px/1 var(--nx-font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-shadow: 0 1px 3px #000;
}
.ax-nav__icon {
  width: 28px;
  height: 28px;
  fill: url(#ax-g-rose);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7));
  transition: transform .3s var(--nx-ease), filter .3s;
}
.ax-nav__item::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #b48cff 25%, #e2d4ff 50%, #b48cff 75%, transparent);
  box-shadow: 0 0 12px rgba(150, 100, 255, .9);
  transform: scaleX(0);
  transition: transform .35s var(--nx-ease);
}
.ax-nav__item:hover { color: #fff !important; }
.ax-nav__item:hover .ax-nav__icon { transform: translateY(-2px); }
.ax-nav__item:hover .ax-nav__icon,
.ax-nav__item.is-active .ax-nav__icon { fill: url(#ax-g-violet); filter: drop-shadow(0 0 7px rgba(160, 110, 255, .85)); }
.ax-nav__item.is-active::after { transform: scaleX(1); }
.ax-nav__item:hover::after { transform: scaleX(.6); }
.ax-nav__item.is-active:hover::after { transform: scaleX(1); }

.ax-status {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 5px;
  width: 216px;
  height: 62px;
  margin: 7px 64px 0 0;
  padding: 0 18px 0 42px;
  background: url("img/badge.svg") center / 100% 100% no-repeat;
  color: #fff !important;
  text-decoration: none !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6));
  transition: filter .3s;
}
.ax-status:hover { filter: drop-shadow(0 0 12px rgba(155, 227, 90, .35)); }
.ax-status__title {
  position: relative;
  color: var(--ax-good);
  font: 700 13.5px/1 var(--nx-font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ax-status .nx-status__dot {
  position: absolute;
  top: 50%;
  left: -22px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: radial-gradient(circle at 35% 35%, #e6ffb8, #7fdc39 55%, #3c9a14);
  box-shadow: 0 0 10px rgba(140, 230, 80, .9);
}
.ax-status.is-offline .ax-status__title { color: var(--ax-bad); }
.ax-status.is-offline .nx-status__dot { background: radial-gradient(circle at 35% 35%, #ffd0d0, #f05454 55%, #a01d1d); box-shadow: 0 0 10px rgba(240, 84, 84, .9); }
.ax-status.is-offline .nx-status__dot::after { border-color: var(--ax-bad); }
.ax-status__count { color: #fff; font: 500 14.5px/1 var(--nx-font-body); }
.ax-status__count b { font-weight: 600; }

.ax-burger { display: none; }

/* 5) Kolumny i panele boczne ------------------------------------------------------------- */
.ax .ax-layout {
  grid-template-columns: var(--ax-left) minmax(0, 1fr) var(--ax-right);
  gap: var(--ax-gap);
}
.ax .ax-side { gap: 10px; margin-top: var(--ax-side-drop); }

.ax .ax-panel {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: var(--ax-panel);
  box-shadow: none;
}
.ax-panel__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 16px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0));
  font: 700 15px/1 var(--nx-font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ax-panel__head span {
  background: var(--ax-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8));
}
.ax-panel__head::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: var(--ax-line-gold);
}
.ax-gold-ico {
  flex: 0 0 auto;
  font-size: 18px;
  background: var(--ax-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8));
}
.ax-panel__body { padding: 10px 14px 12px; }
.ax-panel__empty { margin: 6px 2px 14px; color: var(--ax-muted); font: italic 500 16px/1.4 var(--nx-font-flavor); }

.ax-menu { margin: 0; padding: 5px 10px 9px; list-style: none; }
.ax-menu li + li { border-top: 1px solid rgba(255, 255, 255, .055); }
.ax-menu li:has(+ li > a.is-active),
.ax-menu li:has(> a.is-active) + li { border-top-color: transparent; }
.ax-menu a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 1px 0;
  padding: 6px 20px 6px 8px;
  color: var(--ax-ink) !important;
  font: 500 12.5px/1.3 var(--nx-font-body);
  text-decoration: none !important;
  transition: color .2s;
}
.ax-menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(124, 77, 255, .1);
  clip-path: var(--ax-cut-6);
  opacity: 0;
  transition: opacity .2s;
}
.ax-menu a > i:first-child {
  justify-self: center;
  color: var(--ax-lilac);
  font-size: 15px;
  filter: drop-shadow(0 0 6px rgba(150, 110, 255, .35));
  transition: color .2s, transform .25s var(--nx-ease);
}
.ax-menu a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-menu__chev { position: absolute; top: 50%; right: 10px; margin-top: -6px; color: #fff; font-size: 11px; opacity: 0; transition: opacity .2s, transform .25s var(--nx-ease); }
.ax-menu a:hover { color: #fff !important; }
.ax-menu a:hover::before { opacity: 1; }
.ax-menu a:hover > i:first-child { transform: scale(1.08); color: var(--ax-lilac-2); }
.ax-menu a:hover .ax-menu__chev { opacity: .55; transform: translateX(2px); }
.ax-menu a.is-active { color: #fff !important; font-weight: 600; filter: drop-shadow(0 0 10px rgba(124, 77, 255, .5)); }
.ax-menu a.is-active::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 50%),
    linear-gradient(90deg, #7444ea, #4f27b4);
  box-shadow: inset 0 0 0 1px #a98bff;
}
.ax-menu a.is-active > i:first-child { color: #fff; }
.ax-menu a.is-active .ax-menu__chev { opacity: 1; }

/* 6) Scena z tytułem (strona główna) ----------------------------------------------------- */
.ax .ax-center {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.ax-hero {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 740 / 204;
  margin: 0 -6px 3px;
}
.ax-hero__art {
  position: absolute;
  inset: 0;
  background: url("img/hero.webp") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.ax-hero__text {
  position: absolute;
  inset: auto 0 7.5%;
  display: grid;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}
.ax-hero__tag {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  margin: 0;
  color: #f2ecfa;
  font: 600 2.05cqw/1 var(--nx-font-display);
  letter-spacing: .36em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px #000;
}
.ax-hero__tag::before,
.ax-hero__tag::after { content: ""; width: 5cqw; height: 1px; background: linear-gradient(90deg, transparent, #d6cbe9); }
.ax-hero__tag::after { transform: scaleX(-1); }
.ax-hero__flavor {
  margin: 1.1cqw 0 0;
  color: #f1ecf8;
  font: italic 500 3.15cqw/1.1 var(--nx-font-flavor);
  text-shadow: 0 2px 8px #000, 0 0 2px #000;
}

/* 7) Karty pod sceną -------------------------------------------------------------------- */
.ax-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.ax-feature {
  display: block;
  height: 136px;
  overflow: hidden;
  background: #0d0915;
  color: inherit !important;
  text-decoration: none !important;
}
.ax-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s var(--nx-ease), filter .4s;
}
.ax-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 6, 12, 0) 38%, rgba(8, 6, 12, .62) 60%, rgba(8, 6, 12, .9) 100%);
}
.ax-feature__text {
  position: absolute;
  left: 10px;
  right: 30px;
  bottom: 13px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}
.ax-feature__title {
  color: var(--ax-cream);
  font: 700 16px/1.05 var(--nx-font-display);
  text-shadow: 0 2px 6px #000, 0 0 2px #000;
}
.ax-feature__sub { color: #ebe5f5; font: 500 12px/1.2 var(--nx-font-body); text-shadow: 0 1px 3px #000; }
.ax-feature__chev {
  position: absolute;
  right: 13px;
  bottom: 30px;
  z-index: 2;
  color: var(--ax-gold);
  font-size: 15px;
  transition: transform .3s var(--nx-ease);
}
.ax-feature:hover .ax-feature__img { transform: scale(1.05); filter: brightness(1.12) saturate(1.1); }
.ax-feature:hover .ax-feature__chev { transform: translateX(3px); }

/* 8) Pasek informacji ------------------------------------------------------------------- */
.ax-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin: 0 0 12px;
  padding: 10px 16px;
  list-style: none;
  background: linear-gradient(180deg, rgba(20, 15, 31, .92), rgba(12, 9, 19, .94));
  color: #f0ebf8;
  font: 500 11.5px/1.2 var(--nx-font-body);
  letter-spacing: -.005em;
}
.ax-info li { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.ax-info i { margin-right: 5px; color: var(--ax-lilac); font-size: 14px; }
.ax-info b { color: #fff; font-weight: 500; }
.ax-info li:last-child b { font-weight: 700; }

/* 9) Newsy --------------------------------------------------------------------------------- */
.ax .ax-box { background: var(--ax-panel); }
.ax-box__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 18px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
}
.ax-box__head::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: var(--ax-line-gold);
}
.ax-box__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font: 700 21px/1 var(--nx-font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ax-box__title { color: var(--ax-gold); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.ax-box__title .ax-gold-ico { font-size: 23px; }

.ax-tickers {
  display: grid;
  gap: 4px;
  margin: 12px 14px 0;
  padding: 8px 14px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 4px;
  background: rgba(8, 6, 13, .55);
  color: var(--ax-ink-2);
  font-size: 12px;
}
.ax-tickers li { display: flex; align-items: baseline; gap: 12px; }
.ax-tickers li.is-hidden { opacity: .5; }
.ax-tickers time { flex: 0 0 auto; color: var(--ax-gold); font: 700 11.5px/1 var(--nx-font-body); letter-spacing: .04em; }
.ax-tickers p { margin: 0; }

.ax-news__list { display: grid; gap: 10px; padding: 14px 14px 4px; }
.ax-post {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  min-height: 150px;
  padding: 8px 14px 8px 8px;
  background: var(--ax-panel-2);
}
.ax-post.is-hidden { opacity: .55; }
.ax-post[hidden] { display: none; }
.ax-post__media {
  position: relative;
  display: block;
  align-self: start;
  aspect-ratio: 167 / 134;
  overflow: hidden;
  border: 1px solid rgba(230, 194, 124, .4);
  border-radius: 4px;
  background: #0d0915;
}
.ax-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nx-ease); }
.ax-post:hover .ax-post__media img { transform: scale(1.05); }
.ax-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 5px 9px 4px;
  border: 1px solid #b89aff;
  border-radius: 6px;
  background: linear-gradient(180deg, #8c5ff7, #5b2fd0);
  box-shadow: 0 0 10px rgba(124, 77, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
  color: #fff;
  font: 700 10.5px/1 var(--nx-font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ax-badge--event { background: linear-gradient(180deg, #a65cf2, #6a24c4); }
.ax-badge--system { background: linear-gradient(180deg, #6d6af7, #3a2fc0); border-color: #a9a6ff; }
.ax-badge--news { background: linear-gradient(180deg, #9a7a3e, #6b4d1c); border-color: #e6c27c; box-shadow: 0 0 10px rgba(230, 194, 124, .45); }

.ax-post__body { position: relative; display: flex; flex-direction: column; min-width: 0; padding-top: 3px; padding-bottom: 2px; }
.ax-post__text { flex: 1 1 auto; }
.ax-post__date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 5px;
  color: var(--ax-lilac-2);
  font: 500 12.5px/1 var(--nx-font-body);
}
.ax-post__date i { color: var(--ax-lilac); font-size: 14px; }
.ax-post__date em { color: var(--ax-bad); font-style: normal; }
.ax-post__title { margin: 0 0 7px; font: 700 19.5px/1.15 var(--nx-font-display); letter-spacing: .01em; }
.ax-post__title a { color: var(--ax-cream) !important; text-decoration: none !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
.ax-post__title a:hover { color: #fff !important; }
.ax-post__text { color: #d9d2e8; font-size: 13px; line-height: 1.45; }
.ax-post__text p { margin: 0 0 6px; }
.ax-post__text ul,
.ax-post__text ol { margin: 4px 0 0; padding-left: 18px; }
.ax-post__text li { margin: 1px 0; }
.ax-post__text li::marker { color: #f0a868; }
.ax-post__text strong,
.ax-post__text b { color: #fff; font-weight: 600; }
.ax-post__text a { color: var(--ax-lilac-2); }
.ax-post__text img { max-width: 100%; height: auto; }
.ax-post__text > :last-child { margin-bottom: 0; }
.ax-post__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 6px;
}
.ax-post__comments { color: var(--ax-muted) !important; font-size: 12.5px; }
.ax-post__admin { margin-top: 10px; font-size: 12px; }
.ax-news__none { margin: 6px 4px 10px; color: var(--ax-muted); font: italic 500 17px/1.4 var(--nx-font-flavor); }
.ax-news__archive {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 10px 24px 16px;
  color: var(--ax-gold) !important;
  font: 600 12px/1 var(--nx-font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
}
.ax-news__archive i { transition: transform .3s var(--nx-ease); }
.ax-news__archive:hover i { transform: translateX(4px); }
.ax-news__fallback { padding: 20px 22px; }
.ax-empty { padding: 40px 26px; text-align: center; }
.ax-empty h3 { margin: 0 0 8px; color: var(--ax-gold); font: 700 20px var(--nx-font-display); }
.ax-empty p { max-width: 460px; margin: 0 auto; color: var(--ax-muted); }

/* 10) Prawa kolumna: logowanie, klient, top gracze --------------------------------------------- */
.ax-field { position: relative; display: block; margin-bottom: 8px; }
.ax-field > i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: var(--ax-lilac);
  font-size: 13px;
  transform: translateY(-50%);
  pointer-events: none;
}
.ax-field input {
  width: 100%;
  height: 31px;
  padding: 0 36px 0 37px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: rgba(5, 3, 9, .62);
  color: #fff;
  font: 500 12.5px var(--nx-font-body);
  transition: border-color .2s, box-shadow .2s;
}
.ax-field input::placeholder { color: #c7bfd8; opacity: .9; }
.ax-field input:focus { outline: none; border-color: rgba(160, 120, 255, .8); box-shadow: 0 0 0 3px rgba(124, 77, 255, .2); }
.ax-field__eye {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #d7c9ff;
  font-size: 14px;
  transform: translateY(-50%);
  cursor: pointer;
}
.ax-field__eye:hover { color: #fff; background: rgba(124, 77, 255, .15); }
.ax-login__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
}
.ax-login__row a { color: var(--ax-lilac-2) !important; }
.ax-check { display: inline-flex; align-items: center; gap: 9px; color: var(--ax-ink); cursor: pointer; }
.ax-check input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1px solid rgba(200, 180, 255, .5);
  border-radius: 3px;
  background: rgba(5, 3, 9, .62);
  cursor: pointer;
}
.ax-check input::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .15s; }
.ax-check input:checked { border-color: #c4a8ff; background: #7444ea; }
.ax-check input:checked::after { transform: rotate(-45deg) scale(1); }
.ax-login__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  color: #fff !important;
  font: 500 12.5px/1 var(--nx-font-body);
  text-decoration: none !important;
}
.ax-login__link i { transition: transform .3s var(--nx-ease); }
.ax-login__link:hover i { transform: translateX(4px); }
.ax-welcome p { margin: 0 0 14px; color: var(--ax-ink-2); text-align: center; }
.ax-welcome b { color: var(--ax-cream); }

.ax .ax-client {
  padding: 8px 14px 11px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 34%, rgba(124, 77, 255, .2), transparent 70%),
    var(--ax-panel);
  text-align: center;
}
.ax-client__emblem {
  display: block;
  width: 142px;
  height: auto;
  margin: 0 auto 4px;
  filter: drop-shadow(0 0 16px rgba(140, 90, 255, .45));
  transition: filter .4s, transform .4s var(--nx-ease);
}
.ax-client:hover .ax-client__emblem { transform: translateY(-2px); filter: drop-shadow(0 0 22px rgba(160, 110, 255, .7)); }
.ax-client__btn { height: 34px; font-size: 13.5px; }
.ax-client__btn i { font-size: 16px; }
.ax-client__meta { margin: 7px 0 0; color: #ddd5ec; font-size: 11.5px; }

.ax-fame { margin: 0 0 10px; padding: 0; list-style: none; }
.ax-fame__row {
  display: grid;
  grid-template-columns: 28px 40px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 3px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.ax-fame__rank {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: #08060c;
  color: #fff;
  font: 700 13px/1 var(--nx-font-display);
}
.ax-fame__row--1 .ax-fame__rank,
.ax-fame__row--2 .ax-fame__rank,
.ax-fame__row--3 .ax-fame__rank { width: 28px; height: 28px; border: 0; background: url("img/medal-1.svg") center / 100% no-repeat; color: #5b3500; text-shadow: 0 1px 0 rgba(255, 240, 200, .6); }
.ax-fame__row--2 .ax-fame__rank { background-image: url("img/medal-2.svg"); color: #39414d; }
.ax-fame__row--3 .ax-fame__rank { background-image: url("img/medal-3.svg"); color: #4a1d05; }
.ax-fame__outfit { position: relative; width: 40px; height: 34px; }
.ax-fame__outfit img {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 58px;
  height: 58px;
  max-width: none;
  image-rendering: pixelated;
}
.ax-fame__info { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.ax-fame__info a { overflow: hidden; color: #fff !important; font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; }
.ax-fame__info a:hover { color: var(--ax-lilac-2) !important; }
.ax-fame__info a.is-online::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--ax-good); box-shadow: 0 0 8px var(--ax-good); vertical-align: middle; }
.ax-fame__info small { overflow: hidden; color: #b8aed0; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.ax-top5__more { width: calc(100% - 24px); margin: 0 12px; font-size: 13px; text-transform: none; letter-spacing: .02em; }

/* 11) Podstrony: ramka pod sceną (jak karty na głównej), nagłówek jak w ramce newsów ---------- */
.ax .ax-page { min-height: 420px; }
.ax-page__head { align-items: flex-end; }
.ax-page__heading { display: grid; gap: 7px; min-width: 0; }
.ax-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ax-muted);
  font: 600 10.5px/1 var(--nx-font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ax-crumbs a { color: var(--ax-lilac-2) !important; text-decoration: none !important; }
.ax-crumbs a:hover { color: #fff !important; }
.ax-crumbs i { font-size: 8px; opacity: .6; }
.ax-page__sub { margin: 0 0 2px; color: var(--ax-ink-2); font: italic 500 16px/1.3 var(--nx-font-flavor); text-align: right; }
.ax .ax-content { padding: 22px 22px 30px; }

/* 12) Stopka: pasek cech serwera ----------------------------------------------------------- */
.ax-foot { position: relative; z-index: 1; margin-top: 16px; }
.ax .ax-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 800px;
  margin: 0 auto;
  padding: 4px 8px;
  background: var(--ax-panel);
}
.ax-strip__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  padding: 13px 6px 12px;
  color: inherit !important;
  text-align: center;
  text-decoration: none !important;
}
.ax-strip__item + .ax-strip__item::before {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 16%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 194, 124, .25), transparent);
}
.ax-strip__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  color: #f2b46a;
  fill: url(#ax-g-gold);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7));
  transition: transform .35s var(--nx-ease), filter .35s;
}
.ax-strip__icon--crystal { fill: url(#ax-g-crystal); filter: drop-shadow(0 0 7px rgba(160, 100, 255, .65)); }
.ax-strip__icon--laurel { color: #e9b45e; }
.ax-strip__title { color: #f5ecdc; font: 700 12.5px/1.1 var(--nx-font-display); letter-spacing: .03em; text-transform: uppercase; }
.ax-strip__sub { color: #c4bad8; font-size: 11.5px; line-height: 1.2; }
.ax-strip__item:hover .ax-strip__icon { transform: translateY(-3px); filter: drop-shadow(0 0 10px rgba(242, 180, 106, .6)); }
.ax-strip__item:hover .ax-strip__icon--crystal { filter: drop-shadow(0 0 12px rgba(170, 110, 255, .9)); }
.ax-strip__item:hover .ax-strip__title { color: #fff; }

.ax-foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 8px 30px;
  color: #8f86a8;
  font-size: 12.5px;
}
.ax-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ax-foot__links a { color: #b9afcf !important; text-decoration: none !important; }
.ax-foot__links a:hover { color: #fff !important; }

/* 13) Szuflada (telefon) ---------------------------------------------------------------------- */
.ax .nx-drawer__panel { border-left-color: rgba(230, 194, 124, .3); background: linear-gradient(180deg, #160f22, #0a070f); }
.ax-drawer__logo {
  font: 700 26px/1 var(--nx-font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  background: var(--ax-grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(150, 100, 255, .6));
}
.ax-drawer__icon { width: 18px; height: 18px; fill: url(#ax-g-violet); }
.ax .nx-drawer__label { color: var(--ax-gold); }
.ax .nx-drawer__link i { color: var(--ax-lilac); }
.ax .nx-drawer__link:hover,
.ax .nx-drawer__link.is-active { background: rgba(124, 77, 255, .14); }
.ax .nx-drawer__close { border-color: rgba(230, 194, 124, .35); color: var(--ax-gold); }

/* 14) Responsywność ------------------------------------------------------------------------------ */
@media (max-width: 1300px) {
  :root[data-nx-theme="arcane"] { --ax-wrap: calc(100vw - 24px); --ax-right: 254px; --ax-gap: 12px; }
  .ax-top { grid-template-columns: 300px minmax(0, 1fr) auto; }
  .ax-logo { width: 300px; margin-left: 0; }
  .ax-nav__item { min-width: 78px; }
  .ax-status { margin-right: 24px; }
}

@media (max-width: 1140px) {
  :root[data-nx-theme="arcane"] { --ax-side-drop: 0px; }
  .ax-top { grid-template-columns: 250px minmax(0, 1fr) auto; height: auto; min-height: 84px; margin-bottom: 18px; }
  .ax-top::before { left: 190px; right: 0; }
  .ax-top::after { left: 210px; right: 40px; }
  .ax-logo { width: 250px; height: 112px; margin-left: 0; }
  .ax-logo__crest { width: 250px; }
  .ax-logo__crown { width: 96px; margin-bottom: -13px; }
  .ax-logo__name { font-size: 38px; }
  .ax-logo__tag { font-size: 10.5px; }
  .ax-nav__item { min-width: 66px; padding-inline: 4px; font-size: 11.5px; }
  .ax-status { width: 186px; margin-right: 0; padding-left: 38px; }
  .ax-status__title { font-size: 12px; }
  .ax-status__count { font-size: 13px; }
  .ax .ax-layout { grid-template-columns: var(--ax-left) minmax(0, 1fr); }
  .ax .nx-side--right { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .ax .ax-backdrop { background-size: cover; }
}

@media (max-width: 900px) {
  :root[data-nx-theme="arcane"] { --ax-wrap: calc(100vw - 20px); }
  .ax .ax-backdrop {
    background:
      linear-gradient(180deg, rgba(10, 7, 15, .2), rgba(10, 7, 15, .85) 70%),
      var(--ax-bg) url("img/bg-sm.webp") center top / cover no-repeat;
  }
  .ax-top {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 0;
    margin: 0 0 12px;
    padding: 10px 0 12px;
  }
  .ax-top::before { left: -10px; right: -10px; top: 0; height: 100%; background: rgba(10, 7, 16, .9); }
  .ax-top::after { top: auto; bottom: 0; left: 0; right: 0; }
  .ax-logo { width: auto; height: auto; padding: 0; align-items: flex-start; }
  .ax-logo__crest,
  .ax-logo__crown { display: none; }
  .ax-logo__name { font-size: 30px; }
  .ax-logo__tag { margin-top: 3px; font-size: 9.5px; }
  .ax-logo__tag::before { display: none; }
  .ax-nav { display: none; }
  .ax-status { grid-column: 3; width: 170px; height: 52px; margin: 0; padding-left: 36px; }
  .ax-burger {
    display: grid;
    grid-column: 4;
    border-color: rgba(230, 194, 124, .4);
    background: rgba(10, 7, 16, .7);
  }
  .ax-burger span { width: 20px; background: var(--ax-gold); box-shadow: 0 0 6px rgba(230, 194, 124, .5); }
  .ax .ax-layout { grid-template-columns: minmax(0, 1fr); }
  .ax .nx-side--left { display: none; }
  .ax .nx-side--right { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .ax-hero { margin-inline: 0; }
  .ax-info { justify-content: center; }
  .ax .ax-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ax-strip__item:nth-child(4)::before { display: none; }
  .ax-foot__bar { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
  .ax-features { grid-template-columns: minmax(0, 1fr); }
  .ax-feature { height: 120px; }
  .ax-box__head { padding: 14px 14px 12px; }
  .ax-box__title { font-size: 19px; }
  .ax-news__list { padding: 12px 10px 4px; }
  .ax-post { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 9px 12px 12px 9px; }
  .ax-post__media { aspect-ratio: 16 / 7; }
  .ax-post__foot { margin-top: 12px; }
  .ax-hero { aspect-ratio: 16 / 9; }
  .ax-hero__art { background-position: 50% 0; }
  .ax-hero__text { inset: auto 0 9%; }
  .ax-hero__tag { font-size: 3.4cqw; }
  .ax-hero__flavor { margin-top: 2cqw; font-size: 5.4cqw; }
  .ax-page__sub { text-align: left; }
  .ax .ax-content { padding: 18px 12px 26px; }
}

@media (max-width: 480px) {
  .ax-status { width: auto; height: auto; padding: 8px 12px 8px 32px; background: rgba(10, 7, 16, .8); border: 1px solid rgba(230, 194, 124, .4); clip-path: var(--ax-cut-6); }
  .ax-status__title { position: static; font-size: 0; }
  .ax-status .nx-status__dot { top: 50%; left: 12px; }
  .ax-status__count { font-size: 12.5px; }
  .ax-logo__name { font-size: 26px; }
  .ax .ax-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-strip__item:nth-child(odd)::before { display: none; }
  .ax-strip__item:nth-child(4)::before { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .ax-feature__img,
  .ax-post__media img { transition: none; }
}
