/* =====================================================================
   TibiaFun - szablon MyAAC
   ciemny granat + lodowy niebieski (kolory z logo TF)
   ===================================================================== */
:root {
	--tf-bg: #060b14;
	--tf-panel: #0c1625;
	--tf-panel-2: #101d31;
	--tf-panel-3: #14253e;
	--tf-line: #1e3a5f;
	--tf-line-2: #2b5487;
	--tf-ice: #7cc8ff;
	--tf-ice-2: #3f97f0;
	--tf-ice-3: #1f6fd1;
	--tf-text: #cfdced;
	--tf-muted: #7f95b3;
	--tf-head: #e8f4ff;
	--tf-gold: #f0c35a;
	--tf-green: #3fd47a;
	--tf-red: #ff5d5d;
	--tf-radius: 6px;
	--tf-font-head: 'TFCinzel', Georgia, 'Times New Roman', serif;
	--tf-font: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--tf-bg); }
body {
	margin: 0;
	color: var(--tf-text);
	font: 13px/1.5 var(--tf-font);
	background-color: var(--tf-bg);
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	min-height: 100vh;
}
body.tf-modal-open { overflow: hidden; }

/* ---------- grafiki po bokach (smok z zamkiem po lewej, rycerz po prawej) ---------- */
.tf-side {
	position: fixed; top: 0; bottom: 0; z-index: 0; pointer-events: none;
	width: calc((100vw - 1180px) / 2 + 90px);
	background-size: cover; background-repeat: no-repeat;
	opacity: .95;
}
.tf-side-l { left: 0; background-position: 45% center;
	-webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 55%, transparent 100%); }
.tf-side-r { right: 0; background-position: 50% center;
	-webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%); mask-image: linear-gradient(to left, #000 55%, transparent 100%); }
.tf-topbar, .tf-header, .tf-page, .tf-footer { position: relative; z-index: 1; }
@media (max-width: 1400px) { .tf-side { display: none; } }

a { color: var(--tf-ice); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }

img { max-width: 100%; }

.tf-ico { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }

/* ---------- topbar ---------- */
.tf-topbar {
	background: linear-gradient(180deg, rgba(4, 9, 17, .95), rgba(6, 12, 22, .75));
	border-bottom: 1px solid var(--tf-line);
	position: relative;
	z-index: 5;
}
.tf-topbar-in {
	max-width: 1180px;
	margin: 0 auto;
	padding: 7px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.tf-topbar-status { color: var(--tf-muted); font-size: 12px; }
.tf-topbar-status b { color: var(--tf-head); }
.tf-topbar-acc { display: flex; gap: 8px; flex-wrap: wrap; }

.tf-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.tf-dot-on { background: var(--tf-green); box-shadow: 0 0 0 0 rgba(63, 212, 122, .6); animation: tfPulse 2s infinite; }
.tf-dot-off { background: var(--tf-red); }
@keyframes tfPulse { 0% { box-shadow: 0 0 0 0 rgba(63, 212, 122, .55); } 70% { box-shadow: 0 0 0 7px rgba(63, 212, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 212, 122, 0); } }

/* ---------- buttons ---------- */
.tf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 4px;
	border: 1px solid var(--tf-line-2);
	font: 600 12px/1.2 var(--tf-font);
	letter-spacing: .3px;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	text-decoration: none;
	white-space: nowrap;
}
.tf-btn .tf-ico { width: 15px; height: 15px; }
.tf-btn-ghost { background: rgba(16, 29, 49, .7); color: var(--tf-text); }
.tf-btn-ghost:hover { border-color: var(--tf-ice-2); color: #fff; background: rgba(31, 111, 209, .18); }
.tf-btn-primary { background: linear-gradient(180deg, #3f97f0, #1f5fb8); border-color: #5aa9f5; color: #fff; }
.tf-btn-primary:hover { box-shadow: 0 0 14px rgba(63, 151, 240, .55); color: #fff; }
.tf-btn-gold { background: linear-gradient(180deg, #f6d27a, #c58f22); border-color: #f6d27a; color: #2a1a00; }
.tf-btn-gold:hover { box-shadow: 0 0 14px rgba(240, 195, 90, .5); color: #1a1000; }
.tf-btn-discord { background: #5865f2; border-color: #7b86ff; color: #fff; }
.tf-btn-discord:hover { background: #4752c4; color: #fff; }
.tf-btn-block { display: flex; width: 100%; margin-top: 8px; }

/* ---------- header / logo ---------- */
.tf-header { text-align: center; padding: 26px 16px 14px; position: relative; }
.tf-logo { display: inline-block; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); transition: transform .25s, filter .25s; }
.tf-logo:hover { transform: translateY(-2px); filter: drop-shadow(0 6px 24px rgba(63, 151, 240, .45)); }
.tf-logo img { display: block; width: 560px; max-width: 100%; height: auto; }

/* ---------- layout ---------- */
.tf-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 6px 16px 24px;
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr) 230px;
	gap: 14px;
	align-items: start;
}
.tf-col { min-width: 0; }

/* ---------- boxes ---------- */
.tf-box {
	background: linear-gradient(180deg, rgba(16, 29, 49, .96), rgba(10, 19, 33, .96));
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(124, 200, 255, .06);
	margin-bottom: 14px;
	position: relative;
	overflow: hidden;
}
.tf-box::before {
	content: '';
	position: absolute; left: 10px; right: 10px; top: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(124, 200, 255, .65), transparent);
}
.tf-box-h {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	font: 700 14px/1.2 var(--tf-font-head);
	letter-spacing: .6px;
	color: var(--tf-head);
	text-shadow: 0 0 10px rgba(63, 151, 240, .45), 0 1px 0 #000;
	background: linear-gradient(180deg, rgba(31, 111, 209, .22), rgba(31, 111, 209, .04));
	border-bottom: 1px solid var(--tf-line);
}
.tf-box-h .tf-ico { color: var(--tf-ice); }
.tf-box-b { padding: 10px 12px; }

/* ---------- download ---------- */
.tf-download {
	display: block;
	text-align: center;
	padding: 12px 10px;
	margin-bottom: 14px;
	border-radius: var(--tf-radius);
	border: 1px solid #5aa9f5;
	background: linear-gradient(180deg, #2f86e6, #154c9c);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .45), 0 0 18px rgba(63, 151, 240, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
	color: #fff;
	transition: box-shadow .2s, transform .2s;
}
.tf-download:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 0 26px rgba(63, 151, 240, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.tf-download-t { display: block; font: 700 15px/1.2 var(--tf-font-head); letter-spacing: .6px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.tf-download-s { display: block; font-size: 11px; opacity: .8; margin-top: 2px; }

/* ---------- left menu ---------- */
.tf-menu .tf-box-b { padding: 4px 0 6px; }
.tf-menu-link {
	display: block;
	padding: 5px 14px 5px 26px;
	color: var(--tf-text) !important;
	position: relative;
	font-size: 12.5px;
	border-left: 2px solid transparent;
}
.tf-menu-link::before {
	content: '';
	position: absolute; left: 13px; top: 50%;
	width: 5px; height: 5px; margin-top: -3px;
	border: 1px solid var(--tf-line-2);
	transform: rotate(45deg);
	transition: background .15s, border-color .15s;
}
.tf-menu-link:hover { background: rgba(31, 111, 209, .12); color: #fff !important; }
.tf-menu-link:hover::before { background: var(--tf-ice-2); border-color: var(--tf-ice-2); }
.tf-menu-link.is-active { background: rgba(31, 111, 209, .18); border-left-color: var(--tf-ice); color: #fff !important; }
.tf-menu-link.is-active::before { background: var(--tf-ice); border-color: var(--tf-ice); box-shadow: 0 0 6px var(--tf-ice); }

/* ---------- content ---------- */
.tf-content { min-height: 420px; }
.tf-content-h { justify-content: space-between; flex-wrap: wrap; font-size: 16px; }
.tf-crumb { font: 400 11px/1.2 var(--tf-font); color: var(--tf-muted); text-shadow: none; letter-spacing: 0; }
.tf-crumb a { color: var(--tf-muted); }
.tf-content-b { padding: 14px 16px 18px; overflow-x: auto; }

/* ---------- right boxes ---------- */
.tf-small-link { display: block; text-align: right; font-size: 11px; margin-top: 8px; }

.tf-status-big { font: 700 16px/1.2 var(--tf-font-head); color: var(--tf-green); margin-bottom: 6px; }
.tf-status-big.tf-off { color: var(--tf-red); }
.tf-status-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; border-bottom: 1px dashed rgba(43, 84, 135, .45); }
.tf-status-row span { color: var(--tf-muted); }
.tf-status-row b { color: var(--tf-head); font-weight: 600; }

.tf-discord-card {
	display: flex; align-items: center; gap: 10px;
	padding: 10px; border-radius: 6px;
	background: linear-gradient(135deg, #5865f2, #3b45b8);
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
	transition: transform .15s, box-shadow .15s;
}
.tf-discord-card:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(88, 101, 242, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.tf-discord-logo .tf-ico { width: 34px; height: 34px; color: #fff; }
.tf-discord-txt b { display: block; font-size: 13px; }
.tf-discord-txt small { display: block; font-size: 11px; opacity: .85; }

.tf-donate p { margin: 0 0 4px; font-size: 12px; color: var(--tf-muted); }

.tf-boosted-card { display: block; text-align: center; color: var(--tf-text) !important; }
.tf-boosted-img {
	display: flex; align-items: center; justify-content: center;
	height: 96px; margin: 0 auto 6px; width: 120px;
	background: radial-gradient(circle at 50% 60%, rgba(63, 151, 240, .35), rgba(63, 151, 240, 0) 65%);
}
.tf-boosted-img img { image-rendering: pixelated; width: 64px; height: 64px; object-fit: contain; object-position: center; display: block; margin: 0 auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .7)); }
.tf-boosted-name { display: block; font: 700 15px/1.2 var(--tf-font-head); color: var(--tf-head); text-shadow: 0 0 8px rgba(63, 151, 240, .5); }
.tf-boosted-bon { display: flex; justify-content: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.tf-boosted-bon em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px; background: rgba(63, 212, 122, .15); color: var(--tf-green); border: 1px solid rgba(63, 212, 122, .35); }
.tf-boosted-bon em + em { background: rgba(240, 195, 90, .14); color: var(--tf-gold); border-color: rgba(240, 195, 90, .35); }

.tf-top-row { display: flex; align-items: center; gap: 8px; padding: 5px 2px; color: var(--tf-text) !important; border-bottom: 1px dashed rgba(43, 84, 135, .45); }
.tf-top-row:hover { color: #fff !important; }
.tf-top-rank { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: var(--tf-panel-3); border: 1px solid var(--tf-line-2); }
.tf-rank-1 { background: linear-gradient(180deg, #f6d27a, #c58f22); color: #2a1a00; border-color: #f6d27a; }
.tf-rank-2 { background: linear-gradient(180deg, #e3eaf3, #8e9db1); color: #1a2230; border-color: #e3eaf3; }
.tf-rank-3 { background: linear-gradient(180deg, #e7a46a, #9b5a24); color: #2a1300; border-color: #e7a46a; }
.tf-top-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.tf-top-lvl { font-size: 11px; color: var(--tf-ice); font-weight: 700; }

/* ---------- footer ---------- */
.tf-footer { text-align: center; padding: 18px 16px 30px; font-size: 11px; color: var(--tf-muted); border-top: 1px solid rgba(30, 58, 95, .6); background: linear-gradient(180deg, rgba(6, 11, 20, 0), rgba(6, 11, 20, .85)); }
.tf-footer a { color: var(--tf-ice); }
.tf-footer-c { margin-top: 4px; }
.tf-footer-tpl { margin-top: 8px; }

/* =====================================================================
   Podstrony MyAAC (tabele, formularze, newsy) - ciemny styl
   ===================================================================== */
.tf-content-b, .tf-content-b td, .tf-content-b th { color: var(--tf-text); }
.tf-content-b table { border-collapse: collapse; }
.tf-content-b table[border], .tf-content-b .TableContent { border-color: var(--tf-line) !important; }
.tf-content-b td, .tf-content-b th { border-color: var(--tf-line); }
.tf-content-b .white, .tf-content-b td.white, .tf-content-b font[color="white"], .tf-content-b .white b { color: var(--tf-head) !important; }
.tf-content-b .red { color: var(--tf-red); }
.tf-content-b hr { border: 0; border-top: 1px solid var(--tf-line); }
.tf-content-b h1, .tf-content-b h2, .tf-content-b h3 { font-family: var(--tf-font-head); color: var(--tf-head); font-weight: 700; letter-spacing: .4px; }
.tf-content-b .TableContainer, .tf-content-b .TableContentContainer { width: 100%; }
.tf-content-b .CaptionContainer, .tf-content-b .Text {
	background: linear-gradient(180deg, #1b4a85, #123359) !important;
	color: var(--tf-head) !important;
	font: 700 13px/1.2 var(--tf-font-head);
	padding: 7px 10px;
	border: 1px solid var(--tf-line-2);
	border-bottom: 0;
	border-radius: 4px 4px 0 0;
}
.tf-content-b .LabelV, .tf-content-b .LabelV150, .tf-content-b .LabelV120 { color: var(--tf-muted); font-weight: 600; }
.tf-content-b .FormFieldError { color: var(--tf-red); }

.tf-content-b input[type="text"], .tf-content-b input[type="password"], .tf-content-b input[type="email"],
.tf-content-b input[type="number"], .tf-content-b input[type="search"], .tf-content-b select, .tf-content-b textarea,
.tf-content-b .form-control {
	background: #08111e;
	color: var(--tf-head);
	border: 1px solid var(--tf-line-2);
	border-radius: 4px;
	padding: 5px 8px;
	font: 13px var(--tf-font);
	max-width: 100%;
}
.tf-content-b input:focus, .tf-content-b select:focus, .tf-content-b textarea:focus { outline: none; border-color: var(--tf-ice); box-shadow: 0 0 0 2px rgba(124, 200, 255, .2); }
.tf-content-b input[type="submit"], .tf-content-b button:not(.tf-btn), .tf-content-b .btn, .tf-content-b input[type="button"] {
	background: linear-gradient(180deg, #3f97f0, #1f5fb8);
	border: 1px solid #5aa9f5;
	color: #fff;
	border-radius: 4px;
	padding: 6px 14px;
	font: 600 12px var(--tf-font);
	cursor: pointer;
}
.tf-content-b input[type="submit"]:hover, .tf-content-b button:not(.tf-btn):hover, .tf-content-b .btn:hover { box-shadow: 0 0 12px rgba(63, 151, 240, .5); }
.tf-content-b .btn-danger { background: linear-gradient(180deg, #e25555, #a32020); border-color: #ff7b7b; }
.tf-content-b .btn-success { background: linear-gradient(180deg, #3fc173, #1d7a43); border-color: #68e19a; }

/* przyciski-obrazki z tibiacom (BigButton) nie wystepuja tutaj */
.tf-content-b .BigButton, .tf-content-b .MediumButtonBackground { background: none !important; }

/* news */
.tf-news { margin-bottom: 18px; }
.tf-news-h {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 12px;
	background: linear-gradient(90deg, rgba(31, 111, 209, .35), rgba(31, 111, 209, .05));
	border: 1px solid var(--tf-line-2);
	border-radius: 4px;
}
.tf-news-h img { width: 20px; height: 20px; }
.tf-news-title { flex: 1; font: 700 15px/1.2 var(--tf-font-head); color: var(--tf-head); }
.tf-news-date { font-size: 11px; color: var(--tf-muted); white-space: nowrap; }
.tf-news-body { padding: 10px 6px 4px; }
.tf-news-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--tf-muted); padding: 0 6px; }

/* =====================================================================
   Popup Discorda
   ===================================================================== */
.tf-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tf-modal[hidden] { display: none; }
.tf-modal-bg { position: absolute; inset: 0; background: rgba(2, 6, 12, .75); backdrop-filter: blur(3px); animation: tfFade .25s ease; }
.tf-modal-win {
	position: relative;
	width: 980px; max-width: 100%;
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: linear-gradient(180deg, #111e33, #0a1322);
	border: 1px solid var(--tf-line-2);
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .7), 0 0 40px rgba(63, 151, 240, .15);
	animation: tfPop .3s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes tfFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tfPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.tf-modal-head { padding: 18px 70px 14px 22px; border-bottom: 1px solid var(--tf-line); position: relative; }
.tf-modal-tag { display: inline-block; font: 700 11px var(--tf-font-head); padding: 3px 10px; border-radius: 12px; border: 1px solid var(--tf-line-2); background: rgba(31, 111, 209, .2); color: var(--tf-ice); letter-spacing: .6px; }
.tf-modal-head h2 { margin: 8px 0 4px; font: 700 26px/1.2 var(--tf-font-head); color: var(--tf-head); text-shadow: 0 0 14px rgba(63, 151, 240, .45); }
.tf-modal-head p { margin: 0; color: var(--tf-muted); font-size: 13px; }
.tf-modal-x {
	position: absolute; right: 16px; top: 16px;
	width: 42px; height: 42px;
	border-radius: 8px;
	border: 1px solid var(--tf-line-2);
	background: rgba(16, 29, 49, .8);
	color: var(--tf-head);
	font-size: 26px; line-height: 1;
	cursor: pointer;
}
.tf-modal-x:hover { border-color: var(--tf-ice); color: #fff; }
.tf-modal-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; padding: 18px 22px 22px; }
.tf-modal-left { background: rgba(8, 15, 26, .7); border: 1px solid var(--tf-line); border-radius: 8px; padding: 16px 18px; }
.tf-modal-left h3 { margin: 0 0 10px; font-size: 15px; color: var(--tf-head); line-height: 1.4; }
.tf-modal-left ul { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.tf-modal-left li { padding: 4px 0; color: var(--tf-text); font-size: 13px; }
.tf-modal-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tf-modal-btns .tf-btn { padding: 10px 16px; font-size: 13px; }
.tf-modal-chk { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--tf-muted); font-size: 12px; cursor: pointer; }
.tf-modal-right { min-height: 380px; border-radius: 8px; overflow: hidden; border: 1px solid var(--tf-line); }
.tf-modal-right iframe { display: block; min-height: 380px; }
.tf-discord-big { display: flex; flex-direction: column; height: 100%; min-height: 380px; background: #1e1f22; color: #dbdee1 !important; }
.tf-discord-big-top { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: #5865f2; color: #fff; font: 800 20px/1 var(--tf-font); }
.tf-discord-big-top .tf-ico { width: 30px; height: 30px; }
.tf-discord-big-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; }
.tf-discord-big-mid img { width: 110px; height: 110px; filter: drop-shadow(0 0 18px rgba(63, 151, 240, .5)); }
.tf-discord-big-mid b { font: 700 22px var(--tf-font-head); color: #fff; }
.tf-discord-big-mid small { color: #949ba4; }
.tf-discord-big-bot { padding: 12px 20px; border-top: 1px solid #2b2d31; color: #949ba4; font-size: 12px; }
.tf-discord-big:hover .tf-discord-big-bot { color: #fff; }

/* =====================================================================
   Responsywnosc
   ===================================================================== */
@media (max-width: 1060px) {
	.tf-page { grid-template-columns: 190px minmax(0, 1fr); }
	.tf-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
	.tf-right .tf-box { margin-bottom: 0; }
}
@media (max-width: 760px) {
	.tf-page { grid-template-columns: minmax(0, 1fr); padding: 6px 10px 20px; }
	.tf-main { order: 1; }
	.tf-left { order: 2; }
	.tf-right { order: 3; }
	.tf-header { padding: 16px 12px 10px; }
	.tf-left { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
	.tf-left .tf-box, .tf-left .tf-download { margin-bottom: 0; }
	.tf-download { grid-column: 1 / -1; }
	.tf-modal-body { grid-template-columns: 1fr; }
	.tf-modal-right { min-height: 300px; }
	.tf-modal-head h2 { font-size: 21px; }
	.tf-topbar-in { flex-direction: column; align-items: stretch; }
	.tf-topbar-acc { justify-content: center; }
}

/* flagi jezyka */
.tf-langs { display: inline-flex; gap: 4px; margin-right: 8px; align-items: center; }
.tf-flag { display: inline-flex; padding: 3px; border-radius: 4px; border: 1px solid transparent; opacity: .55; transition: opacity .15s, border-color .15s; line-height: 0; }
.tf-flag svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.tf-flag:hover { opacity: 1; }
.tf-flag.is-on { opacity: 1; border-color: var(--tf-line-2, #2b5487); background: rgba(63, 151, 240, .12); }

/* Graj w przegladarce */
.tf-play { margin-top: -6px; background: linear-gradient(180deg, #f0c35a, #b8841f) !important; border-color: #f7d27a !important; color: #1b1203 !important; }
.tf-play .tf-download-t { text-shadow: none; }
.tf-play:hover { color: #000 !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 0 26px rgba(240, 195, 90, .5) !important; }

/* outfit na stronie postaci (z aura/skrzydlami) */
.tf-char-outfit { position: absolute; right: 16px; top: 36px; width: 112px; height: 112px; border-radius: 50%;
	border: 2px solid rgba(241, 224, 198, .75); display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 50% 60%, rgba(63, 151, 240, .35), rgba(8, 17, 30, .85) 70%); box-shadow: 0 0 14px rgba(63, 151, 240, .35); overflow: hidden; }
.tf-char-outfit img { image-rendering: pixelated; width: 92px; height: 92px; object-fit: contain; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .7)); }

/* Top 5 + ranking: postac (z aura / wierzchowcem / skrzydlami) wysrodkowana w ramce */
.tf-top-av { width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: radial-gradient(circle, rgba(63, 151, 240, .25), rgba(8, 17, 30, 0) 70%); }
.tf-top-av img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; display: block; }
.tf-top-row { min-height: 36px; }
.tf-hs-out { width: 52px; padding: 2px 4px !important; }
.tf-hs-av { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.tf-hs-av img { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; display: block; }
