/* =====================================================================
   DBRebirth — wygląd S2. Ładowany PO starych plikach CSS, więc wygrywa.
   Kolory zmienisz w jednym miejscu: :root poniżej.
   ===================================================================== */
:root {
    --bg: #05070d;
    --bg-2: #0a0f1a;
    --panel: rgba(12, 17, 29, .92);
    --panel-2: rgba(17, 24, 40, .95);
    --line: rgba(255, 170, 60, .22);
    --line-strong: rgba(255, 160, 40, .65);
    --gold: #ffc247;
    --orange: #ff8a1c;
    --fire: linear-gradient(180deg, #ffb13b 0%, #ff7a12 55%, #e55a00 100%);
    --ice: #3cb4ff;
    --green: #3ddc6a;
    --red: #ff4b4b;
    --text: #d7dbe4;
    --muted: #8b93a7;
    --head: 'Oswald', 'Roboto Condensed', Arial, sans-serif;
    --body: 'Roboto Condensed', Arial, sans-serif;
    --r: 6px;
}

/* ---------- podstawy ---------- */
html { background: var(--bg); }
body.s2 {
    margin: 0;
    background:
        radial-gradient(1200px 500px at 15% 0%, rgba(255, 120, 20, .10), transparent 60%),
        radial-gradient(1000px 500px at 90% 10%, rgba(60, 150, 255, .10), transparent 60%),
        var(--bg);
    color: var(--text);
    font: 14px/1.5 var(--body);
    text-shadow: none;
    min-width: 0;
    overflow-x: hidden;
}
.s2 *, .s2 *::before, .s2 *::after { box-sizing: border-box; }
.s2 a { color: var(--gold); text-decoration: none; transition: color .15s; }
.s2 a:hover { color: #fff; }
.s2-i { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.s2-gold { color: var(--gold) !important; }
.s2-ok { color: var(--green) !important; }
.s2-bad { color: var(--red) !important; }

/* ---------- przyciski (ukośna ramka, prosty tekst) ---------- */
.s2-btn {
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 15px/1 var(--head); letter-spacing: .06em;
    padding: 11px 22px; cursor: pointer; white-space: nowrap;
    transition: transform .15s, filter .2s;
}
.s2-btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 3px;
    transform: skewX(-10deg); border: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.s2-btn:hover { transform: translateY(-1px); }
.s2 .s2-btn--fire { color: #1a0a00; text-shadow: 0 1px 0 rgba(255, 220, 160, .4); }
.s2-btn--fire::before { background: var(--fire); border-color: #ffcf7a; box-shadow: 0 0 18px rgba(255, 120, 20, .45), inset 0 1px 0 rgba(255, 255, 255, .45); }
.s2 .s2-btn--fire:hover { color: #000; filter: brightness(1.1); }
.s2-btn--fire:hover::before { box-shadow: 0 0 28px rgba(255, 140, 30, .75); }
.s2 .s2-btn--ghost { color: #fff; }
.s2-btn--ghost::before { background: rgba(10, 12, 20, .78); border-color: var(--line-strong); box-shadow: inset 0 0 12px rgba(255, 150, 40, .12); }
.s2 .s2-btn--ghost:hover { color: #fff; }
.s2-btn--ghost:hover::before { border-color: var(--gold); box-shadow: 0 0 16px rgba(255, 160, 40, .4), inset 0 0 12px rgba(255, 150, 40, .2); }
.s2 .s2-btn--ice { color: #bfe6ff; }
.s2-btn--ice::before { background: rgba(5, 25, 50, .82); border-color: var(--ice); box-shadow: 0 0 16px rgba(60, 180, 255, .4), inset 0 0 14px rgba(60, 180, 255, .2); }
.s2 .s2-btn--ice:hover { color: #fff; }
.s2-btn--ice:hover::before { box-shadow: 0 0 26px rgba(60, 180, 255, .7), inset 0 0 14px rgba(60, 180, 255, .3); }
.s2-btn--lg { font-size: 18px; padding: 15px 30px; min-width: 180px; }
.s2-btn--sm { font-size: 12px; padding: 7px 16px; }
.s2-btn--block { display: flex; width: 100%; font-size: 13px; }
.s2-btn--block::before { transform: none; }
.s2-btn .s2-i { width: 20px; height: 20px; }

/* ---------- górny pasek ---------- */
.s2-top {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(180deg, #080a12, #05070d);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 2px 24px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 140, 30, .25);
}
.s2-top__in { max-width: 1480px; margin: 0 auto; padding: 0 20px; height: 66px; display: flex; align-items: center; gap: 24px; }
.s2-brand { display: flex; flex-direction: column; line-height: 1; flex: none; }
.s2-brand__name {
    font: 34px/0.9 'Bangers', var(--head); letter-spacing: .02em;
    background: linear-gradient(180deg, #fff3b0 0%, #ffb52e 45%, #ff5a00 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 #3a1400) drop-shadow(0 0 10px rgba(255, 120, 0, .45));
    transform: skewX(-6deg);
}
.s2-brand__ed { font: 600 10px var(--head); color: var(--gold); letter-spacing: .25em; margin-top: 3px; text-align: right; }

.s2-nav { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.s2-nav a {
    display: flex; align-items: center; gap: 9px; padding: 0 16px; height: 100%;
    font: 500 14px var(--head); letter-spacing: .06em; text-transform: uppercase; color: #c9cfdb;
    border-bottom: 2px solid transparent; position: relative;
}
.s2-nav a .s2-i { color: var(--gold); }
.s2-nav a:hover { color: #fff; background: linear-gradient(0deg, rgba(255, 140, 30, .12), transparent); }
.s2-nav a.is-active { color: var(--gold); border-bottom-color: var(--orange); background: linear-gradient(0deg, rgba(255, 140, 30, .18), transparent); }

.s2-top__status { display: flex; align-items: center; gap: 10px; margin-left: auto; font: 500 12px/1.35 var(--head); letter-spacing: .04em; color: #c9cfdb; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .08); }
.s2-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.s2-dot--on { background: var(--green); box-shadow: 0 0 10px var(--green); animation: s2pulse 2s infinite; }
.s2-dot--off { background: var(--red); box-shadow: 0 0 10px var(--red); }
@keyframes s2pulse { 50% { opacity: .45; } }
.s2-top__cta { display: flex; gap: 12px; }

.s2-nav-toggle, .s2-burger { display: none; }

/* tłumacz */
.s2 .s2-lang { width: auto; margin: 0; text-align: left; }
.s2 .s2-lang .ct-topbar__list { margin: 0; padding: 0; }
.s2 .s2-lang .ct-language { border: 0; padding: 6px; font: inherit; color: var(--muted); cursor: pointer; }
.s2 .s2-lang .ct-language:hover { color: var(--gold); }
.s2 .s2-lang .ct-language__dropdown { top: 100%; right: 0; min-width: 140px; }
.s2 .s2-lang .ct-language__dropdown li { background: var(--bg-2); border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: 500 13px var(--head); }
.s2 .s2-lang .ct-language__dropdown li:hover { background: #1a2236; }
.s2 .s2-lang .ct-language__dropdown a { color: #ddd; }

/* ---------- baner ---------- */
.s2-hero {
    position: relative; min-height: 400px;
    background: #090c14 center 30% / cover no-repeat;
    border-bottom: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.s2-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), var(--gold), var(--ice), transparent); opacity: .8; }
.s2-hero__shade {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 46% 70% at 50% 50%, rgba(4, 6, 12, .82), rgba(4, 6, 12, .35) 70%, transparent),
        linear-gradient(180deg, rgba(5, 7, 13, .2) 0%, rgba(5, 7, 13, .1) 50%, rgba(5, 7, 13, .9) 100%);
}
.s2-hero__in { position: relative; z-index: 1; text-align: center; padding: 40px 20px 50px; }
.s2-logo { margin: 0; cursor: pointer; line-height: 1; display: inline-flex; flex-direction: column; align-items: flex-end; }
.s2-logo__name {
    font: clamp(64px, 9vw, 128px)/0.85 'Bangers', var(--head); letter-spacing: .01em;
    color: #fff; transform: skewX(-8deg);
    -webkit-text-stroke: 2px #1a0800;
    filter: drop-shadow(0 4px 0 #1a0800) drop-shadow(0 0 22px rgba(255, 130, 20, .55));
    background: linear-gradient(180deg, #ffffff 0%, #e7ecf5 50%, #9aa6bd 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.s2-logo__name span {
    background: linear-gradient(180deg, #fff7c2 0%, #ffbe32 40%, #ff6a00 75%, #c93a00 100%);
    -webkit-background-clip: text; background-clip: text;
}
.s2-logo__ed {
    font: 600 clamp(16px, 2.2vw, 28px)/1 var(--head); letter-spacing: .28em; margin: 6px 6px 0 0;
    background: linear-gradient(180deg, #ffe08a, #ff8a1c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-style: italic;
}
.s2-hero__tag { font: 600 clamp(15px, 1.6vw, 20px)/1.4 var(--head); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 22px 0 28px; text-shadow: 0 2px 8px #000, 0 0 2px #000; }
.s2-hero__btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.s2-srv {
    position: absolute; right: 28px; bottom: 26px; z-index: 2; width: 230px;
    display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
    padding: 14px 16px; border-radius: var(--r);
    background: rgba(6, 9, 16, .82); border: 1px solid var(--line-strong);
    box-shadow: 0 0 20px rgba(0, 0, 0, .6), inset 0 0 20px rgba(255, 140, 30, .08);
}
.s2-srv__ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 2px solid var(--orange); box-shadow: 0 0 14px rgba(255, 140, 30, .5), inset 0 0 10px rgba(255, 140, 30, .3); }
.s2-srv__ring.is-off { border-color: var(--red); color: var(--red); box-shadow: 0 0 14px rgba(255, 60, 60, .4); }
.s2-srv__ring .s2-i { width: 24px; height: 24px; }
.s2-srv__txt { display: flex; flex-direction: column; font-family: var(--head); line-height: 1.2; }
.s2-srv__txt small { font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.s2-srv__txt strong { font-size: 20px; font-weight: 500; color: #fff; letter-spacing: .06em; }
.s2-srv__txt span { font-size: 12px; color: #c9cfdb; }
.s2-bar { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 4px; }
.s2-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff6a00, var(--gold)); box-shadow: 0 0 10px var(--orange); border-radius: 4px; }

/* ---------- układ 3 kolumn ---------- */
.s2-wrap {
    max-width: 1480px; margin: 22px auto 0; padding: 0 20px;
    display: grid; grid-template-columns: 270px minmax(0, 1fr) 270px; gap: 18px; align-items: start;
}
.s2-wrap { grid-template-areas: 'left main right'; }
.s2-left { grid-area: left; }
.s2-right { grid-area: right; }
.s2-main { grid-area: main; }
.s2-left, .s2-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.s2-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* panele */
.s2-box, .s2-panel {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .03);
    position: relative;
}
.s2-box { padding: 14px; }
.s2-box__title { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font: 600 15px var(--head); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.s2-box__title .s2-i { color: var(--gold); }
.s2-box__title--plain { font-size: 13px; color: #c9cfdb; }
.s2-more { display: block; text-align: center; margin-top: 10px; font: 500 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.s2-more:hover { color: var(--gold) !important; }

/* ---------- menu boczne ---------- */
.s2-side { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.s2-side__cat + .s2-side__cat { border-top: 1px solid rgba(255, 255, 255, .06); }
.s2-side__cat summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 14px 14px 14px 16px; border-left: 3px solid var(--orange);
    background: linear-gradient(90deg, rgba(255, 130, 20, .10), transparent 60%);
    transition: background .2s;
}
.s2-side__cat summary::-webkit-details-marker { display: none; }
.s2-side__cat summary:hover, .s2-side__cat[open] summary { background: linear-gradient(90deg, rgba(255, 130, 20, .22), transparent 75%); }
.s2-side__ico { width: 40px; height: 40px; display: grid; place-items: center; color: var(--orange); flex: none; }
.s2-side__ico .s2-i { width: 30px; height: 30px; stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(255, 130, 20, .5)); }
.s2-side__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.s2-side__txt b { font: 500 14px var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.s2-side__txt small { font-size: 12px; color: var(--muted); }
.s2-side__chev { margin-left: auto; color: var(--gold); transition: transform .2s; }
.s2-side__cat[open] .s2-side__chev { transform: rotate(90deg); }
.s2-side ul { list-style: none; margin: 0; padding: 6px 0 10px; background: rgba(0, 0, 0, .25); }
.s2-side li a { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 34px; color: #c4cad6; font-size: 14px; position: relative; }
.s2-side li a::before { content: ''; position: absolute; left: 20px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 1px; background: rgba(255, 160, 40, .45); transform: rotate(45deg); }
.s2-side li a:hover { color: #fff; background: rgba(255, 140, 30, .08); }
.s2-side li a.is-active { color: var(--gold); background: rgba(255, 140, 30, .12); }
.s2-side li a.is-active::before { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.s2-tag { font: normal 600 10px var(--head); letter-spacing: .08em; padding: 1px 5px; border-radius: 3px; background: var(--green); color: #031; }
.s2-tag--red { background: var(--red); color: #fff; }

.s2-search form { display: flex; gap: 8px; margin: 0; }
.s2 .s2-input { flex: 1; min-width: 0; padding: 9px 12px; background: rgba(0, 0, 0, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px; font: 14px var(--body); }
.s2 .s2-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 10px rgba(255, 130, 20, .35); }

.s2-promo {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center;
    min-height: 230px; padding: 18px; border-radius: var(--r); overflow: hidden;
    background: #111 47% 30% / auto 130% no-repeat; border: 1px solid var(--line-strong);
    box-shadow: 0 0 20px rgba(255, 110, 0, .18);
}
.s2-promo__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .1) 0%, rgba(30, 10, 0, .55) 45%, rgba(5, 7, 13, .95) 100%); }
.s2-promo__title { position: relative; font: 600 22px/1.15 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 12px rgba(255, 120, 0, .6), 0 2px 2px #000; }
.s2-promo__sub { position: relative; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-strong); font: 500 12px/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.s2-promo:hover { box-shadow: 0 0 30px rgba(255, 130, 20, .45); }
.s2-info p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- środek ---------- */
.s2-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.s2-feat {
    display: flex; align-items: center; gap: 14px; padding: 16px;
    background: linear-gradient(135deg, rgba(30, 20, 10, .9), var(--panel));
    border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .45); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.s2-feat:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .5), 0 0 18px rgba(255, 130, 20, .2); }
.s2-feat__ico { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--gold); border: 2px solid rgba(255, 170, 50, .6); background: radial-gradient(circle, rgba(255, 140, 30, .25), rgba(0, 0, 0, .3) 70%); box-shadow: 0 0 16px rgba(255, 130, 20, .35); }
.s2-feat__ico .s2-i { width: 34px; height: 34px; stroke-width: 1.5; }
.s2-feat__ico--s2 { font: 30px/1 'Bangers', var(--head); letter-spacing: .02em; color: var(--gold); text-shadow: 0 0 10px rgba(255, 140, 30, .7); }
.s2-feat__txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.s2-feat__txt b { font: 500 16px var(--head); letter-spacing: .06em; color: #fff; }
.s2-feat__txt small { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.s2-feat__txt em { font: normal 600 11px var(--head); letter-spacing: .12em; color: var(--gold); padding: 5px 14px; border: 1px solid var(--line-strong); border-radius: 3px; background: rgba(0, 0, 0, .3); }
.s2-feat:hover .s2-feat__txt em { background: var(--fire); color: #1a0a00; }

.s2-mainrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.s2-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 130, 20, .10), transparent 70%); }
.s2-panel__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 17px var(--head); letter-spacing: .06em; color: #fff; }
.s2-panel__head h2 .s2-i { color: var(--orange); width: 22px; height: 22px; }
.s2-panel__head a { font: 500 12px var(--head); letter-spacing: .08em; color: var(--muted); }
.s2-panel__head a:hover { color: var(--gold); }

/* treść Gesiora — nadpisuje stare wymiary #content */
.s2 #content.s2-content { float: none; width: auto; margin: 0; background: none; padding: 16px; position: static; color: var(--text); font-size: 14px; }
.s2 #content.s2-content #content_text { float: none; width: auto; margin: 0; }
.s2 #content.s2-content { overflow-x: auto; overflow-wrap: anywhere; }
.s2-content img, .s2-content iframe, .s2-content video { max-width: 100%; height: auto; }
.s2-content div, .s2-content table, .s2-content p, .s2-content center, .s2-content a, .s2-content span, .s2-content form { max-width: 100%; box-sizing: border-box; }
.s2-content table { max-width: 100%; border-collapse: collapse; }
.s2-content td, .s2-content th { color: var(--text); }
.s2 .s2-content a { color: var(--gold); }
.s2 .s2-content a:hover { color: #fff; }
.s2-content h1, .s2-content h2, .s2-content h3 { font-family: var(--head); color: #fff; letter-spacing: .04em; }
.s2-content input[type=text], .s2-content input[type=password], .s2-content input[type=email], .s2-content input:not([type]), .s2-content select, .s2-content textarea {
    background: rgba(0, 0, 0, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .15); border-radius: 4px; padding: 6px 8px; font: 14px var(--body); max-width: 100%;
}
.s2-content #content_text > table, .s2-content .TableContainer { width: 100% !important; }

/* gildie */
.s2-guilds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; }
.s2-guilds .s2-panel__head, .s2-guilds .s2-more { grid-column: 1 / -1; margin: 0 -12px; }
.s2-guilds .s2-more { margin-top: -2px; }
@media (min-width: 1700px) { .s2-guilds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s2-guild { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; min-width: 0; border-radius: var(--r); background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); transition: transform .2s, box-shadow .2s; }
.s2-guild:hover { transform: translateY(-2px); }
.s2-guild__rank { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.s2-ball { width: 54px; height: 54px; filter: drop-shadow(0 0 8px rgba(255, 140, 20, .55)) drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); transition: transform .3s, filter .3s; }
.s2-guild:hover .s2-ball { transform: rotate(-12deg) scale(1.06); filter: drop-shadow(0 0 14px rgba(255, 170, 40, .9)) drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); }
.s2-guild--1 .s2-ball { width: 58px; height: 58px; filter: drop-shadow(0 0 14px rgba(255, 190, 60, .85)) drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); }
@keyframes s2glow { 50% { filter: drop-shadow(0 0 16px rgba(255, 190, 60, .95)) drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); } }
.s2-guild__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.s2-guild__txt b { font: 500 16px var(--head); letter-spacing: .03em; color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s2-guild__txt small { font-size: 12px; color: var(--muted); }
.s2-guild__txt i { font-style: normal; color: var(--gold); }
.s2-guild__mem { margin-left: auto; text-align: center; font: 600 18px/1 var(--head); color: var(--green); }
.s2-guild__mem small { display: block; font: 400 10px var(--body); color: var(--muted); letter-spacing: .06em; margin-top: 3px; }
.s2-guild--1 { border-color: rgba(255, 190, 60, .7); background: linear-gradient(90deg, rgba(255, 160, 30, .16), rgba(0, 0, 0, .3)); box-shadow: 0 0 16px rgba(255, 160, 30, .2); }
.s2-guild--2 { border-color: rgba(60, 180, 255, .6); background: linear-gradient(90deg, rgba(60, 160, 255, .14), rgba(0, 0, 0, .3)); box-shadow: 0 0 16px rgba(60, 180, 255, .18); }
.s2-guild--3 { border-color: rgba(255, 120, 40, .55); background: linear-gradient(90deg, rgba(200, 90, 20, .14), rgba(0, 0, 0, .3)); }

/* ---------- prawa kolumna ---------- */
.s2-event { overflow: hidden; background-size: auto 150%; background-position: 47% 35%; border-color: var(--line-strong); padding: 0; }
.s2-event__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .55), rgba(40, 14, 0, .7) 50%, rgba(5, 7, 13, .95)); }
.s2-event .s2-box__title { position: relative; margin: 0; padding: 12px 14px; color: var(--gold); border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.s2-event__body { position: relative; padding: 16px 14px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.s2-event__body strong { font: 500 20px var(--head); color: #fff; letter-spacing: .04em; text-shadow: 0 2px 6px #000; }
.s2-event__body small { color: #c9cfdb; font-size: 13px; }
.s2-event__state { margin: 12px 0 6px; font: 500 11px var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.s2-cd { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin-bottom: 14px; }
.s2-cd span { display: flex; flex-direction: column; align-items: center; min-width: 44px; }
.s2-cd b { font: 600 26px/1 var(--head); color: var(--gold); text-shadow: 0 0 12px rgba(255, 140, 30, .7); font-variant-numeric: tabular-nums; }
.s2-cd i { font: normal 500 9px var(--head); letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.s2-cd em { font: 600 22px/1 var(--head); color: var(--gold); font-style: normal; opacity: .7; }
.s2-cd.is-live b { color: var(--green); text-shadow: 0 0 12px rgba(60, 220, 100, .7); }

.s2-daily { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.s2-daily:first-of-type { border-top: 0; }
.s2-daily img { max-width: 64px; max-height: 64px; }
.s2-daily span { display: flex; flex-direction: column; }
.s2-daily b { color: #fff; font-family: var(--head); font-weight: 500; }
.s2-daily small { color: var(--muted); }

.s2-top7 { list-style: none; margin: 0; padding: 0; }
.s2-top7 li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 14px; }
.s2-top7 li:first-child { border-top: 0; }
.s2-top7 a { color: #dfe3ec !important; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s2-top7 a.s2-ok { color: var(--green) !important; }
.s2-top7 a:hover { color: var(--gold) !important; }
.s2-top7__n { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 3px; font: 600 12px var(--head); background: rgba(255, 255, 255, .08); color: #c9cfdb; }
.s2-top7__n--1 { background: linear-gradient(180deg, #ffd666, #d68a10); color: #3a1c00; }
.s2-top7__n--2 { background: linear-gradient(180deg, #e1e8f3, #8193b0); color: #0d1b30; }
.s2-top7__n--3 { background: linear-gradient(180deg, #f0a26a, #9c4a14); color: #fff; }
.s2-top7__lv { color: var(--muted); font-size: 13px; flex: none; }

.s2-online { display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, rgba(255, 130, 20, .12), var(--panel)); }
.s2-online:hover { border-color: var(--line-strong); }
.s2-online__ico { color: var(--orange); }
.s2-online__ico .s2-i { width: 36px; height: 36px; stroke-width: 1.5; }
.s2-online span { display: flex; flex-direction: column; line-height: 1.2; }
.s2-online small { font: 500 13px var(--head); letter-spacing: .08em; color: #fff; }
.s2-online b { font: 600 20px var(--head); color: var(--gold); }

.s2-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 10px; }
.s2-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .15s, box-shadow .2s; }
.s2-social a svg { width: 24px; height: 24px; }
.s2-social a:hover { transform: translateY(-2px); }
.s2 .s2-social--dc { color: #8a98ff; } .s2-social--dc:hover { box-shadow: 0 0 14px rgba(88, 101, 242, .7); }
.s2 .s2-social--yt { color: #ff4040; } .s2-social--yt:hover { box-shadow: 0 0 14px rgba(255, 40, 40, .6); }
.s2 .s2-social--fb { color: #5b9bff; } .s2-social--fb:hover { box-shadow: 0 0 14px rgba(24, 119, 242, .7); }
.s2-dc-count { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.s2-dc-count:empty { display: none; }
.s2-dc-count b { color: #8a98ff; }

/* ---------- stopka ---------- */
.s2-foot { margin-top: 28px; border-top: 1px solid var(--line); background: rgba(3, 4, 8, .9); }
.s2-foot__in { max-width: 1480px; margin: 0 auto; padding: 18px 20px 6px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.s2-foot__quote { font: italic 500 13px var(--head); letter-spacing: .04em; color: var(--orange); text-align: center; flex: 1; min-width: 260px; }
.s2-foot__links { display: flex; gap: 16px; }
.s2-foot__links a { color: var(--muted) !important; }
.s2-foot__links a:hover { color: var(--gold) !important; }
.s2-foot__copy { max-width: 1480px; margin: 0 auto; padding: 0 20px 18px; font-size: 11px; color: #555c6c; }

/* ---------- responsywność ---------- */
@media (max-width: 1360px) {
    .s2-nav a { padding: 0 11px; font-size: 13px; }
}
@media (max-width: 1180px) {
    /* nadal 3 kolumny jak na komputerze, tylko węższe boki */
    .s2-top__in { gap: 10px; padding: 0 12px; }
    .s2-nav { gap: 0; }
    .s2-nav a { gap: 6px; font-size: 12px; letter-spacing: .04em; }
    .s2-nav a .s2-i { width: 15px; height: 15px; }
    .s2-top__status { display: flex; gap: 6px; padding-left: 10px; font-size: 11px; white-space: nowrap; }
    .s2-top__cta { gap: 8px; }
    .s2-top__cta .s2-btn { padding: 9px 13px; font-size: 13px; }
    .s2-wrap { grid-template-columns: 215px minmax(0, 1fr) 215px; gap: 12px; padding: 0 12px; }
    .s2-feats { grid-template-columns: 1fr; }
    .s2-home .s2-guilds { grid-template-columns: 1fr; }
    .s2-side__cat summary { gap: 10px; padding: 12px 10px; }
    .s2-side__ico { width: 30px; height: 30px; }
    .s2-side__ico .s2-i { width: 24px; height: 24px; }
    .s2-side__txt b { font-size: 13px; }
    .s2-side__txt small { font-size: 11px; }
    .s2-box { padding: 12px; }
    .s2-cd span { min-width: 30px; }
    .s2-cd b { font-size: 20px; }
    .s2-cd em { font-size: 16px; }
    .s2-search form { flex-direction: column; }
    .s2-top7 li { gap: 7px; font-size: 13px; }
    .s2-top7__lv { font-size: 12px; }
    .s2-promo { min-height: 200px; }
    .s2-news__thumb { width: 96px; height: 60px; }
    .s2-nav a { padding: 0 7px; }
}
@media (max-width: 900px) {
    .s2-top__in { height: 58px; gap: 12px; }
    .s2-burger { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; color: var(--gold); cursor: pointer; border: 1px solid var(--line-strong); border-radius: 4px; order: 3; }
    .s2-top__cta { order: 2; margin-left: auto; }
    .s2-top__cta .s2-btn--ghost { display: none; }
    .s2-lang { order: 4; }
    .s2-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line-strong); padding: 6px 0; }
    .s2-nav a { padding: 14px 20px; height: auto; border-bottom: 0; border-left: 3px solid transparent; }
    .s2-nav a.is-active { border-left-color: var(--orange); }
    .s2-nav-toggle:checked ~ .s2-nav { display: flex; }
    .s2-srv { position: relative; right: auto; bottom: auto; margin: 0 auto 24px; }
    .s2-hero { flex-direction: column; min-height: 0; }
    .s2-wrap { grid-template-columns: minmax(0, 1fr); padding: 0 16px; grid-template-areas: 'main' 'left' 'right'; }
    .s2-guilds { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .s2-brand__name { font-size: 28px; }
    .s2-brand__ed { display: none; }
    .s2-top__cta .s2-btn { padding: 9px 14px; font-size: 13px; }
    .s2-hero__in { padding: 30px 16px 28px; }
    .s2-hero__btns { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 10px; }
    .s2-btn--lg { min-width: 0; }
    .s2-panel__head { padding: 12px; }
    .s2 #content.s2-content { padding: 12px; overflow-x: auto; }
    .s2-foot__in { flex-direction: column; text-align: center; }
}

/* karty na górze — węższe ekrany (np. laptop 1366px) */
@media (max-width: 1500px) and (min-width: 1181px) {
    .s2-feat { padding: 12px; gap: 10px; }
    .s2-feat__ico { width: 48px; height: 48px; }
    .s2-feat__ico .s2-i { width: 26px; height: 26px; }
    .s2-feat__ico--s2 { font-size: 22px; }
    .s2-feat__txt b { font-size: 14px; white-space: nowrap; }
    .s2-feat__txt small { font-size: 12px; }
}

/* płynniejsze przewijanie: duży panel z newsami bez ciężkiego cienia */
.s2-panel--content { box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.s2-top { transform: translateZ(0); }

/* ---------- newsy (pages/latestnews.php) ---------- */
.s2-news { display: flex; flex-direction: column; gap: 10px; margin: -4px; }
.s2-news__item { border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r); background: rgba(0, 0, 0, .25); overflow: hidden; transition: border-color .2s; }
.s2-news__item:hover, .s2-news__item[open] { border-color: var(--line-strong); }
.s2-news__head { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 12px; }
.s2-news__head::-webkit-details-marker { display: none; }
.s2-news__head:hover { background: rgba(255, 140, 30, .06); }
.s2-news__thumb { width: 120px; height: 76px; flex: none; border-radius: 4px; background: #111 center / cover no-repeat; border: 1px solid rgba(255, 170, 60, .35); box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
.s2-news__thumb--none { background: radial-gradient(circle at 50% 45%, #ffd257 0, #ff9a12 22%, #b84300 34%, transparent 36%), linear-gradient(135deg, #2a1606, #0d1120); }
.s2-news__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.s2-news__title { font: 500 17px/1.25 var(--head); letter-spacing: .02em; color: #fff; }
.s2-news__date { font-size: 12px; color: var(--orange); }
.s2-news__date::before { content: '◆ '; font-size: 9px; vertical-align: 1px; }
.s2-news__excerpt { font-size: 13px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.s2-news__item[open] .s2-news__excerpt { display: none; }
.s2-news__chev { width: 12px; height: 12px; flex: none; margin-right: 6px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); transition: transform .2s; }
.s2-news__item[open] .s2-news__chev { transform: rotate(45deg); }
.s2-news__body { padding: 4px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .06); line-height: 1.6; overflow-x: auto; overflow-wrap: anywhere; }
.s2-news__body img { max-width: 100%; height: auto; }
.s2-news__code { background: rgba(0, 0, 0, .5); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 4px; padding: 10px; white-space: pre-wrap; color: #9fe39f; font: 13px/1.4 Consolas, monospace; }
.s2-news__quote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--orange); background: rgba(255, 140, 30, .07); color: #c9cfdb; }
.s2-news__empty { padding: 30px; text-align: center; color: var(--muted); }
@media (max-width: 560px) {
    .s2-news__head { gap: 10px; padding: 10px; }
    .s2-news__thumb { width: 72px; height: 54px; }
    .s2-news__title { font-size: 15px; }
    .s2-news__body { padding: 4px 10px 14px; }
}

/* bonus EXP przy gildii */
.s2-guild__bonus { display: block; margin-bottom: 4px; font: normal 600 11px var(--head); letter-spacing: .04em; color: var(--green); white-space: nowrap; }

/* baner na telefonie: kadr na postać */
@media (max-width: 900px) { .s2-hero { background-position: 26% 30%; } }

html { overflow-x: hidden; }

/* ---------- tło całej strony: krajobraz (_img/background/page.jpg) ----------
   Stała warstwa pod treścią — nie przerysowuje się przy przewijaniu. */
:root { --panel: rgba(12, 17, 29, .86); }
body.s2 { background: transparent; }
body.s2::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 7, 13, .05) 0%, rgba(5, 7, 13, .25) 55%, rgba(5, 7, 13, .55) 100%),
        url('../_img/background/page.jpg') center bottom / cover no-repeat,
        #070914;
    transform: translateZ(0);
}
.s2-side { background: rgba(12, 17, 29, .86); }
@media (max-width: 900px) { body.s2::before { background-position: center, 30% bottom, center; } }

/* wyszukiwarka postaci w banerze (w miejscu dawnego "Stan serwera") */
.s2-srv.s2-search { display: block; width: 280px; padding: 14px 16px; }
.s2-srv.s2-search .s2-box__title { margin-bottom: 10px; color: var(--gold); }
.s2-srv.s2-search form { display: flex; gap: 8px; margin: 0; }
@media (max-width: 900px) { .s2-srv.s2-search { width: auto; max-width: 340px; margin: 0 auto 24px; } }

/* Top 7 postaci: kule Dragon Ball 1–7 zamiast numerów */
.s2-top7__ball { width: 36px; height: 36px; flex: none; display: grid; place-items: center; }
.s2-top7__ball .s2-ball { width: 34px; height: 34px; filter: drop-shadow(0 0 5px rgba(255, 140, 20, .5)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
.s2-top7 li:hover .s2-ball { transform: rotate(-12deg) scale(1.08); }
.s2-top7 li:first-child .s2-ball { filter: drop-shadow(0 0 9px rgba(255, 190, 60, .9)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }

/* telefon: PLAY NOW przy lewej krawędzi (bez napisu w lewym górnym rogu) */
@media (max-width: 900px) { .s2-top__cta { margin-left: 0; } }

/* ---------- ekran ładowania (strona główna, raz na wizytę) ---------- */
.s2-intro {
    position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center;
    background: #05070d center / cover no-repeat; transition: opacity .7s ease;
}
.s2-intro::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5, 7, 13, .55), rgba(5, 7, 13, .92) 70%); }
.s2-intro.is-out { opacity: 0; pointer-events: none; }
.s2-intro__in { position: relative; text-align: center; padding: 20px; }
.s2-intro .s2-logo { cursor: default; }
.s2-intro__spin { width: 46px; height: 46px; margin: 26px auto 14px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .12); border-top-color: var(--orange); box-shadow: 0 0 18px rgba(255, 130, 20, .35); animation: s2spin 1s linear infinite; }
@keyframes s2spin { to { transform: rotate(360deg); } }
.s2-intro__txt { font: 500 14px var(--head); letter-spacing: .2em; text-transform: uppercase; color: #c9cfdb; }

/* ---------- gildie: tag i oznaczenia ST1–ST4 ---------- */
.s2-guild__tag { color: #fff; opacity: .85; font-weight: 400; }
.s2-st { display: inline-block; margin-bottom: 4px; padding: 1px 6px; border-radius: 3px; font: normal 700 10px/1.4 var(--head); letter-spacing: .08em; color: #111; }
.s2-st--1 { background: linear-gradient(180deg, #ffe07a, #e0a800); box-shadow: 0 0 8px rgba(255, 200, 40, .7); }
.s2-st--2 { background: linear-gradient(180deg, #f2f4f8, #a9b2c0); box-shadow: 0 0 8px rgba(200, 210, 225, .6); }
.s2-st--3 { background: linear-gradient(180deg, #f0a26a, #b8642a); box-shadow: 0 0 8px rgba(205, 127, 50, .6); }
.s2-st--4 { background: linear-gradient(180deg, #9ee8ff, #3cb8e6); box-shadow: 0 0 8px rgba(77, 210, 255, .6); }
.s2-guild__mem .s2-st + .s2-guild__bonus { margin-top: 0; }
