/* =====================================================================
   Baiakeria 15+ - szablon MyAAC
   Kolory: fiolet / zloto, jasne panele z ramka.
   Grafiki z images/ wchodza przez zmienne --img-* (ustawiane w index.php
   tylko dla istniejacych plikow). Bez grafik dziala wyglad z gradientow.
   ===================================================================== */

:root {
	--v-950: #12062a;
	--v-900: #1c0b3d;
	--v-800: #2a1258;
	--v-700: #3a1a78;
	--v-600: #5226a3;
	--v-500: #6a35cf;
	--v-400: #8a5be6;
	--v-200: #d9c9f6;
	--v-100: #efe7fb;
	--gold-800: #8a5a17;
	--gold-700: #b07a23;
	--gold-600: #cf9a37;
	--gold-500: #e6b54e;
	--gold-400: #f4d27c;
	--gold-300: #fbe7ae;
	--paper: #fbf8fe;
	--paper-2: #f3edfa;
	--ink: #23164a;
	--ink-2: #4a3d6e;
	--muted: #7a6d95;
	--green: #2fd36b;
	--red: #e5484d;
	--radius: 10px;
	--sidebar-w: 240px;
	--right-w: 348px;
	--hero-h: 236px;        /* wysokosc naglowka z godlem */
	--overlap: 34px;        /* o ile kolumny wchodza na naglowek (wszystkie trzy rowno) */
	--topbar-h: 56px;
	--bg-base: #170b2c;     /* kolor, w ktory przechodzi pejzaz na dole (dol obrazka ~ #29192f) */
	--gold-line: rgba(230, 181, 78, .75);
	--font-title: 'Cinzel', Georgia, serif;
	--font-deco: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	--font-body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
	--font-script: 'Kaushan Script', 'Brush Script MT', cursive;
	--gold-grad: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-700) 100%);
	--violet-grad: linear-gradient(180deg, #7b45e0 0%, #4f22a6 55%, #351377 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.b15 {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink);
	background-color: var(--bg-base);
	display: flex; flex-direction: column;
	position: relative; isolation: isolate;
	overflow-x: hidden;
}
/* 29.10 (Trello: "Background polaczyc z tym zdjeciem co jest pod logo"):
   obraz pod logo i tlo strony to ten sam pejzaz (naglowek_tlo_hd.png = gorne 600 px tlo_strony.png).
   Jest JEDNA warstwa przypieta do gory strony (bez background-attachment: fixed), naglowek jest przezroczysty,
   a dol obrazka miekko przechodzi w --bg-base - nie ma szwu ani skoku koloru. */
body.b15::before {
	content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: 0;
	height: max(calc(100vw * 2 / 3), 760px); /* proporcje obrazka 3:2; nizej niz 760 px przycina boki (cover) */
	background:
		linear-gradient(180deg, rgba(23, 11, 44, 0) 0%, rgba(23, 11, 44, 0) 26%, rgba(23, 11, 44, .30) 42%, rgba(23, 11, 44, .62) 62%, rgba(23, 11, 44, .9) 84%, var(--bg-base) 100%),
		var(--img-tlo-strony, linear-gradient(180deg, #4b2a8c 0%, #7a4fbf 35%, #b48ad8 60%, #3a1a78 100%)) center top / cover no-repeat;
	pointer-events: none;
}
body.b15::after { /* delikatna poswiata nizej, zeby dol strony nie byl plaska plama */
	content: ''; position: absolute; z-index: -2; inset: 0;
	background:
		radial-gradient(ellipse 70% 40% at 15% 85%, rgba(106, 53, 207, .16), transparent 70%),
		radial-gradient(ellipse 60% 35% at 85% 60%, rgba(176, 122, 35, .08), transparent 70%);
	pointer-events: none;
}
.b15-layout { flex: 1 0 auto; width: 100%; }
a { color: var(--v-600); text-decoration: none; }
a:hover { color: var(--v-500); text-decoration: underline; }
img { max-width: 100%; }

/* ---------- ikony ---------- */
.b15-ico { width: 26px; height: 26px; flex: 0 0 auto; object-fit: contain; }
.b15-glyph {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #8b5cf0, #3a1a78 70%);
	border: 2px solid var(--gold-500);
	box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 1px 2px rgba(255,255,255,.35);
	color: var(--gold-300);
	font-size: 13px; line-height: 1;
	text-shadow: 0 1px 1px rgba(0,0,0,.6);
}

/* =========================== GORNY PASEK =========================== */
.b15-topbar {
	position: sticky; top: 0; z-index: 900;
	display: flex; align-items: center; gap: 18px;
	height: var(--topbar-h); padding: 0 18px 0 14px;
	background: linear-gradient(180deg, rgba(40, 16, 86, .94) 0%, rgba(22, 8, 50, .92) 100%);
	-webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
	border-bottom: 1px solid var(--gold-line);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 8px 24px rgba(12, 0, 32, .45);
	color: #fff;
}
.b15-topbar::after { /* cienka zlota linia z rozjasnieniem na srodku */
	content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold-400) 50%, transparent); opacity: .8; pointer-events: none;
}
.b15-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--gold-400); text-decoration: none !important; }
.b15-crown { display: block; width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(10, 0, 30, .6)); transition: transform .2s; }
.b15-brand:hover .b15-crown { transform: translateY(-1px) scale(1.04); }
.b15-brand .b15-ico { width: 34px; height: 34px; font-size: 18px; }
.b15-brand-name {
	font-family: var(--font-title); font-weight: 700; font-size: 21px; letter-spacing: .5px; white-space: nowrap;
	background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 1px 1px rgba(0,0,0,.7));
}
/* glowne menu w pasku */
.b15-tags { display: flex; align-items: center; gap: 4px; margin-left: 6px; padding-left: 18px; border-left: 1px solid rgba(244, 210, 124, .22); }
.b15-nav {
	position: relative; display: inline-flex; align-items: center; gap: 8px;
	height: 38px; padding: 0 14px; border-radius: 8px;
	color: #e6dcfa !important; font-weight: 700; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
	text-decoration: none !important; transition: background .15s, color .15s;
}
.b15-nav .b15-ico { width: 18px; height: 18px; color: var(--gold-400); opacity: .9; transition: opacity .15s, transform .15s; }
.b15-nav::after {
	content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600));
	transform: scaleX(0); transition: transform .2s ease;
}
a.b15-nav:hover { background: rgba(255, 255, 255, .07); color: #fff !important; }
a.b15-nav:hover .b15-ico { opacity: 1; transform: translateY(-1px); }
a.b15-nav:hover::after, .b15-nav.is-current::after { transform: scaleX(1); }
.b15-nav.is-current { color: var(--gold-300) !important; background: rgba(244, 210, 124, .08); }
.b15-nav:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 1px; }
.b15-topright { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.b15-auth { display: flex; align-items: center; gap: 8px; }
.b15-online {
	display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px;
	background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1);
	color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; white-space: nowrap;
}
.b15-online:hover { border-color: rgba(244, 210, 124, .45); }
.b15-online .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(47, 211, 107, .18), 0 0 8px var(--green); }
.b15-online.is-off .dot { background: var(--red); box-shadow: 0 0 0 3px rgba(229, 72, 77, .18), 0 0 8px var(--red); }
.b15-online strong { font-weight: 800; }
.b15-toplink, .b15-topbtn {
	display: inline-flex; align-items: center; justify-content: center; height: 34px;
	color: #f1e9ff !important; font-weight: 700; font-size: 13px; text-decoration: none !important; white-space: nowrap;
	padding: 0 14px; border-radius: 8px; border: 1px solid rgba(244, 210, 124, .45);
	background: rgba(255,255,255,.06); transition: background .15s, filter .15s;
}
.b15-toplink.gold { background: var(--gold-grad); color: #3a2205 !important; border-color: var(--gold-300); box-shadow: 0 2px 8px rgba(176, 122, 35, .35); }
.b15-topbtn { width: 36px; padding: 0; }
.b15-topbtn .b15-svg { width: 18px; height: 18px; color: var(--gold-300); }
.b15-toplink:hover, .b15-topbtn:hover { background: rgba(255,255,255,.16); }
.b15-toplink.gold:hover { background: var(--gold-grad); filter: brightness(1.08); }
.b15-burger { display: none; }

/* =========================== NAGLOWEK =========================== */
/* przezroczysty - widac gore pejzazu z tla strony (body::before), wiec obraz pod logo i tlo sa jednym obrazem */
.b15-hero {
	position: relative; z-index: 1;
	height: var(--hero-h);
	margin-top: calc(-1 * var(--topbar-h)); padding-top: var(--topbar-h); /* pejzaz zaczyna sie pod szklanym paskiem */
	box-sizing: content-box;
	background: none;
}
.b15-emblem {
	position: absolute; z-index: 2; left: 50%; top: calc(var(--topbar-h) + 8px); transform: translateX(-50%);
	display: block; text-decoration: none !important;
}
.b15-emblem img { display: block; height: 218px; width: auto; filter: drop-shadow(0 6px 14px rgba(30, 0, 60, .55)); }
.b15-emblem-text {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 380px; height: 200px; margin-top: 8px;
	border-radius: 48% 48% 40% 40% / 60% 60% 40% 40%;
	background: radial-gradient(ellipse at 50% 40%, #5b2aa8 0%, #2a0f5c 70%);
	border: 4px solid var(--gold-500);
	box-shadow: 0 0 0 3px #3a1a78, 0 0 0 5px var(--gold-700), 0 10px 26px rgba(20,0,50,.6), inset 0 0 30px rgba(0,0,0,.5);
}
.b15-emblem-text .l1, .b15-emblem-text .l2 {
	font-family: var(--font-deco); font-weight: 900; line-height: 1;
	background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 3px 0 #4a1c0a) drop-shadow(0 0 10px rgba(255, 200, 90, .35));
}
.b15-emblem-text .l1 { font-size: 54px; letter-spacing: 1px; }
.b15-emblem-text .l2 { font-size: 64px; margin-top: 4px; }
.b15-slogan {
	position: absolute; z-index: 2; right: 26px; top: calc(var(--topbar-h) + 58px);
	font-family: var(--font-script); font-size: 34px; line-height: 1.1; color: #fff;
	transform: rotate(-14deg); text-align: center; max-width: 260px;
	text-shadow: 0 2px 0 #6b3fae, 0 0 12px rgba(80, 20, 140, .8);
}

/* =========================== UKLAD 3 KOLUMN =========================== */
/* 29.10 (Trello: "Menu po lewej ... obnizyc, wyrownac do reszty"): wszystkie trzy kolumny zaczynaja sie
   na tej samej wysokosci (gorna krawedz menu = gorna krawedz panelu tresci i pierwszego boxu). */
.b15-layout {
	position: relative; z-index: 5;
	display: grid;
	grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--right-w);
	grid-template-areas: "side main right";
	align-items: start;
	gap: 16px;
	max-width: 1560px;
	margin: calc(-1 * var(--overlap)) auto 0;
	padding: 0 16px 28px;
	pointer-events: none; /* zeby klikac godlo nad kolumnami */
}
.b15-layout > * { pointer-events: auto; }
.b15-sidebar { grid-area: side; }
.b15-main { grid-area: main; min-width: 0; }
.b15-right { grid-area: right; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* =========================== LEWE MENU =========================== */
.b15-sidebar {
	position: relative; margin-top: 3px; /* zewnetrzny pierscien ramki rowno z gorna krawedzia ramek paneli */
	padding: 16px 10px 14px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(44, 18, 96, .97) 0%, rgba(25, 10, 56, .97) 100%);
	border: 1px solid var(--gold-line);
	box-shadow: 0 0 0 3px rgba(24, 8, 52, .9), 0 0 0 4px rgba(230, 181, 78, .38), 0 14px 34px rgba(8, 0, 24, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.b15-sidebar::before { /* zloty romb na gornej krawedzi - jak na panelach */
	content: '◆'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
	color: var(--gold-500); font-size: 12px; line-height: 1; text-shadow: 0 0 4px rgba(0, 0, 0, .6); pointer-events: none;
}
.b15-drawer-head, .b15-drawer-extra { display: none; }
.b15-menu { display: flex; flex-direction: column; gap: 3px; }

/* ikony SVG (ikony.php) */
.b15-svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.b15-sprite .f { fill: currentColor; stroke: none; }

.b15-cat-head {
	all: unset; box-sizing: border-box; cursor: pointer;
	display: flex; align-items: center; gap: 11px; width: 100%;
	min-height: 44px; padding: 6px 12px 6px 7px;
	border-radius: 9px; border: 1px solid transparent;
	color: #f1e9ff; font-family: var(--font-title); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; line-height: 1.2;
	transition: background .15s, color .15s, border-color .15s;
	-webkit-tap-highlight-color: transparent;
}
.b15-cat-head .b15-cat-ico {
	width: 32px; height: 32px; padding: 7px; border-radius: 50%; font-size: 14px;
	color: var(--gold-400);
	background: radial-gradient(circle at 35% 30%, #5b30b0, #22104b 75%);
	box-shadow: inset 0 0 0 1px rgba(244, 210, 124, .7), 0 0 0 1px rgba(10, 0, 30, .6), 0 2px 5px rgba(0, 0, 0, .45);
	transition: color .15s, box-shadow .15s;
}
.b15-cat-head img.b15-cat-ico { padding: 4px; }
.b15-cat-head:hover { background: rgba(255, 255, 255, .06); color: var(--gold-300); }
.b15-cat-head:hover .b15-cat-ico { color: var(--gold-300); box-shadow: inset 0 0 0 1px var(--gold-300), 0 0 0 1px rgba(10, 0, 30, .6), 0 0 10px rgba(244, 210, 124, .35); }
.b15-cat-head:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 1px; }
.b15-cat-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b15-chev {
	width: 7px; height: 7px; flex: 0 0 auto; margin: -4px 4px 0 0;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .7;
	transform: rotate(45deg); transition: transform .2s, margin .2s;
}
.b15-cat.is-open > .b15-cat-head { color: var(--gold-300); }
.b15-cat.is-open .b15-chev { transform: rotate(-135deg); margin-top: 4px; }
.b15-cat.is-active > .b15-cat-head {
	background: linear-gradient(90deg, rgba(244, 210, 124, .16), rgba(244, 210, 124, .03));
	border-color: rgba(244, 210, 124, .32);
}
/* Pobierz - wyrozniona zlota pozycja */
.b15-cat.is-highlight > .b15-cat-head {
	margin-top: 6px; color: #3a2205; background: var(--gold-grad); border-color: var(--gold-300);
	box-shadow: 0 0 0 1px rgba(26, 8, 56, .8), 0 4px 12px rgba(176, 122, 35, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.b15-cat.is-highlight > .b15-cat-head .b15-cat-ico { color: var(--gold-300); background: radial-gradient(circle at 35% 30%, #4a1f95, #1d0b40 75%); }
.b15-cat.is-highlight > .b15-cat-head:hover { filter: brightness(1.07); }
.b15-cat-items {
	list-style: none; display: none;
	margin: 2px 0 6px 22px; padding: 2px 0 2px 12px;
	border-left: 1px solid rgba(244, 210, 124, .22);
}
.b15-cat.is-open .b15-cat-items { display: block; }
.b15-item {
	position: relative; display: flex; align-items: center; gap: 10px;
	padding: 6px 10px; margin: 1px 0; border-radius: 7px;
	color: #dcd0f4 !important; font-size: 13.5px; font-weight: 600; line-height: 1.3; text-decoration: none !important;
	transition: background .15s, color .15s;
}
.b15-item .b15-ico { width: 18px; height: 18px; font-size: 10px; color: #a993dc; transition: color .15s; }
.b15-item img.b15-ico { opacity: .9; }
.b15-item .b15-glyph { width: 18px; height: 18px; border-width: 1px; }
.b15-item:hover { background: rgba(138, 91, 230, .24); color: #fff !important; }
.b15-item:hover .b15-ico { color: var(--gold-400); }
.b15-item:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 0; }
.b15-item.is-current {
	background: linear-gradient(90deg, rgba(244, 210, 124, .2), rgba(244, 210, 124, .04));
	color: var(--gold-300) !important; font-weight: 700;
}
.b15-item.is-current .b15-ico { color: var(--gold-400); }
.b15-item.is-current::before {
	content: ''; position: absolute; left: -14px; top: 7px; bottom: 7px; width: 3px; border-radius: 2px;
	background: var(--gold-400); box-shadow: 0 0 8px rgba(244, 210, 124, .7);
}

.b15-plaque {
	position: relative; display: flex; flex-direction: column; align-items: center;
	margin: 26px 4px 2px; padding: 26px 10px 18px;
	border-radius: 14px; text-decoration: none !important;
	background-image: radial-gradient(ellipse at 50% 30%, #4a1f95, #1d0b40 75%);
	background-size: 100% 100%;
	border: 2px solid var(--gold-500);
	box-shadow: 0 0 0 3px #1a0838, 0 0 0 4px var(--gold-700);
	transition: filter .2s;
}
.b15-plaque:hover { filter: brightness(1.1); }
.b15-plaque .crown { position: absolute; top: -18px; font-size: 26px; color: var(--gold-400); text-shadow: 0 2px 2px #000; }
/* czysta korona (images/korona.png - ta sama co w kliencie) przykrywa mala, rozmyta korone narysowana na plakietce */
.b15-plaque .crown-img { position: absolute; top: -9px; left: 50%; width: 50px; height: 50px; transform: translateX(-50%); filter: drop-shadow(0 2px 3px rgba(10, 0, 30, .7)); }
.b15-plaque .t1 { font-family: var(--font-title); font-weight: 700; font-size: 20px; color: var(--gold-400); }
.b15-plaque .t2 { font-family: var(--font-script); font-size: 18px; color: #fff; }
.has-plakietka .b15-plaque {
	border: 0; box-shadow: none; border-radius: 0; aspect-ratio: 172 / 109; justify-content: center; padding: 24px 10px 8px;
	background-image: var(--img-plakietka); background-size: 100% 100%; background-color: transparent;
}
.has-plakietka .b15-plaque .crown { display: none; }

/* =========================== PANEL (srodek) =========================== */
.b15-panel, .b15-box {
	position: relative;
	background-color: var(--paper);
	background-image: linear-gradient(180deg, #fdfbff 0%, #f4eefb 100%);
	border: 2px solid var(--gold-500);
	border-radius: var(--radius);
	box-shadow: 0 0 0 3px rgba(255,255,255,.65), 0 0 0 4px var(--gold-700), 0 10px 28px rgba(30, 5, 70, .45);
}
.b15-panel::before, .b15-panel::after, .b15-box::before {
	content: '◆'; position: absolute; color: var(--gold-500); font-size: 12px; line-height: 1;
	text-shadow: 0 0 2px rgba(0,0,0,.4); pointer-events: none;
}
.b15-panel::before { top: -9px; left: 50%; transform: translateX(-50%); }
.b15-panel::after { bottom: -9px; left: 50%; transform: translateX(-50%); }
.b15-box::before { top: -9px; right: 18px; }

.b15-panel { padding: 16px 20px 18px; }
.b15-panel-head {
	display: flex; align-items: center; gap: 16px;
	padding-bottom: 12px; margin-bottom: 4px;
	border-bottom: 1px solid rgba(176, 122, 35, .35);
}
.b15-panel-ico { width: 60px !important; height: 60px !important; font-size: 26px !important; border-radius: 14px !important; border-width: 3px !important; }
.b15-panel-titles { flex: 1; min-width: 0; }
.b15-panel-titles h1 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.2; }
.b15-panel-titles p { margin: 2px 0 0; color: var(--ink-2); font-size: 13.5px; }

/* przyciski */
.b15-btn, .b15-content input[type=submit], .b15-content input[type=button], .b15-content button, .b15-content .btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 18px; border-radius: 8px; cursor: pointer;
	font-family: var(--font-body); font-weight: 700; font-size: 13px; color: #fff !important; text-decoration: none !important;
	background-image: var(--violet-grad);
	background-size: 100% 100%;
	border: 1px solid var(--gold-500);
	box-shadow: 0 0 0 1px #24104f, inset 0 1px 0 rgba(255,255,255,.3), 0 3px 6px rgba(40, 10, 90, .35);
	transition: filter .15s, transform .05s;
}
.b15-btn:hover, .b15-content input[type=submit]:hover, .b15-content button:hover { filter: brightness(1.15); }
.b15-btn:active { transform: translateY(1px); }
.b15-btn .plus { font-size: 16px; line-height: 1; }
.b15-btn.small { padding: 5px 14px; font-size: 12.5px; }
.b15-btn.gold { background-image: var(--gold-grad); color: #3a2205 !important; }

/* zakladki newsow */
.b15-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 12px 0 14px; }
.b15-tab {
	all: unset; cursor: pointer;
	padding: 6px 18px; border-radius: 999px;
	font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--ink-2);
	background-image: linear-gradient(180deg, #ffffff, #efe8f8);
	background-size: 100% 100%;
	border: 1px solid #ddd0ee;
	box-shadow: 0 1px 2px rgba(60, 20, 120, .12);
}
.b15-tab:hover { border-color: var(--v-400); color: var(--v-600); }
.b15-tab:focus-visible { outline: 2px solid var(--v-500); outline-offset: 2px; }
.b15-tab.is-active {
	color: #fff;
	background-image: var(--violet-grad);
	border-color: var(--gold-500);
	box-shadow: 0 0 0 1px #24104f, 0 2px 6px rgba(60, 20, 120, .35);
}

/* =========================== KARTY NEWSOW =========================== */
.b15-news {
	display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px;
	margin: 0 0 12px; padding: 12px 12px 12px 14px;
	background: rgba(255,255,255,.75);
	border: 1px solid rgba(207, 154, 55, .7);
	border-radius: 8px;
	box-shadow: inset 0 0 0 3px rgba(255,255,255,.8), 0 2px 8px rgba(60, 20, 120, .12);
}
.b15-news[hidden] { display: none; }
.b15-news-body { display: flex; flex-direction: column; min-width: 0; }
.b15-news-head { display: flex; gap: 12px; align-items: flex-start; }
.b15-news-ico { flex: 0 0 auto; width: 44px; height: 44px; }
.b15-news-ico img { width: 44px; height: 44px; object-fit: contain; }
.b15-news-ico .b15-glyph { width: 44px; height: 44px; font-size: 20px; border-radius: 10px; }
.b15-news-title { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--ink); }
.b15-news-title a { color: var(--ink); }
.b15-badge {
	display: inline-block; vertical-align: middle; margin-left: 8px; padding: 1px 8px 0;
	border-radius: 999px; background: var(--badge, var(--v-500)); color: #fff;
	font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: .6px;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,.2);
}
.b15-news-meta { margin-top: 2px; font-size: 12px; color: var(--muted); }
.b15-news-meta .sep { margin: 0 10px; }
.b15-news-text {
	margin: 10px 0 8px 0; color: var(--ink-2); font-size: 13px; line-height: 1.55;
	overflow: hidden; max-height: calc(1.55em * 6);
	-webkit-mask-image: linear-gradient(180deg, #000 75%, transparent);
	mask-image: linear-gradient(180deg, #000 75%, transparent);
}
.b15-news-text p { margin: 0 0 .7em; }
.b15-news-text img { max-height: 160px; }
.b15-news.is-full .b15-news-text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.b15-news-foot { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.b15-news-comments { margin-left: auto; font-size: 12px; color: var(--muted); }
.b15-news-banner {
	position: relative; min-height: 150px; border-radius: 8px; overflow: hidden;
	background-color: var(--v-700);
	background-size: cover; background-position: center;
	border: 2px solid var(--gold-500);
	box-shadow: 0 0 0 1px #2a1258, 0 3px 10px rgba(40, 10, 90, .3);
}
.b15-news-banner.is-empty {
	display: flex; align-items: center; justify-content: center;
	background-image:
		radial-gradient(ellipse at 70% 30%, rgba(255, 180, 240, .55), transparent 55%),
		radial-gradient(ellipse at 20% 90%, rgba(255, 200, 120, .45), transparent 50%),
		linear-gradient(135deg, #3a1a78, #7b45e0 60%, #b06fd8);
}
.b15-news-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-height: none; }
.b15-banner-text {
	font-family: var(--font-deco); font-weight: 900; font-size: 26px; text-align: center; padding: 0 10px;
	background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 2px 0 #3a1205);
}
.b15-news.is-full { grid-template-columns: 1fr; }
.b15-news.is-full .b15-news-banner { order: -1; min-height: 200px; }

/* paginacja */
.b15-pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 8px 0 0; }
.b15-pager[hidden] { display: none; }
.b15-pager button {
	all: unset; cursor: pointer; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 6px;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 13px; color: var(--ink-2);
}
.b15-pager button:hover { background: var(--v-100); }
.b15-pager button.is-active { color: #fff; background: var(--violet-grad); box-shadow: 0 0 0 1px var(--gold-500); }
.b15-pager button:disabled { opacity: .35; cursor: default; }
.b15-archive-link { text-align: center; margin: 8px 0 0; font-size: 12.5px; }

/* =========================== PRAWA KOLUMNA =========================== */
.b15-box { padding: 10px 14px 12px; background-image: linear-gradient(180deg, #fdfbff 0%, #f4eefb 100%); }
.b15-box-title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding-bottom: 6px;
	font-family: var(--font-body); font-weight: 800; font-size: 16px; letter-spacing: .3px; color: var(--ink);
	border-bottom: 1px solid rgba(176, 122, 35, .3);
}
.b15-box-title a { color: var(--ink); }
.b15-box-title .b15-ico { width: 28px; height: 28px; font-size: 14px; }
.b15-list { list-style: none; margin: 0; padding: 0; }
.b15-list li { border-bottom: 1px solid rgba(122, 109, 149, .18); }
.b15-list li:last-child { border-bottom: 0; }
.b15-toplist li { display: flex; align-items: center; gap: 10px; padding: 4px 4px; font-size: 13px; }
.b15-toplist .rank { width: 22px; color: var(--muted); font-weight: 700; }
.b15-toplist .name { flex: 1; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b15-toplist .val { color: var(--gold-700); font-weight: 800; }
.b15-ava {
	position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 35% 30%, #6a4aa8, #1d0b40); color: var(--gold-300);
	font-size: 12px; font-weight: 800; border: 1px solid var(--gold-600);
}
.b15-ava img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.b15-ava.is-online { box-shadow: 0 0 0 2px var(--green); }
.b15-ava.boss { background: radial-gradient(circle at 35% 30%, #c0392b, #3d0a0a); }
.b15-ava.event { background: radial-gradient(circle at 35% 30%, #7b45e0, #24104f); }
.b15-rowlist .row { display: flex; align-items: center; gap: 10px; padding: 5px 4px; color: var(--ink) !important; text-decoration: none !important; font-size: 13px; }
.b15-rowlist a.row:hover { background: var(--v-100); border-radius: 6px; }
.b15-rowlist .name { flex: 1; min-width: 0; }
.b15-rowlist .name.two b { display: block; font-weight: 600; }
.b15-rowlist .name.two small { display: block; color: var(--muted); font-size: 11.5px; }
.b15-rowlist .time { color: var(--gold-700); font-weight: 800; font-variant-numeric: tabular-nums; }
.b15-rowlist .arrow { color: var(--ink-2); font-size: 18px; line-height: 1; }
.b15-social-wrap { display: flex; align-items: center; }
.b15-social { list-style: none; margin: 0; padding: 0; flex: 1; }
.b15-social a { display: flex; align-items: center; gap: 10px; padding: 2px 4px; color: var(--ink) !important; font-size: 13px; }
.b15-sico { width: 20px; height: 20px; }
.b15-sico.dot { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 800; }
.b15-social-note { font-family: var(--font-script); font-size: 21px; color: var(--v-600); transform: rotate(-14deg); text-align: center; max-width: 120px; line-height: 1.1; }
.b15-empty { color: var(--muted); font-size: 13px; margin: 6px 0; }

.b15-discord {
	display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 10px 18px;
	border-radius: 10px; color: #fff !important; text-decoration: none !important;
	background-image: linear-gradient(180deg, #4a22a6 0%, #24104f 100%);
	background-size: 100% 100%;
	border: 2px solid var(--gold-500);
	box-shadow: 0 0 0 2px #1a0838, 0 0 0 3px rgba(244, 210, 124, .5), 0 8px 20px rgba(20, 0, 50, .45);
	transition: filter .15s;
}
.b15-discord:hover { filter: brightness(1.15); }
.b15-discord-logo { display: inline-flex; color: #fff; }
.b15-discord-text { flex: 1; }
.b15-discord-text b { display: block; font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.b15-discord-text small { display: block; font-size: 14px; color: #e5dbff; }
.b15-discord .arrow { font-size: 24px; }

/* =========================== STOPKA =========================== */
.b15-footer {
	position: relative; z-index: 5;
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 20px;
	padding: 12px 28px 10px;
	background-image: linear-gradient(180deg, #f7f2fc, #e9e0f5);
	background-size: cover;
	border-top: 2px solid var(--gold-500);
	color: var(--ink);
}
.b15-footer-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.b15-footer-items li { display: flex; align-items: center; gap: 10px; padding: 4px 26px; font-size: 13px; font-weight: 600; }
.b15-footer-items li + li { border-left: 2px solid rgba(58, 26, 120, .35); }
.b15-footer-items .b15-ico { width: 24px; height: 24px; font-size: 12px; }
.b15-footer-brand { font-family: var(--font-script); font-size: 26px; color: var(--v-700); white-space: nowrap; }
.b15-footer-brand .orn { color: var(--gold-600); font-size: 14px; margin: 0 10px; vertical-align: middle; }
.b15-copy { grid-column: 1 / -1; text-align: center; font-size: 11.5px; color: var(--muted); }
.b15-copy a { color: var(--v-600); }

/* =========================== TRESC STRON MyAAC =========================== */
.b15-content { overflow-x: auto; }
.b15-content h1, .b15-content h2, .b15-content h3 { font-family: var(--font-title); color: var(--ink); }
.b15-content table { border-collapse: collapse; max-width: 100%; }
.b15-content .TableContainer, .b15-content table.TableContent { width: 100%; }
.b15-content td, .b15-content th { padding: 5px 8px; }
.b15-content .TableContainer { margin: 0 0 14px; border: 1px solid rgba(207, 154, 55, .7); border-radius: 8px; overflow: hidden; background: #fff; }
.b15-content .CaptionContainer { background: var(--violet-grad); }
.b15-content .CaptionContainer .Text, .b15-content .Text { color: #fff; font-family: var(--font-title); font-weight: 700; padding: 6px 10px; }
.b15-content .CaptionEdgeLeftTop, .b15-content .CaptionEdgeRightTop, .b15-content .CaptionEdgeLeftBottom, .b15-content .CaptionEdgeRightBottom,
.b15-content .CaptionBorderTop, .b15-content .CaptionBorderBottom, .b15-content .CaptionVerticalLeft, .b15-content .CaptionVerticalRight { display: none; }
.b15-content .white, .b15-content .whites, .b15-content td.white { color: #fff; }
.b15-content input:not([type]), .b15-content input[type=text], .b15-content input[type=password], .b15-content input[type=email], .b15-content input[type=number], .b15-content select, .b15-content textarea {
	font: inherit; padding: 7px 10px; border-radius: 6px; border: 1px solid #cdbde6; background: #fff; color: var(--ink); max-width: 100%;
}
.b15-content input:focus, .b15-content select:focus, .b15-content textarea:focus { outline: 2px solid var(--v-400); outline-offset: 0; border-color: var(--v-400); }
.b15-content .Odd { background: #faf7fe; }
.b15-content .Even { background: #f1eaf9; }
.b15-content hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); margin: 14px 0; }

/* Strona Download (szablon/strony/download.html) */
.b15-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 10px 0 18px; }
.b15-dl-card {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
	padding: 20px 16px; border-radius: 10px; background: #fff;
	border: 1px solid rgba(207, 154, 55, .7); box-shadow: inset 0 0 0 3px rgba(255,255,255,.8), 0 2px 8px rgba(60, 20, 120, .12);
}
.b15-dl-card .os { font-size: 46px; line-height: 1; }
.b15-dl-card h3 { margin: 0; font-family: var(--font-title); }
.b15-dl-card p { margin: 0; color: var(--muted); font-size: 12.5px; }
.b15-dl-card .b15-btn { margin-top: 6px; }


/* =====================================================================
   WARIANT Z GRAFIKAMI (klasy has-* dodaje index.php tylko dla plikow,
   ktore istnieja w images/). Bez plikow ta sekcja nic nie robi.
   ===================================================================== */
.has-tlo-strony { background-color: #140b2e; background-position: center top; }
.has-naglowek .b15-hero { background-position: center 35%; }

/* panele z ramka (border-image) */
.has-panel-ramka .b15-panel {
	border: 2px solid transparent; border-radius: 0;
	border-image: var(--img-panel-ramka) 28 fill / 28px stretch;
	/* cien wg ksztaltu ramki (scięte rogi) - box-shadow byl prostokatny i zostawial jasne laty przy rogach */
	box-shadow: none; filter: drop-shadow(0 10px 16px rgba(20, 4, 50, .45));
	padding: 26px 30px 26px;
}
.has-panel-ramka .b15-panel::before, .has-panel-ramka .b15-panel::after { display: none; }
.has-panel-ramka .b15-panel, .has-boczny-ramka .b15-box { background: none; }
.has-boczny-ramka .b15-box {
	border: 2px solid transparent; border-radius: 0;
	border-image: var(--img-boczny-ramka) 18 fill / 18px stretch;
	box-shadow: none; filter: drop-shadow(0 8px 12px rgba(20, 4, 50, .42));
	padding: 14px 18px 14px;
}
.has-boczny-ramka .b15-box::before { display: none; }

/* przyciski i zakladki */
.has-przycisk-fiolet .b15-btn, .has-przycisk-fiolet .b15-content input[type=submit], .has-przycisk-fiolet .b15-content input[type=button], .has-przycisk-fiolet .b15-content button {
	border-color: transparent; box-shadow: none;
	border-image: var(--img-przycisk-fiolet) 10 fill / 10px stretch;
	padding: 8px 20px;
}
.has-przycisk-zloty .b15-btn.gold { border-image: var(--img-przycisk-zloty) 10 fill / 10px stretch; border-color: transparent; box-shadow: none; }
.has-zakladka .b15-tab { border-color: transparent; box-shadow: none; border-image: var(--img-zakladka) 18 fill / 15px stretch; }
.has-zakladka-aktywna .b15-tab.is-active { border-color: transparent; box-shadow: none; border-image: var(--img-zakladka-aktywna) 18 fill / 15px stretch; }

/* Discord: logo i strzalka sa na grafice */
.has-discord .b15-discord {
	border: 0; box-shadow: none; border-radius: 0; aspect-ratio: 320 / 68; min-height: 0; padding: 0 16% 0 28%;
	background-image: var(--img-discord); background-size: 100% 100%; background-color: transparent;
}
.has-discord .b15-discord-logo, .has-discord .b15-discord .arrow { display: none; }

/* stopka i rozdzielacz */
.has-stopka .b15-footer { border-top: 0; background-image: var(--img-stopka); background-size: 100% 100%; }
.has-rozdzielacz .b15-content hr { height: 22px; background: var(--img-rozdzielacz) center / contain no-repeat; }
.has-rozdzielacz .b15-panel-head { border-bottom: 0; background: var(--img-rozdzielacz) center bottom / 60% 14px no-repeat; padding-bottom: 18px; }

/* =========================== RESPONSYWNOSC =========================== */
@media (max-width: 1360px) {
	.b15-tags { padding-left: 10px; margin-left: 0; }
	.b15-nav { padding: 0 10px; }
	.b15-nav::after { left: 10px; right: 10px; }
	.b15-flag .code { display: none; }
}
@media (max-width: 1280px) {
	:root { --right-w: 300px; --sidebar-w: 228px; }
	.b15-cat-head { font-size: 13px; letter-spacing: .02em; }
	.b15-news { grid-template-columns: minmax(0, 1fr) 220px; }
	.b15-slogan { font-size: 26px; right: 10px; }
	.b15-online .lbl { display: none; }
}
@media (max-width: 1100px) {
	.b15-layout { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); grid-template-areas: "side main" "side right"; }
	.b15-right { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.b15-slogan { display: none; }
	.b15-nav .b15-ico { display: none; }
}

/* ---------- TELEFON I TABLET (do 900 px): pasek + wysuwana szuflada z calym menu ---------- */
@media (max-width: 900px) {
	:root { --hero-h: 172px; --overlap: 18px; --topbar-h: 56px; }
	html { scroll-padding-top: calc(var(--topbar-h) + 8px); }
	.b15-topbar { gap: 10px; padding: 0 10px 0 12px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
	.b15-tags, .b15-topbar .b15-lang, .b15-auth { display: none; }
	.b15-topright { gap: 8px; }
	.b15-brand-name { font-size: 18px; }
	.b15-crown { width: 36px; height: 36px; }
	.b15-online { height: 34px; padding: 0 11px; font-size: 13px; }
	.b15-burger {
		display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
		width: 44px; height: 40px; padding: 0; border-radius: 9px; cursor: pointer;
		background: var(--violet-grad); border: 1px solid var(--gold-500);
		box-shadow: 0 0 0 1px rgba(10, 0, 30, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
		-webkit-tap-highlight-color: transparent;
	}
	.b15-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
	body.b15-menu-open .b15-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	body.b15-menu-open .b15-burger span:nth-child(2) { opacity: 0; }
	body.b15-menu-open .b15-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.b15-emblem img { height: 164px; }
	.b15-emblem-text { width: 260px; height: 150px; }
	.b15-emblem-text .l1 { font-size: 38px; }
	.b15-emblem-text .l2 { font-size: 44px; }
	.b15-layout { display: block; z-index: auto; padding: 0 10px 16px; padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
	.b15-right { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	/* szuflada */
	.b15-sidebar {
		position: fixed; z-index: 1001; top: 0; left: 0; bottom: 0;
		width: min(340px, 88vw); height: 100vh; height: 100dvh;
		overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		padding: 0 12px calc(18px + env(safe-area-inset-bottom));
		border: 0; border-right: 1px solid var(--gold-line); border-radius: 0;
		background: linear-gradient(180deg, #2a1160 0%, #170a36 100%);
		box-shadow: 12px 0 40px rgba(5, 0, 18, .6);
		transform: translateX(-102%); visibility: hidden;
		transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
	}
	.b15-sidebar::before { display: none; }
	body.b15-menu-open .b15-sidebar { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
	body.b15-menu-open { overflow: hidden; }
	.b15-backdrop {
		position: fixed; inset: 0; z-index: 1000; background: rgba(8, 0, 22, .62);
		-webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
		opacity: 0; transition: opacity .25s;
	}
	body.b15-menu-open .b15-backdrop { opacity: 1; }
	.b15-drawer-head {
		position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px;
		height: 60px; margin: 0 -12px 12px; padding: 0 10px 0 14px;
		background: linear-gradient(180deg, #2d1266, #24104f); border-bottom: 1px solid var(--gold-line);
	}
	.b15-drawer-close {
		all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border-radius: 10px; color: var(--gold-300);
		border: 1px solid rgba(244, 210, 124, .4); background: rgba(255, 255, 255, .05);
	}
	.b15-drawer-close .b15-svg { width: 22px; height: 22px; stroke-width: 2.2; }
	.b15-drawer-close:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }
	.b15-drawer-extra { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(244, 210, 124, .2); }
	.b15-drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.b15-dbtn {
		display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 10px; border-radius: 10px;
		color: #f1e9ff !important; font-weight: 800; font-size: 14px; text-decoration: none !important; text-align: center; line-height: 1.15;
		border: 1px solid rgba(244, 210, 124, .45); background: rgba(255, 255, 255, .07);
	}
	.b15-dbtn .b15-svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold-300); }
	.b15-dbtn.gold { background: var(--gold-grad); color: #3a2205 !important; border-color: var(--gold-300); }
	.b15-dbtn.gold .b15-svg { color: #5a3608; }
	.b15-drawer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.b15-dnav {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 54px; padding: 4px; border-radius: 10px;
		color: #e6dcfa !important; font-weight: 700; font-size: 12.5px; line-height: 1.15; text-align: center; text-decoration: none !important;
		background: rgba(0, 0, 0, .22); border: 1px solid rgba(244, 210, 124, .25);
	}
	.b15-dnav .b15-ico { width: 20px; height: 20px; color: var(--gold-400); }
	.b15-dnav.is-current { color: var(--gold-300) !important; border-color: var(--gold-500); }
	.b15-drawer-lang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.b15-dflag {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 10px;
		color: #e6dcfa !important; font-size: 12px; font-weight: 700; text-decoration: none !important;
		background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1);
	}
	.b15-dflag svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
	.b15-dflag .code { display: none; }
	.b15-dflag.is-active { color: var(--gold-300) !important; border-color: var(--gold-500); background: rgba(244, 210, 124, .14); }
	.b15-cat-head { min-height: 50px; font-size: 15px; }
	.b15-item { padding: 10px 10px; font-size: 15px; }
	.b15-item .b15-ico { width: 20px; height: 20px; }
	.b15-item.is-current::before { top: 10px; bottom: 10px; }
	.b15-plaque { display: none; }

	.b15-panel { padding: 12px 12px 14px; }
	.has-panel-ramka .b15-panel { padding: 22px 16px 20px; border-image-width: 22px; }
	.b15-panel-head { flex-wrap: wrap; }
	.b15-panel-head .b15-btn { width: 100%; justify-content: center; }
	.b15-news { grid-template-columns: 1fr; }
	.b15-news-banner { order: -1; min-height: 130px; }
	.b15-footer { grid-template-columns: 1fr; text-align: center; padding: 12px 10px calc(12px + env(safe-area-inset-bottom)); }
	.b15-footer-items li { padding: 4px 12px; }
	.b15-footer-items li + li { border-left: 0; }
}
@media (min-width: 901px) {
	.b15-backdrop { display: none !important; }
}
@media (max-width: 600px) {
	:root { --hero-h: 150px; }
	.b15-emblem img { height: 142px; }
	.b15-right { grid-template-columns: minmax(0, 1fr); }
	.b15-panel-titles h1 { font-size: 20px; }
	.b15-panel-ico { width: 48px !important; height: 48px !important; }
	.b15-tabs { gap: 6px; padding: 10px 0 12px; }
	.b15-tab { padding: 6px 12px; font-size: 12.5px; }
	.b15-news-meta .sep { margin: 0 6px; }
}
@media (max-width: 380px) {
	.b15-brand-name { font-size: 16px; }
	.b15-online { padding: 0 9px; }
	.b15-online .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* =========================== JEZYKI (EN / PL / PT-BR) =========================== */
/* przelacznik flag w gornym pasku */
.b15-lang { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 8px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(244, 210, 124, .28); }
.b15-flag {
	display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 6px;
	color: #e9defc !important; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; line-height: 1;
	text-decoration: none !important; opacity: .72; transition: opacity .15s, background .15s;
}
.b15-flag svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 1px 3px rgba(0, 0, 0, .45); flex: 0 0 auto; display: block; }
.b15-flag:hover, .b15-flag:focus-visible { opacity: 1; background: rgba(255, 255, 255, .12); }
.b15-flag.is-active { opacity: 1; background: rgba(244, 210, 124, .2); color: var(--gold-300) !important; box-shadow: inset 0 0 0 1px rgba(244, 210, 124, .55); }

/* bloki tresci w kilku jezykach: serwer zostawia tylko aktywny (data-b15-keep); CSS to zapas na tresc spoza filtra */
body.lang-en .i18n[data-lang]:not([data-lang="en"]):not([data-b15-keep]),
body.lang-pl .i18n[data-lang]:not([data-lang="pl"]):not([data-b15-keep]),
body.lang-pt .i18n[data-lang]:not([data-lang="pt"]):not([data-lang="pt-BR"]):not([data-lang="br"]):not([data-b15-keep]) { display: none; }

/* tagi w gornym pasku jako linki */
.b15-tags a { color: #e9defc; text-decoration: none; }
.b15-tags a:hover { color: var(--gold-300); text-decoration: none; }

/* bossy / eventy: czas, "teraz", przypis o strefie */
.b15-rowlist time { font-variant-numeric: tabular-nums; }
.b15-rowlist .time time { color: var(--gold-700); font-weight: 800; white-space: nowrap; }
.b15-rowlist .name.two small time { color: var(--ink-2); font-weight: 700; }
.b15-now { display: inline-block; padding: 1px 7px; border-radius: 9px; background: var(--green); color: #053b1a; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.b15-rowlist .row.is-running { background: rgba(47, 211, 107, .08); border-radius: 6px; }
.b15-rowlist .b15-ava.boss { color: #fff; font-weight: 800; }
.b15-box-note { margin: 8px 2px 0; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.b15-box-note a { font-weight: 700; }



/* =========================== 29.10: IKONY SVG W BOXACH / SOCIAL =========================== */
/* ikony naglowkow boxow: zloty znak w fioletowym medalionie (zamiast pomaranczowych kolek PNG z obwodka) */
.b15-box-title .b15-svg {
	width: 32px; height: 32px; padding: 7px; border-radius: 50%; flex: 0 0 auto;
	color: var(--gold-400);
	background: radial-gradient(circle at 35% 30%, #5b30b0, #22104b 75%);
	box-shadow: inset 0 0 0 1px rgba(244, 210, 124, .8), 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 3px rgba(176, 122, 35, .55), 0 2px 5px rgba(40, 10, 90, .35);
}
.b15-sico.svg { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.b15-sico.svg .b15-svg { width: 13px; height: 13px; }
.b15-footer-items .b15-ico { width: 28px; height: 28px; }
.b15-flag .name { display: none; }
/* tablet: jest miejsce na jezyki i logowanie w pasku (szuflada i tak ma wszystko) */
@media (min-width: 601px) and (max-width: 900px) {
	.b15-topbar .b15-lang, .b15-topbar .b15-auth { display: flex; }
	.b15-topbar .b15-flag .code { display: none; }
}
/* dlugie komendy/adresy w tresci nie rozpychaja strony na telefonie */
.b15-content code { overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; }
