/* Tibia LumIA - mesmo padrao de layout do site classico do Tibia (tibiacom): container de 1200px,
   menu de 180px a esquerda, conteudo de 790px, coluna de 180px a direita, arte grande no topo,
   caixas com barra verde e corpo de pergaminho. As artes sao proprias do Tibia LumIA. */
:root {
  --fundo: #101315;
  --verde-1: #2c4a22; --verde-2: #183316; --verde-3: #0c1f0b; --verde-borda: #5d7a3c;
  --perg: #fbf0d9; --perg-1: #f1e0c6; --perg-2: #d4c0a1; --perg-borda: #5a3b1c;
  --tinta: #2b1a08; --link: #004294; --link-hover: #2a6ad1;
  --pedra-1: #6f747a; --pedra-2: #4a4f55; --pedra-3: #2b2f34;
  --ouro: #d4af37; --ouro-claro: #f1d27a; --bege: #efdcb0; --metal: #8f9499;
  --sub: #0d2a2c; --sub-hover: #164246;
  --vermelho-1: #8c1111; --vermelho-2: #5a0707;
  --verde: #3fae6a; --vermelho: #c9433e;
}
* { box-sizing: border-box; }
html { background: var(--fundo); }
body {
  margin: 0; color: var(--tinta); font: 12px/1.5 Verdana, Geneva, Tahoma, sans-serif; min-height: 100vh;
  /* arte do Tibia LumIA (2000x1116) no topo, com o pe esfumado para a cor da pagina */
  background:
    linear-gradient(180deg, transparent 0, transparent calc(max(1920px, 100vw) * .558 - 320px), var(--fundo) calc(max(1920px, 100vw) * .558)) center top / max(1920px, 100%) calc(max(1920px, 100vw) * .558) no-repeat,
    url(/static/fundo.jpg) center top / max(1920px, 100%) auto no-repeat,
    var(--fundo);
}
a { color: var(--link); font-weight: bold; text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
b { font-weight: bold; }
.mut { color: #6b5232; }
.ouro-txt { color: #8a5a00; font-weight: bold; }
.pagina { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 15px 20px; }
.uncial { font-family: 'Uncial Antiqua', Georgia, serif; }

/* ---------- topo (170px): logo sobre o menu, titulo no meio, online a direita ---------- */
.cabeca { position: relative; display: grid; grid-template-columns: 180px 790px 180px; column-gap: 10px; height: 178px; }
.logo {
  position: relative; align-self: end; display: block; width: 166px; margin: 0 auto -6px; padding: 10px 8px 8px; text-align: center; text-decoration: none !important; z-index: 2;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(241,210,122,.2), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 3px, transparent 3px 9px),
    linear-gradient(180deg, #5b6168, #33383e 55%, #22262b);
  border: 3px solid #9a7a32; border-radius: 12px 12px 4px 4px;
  box-shadow: 0 0 0 2px #120c04, inset 0 0 0 1px rgba(241,210,122,.4), 0 8px 22px rgba(0,0,0,.6);
}
.logo::before, .logo::after { content: ""; position: absolute; top: -10px; width: 22px; height: 16px; background: linear-gradient(180deg, #f1d27a, #a07a22); border: 2px solid #120c04; border-radius: 4px 4px 0 0; }
.logo::before { left: 10px; } .logo::after { right: 10px; }
.logo img { width: 48px; height: 48px; display: block; margin: 0 auto 2px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.7)); }
.logo .nome {
  display: block; white-space: nowrap; font: 18px/1 'Uncial Antiqua', Georgia, serif; color: #ffd84a; letter-spacing: 0;
  -webkit-text-stroke: 1px #3a2200; text-shadow: 0 2px 0 #3a2200, 0 3px 4px rgba(0,0,0,.8);
}
.logo .nome b { font-weight: normal; color: #ffe98a; }
.logo .desde {
  display: inline-block; margin-top: 6px; padding: 0 12px; font: 13px/1.6 'Uncial Antiqua', Georgia, serif; color: #f4e7c4;
  border: 2px solid #9a7a32; border-radius: 4px; background: linear-gradient(180deg, #3d4348, #1d2125); text-shadow: 0 1px 0 #000;
}
.titulo-arte { align-self: center; text-align: center; pointer-events: none; padding-top: 6px; }
.titulo-arte span {
  display: block; font: clamp(36px, 6.4vw, 84px)/1 'Uncial Antiqua', Georgia, serif; letter-spacing: .02em;
  background: linear-gradient(180deg, #e9edf0 0%, #aeb6bd 38%, #7b848c 60%, #c7ced4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #1b2026) drop-shadow(0 4px 0 #0c0f12) drop-shadow(0 6px 10px rgba(0,0,0,.8));
}
.titulo-arte small {
  display: block; margin-top: 2px; font: clamp(22px, 3.6vw, 46px)/1 'Uncial Antiqua', Georgia, serif;
  background: linear-gradient(180deg, #fff3c4, #f1c84a 45%, #b07a18); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2a1800) drop-shadow(0 5px 8px rgba(0,0,0,.8));
}
.online-topo {
  align-self: end; justify-self: center; display: block; width: 130px; margin-bottom: 4px; padding: 4px 6px 5px; text-align: center; text-decoration: none !important;
  background: linear-gradient(180deg, #33383e, #1a1d21); border: 2px solid #9a7a32; border-radius: 4px;
  box-shadow: 0 0 0 2px #120c04, 0 6px 16px rgba(0,0,0,.6);
}
.online-topo b { display: block; font: bold 13px/1.2 Verdana, sans-serif; color: #ffd84a; }
.online-topo small { display: block; font: 11px/1.2 Verdana, sans-serif; color: #ffd84a; }
.online-topo > span { display: block; margin-top: 2px; font-size: 9px; color: #c8ced3; font-weight: normal; }
.online-topo:hover { filter: brightness(1.15); text-decoration: none; }

/* ---------- colunas 180 / 790 / 180 ---------- */
.colunas { display: grid; grid-template-columns: 180px 790px 180px; column-gap: 10px; align-items: start; }

/* moldura metalica usada no login, no menu e nas caixas */
.metal {
  border: 3px solid; border-color: #9aa0a6 #50555a #3a3e42 #8a9095;
}

/* login */
.caixa-login {
  text-align: center; padding: 6px 8px 5px; margin-top: 8px; font-size: 11px; color: #fff;
  background: linear-gradient(180deg, #3c4146, #24282c); border: 3px solid; border-color: #9aa0a6 #50555a #3a3e42 #8a9095;
  box-shadow: 0 0 0 1px #000, 0 6px 16px rgba(0,0,0,.6); position: relative;
}
.caixa-login p { margin: 0 0 3px; color: #fff; }
.btn-login {
  display: block; margin: 0 auto; width: 136px; padding: 2px 0; font: 13px/1.4 Verdana, sans-serif; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(180deg, #4a63ff, #1631d6 48%, #0a1d9c 52%, #1a34c8); border: 1px solid #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 1px #c7a24c;
}
.btn-login:hover { filter: brightness(1.2); }
.caixa-login a.peq { color: #fff; font-weight: normal; margin-top: 3px; }
.peq { display: block; font-size: 11px; margin-top: 6px; }
#abre-menu, .botao-menu { display: none; }

/* menu de categorias */
.menu {
  display: flex; flex-direction: column; margin-top: 16px; padding: 4px; position: relative;
  background: rgba(10,16,20,.55); border: 3px solid; border-color: #9aa0a6 #50555a #3a3e42 #8a9095; box-shadow: 0 0 0 1px #000, 0 8px 22px rgba(0,0,0,.6);
}
.menu::before { content: ""; position: absolute; left: 50%; top: -19px; width: 70px; height: 13px; margin-left: -35px; border: 3px solid #6c7177; border-bottom: 0; border-radius: 4px 4px 0 0; }
.cat summary {
  list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 22px 0 4px;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,.05) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #7b8086, #575c62 45%, #3b3f44 55%, #2c3034);
  border: 1px solid #111; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.4);
}
.cat summary::-webkit-details-marker { display: none; }
.cat summary span { flex: 1; min-width: 0; text-align: center; white-space: nowrap; font: 15px/1 'Uncial Antiqua', Georgia, serif; color: var(--bege); text-shadow: 0 2px 0 #1a1408, 0 0 3px #000; }
.cat summary:hover span { color: #fff; }
.cat summary em { position: absolute; right: 4px; top: 50%; width: 11px; height: 11px; margin-top: -6px; background: linear-gradient(180deg, #4f9a3c, #1f5214); border: 1px solid #0a1c06; }
.cat summary em::after { content: "+"; position: absolute; inset: -4px 0 0; font: bold 11px/1 Verdana, sans-serif; color: #dff5cf; text-align: center; }
.cat[open] summary em::after { content: "−"; }
.ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #120c04; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ico svg { width: 18px; height: 18px; }
.ico-novidades { background: linear-gradient(180deg, #c33a2a, #6e130c); color: #ffe3a0; }
.ico-conta { background: linear-gradient(180deg, #3f6fc2, #1a3570); color: #e3eeff; }
.ico-comunidade { background: linear-gradient(180deg, #d6a43a, #7c5512); color: #fff3d1; }
.ico-biblioteca { background: linear-gradient(180deg, #8b5fc4, #43256e); color: #f0e3ff; }
.ico-shopping { background: linear-gradient(180deg, #3aa36b, #135533); color: #e0ffe9; }
.sub { background: var(--sub); border-left: 1px solid #000; border-right: 1px solid #000; }
.sub a { display: block; padding: 1px 6px 1px 14px; font: bold 12px/19px Verdana, sans-serif; color: #fff; border-bottom: 1px solid #071718; }
.sub a:hover { background: var(--sub-hover); text-decoration: none; color: #fff; }
.sub a.ativo { padding-left: 4px; background: #0f3336; }
.sub a.ativo::before { content: "➤"; margin-right: 2px; color: #fff; }

/* caixas do centro: barra verde, corpo de pergaminho, faixa escura entre as caixas */
.centro, .esq { min-width: 0; }
.caixa { position: relative; margin: 0 5px 18px; border: 2px solid #6a706f; outline: 1px solid #000; box-shadow: 0 0 0 3px #2b302f, 0 8px 22px rgba(0,0,0,.6); background: #e9d9b8; }
.caixa::before, .caixa::after { content: ""; position: absolute; top: -8px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d6dbe0, #6a7076 60%, #2d3135); border: 1px solid #000; z-index: 2; }
.caixa::before { left: -9px; } .caixa::after { right: -9px; }
.caixa + .caixa { margin-top: 26px; }
.caixa + .caixa .barra::before {
  content: ""; position: absolute; left: -12px; right: -12px; top: -28px; height: 16px; pointer-events: none;
  background: linear-gradient(180deg, #4b5257, #22272b 45%, #121518); border: 1px solid #000; border-left-width: 4px; border-right-width: 4px; border-color: #000 #6a706f;
}
.barra {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; height: 33px; padding: 0 12px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, var(--verde-1), var(--verde-2) 50%, var(--verde-3));
  border-bottom: 2px solid var(--verde-borda); box-shadow: inset 0 2px 0 #0a1508, inset 0 3px 0 rgba(140,180,100,.35), inset 0 -3px 0 rgba(0,0,0,.3);
}
.barra span { font: 21px/1 'Uncial Antiqua', Georgia, serif; color: var(--bege); text-shadow: 0 2px 0 #000, 0 0 2px #000; }
.barra small { font: 15px/1 'Uncial Antiqua', Georgia, serif; color: var(--bege); text-shadow: 0 1px 0 #000; }
.corpo {
  margin: 6px; padding: 10px; color: var(--tinta); border: 1px solid #b59c74;
  background:
    radial-gradient(130% 100% at 50% 50%, transparent 60%, rgba(150,110,50,.12)),
    var(--perg);
}
.corpo p { margin: 0 0 10px; }

/* rapidinhas: linhas alternadas com icone, data, texto e "+" */
.rapidinhas { list-style: none; margin: 0; padding: 0; border: 1px solid var(--perg-borda); }
.rapidinhas li { display: flex; align-items: flex-start; gap: 6px; padding: 1px 4px; min-height: 20px; }
.rapidinhas li:nth-child(odd) { background: var(--perg-2); }
.rapidinhas li:nth-child(even) { background: var(--perg-1); }
.rapidinhas .ico { width: 16px; height: 16px; border-radius: 2px; margin-top: 1px; }
.rapidinhas .ico svg { width: 11px; height: 11px; }
.rapidinhas .data { flex: none; width: 92px; font-size: 10px; line-height: 19px; }
.rapidinhas .txt { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rapidinhas li.aberta .txt { white-space: normal; }
.rapidinhas .mais { flex: none; width: 13px; height: 13px; margin-top: 3px; padding: 0; cursor: pointer; font: bold 11px/1 Verdana, sans-serif; color: #dff5cf; background: linear-gradient(180deg, #4f9a3c, #1f5214); border: 1px solid #0a1c06; }
.rapidinhas li.aberta .mais { font-size: 0; } .rapidinhas li.aberta .mais::after { content: "−"; font-size: 11px; }
.data { color: var(--tinta); white-space: nowrap; }

/* destaques (top level) */
.destaques { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; text-align: center; }
.destaque { padding: 4px 2px; font-size: 11px; }
.destaque .pos { display: block; font: 13px 'Uncial Antiqua', Georgia, serif; color: #3d7a1c; font-weight: normal; }
.destaque a { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destaque small { display: block; font-size: 11px; color: #4a3820; }
.destaque b { display: block; font-size: 14px; color: #3a2508; }
.vazio { text-align: center; margin: 8px 0; color: #4a3820; }

/* noticias: faixa vermelha com icone, data e titulo */
.noticia { margin-bottom: 16px; }
.noticia-topo {
  display: flex; align-items: center; gap: 4px; padding: 2px 6px 2px 3px; margin-bottom: 12px; color: #fff; font-size: 13px;
  background: linear-gradient(180deg, #a31a1a, var(--vermelho-1) 50%, var(--vermelho-2)); border: 1px solid #2a0000;
}
.noticia-topo .ico { width: 18px; height: 18px; } .noticia-topo .ico svg { width: 12px; height: 12px; }
.noticia-topo .data { color: #fff; font-weight: bold; }
.noticia-corpo { padding: 0 10px; font-size: 13px; line-height: 1.6; }
.arquivo { text-align: right; margin: 0; }

/* tabelas classicas */
.tab { width: 100%; border-collapse: collapse; margin-bottom: 10px; border: 1px solid var(--perg-borda); }
.tab th { text-align: left; padding: 3px 6px; font-size: 12px; font-weight: bold; color: #fff; background: #505050; border: 1px solid var(--perg-borda); }
.tab td { padding: 3px 6px; border: 1px solid var(--perg-borda); }
.tab tr:nth-child(odd) td { background: var(--perg-2); }
.tab tr:nth-child(even) td { background: var(--perg-1); }
.tab.ficha th { width: 140px; color: var(--tinta); background: var(--perg-2); }
.abas { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.abas a { padding: 1px 10px; font-size: 11px; border: 1px solid var(--perg-borda); color: var(--tinta); background: var(--perg-1); }
.abas a.ativo, .abas a:hover { color: #fff; background: var(--verde-2); text-decoration: none; }
.regras, .passos { margin: 0; padding-left: 20px; } .regras li, .passos li { margin-bottom: 8px; }
.selo { display: inline-block; font: 13px 'Uncial Antiqua', serif; color: var(--bege); background: var(--verde-2); border: 1px solid #000; padding: 1px 10px; }

/* botoes no estilo classico */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 120px; padding: 3px 14px; font: 12px Verdana, sans-serif; cursor: pointer;
  color: #fff !important; background: linear-gradient(180deg, #4a63ff, #1631d6 48%, #0a1d9c 52%, #1a34c8); border: 1px solid #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 1px #c7a24c; text-decoration: none !important; font-weight: normal;
}
.btn:hover { filter: brightness(1.2); }
.btn.ouro { /* mesmo botao azul */ }
.btn.bloco { width: 100%; }
.acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* formularios */
.form { max-width: 400px; }
.form label { display: block; font-size: 12px; color: var(--tinta); margin-bottom: 8px; font-weight: bold; }
.form input, .form select { display: block; width: 100%; margin-top: 2px; padding: 3px 5px; border: 1px solid #7a6040; background: #fff; color: #000; font: 12px Verdana, sans-serif; outline: none; }
.form input:focus, .form select:focus { border-color: var(--link); }
.form label.check { display: flex; gap: 6px; align-items: center; font-weight: normal; }
.form label.check input { width: auto; margin: 0; }
.form.linha { display: flex; gap: 8px; align-items: end; max-width: none; } .form.linha label { flex: 1; margin: 0; }
.peq-txt { font-size: 11px; margin-top: 10px; }
.aviso { padding: 5px 10px; margin-bottom: 10px; font-size: 12px; font-weight: bold; }
.aviso.erro { background: #f7d6cf; border: 1px solid #8c1111; color: #6e0b0b; }
.aviso.ok { background: #d7ecc8; border: 1px solid #2c6b1c; color: #1d4a12; }

/* coluna direita: botoes grandes com arte */
.dir { padding-top: 2px; }
.grande-btn { display: block; width: 150px; margin: 0 auto 18px; text-align: center; text-decoration: none !important; }
.grande-btn .arte {
  display: block; width: 130px; height: 130px; margin: 0 auto; padding: 10px;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(241,210,122,.28), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 3px, transparent 3px 9px),
    linear-gradient(180deg, #5b6168, #33383e 55%, #1d2125);
  border: 3px solid #9a7a32; border-radius: 50% 50% 10px 10px / 40% 40% 10px 10px;
  box-shadow: 0 0 0 2px #120c04, inset 0 0 0 1px rgba(241,210,122,.4), 0 8px 20px rgba(0,0,0,.6);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.5));
}
.grande-btn span {
  position: relative; display: block; width: 150px; margin: -14px auto 0; padding: 4px 0 5px; font: 19px/1 'Uncial Antiqua', Georgia, serif; color: #f4e7c4;
  background: linear-gradient(180deg, #4a5056, #24282c); border: 3px solid #9a7a32; border-radius: 4px; box-shadow: 0 0 0 2px #120c04; text-shadow: 0 2px 0 #000;
}
.grande-btn:hover { filter: brightness(1.15); }
.pino { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 4px; vertical-align: middle; }
.pino.on { background: var(--verde); box-shadow: 0 0 6px var(--verde); } .pino.off { background: var(--vermelho); }

.rodape { width: 790px; max-width: 100%; margin: 4px auto 0; padding: 8px; text-align: center; font-size: 11px; color: #e3e7ea;
  background: rgba(8,10,12,.82); border: 2px solid #6a706f; outline: 1px solid #000; text-shadow: 0 1px 2px #000; }
.rodape a { color: #f1d27a; font-weight: normal; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px; margin-bottom: 10px; border: 1px solid var(--perg-borda); background: var(--perg-1); }

/* ---------- telas menores ---------- */
@media (max-width: 1199px) {
  .pagina { width: auto; }
  .cabeca, .colunas { grid-template-columns: 180px minmax(0, 1fr) 160px; }
  .grande-btn { width: 140px; } .grande-btn span { width: 140px; } .grande-btn .arte { width: 116px; height: 116px; }
}
@media (max-width: 900px) {
  .cabeca { grid-template-columns: 180px minmax(0, 1fr); }
  .online-topo { display: none; }
  .colunas { grid-template-columns: 180px minmax(0, 1fr); }
  .dir { grid-column: 1 / -1; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .dir .grande-btn { margin: 0; }
  .destaques { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { background-size: 1500px 837px, 1500px auto, auto; }
  .pagina { padding: 0 8px 16px; }
  .cabeca { grid-template-columns: 1fr; height: auto; padding-top: 14px; row-gap: 8px; }
  .logo { margin: 0 auto; } .titulo-arte { order: -1; }
  .colunas { grid-template-columns: minmax(0, 1fr); }
  .esq { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; margin-bottom: 18px; }
  .caixa-login { margin: 0; }
  .botao-menu { display: flex; align-items: center; padding: 0 16px; font: 18px 'Uncial Antiqua', serif; color: var(--bege); cursor: pointer; text-shadow: 0 2px 0 #000;
    background: linear-gradient(180deg, #7b8086, #3b3f44); border: 3px solid; border-color: #9aa0a6 #50555a #3a3e42 #8a9095; }
  .menu { display: none; grid-column: 1 / -1; margin-top: 0; }
  .menu::before { display: none; }
  #abre-menu:checked ~ .menu { display: flex; }
  .caixa { margin-left: 4px; margin-right: 4px; }
  .barra span { font-size: 18px; }
  .destaques { grid-template-columns: repeat(2, 1fr); }
  .rapidinhas .data { width: 80px; }
  .tab th, .tab td { padding: 3px 4px; }
  .tab.ficha th { width: 100px; }
}
