/* Calmera RPG | Comunidade - somente interior das sete paginas.
   Nao afeta menu lateral, trade off, biblioteca, forum, suporte ou loja. */
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(button,input[type="submit"],input[type="button"],input[type="reset"]):not(.ButtonText),
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent .OldStyller-submit,
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent .OldStyllerSearchButton {
  appearance:none;-webkit-appearance:none;box-sizing:border-box;min-width:94px;min-height:30px;max-width:100%;
  padding:6px 14px;margin:3px 4px;vertical-align:middle;
  background:linear-gradient(180deg,#315b75 0%,#1b405b 55%,#10283e 100%)!important;
  border:1px solid #b69a64!important;border-radius:3px!important;
  box-shadow:inset 0 1px 0 rgba(255,241,205,.22),0 2px 2px rgba(35,24,12,.2)!important;
  color:#fff1d3!important;font:700 11px/1.35 Verdana,Arial,sans-serif!important;
  text-shadow:0 1px 1px #0a1d2d!important;text-decoration:none!important;cursor:pointer;
}
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(button,input[type="submit"],input[type="button"],input[type="reset"]):not(.ButtonText):hover,
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent .OldStyller-submit:hover {
  background:linear-gradient(180deg,#436f8a,#214964)!important;border-color:#e0bd77!important;color:#fffbea!important;
}
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(button,input[type="submit"],input[type="button"],a):focus-visible {
  outline:2px solid #d9b56e;outline-offset:2px;
}
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(input[type="text"],input[type="email"],select,textarea) {
  box-sizing:border-box;max-width:100%;border:1px solid #a48a61;border-radius:3px;color:#322618;background-color:#fff9ed;
}
/* Highscores: abas com a mesma linguagem visual dos formularios. */
html body #ContentColumn #highscores .hs-tabs a.hs-tab {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:32px;margin:3px;padding:7px 11px;background:linear-gradient(#315b75,#18374f)!important;
  border:1px solid #b69a64!important;border-radius:3px;color:#fff1d3!important;
  font:700 11px/1.3 Verdana,Arial,sans-serif;text-decoration:none;text-shadow:0 1px #102536;
}
html body #ContentColumn #highscores .hs-tabs a.hs-tab:is(:hover,.active) {
  background:linear-gradient(#47748c,#214b65)!important;border-color:#e0bd77!important;color:#fffbea!important;
}
/* Guilds: imagens antigas de botoes internas recebem enquadramento uniforme,
   preservando o comportamento de links e forms do PHP legado. */
html body #ContentColumn #guilds .BoxContent a:has(> img[src*="/images/buttons/sbutton_"]) {
  display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
  box-sizing:border-box;min-height:29px;margin:3px 4px;padding:3px 6px;
  background:linear-gradient(#315b75,#18374f);border:1px solid #b69a64;border-radius:3px;
  text-decoration:none;box-shadow:inset 0 1px rgba(255,241,205,.2);
}
html body #ContentColumn #guilds .BoxContent a:has(> img[src*="/images/buttons/sbutton_"]):hover {
  background:linear-gradient(#47748c,#214b65);border-color:#e0bd77;
}
html body #ContentColumn #guilds .BoxContent a > img[src*="/images/buttons/sbutton_"] {
  display:block;max-width:100%;height:auto;vertical-align:middle;
}
@media(max-width:700px){
  html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(button,input[type="submit"],input[type="button"]){white-space:normal;}
  html body #ContentColumn #highscores .hs-tabs a.hs-tab{white-space:normal;}
}

/* 18/11 - Acabamento das barras grossas internas (nao sao botoes).
   Escopo: apenas caixas centrais das sete paginas da Comunidade. */
html body #ContentColumn #whoisonline .BoxContent :is(.OldStyller-title,.OldStyller-voc-name,.OldStyller-status-head,.OldStyller-list-head,.OldStyller-search-title),
html body #ContentColumn #whoisonline .BoxContent .OldStyller-online-table th,
html body #ContentColumn #guilds .BoxContent .OldstyllerGuildTableHead td,
html body #ContentColumn :is(#characters,#guilds,#killstatistics,#fragers,#wars) .BoxContent .TableContent > table > tbody > tr:first-child > td[style*="background"],
html body #ContentColumn :is(#characters,#guilds,#killstatistics,#fragers,#wars) .BoxContent table tr[bgcolor="#505050"] > td {
  background:linear-gradient(180deg,#2e536e 0%,#17364e 100%)!important;
  color:#fff1d3!important;
  border-color:#a98c56!important;
  text-shadow:0 1px 1px #0c2436!important;
}
/* Bordas de tabelas e paineis internos: finas, discretas e douradas. */
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(.TableContainer,.InnerTableContainer,.OldStyller-status,.OldStyller-search,.OldStyller-vocations,.OldStyller-online-table,.OldStyllerDeaths__table,.hs-wrap,.hs-tabs,.hs-subbar,.hs-table) {
  border-color:#a98c56!important;
}
/* Ranking: cabecalhos e faixa de navegacao sem grandes massas marrons. */
html body #ContentColumn #highscores .BoxContent :is(.hs-subbar,.hs-table th) {
  background:linear-gradient(180deg,#2e536e,#17364e)!important;
  color:#fff1d3!important;
  border-color:#a98c56!important;
}
/* Apenas o acabamento das bordas grossas internas; nao altera Border_1/2/3 externos. */
html body #ContentColumn :is(#characters,#whoisonline,#highscores,#killstatistics,#wars,#fragers,#guilds) .BoxContent :is(.OldStyller-search,.OldStyller-status,.hs-wrap) {
  box-shadow:inset 0 0 0 1px rgba(231,197,126,.12)!important;
}

/* Guild Wars: cabeçalhos legíveis e coerentes com o azul da Comunidade. */
html body #ContentColumn #wars .BoxContent table tr[bgcolor="#505050"] > td,
html body #ContentColumn #wars .BoxContent table td[style*="background: #512e0b"],
html body #ContentColumn #wars .BoxContent table td[style*="background:#512e0b"] {
  background:linear-gradient(180deg,#2e536e,#17364e)!important;
  color:#fff3d9!important;
  border-color:#a98c56!important;
  text-shadow:0 1px 1px #0c2436!important;
}
html body #ContentColumn #wars .BoxContent table tr[bgcolor="#505050"] > td :is(font,strong,b,center,a,span),
html body #ContentColumn #wars .BoxContent table td[style*="background: #512e0b"] :is(font,strong,b,center,a,span),
html body #ContentColumn #wars .BoxContent table td[style*="background:#512e0b"] :is(font,strong,b,center,a,span) {
  color:#fff3d9!important;
  text-shadow:0 1px 1px #0c2436!important;
}
