/* =====================================================================
   REALERA.PL – szablon v8  •  klasyczny tibiacom (styl Lutas) + dodatki
   pergamin, braz, zloto – czytelnie jak na tibia.com
   ===================================================================== */
:root {
	--pa0: #fff7e6;          /* jasny pergamin */
	--pa1: #fff2db;          /* tlo tresci tibiacom */
	--pa2: #f1e0c6;          /* wiersz nieparzysty */
	--pa3: #e4cfaa;
	--pa4: #d5c0a1;          /* wiersz parzysty / ramki jasne */
	--br0: #3a2a1a;
	--br1: #5a2800;          /* tekst tibiacom */
	--br2: #5f4d41;          /* ramki */
	--br3: #793d03;          /* obramowanie boxa */
	--br4: #8a6c4a;
	--lnk: #004294;
	--lnk2: #0063dc;
	--gold: #f0c35e;
	--gold2: #c9932f;
	--gold3: #ffe3a1;
	--stone1: #4a3a28;
	--stone2: #2a1f14;
	--green: #0d2e2b;
	--red: #8b2a12;
	--ok: #1f8a3a;
	--bad: #b3261e;
	--display: 'Cinzel', 'Times New Roman', serif;
	--deco: 'Cinzel Decorative', 'Cinzel', serif;
	--serif: 'Lora', Georgia, serif;
	--ui: Verdana, Arial, sans-serif;
}

/* ================================================================ BAZA */
html, body.dx-body { background-color: #051122 !important; }
body.dx-body { margin: 0; min-width: 1180px; top: 0 !important; font-family: var(--ui); color: var(--br1); }
#dx-bg { position: absolute; left: 0; right: 0; top: 0; height: 1000px; z-index: 0; pointer-events: none; background-position: top center; background-repeat: no-repeat; }
#dx-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,17,34,0) 55%, #051122 100%); }
#dx-page { position: relative; z-index: 1; width: 1180px; margin: 0 auto; padding: 10px 0 0 0; }
.dx-svg { width: 1em; height: 1em; vertical-align: -0.15em; flex: none; }
a { transition: color .15s, background-color .15s, border-color .15s, box-shadow .2s, transform .15s, filter .15s; }

/* Google Translate – ukrycie paska */
#google_translate_element, .goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame, body > .skiptranslate { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ================================================================ PRZYCISKI */
.dx-btn {
	display: inline-flex; align-items: center; gap: 7px; position: relative; overflow: hidden;
	font-family: var(--display) !important; font-weight: 800 !important; font-size: 12.5px !important; letter-spacing: .5px;
	padding: 9px 18px; border-radius: 4px; text-decoration: none !important; margin: 3px; cursor: pointer; white-space: nowrap;
}
.dx-btn .dx-svg { width: 16px; height: 16px; }
.dx-btn em { font-style: normal; font-size: 10px; opacity: .85; font-family: var(--ui); text-transform: uppercase; }
.dx-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.dx-btn-gold { color: #2a1804 !important; background: linear-gradient(180deg, #ffe9a8 0%, #f0c35e 45%, #b9822a 100%); border: 1px solid #6b4310; box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.dx-btn-blue { color: #fff !important; background: linear-gradient(180deg, #5d93d8 0%, #2a5fa8 50%, #163b72 100%); border: 1px solid #0d2650; box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.3); text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.dx-btn-dark { color: var(--gold3) !important; background: linear-gradient(180deg, #5a4430 0%, #2a1f14 100%); border: 1px solid #1a120a; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.dx-btn-lg { font-size: 14px !important; padding: 12px 24px; }
.dx-btn.soon { opacity: .8; }

/* ================================================================ NAGLOWEK (na grafice tla) */
#dx-header { display: grid; grid-template-columns: 300px 1fr 170px; gap: 16px; align-items: center; height: 196px; padding: 0 0 6px 0; }
.dx-logo-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none !important; padding-top: 8px; }
.dx-logo-box img:not(.dx-statue) { width: 290px; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.95)) drop-shadow(0 0 18px rgba(0,0,0,.6)); }
.dx-statue { position: absolute; left: -2px; top: 4px; width: 32px; height: 30px; image-rendering: pixelated; }
.dx-logo-sub { margin-top: 2px; padding: 3px 14px; font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold3);
	background: rgba(20,12,4,.78); border: 1px solid rgba(240,195,94,.55); border-radius: 3px; text-shadow: 0 1px 2px #000; }

.dx-head-mid { display: flex; flex-direction: column; gap: 8px; }
.dx-head-row { display: flex; gap: 8px; justify-content: center; align-items: stretch; }
.dx-dl-big, .dx-soc-big {
	display: flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 4px; text-decoration: none !important; flex: 1 1 0;
	box-shadow: 0 4px 10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.25); border: 1px solid rgba(0,0,0,.6);
}
.dx-dl-big:hover, .dx-soc-big:hover { transform: translateY(-2px); filter: brightness(1.1); }
.dx-dl-big .dx-svg, .dx-soc-big .dx-svg { width: 28px; height: 28px; }
.dx-dl-big span, .dx-soc-big span { display: flex; flex-direction: column; font-family: var(--display); font-weight: 900; font-size: 14.5px; line-height: 1.1; }
.dx-dl-big small, .dx-soc-big small { font-family: var(--ui); font-weight: 400; font-size: 9.5px; opacity: .9; }
.dx-dl-win { color: #2a1804 !important; background: linear-gradient(180deg, #ffe9a8, #f0c35e 50%, #b9822a); }
.dx-dl-android { color: #fff !important; background: linear-gradient(180deg, #4fae64, #23733a 55%, #134d23); }
.dx-dl-android.soon small { color: #ffe3a1; }
.dx-soc-big.dx-discord { color: #fff !important; background: linear-gradient(180deg, #8b94f8, #5865f2 55%, #3d47b8); }
.dx-soc-big.dx-facebook { color: #fff !important; background: linear-gradient(180deg, #4a9bff, #1877f2 55%, #0d4fb0); }

.dx-hcard {
	display: flex; align-items: center; gap: 9px; padding: 6px 11px; border-radius: 4px; flex: 1 1 0; min-width: 0;
	background: linear-gradient(180deg, rgba(74,58,40,.93), rgba(30,22,14,.95)); border: 1px solid #1a120a; box-shadow: 0 4px 10px rgba(0,0,0,.55), inset 0 0 0 1px rgba(240,195,94,.25);
}
.dx-hcard img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.dx-hcard-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #2a1804;
	background: radial-gradient(circle at 40% 35%, #ffe9a8, #c9932f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); }
.dx-hcard-ico .dx-svg { width: 18px; height: 18px; }
.dx-hcard small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: #d9c7a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-hcard b { display: block; font-family: var(--display); font-weight: 900; font-size: 13.5px; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-hcard em { display: block; font-style: normal; font-size: 9.5px; color: #9fe0a8; }
.dx-langs { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4px; padding: 5px 7px; border-radius: 4px; width: 104px; flex: none;
	background: linear-gradient(180deg, rgba(74,58,40,.93), rgba(30,22,14,.95)); border: 1px solid #1a120a; box-shadow: inset 0 0 0 1px rgba(240,195,94,.25); }
.dx-lang { width: 28px; height: 19px; padding: 0; border: 1px solid rgba(0,0,0,.5); border-radius: 2px; cursor: pointer; background: none; overflow: hidden; opacity: .8; }
.dx-lang:hover { opacity: 1; transform: translateY(-1px); }
.dx-lang.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 6px rgba(240,195,94,.8); }
.dx-flag { display: block; width: 100%; height: 100%; }

/* piedestal tibiacom z potworem i licznikiem online */
.dx-pedestal { position: relative; display: block; width: 150px; height: 178px; justify-self: center; text-decoration: none !important; }
.dx-ped-img { position: absolute; left: 9px; bottom: 26px; width: 132px; height: 111px; }
.dx-ped-monster { position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%); max-width: 64px; max-height: 64px; image-rendering: pixelated; filter: drop-shadow(0 2px 3px #000); z-index: 2; }
.dx-ped-count { position: absolute; left: 0; right: 0; bottom: 48px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 15px; color: #fff; text-shadow: 0 1px 2px #000; z-index: 2; }
.dx-ped-count small { display: block; font-family: var(--ui); font-weight: 400; font-size: 9px; color: #e8dcc0; }
.dx-pedestal.on .dx-ped-count small::before { content: '● '; color: #4fe383; }
.dx-pedestal.off .dx-ped-count small::before { content: '● '; color: #ff6a5a; }
.dx-ped-rec { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 10px; color: #e8dcc0; text-shadow: 0 1px 2px #000; }

/* ================================================================ PASEK STATUSU */
#dx-statusbar {
	display: flex; justify-content: center; align-items: center; margin: 0 0 14px 0; padding: 7px 12px; border-radius: 3px;
	background: linear-gradient(180deg, #5a4630 0%, #2e2216 100%); border: 1px solid #120c06; box-shadow: 0 4px 12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(240,195,94,.2);
	font-size: 11.5px; color: #d9c7a5;
}
#dx-statusbar > span { padding: 0 12px; border-right: 1px solid rgba(240,195,94,.25); white-space: nowrap; }
#dx-statusbar > span:last-child { border-right: 0; }
#dx-statusbar b { color: #fff; font-variant-numeric: tabular-nums; }
.dx-sb-status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.dx-sb-status.on { color: #6fe08a; font-weight: 700; } .dx-sb-status.on i { background: #4fe383; box-shadow: 0 0 6px #4fe383; animation: dxpulse 1.6s infinite; }
.dx-sb-status.off { color: #ff8a7a; font-weight: 700; } .dx-sb-status.off i { background: #ff5b4a; }
.dx-sb-hl b { color: var(--gold) !important; }
@keyframes dxpulse { 50% { opacity: .35; } }

/* ================================================================ KOLUMNY */
#dx-cols { display: grid; grid-template-columns: 180px minmax(0, 1fr) 200px; gap: 12px; align-items: start; }

/* ================================================================ RAMKA (lewa i prawa kolumna) – pergamin */
.dx-frame { position: relative; margin: 6px 0 12px 0; }
.dx-frame-top, .dx-frame-bottom { position: relative; height: 12px; width: 100%; background-repeat: no-repeat; background-size: 100% 12px; z-index: 2; }
.dx-frame-top { margin-bottom: -2px; } .dx-frame-bottom { margin-top: -2px; }
.dx-frame-body { position: relative; margin: 0 4px; padding: 0 8px 8px 8px; background: var(--pa1); color: var(--br1); font-size: 11px; box-shadow: 0 4px 10px rgba(0,0,0,.45); }
.dx-frame-body::before, .dx-frame-body::after { content: ''; position: absolute; top: 0; bottom: 0; width: 7px; background-image: var(--chain); background-repeat: repeat-y; }
.dx-frame-body::before { left: -5px; } .dx-frame-body::after { right: -5px; }
.dx-frame-title {
	display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 -8px 7px -8px; padding: 6px 4px;
	font-family: var(--display); font-weight: 900; font-size: 12.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--gold3);
	text-shadow: 1px 1px 0 #000, 0 0 6px rgba(0,0,0,.7);
	background: linear-gradient(180deg, #5a4630, #2e2216); border-bottom: 2px solid var(--br3);
}
.dx-frame-title .dx-svg { width: 15px; height: 15px; color: var(--gold); }
.dx-frame-more { display: block; text-align: center; margin: 7px -8px -8px -8px; padding: 5px; font-weight: bold; font-size: 10.5px; color: var(--lnk) !important; text-decoration: none !important; background: var(--pa4); border-top: 1px solid var(--br4); }
.dx-frame-more:hover { color: var(--lnk2) !important; text-decoration: underline !important; }
.dx-empty { padding: 8px 4px; font-size: 11px; line-height: 1.5; color: var(--br4); text-align: center; font-style: italic; }
.dx-empty b { color: var(--br1); font-style: normal; }
.dx-frame-body a:not(.dx-tbtn):not(.dx-frame-more) { color: var(--lnk); }

/* ---- konto ---- */
.dx-account .dx-frame-body { text-align: center; padding-top: 10px; background: linear-gradient(180deg, var(--pa1), var(--pa2)); }
.dx-acc-small { font-size: 10.5px; color: var(--br4); font-style: italic; }
.dx-acc-title { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--br1); margin: 2px 0 6px 0; word-break: break-word; }
.dx-tbtn { display: block; margin: 5px 0 0 0; padding: 7px 6px; border-radius: 3px; text-decoration: none !important; text-align: center; font-family: var(--display); font-weight: 900; font-size: 12.5px; letter-spacing: .4px; }
.dx-tbtn:hover { filter: brightness(1.1); }
.dx-tbtn-gold { color: #2a1804 !important; background: linear-gradient(180deg, #ffe9a8, #f0c35e 45%, #b9822a); border: 1px solid #6b4310; box-shadow: 0 1px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.dx-tbtn-blue { color: #fff !important; background: linear-gradient(180deg, #5d93d8, #2a5fa8 50%, #163b72); border: 1px solid #0d2650; box-shadow: 0 1px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.3); text-shadow: 0 1px 1px rgba(0,0,0,.5); }
.dx-acc-link { display: inline-block; margin-top: 7px; font-size: 10.5px; }

/* ---- menu tibiacom (oryginalne kolory, napisy tekstem PL) ---- */
#Menu.dx-tibiamenu { left: 5px; margin: 8px 0 12px 0; width: 170px; }
#Menu.dx-tibiamenu .Icon { z-index: 3; }
#Menu.dx-tibiamenu .Extend { z-index: 3; }
#Menu.dx-tibiamenu .Label.dx-label {
	display: flex; align-items: center; height: 22px; width: 118px; top: 5px; left: 44px; z-index: 3; white-space: nowrap;
	font-family: var(--display); font-weight: 900; font-size: 13.5px; letter-spacing: .3px; color: #ffe9b0;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
#Menu.dx-tibiamenu .SubmenuitemLabel { font-family: var(--ui); font-size: 11px; }
.Lights > div { display: none; }

/* ---- pobierz / event (lewa) ---- */
.dx-dl-side { display: flex; align-items: center; gap: 8px; padding: 6px 7px; margin-top: 5px; border-radius: 3px; text-decoration: none !important; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-dl-side:hover { background: var(--pa3); border-color: var(--br4); }
.dx-dl-side .dx-svg { width: 24px; height: 24px; color: #2a5fa8; }
.dx-dl-side + .dx-dl-side .dx-svg { color: #23733a; }
.dx-dl-side b { display: block; font-family: var(--display); font-size: 12.5px; color: var(--br1); }
.dx-dl-side small { display: block; font-size: 9.5px; color: var(--br4); }
.dx-evbox .dx-frame-body { text-align: center; }
.dx-ev-name { display: block; font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--br1); }
.dx-ev-time { display: block; font-size: 10.5px; color: var(--br4); margin: 2px 0 5px 0; }
.dx-ev-cd { display: inline-block; padding: 3px 12px; border-radius: 3px; font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--gold3); background: linear-gradient(180deg, #5a4630, #2e2216); font-variant-numeric: tabular-nums; }

/* ---- discord / jezyk / facebook ---- */
.dx-discordbox .dx-frame-body, .dx-fbbox .dx-frame-body { text-align: center; }
.dx-dc-logo { width: 46px; height: 46px; margin: 2px auto 5px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: radial-gradient(circle at 40% 35%, #8b94f8, #4450c8); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.dx-dc-logo .dx-svg { width: 26px; height: 26px; }
.dx-dc-head { display: block; font-family: var(--display); font-weight: 900; font-size: 12.5px; color: var(--br1); margin-bottom: 4px; }
.dx-dc-list { list-style: none; margin: 0 0 3px 0; padding: 0; text-align: left; }
.dx-dc-list li { position: relative; padding: 2px 0 2px 15px; font-size: 10.5px; border-bottom: 1px dotted var(--pa4); }
.dx-dc-list li::before { content: '✔'; position: absolute; left: 1px; color: #5865f2; font-size: 9.5px; }
.dx-tbtn-discord { color: #fff !important; background: linear-gradient(180deg, #8b94f8, #5865f2 50%, #3d47b8); border: 1px solid #2a3290; }
.dx-tbtn-fb { display: flex !important; align-items: center; justify-content: center; gap: 6px; color: #fff !important; background: linear-gradient(180deg, #4a9bff, #1877f2 50%, #0d4fb0); border: 1px solid #0a3a85; }
.dx-fb-txt { margin: 0 0 4px 0; font-size: 10.5px; line-height: 1.5; }
.dx-lang.dx-lang-row { display: flex; align-items: center; gap: 7px; width: 100%; height: auto; margin: 0 0 3px 0; padding: 3px 5px; border-radius: 3px; opacity: 1;
	background: var(--pa2); border: 1px solid var(--pa4); color: var(--br1); font-family: var(--ui); font-size: 11px; text-align: left; cursor: pointer; }
.dx-lang.dx-lang-row .dx-flag { width: 22px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.dx-lang.dx-lang-row:hover { background: var(--pa3); border-color: var(--br4); transform: none; }
.dx-lang.dx-lang-row.active { font-weight: bold; background: #f7e3a8; border-color: var(--gold2); box-shadow: none; }
.dx-lang.dx-lang-row.active span::after { content: ' ✔'; color: var(--ok); }
.dx-lang-note { display: block; margin-top: 4px; font-size: 9.5px; line-height: 1.4; color: var(--br4); text-align: center; font-style: italic; }

/* ================================================================ SRODEK – natywny box tibiacom */
#dx-main { min-width: 0; }
#dx-main #ContentColumn { margin: 0 !important; }
#dx-main .Content .Box.dx-box { margin: 6px 6px 16px 6px; box-shadow: 0 6px 18px rgba(0,0,0,.55); }
.Content .dx-native-title {
	position: absolute; top: 6px; left: 0; right: 0; height: 24px; margin: 0; display: flex; align-items: center; padding-left: 12px;
	font-family: var(--display); font-weight: 900; font-size: 15.5px; letter-spacing: .6px; color: #fff; text-shadow: 1px 1px 0 #000, 0 0 4px #000; z-index: 5;
}
#dx-main .Content .BoxContent { min-height: 360px; padding: 12px 14px; }

/* ================================================================ STOPKA */
#dx-footer { text-align: center; padding: 4px 0 34px 0; font-size: 11px; color: #a9b6c8; }
.dx-foot-logo { width: 140px; opacity: .9; filter: drop-shadow(0 3px 6px rgba(0,0,0,.8)); }
.dx-footer-links { margin: 6px 0 8px 0; }
.dx-footer-links a { color: var(--gold) !important; text-decoration: none; margin: 0 8px; font-family: var(--display); font-weight: 800; font-size: 12px; }
.dx-footer-links a:hover { color: var(--gold3) !important; }
.dx-footer-copy { margin-top: 3px; } .dx-footer-copy b { color: var(--gold); } .dx-footer-copy a { color: #9cc3ff !important; }

/* ================================================================ PRAWA KOLUMNA */
/* status */
.dx-st-head { margin: 0 -2px 6px; padding: 5px; text-align: center; font-weight: bold; font-size: 11.5px; border-radius: 3px; }
.dx-st-head i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.dx-st-head.on { color: #fff; background: linear-gradient(180deg, #3aa356, #1f6e33); } .dx-st-head.on i { background: #b9ffc8; animation: dxpulse 1.6s infinite; }
.dx-st-head.off { color: #fff; background: linear-gradient(180deg, #a8562a, #6b2f12); } .dx-st-head.off i { background: #ffd0b8; }
.dx-st-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.dx-st-table td { padding: 3px 4px; border-bottom: 1px solid var(--pa4); color: var(--br1); }
.dx-st-table tr:nth-child(odd) td { background: var(--pa2); }
.dx-st-table td:last-child { text-align: right; }
.dx-st-table b { color: var(--br0); }

/* medale */
.dx-medal { position: relative; flex: none; display: inline-flex; flex-direction: column; align-items: center; width: 24px; }
.dx-medal i { display: block; width: 14px; height: 10px; margin-bottom: -3px; clip-path: polygon(0 0, 40% 0, 50% 55%, 60% 0, 100% 0, 75% 100%, 25% 100%);
	background: linear-gradient(90deg, #1f4fb5 0 33%, #c9302c 33% 66%, #1f4fb5 66%); }
.dx-medal b { position: relative; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-family: var(--display); font-weight: 900; font-size: 11.5px; color: #2a1a04; box-shadow: 0 1px 3px rgba(0,0,0,.5), inset 0 -2px 4px rgba(0,0,0,.3), inset 0 2px 3px rgba(255,255,255,.6); }
.dx-medal.m-gold b   { background: radial-gradient(circle at 35% 30%, #fff6c8 0%, #ffd54a 35%, #c98a12 75%, #7a4f06 100%); }
.dx-medal.m-silver b { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #dfe4ec 35%, #9aa3b5 75%, #5c6474 100%); }
.dx-medal.m-bronze b { background: radial-gradient(circle at 35% 30%, #ffe1c4 0%, #e09a5c 35%, #a5582a 75%, #5e2c10 100%); }
.dx-medal.m-n { width: 20px; height: 20px; border-radius: 50%; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 10.5px; color: var(--br1); background: var(--pa3); border: 1px solid var(--br4); }

/* odznaka profesji */
.dx-voc-badge { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; padding: 0 6px; border-radius: 8px; font-family: var(--ui); font-size: 9.5px; font-weight: bold; line-height: 1.6;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid; align-self: flex-start; }
.dx-voc-badge.v-sorc   { background: #fbe0d6; color: #8b2a12; border-color: #e0a08a; }
.dx-voc-badge.v-druid  { background: #dcf0de; color: #1f6e33; border-color: #9ccfa6; }
.dx-voc-badge.v-pally  { background: #f7ead0; color: #7a5410; border-color: #dcbf82; }
.dx-voc-badge.v-knight { background: #dde6f5; color: #1f3f7a; border-color: #a3b8dc; }
.dx-voc-badge.v-none   { background: var(--pa2); color: var(--br4); border-color: var(--pa4); }
.dx-voc-badge.epic     { box-shadow: 0 0 0 1px var(--gold2); }

/* outfit */
.dx-hp-outfit, .dx-champ-outfit { position: relative; flex: none; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.dx-hp-outfit img, .dx-champ-outfit img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; image-rendering: pixelated; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.45)); }
.dx-hp-outfit { width: 46px; height: 46px; padding: 2px 2px 4px; }

/* Top gracze */
.dx-hp { display: flex; align-items: center; gap: 5px; margin: 0 -4px; padding: 3px 4px; text-decoration: none !important; border-bottom: 1px solid var(--pa4); }
.dx-hp:hover { background: var(--pa2); }
.dx-hp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dx-hp-info b { font-size: 11px; color: var(--lnk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-hp-info em { font-style: normal; font-size: 10px; color: var(--br4); }
.dx-hp-info em strong { font-size: 11px; color: var(--br1); }
.dx-hp.top { padding: 4px; }
.dx-hp.top1 { background: linear-gradient(90deg, #fbe8a8, transparent); }
.dx-hp.top2 { background: linear-gradient(90deg, #e8ebf0, transparent); }
.dx-hp.top3 { background: linear-gradient(90deg, #f3d4b8, transparent); }
.dx-hp.top .dx-hp-outfit { width: 54px; height: 54px; }

/* listy rankingowe */
.dx-rank-list { list-style: none; margin: 0 -4px; padding: 0; }
.dx-rank-list li { display: flex; align-items: center; gap: 6px; padding: 3px 4px; border-bottom: 1px solid var(--pa4); font-size: 10.5px; }
.dx-rank-list li:nth-child(odd) { background: var(--pa2); }
.dx-rank-list .n { width: 17px; height: 17px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 9.5px; color: var(--br1); background: var(--pa3); border: 1px solid var(--br4); }
.dx-rank-list li.r1 .n { background: radial-gradient(circle at 35% 30%, #fff6c8, #ffd54a 40%, #c98a12); border-color: #a87410; }
.dx-rank-list li.r2 .n { background: radial-gradient(circle at 35% 30%, #fff, #c9ced8); border-color: #8a92a2; }
.dx-rank-list li.r3 .n { background: radial-gradient(circle at 35% 30%, #ffe1c4, #d08a52); border-color: #8a4a20; }
.dx-rank-list li > a, .dx-rank-list .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }
.dx-rank-list .nm a { display: block; }
.dx-rank-list .nm small { display: block; font-size: 9px; font-weight: normal; color: var(--br4); }
.dx-rank-list b { font-weight: bold; color: var(--br1); white-space: nowrap; }
.dx-rank-list b small { font-weight: normal; font-size: 9px; color: var(--br4); }

.dx-guild-row { display: flex; align-items: center; gap: 6px; margin: 0 -4px; padding: 3px 4px; text-decoration: none !important; border-bottom: 1px solid var(--pa4); }
.dx-guild-row:hover { background: var(--pa2); }
.dx-guild-logo { width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-guild-logo img { width: 26px; height: 26px; object-fit: contain; }
.dx-guild-info { flex: 1; min-width: 0; }
.dx-guild-info b { display: block; font-size: 11px; color: var(--lnk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-guild-info small { display: block; font-size: 9px; color: var(--br4); }
.dx-guild-n { font-family: var(--display); font-weight: 900; color: var(--br1); }

/* zamki (prawa) */
.dx-castlebox-timer { text-align: center; padding: 2px 0 5px 0; }
.dx-castlebox-timer small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--br4); }
.dx-castlebox-timer b { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--br1); font-variant-numeric: tabular-nums; }
.dx-castlebox-row { display: flex; justify-content: space-between; gap: 6px; margin: 0 -4px; padding: 3px 4px; border-bottom: 1px solid var(--pa4); font-size: 10.5px; }
.dx-castlebox-row:nth-of-type(odd) { background: var(--pa2); }
.dx-castlebox-row span { font-weight: bold; color: var(--br1); white-space: nowrap; }
.dx-castlebox-row a { text-align: right; }
.dx-castlebox.battle .dx-frame-body { animation: dxbattle 1.2s ease-in-out infinite; }
@keyframes dxbattle { 50% { box-shadow: 0 0 18px rgba(200,60,20,.8); } }
.dx-none { color: var(--br4); font-size: 10px; font-style: italic; }
.dx-live { color: var(--bad) !important; font-weight: 700; animation: dxpulse 1s infinite; }
.dx-cd.now { color: var(--ok) !important; animation: dxpulse 1s infinite; }

/* bossy */
.dx-boss-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 -4px; padding: 4px; border-bottom: 1px solid var(--pa4); }
.dx-boss-row:nth-of-type(odd) { background: var(--pa2); }
.dx-boss-row span { font-weight: bold; font-size: 11px; color: var(--br1); }
.dx-boss-row span small { display: block; font-weight: normal; font-size: 9px; color: var(--br4); }
.dx-boss-row b { font-family: var(--display); font-weight: 900; font-size: 12px; color: var(--red); font-variant-numeric: tabular-nums; }

/* przewodniki */
.dx-guide-row { display: flex; align-items: center; gap: 7px; margin: 0 -4px; padding: 4px 5px; border-bottom: 1px solid var(--pa4); font-weight: bold; font-size: 11px; text-decoration: none !important; }
.dx-guide-row:hover { background: var(--pa2); text-decoration: underline !important; }
.dx-guide-row i { font-style: normal; width: 18px; text-align: center; }

/* co jest na draxisie */
.dx-insidebox .dx-frame-body { text-align: center; }
.dx-inside-logo { width: 150px; margin: 2px auto 2px; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.dx-inside-txt { margin: 2px 0 5px; font-size: 10.5px; line-height: 1.5; }
.dx-inside-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.dx-inside-list li { position: relative; padding: 2px 0 2px 14px; font-size: 10.5px; border-bottom: 1px dotted var(--pa4); }
.dx-inside-list li::before { content: '◆'; position: absolute; left: 1px; color: var(--gold2); font-size: 9px; top: 3px; }

/* screen dnia */
.dx-shot-day { display: block; border: 2px solid var(--br2); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.dx-shot-day img { display: block; width: 100%; height: 100px; object-fit: cover; }
.dx-shot-day:hover img { filter: brightness(1.12); }
.dx-shot-cap { display: block; text-align: center; margin-top: 4px; font-size: 10px; font-style: italic; color: var(--br4); }

/* plywajace */
.dx-float-discord { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 26px; text-decoration: none !important; color: #fff !important;
	background: linear-gradient(135deg, #8b94f8, #4450c8); font-family: var(--display); font-weight: 900; font-size: 12.5px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.dx-float-discord .dx-svg { width: 20px; height: 20px; }
.dx-float-discord:hover { filter: brightness(1.1); }
.dx-totop { position: fixed; right: 26px; bottom: 70px; z-index: 50; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none !important;
	color: var(--gold3) !important; background: linear-gradient(180deg, #5a4630, #2e2216); border: 1px solid #120c06; box-shadow: 0 4px 12px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.dx-totop.show { opacity: 1; pointer-events: auto; }

/* ================================================================
   STRONA GLOWNA I PODSTRONY (.dx-home) – pergamin
   ================================================================ */
.dx-home { font-family: var(--ui); font-size: 12px; color: var(--br1); line-height: 1.6; }
.dx-home p { margin: 0 0 9px 0; }
.dx-home b, .dx-home strong { color: var(--br0); }
.dx-home .r { text-align: right; }
.dx-lead { font-size: 12.5px; }

/* naglowki sekcji – jak tibia.com */
.dx-sec { margin-bottom: 18px; }
.dx-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px 0 !important; padding: 0 0 4px 0; font-family: var(--display) !important; font-weight: 900; font-size: 16px; color: var(--br1) !important; border-bottom: 1px solid var(--br4); }
.dx-h2::before { content: ''; width: 14px; height: 14px; flex: none; background: radial-gradient(circle, var(--gold) 30%, var(--gold2) 60%, transparent 62%); }
.dx-news-title { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px 0 !important; font-family: var(--display) !important; font-size: 16px; color: var(--br1) !important; border-bottom: 1px solid var(--br4); padding-bottom: 4px; }

/* HERO (baner z grafika) */
.dx-hero { position: relative; border: 2px solid var(--br2); overflow: hidden; margin-bottom: 14px; background-size: cover; background-position: center; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.dx-hero-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,6,2,.35) 0%, rgba(10,6,2,.82) 75%); }
.dx-hero-sparks { display: none; }
.dx-hero-inner { position: relative; text-align: center; padding: 18px 18px 18px 18px; color: #fff; }
.dx-hero-logo { display: block; margin: 0 auto; width: 300px; max-width: 70%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.95)); }
.dx-hero-kicker { display: table; margin: 6px auto 0 auto; padding: 4px 16px; font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #2a1804;
	background: linear-gradient(180deg, #ffe9a8, #f0c35e 50%, #b9822a); border: 1px solid #6b4310; border-radius: 3px; }
.dx-hero-date { margin: 8px 0 10px 0; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--gold3); text-shadow: 0 2px 4px #000; }
.dx-hero-text { max-width: 600px; margin: 10px auto 8px auto !important; color: #f3e8d2 !important; font-size: 12.5px; text-shadow: 0 1px 3px #000; }
.dx-hero-text b { color: var(--gold3) !important; }
.dx-countdown { display: flex; justify-content: center; gap: 10px; }
.dx-countdown > div { width: 86px; padding: 9px 0 7px 0; border-radius: 4px; background: linear-gradient(180deg, #fff2db, #e4cfaa); border: 2px solid var(--br2); box-shadow: 0 4px 10px rgba(0,0,0,.6), inset 0 1px 0 #fff; }
.dx-countdown b { display: block; font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; color: var(--br1); font-variant-numeric: tabular-nums; }
.dx-countdown b.flip { animation: dxflip .4s ease; }
@keyframes dxflip { 0% { transform: translateY(-5px); } 100% { transform: none; } }
.dx-countdown span { display: block; margin-top: 3px; font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--br4); font-weight: bold; }
.dx-cd-done { font-family: var(--display); font-weight: 900; font-size: 26px; color: #8dffa8; text-shadow: 0 2px 6px #000; }
.dx-hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 12px; }

/* statystyki */
.dx-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 16px; }
.dx-stats > div { text-align: center; padding: 8px 2px 7px 2px; background: var(--pa2); border: 1px solid var(--pa4); border-top: 3px solid var(--gold2); }
.dx-stats i { display: block; color: var(--br4); } .dx-stats i .dx-svg { width: 16px; height: 16px; }
.dx-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 19px; color: var(--br1); line-height: 1.2; }
.dx-stats span { font-size: 9px; text-transform: uppercase; letter-spacing: .5px; color: var(--br4); font-weight: bold; }

/* najlepsi gracze – podium */
.dx-champ-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; align-items: end; margin-bottom: 8px; }
.dx-champ { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px 0 8px; text-decoration: none !important; overflow: hidden;
	background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 2px solid var(--pa4); box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.dx-champ:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.dx-champ.c1 { padding-top: 22px; border-color: #d9a72a; background: linear-gradient(180deg, #fff6d6, #f5dfa0); }
.dx-champ.c2 { border-color: #a9b0bd; }
.dx-champ.c3 { border-color: #c9814a; }
.dx-champ-crown { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); color: #d9a72a; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.dx-champ-crown .dx-svg { width: 22px; height: 22px; }
.dx-champ .dx-medal { position: absolute; top: 8px; left: 8px; transform: scale(1.2); transform-origin: top left; }
.dx-champ-outfit { width: 96px; height: 96px; padding: 10px 12px 8px; border-radius: 50%; background: radial-gradient(circle at 50% 70%, #fff, var(--pa3) 75%); border: 2px solid var(--br4); }
.dx-champ.c1 .dx-champ-outfit { width: 114px; height: 114px; border-color: #d9a72a; }
.dx-champ.c2 .dx-champ-outfit { border-color: #a9b0bd; }
.dx-champ.c3 .dx-champ-outfit { border-color: #c9814a; }
.dx-champ-name { margin-top: 4px; font-family: var(--display); font-weight: 900; font-size: 14.5px; color: var(--lnk); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-champ.c1 .dx-champ-name { font-size: 16px; }
.dx-champ .dx-voc-badge { align-self: center; font-size: 10px; }
.dx-champ-lvl { font-size: 10.5px; color: var(--br4); }
.dx-champ-lvl strong { font-family: var(--display); font-size: 15px; color: var(--br1); }
.dx-champ-plinth { align-self: stretch; margin: 6px -8px 0 -8px; padding: 5px 0; text-align: center; font-family: var(--display); font-weight: 900; font-size: 10.5px; letter-spacing: 2px; color: #fff; text-shadow: 1px 1px 0 #000;
	background: linear-gradient(180deg, #5a4630, #2e2216); }
.dx-champ.c1 .dx-champ-plinth { color: #2a1804; text-shadow: none; padding: 7px 0; background: linear-gradient(180deg, #ffe9a8, #f0c35e 50%, #b9822a); }
.dx-champ-rest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.dx-champ-row { display: flex; align-items: center; gap: 6px; padding: 2px 8px 2px 5px; text-decoration: none !important; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-champ-row:nth-child(4n+3), .dx-champ-row:nth-child(4n+4) { background: var(--pa1); }
.dx-champ-row:hover { border-color: var(--br4); }
.dx-champ-row .dx-hp-outfit { width: 42px; height: 42px; }
.dx-champ-row em { font-style: normal; font-size: 10px; color: var(--br4); white-space: nowrap; }
.dx-champ-row em strong { font-family: var(--display); font-size: 13.5px; color: var(--br1); }

/* witaj */
.dx-welcome-grid { display: grid; grid-template-columns: 1fr 200px; gap: 14px; align-items: start; }
.dx-check { list-style: none; margin: 0; padding: 8px 10px; background: var(--pa2); border: 1px solid var(--pa4); border-left: 3px solid var(--gold2); }
.dx-check li { position: relative; padding: 3px 0 3px 18px; font-size: 11.5px; border-bottom: 1px dotted var(--pa4); }
.dx-check li:last-child { border-bottom: 0; }
.dx-check li::before { content: '✔'; position: absolute; left: 0; top: 3px; color: var(--ok); font-size: 11px; }

/* 3 kroki */
.dx-3steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dx-3step { position: relative; display: block; padding: 12px 12px 10px 12px; text-decoration: none !important; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); border-top: 3px solid var(--br3); }
.dx-3step:hover { border-color: var(--br4); box-shadow: 0 3px 8px rgba(0,0,0,.15); transform: translateY(-2px); }
.dx-3n { position: absolute; right: 10px; top: 6px; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; color: rgba(121,61,3,.18); }
.dx-3step b { display: block; font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--br1) !important; margin-bottom: 4px; }
.dx-3step p { font-size: 11px; color: var(--br1); margin: 0 0 6px 0 !important; font-weight: normal; }
.dx-3step em { font-style: normal; font-size: 11px; color: var(--lnk); font-weight: bold; }

/* roadmapa */
.dx-roadmap { position: relative; padding-left: 26px; }
.dx-roadmap::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--br4); }
.dx-roadmap > div { position: relative; margin-bottom: 7px; padding: 6px 10px; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-roadmap > div > i { position: absolute; left: -26px; top: 5px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px;
	background: var(--pa1); border: 2px solid var(--br4); color: var(--br1); }
.dx-roadmap > div.done > i { background: #c9efd2; border-color: var(--ok); color: var(--ok); }
.dx-roadmap > div.now { background: #fbe8a8; border-color: var(--gold2); }
.dx-roadmap > div.now > i { background: var(--gold); border-color: var(--br3); }
.dx-roadmap b { display: block; font-family: var(--display); font-size: 12.5px; color: var(--br1); }
.dx-roadmap span { font-size: 11px; }

/* kafelki */
.dx-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dx-feat { position: relative; display: block; padding: 10px 8px 9px 8px; text-align: center; text-decoration: none !important; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); }
.dx-feat:hover { border-color: var(--br4); box-shadow: 0 3px 8px rgba(0,0,0,.15); transform: translateY(-2px); }
.dx-feat > i { display: block; font-style: normal; font-size: 26px; line-height: 1.2; }
.dx-feat > b { display: block; font-family: var(--display); font-weight: 900; font-size: 12.5px; color: var(--lnk) !important; margin: 4px 0 3px 0; }
.dx-feat > span { display: block; font-size: 10.5px; line-height: 1.45; color: var(--br1); font-weight: normal; }

/* pobieranie */
.dx-download { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.dx-dl-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); border-left: 4px solid #2a5fa8; }
.dx-dl-card + .dx-dl-card { border-left-color: #23733a; }
.dx-dl-ico { width: 50px; height: 50px; flex: none; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(180deg, #5d93d8, #163b72); }
.dx-dl-ico.android { background: linear-gradient(180deg, #4fae64, #134d23); }
.dx-dl-ico .dx-svg { width: 30px; height: 30px; }
.dx-dl-txt { flex: 1 1 160px; min-width: 0; }
.dx-dl-txt b { display: block; font-family: var(--display); font-weight: 900; font-size: 14.5px; color: var(--br1) !important; }
.dx-dl-txt span { display: block; font-size: 11px; font-weight: bold; color: var(--lnk); }
.dx-dl-txt small { display: block; font-size: 10.5px; line-height: 1.45; color: var(--br4); margin-top: 2px; }
.dx-dl-card > .dx-btn, .dx-dl-card > .dx-soon-badge { margin-left: auto; }
.dx-soon-badge { flex: none; padding: 5px 12px; border-radius: 3px; font-family: var(--display); font-weight: 900; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #2a1804; background: linear-gradient(180deg, #ffe9a8, #c9932f); border: 1px solid #6b4310; }

/* zamki (panel) */
.dx-castle { margin: 0 0 18px 0; background: linear-gradient(180deg, #fff6d6, var(--pa2)); border: 2px solid var(--br2); box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.dx-castle.battle { border-color: var(--bad); animation: dxbattle 1.2s ease-in-out infinite; }
.dx-castle-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(180deg, #5a4630, #2e2216); }
.dx-castle-crown { width: 38px !important; height: 38px !important; color: var(--gold); }
.dx-castle-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--gold3) !important; text-shadow: 1px 1px 0 #000; }
.dx-castle-head span { font-size: 11px; color: #e8dcc0; }
.dx-castle-head b.dx-cd { color: #fff !important; font-size: 13px; font-variant-numeric: tabular-nums; }
.dx-castle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 12px 0 12px; }
.dx-castle-card { text-align: center; padding: 8px 6px; background: var(--pa1); border: 1px solid var(--pa4); border-top: 3px solid var(--gold2); }
.dx-castle-title { font-family: var(--display); font-weight: 900; font-size: 12.5px; color: var(--br1); margin-bottom: 4px; }
.dx-castle-owner { font-size: 11.5px; margin-bottom: 4px; }
.dx-castle-owner small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--br4); }
.dx-castle-info { font-size: 10px; line-height: 1.4; color: var(--br4); }
.dx-castle-foot { padding: 10px 14px 12px 14px; font-size: 11.5px; line-height: 1.6; }

/* najblizsze eventy */
.dx-upcoming { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dx-up { display: flex; flex-direction: column; align-items: center; padding: 7px 4px; background: var(--pa2); border: 1px solid var(--pa4); text-align: center; }
.dx-up.first { background: #fbe8a8; border-color: var(--gold2); }
.dx-up-time { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--red); }
.dx-up b { font-size: 11.5px; margin: 1px 0; }
.dx-up-cd { font-size: 10px; color: var(--br4); } .dx-up-cd em { font-style: normal; color: var(--br1); font-weight: bold; font-variant-numeric: tabular-nums; }
.dx-more-link { text-align: right; margin: 6px 0 0 0 !important; }

/* skroty przewodnika */
.dx-guide-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dx-guide-links a { position: relative; display: flex; flex-direction: column; padding: 8px 10px 8px 46px; text-decoration: none !important; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-guide-links a:hover { border-color: var(--br4); background: var(--pa3); }
.dx-guide-links i { position: absolute; left: 12px; top: 9px; font-style: normal; font-size: 22px; }
.dx-guide-links b { font-family: var(--display); font-weight: 900; font-size: 12.5px; color: var(--lnk) !important; }
.dx-guide-links span { font-size: 10px; color: var(--br4); font-weight: normal; }

/* galeria */
.dx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dx-shot { position: relative; display: block; border: 2px solid var(--br2); overflow: hidden; }
.dx-shot img { display: block; width: 100%; height: 104px; object-fit: cover; transition: transform .4s ease; }
.dx-shot:hover img { transform: scale(1.07); }
.dx-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 6px 4px 6px; font-size: 10px; color: #fff; font-weight: bold; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.dx-lightbox { display: none; position: fixed; z-index: 9999; inset: 0; background: rgba(0,0,0,.92); text-align: center; padding-top: 5vh; text-decoration: none !important; }
.dx-lightbox:target { display: block; }
.dx-lightbox img { max-width: 92vw; max-height: 82vh; border: 3px solid var(--br2); }
.dx-lightbox span { display: block; color: var(--gold3); margin-top: 10px; font-size: 13px; }

/* social */
.dx-social-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px 0; }
.dx-social-big { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff !important; text-decoration: none !important; border-radius: 3px; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.dx-social-big:hover { filter: brightness(1.08); transform: translateY(-2px); }
.dx-social-big .dx-svg { width: 34px; height: 34px; }
.dx-social-big b { display: block; font-family: var(--display); font-weight: 900; font-size: 14px; color: #fff !important; }
.dx-social-big span { font-size: 11px; color: #fff; font-weight: normal; }
.dx-social-big.dx-discord { background: linear-gradient(135deg, #8b94f8, #4450c8); }
.dx-social-big.dx-facebook { background: linear-gradient(135deg, #3b8cf5, #0d4fb0); }

/* ================================================================ PRZEWODNIK – zakladki */
.dx-guide-intro { margin-bottom: 10px !important; }
.dx-guide .dx-tabs-title { display: none; }
.dx-tabs { margin: 0 0 14px 0; border: 1px solid var(--br2); background: var(--pa1); scroll-margin-top: 10px; }
.dx-tabs-title { padding: 7px; text-align: center; background: linear-gradient(180deg, #5a4630, #2e2216); }
.dx-tabs-title span { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--gold3); }
.dx-tab-nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 6px 0 6px; background: var(--pa4); border-bottom: 2px solid var(--br3); }
.dx-tab-nav button { flex: 1 1 auto; padding: 6px 6px; border: 1px solid var(--br4); border-bottom: 0; cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 11.5px; color: var(--br1);
	background: linear-gradient(180deg, var(--pa1), var(--pa3)); }
.dx-tab-nav button:hover { background: var(--pa0); }
.dx-tab-nav button.active { color: #fff; text-shadow: 1px 1px 0 #000; background: linear-gradient(180deg, #5a4630, #2e2216); border-color: #1a120a; }
.dx-tab-pane { display: none; padding: 14px; animation: dxfade .25s ease; }
.dx-tab-pane.active { display: block; }
@keyframes dxfade { from { transform: translateY(4px); } to { transform: none; } }
.dx-tab-pane h3 { font-family: var(--display) !important; font-weight: 900; font-size: 15px; color: var(--br1) !important; margin: 0 0 10px 0; padding-bottom: 3px; border-bottom: 1px solid var(--pa4); }
.dx-tab-pane h4, .dx-info h4 { display: flex; align-items: center; gap: 5px; font-family: var(--display) !important; font-weight: 800; font-size: 12.5px; color: var(--br1) !important; margin: 0 0 6px 0; }
.dx-info h4 .dx-svg { width: 14px; height: 14px; }
.dx-note { font-size: 11px !important; color: var(--br4) !important; font-style: italic; margin-top: 8px !important; }
.dx-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; align-items: start; }
.dx-info { background: var(--pa2); border: 1px solid var(--pa4); border-left: 3px solid var(--gold2); padding: 9px 11px; }
.dx-info p { font-size: 11.5px; margin: 0; }
.dx-info ul, .dx-info ol { margin: 0; padding-left: 17px; font-size: 11.5px; line-height: 1.6; }
.dx-info-wide { margin-bottom: 12px; }
.dx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.dx-step { padding: 10px 8px 8px 8px; text-align: center; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-step span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 14px; color: #2a1804;
	background: radial-gradient(circle at 35% 30%, #fff6c8, #f0c35e 45%, #b9822a); border: 1px solid #6b4310; }
.dx-step b { display: block; font-family: var(--display); font-size: 12.5px; margin: 5px 0 3px 0; }
.dx-step p { font-size: 10.5px !important; line-height: 1.5; margin: 0 !important; }
.dx-vocs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 12px 0; }
.dx-voc { padding: 10px 8px; text-align: center; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); border-top: 3px solid var(--br3); }
.dx-voc > i { display: block; font-style: normal; font-size: 28px; }
.dx-voc > b { display: block; font-family: var(--display); font-size: 13.5px; color: var(--br1) !important; margin-top: 3px; }
.dx-voc > small { display: block; font-size: 9.5px; color: var(--lnk); font-weight: bold; margin: 2px 0 5px 0; }
.dx-voc p { font-size: 10.5px !important; line-height: 1.5; margin: 0 !important; }
.dx-acc details { margin-bottom: 5px; border: 1px solid var(--pa4); background: var(--pa2); }
.dx-acc summary { cursor: pointer; padding: 7px 34px 7px 10px; font-weight: bold; font-size: 11.5px; color: var(--lnk); list-style: none; position: relative; }
.dx-acc summary::-webkit-details-marker { display: none; }
.dx-acc summary::after { content: '+'; position: absolute; right: 10px; top: 3px; font-size: 17px; color: var(--br1); }
.dx-acc details[open] summary { background: var(--pa3); border-bottom: 1px solid var(--pa4); }
.dx-acc details[open] summary::after { content: '−'; }
.dx-acc summary:hover { background: var(--pa3); }
.dx-acc details p { padding: 8px 10px; margin: 0 !important; font-size: 11.5px; background: var(--pa1); }
.dx-table { width: 100%; border-collapse: collapse; font-size: 11.5px; border: 1px solid var(--br2); }
.dx-table th { text-align: left; padding: 5px 8px !important; font-family: var(--ui) !important; font-size: 11px !important; color: #fff !important; background: #505050 !important; }
.dx-table td { padding: 4px 8px; border-bottom: 1px solid var(--pa4); vertical-align: top; color: var(--br1); font-size: 11.5px !important; }
.dx-table tr:nth-child(odd) td { background: var(--pa2); }
.dx-table tr:nth-child(even) td { background: var(--pa4); }
.dx-table tr:hover td { background: #f7e3a8; }
.dx-table small { color: var(--br2); }
.dx-stages td.r { font-weight: bold; color: var(--red) !important; }
.dx-events td.t { font-weight: bold; color: var(--red) !important; font-variant-numeric: tabular-nums; width: 54px; }
.dx-events tr.next td { background: #fbe8a8 !important; font-weight: bold; }
.dx-badge { float: right; font-size: 9.5px; background: var(--ok); color: #fff; padding: 0 7px; border-radius: 8px; font-weight: bold; }
.dx-badge em { font-style: normal; }
.dx-cmds td:first-child { font-family: Consolas, 'Courier New', monospace; font-weight: bold; color: var(--red) !important; white-space: nowrap; }
.dx-evlist { display: flex; flex-direction: column; gap: 5px; }
.dx-evlist > div { padding: 6px 9px; background: var(--pa2); border: 1px solid var(--pa4); border-left: 3px solid var(--br3); }
.dx-evlist b { display: block; font-size: 11.5px; }
.dx-evlist span { display: block; font-size: 10.5px; line-height: 1.5; }

/* regulamin */
.dx-rule { margin-bottom: 10px; padding: 9px 12px; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-rule h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px 0; font-family: var(--display) !important; font-size: 13.5px; color: var(--br1) !important; }
.dx-rule h3 span { display: inline-flex; min-width: 28px; height: 22px; padding: 0 5px; align-items: center; justify-content: center; font-size: 12px; color: #fff; background: linear-gradient(180deg, #5a4630, #2e2216); }
.dx-rule ol { margin: 0; padding-left: 18px; line-height: 1.65; font-size: 11.5px; }

/* drobne */
.dx-title-ico .dx-svg { width: 15px; height: 15px; }
.dx-panel { margin-top: 10px; padding: 8px; border: 1px solid var(--br2); background: var(--pa1); }
#dx-left a, #dx-right a { text-decoration: none; }
#dx-left a:hover, #dx-right a:hover { text-decoration: underline; }
.dx-ped-rec { bottom: 10px; }
.dx-bar { display: block; height: 10px; background: var(--pa1); border: 1px solid var(--br4); }
.dx-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f0c35e, #b9822a); }
/* opis zakladki nad trescia MyAAC */
.dx-intro { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px 0; padding: 10px 12px; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); border-left: 4px solid var(--br3); font-family: var(--ui); font-size: 11.5px; line-height: 1.6; color: var(--br1); }
.dx-intro > i { font-style: normal; font-size: 30px; line-height: 1; flex: none; }
.dx-intro b { color: var(--br0); }
.dx-intro h3 { margin: 0 0 3px 0; font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--br1); }
.dx-intro p { margin: 0; }
.dx-intro .dx-intro-links { margin-top: 4px; }
.dx-intro .dx-intro-links a { margin-right: 10px; }
/* gra w przegladarce */
.dx-dl-web { color: #fff !important; background: linear-gradient(180deg, #e0763a, #b8441a 55%, #7a2a0c); }
.dx-dl-side-web .dx-svg { color: #b8441a !important; }
.dx-dl-ico.web { background: linear-gradient(180deg, #e0763a, #7a2a0c); }
.dx-dl-card.dx-dl-card-web { border-left-color: #b8441a; grid-column: 1 / -1; }
.dx-head-row .dx-dl-big span, .dx-head-row .dx-soc-big span { font-size: 13.5px; }

/* ================================================================ SKLEP */
.dx-shop-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 10px 14px; background: linear-gradient(180deg, #5a4630, #2e2216); border: 1px solid #120c06; box-shadow: inset 0 0 0 1px rgba(240,195,94,.25), 0 3px 10px rgba(0,0,0,.35); color: #e8dcc0; }
.dx-shop-coins { display: flex; align-items: center; gap: 9px; padding-right: 14px; border-right: 1px solid rgba(240,195,94,.3); }
.dx-shop-coins small { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; color: #d9c7a5; }
.dx-shop-coins b { display: block; font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--gold); line-height: 1; }
.dx-shop-coin { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--display); font-weight: 900; font-size: 16px; color: #5a3a06;
	background: radial-gradient(circle at 35% 30%, #fff6c8, #ffd54a 40%, #c98a12 80%); border: 2px solid #8a5a10; box-shadow: 0 2px 5px rgba(0,0,0,.5), inset 0 -2px 3px rgba(0,0,0,.25); }
.dx-shop-coin.big { width: 52px; height: 52px; font-size: 24px; }
.dx-shop-intro { flex: 1; font-size: 11.5px; line-height: 1.5; }
.dx-shop-intro b { color: var(--gold3); }
.dx-shop-intro a { color: var(--gold) !important; }
.dx-shop-btns { display: flex; flex-direction: column; gap: 2px; }
.dx-shop-alert { margin: 0 0 10px 0; padding: 8px 12px; font-size: 12px; border: 1px solid; }
.dx-shop-alert.ok { background: #dff3e2; border-color: #7fbf8a; color: #14551f; }
.dx-shop-alert.err { background: #f8dcd6; border-color: #d48a7a; color: #7a1f0f; }
.dx-shop-alert.info { background: var(--pa2); border-color: var(--pa4); }
.dx-shop-tabs .dx-tab-nav button em { font-style: normal; font-size: 10px; opacity: .75; margin-left: 3px; }
.dx-shop-filter { display: flex; gap: 8px; margin-bottom: 10px; }
.dx-shop-filter input, .dx-shop-filter select { padding: 6px 9px; border: 1px solid var(--br4); background: var(--pa0); font-family: var(--ui); font-size: 12px; color: var(--br1); }
.dx-shop-filter input { flex: 1; }
.dx-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.dx-offer { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 8px 7px; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); transition: transform .15s, box-shadow .15s, border-color .15s; }
.dx-offer:hover { transform: translateY(-3px); border-color: var(--gold2); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.dx-offer.hot { border-color: var(--gold2); background: linear-gradient(180deg, #fff6d6, #f5dfa0); }
.dx-offer-tag { position: absolute; top: 4px; left: 4px; padding: 1px 6px; font-size: 9px; font-weight: bold; text-transform: uppercase; color: #fff; background: var(--red); }
.dx-offer-img { display: flex; align-items: flex-end; justify-content: center; width: 84px; height: 84px; margin: 4px 0 6px; padding: 6px;
	background: radial-gradient(circle at 50% 70%, #fff, var(--pa3) 72%); border: 2px solid var(--br4); border-radius: 50%; }
.dx-offer-img.item { align-items: center; border-radius: 10px; }
.dx-offer-img img { max-width: 100%; max-height: 100%; image-rendering: pixelated; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.35)); }
.dx-offer-img.item img { width: 64px; height: 64px; object-fit: contain; }
.dx-offer-name { font-family: var(--display); font-weight: 900; font-size: 12.5px; color: var(--br1); line-height: 1.2; }
.dx-offer-name small { color: var(--red); }
.dx-offer-desc { flex: 1; margin: 3px 0 6px; font-size: 10px; line-height: 1.4; color: var(--br2); }
.dx-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; width: 100%; padding-top: 5px; border-top: 1px dotted var(--pa4); }
.dx-offer-price { display: flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--br1); }
.dx-offer-price i { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; font-style: normal; font-size: 9px; color: #5a3a06; background: radial-gradient(circle at 35% 30%, #fff6c8, #ffd54a 45%, #c98a12); border: 1px solid #8a5a10; }
.dx-offer-buy { margin: 0 !important; padding: 5px 12px !important; font-size: 11.5px !important; }
.dx-hstate { padding: 1px 7px; font-size: 10px; font-weight: bold; border: 1px solid; }
.dx-hstate.ok { background: #dff3e2; color: #14551f; border-color: #7fbf8a; }
.dx-hstate.w { background: #fbe8a8; color: #6b4310; border-color: #c9932f; }
.dx-hstate.r { background: #e8ebf0; color: #333; border-color: #a9b0bd; }
.dx-shop-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); }
.dx-shop-modal[hidden] { display: none; }
.dx-shop-dialog { width: 380px; padding: 0 0 14px; background: var(--pa1); border: 2px solid var(--br2); box-shadow: 0 20px 50px rgba(0,0,0,.6); font-family: var(--ui); font-size: 12px; color: var(--br1); }
.dx-shop-dialog h3 { margin: 0 0 10px; padding: 8px; text-align: center; font-family: var(--display); font-size: 15px; color: var(--gold3); background: linear-gradient(180deg, #5a4630, #2e2216); }
.dx-shop-dialog label, .dx-shop-dialog p { display: block; margin: 8px 14px; }
.dx-shop-dialog select { display: block; width: 100%; margin-top: 4px; padding: 6px; border: 1px solid var(--br4); background: var(--pa0); }
.dx-shop-dlg-offer { display: flex; align-items: center; gap: 10px; margin: 0 14px; padding: 8px; background: var(--pa2); border: 1px solid var(--pa4); }
.dx-shop-dlg-offer img { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.dx-shop-dlg-offer b[data-m=name] { display: block; font-family: var(--display); font-size: 14px; }
.dx-shop-dlg-btns { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dx-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dx-pack { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px; text-align: center; background: linear-gradient(180deg, var(--pa0), var(--pa2)); border: 1px solid var(--pa4); }
.dx-pack b { font-family: var(--display); font-size: 18px; color: var(--br1); }
.dx-pack em { font-style: normal; font-weight: bold; font-size: 14px; color: var(--lnk); }
.dx-pack small { font-size: 10px; color: var(--ok); font-weight: bold; }
.dx-pack.best { border: 2px solid var(--gold2); background: linear-gradient(180deg, #fff6d6, #f5dfa0); }

/* REALERA-V6-START */
.dx-sys-ico { width: 44px; height: 44px; image-rendering: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); flex: 0 0 44px; }
.dx-lead .dx-sys-ico { width: 22px; height: 22px; vertical-align: middle; flex: none; }
.dx-sys-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.dx-sys-jump a { padding: 6px 12px; border-radius: 16px; background: linear-gradient(180deg, #fff7e6, #e9d3ad); border: 1px solid var(--br4); color: var(--br1) !important; font-weight: bold; font-size: 12px; text-decoration: none !important; }
.dx-sys-jump a:hover, .dx-sys-jump a.hot { background: linear-gradient(180deg, #ffe3a1, #f0c35e); border-color: var(--gold2); }
.dx-sys-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dx-sys { background: linear-gradient(180deg, #fffaf0 0%, #f6e7cb 100%); border: 1px solid var(--br4); border-radius: 8px; padding: 12px 14px; box-shadow: 0 2px 6px rgba(90,40,0,.12); display: flex; flex-direction: column; scroll-margin-top: 80px; }
.dx-sys:target { outline: 3px solid var(--gold); }
.dx-sys header { display: flex; align-items: center; gap: 10px; border-bottom: 1px dashed var(--pa4); padding-bottom: 8px; margin-bottom: 8px; }
.dx-sys h4 { margin: 0; font-family: var(--display); font-size: 15px; color: var(--br1); }
.dx-sys-tag { display: inline-block; margin-top: 2px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; color: #fff; background: linear-gradient(180deg, #8a5a20, #5a3610); border-radius: 10px; padding: 1px 8px; }
.dx-sys p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.55; }
.dx-sys ul { margin: 0 0 6px; padding-left: 18px; font-size: 12px; line-height: 1.55; }
.dx-sys footer { margin-top: auto; font-size: 11.5px; color: var(--br2); background: rgba(240,195,94,.18); border-radius: 5px; padding: 5px 8px; }
.dx-sys-sub { font-family: var(--display); margin: 16px 0 6px; }
.dx-upg-table td, .dx-upg-table th { text-align: center; }
.dx-upg-table td.bad { color: var(--bad); font-weight: bold; } .dx-upg-table td.ok { color: var(--ok); }
.dx-sys-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 8px 0 12px; }
.dx-sys-tiles a { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px 8px; border-radius: 8px; text-decoration: none !important;
	background: radial-gradient(circle at 50% 30%, #4a3a28 0%, #2a1f14 75%); border: 1px solid #1a120a; box-shadow: inset 0 0 0 1px rgba(240,195,94,.25), 0 2px 5px rgba(0,0,0,.3); transition: transform .12s, box-shadow .12s; }
.dx-sys-tiles a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold), 0 4px 10px rgba(0,0,0,.4); }
.dx-sys-tiles img { width: 40px; height: 40px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.dx-sys-tiles b { color: var(--gold3); font-family: var(--display); font-size: 11px; text-align: center; }
.dx-center { text-align: center; }
.dx-rank .dx-rk-who { display: inline-flex; align-items: center; gap: 6px; }
.dx-rank .dx-rk-who img { width: 32px; height: 32px; object-fit: contain; }
.dx-rank td.r, .dx-rank th.r { text-align: right; }
.dx-rank small { color: var(--br4); font-style: italic; }
.dx-dl-card-best { position: relative; border: 2px solid var(--gold) !important; box-shadow: 0 0 0 3px rgba(240,195,94,.25), 0 4px 14px rgba(0,0,0,.25) !important; }
.dx-best-badge { position: absolute; top: -10px; right: 14px; background: linear-gradient(180deg, #ffe3a1, #c9932f); color: #3a2a1a; font-weight: bold; font-size: 11px; text-transform: uppercase; padding: 2px 10px; border-radius: 10px; border: 1px solid #8a6c4a; }
.dx-new-systems { margin-bottom: 10px; border-left: 4px solid var(--gold2); }

/* REALERA-V6-END */


/* REALERA-ITEMY-START */
.dx-it-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 10px 0 14px; }
.dx-it-cats a { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 7px; text-decoration: none !important; color: var(--gold3) !important;
	background: linear-gradient(180deg, #4a3a28, #2a1f14); border: 1px solid #1a120a; box-shadow: inset 0 0 0 1px rgba(240,195,94,.2); transition: transform .1s; }
.dx-it-cats a:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--gold); }
.dx-it-cats a.on { background: linear-gradient(180deg, #ffe3a1, #c9932f); color: #3a2a1a !important; border-color: #8a6c4a; }
.dx-it-cats img { width: 32px; height: 32px; image-rendering: pixelated; flex: 0 0 32px; }
.dx-it-cats b { font-family: var(--display); font-size: 11.5px; flex: 1; line-height: 1.15; color: var(--gold3) !important; }
.dx-it-cats a.on b { color: #3a2a1a !important; }
.dx-it-cats small { font-size: 10px; opacity: .8; }
.dx-it-head { display: flex; align-items: center; gap: 10px; }
.dx-it-head .dx-h2 { flex: 1; margin: 0; }
#dx-it-search { width: 230px; padding: 7px 10px; border: 1px solid var(--br4); border-radius: 16px; background: #fffaf0; font-size: 12px; }
.dx-it-list { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.dx-it { background: linear-gradient(180deg, #fffaf0, #f4e3c4); border: 1px solid var(--pa4); border-radius: 7px; }
.dx-it[open] { border-color: var(--gold2); box-shadow: 0 3px 10px rgba(90,40,0,.18); }
.dx-it summary { list-style: none; display: grid; grid-template-columns: 34px 44px 1fr 140px 110px; align-items: center; gap: 8px; padding: 5px 10px; cursor: pointer; }
.dx-it summary::-webkit-details-marker { display: none; }
.dx-it summary:hover { background: rgba(240,195,94,.18); }
.dx-it-rank { font-family: var(--display); font-weight: 800; color: var(--br4); text-align: center; font-size: 14px; }
.dx-it:nth-child(1) .dx-it-rank { color: #c9932f; font-size: 17px; } .dx-it:nth-child(2) .dx-it-rank { color: #8f9aa6; font-size: 16px; } .dx-it:nth-child(3) .dx-it-rank { color: #a8683a; font-size: 15px; }
.dx-it-slot { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 4px;
	background: radial-gradient(circle, #5a4a38 0%, #2a1f14 80%); border: 1px solid #1a120a; box-shadow: inset 0 0 0 1px rgba(240,195,94,.25); }
.dx-it-slot img { width: 32px; height: 32px; image-rendering: pixelated; }
.dx-it-main b { font-family: var(--display); font-size: 13.5px; color: var(--br1); display: block; }
.dx-it-stats { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.dx-it-stats i { font-style: normal; font-size: 10.5px; background: rgba(121,61,3,.1); border: 1px solid rgba(121,61,3,.2); border-radius: 8px; padding: 0 6px; color: var(--br2); }
.dx-it-stats i:first-child { background: #5a3610; color: #ffe3a1; border-color: #3a2a1a; font-weight: bold; }
.dx-it-req { text-align: right; line-height: 1.2; }
.dx-it-req em { font-style: normal; font-weight: bold; font-size: 11.5px; color: var(--red); display: block; }
.dx-it-req small { font-size: 10px; color: var(--br4); }
.dx-it-power { height: 8px; background: rgba(0,0,0,.12); border-radius: 4px; overflow: hidden; }
.dx-it-power span { display: block; height: 100%; background: linear-gradient(90deg, #c9932f, #f0c35e, #ffe3a1); }
.dx-it-body { padding: 4px 14px 12px 96px; border-top: 1px dashed var(--pa4); }
.dx-it-desc { font-style: italic; color: var(--br2); font-size: 12px; margin: 6px 0; }
.dx-it-stats.all { margin: 6px 0; }
.dx-it-src { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.dx-it-src h5 { margin: 6px 0 4px; font-family: var(--display); font-size: 12.5px; color: var(--br1); }
.dx-it-src ul { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.dx-it-src li { padding: 2px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dx-it-src p { font-size: 12px; margin: 0; }
.dx-it-mon li img { width: 28px; height: 28px; object-fit: contain; }
.dx-it-mon .ch { margin-left: auto; font-weight: bold; color: var(--ok); }
.dx-it-more { font-size: 11px; color: var(--br4); font-style: italic; }
.dx-it-src small { color: var(--br4); font-size: 10.5px; }
.dx-it-src small.raid { color: var(--red); }

/* REALERA-ITEMY-END */

/* REALERA-ONLINE-START */
.dx-onl { position: relative; display: flex; flex-direction: column; align-items: center; justify-self: center; width: 156px; padding: 10px 8px 9px; box-sizing: border-box;
	text-decoration: none !important; border-radius: 8px; overflow: hidden;
	background: linear-gradient(180deg, rgba(58,44,28,.96) 0%, rgba(24,17,10,.97) 100%);
	border: 1px solid #0d0905; box-shadow: 0 6px 16px rgba(0,0,0,.6), inset 0 0 0 1px rgba(240,195,94,.45), inset 0 1px 0 rgba(255,227,161,.25); transition: transform .15s, box-shadow .15s; }
.dx-onl:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(0,0,0,.65), inset 0 0 0 1px var(--gold), inset 0 1px 0 rgba(255,227,161,.35); }
.dx-onl::before { content: ''; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.dx-onl-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 10px; font-family: var(--ui); font-size: 9.5px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.dx-onl.on .dx-onl-status { color: #9ff0b5; background: rgba(40,160,80,.18); border: 1px solid rgba(79,227,131,.45); }
.dx-onl.off .dx-onl-status { color: #ffb0a6; background: rgba(200,60,40,.18); border: 1px solid rgba(255,106,90,.45); }
.dx-onl-status i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dx-onl.on .dx-onl-status i { background: #4fe383; box-shadow: 0 0 0 0 rgba(79,227,131,.7); animation: dxOnlPulse 1.8s infinite; }
.dx-onl.off .dx-onl-status i { background: #ff6a5a; }
@keyframes dxOnlPulse { 0% { box-shadow: 0 0 0 0 rgba(79,227,131,.7); } 70% { box-shadow: 0 0 0 7px rgba(79,227,131,0); } 100% { box-shadow: 0 0 0 0 rgba(79,227,131,0); } }
.dx-onl-num { margin-top: 6px; font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums;
	text-shadow: 0 2px 0 #3a2208, 0 0 14px rgba(240,195,94,.45); }
.dx-onl-lbl { margin-top: 3px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #f1e3c4; }
.dx-onl-sep { width: 80%; height: 1px; margin: 8px 0 6px; background: linear-gradient(90deg, transparent, rgba(240,195,94,.6), transparent); }
.dx-onl-rec { display: flex; align-items: center; gap: 5px; font-family: var(--ui); font-size: 11px; color: #d9c7a5; }
.dx-onl-rec .dx-svg { width: 14px; height: 14px; color: var(--gold); }
.dx-onl-rec b { color: #fff; font-family: var(--display); font-size: 13px; }
.dx-onl-more { margin-top: 5px; font-size: 9.5px; color: var(--gold3); opacity: .75; letter-spacing: .5px; }
.dx-onl:hover .dx-onl-more { opacity: 1; text-decoration: underline; }

/* REALERA-ONLINE-END */
