/*!
 * New Era Online - website v3 "LONG HU" (01.10.2026)
 * Design: synteza 2 propozycji (A "The Clash" kinowa + B "LONG HU" system) - docs/marketing/strona-v3-redesign-2026-10-01.md
 * Zasady: zloto = akcja/stan aktywny, jadeit = rzadkie klejnoty, karmazyn = konflikt ([data-side="tiger"]).
 * Bez CDN (CSP), fonty Cinzel + Figtree z public/vendor/fonts. Tylko transform/opacity w animacjach.
 */

/* ============================================================ 1. TOKENS */
:root {
  color-scheme: dark;

  --s-00: #060607;
  --s-0: #0b0a09;
  --s-1: #12100e;
  --s-2: #1a1714;
  --s-3: #24201b;
  --s-4: #302a23;
  --s-glass: rgba(14, 12, 10, .80);
  --s-scrim: rgba(6, 5, 4, .74);
  --sheen: none; /* 01.10: bez polysku na panelach (plaski styl 2026) */

  --line-1: rgba(233, 196, 110, .10);
  --line-2: rgba(233, 196, 110, .18);
  --line-3: rgba(233, 196, 110, .34);
  --line-input: #6b5e4e;

  --t-1: #f3ebdd;
  --t-2: #c9bda8;
  --t-3: #9c907c;
  --t-disabled: #6b6255;
  --t-on-gold: #1b1206;

  --gold-50: #fff8e6; --gold-100: #fcedc6; --gold-200: #f5db98; --gold-300: #e9c46e; --gold-400: #d6af5c;
  --gold-500: #b8903f; --gold-600: #94702c; --gold-700: #6e511e; --gold-800: #483412; --gold-900: #261b09;
  --gold-rgb: 214, 175, 92;

  --jade-100: #cff3e0; --jade-200: #9be6be; --jade-300: #5ccb8f; --jade-400: #2ea060; --jade-500: #23844f;
  --jade-600: #1a6641; --jade-700: #134b30; --jade-800: #0c311f;
  --jade-rgb: 46, 160, 96;

  --crimson-100: #fad4d5; --crimson-200: #f5a5a8; --crimson-300: #ee6d72; --crimson-400: #d93a42;
  --crimson-500: #a81c22; --crimson-600: #86161b; --crimson-700: #621014; --crimson-800: #410a0d;
  --crimson-rgb: 168, 28, 34;
  --gem-crimson: #ff3b5c;

  --el-fire: #ff8a3d; --el-frost: #86d3f2; --el-poison: #b9dc4a; --el-blood: #f0506a;
  --race-ch: #ee7a55; --race-eu: #79a6f2;
  --rank-1: #f2cb57; --rank-2: #cbd3dc; --rank-3: #d68f55;

  --ok: var(--jade-300); --ok-bg: rgba(46, 160, 96, .12);
  --warn: #f2ae45; --warn-bg: rgba(242, 174, 69, .10);
  --danger: var(--crimson-300); --danger-bg: rgba(217, 58, 66, .12);
  --info: #8fc6d8; --info-bg: rgba(143, 198, 216, .10);

  /* strona (Dragon = domyslna) */
  --accent: var(--gold-300);
  --accent-strong: var(--gold-400);
  --accent-2: var(--jade-300);
  --accent-soft: rgba(var(--gold-rgb), .10);
  --accent-line: rgba(var(--gold-rgb), .38);
  --accent-glow: 0 0 0 1px rgba(var(--gold-rgb), .30);
  --wash: none; /* 01.10: plasko (bez poswiaty w rogu paneli) */
  --focus: var(--gold-200);

  /* 01.10 ~03:30: zloto PLASKIE (badanie: LoL/Valorant/WoW/Stripe/Vercel/Apple - zero gradientow i poswiat w CSS).
     Nazwy zostaja (uzywaja ich tez obszary konta/rankingow), wartosci = jednolity kolor. */
  --grad-gold: var(--gold-400);
  --grad-gold-hover: var(--gold-300);
  --grad-gold-text: linear-gradient(var(--gold-200), var(--gold-200));

  --ff-display: "Cinzel", Georgia, "Times New Roman", serif;
  --ff-ui: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Microsoft YaHei", "PingFang SC", sans-serif;
  --fs-2xs: .6875rem;
  --fs-xs: .75rem;
  --fs-sm: .8125rem;
  --fs-table: .9375rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --fs-h4: clamp(1.0625rem, .98rem + .45vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.08rem + .7vw, 1.625rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --fs-display: clamp(2.6rem, 1.4rem + 5vw, 5.5rem);
  --fs-stat: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --ls-caps: .08em;
  --ls-eyebrow: .28em;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 32px;
  --sp-8: 40px; --sp-9: 48px; --sp-10: 64px; --sp-11: 80px; --sp-12: 96px;
  --section-y: clamp(64px, 7vw, 96px);
  --gutter: 16px;

  --r-1: 4px; --r-2: 6px; --r-3: 10px; --r-4: 14px; --r-pill: 999px;
  --chamfer: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);

  --sh-1: none;
  --sh-2: 0 16px 40px -20px rgba(0, 0, 0, .7);
  --sh-3: 0 0 0 1px var(--line-2), 0 24px 56px -18px rgba(0, 0, 0, .85);
  --sh-btn: none;

  --z-sticky: 10; --z-header: 1030; --z-dropdown: 1040; --z-drawer: 1050; --z-modal: 1060; --z-toast: 1080;

  --util-h: 34px; --hdr-h: 68px; --hdr-h-m: 60px;
  --container: 1240px; --container-wide: 1360px; --measure: 68ch;

  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-4: 640ms; --dur-5: 1400ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-slash: cubic-bezier(.7, 0, .3, 1);

  /* Bootstrap bridge */
  --bs-body-bg: var(--s-0);
  --bs-body-bg-rgb: 11, 10, 9;
  --bs-body-color: var(--t-2);
  --bs-body-color-rgb: 201, 189, 168;
  --bs-emphasis-color: var(--t-1);
  --bs-secondary-color: var(--t-3);
  --bs-tertiary-bg: var(--s-1);
  --bs-secondary-bg: var(--s-2);
  --bs-border-color: var(--line-2);
  --bs-border-color-translucent: var(--line-1);
  --bs-heading-color: var(--t-1);
  --bs-link-color: var(--gold-300);
  --bs-link-color-rgb: 233, 196, 110;
  --bs-link-hover-color: var(--gold-100);
  --bs-link-hover-color-rgb: 252, 237, 198;
  --bs-body-font-family: var(--ff-ui);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;
  --bs-primary: var(--gold-400);
  --bs-primary-rgb: 214, 175, 92;
  --bs-primary-text-emphasis: var(--gold-200);
  --bs-primary-bg-subtle: rgba(var(--gold-rgb), .12);
  --bs-primary-border-subtle: rgba(var(--gold-rgb), .35);
  --bs-success-rgb: 46, 160, 96;
  --bs-danger-rgb: 217, 58, 66;
  --bs-warning-rgb: 242, 174, 69;
  --bs-focus-ring-color: rgba(var(--gold-rgb), .35);
  --bs-border-radius: var(--r-2);
  --bs-border-radius-lg: var(--r-3);
  --bs-border-radius-sm: var(--r-1);
  --bs-code-color: var(--gold-200);
}

[data-bs-theme="dark"] {
  --bs-body-bg: var(--s-0);
  --bs-body-color: var(--t-2);
  --bs-emphasis-color: var(--t-1);
  --bs-secondary-color: var(--t-3);
  --bs-tertiary-bg: var(--s-1);
  --bs-secondary-bg: var(--s-2);
  --bs-border-color: var(--line-2);
  --bs-heading-color: var(--t-1);
  --bs-link-color: var(--gold-300);
  --bs-link-color-rgb: 233, 196, 110;
  --bs-link-hover-color: var(--gold-100);
  --bs-link-hover-color-rgb: 252, 237, 198;
  --bs-primary-text-emphasis: var(--gold-200);
  --bs-primary-bg-subtle: rgba(var(--gold-rgb), .12);
  --bs-primary-border-subtle: rgba(var(--gold-rgb), .35);
}

[data-side="tiger"] {
  --accent: var(--crimson-300);
  --accent-strong: var(--crimson-400);
  --accent-2: var(--gold-400);
  --accent-soft: rgba(217, 58, 66, .12);
  --accent-line: rgba(217, 58, 66, .42);
  --accent-glow: 0 0 0 1px rgba(217, 58, 66, .32);
  --wash: none;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

:lang(ar) { --ls-caps: 0; --ls-eyebrow: 0; }

/* ============================================================ 2. BASE */
html { scroll-padding-top: calc(var(--hdr-h) + 64px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--s-0);
  color: var(--t-2);
  font-family: var(--ff-ui);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* delikatne ziarno "jedwabiu" - 0 zapytan */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .7 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
::selection { background: rgba(var(--gold-rgb), .35); color: var(--gold-50); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--t-1); font-weight: 600; letter-spacing: .01em; }
h1, .h1, h2, .h2, h3, .h3 { font-family: var(--ff-display); }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 700; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.3; }
h5, .h5 { font-size: 1.0625rem; }
h6, .h6 { font-size: .9375rem; }
p { margin-bottom: 1rem; }
a { color: var(--gold-300); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-1) var(--ease-out); }
a:hover { color: var(--gold-100); }
strong, b { color: var(--t-1); font-weight: 600; }
hr { border-color: var(--line-2); opacity: 1; }
img { max-width: 100%; height: auto; }
.lead { font-size: var(--fs-lg); color: var(--t-2); font-weight: 400; }
.text-body-secondary { color: var(--t-3) !important; }
.text-body-emphasis { color: var(--t-1) !important; }
.text-primary { color: var(--gold-300) !important; }
.bg-body, .bg-body-tertiary { background-color: transparent !important; }
.num, .tabular { font-variant-numeric: tabular-nums lining-nums; }
bdi { unicode-bidi: isolate; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.form-control:focus, .form-select:focus { box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .30) !important; }

.ne-skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 2000;
  background: var(--gold-300); color: var(--t-on-gold); padding: 10px 16px; border-radius: var(--r-2); font-weight: 700;
  transition: top var(--dur-2) var(--ease-out);
}
.ne-skip:focus { top: 12px; color: var(--t-on-gold); }

.container { max-width: calc(var(--container) + var(--gutter) * 2); padding-inline: var(--gutter); }
.container-wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.container-narrow { max-width: calc(760px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }

/* typografia pomocnicza */
.ne-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-display); font-weight: 700; font-size: clamp(.6875rem, .64rem + .2vw, .8125rem);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gold-300);
}
.ne-eyebrow::before, .ne-eyebrow::after {
  content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500));
}
.ne-eyebrow::after { transform: scaleX(-1); }
.ne-eyebrow--start::before { display: none; }
[data-side="tiger"] .ne-eyebrow { color: var(--crimson-300); }
.ne-gold-text {
  background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .ne-gold-text { color: var(--gold-300); -webkit-text-fill-color: currentColor; }
}
.ne-gem {
  display: inline-block; width: 7px; height: 7px; transform: rotate(45deg); flex: none; vertical-align: middle;
  background: var(--jade-300);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .55);
  margin-inline: 10px;
}
.ne-gem--crimson { background: var(--crimson-400); }
.ne-section-head { text-align: center; max-width: 760px; margin: 0 auto var(--sp-9); }
.ne-section-head h2 { margin: var(--sp-3) 0 var(--sp-4); }
.ne-section-head p { color: var(--t-2); font-size: var(--fs-lg); margin: 0; }
.ne-section-head--start { text-align: start; margin-inline: 0; }
.ne-section { padding-block: var(--section-y); position: relative; }
.ne-section--wash { background: var(--wash); }
.ne-section--tint { background: linear-gradient(180deg, rgba(18, 16, 14, 0), var(--s-1) 18%, var(--s-1) 82%, rgba(18, 16, 14, 0)); }

/* horyzontalny separator (smok) */
.ne-divider { display: flex; align-items: center; justify-content: center; gap: 0; height: 24px; margin: 0 auto; max-width: 560px; }
.ne-divider::before, .ne-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .55)); }
.ne-divider::after { transform: scaleX(-1); }

/* ============================================================ 3. HEADER */
.ne-header { position: sticky; top: calc(var(--util-h) * -1); z-index: var(--z-header); } /* pasek util odjezdza, .ne-bar zostaje (sticky w samym .ne-bar nie dziala - rodzic ma jego wysokosc) */
.ne-util {
  height: var(--util-h); background: var(--s-00); border-bottom: 1px solid var(--line-1);
  font-size: var(--fs-xs); color: var(--t-3); position: relative; z-index: 2;
}
.ne-util__in { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
.ne-util__grow { flex: 1; }
.ne-util .ne-clock-key { text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-2xs); color: var(--t-3); margin-inline-end: 6px; }
.ne-util .ne-clock-val { color: var(--gold-100); font-weight: 600; font-variant-numeric: tabular-nums; }
.ne-util .ne-clock-tz { color: var(--gold-400); font-weight: 600; margin-inline-start: 4px; }
.ne-util__phase { display: inline-flex; align-items: center; gap: 8px; color: var(--t-2); white-space: nowrap; }
.ne-util__phase b { color: var(--gold-200); font-weight: 600; }
.ne-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jade-300); flex: none; position: relative; }
.ne-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(var(--jade-rgb), .6); animation: ne-breathe 2.4s var(--ease-in-out) infinite; }
.ne-dot--live { background: var(--gem-crimson); }
.ne-dot--live::after { border-color: rgba(255, 59, 92, .6); }
@keyframes ne-breathe { 0%, 100% { transform: scale(.7); opacity: .9; } 50% { transform: scale(1.25); opacity: 0; } }
.ne-util__social { display: flex; gap: 2px; }
.ne-util__social a, .ne-util .ne-lang-btn {
  display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 6px; border-radius: var(--r-1);
  color: var(--t-3); text-decoration: none; font-size: .8125rem; background: none; border: 0;
}
.ne-util__social a:hover, .ne-util .ne-lang-btn:hover { color: var(--gold-200); background: rgba(255, 255, 255, .04); }
.ne-lang-btn { gap: 6px; display: inline-flex !important; align-items: center; }
.ne-flag { width: 18px; height: 18px; object-fit: contain; }

.ne-bar {
  position: sticky; top: 0; z-index: var(--z-header);
  background: linear-gradient(180deg, rgba(11, 10, 9, .92), rgba(11, 10, 9, .78));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-1);
  transition: background var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.ne-bar.is-stuck { border-bottom-color: var(--line-2); box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .9); }
.ne-bar::after { /* zlota nitka pod paskiem */
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(var(--gold-rgb), .45) 50%, transparent 95%); opacity: .6;
}
.ne-bar__in { height: var(--hdr-h); display: flex; align-items: center; gap: var(--sp-6); }
.ne-logo { display: inline-flex; align-items: center; flex: none; }
.ne-logo img { height: 58px; width: auto; transition: transform var(--dur-3) var(--ease-out); transform-origin: left center; }
.ne-bar.is-stuck .ne-logo img { transform: scale(.88); }
.ne-nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ne-nav > li { position: relative; }
.ne-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  color: var(--t-2); font-weight: 600; font-size: .9375rem; letter-spacing: .01em; text-decoration: none; border-radius: var(--r-2);
  background: none; border: 0;
}
.ne-nav__link:hover, .ne-nav__link[aria-expanded="true"] { color: var(--t-1); background: rgba(255, 255, 255, .035); }
.ne-nav__link.is-active { color: var(--t-1); }
.ne-nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px; transform: translateX(-50%);
  background: var(--gold-300); border-radius: 2px;
}
.ne-nav__link .fa-chevron-down { font-size: .625rem; opacity: .7; transition: transform var(--dur-2) var(--ease-out); }
.ne-nav__link[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.ne-bar__end { margin-inline-start: auto; display: flex; align-items: center; gap: var(--sp-2); }
.ne-burger { display: none; }

/* dropdowny / mega */
.dropdown-menu {
  --bs-dropdown-bg: var(--s-3);
  --bs-dropdown-border-color: var(--line-2);
  --bs-dropdown-link-color: var(--t-2);
  --bs-dropdown-link-hover-color: var(--t-1);
  --bs-dropdown-link-hover-bg: rgba(var(--gold-rgb), .10);
  --bs-dropdown-link-active-bg: rgba(var(--gold-rgb), .16);
  --bs-dropdown-link-active-color: var(--gold-100);
  --bs-dropdown-divider-bg: var(--line-2);
  --bs-dropdown-border-radius: var(--r-3);
  --bs-dropdown-padding-y: 6px;
  --bs-dropdown-item-padding-y: 8px;
  box-shadow: var(--sh-3);
  font-size: .9375rem;
}
.dropdown-item { border-radius: var(--r-1); margin: 0 6px; width: auto; display: flex; align-items: center; gap: 10px; }
.ne-mega { min-width: 520px; padding: 14px !important; }
.ne-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.ne-mega__label { grid-column: 1 / -1; font-size: var(--fs-2xs); letter-spacing: .14em; text-transform: uppercase; color: var(--t-3); padding: 6px 12px 2px; }
.ne-mega .dropdown-item { margin: 0; padding: 10px 12px; align-items: flex-start; white-space: normal; }
.ne-mega .dropdown-item i { color: var(--gold-400); width: 18px; text-align: center; margin-top: 3px; }
.ne-mega .dropdown-item small { display: block; color: var(--t-3); font-size: var(--fs-sm); line-height: 1.35; }
.ne-mega .dropdown-item[data-side="tiger"] i { color: var(--crimson-300); }
.ne-mega--community { min-width: 460px; }
.ne-mega__forums { display: grid; gap: 8px; }
.ne-forum-mini { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-2); background: var(--s-2); border: 1px solid var(--line-1); text-decoration: none; color: var(--t-2); }
.ne-forum-mini:hover { border-color: var(--line-3); color: var(--t-1); }
.ne-forum-mini img { height: 22px; width: auto; max-width: 120px; object-fit: contain; }
.ne-forum-mini span { margin-inline-start: auto; font-size: var(--fs-xs); color: var(--t-3); }

/* chip uzytkownika */
.ne-user { display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--s-2); color: var(--t-1); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.ne-user:hover { border-color: var(--line-3); color: var(--t-1); }
.ne-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(var(--gold-rgb), .5); background: var(--s-1); }
.ne-user__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* mobile drawer (Bootstrap offcanvas) */
.ne-drawer.offcanvas {
  --bs-offcanvas-width: min(88vw, 380px);
  --bs-offcanvas-bg: var(--s-1);
  --bs-offcanvas-border-color: var(--line-2);
  --bs-offcanvas-color: var(--t-2);
  background: var(--s-1);
}
.offcanvas-backdrop { --bs-backdrop-bg: #030303; --bs-backdrop-opacity: .72; }
.ne-drawer .offcanvas-header { border-bottom: 1px solid var(--line-1); }
.ne-drawer__nav { list-style: none; margin: 0; padding: 0; }
.ne-drawer__nav a, .ne-drawer__nav button.ne-acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 4px;
  color: var(--t-1); font-family: var(--ff-display); font-weight: 600; font-size: 1.125rem; text-decoration: none;
  border: 0; border-bottom: 1px solid var(--line-1); background: none; text-align: start;
}
.ne-drawer__nav a.is-active { color: var(--gold-200); }
.ne-drawer__sub { list-style: none; padding: 4px 0 8px 12px; margin: 0; }
.ne-drawer__sub a { font-family: var(--ff-ui); font-size: 1rem; font-weight: 500; color: var(--t-2); min-height: 44px; border-bottom: 0; }
.ne-drawer__block { padding-top: var(--sp-5); }
.ne-drawer__label { font-size: var(--fs-2xs); letter-spacing: .14em; text-transform: uppercase; color: var(--t-3); margin-bottom: 8px; }
.ne-drawer__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ne-drawer__langs a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-2); background: var(--s-2); border: 1px solid var(--line-1); color: var(--t-2); text-decoration: none; font-size: .9375rem; }
.ne-drawer__langs a.is-active { border-color: var(--line-3); color: var(--gold-200); }

/* 01.10: 7 pozycji menu + jezyk + 2 przyciski nie mieszcza sie ponizej 1200 px (przy 1024 zawijalo "Server History"
   i dawalo poziomy pasek) - od 1199 px menu w szufladzie. */
.ne-nav__link { white-space: nowrap; }
@media (max-width: 1199.98px) {
  .ne-bar__in { gap: var(--sp-4); }
  .ne-nav { display: none !important; }
  .ne-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 3px; border: 1px solid var(--line-2); background: transparent; color: var(--t-1); }
}
/* 01.10 ~03:50: 8. pozycja menu (Events) - przy 1200-1439 px pasek wychodzil 73 px poza ekran; ciasniejsze odstepy. */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .ne-bar__in { gap: var(--sp-4); }
  .ne-nav__link { padding: 0 9px; font-size: .875rem; }
  .ne-logo img { height: 50px; }
}
@media (max-width: 991.98px) {
  :root { --hdr-h: var(--hdr-h-m); }
  .ne-bar__end .ne-hide-m { display: none !important; }
  .ne-logo img { height: 42px; }
  .ne-util__social, .ne-util .ne-hide-m { display: none !important; }
}
@media (max-width: 575.98px) {
  .ne-util__phase { display: none; }
  .ne-util__in { justify-content: center; }
  .ne-bar__end .btn { padding-inline: 12px; }
}

/* ============================================================ 4. BUTTONS
   01.10 ~03:30 (uwaga usera: "usun sztuczne ai-owe przyciski podbijane ... sprawdz jak robia w 2026 profesjonalne firmy").
   Wzorzec z badania stron (LoL/Valorant, WoW, Stripe, Vercel/Geist, Apple, Linear): PLASKI kolor, bez gradientu, fazy,
   poswiaty i ruchu; hierarchia STYLEM (primary = pelne zloto, secondary = obrys 1px, ghost = sam tekst); hover = tylko
   kolor (~8% jasniej), active = ciemniej; focus = obrys 2px z odstepem (:focus-visible); przejscia 150 ms, tylko kolory. */
.btn {
  --bs-btn-font-family: var(--ff-ui);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 3px;
  --bs-btn-border-width: 1px;
  --bs-btn-padding-x: 20px;
  --bs-btn-padding-y: 0;
  --bs-btn-font-size: .8125rem;
  --bs-btn-line-height: 1;
  --bs-btn-box-shadow: none;
  --bs-btn-focus-box-shadow: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn i { font-size: .9em; }
.btn:focus-visible { outline: 2px solid var(--gold-100); outline-offset: 3px; box-shadow: none !important; }
.btn-lg { --bs-btn-padding-x: 30px; --bs-btn-font-size: .875rem; --bs-btn-border-radius: 3px; min-height: 52px; }
.btn-sm { --bs-btn-padding-x: 14px; --bs-btn-font-size: .75rem; min-height: 34px; }
.btn-primary, .btn-ne {
  --bs-btn-color: var(--t-on-gold); --bs-btn-bg: var(--gold-400); --bs-btn-border-color: var(--gold-400);
  --bs-btn-hover-color: var(--t-on-gold); --bs-btn-hover-bg: var(--gold-300); --bs-btn-hover-border-color: var(--gold-300);
  --bs-btn-active-color: var(--t-on-gold); --bs-btn-active-bg: var(--gold-500); --bs-btn-active-border-color: var(--gold-500);
  --bs-btn-disabled-color: var(--t-disabled); --bs-btn-disabled-bg: var(--s-3); --bs-btn-disabled-border-color: var(--s-3);
  --bs-btn-disabled-opacity: 1;
}
.btn-outline-primary, .btn-ne-secondary, .btn-secondary {
  --bs-btn-color: var(--gold-200); --bs-btn-bg: transparent; --bs-btn-border-color: rgba(var(--gold-rgb), .5);
  --bs-btn-hover-color: var(--gold-100); --bs-btn-hover-bg: rgba(var(--gold-rgb), .08); --bs-btn-hover-border-color: var(--gold-400);
  --bs-btn-active-color: var(--gold-100); --bs-btn-active-bg: rgba(var(--gold-rgb), .14); --bs-btn-active-border-color: var(--gold-400);
  --bs-btn-disabled-color: var(--t-disabled); --bs-btn-disabled-bg: transparent; --bs-btn-disabled-border-color: var(--line-2);
  --bs-btn-disabled-opacity: 1;
}
.btn-ne-ghost, .btn-link {
  --bs-btn-color: var(--t-2); --bs-btn-bg: transparent; --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--t-1); --bs-btn-hover-bg: rgba(255, 255, 255, .06); --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--t-1); --bs-btn-active-bg: rgba(255, 255, 255, .09); --bs-btn-active-border-color: transparent;
}
.btn-link { --bs-btn-color: var(--gold-300); --bs-btn-hover-color: var(--gold-100); --bs-btn-hover-bg: transparent; text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; }
.btn-danger {
  --bs-btn-color: #fff; --bs-btn-bg: var(--crimson-500); --bs-btn-border-color: var(--crimson-500);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--crimson-400); --bs-btn-hover-border-color: var(--crimson-400);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--crimson-600); --bs-btn-active-border-color: var(--crimson-600);
}
.btn-success {
  --bs-btn-color: #fff; --bs-btn-bg: var(--jade-500); --bs-btn-border-color: var(--jade-500);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--jade-400); --bs-btn-hover-border-color: var(--jade-400);
}
.btn-discord {
  --bs-btn-color: #fff; --bs-btn-bg: #5865f2; --bs-btn-border-color: #5865f2;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #4752c4; --bs-btn-hover-border-color: #4752c4;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #3c45a5; --bs-btn-active-border-color: #3c45a5;
}
.btn-ne--chamfer { border-radius: 3px; } /* dawny scinany rog (clip-path) - wycofany */
.ne-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 3px; border: 1px solid var(--line-2); background: transparent; color: var(--t-2); text-decoration: none; transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease; }
.ne-icon-btn:hover { border-color: var(--line-3); color: var(--t-1); background: rgba(255, 255, 255, .05); }
.ne-icon-btn:focus-visible { outline: 2px solid var(--gold-100); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, .ne-icon-btn { transition: none; } }

/* ============================================================ 5. FORMS */
.form-label, label.form-label { font-size: var(--fs-sm); font-weight: 600; color: var(--t-2); margin-bottom: 6px; }
.form-control, .form-select {
  --bs-body-bg: var(--s-1);
  min-height: 46px; background-color: var(--s-1); color: var(--t-1); border: 1px solid var(--line-input); border-radius: var(--r-2);
  font-size: 1rem; padding: 10px 14px;
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background-color var(--dur-1);
}
.form-control:hover, .form-select:hover { border-color: #85765f; }
.form-control:focus, .form-select:focus { background-color: var(--s-1); color: var(--t-1); border-color: var(--gold-300); }
.form-control::placeholder { color: var(--t-3); opacity: 1; }
.form-control:disabled, .form-control[readonly] { background-color: var(--s-2); color: var(--t-3); border-color: var(--line-2); }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: var(--crimson-300); background-image: none; padding-inline-end: 14px; }
.form-control.is-valid { border-color: var(--jade-400); background-image: none; }
.invalid-feedback { color: var(--crimson-300); font-size: var(--fs-sm); }
.valid-feedback { color: var(--jade-300); }
.form-text { color: var(--t-3); font-size: var(--fs-sm); }
.form-check-input { width: 1.25em; height: 1.25em; background-color: var(--s-1); border: 1px solid var(--line-input); margin-top: .18em; }
.form-check-input:checked { background-color: var(--gold-400); border-color: var(--gold-400); }
.form-check-input:focus { border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .3); }
.form-check-label { color: var(--t-2); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23e9c46e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); }
.input-group > .form-control { min-width: 0; }
.input-group .btn { min-height: 46px; }
.ne-field { margin-bottom: var(--sp-5); }
.ne-pass { position: relative; }
.ne-pass .form-control { padding-inline-end: 52px; }
.ne-pass__toggle { position: absolute; inset-inline-end: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--t-3); border-radius: var(--r-1); }
.ne-pass__toggle:hover { color: var(--gold-200); }
.ne-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.ne-meter span { height: 5px; border-radius: 99px; background: var(--s-3); transition: background var(--dur-2); }
.ne-meter[data-score="0"] { visibility: hidden; } /* przeglad UX: pasek dopiero po wpisaniu */
.ne-meter[data-score="1"] span:nth-child(-n+1) { background: var(--crimson-400); }
.ne-meter[data-score="2"] span:nth-child(-n+2) { background: var(--warn); }
.ne-meter[data-score="3"] span:nth-child(-n+3) { background: var(--gold-300); }
.ne-meter[data-score="4"] span { background: var(--jade-300); }
.ne-rules { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--t-3); }
.ne-rules li { display: flex; align-items: center; gap: 8px; }
.ne-rules li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-input); flex: none; }
.ne-rules li.is-ok { color: var(--jade-200); }
.ne-rules li.is-ok::before { border-color: var(--jade-300); background: var(--jade-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23071c12' stroke-width='2.4' d='m4 8.5 2.6 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ne-captcha { min-height: 65px; margin-bottom: var(--sp-5); }
.ne-captcha .cf-turnstile { min-height: 65px; }

/* ============================================================ 6. COMPONENTS */
/* karty */
.card {
  --bs-card-bg: var(--s-2);
  --bs-card-border-color: var(--line-2);
  --bs-card-border-radius: var(--r-3);
  --bs-card-inner-border-radius: calc(var(--r-3) - 1px);
  --bs-card-cap-bg: var(--s-3);
  --bs-card-color: var(--t-2);
  --bs-card-title-color: var(--t-1);
  background-image: var(--sheen);
  box-shadow: var(--sh-1);
}
.card-header { border-bottom-color: var(--line-2); color: var(--t-1); font-weight: 600; }
.card-footer { border-top-color: var(--line-2); }
.ne-card {
  position: relative; background: var(--s-2); background-image: var(--sheen); border: 1px solid var(--line-2);
  border-radius: var(--r-3); box-shadow: var(--sh-1); padding: var(--sp-6);
}
.ne-card--pad-lg { padding: clamp(24px, 3vw, 40px); }
.ne-card--link { transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-3); }
.ne-card--link:hover { border-color: var(--line-3); }
.ne-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* "Imperial frame" - podwojna zlota linia + narozniki z logo (tylko elementy rangi hero) */
.ne-frame { position: relative; border: 1px solid rgba(var(--gold-rgb), .38); }
.ne-frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(var(--gold-rgb), .16); border-radius: inherit; pointer-events: none; }
.ne-frame > .ne-corner { position: absolute; width: 22px; height: 22px; color: var(--gold-400); pointer-events: none; opacity: .85; }
.ne-corner--tl { top: -1px; left: -1px; }
.ne-corner--tr { top: -1px; right: -1px; transform: scaleX(-1); }
.ne-corner--bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.ne-corner--br { bottom: -1px; right: -1px; transform: scale(-1, -1); }

/* badge / chip */
.badge { --bs-badge-font-weight: 700; --bs-badge-font-size: .6875rem; --bs-badge-padding-x: 7px; --bs-badge-padding-y: 4px; --bs-badge-border-radius: var(--r-1); letter-spacing: .08em; text-transform: uppercase; }
.ne-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-1);
  font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: var(--gold-200); background: rgba(var(--gold-rgb), .10); border: 1px solid rgba(var(--gold-rgb), .32); white-space: nowrap;
}
.ne-chip--jade { color: var(--jade-200); background: rgba(var(--jade-rgb), .12); border-color: rgba(var(--jade-rgb), .38); }
.ne-chip--crimson { color: var(--crimson-200); background: rgba(217, 58, 66, .12); border-color: rgba(217, 58, 66, .42); }
.ne-chip--neutral { color: var(--t-2); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.ne-chip--warn { color: #f7c77c; background: var(--warn-bg); border-color: rgba(242, 174, 69, .4); }
.ne-chip--ch { color: var(--race-ch); background: rgba(238, 122, 85, .10); border-color: rgba(238, 122, 85, .35); }
.ne-chip--eu { color: var(--race-eu); background: rgba(121, 166, 242, .10); border-color: rgba(121, 166, 242, .35); }
.ne-chip--lg { height: 28px; padding: 0 12px; font-size: var(--fs-xs); }
.ne-chip i { font-size: .75rem; }
.text-bg-primary, .bg-primary { background-color: rgba(var(--gold-rgb), .16) !important; color: var(--gold-200) !important; }
.bg-success { background-color: rgba(var(--jade-rgb), .18) !important; color: var(--jade-200) !important; }
.bg-warning { background-color: var(--warn-bg) !important; color: #f7c77c !important; }
.bg-danger { background-color: var(--danger-bg) !important; color: var(--crimson-200) !important; }

/* alerty */
.alert {
  --bs-alert-border-radius: var(--r-2);
  --bs-alert-padding-x: 16px; --bs-alert-padding-y: 12px;
  border: 1px solid var(--line-2); border-inline-start-width: 3px; background: var(--s-2); color: var(--t-1);
}
.alert-success { background: var(--ok-bg); border-color: rgba(var(--jade-rgb), .38); border-inline-start-color: var(--jade-300); color: var(--jade-100); }
.alert-danger { background: var(--danger-bg); border-color: rgba(217, 58, 66, .38); border-inline-start-color: var(--crimson-300); color: var(--crimson-100); }
.alert-warning { background: var(--warn-bg); border-color: rgba(242, 174, 69, .35); border-inline-start-color: var(--warn); color: #fde6c0; }
.alert-info, .alert-primary { background: var(--info-bg); border-color: rgba(143, 198, 216, .30); border-inline-start-color: var(--info); color: #d9eef5; }
.alert-secondary { background: var(--s-2); border-inline-start-color: var(--gold-500); color: var(--t-2); }
.alert a { color: inherit; font-weight: 600; }

/* tabele (Bootstrap + .dt) */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--t-1);
  --bs-table-border-color: var(--line-1);
  --bs-table-striped-bg: rgba(255, 236, 196, .018);
  --bs-table-hover-bg: var(--accent-soft);
  --bs-table-hover-color: var(--t-1);
  font-size: var(--fs-table); margin-bottom: 0;
}
.table > :not(caption) > * > * { padding: 12px 16px; border-bottom-color: var(--line-1); vertical-align: middle; }
.table > thead > tr > th, .table thead th {
  background: var(--s-2); color: var(--t-3); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: var(--ls-caps);
  text-transform: uppercase; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.table-responsive { border: 1px solid var(--line-2); border-radius: var(--r-3); background: var(--s-1); }
.table a { color: var(--t-1); text-decoration: none; font-weight: 600; }
.table a:hover { color: var(--gold-200); text-decoration: underline; }
.dt-wrap { container-type: inline-size; border: 1px solid var(--line-2); border-radius: var(--r-3); background: var(--s-1); overflow: clip; }
.dt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-table); color: var(--t-1); }
.dt caption { caption-side: top; }
.dt thead th {
  position: sticky; top: var(--hdr-h); z-index: var(--z-sticky);
  background: rgba(26, 23, 20, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--t-3); font: 700 var(--fs-2xs)/1 var(--ff-ui); text-transform: uppercase; letter-spacing: var(--ls-caps);
  height: 42px; padding: 0 16px; text-align: start; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.dt td { height: 56px; padding: 8px 16px; border-bottom: 1px solid var(--line-1); vertical-align: middle; }
.dt tbody tr:last-child td { border-bottom: 0; }
.dt tbody tr:nth-child(even) td { background: rgba(255, 236, 196, .016); }
.dt tbody tr { transition: background var(--dur-1); }
.dt tbody tr:hover td { background: var(--accent-soft); }
.dt tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
[dir="rtl"] .dt tbody tr:hover td:first-child { box-shadow: inset -3px 0 0 var(--accent); }
.dt .num, .dt th.num { text-align: end; font-variant-numeric: tabular-nums lining-nums; }
.dt .rank { width: 72px; text-align: center; font-variant-numeric: tabular-nums; color: var(--t-3); font-weight: 700; }
.dt .muted { color: var(--t-3); }
.dt a { color: var(--t-1); text-decoration: none; font-weight: 600; }
.dt a:hover { color: var(--gold-100); text-decoration: underline; }
.dt tr.is-me td, .dt tr[aria-current="true"] td { background: rgba(var(--gold-rgb), .12); }
.dt tr.is-me td:first-child, .dt tr[aria-current="true"] td:first-child { box-shadow: inset 3px 0 0 var(--gold-300); }
.dt--dense td { height: 46px; }
.dt-empty { text-align: center; color: var(--t-3); padding: 40px 16px !important; height: auto !important; }

/* medal rangi (zamiast PNG) */
.medal {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 800 .8125rem/1 var(--ff-ui); color: var(--t-on-gold); font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
/* 01.10: medale plaskie (bez polysku 3D) */
.medal-1 { background: #e2bd62; }
.medal-2 { background: #c3c9d2; }
.medal-3 { background: #c4865a; }
.medal--lg { width: 44px; height: 44px; font-size: 1.125rem; }

/* nazwa z rasa */
.ne-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.ne-who img.ne-race { width: 18px; height: 18px; flex: none; }
.ne-who__ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-3); background: var(--s-3); flex: none; }
.ne-who__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ne-who__sub { font-size: var(--fs-sm); color: var(--t-3); font-weight: 400; }

/* paginacja */
.pagination {
  --bs-pagination-bg: var(--s-2);
  --bs-pagination-color: var(--t-2);
  --bs-pagination-border-color: var(--line-2);
  --bs-pagination-hover-bg: var(--s-3);
  --bs-pagination-hover-color: var(--t-1);
  --bs-pagination-hover-border-color: var(--line-3);
  --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .3);
  --bs-pagination-active-bg: var(--gold-400);
  --bs-pagination-active-border-color: var(--gold-400);
  --bs-pagination-active-color: var(--t-on-gold);
  --bs-pagination-disabled-bg: var(--s-1);
  --bs-pagination-disabled-color: var(--t-disabled);
  --bs-pagination-disabled-border-color: var(--line-1);
  --bs-pagination-border-radius: var(--r-2);
  gap: 6px; flex-wrap: wrap;
}
.page-link { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-2) !important; font-variant-numeric: tabular-nums; font-weight: 600; }
.page-item.active .page-link { background: var(--grad-gold); }

/* zakladki Bootstrap (strony z tab-pane) */
.nav-tabs { --bs-nav-tabs-border-color: var(--line-2); --bs-nav-tabs-link-hover-border-color: transparent; --bs-nav-tabs-link-active-bg: transparent; --bs-nav-tabs-link-active-border-color: transparent; --bs-nav-tabs-link-active-color: var(--t-1); gap: 4px; }
.nav-tabs .nav-link { color: var(--t-2); font-weight: 600; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; }
.nav-tabs .nav-link:hover { color: var(--t-1); }
.nav-tabs .nav-link.active { border-bottom-color: var(--accent); color: var(--t-1); }
.nav-pills { --bs-nav-pills-link-active-bg: rgba(var(--gold-rgb), .14); --bs-nav-pills-link-active-color: var(--gold-100); --bs-nav-link-color: var(--t-2); --bs-nav-link-hover-color: var(--t-1); }

/* zakladkowa szyna (rankingi, logi) */
.ne-rail { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); padding-inline: 12px; }
.ne-rail::-webkit-scrollbar { display: none; }
.ne-rail__item {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px;
  color: var(--t-2); font-weight: 600; font-size: .9375rem; text-decoration: none; scroll-snap-align: center; white-space: nowrap;
  border: 0; background: none;
}
.ne-rail__item i { font-size: .875rem; color: var(--t-3); transition: color var(--dur-2); }
.ne-rail__item:hover { color: var(--t-1); }
.ne-rail__item:hover i { color: var(--gold-300); }
.ne-rail__item::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transition: transform var(--dur-2) var(--ease-out); }
.ne-rail__item.is-active, .ne-rail__item[aria-current="page"] { color: var(--t-1); }
.ne-rail__item.is-active i, .ne-rail__item[aria-current="page"] i { color: var(--accent); }
.ne-rail__item.is-active::after, .ne-rail__item[aria-current="page"]::after { transform: scaleX(1); }
.ne-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 4px; background: var(--s-1); border: 1px solid var(--line-2); }
.ne-seg__item { height: 34px; padding: 0 14px; border-radius: 3px; border: 1px solid transparent; background: none; color: var(--t-2); font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.ne-seg__item:hover { color: var(--t-1); }
.ne-seg__item.active, .ne-seg__item.is-active, .ne-seg__item[aria-pressed="true"] { background: var(--s-4); color: var(--gold-200); border-color: var(--line-3); box-shadow: var(--sh-1); }

/* stan pusty / blad / szkielet */
.ne-empty { text-align: center; padding: clamp(40px, 6vw, 72px) 16px; color: var(--t-3); }
.ne-empty__ico { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold-400); font-size: 1.5rem; background: var(--s-2); } /* plasko (przeglad 01.10) */
.ne-empty h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.ne-empty p { margin: 0 auto; max-width: 440px; }
.ne-skel { display: grid; gap: 10px; padding: 16px; }
.ne-skel span { display: block; height: 44px; border-radius: var(--r-1); background: linear-gradient(90deg, var(--s-2) 0%, var(--s-3) 50%, var(--s-2) 100%); background-size: 200% 100%; animation: ne-shimmer 1.4s linear infinite; }
.ne-skel span:nth-child(odd) { opacity: .7; }
@keyframes ne-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.spinner-border { --bs-spinner-border-width: .18em; color: var(--gold-300); }

/* stat */
.ne-stat { padding: var(--sp-5); border-radius: var(--r-3); background: var(--s-2); border: 1px solid var(--line-2); background-image: var(--sheen); }
.ne-stat__label { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t-3); }
.ne-stat__value { font-size: var(--fs-stat); font-weight: 700; color: var(--t-1); line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ne-stat__hint { font-size: var(--fs-sm); color: var(--t-3); margin-top: 4px; }

/* breadcrumb */
.ne-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--t-3); list-style: none; padding: 0; margin: 0 0 10px; }
.ne-crumbs a { color: var(--t-2); text-decoration: none; }
.ne-crumbs a:hover { color: var(--gold-200); }
.ne-crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); margin-inline-end: 10px; opacity: .6; }
[dir="rtl"] .ne-crumbs li + li::before { transform: rotate(-135deg); }

/* modal */
.modal { --bs-modal-bg: var(--s-2); --bs-modal-border-color: var(--line-2); --bs-modal-border-radius: var(--r-3); --bs-modal-header-border-color: var(--line-1); --bs-modal-footer-border-color: var(--line-1); }
.btn-close { filter: invert(1) sepia(.4) saturate(2) hue-rotate(5deg); opacity: .7; }

/* lista z klejnotami */
.ne-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 8px; }
.ne-list li { position: relative; padding-inline-start: 22px; }
.ne-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--jade-400); } /* plasko (przeglad 01.10) */

/* ============================================================ 7. PAGE BAND (naglowek podstron) */
.ne-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(180px, 22vw, 290px); display: flex; align-items: flex-end;
  padding: clamp(28px, 4vw, 48px) 0 clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--accent-line);
  background: var(--s-1);
}
.ne-band__art { position: absolute; inset: 0; z-index: -2; }
.ne-band__art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--band-pos, 50% 50%); opacity: .62; }
.ne-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--s-0) 0%, rgba(11, 10, 9, .72) 38%, rgba(11, 10, 9, .25) 100%),
    linear-gradient(90deg, rgba(11, 10, 9, .85) 0%, rgba(11, 10, 9, .2) 60%, rgba(11, 10, 9, .55) 100%);
}
[dir="rtl"] .ne-band::before { background: linear-gradient(0deg, var(--s-0) 0%, rgba(11, 10, 9, .72) 38%, rgba(11, 10, 9, .25) 100%), linear-gradient(-90deg, rgba(11, 10, 9, .85) 0%, rgba(11, 10, 9, .2) 60%, rgba(11, 10, 9, .55) 100%); }
.ne-band::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.ne-band--plain { min-height: 0; background: var(--wash), var(--s-1); padding-top: clamp(36px, 5vw, 64px); }
.ne-band--plain::before { display: none; }
.ne-band__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.ne-band h1 { margin: 0; font-size: var(--fs-h1); text-shadow: 0 2px 24px rgba(0, 0, 0, .8); }
.ne-band__lead { margin: 10px 0 0; color: var(--t-2); max-width: 640px; font-size: var(--fs-lg); text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.ne-band__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ne-page { padding-block: clamp(28px, 4vw, 56px) var(--section-y); }

/* ============================================================ 8. HERO */
/* v3 (01.10 ~02:30): realistyczna scena walki (Hu Lan + Mystic Tigers atakuja, Huang Long broni Nanzhang) na pelnym ekranie;
   NIC nie przykrywa postaci - tytul, przyciski i odliczanie w szklanym pasku na dole (na ziemi pod stopami postaci).
   Statyczny kadr - bez wideo, iskier i Ken Burns (uwaga usera 01.10: animacje wygladaly sztucznie). */
.ne-hero {
  --hero-h: clamp(640px, calc(100svh - var(--util-h) - var(--hdr-h)), 1000px);
  position: relative; isolation: isolate; overflow: hidden; min-height: var(--hero-h);
  display: flex; align-items: flex-end; background: #08080b;
}
.ne-hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ne-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
}
/* 01.10 ~03:10 decyzja usera: BEZ animacji w hero (petla wideo smoka/ognia, iskry i Ken Burns usuniete) - statyczny kadr. */
.ne-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, var(--s-0) 0%, rgba(11, 10, 9, .75) 12%, rgba(11, 10, 9, 0) 34%),
    linear-gradient(180deg, rgba(8, 8, 11, .5) 0%, rgba(8, 8, 11, 0) 14%);
}
.ne-hero__content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(18px, 3vh, 32px); }
.ne-hero__bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(16px, 1.6vw, 22px) clamp(18px, 2vw, 28px);
  border-radius: 18px; background: linear-gradient(180deg, rgba(14, 12, 10, .62), rgba(10, 9, 8, .78));
  -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 236, 196, .13); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .95);
}
.ne-hero__main { min-width: 0; }
.ne-hero__kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ne-hero__sub { color: var(--t-2); font-size: var(--fs-sm); }
.ne-hero h1 {
  font-size: clamp(1.9rem, 1.1rem + 2.1vw, 3.1rem); line-height: 1.02; letter-spacing: .005em; margin: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .7);
}
.ne-hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ne-hero__facts li { height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 236, 196, .12); color: var(--t-1); font-size: var(--fs-sm); font-weight: 600; }
.ne-hero__facts li b { color: var(--gold-200); margin-inline-end: 5px; }
.ne-hero__cta { display: flex; flex-direction: column; gap: 10px; }
.ne-hero__cta .btn { min-width: 210px; }
.ne-launch { min-width: 300px; padding-inline-start: clamp(16px, 2vw, 32px); border-inline-start: 1px solid rgba(255, 236, 196, .12); }
.ne-launch__label { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ne-launch__date { margin-inline-start: auto; color: var(--gold-200); letter-spacing: .08em; }
.ne-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; direction: ltr; }
.ne-count__cell { padding: 8px 4px 6px; text-align: center; border-radius: var(--r-2); background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 236, 196, .10); }
.ne-count__num { display: block; font: 700 1.75rem/1 var(--ff-ui); color: var(--gold-100); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ne-count__unit { display: block; font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); margin-top: 5px; }
.ne-hero__scroll { display: none; }
.ne-launch__dates { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-sm); color: var(--t-1); font-variant-numeric: tabular-nums; }
.ne-launch__dates span { color: var(--t-3); margin-inline-end: 4px; }
@media (min-width: 992px) { .ne-launch__dates { display: none; } } /* na komputerze terminy sa w pasku uslugowym (przeglad projektanta: data 4x na 1. ekranie) */
.ne-nowrap { white-space: nowrap; } /* naglowek hero: "Same world. / New horizon." bez "New" na koncu linii */
@media (max-width: 1199.98px) {
  .ne-hero__bar { grid-template-columns: minmax(0, 1fr) auto; }
  .ne-hero__main { grid-column: 1 / -1; }
  .ne-hero__cta { flex-direction: row; flex-wrap: wrap; }
  .ne-launch { min-width: 0; }
}
/* Telefon (01.10): kadr NAD karta, nie pod nia - wczesniej obraz 900x1613 rozciagniety na cala wysokosc hero (958 px)
   tracil 160 px w poziomie (Hu Lan uciety przy lewej krawedzi), a karta zaslaniala mu tulow. */
@media (max-width: 767.98px) {
  .ne-hero { display: block; min-height: 0; }
  .ne-hero__art { position: relative; inset: auto; z-index: 0; height: min(112vw, 460px); }
  .ne-hero__img { object-position: 22% 14%; }
  .ne-hero__scrim { background: linear-gradient(0deg, var(--s-0) 0%, rgba(11, 10, 9, .55) 18%, rgba(11, 10, 9, 0) 42%), linear-gradient(180deg, rgba(8, 8, 11, .4), rgba(8, 8, 11, 0) 14%); }
  .ne-hero__content { position: relative; z-index: 1; padding-top: 0; margin-top: -64px; }
  .ne-hero__bar { grid-template-columns: 1fr; text-align: center; padding: 18px 16px; background: rgba(10, 9, 8, .72); }
  .ne-hero__kicker, .ne-hero__facts { justify-content: center; }
  .ne-hero__cta { flex-direction: column; }
  .ne-hero__cta .btn { width: 100%; min-width: 0; }
  .ne-launch { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(255, 236, 196, .12); padding-top: 14px; }
}

/* ============================================================ 9. HOME SECTIONS */
.ne-steps { position: relative; z-index: 2; }
.ne-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--sh-2); }
.ne-step { display: flex; gap: 16px; align-items: center; padding: 20px 22px; background: var(--s-1); background-image: var(--sheen); text-decoration: none; color: var(--t-2); transition: background-color var(--dur-2); position: relative; }
.ne-step:hover { background-color: var(--s-2); color: var(--t-2); }
.ne-step__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(var(--gold-rgb), .55); transform: rotate(45deg); color: var(--gold-200); font-weight: 800; background: rgba(var(--gold-rgb), .07); margin: 6px; }
.ne-step__n span { transform: rotate(-45deg); font-variant-numeric: tabular-nums; }
.ne-step h3 { font-family: var(--ff-ui); font-size: 1.0625rem; font-weight: 700; color: var(--t-1); margin: 0 0 2px; letter-spacing: 0; }
.ne-step p { margin: 0; font-size: var(--fs-sm); color: var(--t-3); }
.ne-step__go { margin-inline-start: auto; color: var(--gold-400); opacity: .55; transition: transform var(--dur-2), opacity var(--dur-2); }
.ne-step:hover .ne-step__go { opacity: 1; transform: translateX(3px); }
[dir="rtl"] .ne-step__go { transform: scaleX(-1); }
/* 01.10: Discord jako pasek na gorze bloku krokow (bez numeru), 2 kroki pod nim */
.ne-steps__grid { grid-template-columns: repeat(2, 1fr); }
.ne-step--discord { grid-column: 1 / -1; padding-block: 16px; }
.ne-step__ico { flex: none; width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: #5865f2; color: #fff; font-size: 1.25rem; }
.ne-step__cta { margin-inline-start: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 3px; background: #5865f2; color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background-color 150ms ease; }
.ne-step--discord:hover .ne-step__cta { background: #4752c4; }
@media (max-width: 767.98px) { .ne-steps__grid { grid-template-columns: 1fr; } .ne-step__cta { display: none; } }

.ne-legend { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ne-legend__text p { font-size: var(--fs-lg); color: var(--t-2); line-height: 1.75; }
.ne-legend__text p.ne-drop::first-letter { float: left; font-family: var(--ff-display); font-weight: 700; font-size: 3.5em; line-height: .8; margin: 8px 12px 0 0; color: var(--gold-300); }
[dir="rtl"] .ne-legend__text p.ne-drop::first-letter { float: right; margin: 8px 0 0 12px; }
.ne-legend__quote { font-family: var(--ff-display); font-size: var(--fs-h4); color: var(--gold-200); border-inline-start: 2px solid var(--crimson-400); padding-inline-start: 16px; margin: 22px 0 0; }
.ne-legend__art { position: relative; border-radius: var(--r-3); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.ne-legend__art img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 815; object-fit: cover; }
.ne-legend__art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .35), inset 0 0 60px rgba(0, 0, 0, .55); border-radius: inherit; pointer-events: none; }
.ne-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ne-duel__card { padding: 14px 16px; border-radius: var(--r-2); background: var(--s-2); border: 1px solid var(--line-2); }
.ne-duel__card--tiger { border-color: rgba(217, 58, 66, .4); background: var(--s-2); } /* plasko (przeglad 01.10) - kolor strony niesie ramka i nazwa */
.ne-duel__card--dragon { border-color: rgba(var(--gold-rgb), .4); background: var(--s-2); text-align: end; }
.ne-duel__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .04em; }
.ne-duel__role { font-size: var(--fs-sm); color: var(--t-3); }
.ne-duel__card--tiger .ne-duel__name { color: var(--crimson-200); }
.ne-duel__card--dragon .ne-duel__name { color: var(--gold-200); }
@media (max-width: 991.98px) { .ne-legend { grid-template-columns: 1fr; } }

.ne-elements { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.ne-element { text-align: center; padding: 22px 14px 24px; border-radius: var(--r-3); background: var(--s-1); border: 1px solid var(--line-1); transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-3); }
.ne-element img { width: min(150px, 80%); height: auto; aspect-ratio: 1; margin: 0 auto 14px; display: block; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .7)); transition: transform var(--dur-4) var(--ease-out); }
.ne-element h3 { font-size: 1.0625rem; margin: 0 0 4px; letter-spacing: .06em; }
.ne-element p { margin: 0; font-size: var(--fs-sm); color: var(--t-3); }
.ne-element--fire:hover { border-color: rgba(255, 138, 61, .5); }
.ne-element--frost:hover { border-color: rgba(134, 211, 242, .5); }
.ne-element--poison:hover { border-color: rgba(185, 220, 74, .5); }
.ne-element--blood:hover { border-color: rgba(240, 80, 106, .5); }
.ne-element--fire h3 { color: var(--el-fire); }
.ne-element--frost h3 { color: var(--el-frost); }
.ne-element--poison h3 { color: var(--el-poison); }
.ne-element--blood h3 { color: var(--el-blood); }
@media (max-width: 767.98px) { .ne-elements { grid-template-columns: repeat(2, 1fr); } }

/* ---- SERVER FEATURES (01.10 ~03:20, uwaga usera): naglowek w dwoch kolumnach, pasek parametrow, rowne karty ---- */
.ne-feat-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--sp-5) var(--sp-9); align-items: end; margin-bottom: var(--sp-8); }
.ne-feat-head h2 { margin: var(--sp-3) 0 0; max-width: 16ch; }
.ne-feat-head p { margin: 0; color: var(--t-2); font-size: var(--fs-lg); max-width: 46ch; }
@media (max-width: 991.98px) { .ne-feat-head { grid-template-columns: 1fr; } }

.ne-spec { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0 0 var(--sp-8); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ne-spec__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: var(--sp-6) var(--sp-5); border-inline-start: 1px solid var(--line-1); min-width: 0; }
.ne-spec__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.ne-spec dd { margin: 0; font-family: var(--ff-display); font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; color: var(--t-1); font-variant-numeric: lining-nums tabular-nums; }
.ne-spec dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--t-3); }
@media (max-width: 991.98px) {
    .ne-spec { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ne-spec__item:nth-child(3n + 1) { border-inline-start: 0; padding-inline-start: 0; }
    .ne-spec__item:nth-child(n + 4) { border-top: 1px solid var(--line-1); }
}
@media (max-width: 575.98px) {
    .ne-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ne-spec__item { padding: var(--sp-5) var(--sp-4); }
    .ne-spec__item:nth-child(3n + 1) { border-inline-start: 1px solid var(--line-1); padding-inline-start: var(--sp-4); }
    .ne-spec__item:nth-child(2n + 1) { border-inline-start: 0; padding-inline-start: 0; }
    .ne-spec__item:nth-child(n + 3) { border-top: 1px solid var(--line-1); }
    .ne-spec__item:last-child:nth-child(odd) { grid-column: 1 / -1; } /* nieparzysta liczba pozycji - ostatnia na cala szerokosc */
}

.ne-feat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.ne-feat { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-3); background: var(--s-2); border: 1px solid var(--line-1); overflow: hidden; transition: border-color var(--dur-2); }
.ne-feat:hover { border-color: var(--line-3); }
.ne-feat__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--s-3); }
.ne-feat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ne-feat__body { padding: var(--sp-5) var(--sp-6) var(--sp-6); display: grid; gap: 8px; align-content: start; }
.ne-feat__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: var(--gold-400); font-variant-numeric: tabular-nums; }
.ne-feat h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.ne-feat p { margin: 0; color: var(--t-2); font-size: .9375rem; line-height: 1.55; }
.ne-feat-foot { margin-top: var(--sp-8); display: flex; justify-content: center; }
@media (max-width: 991.98px) { .ne-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .ne-feat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); scroll-padding-inline: var(--gutter, 16px); scrollbar-width: none; }
    .ne-feat-grid::-webkit-scrollbar { display: none; }
    .ne-feat { flex: 0 0 84%; scroll-snap-align: start; }
    .ne-feat__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
}

.ne-lands { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); list-style: none; padding: 0; margin: 0; }
.ne-lands > li:first-child { grid-column: span 2; grid-row: span 2; }
.ne-land { position: relative; margin: 0; border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--line-2); background: var(--s-2); height: 100%; }
.ne-land-link { display: block; position: relative; height: 100%; }
.ne-land-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); aspect-ratio: 16 / 9; }
.ne-lands > li:first-child .ne-land-img { aspect-ratio: auto; min-height: 100%; }
.ne-land-link:hover .ne-land-img { transform: scale(1.05); }
.ne-land figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; background: linear-gradient(0deg, rgba(8, 7, 6, .95), rgba(8, 7, 6, 0)); pointer-events: none; }
.ne-land-title { font-family: var(--ff-display); font-size: 1rem; margin: 0; color: var(--t-1); letter-spacing: .04em; }
.ne-land figcaption p { display: none; }
@media (max-width: 575.98px) { .ne-land figcaption { padding: 22px 10px 8px; } .ne-land-title { font-size: .75rem; letter-spacing: .02em; line-height: 1.25; } } /* podpis maly, ale caly (bez "CRU...") - przeglad 01.10 runda 2 */
@media (max-width: 767.98px) { :root { --section-y: 48px; } } /* telefon: ~96 px miedzy sekcjami zamiast ~140 (przeglad 01.10) */
.ne-land-zoom { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: var(--gold-200); opacity: 0; transition: opacity var(--dur-2); border: 1px solid var(--line-2); }
.ne-land-link:hover .ne-land-zoom, .ne-land-link:focus-visible .ne-land-zoom { opacity: 1; }
.ne-lands-note { color: var(--t-3); font-size: var(--fs-sm); text-align: center; margin: 18px auto 0; max-width: 720px; }
@media (max-width: 991.98px) { .ne-lands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .ne-lands > li:first-child { grid-row: auto; } }
/* 01.10 (przeglad krytyka): przy parzystej liczbie kadrow (8) ostatni zostawal sam z pusta komorka obok - ostatni na 2 kolumny */
.ne-lands > li:nth-child(even):last-child { grid-column: span 2; }
@media (min-width: 992px) { .ne-lands > li:nth-child(even):last-child .ne-land-img { aspect-ratio: 32 / 9; } }

.ne-news { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); }
.ne-news__featured { position: relative; display: flex; flex-direction: column; border-radius: var(--r-3); overflow: hidden; background: var(--s-2); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.ne-news__featured .ne-news__img { aspect-ratio: 16 / 9; }
.ne-news__img { width: 100%; object-fit: cover; display: block; background: var(--s-3); transition: transform 900ms var(--ease-out); }
.ne-news__featured:hover .ne-news__img { transform: scale(1.03); }
.ne-news__media { overflow: hidden; }
.ne-news__body { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ne-news__meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--t-3); flex-wrap: wrap; }
.ne-news__title { font-family: var(--ff-display); font-size: var(--fs-h3); line-height: 1.2; margin: 0; }
.ne-news__title a { color: var(--t-1); text-decoration: none; }
.ne-news__title a:hover { color: var(--gold-100); }
.ne-news__excerpt { color: var(--t-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ne-news__list { display: grid; gap: 12px; align-content: start; }
.ne-news__row { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 10px; border-radius: var(--r-3); background: var(--s-1); border: 1px solid var(--line-1); transition: border-color var(--dur-2), background var(--dur-2); align-items: center; }
.ne-news__row--note { grid-template-columns: 1fr !important; }
.ne-news__row:hover { border-color: var(--line-3); background: var(--s-2); }
.ne-news__row img, .ne-news__row .ne-news__ph { width: 120px; height: 80px; object-fit: cover; border-radius: var(--r-2); }
.ne-news__row h3 { font-family: var(--ff-ui); font-size: 1rem; font-weight: 700; margin: 4px 0 0; line-height: 1.35; letter-spacing: 0; }
.ne-news__row h3 a { color: var(--t-1); text-decoration: none; }
.ne-news__ph { display: grid; place-items: center; background: var(--s-3); color: var(--gold-500); font-size: 1.5rem; }
.ne-news__more { display: flex; justify-content: flex-end; }
@media (max-width: 991.98px) { .ne-news { grid-template-columns: 1fr; } }

.ne-hall { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-4); border: 1px solid var(--line-2); padding: clamp(28px, 5vw, 64px); text-align: center; }
.ne-hall__art { position: absolute; inset: 0; z-index: -2; }
.ne-hall__art img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.ne-hall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 40%, rgba(11, 10, 9, .30), rgba(11, 10, 9, .92) 80%), linear-gradient(0deg, rgba(11, 10, 9, .9), transparent 50%); }
.ne-hall__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; text-align: start; }
.ne-hall__board { background: rgba(18, 16, 14, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: var(--r-3); padding: 16px; }
.ne-hall__board h3 { font-family: var(--ff-ui); font-size: var(--fs-2xs); letter-spacing: .14em; text-transform: uppercase; color: var(--t-3); margin: 0 0 10px; font-weight: 700; }
.ne-hall__board ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ne-hall__board li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px; border-radius: var(--r-1); }
.ne-hall__board li:hover { background: rgba(255, 255, 255, .03); }
.ne-hall__board li a { color: var(--t-1); text-decoration: none; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ne-hall__board .v { margin-inline-start: auto; color: var(--gold-200); font-weight: 700; font-variant-numeric: tabular-nums; }
.ne-hall__podium { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); align-items: flex-end; margin: 34px auto 0; max-width: 520px; }
.ne-hall__pedestal { flex: 1; border-radius: var(--r-2) var(--r-2) 0 0; background: linear-gradient(180deg, rgba(var(--gold-rgb), .20), rgba(var(--gold-rgb), .02)); border: 1px solid var(--line-2); border-bottom: 0; display: flex; flex-direction: column; align-items: center; padding-top: 16px; gap: 8px; color: var(--t-3); font-size: var(--fs-sm); }
.ne-hall__pedestal--1 { height: 150px; border-color: rgba(242, 203, 87, .45); }
.ne-hall__pedestal--2 { height: 112px; }
.ne-hall__pedestal--3 { height: 88px; }
.ne-hall__pedestal span { font-family: var(--ff-display); font-weight: 700; color: var(--t-2); letter-spacing: .08em; }
@media (max-width: 991.98px) { .ne-hall__grid { grid-template-columns: 1fr; } }

.ne-community { position: relative; isolation: isolate; overflow: hidden; }
.ne-community__art { position: absolute; inset: 0; z-index: -2; }
.ne-community__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .55; }
.ne-community::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--s-0) 0%, rgba(11, 10, 9, .88) 40%, rgba(11, 10, 9, .5) 100%), linear-gradient(0deg, var(--s-0), transparent 26%, transparent 74%, var(--s-0)); }
[dir="rtl"] .ne-community::before { background: linear-gradient(-90deg, var(--s-0) 0%, rgba(11, 10, 9, .88) 40%, rgba(11, 10, 9, .5) 100%), linear-gradient(0deg, var(--s-0), transparent 26%, transparent 74%, var(--s-0)); }
.ne-forums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ne-forum {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; min-height: 156px;
  border-radius: var(--r-3); background: rgba(18, 16, 14, .86); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; color: var(--t-2);
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-3);
}
.ne-forum:hover { border-color: var(--line-3); color: var(--t-2); }
.ne-forum__logo { height: 46px; display: flex; align-items: center; }
.ne-forum__logo img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
.ne-forum__txt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; font-weight: 600; color: var(--t-1); }
.ne-forum__txt small { font-weight: 500; color: var(--t-3); display: block; font-size: var(--fs-sm); }
.ne-forum__txt i { color: var(--gold-400); }
.ne-discord {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 14px; padding: 20px 24px;
  border-radius: var(--r-3); border: 1px solid var(--line-2); background: var(--s-1);
}
.ne-discord__ico { width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; background: #5865f2; color: #fff; font-size: 1.75rem;  }
.ne-discord h3 { font-family: var(--ff-ui); font-weight: 700; font-size: 1.1875rem; margin: 0; letter-spacing: 0; }
.ne-discord p { margin: 2px 0 0; color: var(--t-3); font-size: var(--fs-sm); }
.ne-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.ne-social { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 4px; border: 1px solid var(--line-2); background: rgba(18, 16, 14, .8); color: var(--t-2); text-decoration: none; font-weight: 600; font-size: .9375rem; transition: border-color var(--dur-2), color var(--dur-2), background var(--dur-2); }
.ne-social i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--s-3); color: var(--t-1); font-size: 1rem; transition: background var(--dur-2), color var(--dur-2); }
.ne-social:hover { color: var(--t-1); border-color: var(--line-3); }
.ne-social--facebook:hover i { background: #1877f2; }
.ne-social--instagram:hover i { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.ne-social--tiktok:hover i { background: #000; box-shadow: -2px 0 0 #25f4ee, 2px 0 0 #fe2c55; }
.ne-social--youtube:hover i { background: #ff0033; }
.ne-social--discord:hover i { background: #5865f2; }
.ne-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ne-vote__btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 4px; border: 1px solid rgba(var(--gold-rgb), .45); color: var(--gold-100); text-decoration: none; font-weight: 700; background: rgba(var(--gold-rgb), .05); }
.ne-vote__btn:hover { border-style: solid; background: rgba(var(--gold-rgb), .12); color: var(--gold-50); }
.ne-vote__btn i { color: var(--gold-400); }
.ne-community__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; margin-top: 22px; align-items: center; }
.ne-community__label { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); margin-bottom: 10px; }
.ne-ext::after { content: ""; display: inline-block; width: .7em; height: .7em; margin-inline-start: .35em; opacity: .6; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2h5v5M14 2 7 9M12 9v5H2V4h5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2h5v5M14 2 7 9M12 9v5H2V4h5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 991.98px) {
  .ne-forums { grid-template-columns: 1fr; }
  .ne-forum { min-height: 0; flex-direction: row; align-items: center; }
  .ne-forum__txt { margin-top: 0; flex: 1; }
  .ne-forum__logo { flex: 0 0 150px; }
}
@media (max-width: 575.98px) { .ne-discord { grid-template-columns: auto 1fr; } .ne-discord .btn { grid-column: 1 / -1; } .ne-forum__logo { flex-basis: 108px; } }

.ne-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.ne-final::before { content: none; } /* bez zlotej poswiaty (przeglad 01.10) */
.ne-final__emblem { width: 124px; height: 124px; margin: 0 auto 18px; display: block; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .8)); }
.ne-final p { color: var(--t-2); font-size: var(--fs-lg); max-width: 640px; margin: 14px auto 26px; }
.ne-final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ne-final__note { font-size: var(--fs-sm); color: var(--t-3); margin-top: 18px; }

/* ============================================================ 10. FOOTER */
.ne-footer { position: relative; background: var(--s-00); border-top: 1px solid var(--line-2); }
.ne-footer::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .6), transparent); }
.ne-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(40px, 5vw, 64px) 32px; }
.ne-footer__brand img { width: 150px; height: auto; margin-bottom: 14px; }
.ne-footer__brand p { font-size: var(--fs-sm); color: var(--t-3); max-width: 340px; }
.ne-footer__tag { font-family: var(--ff-display); color: var(--gold-200); letter-spacing: .06em; font-size: 1rem; margin-bottom: 6px; }
.ne-footer h2 { font-family: var(--ff-ui); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); margin: 6px 0 14px; }
.ne-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ne-footer ul a { color: var(--t-2); text-decoration: none; font-size: .9375rem; }
.ne-footer ul a:hover { color: var(--gold-100); }
.ne-footer__forums { display: grid; gap: 8px; }
.ne-footer__forums a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-2); border: 1px solid var(--line-1); background: var(--s-1); text-decoration: none; color: var(--t-3); font-size: var(--fs-sm); min-height: 44px; }
.ne-footer__forums a:hover { border-color: var(--line-3); color: var(--t-1); }
.ne-footer__forums img { filter: grayscale(1) brightness(1.6); opacity: .75; max-height: 18px; transition: filter var(--dur-2), opacity var(--dur-2); } /* loga forow wyrownane wizualnie (SROCAVE bialy i ciezki), kolor po najechaniu (przeglad 01.10) */
.ne-footer__forums a:hover img, .ne-footer__forums a:focus-visible img { filter: none; opacity: 1; }
.ne-footer__forums img { height: 20px; width: auto; max-width: 110px; object-fit: contain; }
.ne-footer__icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ne-footer__icons a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--t-2); text-decoration: none; transition: color var(--dur-2), border-color var(--dur-2), background var(--dur-2); }
.ne-footer__icons a:hover { color: var(--gold-100); border-color: var(--line-3); background: rgba(var(--gold-rgb), .08); }
.ne-footer__bottom { border-top: 1px solid var(--line-1); padding-block: 18px 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--fs-xs); color: var(--t-3); }
.ne-footer__bottom a { color: var(--t-2); }
@media (max-width: 991.98px) { .ne-footer__top { grid-template-columns: 1fr 1fr; } .ne-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .ne-footer__top { grid-template-columns: 1fr; } }

/* ============================================================ 11. MOTION (reveal) + LIGHTBOX */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ne-hero__img { animation: none; }
  .ne-dot::after, .ne-hero__scroll::after, .ne-skel span { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.ne-lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; max-height: 100dvh; background: transparent; color: var(--t-1); }
.ne-lightbox::backdrop { background: rgba(6, 5, 4, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ne-lightbox-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 88px; }
.ne-lightbox-figure { margin: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.ne-lightbox-img { max-width: 100%; max-height: calc(100dvh - 210px); width: auto; height: auto; border-radius: var(--r-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .8); border: 1px solid var(--line-2); }
.ne-lightbox-caption { max-width: 52em; margin-top: 14px; text-align: center; }
.ne-lightbox-title { font-family: var(--ff-display); color: var(--gold-200); font-size: 1.25rem; margin: 0 0 .3rem; }
.ne-lightbox-desc { color: var(--t-2); margin: 0 0 .25rem; }
.ne-lightbox-count { color: var(--t-3); font-size: .8125rem; margin: 0; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ne-lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(26, 23, 20, .8); border: 1px solid var(--line-2); color: var(--t-1); font-size: 1.125rem; transition: background var(--dur-2), border-color var(--dur-2); }
.ne-lb-btn:hover { background: rgba(var(--gold-rgb), .2); border-color: var(--line-3); }
.ne-lb-close { top: 14px; inset-inline-end: 14px; }
.ne-lb-prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.ne-lb-next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .ne-lb-prev i, [dir="rtl"] .ne-lb-next i { transform: scaleX(-1); }
html.ne-lb-open { overflow: hidden; }
@media (max-width: 767.98px) {
  .ne-lightbox-stage { padding: 64px 12px 84px; }
  .ne-lightbox-img { max-height: calc(100dvh - 260px); }
  .ne-lb-prev, .ne-lb-next { top: auto; transform: none; bottom: 18px; }
  .ne-lb-prev { inset-inline-start: calc(50% - 60px); }
  .ne-lb-next { inset-inline-end: calc(50% - 60px); }
}

/* ============================================================ 12. GATE (logowanie / rejestracja) */
.ne-gate { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100svh - var(--util-h) - var(--hdr-h)); }
.ne-gate__art { position: relative; overflow: hidden; isolation: isolate; background: #08080b; }
.ne-gate__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; }
.ne-gate--dragon .ne-gate__art img { object-position: 30% 30%; }
.ne-gate__art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 10, 9, .92) 0%, rgba(11, 10, 9, 0) 45%), linear-gradient(90deg, rgba(11, 10, 9, 0) 60%, var(--s-0) 100%); }
[dir="rtl"] .ne-gate__art::after { background: linear-gradient(0deg, rgba(11, 10, 9, .92) 0%, rgba(11, 10, 9, 0) 45%), linear-gradient(-90deg, rgba(11, 10, 9, 0) 60%, var(--s-0) 100%); }
.ne-gate__quote { position: absolute; inset-inline: clamp(24px, 4vw, 56px); bottom: clamp(24px, 5vw, 56px); max-width: 460px; }
.ne-gate__quote p { font-family: var(--ff-display); color: var(--t-1); font-size: var(--fs-h3); line-height: 1.25; margin: 10px 0 0; text-shadow: 0 4px 24px rgba(0, 0, 0, .9); }
.ne-gate--tiger .ne-gate__quote .ne-eyebrow { color: var(--crimson-200); }
.ne-gate__form { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) var(--gutter); background: var(--s-0); } /* bez zlotej poswiaty (przeglad 01.10) */
.ne-gate__card { width: 100%; max-width: 460px; }
.ne-gate__card h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin: 0 0 6px; }
.ne-gate__sub { color: var(--t-3); margin-bottom: 28px; }
.ne-gate__alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-1); color: var(--t-3); font-size: .9375rem; text-align: center; }
.ne-gate__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 991.98px) {
  .ne-gate { grid-template-columns: 1fr; min-height: 0; }
  .ne-gate__art { height: 220px; }
  .ne-gate__art::after { background: linear-gradient(0deg, var(--s-0) 0%, rgba(11, 10, 9, .2) 70%); }
  .ne-gate__quote { display: none; }
  .ne-gate__form { padding-top: 8px; }
}

/* ============================================================ 13. ACCOUNT */
.ne-account { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ne-account__side { position: sticky; top: calc(var(--hdr-h) + 20px); }
.ne-account__main > .card + .card, .ne-account__main > section + section { margin-top: 20px; }
.ne-side { background: var(--s-1); border: 1px solid var(--line-2); border-radius: var(--r-3); overflow: hidden; }
.ne-side__head { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line-1); background: var(--wash), var(--s-2); }
.ne-side__ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.125rem; color: var(--gold-100); border: 1px solid rgba(var(--gold-rgb), .55); background: rgba(var(--gold-rgb), .10); flex: none; }
.ne-side__name { color: var(--t-1); font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.ne-side__hint { font-size: var(--fs-sm); color: var(--t-3); }
.ne-side__silk { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-1); border-bottom: 1px solid var(--line-1); }
.ne-side__silk > div { background: var(--s-1); padding: 12px 18px; }
.ne-side__silk b { display: block; color: var(--gold-100); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.ne-side__silk span { font-size: var(--fs-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--t-3); font-weight: 700; }
.ne-side__nav { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.ne-side__nav a, .ne-side__nav button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: var(--r-2); color: var(--t-2); text-decoration: none; font-weight: 600; font-size: .9375rem; background: none; border: 0; text-align: start; position: relative; }
.ne-side__nav i { width: 18px; text-align: center; color: var(--t-3); }
.ne-side__nav a:hover, .ne-side__nav button:hover { background: rgba(255, 255, 255, .04); color: var(--t-1); }
.ne-side__nav a.active { background: var(--accent-soft); color: var(--t-1); }
.ne-side__nav a.active::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--gold-300); }
.ne-side__nav a.active i { color: var(--gold-300); }
.ne-side__sep { height: 1px; background: var(--line-1); margin: 6px 4px; }
.ne-panel { background: var(--s-1); border: 1px solid var(--line-2); border-radius: var(--r-3); background-image: var(--sheen); }
.ne-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-1); }
.ne-panel__head h2, .ne-panel__head h3 { font-family: var(--ff-ui); font-size: 1.0625rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.ne-panel__body { padding: 22px; }
.ne-panel + .ne-panel { margin-top: 20px; }
.ne-dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; margin: 0; }
.ne-dl dt, .ne-dl dd { padding: 12px 0; border-bottom: 1px solid var(--line-1); margin: 0; }
.ne-dl dt { color: var(--t-3); font-weight: 600; font-size: .9375rem; }
.ne-dl dd { color: var(--t-1); word-break: break-word; }
.ne-dl > :nth-last-child(-n+2) { border-bottom: 0; }
.ne-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ne-char { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-3); background: var(--s-2); border: 1px solid var(--line-2); transition: border-color var(--dur-2), transform var(--dur-3) var(--ease-out); }
.ne-char:hover { border-color: var(--line-3); }
.ne-char img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-3); background: var(--s-3); }
.ne-char__name { color: var(--t-1); font-weight: 700; text-decoration: none; }
.ne-char__meta { font-size: var(--fs-sm); color: var(--t-3); }
@media (max-width: 991.98px) {
  .ne-account { grid-template-columns: 1fr; }
  .ne-account__side { position: static; }
  .ne-side__nav { display: flex; overflow-x: auto; scrollbar-width: none; padding: 8px; }
  .ne-side__nav li { flex: none; }
  .ne-side__nav a, .ne-side__nav button { white-space: nowrap; }
  .ne-side__sep { display: none; }
}
@media (max-width: 575.98px) { .ne-dl { grid-template-columns: 1fr; } .ne-dl dt { border-bottom: 0; padding-bottom: 0; } }
.ne-section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ne-measure { max-width: 640px; }

/* ================================================================ POPRAWKI Z PRZEGLADU PROJEKTANTA (01.10 ~04:00) */
/* P1: Cinzel (kapitaliki, cyfry jak rzymskie "IX") tylko w naglowkach redakcyjnych - liczby i nazwy graczy w kroju UI */
.ne-spec dd, .ne-char-stats dd { font-family: var(--ff-ui); font-weight: 700; letter-spacing: -.01em; }
.ne-podium__name, .ne-char-card__id h2, .ne-guild-card__id h2, .ne-band__name { font-family: var(--ff-ui); font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.ne-band h1.ne-band__name { font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); }
/* P1: malo newsow - wyrozniony na cala szerokosc, poziomo (bez pustej kolumny obok) */
.ne-news.ne-news--solo { grid-template-columns: 1fr; }
.ne-news--solo .ne-news__featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
.ne-news--solo .ne-news__featured .ne-news__media { height: 100%; }
.ne-news--solo .ne-news__featured .ne-news__img { height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .ne-news--solo .ne-news__featured { grid-template-columns: 1fr; } }
/* 01.10: przy 1 newsie pod nim aktualne eventy (3 w rzedzie od 992 px) */
.ne-news__label { margin: 8px 0 0; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-3); }
.ne-news__events { display: grid; gap: 12px; }
.ne-news__events .ne-news__row { align-items: start; } /* chipy w jednej linii, gdy tytul sie zawija (przeglad 01.10) */
@media (min-width: 992px) { .ne-news__events { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* P2: puste sloty ekwipunku - delikatne, nie czarne kwadraty */
.ne-char-gear .sro-item-detail .item:empty { background: rgba(255, 255, 255, .025); border-color: var(--line-1); }
/* P3: naglowek Server Features w 1-2 liniach */
@media (min-width: 992px) { .ne-feat-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } } /* ponizej 992 px jedna kolumna (bez media nadpisywalo telefon) */
.ne-feat-head h2 { max-width: 22ch; }

/* ---- przeglad UX 01.10 ~04:10 ---- */
.ne-band__row--icon { align-items: center; justify-content: flex-start; }
.ne-band__icon { width: 84px; height: 84px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid var(--line-3); background: var(--s-3); display: grid; place-items: center; font-family: var(--ff-display); font-size: 2rem; color: var(--gold-200); }
.ne-band__icon img { width: 100%; height: 100%; object-fit: cover; }
.ne-band__icon--square { border-radius: 6px; }
.ne-band__icon--square img { width: 56px; height: 56px; image-rendering: pixelated; object-fit: contain; }
.ne-band__row--icon .ne-band__meta { margin-inline-start: auto; }
@media (max-width: 575.98px) { .ne-band__icon { width: 64px; height: 64px; } }
.ne-sep::before { content: "\00B7"; margin-inline: .4em; color: var(--t-3); }
.ne-step__t { display: block; font-family: var(--ff-ui); font-size: 1.0625rem; font-weight: 700; color: var(--t-1); margin: 0 0 2px; }
.ne-step__d { display: block; font-size: var(--fs-sm); color: var(--t-3); }
.ne-util__next { display: none; color: var(--t-2); white-space: nowrap; }
.ne-util__next b { color: var(--gold-200); font-weight: 600; }
@media (max-width: 575.98px) { .ne-util__next { display: inline; } .ne-util__in { justify-content: space-between; } .ne-util .ne-clock-key { display: none; } }
/* hero desktop (przeglad 01.10): bez "widzetu" - tytul wiekszy, wprost na obrazie (mocniejszy cien od dolu), bez ramki panelu */
@media (min-width: 992px) {
  .ne-hero__scrim { background: linear-gradient(0deg, var(--s-0) 0%, rgba(11, 10, 9, .86) 16%, rgba(11, 10, 9, .35) 36%, rgba(11, 10, 9, 0) 52%), linear-gradient(180deg, rgba(8, 8, 11, .5) 0%, rgba(8, 8, 11, 0) 14%); }
  .ne-hero__bar { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-inline: 0; align-items: end; }
  .ne-hero h1 { font-size: clamp(2.6rem, 1.4rem + 2.6vw, 4.25rem); }
  .ne-launch { border-inline-start-color: rgba(255, 236, 196, .18); }
  .ne-count__cell { background: rgba(11, 10, 9, .55); }
}

/* spolecznosc: male odnosniki do watkow forow na dole bloku (01.10 ~04:55) */
.ne-threads { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-1); }
.ne-threads .ne-community__label { margin: 0; }
.ne-threads ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ne-threads a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--line-1); background: rgba(18, 16, 14, .7); color: var(--t-3); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: border-color 150ms ease, color 150ms ease; }
.ne-threads a:hover { border-color: var(--line-3); color: var(--t-1); }
.ne-threads img { height: 16px; width: auto; max-width: 96px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .75; } /* loga wyrownane (przeglad 01.10) */
.ne-threads a:hover img { filter: none; opacity: 1; }
.ne-discord { margin-top: 0; }
/* 01.10 (przeglad projektanta, runda 2): "All news" w naglowku sekcji rowno z prawa krawedzia (przycisk-duch ma wewnetrzny odstep) */
.ne-section-head--row > .btn-ne-ghost { margin-inline-end: -12px; } /* telefon: gutter 16 px - wiecej dawalo poziomy pasek */
@media (min-width: 768px) { .ne-section-head--row > .btn-ne-ghost { margin-inline-end: calc(var(--bs-btn-padding-x, 16px) * -1); } }
