/* MoonOTS: dodatki do ukladu Xavato (przystosowanie do tresci MyAAC) */

/* --- pasek gorny: logowanie (zeby przycisk mieścil sie w jednym rzedzie) --- */
#page #header #bar-top #left input[type=text] { width: 100px; }
#page #header #bar-top #left input[type=password] { width: 108px; }
#page #header #bar-top #left input.input { margin-right: 4px; }
.xav-logged { font-size: 11px; color: #8a7565; padding-top: 4px; }
.xav-logged span { color: #c9a56a; font-weight: bold; margin-right: 10px; }
.xav-logged a { color: #a88c72; margin-right: 8px; text-decoration: none; }
.xav-logged a:hover { color: #e0b878; }

/* --- listy w prawym panelu --- */
.xav-lv { float: right; color: #a87b4a; font-size: 12px; }
#vt_menu b { color: #c9a56a; }

/* --- tresc: czytelnosc (oryginalne #47362b na #19120e jest za ciemne dla formularzy i tabel) --- */
#page #bg-size #sidebar-center #cnt #news .text { color: #b8a38d; font-size: 12px; line-height: 1.45; }
#cnt #news .text td, #cnt #news .text th, #cnt #news .text label, #cnt #news .text li,
#cnt #news .text p, #cnt #news .text span, #cnt #news .text div { color: inherit; }
#cnt #news .text a { color: #e2b56d; }
#cnt #news .text a:hover { color: #ffd596; }
#cnt #news .text h1, #cnt #news .text h2, #cnt #news .text h3, #cnt #news .text h4 { color: #dcb67a; text-shadow: 1px 1px 2px #000; font-weight: bold; }
#cnt #news .text b, #cnt #news .text strong { color: #d4bfa6; }
#cnt #news .text small, #cnt #news .text em { color: #9a8670; }

/* pola formularzy w tresci (globalna ozdoba pol z style.css dotyczy tylko paska gornego) */
#cnt input:not([type]), #cnt input[type=text], #cnt input[type=password], #cnt input[type=email], #cnt input[type=number], #cnt input[type=search], #cnt textarea, #cnt select {
	background: #2a1d15 none; border: 1px solid #5b4333; color: #e2cdb6; height: auto; width: auto; padding: 3px 6px; margin: 1px 4px 1px 0;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; font-size: 12px; text-shadow: none;
}
#cnt input[type=text]:focus, #cnt input[type=password]:focus, #cnt input[type=email]:focus, #cnt textarea:focus, #cnt select:focus { border-color: #b8864b; outline: none; }
#cnt input[type=submit], #cnt input[type=button], #cnt button, #cnt .BigButton {
	background: #5a1a12; border: 1px solid #8e3a28; color: #f1d9a8; padding: 4px 14px; border-radius: 3px; cursor: pointer; font-weight: bold; text-shadow: none;
}
#cnt input[type=submit]:hover, #cnt input[type=button]:hover, #cnt button:hover { background: #7a2418; border-color: #c26a3a; }
#cnt select option { background: #2a1d15; color: #e2cdb6; }
#cnt input[type=checkbox], #cnt input[type=radio] { width: auto; height: auto; margin: 0 4px 0 0; }

/* tabele MyAAC / tibia.com na ciemnym tle */
#cnt #news .text table { max-width: 100%; }
#cnt #news .text .Table1, #cnt #news .text .Table2, #cnt #news .text .Table3, #cnt #news .text .Table4, #cnt #news .text .Table5 { color: #cdb7a0; }
#cnt #news .text .LabelV, #cnt #news .text .LabelH { color: #d9c3a8; }
#cnt #news .text .TableContentContainer, #cnt #news .text .TableContentAndRightShadow { color: #cdb7a0; }
#cnt #news .text img { max-width: 100%; }
#cnt #news .text pre, #cnt #news .text code { background: #120d0a; color: #cdb7a0; border: 1px solid #32231b; padding: 2px 5px; }
#cnt #news .text .alert, #cnt #news .text .success, #cnt #news .text .error { color: #2b1b12; }

/* --- aktualnosci (override news.html.twig) --- */
.xav-news { margin-bottom: 14px; }
.xav-news-head { background: #1c140f; border: 1px solid #32231b; padding: 6px 10px; margin-bottom: 6px; overflow: hidden; }
.xav-news-title { color: #d8b98c; font-size: 16px; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.xav-news-date { float: right; color: #8f7a66; font-size: 12px; padding-top: 3px; }
.xav-news-author { text-align: right; color: #8f7a66; font-size: 13px; margin: 0 4px 6px; }
.xav-news-author a { color: #b98f5f !important; }
.xav-news-body { padding: 0 4px; }
.xav-news-comments { text-align: right; margin: 6px 4px 0; }
.xav-news hr { border: 0; border-top: 1px solid #32231b; margin: 14px 0; }

/* menu boczne: nieco jasniejsze linki (oryginal #47362b jest bardzo ciemny) */
#page #bg-size #sidebar-left #vt_menu a, #page #bg-size #sidebar-right #vt_menu a { color: #7a6250; }
#page #bg-size #sidebar-left #vt_menu a:hover, #page #bg-size #sidebar-right #vt_menu a:hover { color: #d9ae6e; }

/* --- pasek odliczania do startu --- */

/* ================= zakladka Download ================= */
.xdl { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.xdl-hero { margin: 0 0 8px; line-height: 0; }
.xdl-hero img { display: block; border: 0; max-width: 100%; box-shadow: 0 0 18px rgba(0,0,0,.6); }
.xdl-launch { text-align: center; padding: 7px 10px; margin: 0 0 12px; background: #1c140f; border: 1px solid #32231b; color: #a58a73; font-size: 12px; }
.xdl-launch b { color: #e2b56d; }
.xdl-launch #xdl-cd { color: #ffd596; font-weight: bold; }
.xdl-lead { text-align: center; font-size: 13px; line-height: 1.55; color: #bda791; margin: 4px 6px 14px; }
.xdl-lead b { color: #e2b56d; }
.xdl-btns { display: flex; gap: 10px; justify-content: center; margin: 0 0 18px; }
.xdl-col { width: 252px; text-align: center; }
.xdl-btn { display: block; width: 252px; height: 96px; background-repeat: no-repeat; background-position: center; text-decoration: none; position: relative;
	filter: drop-shadow(0 0 7px rgba(255,120,30,.35)); transition: transform .15s ease, filter .15s ease; animation: xdl-pulse 3.2s ease-in-out infinite; }
.xdl-btn span { position: absolute; left: -9999px; }
.xdl-win { background-image: url('images/download/btn-win.png'); }
.xdl-win:hover { background-image: url('images/download/btn-win-h.png'); }
.xdl-and { background-image: url('images/download/btn-android.png'); }
.xdl-and:hover { background-image: url('images/download/btn-android-h.png'); }
.xdl-btn:hover { transform: translateY(-2px) scale(1.03); filter: drop-shadow(0 0 14px rgba(255,150,40,.75)); animation: none; }
@keyframes xdl-pulse { 0%, 100% { filter: drop-shadow(0 0 6px rgba(255,120,30,.25)); } 50% { filter: drop-shadow(0 0 12px rgba(255,140,40,.6)); } }
.xdl-meta { margin-top: 6px; font-size: 12px; color: #9b856f; line-height: 1.5; }
.xdl-meta b { color: #d9bd95; }
.xdl-meta small { color: #7a6654; font-size: 11px; }

.xdl-h { height: 40px; margin: 18px 0 10px; background: url('images/download/hdr-bar.jpg') no-repeat center; text-align: center; }
.xdl-h span { display: inline-block; line-height: 38px; font-family: "Uncial Antiqua", "Cinzel Decorative", Georgia, serif; font-size: 22px; letter-spacing: 1px; color: #ffd36a;
	text-shadow: 0 0 8px rgba(255,140,30,.8), 1px 1px 2px #2a0c04; }

.xdl-steps { list-style: none; margin: 0; padding: 0; }
.xdl-steps li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 8px; padding: 9px 10px; background: #1c140f; border: 1px solid #32231b; }
.xdl-steps i { flex: 0 0 38px; width: 38px; height: 38px; line-height: 36px; text-align: center; font-style: normal; font-family: "Uncial Antiqua", Georgia, serif; font-size: 21px; color: #ffe08a;
	border-radius: 50%; border: 2px solid #c9923e; background: radial-gradient(circle at 50% 35%, #b83a22, #5a140c 70%); box-shadow: 0 0 8px rgba(255,120,30,.45), inset 0 0 6px rgba(0,0,0,.6); text-shadow: 0 0 5px rgba(255,170,40,.9); }
.xdl-steps b { color: #e2b56d; font-size: 14px; }
.xdl-steps p { margin: 3px 0 0; color: #b19b85; font-size: 12px; line-height: 1.5; }
.xdl code { background: #120d0a; border: 1px solid #32231b; padding: 0 4px; color: #e8c892; }

.xdl-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xdl-feat li { flex: 0 0 calc(50% - 4px); box-sizing: border-box; display: flex; gap: 10px; align-items: center; padding: 9px 10px; background: #1c140f; border: 1px solid #32231b; }
.xdl-feat svg { flex: 0 0 30px; width: 30px; height: 30px; fill: #e0a850; filter: drop-shadow(0 0 4px rgba(255,130,30,.6)); }
.xdl-feat b { color: #e2b56d; font-size: 13px; }
.xdl-feat p { margin: 2px 0 0; color: #a58f7a; font-size: 11px; line-height: 1.4; }

.xdl-req { width: 100%; border-collapse: collapse; }
.xdl-req th { background: #2f261f; color: #e2b56d; padding: 6px 8px; text-align: left; border: 1px solid #32231b; font-size: 12px; }
.xdl-req td { background: #1c140f; color: #b19b85; padding: 6px 8px; border: 1px solid #32231b; font-size: 12px; }
.xdl-req tr td:first-child { color: #d4b98f; width: 90px; }

.xdl-help { margin: 0; padding: 8px 12px 8px 26px; background: #1c140f; border: 1px solid #32231b; color: #b19b85; font-size: 12px; line-height: 1.6; }
.xdl-help li { margin: 3px 0; }

/* ================= zegar odliczania do startu ================= */
#xav-clock { float: left; box-sizing: border-box; width: 584px; margin: 16px 0 0 8px; padding: 12px 10px 14px; position: relative; overflow: hidden;
	background: radial-gradient(ellipse at 50% 0%, rgba(255,110,20,.16), rgba(0,0,0,0) 65%), linear-gradient(#1d1510, #140e0a); border: 1px solid #403028;
	box-shadow: inset 0 0 22px rgba(0,0,0,.65), 0 0 14px rgba(0,0,0,.5); font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#xav-clock:before { content: ""; position: absolute; left: -60%; top: 0; width: 40%; height: 2px; background: linear-gradient(90deg, rgba(255,160,40,0), #ffb347, rgba(255,160,40,0)); animation: xc-sweep 5s linear infinite; }
@keyframes xc-sweep { to { left: 120%; } }
.xc-head { position: relative; text-align: center; margin: 0 0 8px; line-height: 1.2; }
.xc-title { display: block; font-family: "Uncial Antiqua", "Cinzel Decorative", Georgia, serif; font-size: 22px; letter-spacing: 1px; color: #ffd36a; text-shadow: 0 0 9px rgba(255,140,30,.75), 1px 1px 2px #2a0c04; }
.xc-sub { display: block; margin-top: 3px; font-size: 12px; color: #c9ad8a; letter-spacing: .5px; }
.xc-sub small { color: #8d7862; font-size: 11px; }
.xc-rings { display: flex; justify-content: center; gap: 14px; }
.xc-ring { position: relative; width: 118px; height: 118px; }
.xc-ring svg { position: absolute; left: 0; top: 0; width: 118px; height: 118px; overflow: visible; }
.xc-ring circle { fill: none; }
.xc-orbit { stroke: rgba(226,160,70,.35); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 60px 60px; animation: xc-spin 28s linear infinite; }
.xc-m .xc-orbit, .xc-d .xc-orbit { animation-direction: reverse; }
@keyframes xc-spin { to { transform: rotate(360deg); } }
.xc-ticks { stroke: rgba(255,190,110,.28); stroke-width: 5; stroke-dasharray: .8 3.3; }
.xc-track { stroke: #2a1c14; stroke-width: 7; }
.xc-bar { stroke: url(#xcg); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,120,20,.85)); }
.xc-dot { transform-origin: 60px 60px; }
.xc-dot circle { fill: #fff3c8; filter: drop-shadow(0 0 5px #ffb040) drop-shadow(0 0 9px #ff6a10); animation: xc-glow 1.6s ease-in-out infinite alternate; }
@keyframes xc-glow { from { opacity: .75; } to { opacity: 1; } }
.xc-val { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.xc-val b { font-size: 31px; line-height: 1; font-weight: 600; color: #ffe9bd; font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(255,140,40,.7); }
.xc-val i { margin-top: 5px; font-style: normal; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #a98d70; }
.xc-pop .xc-val b { animation: xc-pop .45s ease-out; }
@keyframes xc-pop { 0% { transform: scale(1.28); color: #fff; text-shadow: 0 0 16px #ffb040; } 100% { transform: scale(1); } }
.xc-s .xc-bar { filter: drop-shadow(0 0 6px rgba(255,150,30,1)); }
#xav-clock.xc-live .xc-title { color: #9cff8a; text-shadow: 0 0 10px rgba(80,255,80,.7); }
@media (prefers-reduced-motion: reduce) { #xav-clock:before, .xc-orbit, .xc-dot circle, .xc-pop .xc-val b { animation: none; } }

/* ================= prawe menu: wnetrza paneli (top gracze, gildie, status) ================= */
#page #bg-size #sidebar-right #vt_menu li.xav-gd { display: flex; align-items: center; gap: 8px; position: relative; overflow: hidden; padding: 4px; animation: xav-in .5s ease-out both; transition: background .2s, border-color .2s; }
#page #bg-size #sidebar-right #vt_menu li.xav-gd:nth-child(2) { animation-delay: .07s; }
#page #bg-size #sidebar-right #vt_menu li.xav-gd:nth-child(3) { animation-delay: .14s; }
#page #bg-size #sidebar-right #vt_menu li.xav-gd:nth-child(4) { animation-delay: .21s; }
#page #bg-size #sidebar-right #vt_menu li.xav-gd:nth-child(5) { animation-delay: .28s; }
@keyframes xav-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
#page #bg-size #sidebar-right #vt_menu li.xav-gd:hover { background: #241911; border-color: #5a3a22; }
#page #bg-size #sidebar-right #vt_menu .xav-pi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#page #bg-size #sidebar-right #vt_menu .xav-nm { color: #e2c08a; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#page #bg-size #sidebar-right #vt_menu .xav-nm:hover { color: #fff1cc; }
#page #bg-size #sidebar-right #vt_menu .xav-sub { font-size: 11px; color: #9b856f; line-height: 1.3; }
#page #bg-size #sidebar-right #vt_menu .xav-sub b { color: #d9bd95; font-weight: 600; }
#page #bg-size #sidebar-right #vt_menu .xav-gl-logo { flex: 0 0 40px; width: 40px; height: 40px; display: block; border: 1px solid #5a3a22; background: #120d0a; }
#page #bg-size #sidebar-right #vt_menu .xav-gl-logo img { display: block; width: 38px; height: 38px; }

/* status */
#page #bg-size #sidebar-right #vt_menu.xav-st { padding: 6px 0 4px; }
#page #bg-size #sidebar-right #vt_menu .xav-state { display: flex; align-items: center; gap: 8px; margin: 2px 8px 6px; font-size: 13px; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#page #bg-size #sidebar-right #vt_menu .xav-dot { width: 10px; height: 10px; border-radius: 50%; display: block; flex: 0 0 10px; }
#page #bg-size #sidebar-right #vt_menu .xav-up b { color: #8fe6a0; }
#page #bg-size #sidebar-right #vt_menu .xav-up .xav-dot { background: #3ddc5a; box-shadow: 0 0 6px #3ddc5a; animation: xav-pulse 1.8s ease-out infinite; }
#page #bg-size #sidebar-right #vt_menu .xav-down b { color: #ff7a6a; }
#page #bg-size #sidebar-right #vt_menu .xav-down .xav-dot { background: #d6402c; box-shadow: 0 0 6px #d6402c; }
@keyframes xav-pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,90,.7), 0 0 6px #3ddc5a; } 70%, 100% { box-shadow: 0 0 0 9px rgba(61,220,90,0), 0 0 6px #3ddc5a; } }
#page #bg-size #sidebar-right #vt_menu .xav-stat { display: flex; justify-content: space-between; align-items: center; margin: 3px 8px; padding: 3px 7px; background: #19120e; border: 1px solid #32231b; font-size: 12px; color: #9b856f; text-decoration: none; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#page #bg-size #sidebar-right #vt_menu a.xav-stat:hover { border-color: #5a3a22; color: #c9ad8a; }
#page #bg-size #sidebar-right #vt_menu .xav-stat b { color: #ffd596; font-size: 14px; }
#page #bg-size #sidebar-right #vt_menu .xav-bar { margin: 7px 8px 5px; height: 6px; background: #120d0a; border: 1px solid #32231b; border-radius: 4px; overflow: hidden; }
#page #bg-size #sidebar-right #vt_menu .xav-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ff4d00, #ffd900, #ff4d00); background-size: 200% 100%; box-shadow: 0 0 6px rgba(255,140,30,.8); animation: xav-shimmer 2.4s linear infinite; }
@keyframes xav-shimmer { to { background-position: -200% 0; } }
#page #bg-size #sidebar-right #vt_menu .xav-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px 8px 2px; }
#page #bg-size #sidebar-right #vt_menu .xav-faces a { display: block; width: 54px; height: 54px; background: radial-gradient(circle at 50% 75%, #4d2f1c, #1a110c 78%); border: 1px solid #5a3a22; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
#page #bg-size #sidebar-right #vt_menu .xav-faces a:hover { border-color: #e0a850; box-shadow: 0 0 8px rgba(255,170,40,.6); }
#page #bg-size #sidebar-right #vt_menu .xav-faces img { display: block; width: 52px; height: 52px; }
#page #bg-size #sidebar-right #vt_menu .xav-last { margin: 6px 8px 4px; padding: 6px 0 0; border-top: 1px dashed #3a2a20; font-size: 11px; line-height: 1.5; color: #9b856f; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#page #bg-size #sidebar-right #vt_menu .xav-last span { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #c9923e; }
#page #bg-size #sidebar-right #vt_menu .xav-last a { color: #e2c08a; font-size: 11px; }
#page #bg-size #sidebar-right #vt_menu .xav-last em { font-style: normal; color: #a87b4a; }
#page #bg-size #sidebar-right #vt_menu .xav-last b { color: #d9bd95; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { #page #bg-size #sidebar-right #vt_menu li.xav-pl, #page #bg-size #sidebar-right #vt_menu li.xav-gd, #page #bg-size #sidebar-right #vt_menu .xav-dot, #page #bg-size #sidebar-right #vt_menu .xav-bar span { animation: none; } }


/* ================= Top Players: lider + lekka lista, bez ramek ================= */
#page #bg-size #sidebar-right #vt_menu.xav-top { border: 0; background: linear-gradient(#2a1d15, #1d1510 70%, #1a120d); padding: 0 0 6px; width: 190px; margin-left: 4px; }
#page #bg-size #sidebar-right #vt_menu .xav-champ { position: relative; text-align: center; padding: 12px 6px 8px; overflow: hidden; animation: xav-in .6s ease-out both; }
#page #bg-size #sidebar-right #vt_menu .xav-champ:before { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
	background: radial-gradient(ellipse 80% 58% at 50% 50%, rgba(255,170,50,.34), rgba(255,110,20,.12) 52%, rgba(0,0,0,0) 76%); animation: xav-breathe 4s ease-in-out infinite; }
@keyframes xav-breathe { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
#page #bg-size #sidebar-right #vt_menu .xav-crown { position: relative; display: block; width: 26px; height: 20px; margin: 0 auto -4px; fill: #ffd36a; filter: drop-shadow(0 0 6px rgba(255,170,40,.95)); animation: xav-bob 3.4s ease-in-out infinite; }
@keyframes xav-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
#page #bg-size #sidebar-right #vt_menu .xav-hero { position: relative; display: block; width: 112px; height: 112px; margin: 0 auto; }
#page #bg-size #sidebar-right #vt_menu .xav-hero:before { content: ""; position: absolute; left: 50%; bottom: 14px; width: 72px; height: 14px; margin-left: -36px; background: radial-gradient(ellipse, rgba(0,0,0,.7), rgba(0,0,0,0) 70%); }
#page #bg-size #sidebar-right #vt_menu .xav-hero img { position: relative; display: block; width: 112px; height: 112px; animation: xav-bob 3.4s ease-in-out infinite; }
#page #bg-size #sidebar-right #vt_menu .xav-cn { position: relative; display: block; margin: 0 4px; font-family: "Cinzel", "Cinzel Decorative", Georgia, serif; font-weight: 600; letter-spacing: .5px; font-size: 18px; line-height: 1.25; color: #ffd36a; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 10px rgba(255,140,30,.75), 1px 1px 2px #2a0c04; }
#page #bg-size #sidebar-right #vt_menu a.xav-cn:hover { color: #fff1cc; }
#page #bg-size #sidebar-right #vt_menu .xav-cs { position: relative; display: block; margin-top: 1px; font-size: 11px; letter-spacing: .5px; color: #b9a183; font-family: "Segoe UI", Tahoma, Arial, sans-serif; text-decoration: none; }
#page #bg-size #sidebar-right #vt_menu .xav-cs b { color: #ffd596; }
#page #bg-size #sidebar-right #vt_menu .xav-throne { padding: 16px 6px 14px; }
#page #bg-size #sidebar-right #vt_menu .xav-throne .xav-cn { font-size: 16px; margin-top: 6px; color: #c9a766; }
#page #bg-size #sidebar-right #vt_menu .xav-throne .xav-crown { fill: #8a6a3a; filter: drop-shadow(0 0 5px rgba(255,170,40,.4)); width: 34px; height: 26px; }
#page #bg-size #sidebar-right #vt_menu .xav-throne a.xav-cs { color: #e2b56d; font-size: 12px; margin-top: 4px; }
#page #bg-size #sidebar-right #vt_menu .xav-rows { padding: 2px 10px 0; }
#page #bg-size #sidebar-right #vt_menu .xav-row { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; animation: xav-in .5s ease-out both; }
#page #bg-size #sidebar-right #vt_menu .xav-row:nth-child(2) { animation-delay: .08s; }
#page #bg-size #sidebar-right #vt_menu .xav-row:nth-child(3) { animation-delay: .16s; }
#page #bg-size #sidebar-right #vt_menu .xav-row:nth-child(4) { animation-delay: .24s; }
#page #bg-size #sidebar-right #vt_menu .xav-row:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(201,146,62,0), rgba(201,146,62,.4), rgba(201,146,62,0)); }
#page #bg-size #sidebar-right #vt_menu .xav-rk { flex: 0 0 14px; text-align: center; font-family: "Uncial Antiqua", Georgia, serif; font-size: 16px; font-weight: normal; color: #7a6654; }
#page #bg-size #sidebar-right #vt_menu .xav-p2 .xav-rk { color: #d4dae0; text-shadow: 0 0 6px rgba(200,215,230,.6); }
#page #bg-size #sidebar-right #vt_menu .xav-p3 .xav-rk { color: #e6a574; text-shadow: 0 0 6px rgba(230,150,90,.6); }
#page #bg-size #sidebar-right #vt_menu .xav-sp { flex: 0 0 36px; width: 36px; height: 36px; display: block; overflow: hidden; }
#page #bg-size #sidebar-right #vt_menu .xav-sp img { position: relative; display: block; left: -10px; top: -11px; width: 56px; height: 56px; transition: filter .2s; }
#page #bg-size #sidebar-right #vt_menu .xav-row:hover .xav-sp img { filter: brightness(1.3) drop-shadow(0 0 4px rgba(255,170,60,.6)); }
#page #bg-size #sidebar-right #vt_menu .xav-rn { flex: 1; min-width: 0; font-size: 13px; color: #e2c08a; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#page #bg-size #sidebar-right #vt_menu a.xav-rn:hover { color: #fff1cc; }
#page #bg-size #sidebar-right #vt_menu .xav-rl { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: #ffd596; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#page #bg-size #sidebar-right #vt_menu .xav-free { opacity: .4; }
#page #bg-size #sidebar-right #vt_menu .xav-free .xav-rn { font-style: italic; color: #9b856f; }
@media (prefers-reduced-motion: reduce) { #page #bg-size #sidebar-right #vt_menu .xav-champ, #page #bg-size #sidebar-right #vt_menu .xav-champ:before, #page #bg-size #sidebar-right #vt_menu .xav-crown, #page #bg-size #sidebar-right #vt_menu .xav-hero img, #page #bg-size #sidebar-right #vt_menu .xav-row { animation: none; } }

/* prawe menu: Status na gorze (bez dolnego odstepu pod rzedem), odstep przed Top Players */
#page #bg-size #sidebar-right .serverstatus { margin-top: 0; }
#page #bg-size #sidebar-right .topplayers { margin-top: 20px; }

/* lewe menu: uklad jak w oryginale Xavato; zwykle zakladki beżowe, potrzebne (li.xav-key) jasniejsze i pogrubione */
#page #bg-size #sidebar-left #vt_menu a { color: #c4a97f; }
#page #bg-size #sidebar-left #vt_menu li.xav-key a { color: #ffe2a6; font-weight: 600; }
#page #bg-size #sidebar-left #vt_menu a:hover, #page #bg-size #sidebar-left #vt_menu li.xav-key a:hover { color: #ffd36a; }

/* ================= strona postaci: Achievements ================= */
.xav-ach-cnt { float: right; color: #ffd596; font-weight: normal; }
.xav-ach { display: flex; flex-wrap: wrap; gap: 8px 6px; justify-content: flex-start; padding: 4px 2px; }
.xav-ach .xav-a { width: 84px; text-align: center; }
.xav-ach .xav-a img { display: block; margin: 0 auto 3px; transition: transform .2s, filter .2s; }
.xav-ach .xav-a em { display: block; font-style: normal; font-size: 11px; line-height: 1.25; color: #cfb68e; }
.xav-ach .xav-on img { filter: drop-shadow(0 0 6px rgba(255,170,50,.65)); }
.xav-ach .xav-on:hover img { transform: translateY(-2px) scale(1.06); }
.xav-ach .xav-off img { filter: grayscale(1) brightness(.45); opacity: .7; }
.xav-ach .xav-off em { color: #7a6654; }

/* ================= Equipment na stronie postaci (siatka slotow jak w Tibii) ================= */
.xinv { display: inline-block; padding: 9px; background: linear-gradient(#1d140e, #130c08); border: 1px solid #4a3426; border-radius: 3px;
	box-shadow: inset 0 0 18px rgba(0,0,0,.75), 0 2px 8px rgba(0,0,0,.5); }
.xinv-grid { display: grid; grid-template-columns: repeat(3, 68px); grid-auto-rows: 68px; gap: 5px; }
.xinv-s { display: flex; align-items: center; justify-content: center; background: #292929; border: 1px solid; border-color: #606060 #151515 #151515 #606060; box-shadow: 0 0 0 1px #0b0705; overflow: hidden; }
.xinv-s img { display: block; width: 64px; height: 64px; max-width: none; image-rendering: pixelated; }
.xinv-s.xinv-has { background: radial-gradient(circle at 50% 38%, #44342a, #241a14 82%); border-color: #9a7648 #2a1b10 #2a1b10 #9a7648; transition: box-shadow .15s ease, filter .15s ease; }
.xinv-s.xinv-has:hover { filter: brightness(1.25); box-shadow: 0 0 10px rgba(255,170,60,.55), 0 0 0 1px #0b0705; }
.xinv-s.xinv-void { background: none; border: 0; box-shadow: none; }

/* ================= news o starcie serwera (.xn) ================= */
#cnt #news .text .xn { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
#cnt #news .text .xn-hero { position: relative; overflow: hidden; text-align: center; margin: 4px 0 14px; padding: 22px 16px 20px;
	background:
		radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255,160,50,.38), rgba(255,160,50,0) 72%),
		repeating-conic-gradient(from 0deg at 50% -35%, rgba(255,190,90,.075) 0deg 5deg, rgba(0,0,0,0) 5deg 10deg),
		linear-gradient(#5a170e 0%, #2d0e09 55%, #170a07 100%);
	border: 1px solid #8a5a2a; box-shadow: 0 0 0 1px #000, inset 0 0 0 3px #1b0d08, inset 0 0 0 4px #5e3d1d, inset 0 0 40px rgba(0,0,0,.65); }
#cnt #news .text .xn-kick { display: block; font-family: "Uncial Antiqua", "Cinzel Decorative", Georgia, serif; font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: #ffb866; text-shadow: 0 0 8px rgba(255,140,30,.8); }
#cnt #news .text .xn-date { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 6px; }
#cnt #news .text .xn-day { font-family: "Uncial Antiqua", Georgia, serif; font-size: 78px; line-height: 1; color: #ffd56a; text-shadow: 0 0 14px rgba(255,150,30,.85), 0 3px 0 #7a3c10, 0 5px 8px rgba(0,0,0,.8); }
#cnt #news .text .xn-mon { font-size: 15px; letter-spacing: 3px; line-height: 1.35; text-align: left; color: #f3dcae; font-weight: bold; }
#cnt #news .text .xn-bar { width: 1px; height: 58px; background: linear-gradient(rgba(217,160,74,0), #d9a04a, rgba(217,160,74,0)); }
#cnt #news .text .xn-time { display: block; font-family: "Uncial Antiqua", Georgia, serif; font-size: 44px; line-height: 1; color: #fff0c8; text-shadow: 0 0 12px rgba(255,170,60,.8), 0 2px 0 #7a3c10; text-align: left; }
#cnt #news .text .xn-time small { display: block; margin-top: 5px; font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 11px; letter-spacing: 1px; color: #d9b98a; text-shadow: none; }
#cnt #news .text .xn-title { display: block; margin: 8px 0 6px; font-family: "Uncial Antiqua", Georgia, serif; font-size: 25px; color: #fff3d6; text-shadow: 0 0 10px rgba(255,150,40,.6), 1px 2px 3px #000; }
#cnt #news .text .xn-lead { margin: 0 auto 14px; max-width: 430px; font-size: 13px; line-height: 1.55; color: #e0c7a3; }
#cnt #news .text .xn-lead b { color: #ffd596; }
#cnt #news .text .xn-cta a.xn-btn { display: inline-block; margin: 0 5px; padding: 10px 22px; font-size: 13px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: #f6dfb2;
	background: linear-gradient(#8a2a1a, #4a130b); border: 1px solid #c4793a; border-radius: 3px; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,220,160,.25); transition: transform .15s, box-shadow .15s, filter .15s; }
#cnt #news .text .xn-cta a.xn-btn:hover { filter: brightness(1.2); transform: translateY(-2px); box-shadow: 0 0 0 1px #000, 0 0 16px rgba(255,140,40,.6); color: #fff; }
#cnt #news .text .xn-cta a.xn-btn.xn-gold { color: #2a1204; background: linear-gradient(#ffe29a, #e0a437 55%, #b36d1a); border-color: #ffe9b0; text-shadow: 0 1px 0 rgba(255,255,255,.4);
	box-shadow: 0 0 0 1px #000, 0 0 18px rgba(255,170,40,.5), inset 0 1px 0 rgba(255,255,255,.5); }
#cnt #news .text .xn-cta a.xn-btn.xn-gold:hover { color: #2a1204; }
#cnt #news .text .xn-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid #5e3d1d; box-shadow: 0 0 0 1px #000, 0 0 20px rgba(0,0,0,.6); }
#cnt #news .text .xn-video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
#cnt #news .text .xn-rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
#cnt #news .text .xn-rate { text-align: center; padding: 11px 4px 9px; background: linear-gradient(#26180f, #170f0a); border: 1px solid #3a2a1f; border-top: 2px solid #c9923e; }
#cnt #news .text .xn-rate b { display: block; font-family: "Uncial Antiqua", Georgia, serif; font-size: 26px; font-weight: normal; line-height: 1.1; color: #ffd56a; text-shadow: 0 0 9px rgba(255,140,30,.7); }
#cnt #news .text .xn-rate span { display: block; margin-top: 3px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #9b856f; }
#cnt #news .text .xn-note { margin: 8px 2px 0; font-size: 11px; color: #8f7a66; text-align: center; }
#cnt #news .text .xn-pl { margin: 18px 0 8px; padding: 11px 14px; background: linear-gradient(#1f140d, #150d08); border: 1px solid #3a2a1f; border-left: 3px solid #c9923e; font-size: 12px; line-height: 1.6; color: #bda791; }
#cnt #news .text .xn-pl i { display: inline-block; margin-right: 6px; padding: 0 6px; font-style: normal; font-weight: bold; font-size: 10px; letter-spacing: 1px; color: #fff; background: #b8281a; border-radius: 2px; }
#cnt #news .text .xn-sign { margin: 6px 4px 2px; text-align: right; color: #a58a73; font-size: 12px; }

/* ================= strona Server Rules (tibiarules.php) ================= */
#cnt #news .text .xav-rules h3 { margin: 16px 0 6px; padding-bottom: 3px; font-size: 14px; border-bottom: 1px solid #3a2a1f; }
#cnt #news .text .xav-rules h3:first-child { margin-top: 2px; }
#cnt #news .text .xav-rules p { margin: 3px 0 3px 12px; line-height: 1.5; }
#cnt #news .text .xav-rules p.xr-i { margin-left: 28px; }
