/* EraBaiak - szablon erabaiak2: ciemny fantasy, granat/srebro/blekit z logo */
:root {
	--bg: #060b16;
	--bg-2: #0a1326;
	--panel: rgba(11, 21, 42, 0.78);
	--panel-solid: #0c172e;
	--line: rgba(110, 170, 255, 0.16);
	--line-strong: rgba(110, 170, 255, 0.34);
	--text: #dbe6f5;
	--muted: #8ea3c2;
	--silver: #e4ebf5;
	--accent: #2f9bff;
	--accent-2: #6cc6ff;
	--accent-deep: #1460c8;
	--ok: #3ddc84;
	--bad: #ff5d6c;
	--radius: 14px;
	--wrap: 1200px;
	--nav-h: 64px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Cinzel', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.eb2 {
	margin: 0;
	min-height: 100vh;
	font: 15px/1.6 var(--font);
	color: var(--text);
	background:
		radial-gradient(1200px 600px at 50% -10%, rgba(47, 155, 255, 0.12), transparent 60%),
		radial-gradient(900px 500px at 100% 40%, rgba(20, 96, 200, 0.10), transparent 60%),
		linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
#eb-particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.nav, .hero, .page-head, .stats, .features, main, .foot { position: relative; z-index: 1; }

a { color: var(--accent-2); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
img { max-width: 100%; }
code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: rgba(47, 155, 255, .14); color: var(--accent-2); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
	font: 600 14px/1.2 var(--font); letter-spacing: .02em; color: #fff; cursor: pointer;
	transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn-primary {
	background: linear-gradient(180deg, #3aa7ff, var(--accent-deep));
	border-color: rgba(140, 200, 255, .5);
	box-shadow: 0 6px 24px rgba(47, 155, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 8px 34px rgba(47, 155, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: var(--silver); }
.btn-ghost:hover { background: rgba(47, 155, 255, .14); border-color: var(--accent); }
.btn-link { background: none; color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn-link:hover { color: #fff; transform: none; }
/* zloty przycisk Buy Coins - ma sie wyrozniac na tle niebieskiej strony */
.btn-gold {
	background: linear-gradient(180deg, #ffe08a, #f0b429 45%, #b77a0e);
	border-color: rgba(255, 228, 150, .8); color: #2a1a00; font-weight: 800; text-shadow: 0 1px 0 rgba(255, 240, 200, .5);
	box-shadow: 0 6px 24px rgba(240, 180, 41, .45), inset 0 1px 0 rgba(255, 255, 255, .55);
	animation: eb2-gold 2.6s ease-in-out infinite;
}
.btn-gold:hover { color: #1a0f00; box-shadow: 0 8px 36px rgba(255, 200, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold svg { stroke-width: 2.4; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.btn:focus-visible, .dd-btn:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- pasek menu ---------- */
.nav {
	position: sticky; top: 0; z-index: 50; height: var(--nav-h);
	background: rgba(6, 11, 22, .72);
	backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--line);
}
.nav-in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--silver); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(47, 155, 255, .45)); }
.brand span, .foot-brand span { font: 700 19px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.brand b, .foot-brand b { color: var(--accent); font-weight: 800; }
.brand:hover { color: #fff; }
.menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.dd { position: relative; }
.dd-btn {
	display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
	background: none; color: var(--text); font: 600 14px var(--font); cursor: pointer; transition: background .15s, color .15s;
}
.dd-btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; opacity: .7; }
.dd:hover .dd-btn, .dd.open .dd-btn { background: rgba(47, 155, 255, .12); color: #fff; }
.dd:hover .dd-btn svg, .dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-list {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 6px;
	background: rgba(10, 19, 38, .97); border: 1px solid var(--line-strong); border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3);
	opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dd-list::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.dd:hover .dd-list, .dd.open .dd-list { opacity: 1; visibility: visible; transform: none; }
.dd-list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text) !important; font-size: 14px; }
.dd-list a:hover { background: rgba(47, 155, 255, .16); color: #fff !important; }
.menu-actions { display: flex; align-items: center; gap: 8px; }
.menu-actions .btn:not(.btn-link) { min-width: 124px; }
.status-pill {
	display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; flex-shrink: 0;
	font-size: 13px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.status-pill.on i { background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: eb2-pulse 2s infinite; }
/* licznik online: na komputerze na srodku miedzy menu a przyciskami, na telefonie obok hamburgera */
.status-mid { margin: 0 auto; }
.status-side { display: none; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
	min-height: min(78vh, 720px); display: flex; align-items: center; justify-content: center; text-align: center;
	background-size: cover; background-position: center 30%; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 30px) 20px 90px;
	overflow: hidden;
}
.hero::before {
	content: ''; position: absolute; inset: 0;
	background:
		radial-gradient(60% 55% at 50% 42%, rgba(6, 11, 22, .25), rgba(6, 11, 22, .82) 75%),
		linear-gradient(180deg, rgba(6, 11, 22, .55), rgba(6, 11, 22, .15) 35%, rgba(6, 11, 22, .2) 70%, var(--bg-2));
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg-2)); }
.hero-in { position: relative; z-index: 1; max-width: 760px; }
.hero-logo {
	width: min(560px, 88vw); height: auto; display: block; margin: 0 auto 6px;
	filter: drop-shadow(0 0 28px rgba(47, 155, 255, .35)) drop-shadow(0 10px 30px rgba(0, 0, 0, .7));
	animation: eb2-float 6s ease-in-out infinite;
}
.hero-tag { margin: 0 auto 26px; max-width: 620px; font-size: clamp(16px, 2.1vw, 19px); color: var(--silver); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.hero-tag b { color: var(--accent-2); }
/* odliczanie do startu */
.countdown { margin: 0 auto 28px; }
.cd-title { margin: 0 0 12px; font: 700 15px/1.2 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); text-shadow: 0 0 14px rgba(47, 155, 255, .6); }
.cd-boxes { display: flex; justify-content: center; gap: 12px; }
.cd-box {
	width: 96px; padding: 14px 6px 10px; border-radius: 14px;
	background: linear-gradient(180deg, rgba(24, 46, 90, .78), rgba(8, 15, 32, .86));
	border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cd-num { display: block; font: 800 40px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(47, 155, 255, .55); }
.cd-label { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cd-date { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.countdown.done .cd-boxes, .countdown.done .cd-date { display: none; }
.countdown.done .cd-title { font: 800 26px/1.2 var(--font-display); letter-spacing: .06em; text-transform: none; color: #fff; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }

/* ---------- statystyki ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -54px; z-index: 2; }
.stat {
	padding: 18px 20px; border-radius: var(--radius); text-align: center;
	background: linear-gradient(180deg, rgba(20, 38, 74, .82), rgba(10, 19, 38, .88));
	border: 1px solid rgba(70, 155, 255, .55); box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 18px rgba(47, 155, 255, .14), inset 0 1px 0 rgba(140, 200, 255, .12);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat-value { display: block; margin-top: 4px; font: 700 30px/1.15 var(--font-display); color: #fff; text-shadow: 0 0 18px rgba(47, 155, 255, .45); }
.stat-value.ok { color: var(--ok); text-shadow: 0 0 18px rgba(61, 220, 132, .4); }
.stat-value.bad { color: var(--bad); text-shadow: none; }

/* ---------- sekcje ---------- */
.section-title { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font: 700 24px/1.2 var(--font-display); color: var(--silver); letter-spacing: .04em; }
.section-title::before, .section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.section-title::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.features { margin-top: 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
	position: relative; padding: 22px 22px 20px; border-radius: var(--radius); overflow: hidden;
	background: var(--panel); border: 1px solid rgba(70, 155, 255, .45);
	box-shadow: 0 0 16px rgba(47, 155, 255, .1), inset 0 1px 0 rgba(140, 200, 255, .1);
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature::after {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
	background: radial-gradient(400px 160px at 0% 0%, rgba(47, 155, 255, .16), transparent 70%);
}
.feature:hover { transform: translateY(-3px); border-color: rgba(108, 198, 255, .8); box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 22px rgba(47, 155, 255, .25); }
.feature:hover::after { opacity: 1; }
.feature svg {
	width: 42px; height: 42px; padding: 9px; border-radius: 11px; fill: none; stroke: var(--accent-2); stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round; background: rgba(47, 155, 255, .12); border: 1px solid rgba(47, 155, 255, .25);
}
.feature h3 { margin: 14px 0 6px; font: 700 17px/1.3 var(--font-display); color: #fff; letter-spacing: .02em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- naglowek podstron ---------- */
.page-head {
	margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 38px) 0 38px;
	background-size: cover; background-position: center 35%; border-bottom: 1px solid var(--line);
}
.page-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 22, .7), rgba(6, 11, 22, .88)); }
.page-head .wrap { position: relative; }
.page-head h1 { margin: 0; font: 700 clamp(24px, 3.4vw, 34px)/1.2 var(--font-display); color: #fff; letter-spacing: .04em; text-shadow: 0 0 24px rgba(47, 155, 255, .35); }

/* ---------- uklad ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-top: 34px; margin-bottom: 60px; }
.is-home .layout { margin-top: 56px; }
.panel {
	background: var(--panel); border: 1px solid rgba(70, 155, 255, .55); border-radius: var(--radius);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35), 0 0 18px rgba(47, 155, 255, .14), inset 0 1px 0 rgba(140, 200, 255, .12);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.content { padding: 24px; min-height: 120px; overflow-x: auto; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--nav-h) + 16px); }
.side-box { padding: 18px; }
/* Top Players w zlotej ramce (jak medal za 1. miejsce) */
.side-top { border-color: rgba(240, 180, 41, .6); box-shadow: 0 10px 40px rgba(0, 0, 0, .35), 0 0 18px rgba(240, 180, 41, .14), inset 0 1px 0 rgba(255, 220, 140, .14); }
.side-top h3 { color: #ffd769; }
.side-box h3 { margin: 0 0 12px; font: 700 15px/1.3 var(--font-display); color: var(--silver); letter-spacing: .06em; text-transform: uppercase; }
.side-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; }
.top-list { list-style: none; margin: 0; padding: 0; }
.top-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(110, 170, 255, .08); }
.top-list li:last-child { border-bottom: 0; }
.top-rank { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--muted); }
.top-list li:nth-child(1) .top-rank { background: linear-gradient(180deg, #ffd769, #c48a17); color: #2a1a00; }
.top-list li:nth-child(2) .top-rank { background: linear-gradient(180deg, #eef3fa, #9aa8bb); color: #1b2230; }
.top-list li:nth-child(3) .top-rank { background: linear-gradient(180deg, #f0b07a, #a35f2b); color: #2a1300; }
.voc {
	width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
	font: 800 11px/1 var(--font); letter-spacing: .02em; color: #fff; border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .25);
}
.top-outfit { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; }
.top-outfit img { width: 48px; height: 48px; max-width: none; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
/* obrazki postaci na podstronach (ranking, online, postac): nasz generator wysrodkowuje postac,
   wiec znosimy przesuniecia, ktore MyAAC dodaje pod stare obrazki z postacia w rogu */
.content img[src*="outfits/outfit.php"] { position: static !important; margin: 0 !important; width: 96px; height: 96px; max-width: none; image-rendering: pixelated; vertical-align: middle; }
/* strona postaci: okragla ramka z prawej strony tabeli, w niej postac 96 px (obrazek 1:1, bez skalowania) */
.content div[style*="border-radius:50px"] {
	box-sizing: content-box; width: 96px !important; height: 96px !important; padding: 6px !important; border-radius: 50% !important;
	margin-left: 0 !important; margin-top: 64px !important; right: 60px; z-index: 1;
	border-color: var(--line-strong) !important; background: radial-gradient(circle, rgba(47, 155, 255, .22), rgba(10, 19, 38, .9) 70%);
	box-shadow: 0 0 24px rgba(47, 155, 255, .25);
}
.content div[style*="border-radius:50px"] > img[src*="outfits/outfit.php"] { margin: 0 !important; width: 96px !important; height: 96px !important; transform: translate(-10px, -8px); }
.voc-knight { background: linear-gradient(180deg, #c0454f, #7c1f2a); }
.voc-pally { background: linear-gradient(180deg, #d6a43c, #8a6214); }
.voc-mage { background: linear-gradient(180deg, #8b5cf6, #4c2a9e); }
.voc-druid { background: linear-gradient(180deg, #37b36b, #176b3b); }
.voc-monk { background: linear-gradient(180deg, #e0823a, #8f4512); }
.voc-none { background: #34405a; }
.top-who { flex: 1; min-width: 0; line-height: 1.25; }
.top-who a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 600; }
.top-who a:hover { color: var(--accent-2); }
.top-who small { color: var(--muted); font-size: 12px; }
.top-lvl { font: 700 15px var(--font-display); color: var(--accent-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; color: #fff; font-weight: 600; }
/* boks Server w panelu bocznym */
.srv-status { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 12px; border-radius: 12px; background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .35); color: var(--text); }
.srv-status:hover { color: #fff; background: rgba(61, 220, 132, .13); }
.srv-status i { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--ok); animation: eb2-pulse 2s infinite; }
.srv-status.off { background: rgba(255, 93, 108, .08); border-color: rgba(255, 93, 108, .35); }
.srv-status.off i { background: var(--bad); animation: none; }
.srv-status span { display: flex; flex-direction: column; line-height: 1.25; }
.srv-status b { color: var(--ok); font-size: 15px; letter-spacing: .02em; }
.srv-status.off b { color: var(--bad); }
.srv-status small { color: var(--muted); font-size: 12.5px; }
.srv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.srv-tile { padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(110, 170, 255, .14); }
.srv-tile small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.srv-tile b { font: 700 17px/1.3 var(--font-display); color: #fff; }
.srv-tile em { font-style: normal; color: var(--accent-2); }
.srv-wide { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(47, 155, 255, .16), rgba(47, 155, 255, .04)); border-color: rgba(70, 155, 255, .35); }
.srv-wide b { font-size: 20px; }
.side-download { text-align: center; background: linear-gradient(180deg, rgba(24, 58, 112, .7), rgba(11, 21, 42, .85)); border-color: var(--line-strong); }
.side-download img { width: 56px; height: 56px; filter: drop-shadow(0 0 12px rgba(47, 155, 255, .5)); }
.side-download h3 { margin: 6px 0 4px; }
.side-download p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.side-download .btn { width: 100%; }

/* ---------- newsy ---------- */
.tickers { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ticker { display: flex; gap: 14px; align-items: baseline; padding: 10px 14px; border-radius: 10px; background: rgba(47, 155, 255, .08); border: 1px solid rgba(47, 155, 255, .2); border-left: 3px solid var(--accent); }
.ticker time { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: .05em; }
.news-card { padding: 4px 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.news-card:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.news-card header time { font-size: 12px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { margin: 4px 0 12px; font: 700 22px/1.3 var(--font-display); color: #fff; }
.news-author { font-size: 13px; color: var(--muted); }
.news-body { color: var(--text); }
.empty-news { margin: 0; padding: 26px 0; text-align: center; }
.news-body img { height: auto; border-radius: 8px; }

/* ---------- tresc stron MyAAC (tabele, formularze) ---------- */
.content h1, .content h2, .content h3 { font-family: var(--font-display); color: #fff; letter-spacing: .02em; }
.content table { border-collapse: collapse; max-width: 100%; }
.content table[width="100%"], .content > table, .content .TableContainer table { width: 100%; }
.content td, .content th { padding: 8px 10px; border: 0; color: var(--text); vertical-align: middle; }
.content tr[bgcolor] > td { border-bottom: 1px solid rgba(110, 170, 255, .07); }
.content tr.white td, .content tr.white th, .content td.white, .content .white, .content tr[bgcolor="#1a3360"] td {
	color: #fff !important; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.content tr[bgcolor="#1a3360"] { background: linear-gradient(180deg, #1e3c72, #16305c) !important; }
.content table + br { display: block; content: ''; margin-top: 12px; }
.content font { color: inherit; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.content input[type="text"], .content input[type="password"], .content input[type="email"], .content input[type="number"],
.content input:not([type]), .content select, .content textarea {
	padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(4, 9, 20, .7);
	color: #fff; font: 14px var(--font); max-width: 100%; transition: border-color .15s, box-shadow .15s;
}
.content input:focus, .content select:focus, .content textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 155, 255, .25); }
.content input[type="submit"], .content input[type="button"], .content button, .content .button {
	padding: 9px 18px; border-radius: 9px; border: 1px solid rgba(140, 200, 255, .5); cursor: pointer;
	background: linear-gradient(180deg, #3aa7ff, var(--accent-deep)); color: #fff; font: 600 14px var(--font);
	box-shadow: 0 4px 16px rgba(47, 155, 255, .3);
}
.content input[type="submit"]:hover, .content input[type="button"]:hover, .content button:hover { box-shadow: 0 6px 24px rgba(47, 155, 255, .5); }
.content input[type="checkbox"], .content input[type="radio"] { accent-color: var(--accent); }
.content .BigButton, .content .MediumButtonBackground { background: none !important; }
/* znaczniki stron w stylu tibiacom (cienie i ramki z obrazkow, ktorych ten szablon nie ma) */
.content [style*="images/global/"], .content [style*="images/content/"] { background-image: none !important; }
.content .TableShadowContainerRightTop, .content .TableShadowContainer { display: none; }
.content .TableContentAndRightShadow { background: none !important; padding: 0 !important; }
.content .TableContent { border: 1px solid var(--line) !important; border-radius: 10px; border-collapse: separate; margin-bottom: 14px; }

/* ---------- podstrony MyAAC: tabele jako karty ---------- */
/* ramki MyAAC (cellspacing=1 + naglowek bgcolor) i tibiacom (TableContainer) wygladaja jak panele strony */
.content table[cellspacing="1"], .content .TableContainer {
	width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 20px;
	border: 1px solid rgba(70, 155, 255, .32); border-radius: 12px; overflow: hidden;
	background: rgba(6, 13, 28, .55); box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.content table[cellspacing="1"] table[cellspacing="1"], .content .TableContainer table, .content table.myaac-table table { border: 0; border-radius: 0; box-shadow: none; margin: 0; background: none; }
.content tr[bgcolor="#1a3360"] { background: linear-gradient(90deg, rgba(47, 155, 255, .26), rgba(20, 50, 100, .12)) !important; }
.content tr[bgcolor="#1a3360"] > td, .content .CaptionContainer .Text {
	padding: 13px 18px !important; border-bottom: 1px solid rgba(70, 155, 255, .35);
	font: 700 15px/1.3 var(--font-display) !important; letter-spacing: .05em !important; text-transform: none !important; color: #fff !important;
	text-shadow: 0 0 14px rgba(47, 155, 255, .45);
}
.content tr[bgcolor="#1a3360"] > td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.content .CaptionContainer { background: linear-gradient(90deg, rgba(47, 155, 255, .26), rgba(20, 50, 100, .12)); box-shadow: inset 3px 0 0 var(--accent); }
.content .CaptionContainer .Text { border-bottom: 0; }
.content .CaptionContainer span { display: none; }
.content tr[bgcolor="#132240"], .content tr[bgcolor="#0f1a30"], .content tr[style*="background-color"] { background: transparent !important; }
.content tr[bgcolor="#132240"] { background: rgba(255, 255, 255, .025) !important; }
.content table[cellspacing="1"] > tbody > tr[bgcolor]:not([bgcolor="#1a3360"]):hover, .content table[cellspacing="1"] > tr[bgcolor]:not([bgcolor="#1a3360"]):hover { background: rgba(47, 155, 255, .07) !important; }
.content table[cellspacing="1"] td { padding: 11px 18px; }
.content table[cellspacing="1"] table td { padding: 9px 4px; }
.content .InnerTableContainer { padding: 8px 14px; }
.content .TableContent { border: 0 !important; margin: 0; background: none; }
.content .TableContentContainer + .TableContentContainer, .content .TableShadowContainerRightTop + div { margin-top: 0; }
.content .LabelV, .content .LabelV150, .content td.LabelV120, .content .LabelV200 { width: 180px; color: var(--muted) !important; font-weight: 600; white-space: nowrap; }
.content .LabelV b, .content .LabelV150 b { font-weight: 600; }
.content tr.LabelH td, .content tr.LabelH th { padding-top: 12px; padding-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.content tr.LabelH a { color: var(--muted); }
.content tr.LabelH .sortarrow { display: none; }
.content small { color: var(--muted); }
/* puste wiersze na bledy formularza rejestracji nie robia dziur */
.content tr:has(> td > .FormFieldError:empty) { display: none; }
.content .FormFieldError { color: var(--bad); font-size: 13px; }
.content > small:first-child { display: block; margin-bottom: 4px; }
/* strona postaci: odstepniki blank.gif i komorki-ramki MyAAC nie zwezaja tresci */
.content td:has(> img[src*="blank.gif"]:only-child) { display: none; }
.content table[cellpadding="0"] > tbody > tr > td, .content table[border="0"]:not([cellspacing]) > tbody > tr > td { padding-left: 0; padding-right: 0; }
.content table[border="0"]:not([cellspacing]) > tbody > tr > td + td { padding-left: 16px; }

/* logowanie (account.login.html.twig): grafika z lewej, formularz z prawej */
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; margin: -24px; border-radius: var(--radius); overflow: hidden; }
.auth-art {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px 26px; min-height: 480px;
	background-size: cover; background-position: center 30%; border-right: 1px solid rgba(70, 155, 255, .35);
}
.auth-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 22, .35), rgba(6, 11, 22, .92) 62%); }
.auth-art > * { position: relative; }
.content .auth-art img { width: 78%; max-width: 260px; height: auto; margin: 0 auto auto; filter: drop-shadow(0 8px 30px rgba(47, 155, 255, .45)); }
.auth-art h3 { margin: 0; font-size: 20px; }
.auth-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.auth-art li { position: relative; padding-left: 18px; }
.auth-art li::before { content: ''; position: absolute; left: 1px; top: .55em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent-2); box-shadow: 0 0 8px var(--accent); }
.auth-art-link { margin-top: 6px; font-weight: 700; font-size: 14px; }
.auth-split .auth-card { max-width: none; margin: 0; padding: 34px 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.auth-card { max-width: 440px; margin: 10px auto 6px; }
.auth-input { position: relative; display: block; }
.auth-input svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.content .auth-field .auth-input input { padding-left: 44px; }
.content .auth-input input::placeholder { color: #4f6386; }
.auth-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.auth-alt .btn { width: 100%; }
.auth-card h2 { margin: 0 0 6px; font-size: 26px; text-align: center; }
.auth-card > p { text-align: center; margin: 0 0 22px; }
.auth-form { display: grid; gap: 16px; }
.auth-field { display: grid; gap: 7px; }
.auth-field span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.auth-field span.red { color: var(--bad); }
.content .auth-field input { width: 100%; padding: 13px 14px; font-size: 15px; border-radius: 11px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.auth-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.content button.auth-submit { width: 100%; padding: 14px; font-size: 16px; border-radius: 12px; }
.auth-error { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 93, 108, .12); border: 1px solid rgba(255, 93, 108, .45); color: #ffb3ba; font-size: 14px; text-align: center; }
/* captcha Cloudflare Turnstile (plugin erabaiak-turnstile) */
.eb-captcha { display: flex; justify-content: center; min-height: 65px; margin: 4px 0; }
.auth-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }

/* komunikaty MyAAC: error_box.html.twig oraz success()/error()/warning()/note() */
.eb-alert, .content .success, .content .error, .content .warning, .content .note, .content .info {
	margin: 0 0 18px; padding: 12px 16px; border-radius: 11px; font-size: 14px; line-height: 1.5;
	background: rgba(47, 155, 255, .1); border: 1px solid rgba(47, 155, 255, .4); color: var(--text);
}
.eb-alert-error, .content .error { background: rgba(255, 93, 108, .1); border-color: rgba(255, 93, 108, .45); color: #ffc9ce; }
.content .success { background: rgba(61, 220, 132, .1); border-color: rgba(61, 220, 132, .45); color: #c6f5da; }
.content .warning { background: rgba(255, 200, 60, .1); border-color: rgba(255, 200, 60, .45); color: #ffe9b0; }
.eb-alert ul { margin: 6px 0 0; padding-left: 20px; }

/* rejestracja (account.create.html.twig) */
.reg { max-width: 640px; margin: 0 auto; }
.reg-intro { text-align: center; margin-bottom: 20px; }
.reg-intro h2 { margin: 0 0 6px; font-size: 26px; }
.reg-intro p { margin: 0; }
.reg-form { display: grid; gap: 18px; }
.reg-box { display: grid; gap: 16px; padding: 20px; border-radius: 14px; background: rgba(6, 13, 28, .55); border: 1px solid rgba(70, 155, 255, .32); }
.reg-box h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; }
.reg-box h3 span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font: 800 13px var(--font); color: #fff; background: linear-gradient(180deg, #3aa7ff, var(--accent-deep)); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.content .reg input:not([type="radio"]):not([type="checkbox"]), .content .reg select { width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 11px; }
.reg [id$="_indicator"] { display: none !important; }
.reg .FormFieldError:empty { display: none; }
.reg-country { display: flex; align-items: center; gap: 10px; }
.reg-country img { flex-shrink: 0; }
.reg-note { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.reg-sex { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-pill input, .reg-voc input { position: absolute; opacity: 0; pointer-events: none; }
.reg-pill span { display: inline-block; padding: 9px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); transition: all .15s; }
.reg-pill input:checked + span { color: #fff; background: linear-gradient(180deg, #3aa7ff, var(--accent-deep)); border-color: rgba(140, 200, 255, .6); }
.reg-pill input:focus-visible + span, .reg-voc input:focus-visible + .reg-voc-in { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.reg-vocs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.reg-voc { position: relative; cursor: pointer; }
.reg-voc-in {
	display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 12px 8px 12px; border-radius: 12px; text-align: center;
	background: rgba(255, 255, 255, .03); border: 1px solid var(--line-strong); transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.reg-voc:hover .reg-voc-in { border-color: var(--accent); transform: translateY(-2px); }
.reg-voc input:checked + .reg-voc-in { border-color: var(--accent-2); background: linear-gradient(180deg, rgba(47, 155, 255, .22), rgba(20, 50, 100, .18)); box-shadow: 0 0 0 1px var(--accent-2), 0 8px 24px rgba(47, 155, 255, .25); }
.content .reg-voc img { width: 96px; height: 96px; margin: -10px 0 -6px; image-rendering: pixelated; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); }
.reg-voc b { color: #fff; font-size: 14px; }
.reg-voc small { font-size: 11.5px; line-height: 1.35; }
.reg-rules { justify-content: center; font-size: 15px; }
.reg .eb-captcha { margin: 0; }

/* panel konta (account.management.html.twig) */
.acc { display: grid; gap: 22px; }
.acc-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(120deg, rgba(47, 155, 255, .2), rgba(10, 20, 42, .6) 60%); border: 1px solid rgba(70, 155, 255, .4); }
.acc-hello small, .acc-coins small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.acc-hello h2 { margin: 2px 0 4px; font-size: 26px; }
.acc-status { margin: 0; font-size: 14px; }
.acc-status span[style*="green"] { color: var(--ok) !important; }
.acc-status span[style*="red"] { color: var(--bad) !important; }
.acc-coins { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 12px 16px; border-radius: 12px; background: rgba(240, 180, 41, .08); border: 1px solid rgba(240, 180, 41, .4); }
.acc-coins b { font: 800 24px/1.1 var(--font-display); color: #ffd769; }
.acc-register { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; }
.acc-register form, .eb-alert form { margin: 0; flex-shrink: 0; }
.content .acc button.btn { box-shadow: none; }
.acc-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.acc-actions a { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .035); border: 1px solid rgba(110, 170, 255, .18); transition: border-color .15s, background .15s, color .15s; }
.acc-actions a:hover { color: #fff; border-color: var(--accent); background: rgba(47, 155, 255, .12); }
.acc-actions svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc-actions .acc-danger svg { stroke: var(--bad); }
.acc-actions .acc-danger:hover { border-color: var(--bad); background: rgba(255, 93, 108, .1); }
.acc-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.acc-title span { padding: 1px 9px; border-radius: 999px; font: 700 12px/1.6 var(--font); color: #fff; background: rgba(47, 155, 255, .3); }
.acc-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.acc-char { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 6px; border-radius: 12px; background: rgba(6, 13, 28, .55); border: 1px solid rgba(70, 155, 255, .3); transition: border-color .15s; }
.acc-char:hover { border-color: var(--accent); }
.acc-char.is-online { border-color: rgba(61, 220, 132, .55); }
.content .acc-char img { width: 96px; height: 96px; margin: -14px -8px -14px -6px; flex-shrink: 0; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.acc-char-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.acc-char-info > a { color: #fff; font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-char-info > a:hover { color: var(--accent-2); }
.acc-char-info small { color: var(--muted); font-size: 13px; }
.acc-char-meta { font-size: 12px !important; }
.acc-edit { position: absolute; top: 8px; right: 10px; font-size: 12px; font-weight: 700; }
.acc-char-new { justify-content: center; gap: 10px; min-height: 90px; font-weight: 700; color: var(--accent-2); border-style: dashed; background: none; }
.acc-char-new span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; color: #fff; background: linear-gradient(180deg, #3aa7ff, var(--accent-deep)); }
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acc-cols > div { padding: 18px 20px; border-radius: 14px; background: rgba(6, 13, 28, .55); border: 1px solid rgba(70, 155, 255, .3); }
.acc-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.acc-dl dt { color: var(--muted); }
.acc-dl dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.acc-dl dd span[style*="green"] { color: var(--ok) !important; }
.acc-dl dd span[style*="red"] { color: var(--bad) !important; }
.acc-logs { border-radius: 14px; background: rgba(6, 13, 28, .55); border: 1px solid rgba(70, 155, 255, .3); }
.acc-logs summary { padding: 14px 20px; cursor: pointer; font: 700 16px var(--font-display); color: #fff; }
.acc-log-list { display: grid; padding: 0 20px 14px; }
.acc-log { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(110, 170, 255, .08); font-size: 14px; }
.acc-log small { flex-shrink: 0; color: var(--muted); }

/* ranking (highscores.html.twig) */
.hs-title { margin: 0 0 16px; font-size: 24px; }
.hs-title span { color: var(--accent-2); }
.hs-filters { display: grid; gap: 10px; margin-bottom: 20px; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
	padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text);
	background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { color: #fff; border-color: var(--accent); background: rgba(47, 155, 255, .12); }
.chip.on { color: #fff; background: linear-gradient(180deg, #3aa7ff, var(--accent-deep)); border-color: rgba(140, 200, 255, .6); box-shadow: 0 4px 14px rgba(47, 155, 255, .3); }
.hs-table { border: 1px solid rgba(70, 155, 255, .32); border-radius: 12px; overflow: hidden; background: rgba(6, 13, 28, .55); }
.hs-head, .hs-row { display: grid; grid-template-columns: 52px 60px minmax(0, 1fr) 80px 130px; align-items: center; gap: 10px; padding: 0 18px; }
.hs-head { padding-top: 12px; padding-bottom: 12px; background: linear-gradient(90deg, rgba(47, 155, 255, .26), rgba(20, 50, 100, .12)); box-shadow: inset 3px 0 0 var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.hs-row { min-height: 66px; border-top: 1px solid rgba(110, 170, 255, .08); transition: background .15s; }
.hs-row:hover { background: rgba(47, 155, 255, .07); }
.hs-rank { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.hs-row.top1 .hs-rank { background: linear-gradient(180deg, #ffd769, #c48a17); color: #2a1a00; }
.hs-row.top2 .hs-rank { background: linear-gradient(180deg, #eef3fa, #9aa8bb); color: #1b2230; }
.hs-row.top3 .hs-rank { background: linear-gradient(180deg, #f0b07a, #a35f2b); color: #2a1300; }
.hs-row.top1 { background: linear-gradient(90deg, rgba(255, 200, 60, .08), transparent 60%); }
.content .hs-outfit img { width: 48px; height: 48px; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.hs-name { min-width: 0; line-height: 1.3; }
.hs-name a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 700; font-size: 15px; }
.hs-name a:hover { color: var(--accent-2); }
.hs-name small img { vertical-align: middle; }
.hs-on { color: var(--ok); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.hs-value { font: 700 18px var(--font-display); color: var(--accent-2); text-align: center; }
.hs-head span:nth-child(4) { text-align: center; }
.hs-exp { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-head .hs-exp { color: #fff; }
.hs-empty { padding: 20px 18px; margin: 0; }
.hs-pages { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* Server Info (serverinfo.html.twig) */
.info { display: grid; gap: 6px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.info-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(110, 170, 255, .16); }
.info-tile span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-tile b { font: 700 19px/1.3 var(--font-display); color: #fff; }
.info-tile small { font-size: 12.5px; line-height: 1.4; }
.info-tile small b { font: inherit; font-weight: 700; }
/* notka "updated every 15 minutes" nad rankingiem i lista online bez pustych linii */
.content > small:first-child { color: var(--muted); font-size: 12px; }
.content > small:first-child ~ br { display: none; }
.page-online .content > table, .page-online .content > form { margin-top: 14px; }

/* komendy i zasady (myaac_pages) */
.cmd-list { display: grid; gap: 8px; }
.cmd { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 11px 16px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(110, 170, 255, .1); }
.cmd code { font-size: 14px; font-weight: 700; padding: 3px 8px; }
.cmd-group { margin: 22px 0 10px; font-size: 18px; }
.cmd-group:first-child { margin-top: 0; }
.rules-list { counter-reset: rule; display: grid; gap: 14px; }
.rule { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(110, 170, 255, .12); }
.rule h3 { margin: 0 0 8px; font-size: 17px; }
.rule h3::before { counter-increment: rule; content: counter(rule) ". "; color: var(--accent-2); }
.rule ol { margin: 0; padding-left: 22px; list-style: lower-alpha; }
.rule li { margin: 4px 0; }

/* ---------- stopka ---------- */
.foot { border-top: 1px solid var(--line); background: rgba(4, 8, 16, .75); padding: 28px 0 32px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--silver); }
.foot-brand span { font-size: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; flex: 1; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-meta { width: 100%; font-size: 12px; color: #5f7394; }
.foot-meta a { color: #7f95b8; }

/* ---------- okno z zaproszeniem na Discorda (eb2.js) ---------- */
.dc-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.dc-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 14, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.dc-box {
	position: relative; width: 100%; max-width: 420px; padding: 34px 28px 24px; text-align: center; border-radius: 18px;
	background: linear-gradient(180deg, rgba(36, 44, 110, .96), rgba(12, 20, 44, .98));
	border: 1px solid rgba(140, 150, 255, .35);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(88, 101, 242, .25);
	opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .25s, transform .25s;
}
.dc-modal.in .dc-backdrop, .dc-modal.in .dc-box { opacity: 1; }
.dc-modal.in .dc-box { transform: none; }
.dc-x {
	position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 9px;
	background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer;
}
.dc-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.dc-logo {
	width: 76px; height: 76px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 22px;
	background: #5865f2; box-shadow: 0 10px 30px rgba(88, 101, 242, .55);
}
.dc-logo svg { width: 44px; height: 44px; fill: #fff; }
.dc-box h2 { margin: 0 0 8px; font: 700 24px/1.25 var(--font-display); color: #fff; letter-spacing: .03em; }
.dc-box p { margin: 0 0 22px; color: #c3cbe6; font-size: 15px; }
.dc-join { width: 100%; background: #5865f2; border-color: rgba(255, 255, 255, .25); box-shadow: 0 8px 26px rgba(88, 101, 242, .5); }
.dc-join:hover { background: #6b77ff; box-shadow: 0 10px 34px rgba(88, 101, 242, .7); }
.dc-join svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
.dc-skip { margin-top: 12px; padding: 8px; border: 0; background: none; color: var(--muted); font: 500 14px var(--font); cursor: pointer; }
.dc-skip:hover { color: #fff; text-decoration: underline; }
body.dc-open { overflow: hidden; }

/* ---------- animacje ---------- */
@keyframes eb2-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@keyframes eb2-gold { 0%, 100% { box-shadow: 0 6px 24px rgba(240, 180, 41, .4), inset 0 1px 0 rgba(255, 255, 255, .55); } 50% { box-shadow: 0 6px 34px rgba(255, 200, 60, .75), inset 0 1px 0 rgba(255, 255, 255, .55); } }
@keyframes eb2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- telefon / tablet ---------- */
@media (max-width: 1080px) {
	.layout { grid-template-columns: 1fr; }
	.side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.nav-toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: auto;
		padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255, 255, 255, .04); cursor: pointer; order: 3;
	}
	.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--silver); transition: transform .2s, opacity .2s; }
	.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.status-pill { order: 2; margin-left: auto; }
	.status-mid { display: none; }
	.status-side { display: flex; }
	.nav-toggle { margin-left: 0; }
	.menu {
		position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 4px;
		padding: 14px 16px 30px; overflow-y: auto; background: rgba(6, 11, 22, .98);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav.open .menu { opacity: 1; visibility: visible; transform: none; }
	.dd-btn { width: 100%; justify-content: space-between; height: 48px; font-size: 16px; padding: 0 12px; }
	.dd:hover .dd-btn { background: none; }
	.dd.open .dd-btn { background: rgba(47, 155, 255, .12); }
	.dd-list { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 10px; }
	.dd:hover .dd-list { display: none; }
	.dd.open .dd-list { display: block; }
	.dd-list a { padding: 10px 12px; font-size: 15px; }
	.menu-actions { margin: 14px 0 0; flex-direction: column; align-items: stretch; }
	.menu-actions .btn { padding: 13px; font-size: 15px; }
	body.menu-open { overflow: hidden; }
	.stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	body.eb2 { font-size: 15px; }
	.wrap { padding: 0 16px; }
	.nav-in { padding: 0 16px; gap: 10px; }
	.brand span { font-size: 16px; }
	.brand img { width: 34px; height: 34px; }
	.hero { min-height: 0; padding-bottom: 80px; }
	.hero-cta .btn { width: 100%; }
	.cd-boxes { gap: 8px; }
	.hs-head, .hs-row { grid-template-columns: 38px 50px minmax(0, 1fr) 56px; gap: 8px; padding: 0 12px; }
	.hs-exp { display: none; }
	.cmd { grid-template-columns: 1fr; gap: 4px; }
	.reg-grid { grid-template-columns: 1fr; }
	.acc-hero { flex-direction: column; align-items: stretch; }
	.acc-coins { align-items: flex-start; }
	.acc-actions { grid-template-columns: 1fr 1fr; }
	.acc-cols { grid-template-columns: 1fr; }
	.acc-register, .acc-log { flex-direction: column; align-items: flex-start; gap: 4px; }
	.auth-split { grid-template-columns: 1fr; margin: -16px; }
	.auth-art { min-height: 0; padding: 22px 18px; border-right: 0; border-bottom: 1px solid rgba(70, 155, 255, .35); }
	.content .auth-art img { max-width: 180px; margin-bottom: 6px; }
	.auth-art ul, .auth-art-link { display: none; }
	.auth-split .auth-card { padding: 24px 18px; }
	.reg-vocs { grid-template-columns: repeat(2, 1fr); }
	.reg-box { padding: 16px; }
	.auth-row { flex-direction: column; align-items: flex-start; }
	.cd-box { width: auto; flex: 1; max-width: 82px; padding: 12px 4px 8px; }
	.cd-num { font-size: 30px; }
	.cd-label { font-size: 10px; letter-spacing: .08em; }
	.stat { padding: 14px 10px; }
	.stat-value { font-size: 24px; }
	.feature-grid { grid-template-columns: 1fr; }
	.section-title { font-size: 20px; }
	.content { padding: 16px; }
	.content td, .content th { padding: 7px 6px; }
}
