/* ==========================================================================
   Szablon strony Venurii (MyAAC 1.9)
   ========================================================================== */

:root {
	--v-bg: #0b0e13;
	--v-panel: #141921;
	--v-panel-2: #1a2029;
	--v-panel-3: #212834;
	--v-border: #29313d;
	--v-border-soft: #222a35;
	--v-gold: #e8b04a;
	--v-gold-2: #f6c968;
	--v-gold-dark: #a8772a;
	--v-text: #dfe3e8;
	--v-muted: #8d97a5;
	--v-green: #4cc36b;
	--v-red: #e05a52;
	--v-blue: #4b8fd6;
	--v-radius: 10px;
	--v-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--v-font: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
	--v-font-title: 'Cinzel', Georgia, serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
	background: var(--v-bg);
	color: var(--v-text);
	font: 14px/1.55 var(--v-font);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.v-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	/* grafika z bohaterami (ta sama co tlo klienta, bez logo), robi ja C:\OTS\klient_grafiki_venuria.py.
	   Przygaszona warstwa rgba(11,14,19,.62), zeby nie dominowala nad trescia. Dawne tlo: images/bg/venuria_bg.jpg (Schinkel) */
	background:
		linear-gradient(rgba(11, 14, 19, .62), rgba(11, 14, 19, .62)),
		linear-gradient(90deg, rgba(11, 14, 19, .35) 0%, rgba(11, 14, 19, 0) 20%, rgba(11, 14, 19, 0) 80%, rgba(11, 14, 19, .35) 100%),
		linear-gradient(180deg, rgba(11, 14, 19, 0) 0%, rgba(11, 14, 19, .2) 55%, #0b0e13 100%),
		url('../images/bg/venuria_heroes.jpg') center 25% / cover no-repeat,
		#0b0e13;
}

a { color: var(--v-gold); text-decoration: none; }
a:hover { color: var(--v-gold-2); }

img { max-width: 100%; }

.v-ico {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

.v-muted { color: var(--v-muted); }
.v-pad { padding: 10px 4px; }

/* ---------- przyciski ---------- */
.v-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 8px;
	border: 1px solid var(--v-border);
	background: var(--v-panel-2);
	color: var(--v-text);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s, transform .15s;
	white-space: nowrap;
}
.v-btn:hover { border-color: var(--v-gold-dark); color: #fff; }
.v-btn-ghost { background: rgba(255, 255, 255, .02); }
.v-btn-gold {
	background: linear-gradient(180deg, #f0bd57, #c98d2c);
	border-color: #e3a845;
	color: #1d1406;
	box-shadow: 0 4px 14px rgba(232, 176, 74, .25);
}
.v-btn-gold:hover { color: #1d1406; background: linear-gradient(180deg, #f7cb6c, #d79a35); }
.v-btn-sm { padding: 7px 13px; font-size: 13px; }
.v-btn-sm .v-ico { width: 14px; height: 14px; }
.v-btn-block { display: flex; width: 100%; margin-top: 6px; }

/* ---------- gorny pasek ---------- */
.v-top {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 14px 20px 0;
}
.v-top-inner {
	max-width: 1500px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 12px 18px;
	background: rgba(17, 21, 28, .92);
	border: 1px solid var(--v-border);
	border-radius: 14px;
	box-shadow: var(--v-shadow);
	backdrop-filter: blur(8px);
}
.v-burger {
	display: none;
	background: none;
	border: 1px solid var(--v-border);
	border-radius: 8px;
	color: var(--v-text);
	padding: 7px;
	cursor: pointer;
}
.v-brand { display: flex; align-items: center; gap: 12px; color: var(--v-text); }
.v-brand:hover { color: var(--v-text); }
.v-crest { width: 52px; height: 52px; margin: -6px 0; object-fit: contain; filter: drop-shadow(0 0 10px rgba(232, 176, 74, .25)); }
.v-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.v-brand-name { font-family: var(--v-font-title); font-weight: 800; font-size: 22px; letter-spacing: .5px; color: #f3f0e8; }
.v-brand-sub { font-size: 12px; color: var(--v-gold); font-weight: 500; }

.v-topnav { display: flex; gap: 6px; margin: 0 auto; }
.v-topnav a {
	display: flex;
	white-space: nowrap;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 8px;
	border: 1px solid transparent;
	color: var(--v-text);
	font-weight: 600;
}
.v-topnav a .v-ico { color: var(--v-gold); width: 16px; height: 16px; }
.v-topnav a:hover { background: rgba(255, 255, 255, .04); }
.v-topnav a.active { background: rgba(232, 176, 74, .10); border-color: rgba(232, 176, 74, .45); color: #fff; }

.v-top-actions { display: flex; gap: 10px; }
/* pasek z linkami na srodku calego paska, niezaleznie od szerokosci logo i przyciskow po prawej */
.v-top-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.v-top-inner .v-brand { justify-self: start; }
.v-top-inner .v-topnav { justify-self: center; margin: 0; }
.v-top-inner .v-top-actions { justify-self: end; }

/* ---------- uklad ---------- */
.v-layout {
	max-width: 1500px;
	margin: 20px auto 0;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr) 290px;
	gap: 20px;
	align-items: start;
}

.v-panel {
	background: linear-gradient(180deg, rgba(23, 28, 37, .96), rgba(18, 22, 30, .96));
	border: 1px solid var(--v-border);
	border-radius: var(--v-radius);
	box-shadow: var(--v-shadow);
	overflow: hidden;
}
.v-side-right .v-panel + .v-panel { margin-top: 16px; }
.v-panel-title {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 16px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #f1ede4;
	border-bottom: 1px solid var(--v-border-soft);
	background: rgba(255, 255, 255, .015);
}
.v-panel-title .v-ico { color: var(--v-gold); width: 16px; height: 16px; }
.v-panel-body { padding: 12px; }

/* ---------- lewe menu ---------- */
.v-side-left { min-width: 0; }
.v-menu {
	background: linear-gradient(180deg, rgba(23, 28, 37, .96), rgba(18, 22, 30, .96));
	border: 1px solid var(--v-border);
	border-radius: var(--v-radius);
	box-shadow: var(--v-shadow);
	padding: 6px 0;
}
.v-menu-group { padding: 8px 10px 10px; }
.v-menu-group + .v-menu-group { border-top: 1px solid var(--v-border-soft); }
.v-menu-title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--v-gold);
}
.v-menu-title .v-ico { width: 15px; height: 15px; }
.v-menu-link {
	display: block;
	padding: 8px 10px;
	margin: 1px 0;
	border-radius: 7px;
	border: 1px solid transparent;
	color: #cfd5dd;
	font-weight: 500;
}
.v-menu-link:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.v-menu-link.active {
	background: linear-gradient(90deg, rgba(232, 176, 74, .16), rgba(232, 176, 74, .04));
	border-color: rgba(232, 176, 74, .35);
	color: #fff;
	box-shadow: inset 3px 0 0 var(--v-gold);
}
.v-menu-backdrop { display: none; }

/* ---------- srodek ---------- */
.v-content-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--v-border-soft);
}
.v-content-head h1 {
	margin: 0;
	font-family: var(--v-font-title);
	font-size: 26px;
	font-weight: 700;
	color: #f6f2ea;
}
.v-content-meta { font-size: 13px; color: var(--v-muted); white-space: nowrap; }
.v-content-meta b { color: var(--v-text); }
.v-content { padding: 20px; }
.page-news .v-content { padding-top: 18px; }

/* baner newsow */
.v-hero { position: relative; border-bottom: 1px solid var(--v-border-soft); background: #0e1218; }
.v-hero-slide { display: none; position: relative; min-height: 300px; overflow: hidden; }
.v-hero-slide.active { display: flex; align-items: center; animation: v-fade .45s ease; }
@keyframes v-fade { from { opacity: 0; } to { opacity: 1; } }
/* zdjecie na calym banerze, pod tekstem lagodnie przyciemnione (bez ostrej granicy) */
.v-hero-art {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.v-hero-art::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(270deg, rgba(10, 13, 18, .05) 0%, rgba(10, 13, 18, .2) 30%, rgba(10, 13, 18, .62) 55%, rgba(10, 13, 18, .74) 100%),
		linear-gradient(180deg, transparent 70%, rgba(10, 13, 18, .35) 100%);
}
.v-hero-body {
	position: relative;
	z-index: 1;
	max-width: 58%;
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.v-hero-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--v-gold);
	margin-bottom: 8px;
}
.v-hero-title {
	margin: 0 0 12px;
	font-family: var(--v-font-title);
	font-size: 32px;
	line-height: 1.15;
	font-weight: 800;
}
.v-hero-title a { color: #fbf7ee; }
.v-hero-title a:hover { color: var(--v-gold-2); }
.v-hero-text { margin: 0; color: #dde2e8; max-width: 560px; }
.v-hero-tabs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	border-top: 1px solid var(--v-border-soft);
	background: #11161d;
}
.v-hero-tab {
	position: relative;
	text-align: left;
	background: none;
	border: 0;
	border-right: 1px solid var(--v-border-soft);
	padding: 11px 14px;
	color: var(--v-text);
	font: inherit;
	cursor: pointer;
	min-width: 0;
}
.v-hero-tab:last-child { border-right: 0; }
.v-hero-tab:hover { background: rgba(255, 255, 255, .03); }
.v-hero-tab.active { background: #18202b; }
.v-hero-tab.active::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 2px;
	background: var(--v-gold);
}
.v-hero-tab-date { display: block; font-size: 11px; font-weight: 700; color: var(--v-muted); letter-spacing: .8px; }
.v-hero-tab-title { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* karty newsow (news.html.twig) */
.v-news-card {
	display: grid;
	grid-template-columns: 260px 1fr;
	background: #f6f1e6;
	color: #2b2721;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #d8ccb4;
	margin-bottom: 16px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.v-news-card-art {
	position: relative;
	background-size: cover;
	background-position: center;
	image-rendering: pixelated;
	min-height: 180px;
	background-color: #1a1f27;
}
.v-news-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--v-gold);
	color: #1d1406;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.v-news-card-body { padding: 18px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.v-news-meta { font-size: 12px; color: #7d7465; margin-bottom: 4px; }
.v-news-meta b { color: #a36d1c; font-weight: 600; }
.v-news-title {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	color: #1f1b16;
	letter-spacing: .2px;
}
.v-news-title a { color: inherit; }
.v-news-title a:hover { color: #9b6514; }
.v-news-text { margin: 0 0 14px; color: #4a443b; }
.v-news-btn {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #b98a3c;
	border-radius: 7px;
	color: #6d4810;
	font-weight: 700;
	background: #fffaf0;
}
.v-news-btn:hover { background: #f4e2bd; color: #4d3109; }
.v-news-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.v-news-actions .v-news-link { font-size: 13px; color: #8a5d16; }

/* pelny news (news/archive/ID) */
.v-article {
	background: #f6f1e6;
	color: #2b2721;
	border-radius: 10px;
	border: 1px solid #d8ccb4;
	overflow: hidden;
	margin-bottom: 16px;
}
.v-article-head { padding: 18px 22px 10px; border-bottom: 1px solid #e3d8c2; }
.v-article-body { padding: 16px 22px 20px; }
.v-article-body img { border-radius: 6px; }
.v-article-body a { color: #9b6514; font-weight: 600; }

/* tickery */
.v-tickers { margin-bottom: 16px; }
.v-ticker {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: 9px 12px;
	border: 1px solid var(--v-border-soft);
	border-radius: 8px;
	background: var(--v-panel-2);
	margin-bottom: 6px;
}
.v-ticker-date { font-size: 12px; font-weight: 700; color: var(--v-gold); white-space: nowrap; }

/* ---------- prawa kolumna ---------- */
.v-side-right { min-width: 0; }
.v-world { padding: 6px 16px; }
.v-world-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	font-weight: 600;
}
.v-world-row + .v-world-row { border-top: 1px solid var(--v-border-soft); }
.v-world-row span:first-child { display: flex; align-items: center; gap: 9px; }
.v-world-row .v-ico { color: var(--v-muted); width: 16px; height: 16px; }
.v-world-row b { font-size: 18px; color: #fff; }
.v-world-row.v-muted { font-weight: 500; font-size: 13px; }
.v-world-state { font-family: var(--v-font-title); font-size: 18px; }
.v-world-state.on { color: var(--v-green); }
.v-world-state.off { color: var(--v-red); }
.v-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.v-dot.on { background: var(--v-green); box-shadow: 0 0 8px var(--v-green); }
.v-dot.off { background: var(--v-red); }

/* panel Discord (01.12.2026) */
.v-discord .v-panel-title .v-ico { color: #7c86ff; }
.v-discord-text { margin: 0 0 10px; font-size: 13px; line-height: 1.4; color: var(--v-muted); }
.v-discord-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-discord-counts > div {
	padding: 9px 8px;
	text-align: center;
	background: var(--v-panel-2);
	border: 1px solid var(--v-border-soft);
	border-radius: 8px;
}
.v-discord-counts span { display: flex; align-items: center; justify-content: center; gap: 7px; }
.v-discord-counts .v-ico { width: 16px; height: 16px; color: var(--v-muted); }
.v-discord-counts b { font-size: 18px; line-height: 1.3; color: #fff; }
.v-discord-counts small { font-size: 12px; color: var(--v-muted); }
.v-btn-discord { margin-top: 0; color: #fff; background: #5865f2; border-color: #5865f2; }
.v-btn-discord:hover { color: #fff; background: #4752c4; border-color: #4752c4; }
.v-discord-counts + .v-btn-discord { margin-top: 10px; }

.v-cards { display: flex; flex-direction: column; gap: 8px; }
.v-mini {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 9px;
	border: 1px solid var(--v-border-soft);
	background: var(--v-panel-2);
	color: var(--v-text);
}
a.v-mini:hover { border-color: rgba(232, 176, 74, .45); background: #1d242f; color: var(--v-text); }
.v-mini-icon {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 8px;
	border: 1px solid var(--v-border);
	background: #10141a;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--v-gold);
}
/* obrazki strojow 64x64 maja postac w prawym dolnym rogu: srodek postaci (ok. 48, 46) ustawiony na srodku ramki */
.v-mini-icon:has(img) { position: relative; }
.v-mini-icon img { position: absolute; left: -25px; top: -23px; image-rendering: pixelated; max-width: none; width: 64px; height: 64px; }
/* ikona z Wiki: caly potwor juz dopasowany do kwadratu, wystarczy zmniejszyc do ramki */
.v-mini-icon img.v-fit { position: static; left: auto; top: auto; width: 40px; height: 40px; object-fit: contain; image-rendering: auto; }
.v-mini-icon .v-ico { width: 22px; height: 22px; }
.v-mini-date { flex-direction: column; line-height: 1; background: linear-gradient(180deg, #2a2112, #15120c); border-color: #5a4419; }
.v-mini-date small { font-size: 10px; font-weight: 800; color: var(--v-gold); letter-spacing: 1px; }
.v-mini-date b { font-size: 20px; color: #fff; margin-top: 2px; }
.v-mini-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.v-mini-text small { font-size: 12px; color: var(--v-gold); font-weight: 600; }
.v-mini-text b { font-size: 14px; color: #f4f1ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-mini-text em { font-style: normal; font-size: 12px; color: var(--v-muted); }
.v-top-player .v-mini-text small { color: var(--v-text); font-weight: 600; }
.v-top-player .v-mini-text em { color: var(--v-blue); font-weight: 600; }
.v-rank {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	background: #1e3a4d;
	color: #cfe6f5;
}
.v-rank-1 { background: linear-gradient(180deg, #f3c862, #b9842c); color: #2a1b04; }
.v-rank-2 { background: linear-gradient(180deg, #dfe4ea, #8f99a5); color: #1b2027; }
.v-rank-3 { background: linear-gradient(180deg, #e3a06a, #9a5a2c); color: #2a1406; }
.v-download .v-panel-body { padding: 16px; }
.v-download-title { font-family: var(--v-font-title); font-size: 18px; font-weight: 700; color: #f6f2ea; }
.v-download p { margin: 4px 0 10px; font-size: 13px; }

/* ---------- stopka ---------- */
.v-footer {
	max-width: 1500px;
	margin: 30px auto 0;
	padding: 20px;
	text-align: center;
	color: var(--v-muted);
	font-size: 12px;
	border-top: 1px solid var(--v-border-soft);
}
.v-footer-small { margin-top: 6px; opacity: .8; }
.v-footer a { color: var(--v-muted); text-decoration: underline; }

/* ==========================================================================
   Tresc podstron MyAAC (tabele, formularze, przyciski)
   ========================================================================== */
.v-content h1, .v-content h2, .v-content h3 { color: #f4f0e8; line-height: 1.25; }
.v-content h2 { font-family: var(--v-font-title); font-size: 22px; }
.v-content .v-news-title { color: #1f1b16; font-family: var(--v-font); font-size: 21px; }
.v-content .v-article-body h1, .v-content .v-article-body h2, .v-content .v-article-body h3 { color: #1f1b16; }
.v-content h3 { font-size: 17px; }
.v-content hr { border: 0; border-top: 1px solid var(--v-border); }
.v-content p { margin: 0 0 12px; }
.v-content ul { padding-left: 22px; }
.v-content li { margin-bottom: 4px; }
.v-content small { color: var(--v-muted); }
.v-content .white, .v-content td.white, .v-content .white b { color: var(--v-gold-2) !important; }
.v-content .red { color: var(--v-red); }
.v-content .LabelV, .v-content .LabelV150, .v-content .LabelV200 { font-weight: 600; color: var(--v-muted); }

.v-content table { border-collapse: separate; border-spacing: 0; color: var(--v-text); }
.v-content table[cellspacing="1"], .v-content table.TableContent { border-spacing: 0; }
.v-content table td, .v-content table th { padding: 8px 10px; }
.v-content table tr[bgcolor] > td { border-bottom: 1px solid rgba(255, 255, 255, .03); }
.v-content table tr[bgcolor] > td:first-child { border-left: 0; }
.v-content table table td { padding: 6px 8px; }

.v-content .TableContent,
.v-content table.TableContent {
	width: 100%;
	background: var(--v-panel-2);
	border: 1px solid var(--v-border);
	border-radius: 8px;
	overflow: hidden;
}
.v-content table.TableContent th { background: #2b2416; color: var(--v-gold-2); text-align: left; }
.v-content table.TableContent td { border-top: 1px solid var(--v-border-soft); }

.v-content input[type="text"],
.v-content input[type="password"],
.v-content input[type="email"],
.v-content input[type="number"],
.v-content input[type="search"],
.v-content select,
.v-content textarea,
.v-content .form-control {
	background: #0f131a;
	border: 1px solid var(--v-border);
	border-radius: 7px;
	color: var(--v-text);
	padding: 8px 10px;
	font: inherit;
	max-width: 100%;
}
.v-content input:focus, .v-content select:focus, .v-content textarea:focus {
	outline: none;
	border-color: var(--v-gold-dark);
	box-shadow: 0 0 0 3px rgba(232, 176, 74, .15);
}
.v-content input[type="submit"],
.v-content input[type="button"],
.v-content button,
.v-content .btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border-radius: 8px;
	border: 1px solid #e3a845;
	background: linear-gradient(180deg, #f0bd57, #c98d2c);
	color: #1d1406;
	font: 600 14px/1.2 var(--v-font);
	cursor: pointer;
}
.v-content input[type="submit"]:hover,
.v-content input[type="button"]:hover,
.v-content button:hover,
.v-content .btn:hover { background: linear-gradient(180deg, #f7cb6c, #d79a35); color: #1d1406; }
.v-content input[type="checkbox"], .v-content input[type="radio"] { accent-color: var(--v-gold); }
.v-content .FormFieldError { color: var(--v-red); }
.v-content .alert, .v-content .SmallBox, .v-content .ErrorBox {
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--v-border);
	background: var(--v-panel-2);
	margin-bottom: 12px;
}

/* ==========================================================================
   Ranking (highscores.html.twig)
   ========================================================================== */
.vh-title { font-size: 15px; color: var(--v-muted); margin-bottom: 14px; }
.vh-title span { color: #fff; font-weight: 700; }
.vh-filters {
	background: var(--v-panel-2);
	border: 1px solid var(--v-border);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
}
.vh-filter-row { display: flex; gap: 12px; align-items: flex-start; }
.vh-filter-row + .vh-filter-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--v-border-soft); }
.vh-filter-label {
	flex: 0 0 74px;
	padding-top: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--v-gold);
}
.vh-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.vh-pill {
	padding: 5px 11px;
	border-radius: 999px;
	border: 1px solid var(--v-border);
	background: #11161d;
	color: #cfd5dd;
	font-size: 13px;
	font-weight: 600;
}
.vh-pill:hover { border-color: var(--v-gold-dark); color: #fff; }
.vh-pill.active { background: rgba(232, 176, 74, .16); border-color: var(--v-gold); color: #fff; }

.vh-table-wrap { border: 1px solid var(--v-border); border-radius: 10px; overflow: hidden; overflow-x: auto; }
.v-content table.vh-table { width: 100%; border-collapse: collapse; background: var(--v-panel-2); }
.vh-table th {
	background: #11161d;
	color: var(--v-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: left;
	padding: 10px 12px !important;
	border-bottom: 1px solid var(--v-border);
}
.vh-table td { padding: 8px 12px !important; border-bottom: 1px solid var(--v-border-soft); vertical-align: middle; }
.vh-table tbody tr:last-child td { border-bottom: 0; }
.vh-table tbody tr:hover td { background: #1e2530; }
.vh-col-rank { width: 56px; text-align: center !important; }
.vh-col-outfit { width: 60px; }
.vh-col-value, .vh-col-points { text-align: right !important; white-space: nowrap; }
.vh-col-points { color: var(--v-muted); width: 150px; }
.vh-rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border-radius: 7px;
	background: #1e3a4d;
	color: #cfe6f5;
	font-weight: 800;
	font-size: 13px;
}
.vh-top-1 .vh-rank { background: linear-gradient(180deg, #f3c862, #b9842c); color: #2a1b04; }
.vh-top-2 .vh-rank { background: linear-gradient(180deg, #dfe4ea, #8f99a5); color: #1b2027; }
.vh-top-3 .vh-rank { background: linear-gradient(180deg, #e3a06a, #9a5a2c); color: #2a1406; }
.vh-outfit { position: relative; width: 46px; height: 46px; border-radius: 8px; background: #10141a; border: 1px solid var(--v-border); overflow: hidden; }
.vh-outfit img { position: absolute; left: -25px; top: -23px; width: 64px; height: 64px; max-width: none; image-rendering: pixelated; }
.vh-name { font-weight: 700; font-size: 15px; color: #f4f1ea; }
.vh-name:hover { color: var(--v-gold-2); }
.vh-sub { font-size: 12px; color: var(--v-blue); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.vh-sub img { vertical-align: middle; }
.vh-value { font-weight: 800; font-size: 15px; color: #fff; }
.vh-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--v-green); margin-left: 6px; box-shadow: 0 0 6px var(--v-green); }
.vh-empty { text-align: center; color: var(--v-muted); padding: 24px !important; }
.vh-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.vh-pages { display: flex; gap: 8px; }
.vh-pages .venore-btn, .vh-pages a {
	padding: 8px 14px;
	border-radius: 8px;
	border: 1px solid var(--v-border);
	background: var(--v-panel-2);
	color: var(--v-text);
	font-weight: 600;
}
.vh-pages a:hover { border-color: var(--v-gold-dark); }
.vh-updated { font-size: 12px; color: var(--v-muted); }
.page-highscores .v-content > small:first-child,
.page-highscores .v-content > small:first-child + br,
.page-highscores .v-content > small:first-child + br + br { display: none; }

/* ==========================================================================
   Telefon i tablet
   ========================================================================== */
@media (max-width: 1280px) {
	.v-layout { grid-template-columns: 220px minmax(0, 1fr); }
	.v-side-right {
		grid-column: 1 / -1;
		position: static;
		max-height: none;
		overflow: visible;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 16px;
	}
	.v-side-right .v-panel + .v-panel { margin-top: 0; }
	.v-topnav a { padding: 9px 10px; }
}

@media (max-width: 960px) {
	.v-top { padding: 10px 10px 0; }
	.v-top-inner { display: flex; gap: 10px; padding: 10px 12px; }
	.v-burger { display: inline-flex; }
	.v-topnav { display: none; }
	.v-top-actions { margin-left: auto; }
	.v-top-actions .v-btn span { display: none; }
	.v-top-actions .v-btn { padding: 9px; }
	.v-brand-sub { display: none; }
	.v-layout { grid-template-columns: minmax(0, 1fr); padding: 0 10px; margin-top: 12px; }
	.v-side-left {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 280px;
		z-index: 100;
		transform: translateX(-105%);
		transition: transform .25s ease;
	}
	.v-side-left .v-menu { height: 100%; border-radius: 0; overflow-y: auto; } /* telefon: wysuwane menu przewija sie samo, bo jest przypiete do ekranu */
	.v-menu-open .v-side-left { transform: none; }
	.v-menu-open .v-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55); }
	.v-content-head { flex-direction: column; align-items: flex-start; }
	.v-content { padding: 14px; }
	.v-hero-slide { min-height: 260px; align-items: flex-end; }
	.v-hero-art::after { background: linear-gradient(180deg, rgba(10, 13, 18, .05) 0%, rgba(10, 13, 18, .35) 45%, rgba(10, 13, 18, .78) 100%); }
	.v-hero-body { max-width: none; padding: 18px; }
	.v-hero-title { font-size: 24px; }
	.v-hero-tabs { grid-auto-flow: row; grid-auto-columns: auto; }
	.v-hero-tab { border-right: 0; border-bottom: 1px solid var(--v-border-soft); }
	.v-hero-tab.active::before { top: 0; bottom: 0; right: auto; width: 3px; height: auto; }
	.v-news-card { grid-template-columns: 1fr; }
	.v-news-card-art { min-height: 150px; }
	.vh-filter-row { flex-direction: column; gap: 6px; }
	.vh-filter-label { padding-top: 0; flex-basis: auto; }
	.vh-col-points { display: none; }
}

/* ==========================================================================
   Konto (account.management.html.twig ma wlasne style z czarnymi linkami)
   ========================================================================== */
.v-content #account-manage { padding: 0; }
.v-content div#one { width: 180px; }
.v-content div#two { margin-left: 180px; padding-left: 18px; }
.v-content .vertical-menu {
	background: var(--v-panel-2);
	border: 1px solid var(--v-border);
	border-radius: 10px;
	overflow: hidden;
}
.v-content .vertical-menu a {
	background: transparent !important;
	color: #cfd5dd !important;
	padding: 10px 14px;
	border-bottom: 1px solid var(--v-border-soft);
	font-weight: 500;
}
.v-content .vertical-menu a:last-child { border-bottom: 0; }
.v-content .vertical-menu a:hover { background: rgba(232, 176, 74, .10) !important; color: #fff !important; }
@media (max-width: 700px) {
	.v-content div#one { width: auto; float: none; margin-bottom: 14px; }
	.v-content div#two { margin-left: 0; padding-left: 0; }
}

/* strona glowna: pelna tresc newsa wybranego w banerze */
.v-hero-article { display: none; }
.v-hero-article.active { display: block; animation: v-fade .3s ease; }
.v-hero-tab { transition: background .15s; }
.v-archive-link { text-align: right; font-size: 13px; margin: 4px 0 0; }

/* panel World: wiersz z liczba graczy prowadzi do Who is Online */
a.v-world-link { color: var(--v-text); margin: 0 -16px; padding: 9px 16px; border-radius: 0; transition: background .15s; }
a.v-world-link:hover { background: rgba(232, 176, 74, .07); color: #fff; }
a.v-world-link:hover b { color: var(--v-gold-2); }

/* ==========================================================================
   Wiki (strony generuje venuria_strony.php z wiki_tresc.php)
   ========================================================================== */
.v-content ul.v-wiki-grid {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.v-content .v-wiki-item { margin: 0; }
.v-content .v-wiki-item a {
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-template-rows: auto 1fr;
	column-gap: 14px;
	height: 100%;
	padding: 16px;
	border-radius: 10px;
	border: 1px solid var(--v-border);
	background: var(--v-panel-2);
	color: var(--v-muted);
	transition: border-color .15s, background .15s;
}
.v-content .v-wiki-item a:hover { border-color: rgba(232, 176, 74, .5); background: #1d242f; }
.v-content .v-wiki-item .vw-icon {
	grid-row: 1 / 3;
	width: 48px;
	height: 48px;
	padding: 4px;
	border-radius: 8px;
	background: #10141a;
	border: 1px solid var(--v-border);
}
.v-content .v-wiki-item b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--v-gold-2); }
.v-content .v-wiki-item span { font-size: 13px; }

/* ikony maja 64 px (2x), strona pokazuje je mniejsze z wygladzaniem - bez schodkow przy skalowaniu ekranu Windows */
.vw-icon { image-rendering: auto; flex: 0 0 auto; object-fit: contain; }
.vw-icon-empty { display: inline-block; width: 40px; height: 40px; }

.vw-page {
	background: #f4ead8;
	color: #3b2f22;
	border: 1px solid #d8c7a6;
	border-radius: 10px;
	padding: 6px 26px 18px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.vw-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px 0 8px; }
.vw-section + .vw-section { border-top: 1px solid #e0d1b4; }
.vw-section.vw-has-figure { grid-template-columns: minmax(0, 1fr) minmax(220px, 38%); align-items: start; }
.v-content .vw-h2 {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #cdb68e;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 30px;
	font-weight: 700;
	color: #3a2a18;
}
.v-content .vw-h3 { margin: 18px 0 10px; font-size: 18px; font-weight: 700; color: #3a2a18; }
.vw-lead { color: #4b3d2c; font-size: 15px; }
.vw-page b { color: #2f2416; }
.vw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.vw-card {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	background: #fbf3e4;
	border: 1px solid #e3cfa9;
	border-radius: 8px;
}
.vw-card .vw-icon { width: 36px; height: 36px; }
.vw-card b { display: block; font-size: 14px; color: #2f2416; }
.vw-card span { display: block; font-size: 13px; color: #6b5a44; line-height: 1.4; }
.vw-card span b { display: inline; font-size: inherit; color: #2f2416; }
.vw-card span.v-si-value { font-size: 17px; font-weight: 800; color: #9a6514; margin: 1px 0 2px; }
.vw-tip {
	margin: 6px 0 12px;
	padding: 10px 14px;
	border-left: 3px solid #c08a2e;
	background: #fbf1dc;
	border-radius: 0 8px 8px 0;
	color: #4b3d2c;
}
.v-content .vw-list { padding-left: 20px; color: #4b3d2c; }
.vw-figure { margin: 6px 0 0; }
.vw-figure img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 6px;
	border: 1px solid #b9a27a;
	box-shadow: 0 4px 14px rgba(60, 40, 10, .25);
	image-rendering: auto;
}
.vw-figure figcaption { margin-top: 8px; font-size: 13px; color: #6b5a44; text-align: center; }
.vw-back { margin: 14px 0 0; font-size: 13px; }
.vw-page a { color: #9b6514; font-weight: 600; }
@media (max-width: 960px) {
	.vw-page { padding: 4px 14px 14px; }
	.vw-section.vw-has-figure { grid-template-columns: minmax(0, 1fr); }
	.v-content .vw-h2 { font-size: 24px; }
}

/* tabela taskow (Paw and Fur) */
.vw-table-wrap { overflow-x: auto; margin: 6px 0 16px; border: 1px solid #e3cfa9; border-radius: 8px; background: #fbf3e4; }
.v-content table.vw-tasks { width: 100%; border-collapse: collapse; color: #3b2f22; font-size: 13px; }
.v-content .vw-tasks th {
	text-align: left;
	padding: 9px 12px;
	background: #efe0c2;
	color: #6b4a1c;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .8px;
	text-transform: uppercase;
	border-bottom: 1px solid #e3cfa9;
}
.v-content .vw-tasks td { padding: 8px 12px; border-bottom: 1px solid #efe3cb; vertical-align: middle; }
.v-content .vw-tasks tbody tr:last-child td { border-bottom: 0; }
.v-content .vw-tasks tbody tr:hover td { background: #f8ecd4; }
.vw-task-name { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.vw-task-name .vw-icon { width: 40px; height: 40px; }
.vw-task-name b { display: block; font-size: 14px; color: #2f2416; }
.vw-task-name small { display: block; color: #8a7556; font-size: 12px; }
.vw-num { text-align: right; font-weight: 700; white-space: nowrap; }
.vw-reward-text { white-space: nowrap; }
.vw-reward-items { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.vw-reward-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; line-height: 1; }
.vw-reward-item .vw-icon { width: 28px; height: 28px; display: block; }
.vw-muted { color: #a8957a; }
.vw-figure a { display: block; cursor: zoom-in; }
.vw-figure a:hover img { box-shadow: 0 6px 20px rgba(60, 40, 10, .4); }

/* przelacznik jezyka obok Login (EN / PL / PT) */
.v-lang { display: flex; align-items: center; border: 1px solid var(--v-border); border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .02); }
.v-lang a { padding: 7px 9px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--v-muted); text-decoration: none; }
.v-lang a + a { border-left: 1px solid var(--v-border); }
.v-lang a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.v-lang a.active { color: #1d1406; background: linear-gradient(180deg, #f0bd57, #c98d2c); }

/* gorny pasek na tablecie w poziomie i waskim oknie: przyciski bez napisow, a jeszcze wezej linki bez ikon */
@media (min-width: 961px) and (max-width: 1280px) {
	.v-top-inner { gap: 12px; }
	.v-top-actions .v-btn span { display: none; }
	.v-top-actions .v-btn { padding: 9px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
	.v-topnav { gap: 2px; }
	.v-topnav a { padding: 9px 8px; }
	.v-topnav a .v-ico { display: none; }
}

/* gorny pasek na telefonie (01.12.2026): bez herbu i ciasniej, zeby zmiescily sie jezyki, Login i Create Account.
   Musi byc za stylami .v-lang, zeby je nadpisac. */
@media (max-width: 480px) {
	/* formularz logowania: pola mialy stale 293 px i formularz nie miescil sie na telefonie */
	.v-content input[name="account_login"], .v-content input[name="password_login"] { width: 100%; }
	.v-top-inner { gap: 8px; padding: 8px 10px; }
	.v-crest { display: none; }
	.v-brand-name { font-size: 18px; letter-spacing: 0; }
	.v-top-actions { gap: 6px; }
	.v-top-actions .v-btn { padding: 8px; }
	.v-lang a { padding: 8px 6px; letter-spacing: 0; }
}
/* bardzo waskie telefony: herb zamiast nazwy */
@media (max-width: 350px) {
	.v-crest { display: block; width: 34px; height: 34px; }
	.v-brand-text { display: none; }
}

/* Downloads: duzy przycisk pobierania klienta */
.v-dl-box { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 14px 0 16px; }
.v-dl-button { font-size: 16px; padding: 14px 26px; }
.v-dl-soon { opacity: .6; cursor: default; }
.v-dl-meta { color: #6b5a44; font-size: 13px; }
