/* BaiakZinx skin on top of the tibiacom layout */
body {
  background-color: #0b0a09;
}
#ArtworkHelper {
  background-color: #0b0a09;
  min-height: 800px;
}
/* pixel-art frames stay pixel-sharp when the browser zooms */
.MenuButton, .LeftChain, .RightChain, #MenuTop, #MenuBottom,
.BzFrameTop, .BzFrameBottom, .BzFrameBody::before, .BzFrameBody::after,
.Corner-tl, .Corner-tr, .Corner-bl, .Corner-br, .Border_1, .BorderTitleText,
#PedestalAndOnline, .BzMButton, .BzTheme, .BzThemeHead img {
  image-rendering: pixelated;
}

/* ---------- logo ---------- */
#LeftArtwork {
  top: -150px;
  height: 140px;
  width: 170px;
  left: 5px;
}
#BzLogo {
  position: absolute;
  top: -5px;
  left: -13px;
  image-rendering: pixelated;
  border: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .65));
}

/* ---------- left menu (rounded plates + Fondamento labels) ---------- */
.MenuButton {
  height: 34px;
}
.MenuButton .Button {
  height: 34px;
}
.menufonts {
  position: absolute;
  top: 3px;
  left: 33px;
  width: 110px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  color: #ffd698;
  font-family: 'Fondamento', cursive;
  font-size: 21px;
  font-weight: 400;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #2c2c2c, -1px 1px 0 #000, 1px 1px 0 #000;
  white-space: nowrap;
  user-select: none;
  z-index: 3;
}
.MenuButton .Icon {
  top: 1px;
  z-index: 3;
}
.MenuButton .Extend, .MenuButton .Lights {
  z-index: 3;
}

/* ---------- shared stone frame (left boxes) ---------- */
.BzSideBox {
  position: relative;
  width: 180px;
  text-align: left;
}
.BzLeftBox {
  margin: 0 0 30px 0;
}
.BzLoginBox {
  margin-top: 0;
}
.BzFrameTop, .BzFrameBottom {
  width: 180px;
  height: 12px;
  background-repeat: no-repeat;
}
.BzFrameBody {
  position: relative;
  margin: 0 5px;
  width: 170px;
  background: url(images/loginbox/loginbox-textfield-background.gif) repeat;
  text-align: center;
  padding: 5px 0 4px;
}
.BzFrameBody::before, .BzFrameBody::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  background: url(images/general/chain.gif) repeat-y;
}
.BzFrameBody::before { left: -5px; }
.BzFrameBody::after { right: -4px; }

/* medium blue buttons (Play Now / Download) */
.BzMButton {
  position: relative;
  display: block;
  width: 150px;
  height: 37px;
  margin: 0 auto;
  background: url(images/bz/mbutton.gif) no-repeat;
}
.BzMButton img {
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
}
.BzMButton .BzMButtonOver {
  visibility: hidden;
}
.BzMButton:hover .BzMButtonOver {
  visibility: visible;
}
.BzMButton:active .BzMButtonLabel {
  top: 1px;
}
.BzLoginText {
  display: inline-block;
  margin-top: 2px;
  padding: 0 14px;
  font: 11px Verdana, Arial, sans-serif;
  color: #c9c1b0;
  text-decoration: none;
  background: rgba(0, 0, 0, .35);
}
.BzLoginText:hover {
  color: #fff;
}

/* ---------- right column: parchment themeboxes ---------- */
#Themeboxes {
  padding-top: 0;
}
#Themeboxes .BzTheme {
  position: relative;
  width: 180px;
  margin: 0 0 12px 0;
  min-height: 114px;
  padding: 44px 0 34px;
  box-sizing: border-box;
  background-position: top left, bottom left, top left;
  background-repeat: no-repeat, no-repeat, repeat-y;
  text-align: left;
}
.BzThemeHead {
  position: absolute;
  top: 6px;
  left: 10px;
  right: 10px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.BzThemeHead img {
  position: absolute;
  left: 0;
  top: -1px;
}
.BzThemeHead span {
  padding-left: 22px;
  color: #ffd698;
  font-family: 'Fondamento', cursive;
  font-size: 20px;
  line-height: 28px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #2c2c2c, -1px 1px 0 #000, 1px 1px 0 #000;
  white-space: nowrap;
}
.BzThemeBody {
  position: relative;
  margin: 0 16px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  color: #5a2800;
}
.BzThemeBody a {
  color: #004294;
  font-weight: bold;
  text-decoration: none;
}
.BzThemeBody a:hover {
  text-decoration: underline;
}
.BzTop {
  list-style: none;
  margin: 0 -4px;
  padding: 0;
}
.BzTop li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(90, 40, 0, .15);
}
.BzTop li:last-child {
  border-bottom: 0;
}
.BzOutfit {
  position: relative;
  flex: 0 0 42px;
  height: 40px;
  overflow: visible;
}
.BzOutfit img {
  position: absolute;
  right: -2px;
  bottom: -2px;
  image-rendering: pixelated;
}
.BzTopText {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-left: 8px;
  line-height: 12px;
}
.BzRank {
  color: #5a2800;
  font-weight: bold;
}
.BzTop a {
  word-break: break-word;
}
.BzTop a.BzOn::after {
  content: " \25CF";
  color: #1d9a1d;
  font-size: 8px;
  vertical-align: 1px;
}
.BzLvl {
  display: block;
  font-size: 10px;
  color: #5a2800;
}
.BzMore {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 10px;
}
.BzCastle, .BzSupport {
  text-align: center;
  line-height: 16px;
}
.BzCastle img {
  display: block;
  margin: 2px auto 4px;
}
.BzCastle small {
  display: block;
  color: #7a5a3a;
}
.BzCastleNone {
  padding: 4px 0 2px;
}
.BzCastleTime {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(90, 40, 0, .2);
  color: #9a1a1a;
  font-weight: bold;
}

/* ---------- center: server information ---------- */
#BzServerInfo {
  margin-bottom: 10px;
}
.BzPanel {
  border: 1px solid #3b2f22;
  margin: 2px 0 10px;
  background: rgba(255, 248, 230, .55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.BzPanel:last-child {
  margin-bottom: 2px;
}
.BzPanelHead {
  background: linear-gradient(#1f4643, #0d2e2b);
  color: #f0d1a4;
  font: bold 12px Verdana, Arial, sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 8px;
  border-bottom: 1px solid #000;
}
.BzPanelBody {
  padding: 10px 12px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  color: #3a2c1c;
}
.BzCenter {
  text-align: center;
}
.BzStats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-bottom: 8px;
}
.BzOn { color: #1d8a1d; font-style: normal; font-weight: bold; }
.BzOff { color: #b31a1a; font-style: normal; font-weight: bold; }
.BzLinkBig {
  display: inline-block;
  font-weight: bold;
  font-size: 13px;
  color: #004294;
}
.BzWelcome {
  margin: 10px 0 0;
  line-height: 18px;
}
.BzGuilds {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.BzGuilds .BzGuild {
  flex: 0 1 24%;
}
.BzGuild {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border: 1px solid #5a4a36;
  border-radius: 6px;
  background: linear-gradient(#fbf3e2, #e9dcc0);
  text-decoration: none;
  transition: transform .12s, box-shadow .12s;
}
.BzGuild:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  text-decoration: none;
}
.BzGuild img {
  margin-bottom: 4px;
}
.BzGuildName {
  font-weight: bold;
  color: #004294;
  text-align: center;
  word-break: break-word;
}
.BzGuildKills {
  font-size: 11px;
  color: #6b1a1a;
  font-weight: bold;
}

/* footer */
#Footer {
  color: #8f7f63;
  padding-top: 6px;
  text-shadow: 0 1px 2px #000, 0 0 4px #000;
}
#Footer a:link, #Footer a:visited {
  color: #c9a96a;
}

/* submenu like the reference: white labels, orange hover, gold chains */
.SubmenuitemLabel {
  padding-left: 22px;
  border-bottom: 1px solid #14433F;
  color: #fff;
  font-size: 13px;
}
.Submenu a:link, .Submenu a:visited, .Submenu a:focus {
  color: #fff;
}
.Submenu a:hover .SubmenuitemLabel, .Submenu a:active .SubmenuitemLabel {
  color: #f38310;
}

/* ---------- titulo Real Baiak no topo ---------- */
#BzTitle {
  position: absolute;
  top: -158px;
  left: 205px;
  right: 205px;
  height: 156px;
  text-align: center;
  z-index: 5;
}
#BzTitle img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* "V 8.60" dentro da caixa preta do logo da esquerda */
#BzVersion {
  position: absolute;
  top: 116px;
  left: 34px;
  width: 105px;
  height: 26px;
  line-height: 27px;
  text-align: center;
  font-family: 'Fondamento', cursive;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .5px;
  color: #dba61e;
  text-shadow: -1px -1px 0 #1a0a02, 1px -1px 0 #1a0a02, -1px 1px 0 #1a0a02, 1px 1px 0 #1a0a02;
  pointer-events: none;
  z-index: 3;
}
/* mesmo degrade das letras do logo (claro em cima, ouro no meio) */
#BzVersion::after {
  content: attr(data-t);
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #feefaa 30%, #f9d674 45%, #ecbe3f 60%, #dba61e 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* ---------- caixa Eventos (proximo evento + contagem regressiva) ---------- */
.BzEvents {
  text-align: center;
  line-height: 15px;
}
.BzEvLabel {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #7a5a3a;
}
.BzThemeBody a.BzEvNext {
  display: block;
  margin: 4px 0 2px;
  padding: 6px 4px;
  border-radius: 6px;
  background: linear-gradient(#5a0d0d, #3a0808);
  border: 1px solid #2a0505;
  box-shadow: inset 0 0 0 1px rgba(255, 217, 138, .25);
  color: #ffd77a;
  text-decoration: none;
}
.BzThemeBody a.BzEvNext:hover {
  filter: brightness(1.15);
  text-decoration: none;
}
.BzEvIc {
  display: block;
  font-size: 24px;
  line-height: 28px;
}
.BzEvName {
  display: block;
  font-weight: bold;
  font-size: 12px;
  text-shadow: 1px 1px 0 #000;
}
.BzEvAt {
  display: block;
  font-size: 10px;
  color: #f3d9a8;
}
.BzEvCd {
  margin: 4px 0 6px;
  font: bold 14px Consolas, monospace;
  color: #9a1a1a;
}
.BzEvList {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  border-top: 1px solid rgba(90, 40, 0, .2);
  text-align: left;
  font-size: 11px;
}
.BzEvList li {
  padding: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.BzEvList b {
  font-family: Consolas, monospace;
  color: #5a0d0d;
}
.BzEvAll {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 10px;
}

/* ---------- news: Top Frags / Top XP da semana ---------- */
.BzTops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.BzTops5 .BzTopCard { flex: 0 1 calc((100% - 32px) / 5); }
.BzTops3 .BzTopCard { flex: 0 1 calc((100% - 16px) / 3); }
.BzTopCard {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 4px 8px;
  border: 1px solid #5a4a36;
  border-radius: 6px;
  background: linear-gradient(#fbf3e2, #e9dcc0);
  text-decoration: none !important;
  min-width: 0;
  transition: transform .12s, box-shadow .12s;
}
.BzTopCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.BzTopFirst {
  border-color: #c9922e;
  background: linear-gradient(#fff3cf, #ecd6a6);
  box-shadow: 0 0 0 1px rgba(201, 146, 46, .5);
}
.BzTopPos {
  position: absolute;
  left: 6px;
  top: 4px;
  font: bold 16px/1 Verdana, sans-serif;
  color: #5a3a1a;
}
.BzTopLook {
  height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.BzTopLook img {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  margin: -8px 0 -2px -16px;
}
.BzTopName {
  font-weight: bold;
  font-size: 12px;
  color: #004294;
  text-align: center;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.BzTopVal {
  font-weight: bold;
  font-size: 12px;
  color: #8b1a0c;
}
.BzTopCard small {
  font-size: 10px;
  color: #6b5a45;
}
.BzTopEmpty {
  flex: 1 1 100%;
  text-align: center;
  font-style: italic;
  color: #5a3a1a;
  padding: 6px;
}
.BzTopNote {
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
  color: #6b5a45;
}
@media (max-width: 700px) {
  .BzTops5 .BzTopCard { flex-basis: calc((100% - 8px) / 2); }
  .BzTops3 .BzTopCard { flex-basis: 100%; }
}
.BzTopLogo img {
  width: 56px;
  height: 56px;
  margin: 0 0 2px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
}
.BzTopPrizes, .BzTopChamps {
  margin-top: 8px;
  padding: 6px 8px;
  border: 1px dashed #b89a72;
  border-radius: 6px;
  background: rgba(255, 248, 230, .7);
  text-align: center;
  font-size: 11px;
  color: #3a2a14;
  line-height: 1.6;
}
.BzTopChamps span {
  display: inline-block;
  margin: 0 6px;
  white-space: nowrap;
}

/* ---------- coluna da direita no estilo escuro do menu da esquerda ---------- */
#Themeboxes .BzDarkBox {
  margin: 0 0 14px 0;
}
.BzDarkBody {
  text-align: left;
  padding: 3px 0 8px;
}
.BzDarkHead {
  width: 170px;
  height: 34px;
  margin: 0 0 6px;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.BzDarkHead span {
  color: #ffd698;
  font-family: 'Fondamento', cursive;
  font-size: 20px;
  line-height: 28px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #2c2c2c, -1px 1px 0 #000, 1px 1px 0 #000;
  white-space: nowrap;
}
.BzDarkBox .BzThemeBody {
  margin: 0 10px;
  color: #e6dac4;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .6);
}
.BzDarkBox .BzThemeBody a {
  color: #ffd698;
}
.BzDarkBox .BzThemeBody a:hover {
  color: #fff;
}
/* Top Level */
.BzDarkBox .BzTop li {
  border-bottom-color: rgba(255, 214, 152, .15);
}
.BzDarkBox .BzRank {
  color: #c9b38e;
}
.BzDarkBox .BzLvl {
  color: #c9b38e;
}
.BzDarkBox .BzLvl b {
  color: #fff;
}
.BzDarkBox .BzTop a.BzOn::after {
  color: #3fd13f;
}
/* Eventos */
.BzDarkBox .BzEvLabel {
  color: #c9b38e;
}
.BzDarkBox .BzThemeBody a.BzEvNext {
  background: linear-gradient(#123d37, #0a2420);
  border-color: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 152, .35);
}
.BzDarkBox .BzEvCd {
  color: #ffd698;
}
.BzDarkBox .BzEvList {
  border-top-color: rgba(255, 214, 152, .2);
}
.BzDarkBox .BzEvList b {
  color: #ffd698;
}
.BzDarkBox .BzEvList a {
  color: #e6dac4;
  font-weight: normal;
}
/* War Castle / Suporte */
.BzDarkBox .BzCastle small {
  color: #c9b38e;
}
.BzDarkBox .BzCastleTime {
  color: #ffd698;
  border-top-color: rgba(255, 214, 152, .2);
}
/* basic.css zera o fundo de "#Themeboxes div"; devolve a textura de pedra e a moldura */
#Themeboxes .BzDarkBox .BzDarkBody {
  background: url(images/loginbox/loginbox-textfield-background.gif) repeat;
}
#Themeboxes .BzDarkBox .BzFrameBody::before,
#Themeboxes .BzDarkBox .BzFrameBody::after {
  background: url(images/general/chain.gif) repeat-y;
}
#Themeboxes .BzDarkBox .BzFrameTop,
#Themeboxes .BzDarkBox .BzFrameBottom,
#Themeboxes .BzDarkBox .BzDarkHead {
  background-repeat: no-repeat !important;
}
/* contraste do texto sobre a pedra (contorno preto como no menu) */
.BzDarkBox .BzThemeBody {
  color: #fbf1dc;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 3px #000;
}
.BzDarkBox .BzThemeBody a {
  color: #ffcf4a;
}
.BzDarkBox .BzRank,
.BzDarkBox .BzLvl,
.BzDarkBox .BzEvLabel,
.BzDarkBox .BzCastle small {
  color: #eadbbd;
}
.BzDarkBox .BzEvList a {
  color: #fbf1dc;
}
.BzDarkBox .BzEvCd,
.BzDarkBox .BzEvList b,
.BzDarkBox .BzCastleTime {
  color: #ffcf4a;
}
/* pedra mais escura atras do conteudo da coluna da direita */
#Themeboxes .BzDarkBox .BzDarkBody {
  background: linear-gradient(rgba(10, 8, 6, .5), rgba(10, 8, 6, .5)), url(images/loginbox/loginbox-textfield-background.gif) repeat;
}
/* Top Level / Top Reborn: bloco centralizado na caixa */
.BzDarkBox .BzTop {
  margin: 0;
}
.BzDarkBox .BzTop li {
  justify-content: flex-start;
  padding-left: 10px;
}
.BzDarkBox .BzTopText {
  flex: 0 1 auto;
}
.BzDarkBox .BzMore {
  text-align: center;
}
.BzRebornNone {
  text-align: center;
  line-height: 16px;
  padding: 4px 0 2px;
}
.BzRebornNone small {
  color: #eadbbd;
}
/* Top Level / Top Reborn compactos (2026-11-12): outfit mais a esquerda, nome numa linha so */
.BzTop { margin: 0 -4px 0 -12px; }
.BzOutfit { flex: 0 0 34px; }
.BzOutfit img { right: -4px; }
.BzTopText { flex: 1 1 auto; padding-left: 4px; overflow: hidden; }
.BzTop .BzTopText a {
  display: inline;
  white-space: nowrap;
  word-break: normal;
}
.BzTopText { white-space: nowrap; text-overflow: ellipsis; }
.BzTopText .BzLvl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Card da página de Bosses na página inicial (2026-11-13) */
.BzBossBanner{display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:10px 12px;border:2px solid #350404;border-radius:10px;background:linear-gradient(90deg,#2a0606,#5a0d0d 55%,#3a0a0a);color:#fff !important;text-decoration:none !important;box-shadow:0 3px 6px rgba(0,0,0,.35);flex-wrap:wrap}
.BzBossBanner:hover{filter:brightness(1.12)}
.BzBossPics{display:flex;align-items:flex-end;gap:2px;flex:0 0 auto}
.BzBossPics img{height:40px;image-rendering:pixelated}
.BzBossText{flex:1;min-width:200px;display:flex;flex-direction:column;gap:3px;font-size:14px;color:#fff}
.BzBossText small{font-size:11px;color:#f3d9a8;line-height:1.45}
.BzBossBtn{flex:0 0 auto;background:#ffd77a;color:#3a0a0a;font-weight:bold;font-size:12px;border-radius:6px;padding:6px 12px}
@media(max-width:600px){.BzBossPics img{height:30px}.BzBossBtn{width:100%;text-align:center}}
/* Card da página de Roletas na página inicial (2026-11-13) */
.BzRolBanner{background:linear-gradient(90deg,#1e0a2a,#4a1460 55%,#2a0a3a);border-color:#22042e}
.BzRolPics{gap:3px}
.BzRolPics img{height:32px;width:32px;border-radius:5px;background:radial-gradient(circle at 50% 40%,#6b5644,#2a211b)}
@media(max-width:600px){.BzRolPics img{height:26px;width:26px}}
/* Card de Outfits e Montarias do Shop na página inicial (2026-11-13) */
.BzOmBanner{background:linear-gradient(90deg,#0a2410,#145a2a 55%,#0a3a1a);border-color:#042e10}
.BzOmPics img{height:44px;max-width:52px;object-fit:contain}
@media(max-width:600px){.BzOmPics img{height:32px;max-width:38px}}
.BzRebornLinks {
	text-align: center;
	font-size: 10px;
	padding: 4px 0 2px;
}
.BzRebornLinks a {
	color: #ffd77a !important;
}
