Ir para o conteúdo

MediaWiki:Common.css: diferenças entre revisões

De Atlax - Wiki
Sem resumo de edição
Sem resumo de edição
 
(Há 47 edições intermédias do mesmo utilizador que não estão a ser apresentadas)
Linha 1: Linha 1:
/* ===================================================== */
/* ===================================================== */
/* 🔧 CONTROLO DE LARGURA (AJUSTA SÓ AQUI)              */
/* CSS NOVO - BASE OFICIAL + TAMANHO/FUNDO DO TEU WIKI  */
/* ===================================================== */
/* ===================================================== */
:root {
  --page-max-width: 1300px;  /* 👈 diminui isto */
  --content-max-width: 1280px;
  --wrapper-width: calc(100%);
}


/* ===================================================== */
/* ===================================================== */
/* FUNDO GLOBAL                                          */
/* FUNDO: MANTER O TEU                                  */
/* ===================================================== */
/* ===================================================== */


html, body {
body {
   height: 100%;
   background-color: #000;
  background-image:
    url('https://pt-wiki.metin2.gameforge.com/images/1/16/Neve.gif'),
    url('https://tr-wiki.metin2.gameforge.com/images/9/9d/Metin2_25.2_Background_Wiki.jpg');
  background-repeat: repeat, no-repeat;
  background-position: top left, center center;
  background-size: auto, cover;
}
}


html,
body {
body {
   background:
   min-height: 100%;
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
  margin: 0;
    url("/images/imagem_fundo.png") no-repeat center top fixed;
  padding: 0;
   background-size: cover;
}
 
html {
   scroll-behavior: smooth;
}
}


@media screen and (min-width: 851px) {
  html {
    scroll-padding-top: 3.325em;
  }
}


/* ===================================================== */
/* ===================================================== */
/* REMOVE SIDEBAR (IGUAL PARA TODOS)                    */
/* LARGURA: MANTER O TAMANHO DO TEU                      */
/* ===================================================== */
/* ===================================================== */


.vector-column-start,
:root {
#mw-panel,
  --page-max-width: 1100px;
.vector-pinned-container {
  --content-max-width: 1080px;
   display: none !important;
   --wrapper-width: calc(100% - 20px);
}
}


/* ===================================================== */
/* ===================================================== */
/* ÁREA CENTRAL                                          */
/* ESCONDER LATERAIS                                      */
/* ===================================================== */
/* ===================================================== */


.mw-page-container,
.vector-column-start,
.vector-body,
#mw-panel,
.mw-body {
.vector-pinned-container,
  background: #e9d7a8 !important;
.vector-sticky-pinned-container,
  border: 1px solid #7a3b12;
.vector-column-end,
  box-shadow: 0 0 12px rgba(0,0,0,0.45);
.vector-page-tools,
  max-width: var(--page-max-width) !important;
.vector-page-tools-landmark {
   margin: 0 auto !important;
  display: none !important;
}
   width: 0 !important;
.mw-parser-output {
  min-width: 0 !important;
  padding: 0 !important;
   max-width: 0 !important;
}
  flex: 0 0 0 !important;
.mw-content-container {
   margin: 0 !important;
   max-width: none !important;
   margin: 0 auto !important;
   padding: 0 !important;
   padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
}


/* ===================================================== */
/* ===================================================== */
/* HEADER (ESTÁVEL PARA TODOS)                          */
/* TOPO                                                  */
/* ===================================================== */
/* ===================================================== */


#mw-head,
#mw-navigation,
.vector-header-container,
.vector-header-container,
.vector-sticky-header-container,
.vector-sticky-header-container,
Linha 69: Linha 77:
   background: #2b1205 !important;
   background: #2b1205 !important;
   border-bottom: 2px solid #c28b2f !important;
   border-bottom: 2px solid #c28b2f !important;
   box-shadow: 0 2px 8px rgba(0,0,0,0.35);
   box-shadow: none !important;
}
}


/* limpa inconsistências */
.vector-header * {
  background: transparent !important;
}
/* layout fixo */
.vector-header {
.vector-header {
   display: flex;
   display: flex;
Linha 83: Linha 85:
   justify-content: space-between;
   justify-content: space-between;
   gap: 16px;
   gap: 16px;
  min-height: 48px;
}
}


/* logo */
.vector-header .mw-logo-container {
.vector-header .mw-logo-container {
   display: flex;
   display: flex;
Linha 95: Linha 97:
.vector-header .mw-logo img {
.vector-header .mw-logo img {
   max-height: 36px;
   max-height: 36px;
  width: auto;
}
}


/* esconder texto */
.mw-logo-wordmark,
.mw-logo-wordmark,
.mw-logo-tagline {
.mw-logo-tagline {
   display: none !important;
   display: none !important;
}
}


/* ===================================================== */
/* ===================================================== */
/* SEARCH                                                */
/* PESQUISA                                              */
/* ===================================================== */
/* ===================================================== */


.vector-search-box {
.vector-search-box {
   flex: 0 1 420px;
   flex: 0 1 420px;
}
.vector-search-box,
.vector-search-box form,
.vector-search-box-inner {
  background: transparent !important;
}
}


Linha 122: Linha 129:
}
}


/* ===================================================== */
/* ÁREA CENTRAL                                          */
/* ===================================================== */
.mw-page-container {
  max-width: var(--page-max-width) !important;
  margin: 0 auto !important;
  background: #e9d7a8 !important;
  border: 1px solid #7a3b12;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}
.mw-page-container-inner {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.vector-column-main,
.vector-body,
.vector-page-content,
.mw-body,
.mw-content-container,
#content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  flex: 1 1 100% !important;
}
.mw-parser-output {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
#catlinks {
  margin-top: 10px;
}


/* ===================================================== */
/* ===================================================== */
/* BARRA DA PÁGINA                                       */
/* BARRA DA PÁGINA                                       */
/* ===================================================== */
/* ===================================================== */


.vector-page-titlebar,
.vector-page-titlebar,
.vector-page-titlebar-topped,
.vector-page-toolbar,
.vector-page-toolbar,
.vector-page-toolbar-container {
.vector-page-toolbar-container {
   background: #e9d7a8 !important;
   background: #e9d7a8 !important;
   border-bottom: 1px solid #8b1e12 !important;
   border-bottom: 1px solid #8b1e12 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}
.vector-menu-tabs,
.vector-menu-tabs-legacy,
.vector-menu-tabs .vector-menu-content,
.vector-menu-tabs ul,
.vector-menu-tabs li {
  background: #e9d7a8 !important;
  border: none !important;
  box-shadow: none !important;
}
.vector-menu-tabs a {
  background: transparent !important;
  color: #7b1a10 !important;
  border: none !important;
}
.vector-menu-tabs .selected a {
  color: #4e1208 !important;
  font-weight: bold !important;
  border-bottom: 2px solid #8b1e12 !important;
}
.vector-menu-tabs a:hover,
.vector-page-titlebar a:hover,
.vector-page-toolbar a:hover {
  color: #c4311c !important;
  text-decoration: none !important;
}
}


Linha 138: Linha 227:
   color: #a88942 !important;
   color: #a88942 !important;
}
}


/* ===================================================== */
/* ===================================================== */
/* TÍTULO                                               */
/* TÍTULO                                                 */
/* ===================================================== */
/* ===================================================== */


Linha 148: Linha 236:
   font-family: Georgia, serif;
   font-family: Georgia, serif;
   border-bottom: 2px solid #8b1e12;
   border-bottom: 2px solid #8b1e12;
   padding-bottom: 8px;
   padding: 8px 0;
  margin: 0 0 8px 0 !important;
}
 
/* ===================================================== */
/* LINKS                                                  */
/* ===================================================== */
 
a {
  color: #9d1f12;
}
}


a:visited {
  color: #7b1a10;
}
a:hover {
  color: #c4311c;
}


/* ===================================================== */
/* ===================================================== */
/* LINKS                                                */
/* BASE GERAL                                            */
/* ===================================================== */
/* ===================================================== */


a { color: #9d1f12; }
td,
a:visited { color: #7b1a10; }
th {
a:hover { color: #c4311c; }
  padding: 2px;
}
 
#mw-content ul {
  margin-bottom: 0.3em;
}
 
#mw-content ol {
  list-style: none;
  counter-reset: custom-counter;
  margin: 0.3em 0 0.3em 1.6em;
  padding: 0;
}


ol li {
  padding: 0;
  padding-left: 5px;
  counter-increment: custom-counter;
}
ol li::marker {
  content: counter(custom-counter) ".  ";
  font-weight: bold;
}


/* ===================================================== */
/* ===================================================== */
/* HOMEPAGE                                             */
/* HOMEPAGE                                               */
/* ===================================================== */
/* ===================================================== */


Linha 168: Linha 294:
   width: var(--wrapper-width);
   width: var(--wrapper-width);
   max-width: var(--content-max-width);
   max-width: var(--content-max-width);
   margin: 0 auto;
   margin: 12px auto 0 auto;
}
}


Linha 177: Linha 303:
   margin-bottom: 16px;
   margin-bottom: 16px;
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 3px 10px rgba(0,0,0,0.35);
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  position: relative;
  clear: both;
}
}


Linha 187: Linha 315:
   padding: 10px;
   padding: 10px;
   font-size: 18px;
   font-size: 18px;
  line-height: 1.2;
}
}


Linha 194: Linha 323:
   padding: 14px;
   padding: 14px;
}
}


/* ===================================================== */
/* ===================================================== */
/* CLASSES (CARDS)                                      */
/* CLASSES                                               */
/* ===================================================== */
/* ===================================================== */


Linha 213: Linha 341:


.container {
.container {
  display: flex;
  flex-direction: row;
}
.classes-flex .container {
   flex: 0 0 185px;
   flex: 0 0 185px;
   min-width: 185px;
   min-width: 185px;
Linha 219: Linha 352:
}
}


/* remove bug de largura */
.classes-flex .container > div {
.container > div {
   width: 100% !important;
   width: 100% !important;
}
}


/* tabela */
.classes-flex .container table {
.container table {
   width: 100%;
   width: 100%;
   margin: 0 !important;
   margin: 0 !important;
Linha 236: Linha 367:
}
}


/* separadores, se existirem */
.classes-flex > div[style*="border-right"] {
.classes-flex > div[style*="border-right"] {
   flex: 0 0 1px;
   flex: 0 0 1px;
Linha 243: Linha 373:
}
}


/* topo */
.classe-top {
.classe-top {
   text-align: center;
   text-align: center;
   color: #f5df9d;
   color: #f5df9d;
   background: linear-gradient(to right,#36040d,#851515,#36040d);
   background: linear-gradient(to right, #36040d, #851515, #36040d);
   padding: 4px;
   padding: 4px;
}
}


/* base */
.classe-bottom {
.classe-bottom {
   text-align: center;
   text-align: center;
   color: white;
   color: white;
   background: linear-gradient(to right,#36040d,#851515,#36040d);
   background: linear-gradient(to right, #36040d, #851515, #36040d);
   padding: 6px;
   padding: 6px;
}
}


/* tags */
/* ===================================================== */
/* MAPA / CAIXAS                                          */
/* ===================================================== */
 
.map span.mw-collapsible-toggle {
  padding-right: 10px;
}
 
table.map a.mw-collapsible-text,
.prettytable > span.mw-collapsible-toggle,
.prettytable > span.mw-collapsible-toggle > a {
  color: #ffffff;
}
 
.mapa {
  border: 1px solid #2f1d1f;
  border-radius: 15px;
  width: 100%;
  box-shadow: 3px 3px 9px 0px #544e41;
  overflow: hidden;
}
 
.mapa > div:first-child {
  background: repeat url("https://pt-wiki.metin2.gameforge.com/images/8/87/Mapa.png");
  text-align: center;
  color: white;
  line-height: 25px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-weight: bold;
}
 
.mapa > div:nth-child(2) {
  background: transparent;
}
 
#mw-content .heading-wrapper > h2 {
  border-image-slice: 5 0 4 0 fill;
  border-image-width: auto;
  border-image-repeat: repeat;
  border-image-source: url("https://pt-wiki.metin2.gameforge.com/images/8/87/Mapa.png");
}
 
.header-bgxmas {
  background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Fita_Página_Inicial.png") repeat 0em 0em;
}
 
.header-bgxmas2 {
  background: url("https://pt-wiki.metin2.gameforge.com/images/7/70/Preço_IS.png") repeat 0em 0em;
}
 
.nativelooktop {
  background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
  padding: 0;
  width: 190px;
  height: 10px;
}
 
.nativelookbackground {
  background-image: url("https://en-wiki.metin2.gameforge.com/images/1/12/Nativelookbackground.jpg");
  background-repeat: repeat-y;
  padding: 0;
  width: 190px;
}
 
.nativelookbottom {
  background: url("https://en-wiki.metin2.gameforge.com/images/8/8b/Nativelookbottom.jpg") no-repeat;
  padding: 0;
  width: 190px;
  height: 10px;
}
 
/* ===================================================== */
/* SUBPAGE                                                */
/* ===================================================== */
 
ul.subpage {
  display: flex;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  background: rgba(81, 36, 16, 0.3);
  overflow: hidden;
  line-height: 30px;
  white-space: nowrap;
}
 
.subpage a {
  padding-left: 20px;
  background: #512410;
  display: inline-block;
  line-height: 30px;
  position: relative;
  color: #f1de8e;
  cursor: pointer;
}
 
.subpage a:before,
.subpage a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  right: 0;
  padding: 1px 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid white;
  transform: translate(14px);
  z-index: 1;
}
 
.subpage a:after {
  border-left: 14px solid #512410;
  transform: translate(13px);
  z-index: 2;
}
 
.subpage > li:last-child {
  padding-left: 20px;
}
 
ul.subpage > li:first-child {
  flex-shrink: 0;
}
 
ul.subpage > li:first-child > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
}
 
ul.subpage > li > a:hover {
  background: #9d5b37;
}
 
ul.subpage > li > a:hover:after {
  border-left-color: #9d5b37;
}
 
/* ===================================================== */
/* TABELAS                                                */
/* ===================================================== */
 
#mw-content .fondfenetre,
.sub-titulo,
table.pretty-table th,
.fondfenetre {
  background: url("https://pt-wiki.metin2.gameforge.com/images/a/a4/Fundo2.png") repeat;
  color: white;
}
 
.fondfenetre a,
.fondfenetre span,
table.pretty-table th a,
table.pretty-table th span {
  color: white;
}
 
table.pretty-table {
  width: 100%;
  border-collapse: collapse;
}
 
table.pretty-table td {
  padding: 5px 4px;
}
 
table.pretty-table th {
  padding: 2px 4px;
  font-weight: normal;
  font-size: 1.1em;
}
 
table.pretty-table tbody > *:nth-child(2n + 1) > td {
  background: rgba(0, 0, 0, 0.1);
}
 
table.pretty-table tr:hover {
  background: rgba(0, 0, 0, 0.05);
}
 
table.pretty-table tr:first-child > th:first-child {
  border-radius: 8px 0 0 0;
  overflow: hidden;
}
 
table.pretty-table caption {
  margin-top: 10px;
  font-weight: bold;
}
 
table.pretty-table.sortable th.headerSort {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%229%22 viewBox=%220 0 21 9%22%3E %3Cpath fill=%22%23fff%22 d=%22M14.5 5l-4 4-4-4zM14.5 4l-4-4-4 4z%22/%3E %3C/svg%3E");
}
 
table.pretty-table.sortable th.headerSortUp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%224%22 viewBox=%220 0 21 4%22%3E %3Cpath fill=%22%23fff%22 d=%22M6.5 4l4-4 4 4z%22/%3E %3C/svg%3E");
}
 
table.pretty-table.sortable th.headerSortDown {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%224%22 viewBox=%220 0 21 4%22%3E %3Cpath fill=%22%23fff%22 d=%22M14.5 0l-4 4-4-4z%22/%3E %3C/svg%3E");
}
 
table.sticky-header-row thead tr {
  position: sticky;
  top: 0;
  z-index: 10;
}
 
table.sticky-header-column th:first-child {
  position: sticky;
  left: 0;
  z-index: 20;
}
 
.sub-titulo {
  max-width: 180px;
  border: 1px solid black;
  border-radius: 8px;
  color: white;
}
 
/* ===================================================== */
/* EQUIPAMENTOS                                          */
/* ===================================================== */
 
.equip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
 
.equip-item {
  flex: 1 1 90px;
  min-width: 90px;
  max-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  box-sizing: border-box;
}
 
.equip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  text-align: center;
  width: 100%;
}
 
.equip-label {
  font-weight: bold;
}
 
.equip-divider {
  width: 1px;
  background: #35215f;
  margin: 0 2px;
}
 
.list-equip {
  padding: 5px;
  border: 1px solid #2f1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
 
.list-equip > :first-child {
  width: 100%;
  line-height: 25px;
}
 
.list-equip > :first-child > * {
  padding: 0 5px;
}
 
/* ===================================================== */
/* MONSTER / CARDS                                        */
/* ===================================================== */
 
.monster-card {
  border: 1px black solid;
  padding: 5px;
  max-width: 445px;
  box-sizing: border-box;
}
 
.monster-card > :first-child {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  line-height: 25px;
  padding: 0 5px;
  white-space: nowrap;
}
 
.monster-card > :nth-child(2) {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
 
.monster-card > :nth-child(5) {
  display: grid;
  justify-content: center;
  align-items: start;
}
 
/* ===================================================== */
/* BOTÕES / TABS                                          */
/* ===================================================== */
 
button.brown {
  background: #651e10;
}
 
button.brown-transparent {
  background: #651e10cc;
}
 
button.brown:hover,
button.brown:focus {
  background: #551a0e;
}
 
button.red {
  background: #ef4444;
}
 
button.red:hover,
button.red:focus {
  background: #b91c1c;
}
 
button:active {
  opacity: 0.8;
}
 
.button {
  border: 2px solid grey;
  padding: 0 12px;
  line-height: 25px;
  border-radius: 16px;
  background: rgba(234, 234, 234);
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  white-space: nowrap;
}
 
.button:hover {
  background: transparent;
}
 
.tabber-active.button {
  background: rgba(75, 85, 95);
  color: white;
  border: 2px solid rgba(75, 85, 95);
  font-weight: bold;
}
 
 
.tab-glob {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
  column-gap: 2px;
  align-items: flex-start;
}
 
.tab-glob > :first-child {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 2px;
}
 
.tab-glob > :first-child > * {
  border: 1px black solid;
}
 
.tab-glob > :first-child > *:not(.fondfenetre) {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
 
.tab-glob > :nth-child(2) {
  width: 100%;
  overflow-x: auto;
}
 
.tab-glob > :nth-child(2) > :first-child {
  display: grid;
  grid-template-columns: repeat(10, minmax(75px, 1fr));
  gap: 2px;
}
 
.tab-glob > :nth-child(2) > :first-child > * {
  border: 1px black solid;
}
 
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
  display: flex;
}
 
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
  margin: auto;
}
 
/* ===================================================== */
/* MODAL / POPUP                                          */
/* ===================================================== */
 
.modal {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
 
.close-button {
  transition: color 0.2s linear, background-color 0.2s linear;
}
 
.close-button:hover {
  background-color: red;
  color: #ffffff;
}
 
.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
 
.popContenu {
  display: inline-block;
  transition: all 0.4s ease;
}
 
.popInfo:hover .popContenu {
  opacity: 1 !important;
  transition: all 0.4s ease;
}
 
.pop-parent:hover .pop-content {
  opacity: 1;
  transition: opacity 0.4s ease;
}
 
.pop-content {
  opacity: 0;
}
 
/* ===================================================== */
/* TOOLTIP                                                */
/* ===================================================== */
 
.tooltip-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M443-285h75v-234h-75v234Zm36.895-311Q496-596 507-606.895q11-10.894 11-27Q518-650 507.105-661q-10.894-11-27-11Q464-672 453-661.105q-11 10.894-11 27Q442-618 452.895-607q10.894 11 27 11ZM480-90q-80.907 0-152.065-30.763-71.159-30.763-123.797-83.5Q151.5-257 120.75-328.087 90-399.175 90-480q0-80.907 30.763-152.065 30.763-71.159 83.5-123.797Q257-808.5 328.087-839.25 399.175-870 480-870q80.907 0 152.065 30.763 71.159 30.763 123.797 83.5Q808.5-703 839.25-631.913 870-560.825 870-480q0 80.907-30.763 152.065-30.763 71.159-83.5 123.797Q703-151.5 631.913-120.75 560.825-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
 
.tooltip-info {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 290px;
  width: max-content;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
 
.tooltip-info:after {
  content: "";
  border: 8px solid transparent;
  border-top-color: inherit;
  position: absolute;
  left: calc(50% - 8px);
  top: 100%;
  z-index: 50;
}
 
.tooltip-icon:hover > .tooltip-info {
  opacity: 1;
  visibility: visible;
}
 
/* ===================================================== */
/* COLLAPSIBLE                                            */
/* ===================================================== */
 
.improved-collapsible > .mw-collapsible-toggle {
  grid-area: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float: initial;
  z-index: 1;
  padding-right: 5px;
}
 
.improved-collapsible .mw-collapsible-toggle:before {
  content: "";
}
 
.improved-collapsible .mw-collapsible-text {
  display: none;
}
 
.improved-collapsible .mw-collapsible-toggle:after {
  width: 32px;
  height: 32px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}
 
.improved-collapsible .mw-collapsible-toggle-expanded:after {
  transform: rotate(-180deg);
}
 
/* ===================================================== */
/* IMAGENS / TEXTO                                        */
/* ===================================================== */
 
.shop-img img {
  height: auto;
  width: auto;
  max-height: 130px;
  max-width: 130px;
}
 
.image-sizing img,
.image-sizing-200 img,
.image-sizing-none img {
  height: auto;
  width: auto;
  max-height: 300px;
  max-width: 100%;
}
 
.image-sizing-200 img {
  max-height: 200px;
}
 
.image-sizing-none img {
  max-height: none;
}
 
.texte-long,
.texte-long-2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
 
.texte-long:hover,
.texte-long-2:hover {
  white-space: normal;
}
 
/* ===================================================== */
/* LISTAS / FLEX                                          */
/* ===================================================== */
 
div.ul-res ul {
  margin: 0;
  list-style: none;
}
 
.ul-row ul {
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;
  overflow: hidden;
  margin: 0;
  list-style-image: none;
}
 
.flex {
  display: flex;
}
 
.info-boutique ul {
  list-style-image: none;
}
 
.info-boutique p:last-child {
  margin-bottom: 0;
}
 
#mw-content .soulignement > a:link {
  text-decoration: none;
}
 
/* ===================================================== */
/* GAME WINDOW / BORDAS                                  */
/* ===================================================== */
 
.mapajanela,
.game-window {
  border: solid;
  border-image: url("https://pt-wiki.metin2.gameforge.com/images/8/8d/Mapajanela.png") 11 fill / auto / 0 repeat;
  padding: 10px;
  backdrop-filter: blur(4px);
}
 
.modeloAnuncio {
  border-image: url("https://pt-wiki.metin2.gameforge.com/images/f/f9/ModeloAnuncio.png") 17 35 3 fill / auto / 0 repeat;
}
 
.tablo {
  border: solid;
  border-image: url(https://pt-wiki.metin2.gameforge.com/images/5/51/Borda_Mapas.png);
  border-image-repeat: repeat;
  border-image-slice: 6 fill;
  border-image-width: auto;
  padding: 2px;
  display: inline-block;
}
 
.tablo img {
  vertical-align: bottom;
}
 
.CartaMonstroBackground {
  background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Carta_Monstro_Background.png") repeat 0em 0em;
}
 
/* ===================================================== */
/* FORMULÁRIOS                                            */
/* ===================================================== */
 
input,
input[type="checkbox"],
select {
  border: 3px #d0e0e3 solid;
}
 
input[type="checkbox"] {
  background-color: white;
}
 
input[type="checkbox"]:checked {
  background-color: #19bd94;
  border: none;
  position: relative;
}
 
input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  background: transparent;
  left: 20%;
  top: 20%;
  width: 45%;
  height: 25%;
  transform: rotate(-45deg);
  border: 0.18em white solid;
  border-top: none;
  border-right: none;
}
 
input:focus,
select:focus {
  border: 3px rgb(102, 175, 233) solid;
}
 
input:focus:not([type='checkbox']),
select:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}
 
.label-hover label:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
 
/* ===================================================== */
/* TECLAS / TAGS                                          */
/* ===================================================== */
 
kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgb(0 0 0 / 20%), 0 2px 0 0 rgb(255 255 255 / 70%) inset;
  color: #333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}
 
.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; }
.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; }
.tag-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; }
.tag-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; }
Linha 266: Linha 1 109:


/* ===================================================== */
/* ===================================================== */
/* RESPONSIVO                                           */
/* TOP BUTTON                                            */
/* ===================================================== */
 
.top-button {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  cursor: pointer;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    180deg,
    rgba(124, 200, 65, 1) 0%,
    rgba(113, 161, 85, 1) 50%,
    rgba(64, 117, 39, 1) 50%,
    rgba(46, 97, 31, 1) 100%
  );
  border: 1px solid #d0af52;
  box-shadow: 1px 1px 2px #000, inset 1px 1px #090200, inset -1px -1px #090200;
  transform: translateY(100px);
  transition: all 0.5s ease;
}
 
.top-button:after {
  content: "";
  height: 32px;
  width: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fffacb' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='m296-345-56-56 240-240 240 240-56 56-184-184-184 184Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
 
.show-button {
  opacity: 1;
  transform: translateY(0);
}
 
/* ===================================================== */
/* VISIBILIDADE                                          */
/* ===================================================== */
 
.cacheOrdi,
.gen-active {
  display: block;
}
 
/* ===================================================== */
/* ANIMAÇÕES                                              */
/* ===================================================== */
 
@keyframes pnj-square {
  from {
    background-color: #f80000;
  }
  to {
    background-color: white;
  }
}
 
@keyframes pnj-circle {
  from {
    border-color: #984c48;
    scale: 1;
  }
  to {
    border-color: white;
    scale: 0.1;
  }
}
 
@keyframes loading {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
 
/* ===================================================== */
/* FOOTER                                                */
/* ===================================================== */
 
#footer {
  max-width: var(--page-max-width);
  margin: 0 auto !important;
  background: #e9d7a8 !important;
  border-top: 1px solid #8b1e12;
  padding: 20px;
  box-sizing: border-box;
}
 
/* ===================================================== */
/* RESPONSIVO                                             */
/* ===================================================== */
/* ===================================================== */


Linha 275: Linha 1 214:
   }
   }


   .container {
   .classes-flex .container {
     flex: 0 0 185px;
     flex: 0 0 185px;
     min-width: 185px;
     min-width: 185px;
     max-width: 185px;
     max-width: 185px;
  }
  .equip-divider {
    display: none;
  }
  .equip-item {
    flex: 1 1 120px;
    max-width: none;
  }
}
@media screen and (max-width: 768px) {
  .texte-long {
    white-space: normal;
    overflow: visible;
  }
  .grid2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .grid3 {
    grid-template-columns: repeat(3, auto) !important;
  }
  .container {
    flex-direction: column;
  }
  .cacheTel,
  .subpage > li:nth-last-child(2) > a {
    display: block;
  }
  .top-button {
    background: rgba(0, 0, 0, 0.7);
    color: #999;
    border: none;
    box-shadow: none;
  }
  .top-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M440-80v-647L256-544l-56-56 280-280 280 280-56 57-184-184v647h-80Z'/%3E%3C/svg%3E");
    height: 24px;
    width: 24px;
  }
  .tooltip-icon {
    position: static;
  }
  .tooltip-info {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 50px;
    max-width: none;
    width: auto;
    transform: none;
    height: max-content;
  }
  .subpage > li > a,
  .cacheOrdi,
  .tooltip-info:after {
    display: none;
  }
  .tab-glob {
    flex-direction: column;
  }
  .tab-glob > :first-child {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   }
   }
}
}


@media (max-width: 700px) {
@media (max-width: 700px) {
   .container {
   .classes-flex .container {
     flex: 0 0 100%;
     flex: 0 0 100%;
     min-width: 100%;
     min-width: 100%;
     max-width: 100%;
     max-width: 100%;
   }
   }
  .equip-item {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 340px) {
  #mw-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* ===================================================== */
/* COMPATIBILIDADE COM O JS changeEquipementDisplay()    */
/* ===================================================== */
/* o JS usa a classe tabber-noactive para esconder/mostrar */
.tabber-noactive {
  display: none !important;
}
/* bloco do botão */
.list-equip {
  padding: 5px;
  border: 1px solid #2f1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.list-equip > :first-child {
  width: 100%;
  line-height: 25px;
}
.list-equip > :first-child > * {
  padding: 0 5px;
}
/* botão clicável */
.list-equip .button {
  border: 2px solid grey;
  padding: 0 12px;
  line-height: 25px;
  border-radius: 16px;
  background: rgba(234, 234, 234, 1);
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  white-space: nowrap;
}
.list-equip .button:hover {
  background: transparent;
}
.list-equip .button.tabber-active {
  background: rgba(75, 85, 95);
  color: white;
  border: 2px solid rgba(75, 85, 95);
  font-weight: bold;
}
/* o conteúdo aberto pelo JS é o elemento imediatamente seguinte */
.list-equip + * {
  width: 100%;
  box-sizing: border-box;
}
/* se o conteúdo for um tab-glob, mantém layout correto */
.list-equip + .tab-glob {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
  column-gap: 2px;
  align-items: flex-start;
}
.list-equip + .tab-glob > :first-child {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 2px;
}
.list-equip + .tab-glob > :first-child > * {
  border: 1px black solid;
}
.list-equip + .tab-glob > :first-child > *:not(.fondfenetre) {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.list-equip + .tab-glob > :nth-child(2) {
  width: 100%;
  overflow-x: auto;
}
.list-equip + .tab-glob > :nth-child(2) > :first-child {
  display: grid;
  grid-template-columns: repeat(10, minmax(75px, 1fr));
  gap: 2px;
}
.list-equip + .tab-glob > :nth-child(2) > :first-child > * {
  border: 1px black solid;
}
.list-equip + .tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
  display: flex;
}
.list-equip + .tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
  margin: auto;
}
/* responsivo */
@media screen and (max-width: 768px) {
  .list-equip + .tab-glob {
    flex-direction: column;
  }
  .list-equip + .tab-glob > :first-child {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
#mw-content ul {
  list-style: none;
  padding-left: 0;
}
#mw-content ul li {
  position: relative;
  padding-left: 16px;
}
#mw-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
}
.tabber-noactive {
  display: none !important;
}
/* collapsible do MediaWiki */
.mw-collapsible-content {
  display: block;
}
.mw-collapsed .mw-collapsible-content {
  display: none;
}
.cacheTel {
  display: none;
}
.tabber-noactive {
  display: none !important;
}
/* collapsible do MediaWiki */
.mw-collapsible-content {
  display: block;
}
.mw-collapsed .mw-collapsible-content {
  display: none;
}
}

Edição atual desde as 21h27min de 29 de março de 2026

/* ===================================================== */
/* CSS NOVO - BASE OFICIAL + TAMANHO/FUNDO DO TEU WIKI   */
/* ===================================================== */

/* ===================================================== */
/* FUNDO: MANTER O TEU                                   */
/* ===================================================== */

body {
  background-color: #000;
  background-image:
    url('https://pt-wiki.metin2.gameforge.com/images/1/16/Neve.gif'),
    url('https://tr-wiki.metin2.gameforge.com/images/9/9d/Metin2_25.2_Background_Wiki.jpg');
  background-repeat: repeat, no-repeat;
  background-position: top left, center center;
  background-size: auto, cover;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media screen and (min-width: 851px) {
  html {
    scroll-padding-top: 3.325em;
  }
}

/* ===================================================== */
/* LARGURA: MANTER O TAMANHO DO TEU                       */
/* ===================================================== */

:root {
  --page-max-width: 1100px;
  --content-max-width: 1080px;
  --wrapper-width: calc(100% - 20px);
}

/* ===================================================== */
/* ESCONDER LATERAIS                                      */
/* ===================================================== */

.vector-column-start,
#mw-panel,
.vector-pinned-container,
.vector-sticky-pinned-container,
.vector-column-end,
.vector-page-tools,
.vector-page-tools-landmark {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* ===================================================== */
/* TOPO                                                   */
/* ===================================================== */

#mw-head,
#mw-navigation,
.vector-header-container,
.vector-sticky-header-container,
.vector-header {
  background: #2b1205 !important;
  border-bottom: 2px solid #c28b2f !important;
  box-shadow: none !important;
}

.vector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.vector-header .mw-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.vector-header .mw-logo img {
  max-height: 36px;
  width: auto;
}

.mw-logo-wordmark,
.mw-logo-tagline {
  display: none !important;
}

/* ===================================================== */
/* PESQUISA                                               */
/* ===================================================== */

.vector-search-box {
  flex: 0 1 420px;
}

.vector-search-box,
.vector-search-box form,
.vector-search-box-inner {
  background: transparent !important;
}

.vector-search-box-input {
  background: #11161d !important;
  color: #f3e2b0 !important;
  border: 1px solid #8a5a16 !important;
}

.vector-search-box-input::placeholder {
  color: #cdbb8b !important;
}

/* ===================================================== */
/* ÁREA CENTRAL                                           */
/* ===================================================== */

.mw-page-container {
  max-width: var(--page-max-width) !important;
  margin: 0 auto !important;
  background: #e9d7a8 !important;
  border: 1px solid #7a3b12;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.mw-page-container-inner {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vector-column-main,
.vector-body,
.vector-page-content,
.mw-body,
.mw-content-container,
#content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  flex: 1 1 100% !important;
}

.mw-parser-output {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

#catlinks {
  margin-top: 10px;
}

/* ===================================================== */
/* BARRA DA PÁGINA                                        */
/* ===================================================== */

.vector-page-titlebar,
.vector-page-titlebar-topped,
.vector-page-toolbar,
.vector-page-toolbar-container {
  background: #e9d7a8 !important;
  border-bottom: 1px solid #8b1e12 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

.vector-menu-tabs,
.vector-menu-tabs-legacy,
.vector-menu-tabs .vector-menu-content,
.vector-menu-tabs ul,
.vector-menu-tabs li {
  background: #e9d7a8 !important;
  border: none !important;
  box-shadow: none !important;
}

.vector-menu-tabs a {
  background: transparent !important;
  color: #7b1a10 !important;
  border: none !important;
}

.vector-menu-tabs .selected a {
  color: #4e1208 !important;
  font-weight: bold !important;
  border-bottom: 2px solid #8b1e12 !important;
}

.vector-menu-tabs a:hover,
.vector-page-titlebar a:hover,
.vector-page-toolbar a:hover {
  color: #c4311c !important;
  text-decoration: none !important;
}

.vector-page-titlebar a,
.vector-page-toolbar a {
  color: #a88942 !important;
}

/* ===================================================== */
/* TÍTULO                                                 */
/* ===================================================== */

.firstHeading {
  color: #4e1208 !important;
  font-family: Georgia, serif;
  border-bottom: 2px solid #8b1e12;
  padding: 8px 0;
  margin: 0 0 8px 0 !important;
}

/* ===================================================== */
/* LINKS                                                  */
/* ===================================================== */

a {
  color: #9d1f12;
}

a:visited {
  color: #7b1a10;
}

a:hover {
  color: #c4311c;
}

/* ===================================================== */
/* BASE GERAL                                             */
/* ===================================================== */

td,
th {
  padding: 2px;
}

#mw-content ul {
  margin-bottom: 0.3em;
}

#mw-content ol {
  list-style: none;
  counter-reset: custom-counter;
  margin: 0.3em 0 0.3em 1.6em;
  padding: 0;
}

ol li {
  padding: 0;
  padding-left: 5px;
  counter-increment: custom-counter;
}

ol li::marker {
  content: counter(custom-counter) ".  ";
  font-weight: bold;
}

/* ===================================================== */
/* HOMEPAGE                                               */
/* ===================================================== */

.mp-wrapper {
  width: var(--wrapper-width);
  max-width: var(--content-max-width);
  margin: 12px auto 0 auto;
}

.mp-panel {
  background: #efe4c8;
  border: 2px solid #6b130e;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  position: relative;
  clear: both;
}

.mp-title {
  background: linear-gradient(#8f1717, #4e0909);
  color: #f5df9d;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.mp-content,
.mp-links,
.mp-grid {
  padding: 14px;
}

/* ===================================================== */
/* CLASSES                                                */
/* ===================================================== */

.classes-flex {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 6px;
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: row;
}

.classes-flex .container {
  flex: 0 0 185px;
  min-width: 185px;
  max-width: 185px;
  align-self: flex-start;
}

.classes-flex .container > div {
  width: 100% !important;
}

.classes-flex .container table {
  width: 100%;
  margin: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  background: #f6ecd6;
  border: 1px solid #8e6a3a;
  border-radius: 8px;
  overflow: hidden;
}

.classes-flex > div[style*="border-right"] {
  flex: 0 0 1px;
  margin: 0 2px !important;
  align-self: stretch;
}

.classe-top {
  text-align: center;
  color: #f5df9d;
  background: linear-gradient(to right, #36040d, #851515, #36040d);
  padding: 4px;
}

.classe-bottom {
  text-align: center;
  color: white;
  background: linear-gradient(to right, #36040d, #851515, #36040d);
  padding: 6px;
}

/* ===================================================== */
/* MAPA / CAIXAS                                          */
/* ===================================================== */

.map span.mw-collapsible-toggle {
  padding-right: 10px;
}

table.map a.mw-collapsible-text,
.prettytable > span.mw-collapsible-toggle,
.prettytable > span.mw-collapsible-toggle > a {
  color: #ffffff;
}

.mapa {
  border: 1px solid #2f1d1f;
  border-radius: 15px;
  width: 100%;
  box-shadow: 3px 3px 9px 0px #544e41;
  overflow: hidden;
}

.mapa > div:first-child {
  background: repeat url("https://pt-wiki.metin2.gameforge.com/images/8/87/Mapa.png");
  text-align: center;
  color: white;
  line-height: 25px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-weight: bold;
}

.mapa > div:nth-child(2) {
  background: transparent;
}

#mw-content .heading-wrapper > h2 {
  border-image-slice: 5 0 4 0 fill;
  border-image-width: auto;
  border-image-repeat: repeat;
  border-image-source: url("https://pt-wiki.metin2.gameforge.com/images/8/87/Mapa.png");
}

.header-bgxmas {
  background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Fita_Página_Inicial.png") repeat 0em 0em;
}

.header-bgxmas2 {
  background: url("https://pt-wiki.metin2.gameforge.com/images/7/70/Preço_IS.png") repeat 0em 0em;
}

.nativelooktop {
  background: url("https://en-wiki.metin2.gameforge.com/images/1/1c/Nativelooktop.jpg") no-repeat;
  padding: 0;
  width: 190px;
  height: 10px;
}

.nativelookbackground {
  background-image: url("https://en-wiki.metin2.gameforge.com/images/1/12/Nativelookbackground.jpg");
  background-repeat: repeat-y;
  padding: 0;
  width: 190px;
}

.nativelookbottom {
  background: url("https://en-wiki.metin2.gameforge.com/images/8/8b/Nativelookbottom.jpg") no-repeat;
  padding: 0;
  width: 190px;
  height: 10px;
}

/* ===================================================== */
/* SUBPAGE                                                */
/* ===================================================== */

ul.subpage {
  display: flex;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  background: rgba(81, 36, 16, 0.3);
  overflow: hidden;
  line-height: 30px;
  white-space: nowrap;
}

.subpage a {
  padding-left: 20px;
  background: #512410;
  display: inline-block;
  line-height: 30px;
  position: relative;
  color: #f1de8e;
  cursor: pointer;
}

.subpage a:before,
.subpage a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  right: 0;
  padding: 1px 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid white;
  transform: translate(14px);
  z-index: 1;
}

.subpage a:after {
  border-left: 14px solid #512410;
  transform: translate(13px);
  z-index: 2;
}

.subpage > li:last-child {
  padding-left: 20px;
}

ul.subpage > li:first-child {
  flex-shrink: 0;
}

ul.subpage > li:first-child > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

ul.subpage > li > a:hover {
  background: #9d5b37;
}

ul.subpage > li > a:hover:after {
  border-left-color: #9d5b37;
}

/* ===================================================== */
/* TABELAS                                                */
/* ===================================================== */

#mw-content .fondfenetre,
.sub-titulo,
table.pretty-table th,
.fondfenetre {
  background: url("https://pt-wiki.metin2.gameforge.com/images/a/a4/Fundo2.png") repeat;
  color: white;
}

.fondfenetre a,
.fondfenetre span,
table.pretty-table th a,
table.pretty-table th span {
  color: white;
}

table.pretty-table {
  width: 100%;
  border-collapse: collapse;
}

table.pretty-table td {
  padding: 5px 4px;
}

table.pretty-table th {
  padding: 2px 4px;
  font-weight: normal;
  font-size: 1.1em;
}

table.pretty-table tbody > *:nth-child(2n + 1) > td {
  background: rgba(0, 0, 0, 0.1);
}

table.pretty-table tr:hover {
  background: rgba(0, 0, 0, 0.05);
}

table.pretty-table tr:first-child > th:first-child {
  border-radius: 8px 0 0 0;
  overflow: hidden;
}

table.pretty-table caption {
  margin-top: 10px;
  font-weight: bold;
}

table.pretty-table.sortable th.headerSort {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%229%22 viewBox=%220 0 21 9%22%3E %3Cpath fill=%22%23fff%22 d=%22M14.5 5l-4 4-4-4zM14.5 4l-4-4-4 4z%22/%3E %3C/svg%3E");
}

table.pretty-table.sortable th.headerSortUp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%224%22 viewBox=%220 0 21 4%22%3E %3Cpath fill=%22%23fff%22 d=%22M6.5 4l4-4 4 4z%22/%3E %3C/svg%3E");
}

table.pretty-table.sortable th.headerSortDown {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%224%22 viewBox=%220 0 21 4%22%3E %3Cpath fill=%22%23fff%22 d=%22M14.5 0l-4 4-4-4z%22/%3E %3C/svg%3E");
}

table.sticky-header-row thead tr {
  position: sticky;
  top: 0;
  z-index: 10;
}

table.sticky-header-column th:first-child {
  position: sticky;
  left: 0;
  z-index: 20;
}

.sub-titulo {
  max-width: 180px;
  border: 1px solid black;
  border-radius: 8px;
  color: white;
}

/* ===================================================== */
/* EQUIPAMENTOS                                           */
/* ===================================================== */

.equip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.equip-item {
  flex: 1 1 90px;
  min-width: 90px;
  max-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  box-sizing: border-box;
}

.equip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  text-align: center;
  width: 100%;
}

.equip-label {
  font-weight: bold;
}

.equip-divider {
  width: 1px;
  background: #35215f;
  margin: 0 2px;
}

.list-equip {
  padding: 5px;
  border: 1px solid #2f1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.list-equip > :first-child {
  width: 100%;
  line-height: 25px;
}

.list-equip > :first-child > * {
  padding: 0 5px;
}

/* ===================================================== */
/* MONSTER / CARDS                                        */
/* ===================================================== */

.monster-card {
  border: 1px black solid;
  padding: 5px;
  max-width: 445px;
  box-sizing: border-box;
}

.monster-card > :first-child {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  line-height: 25px;
  padding: 0 5px;
  white-space: nowrap;
}

.monster-card > :nth-child(2) {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.monster-card > :nth-child(5) {
  display: grid;
  justify-content: center;
  align-items: start;
}

/* ===================================================== */
/* BOTÕES / TABS                                          */
/* ===================================================== */

button.brown {
  background: #651e10;
}

button.brown-transparent {
  background: #651e10cc;
}

button.brown:hover,
button.brown:focus {
  background: #551a0e;
}

button.red {
  background: #ef4444;
}

button.red:hover,
button.red:focus {
  background: #b91c1c;
}

button:active {
  opacity: 0.8;
}

.button {
  border: 2px solid grey;
  padding: 0 12px;
  line-height: 25px;
  border-radius: 16px;
  background: rgba(234, 234, 234);
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.button:hover {
  background: transparent;
}

.tabber-active.button {
  background: rgba(75, 85, 95);
  color: white;
  border: 2px solid rgba(75, 85, 95);
  font-weight: bold;
}


.tab-glob {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
  column-gap: 2px;
  align-items: flex-start;
}

.tab-glob > :first-child {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 2px;
}

.tab-glob > :first-child > * {
  border: 1px black solid;
}

.tab-glob > :first-child > *:not(.fondfenetre) {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-glob > :nth-child(2) {
  width: 100%;
  overflow-x: auto;
}

.tab-glob > :nth-child(2) > :first-child {
  display: grid;
  grid-template-columns: repeat(10, minmax(75px, 1fr));
  gap: 2px;
}

.tab-glob > :nth-child(2) > :first-child > * {
  border: 1px black solid;
}

.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
  display: flex;
}

.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
  margin: auto;
}

/* ===================================================== */
/* MODAL / POPUP                                          */
/* ===================================================== */

.modal {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.close-button {
  transition: color 0.2s linear, background-color 0.2s linear;
}

.close-button:hover {
  background-color: red;
  color: #ffffff;
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.popContenu {
  display: inline-block;
  transition: all 0.4s ease;
}

.popInfo:hover .popContenu {
  opacity: 1 !important;
  transition: all 0.4s ease;
}

.pop-parent:hover .pop-content {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.pop-content {
  opacity: 0;
}

/* ===================================================== */
/* TOOLTIP                                                */
/* ===================================================== */

.tooltip-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M443-285h75v-234h-75v234Zm36.895-311Q496-596 507-606.895q11-10.894 11-27Q518-650 507.105-661q-10.894-11-27-11Q464-672 453-661.105q-11 10.894-11 27Q442-618 452.895-607q10.894 11 27 11ZM480-90q-80.907 0-152.065-30.763-71.159-30.763-123.797-83.5Q151.5-257 120.75-328.087 90-399.175 90-480q0-80.907 30.763-152.065 30.763-71.159 83.5-123.797Q257-808.5 328.087-839.25 399.175-870 480-870q80.907 0 152.065 30.763 71.159 30.763 123.797 83.5Q808.5-703 839.25-631.913 870-560.825 870-480q0 80.907-30.763 152.065-30.763 71.159-83.5 123.797Q703-151.5 631.913-120.75 560.825-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.tooltip-info {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 290px;
  width: max-content;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tooltip-info:after {
  content: "";
  border: 8px solid transparent;
  border-top-color: inherit;
  position: absolute;
  left: calc(50% - 8px);
  top: 100%;
  z-index: 50;
}

.tooltip-icon:hover > .tooltip-info {
  opacity: 1;
  visibility: visible;
}

/* ===================================================== */
/* COLLAPSIBLE                                            */
/* ===================================================== */

.improved-collapsible > .mw-collapsible-toggle {
  grid-area: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float: initial;
  z-index: 1;
  padding-right: 5px;
}

.improved-collapsible .mw-collapsible-toggle:before {
  content: "";
}

.improved-collapsible .mw-collapsible-text {
  display: none;
}

.improved-collapsible .mw-collapsible-toggle:after {
  width: 32px;
  height: 32px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.improved-collapsible .mw-collapsible-toggle-expanded:after {
  transform: rotate(-180deg);
}

/* ===================================================== */
/* IMAGENS / TEXTO                                        */
/* ===================================================== */

.shop-img img {
  height: auto;
  width: auto;
  max-height: 130px;
  max-width: 130px;
}

.image-sizing img,
.image-sizing-200 img,
.image-sizing-none img {
  height: auto;
  width: auto;
  max-height: 300px;
  max-width: 100%;
}

.image-sizing-200 img {
  max-height: 200px;
}

.image-sizing-none img {
  max-height: none;
}

.texte-long,
.texte-long-2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.texte-long:hover,
.texte-long-2:hover {
  white-space: normal;
}

/* ===================================================== */
/* LISTAS / FLEX                                          */
/* ===================================================== */

div.ul-res ul {
  margin: 0;
  list-style: none;
}

.ul-row ul {
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;
  overflow: hidden;
  margin: 0;
  list-style-image: none;
}

.flex {
  display: flex;
}

.info-boutique ul {
  list-style-image: none;
}

.info-boutique p:last-child {
  margin-bottom: 0;
}

#mw-content .soulignement > a:link {
  text-decoration: none;
}

/* ===================================================== */
/* GAME WINDOW / BORDAS                                   */
/* ===================================================== */

.mapajanela,
.game-window {
  border: solid;
  border-image: url("https://pt-wiki.metin2.gameforge.com/images/8/8d/Mapajanela.png") 11 fill / auto / 0 repeat;
  padding: 10px;
  backdrop-filter: blur(4px);
}

.modeloAnuncio {
  border-image: url("https://pt-wiki.metin2.gameforge.com/images/f/f9/ModeloAnuncio.png") 17 35 3 fill / auto / 0 repeat;
}

.tablo {
  border: solid;
  border-image: url(https://pt-wiki.metin2.gameforge.com/images/5/51/Borda_Mapas.png);
  border-image-repeat: repeat;
  border-image-slice: 6 fill;
  border-image-width: auto;
  padding: 2px;
  display: inline-block;
}

.tablo img {
  vertical-align: bottom;
}

.CartaMonstroBackground {
  background: url("https://pt-wiki.metin2.gameforge.com/images/c/c3/Carta_Monstro_Background.png") repeat 0em 0em;
}

/* ===================================================== */
/* FORMULÁRIOS                                            */
/* ===================================================== */

input,
input[type="checkbox"],
select {
  border: 3px #d0e0e3 solid;
}

input[type="checkbox"] {
  background-color: white;
}

input[type="checkbox"]:checked {
  background-color: #19bd94;
  border: none;
  position: relative;
}

input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  background: transparent;
  left: 20%;
  top: 20%;
  width: 45%;
  height: 25%;
  transform: rotate(-45deg);
  border: 0.18em white solid;
  border-top: none;
  border-right: none;
}

input:focus,
select:focus {
  border: 3px rgb(102, 175, 233) solid;
}

input:focus:not([type='checkbox']),
select:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.label-hover label:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* ===================================================== */
/* TECLAS / TAGS                                          */
/* ===================================================== */

kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgb(0 0 0 / 20%), 0 2px 0 0 rgb(255 255 255 / 70%) inset;
  color: #333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}

.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; }
.tag-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; }
.tag-yellow { background:#ffc107; color:#000; padding:2px 6px; border-radius:4px; }
.tag-blue { background:#42a1c9; color:#000; padding:2px 6px; border-radius:4px; }

/* ===================================================== */
/* TOP BUTTON                                             */
/* ===================================================== */

.top-button {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  cursor: pointer;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    180deg,
    rgba(124, 200, 65, 1) 0%,
    rgba(113, 161, 85, 1) 50%,
    rgba(64, 117, 39, 1) 50%,
    rgba(46, 97, 31, 1) 100%
  );
  border: 1px solid #d0af52;
  box-shadow: 1px 1px 2px #000, inset 1px 1px #090200, inset -1px -1px #090200;
  transform: translateY(100px);
  transition: all 0.5s ease;
}

.top-button:after {
  content: "";
  height: 32px;
  width: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fffacb' height='32' viewBox='0 -960 960 960' width='32'%3E%3Cpath d='m296-345-56-56 240-240 240 240-56 56-184-184-184 184Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.show-button {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================== */
/* VISIBILIDADE                                           */
/* ===================================================== */

.cacheOrdi,
.gen-active {
  display: block;
}

/* ===================================================== */
/* ANIMAÇÕES                                              */
/* ===================================================== */

@keyframes pnj-square {
  from {
    background-color: #f80000;
  }
  to {
    background-color: white;
  }
}

@keyframes pnj-circle {
  from {
    border-color: #984c48;
    scale: 1;
  }
  to {
    border-color: white;
    scale: 0.1;
  }
}

@keyframes loading {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

/* ===================================================== */
/* FOOTER                                                 */
/* ===================================================== */

#footer {
  max-width: var(--page-max-width);
  margin: 0 auto !important;
  background: #e9d7a8 !important;
  border-top: 1px solid #8b1e12;
  padding: 20px;
  box-sizing: border-box;
}

/* ===================================================== */
/* RESPONSIVO                                             */
/* ===================================================== */

@media (max-width: 1000px) {
  .classes-flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .classes-flex .container {
    flex: 0 0 185px;
    min-width: 185px;
    max-width: 185px;
  }

  .equip-divider {
    display: none;
  }

  .equip-item {
    flex: 1 1 120px;
    max-width: none;
  }
}

@media screen and (max-width: 768px) {
  .texte-long {
    white-space: normal;
    overflow: visible;
  }

  .grid2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid3 {
    grid-template-columns: repeat(3, auto) !important;
  }

  .container {
    flex-direction: column;
  }

  .cacheTel,
  .subpage > li:nth-last-child(2) > a {
    display: block;
  }

  .top-button {
    background: rgba(0, 0, 0, 0.7);
    color: #999;
    border: none;
    box-shadow: none;
  }

  .top-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M440-80v-647L256-544l-56-56 280-280 280 280-56 57-184-184v647h-80Z'/%3E%3C/svg%3E");
    height: 24px;
    width: 24px;
  }

  .tooltip-icon {
    position: static;
  }

  .tooltip-info {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 50px;
    max-width: none;
    width: auto;
    transform: none;
    height: max-content;
  }

  .subpage > li > a,
  .cacheOrdi,
  .tooltip-info:after {
    display: none;
  }

  .tab-glob {
    flex-direction: column;
  }

  .tab-glob > :first-child {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 700px) {
  .classes-flex .container {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .equip-item {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 340px) {
  #mw-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* ===================================================== */
/* COMPATIBILIDADE COM O JS changeEquipementDisplay()    */
/* ===================================================== */

/* o JS usa a classe tabber-noactive para esconder/mostrar */
.tabber-noactive {
  display: none !important;
}

/* bloco do botão */
.list-equip {
  padding: 5px;
  border: 1px solid #2f1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.list-equip > :first-child {
  width: 100%;
  line-height: 25px;
}

.list-equip > :first-child > * {
  padding: 0 5px;
}

/* botão clicável */
.list-equip .button {
  border: 2px solid grey;
  padding: 0 12px;
  line-height: 25px;
  border-radius: 16px;
  background: rgba(234, 234, 234, 1);
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.list-equip .button:hover {
  background: transparent;
}

.list-equip .button.tabber-active {
  background: rgba(75, 85, 95);
  color: white;
  border: 2px solid rgba(75, 85, 95);
  font-weight: bold;
}

/* o conteúdo aberto pelo JS é o elemento imediatamente seguinte */
.list-equip + * {
  width: 100%;
  box-sizing: border-box;
}

/* se o conteúdo for um tab-glob, mantém layout correto */
.list-equip + .tab-glob {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
  column-gap: 2px;
  align-items: flex-start;
}

.list-equip + .tab-glob > :first-child {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 2px;
}

.list-equip + .tab-glob > :first-child > * {
  border: 1px black solid;
}

.list-equip + .tab-glob > :first-child > *:not(.fondfenetre) {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-equip + .tab-glob > :nth-child(2) {
  width: 100%;
  overflow-x: auto;
}

.list-equip + .tab-glob > :nth-child(2) > :first-child {
  display: grid;
  grid-template-columns: repeat(10, minmax(75px, 1fr));
  gap: 2px;
}

.list-equip + .tab-glob > :nth-child(2) > :first-child > * {
  border: 1px black solid;
}

.list-equip + .tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
  display: flex;
}

.list-equip + .tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
  margin: auto;
}

/* responsivo */
@media screen and (max-width: 768px) {
  .list-equip + .tab-glob {
    flex-direction: column;
  }

  .list-equip + .tab-glob > :first-child {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
#mw-content ul {
  list-style: none;
  padding-left: 0;
}

#mw-content ul li {
  position: relative;
  padding-left: 16px;
}

#mw-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
}
.tabber-noactive {
  display: none !important;
}

/* collapsible do MediaWiki */
.mw-collapsible-content {
  display: block;
}

.mw-collapsed .mw-collapsible-content {
  display: none;
}
.cacheTel {
  display: none;
}

.tabber-noactive {
  display: none !important;
}

/* collapsible do MediaWiki */
.mw-collapsible-content {
  display: block;
}

.mw-collapsed .mw-collapsible-content {
  display: none;
}