/* css/tema_classico_cel.css (18/11/2026) - so carrega no tema classico (previa ?tema=classico ou $bmTemaClassico=true).
   O tema classico mora em @layer eclipse.classico: TODA regra vai dentro da camada abaixo, senao o !important perde.
   CELULAR (ate 860px). Base "classico vivo" (linha 2) + 3 blocos da linha 1 + acabamento final.
     1. VEU CINZA em cima de tudo (o brilho dos 3 widgets de castelo esticava pela pagina inteira) -> some
     2. topo: logo grande duplicado + bandeiras em caixas pretas redondas -> logo menor, bandeiras soltas com moldura fina
     3. widgets fechados mostravam uma tira vazia de pergaminho -> fechado = so a faixa do titulo, com + / - do tibia.com
     4. Hall da Fama em 5 colunas cortava os nomes -> 3 em cima e 2 centralizados embaixo, nome em ate 2 linhas
     5. tabelas: palavra cortada no meio / 1 letra por linha -> quebra so entre palavras; Mortes vira cartao
     6. barra de baixo: pedra escura com GIF do Tibia no lugar do emoji, toque "afunda", ativo com filete de ouro
     7. abas da ficha, busca das tabelas, Rank, Who is online, Top Frags, Tibia Rules, Criar Conta
     8. paginas da Library/eventos que estouravam a tela no celular (herois, tabelas, abas, linha do tempo)
   19/11 (spec do juiz C1-C4 + auditorias): topo tipo app (banner sobe de y~918 pra ~662), filtros em grade,
     busca da ficha, /war em cartao, A | placar | B, Anti-MC, retalhos do Coliseu/Antientrosa, Dodge/Critical em cartao,
     Ranking com a medalha do site (rank.png) na barra de baixo, recuo pendurado nos titulos (secao 16).
   19/11 (capricho de detalhes, secao 18 + edicoes no lugar): redes/ao vivo das paginas internas numa caixa so, PvP ao vivo
     com o level inteiro, demon inteiro na barra de baixo + filete de ouro, Wars com o placar entre as guilds, cabecalho da
     ficha, Tesouro da Coroa com GIF, Donate 3 x 2 e chave PIX, Shop "new" no canto, Cave Exclusiva em caixa e cartao,
     setinha e toque nos cartoes-link, passos do Onde upar em pedra, estrela no "% de tudo".
   Regra da casa: so dentro de @media (max-width:860px); nada de filter/transform/overflow em conteiner;
   nao mexe no display de nada que o JS esconde/mostra (busca, abas, sanfona, carrossel). */
@layer eclipse.classico {
@media (max-width:860px){

/* ---------- 1. VEU CINZA (P01, P34) ---------- */
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget.bm-castle::before,
html[data-tema="eclipse"] .bm-right .bm-widget.bm-castle::before{ content:none !important; background:none !important; }

/* ---------- 2. TOPO TIPO APP (P15, C1): logo menor, redes numa linha, promocao numa faixa, online | boss lado a lado ---------- */
html[data-tema="eclipse"] .bm-header .bm-logo img{ width:auto !important; max-width:62vw !important; max-height:86px !important; }
html[data-tema="eclipse"] .bm-header .bm-logo{ margin:0 auto -2px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-langs{ gap:10px !important; margin:0 0 2px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-langs a{
  background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
  padding:3px !important; min-height:0 !important; min-width:0 !important;
}
html[data-tema="eclipse"] .bm-header .bm-v2-langs a img{
  width:24px !important; height:16px !important; border:1px solid #050404 !important; border-radius:0 !important;
  box-shadow:0 0 0 1px #6B5A3A, 0 2px 3px rgba(0,0,0,.6) !important;
}
html[data-tema="eclipse"] .bm-header .bm-v2-langs a:is(:hover, :active, :focus-visible) img{ box-shadow:0 0 0 1px #E8C263, 0 0 6px rgba(232,194,99,.6) !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-langs a:focus-visible{ outline:0 !important; }
/* "Mais letal hoje": o "12 adversarios diferentes" aparece inteiro (era cortado com "...") */
html[data-tema="eclipse"] .bm-serverbar .bm-live-card .bm-live-sub{ white-space:normal !important; text-overflow:clip !important; overflow:visible !important; line-height:1.2 !important; }
/* faixa vinho das redes: as 4 numa linha, icone em cima e nome curto embaixo, filete entre elas */
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials{ display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:0 !important; padding:5px 2px 4px !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-link{
  display:flex !important; flex-direction:column !important; justify-content:center !important; align-items:center !important;
  gap:3px !important; padding:3px 2px !important; min-height:0 !important; min-width:0 !important; text-align:center !important;
  border-right:1px solid rgba(0,0,0,.35) !important; box-shadow:1px 0 0 rgba(255,210,150,.10) !important;
  -webkit-tap-highlight-color:transparent;
}
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-link:last-child{ border-right:0 !important; box-shadow:none !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-link:active{ background:rgba(0,0,0,.25) !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-link:focus-visible{ outline:1px solid #E8C263 !important; outline-offset:-2px !important; }
/* nome curto so nas 4 conhecidas (um link novo continua com o nome inteiro); o <strong> fica pro leitor de tela */
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-link strong{ font-size:11px !important; line-height:1.25 !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials :is(a.bm-social-whatsapp, a.bm-social-updates, a.bm-social-trade, a.bm-social-instagram) > strong{ font-size:0 !important; line-height:0 !important; margin-top:-3px !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials :is(a.bm-social-whatsapp, a.bm-social-updates, a.bm-social-trade, a.bm-social-instagram)::after{
  display:block !important; font-size:10.5px !important; line-height:1.15 !important; letter-spacing:.02em !important; white-space:nowrap !important;
  color:#FFE9B0 !important; -webkit-text-fill-color:#FFE9B0 !important; text-shadow:1px 1px 0 #000 !important; font-weight:700 !important;
  font-family:var(--cl-corpo) !important;
}
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-whatsapp::after{ content:"Ajuda" !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-updates::after{ content:"Novidades" !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-trade::after{ content:"Jogadores" !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-instagram::after{ content:"Instagram" !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-serverbar-socials a.bm-social-link:is(:hover, :active)::after{ color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; text-decoration:underline !important; }
/* promocao numa faixa so: selo | 5x | texto | botao (os ::before/::after de 0 eram o que quebrava a linha) */
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo{ display:flex !important; flex-wrap:nowrap !important; align-items:center !important; justify-content:space-between !important; gap:6px !important; padding:7px 8px !important; min-height:0 !important; }
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo::before,
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo::after{ flex:0 0 0px !important; width:0 !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo .bm-v2-promo-tag{ flex:0 0 auto !important; font-size:9.5px !important; padding:3px 5px !important; line-height:1.15 !important; white-space:normal !important; max-width:62px !important; text-align:center !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo > strong{ flex:0 0 auto !important; font-size:22px !important; line-height:1 !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo .bm-v2-promo-txt{ flex:1 1 0 !important; min-width:0 !important; white-space:normal !important; font-size:10.5px !important; line-height:1.25 !important; margin:0 !important; text-align:left !important; }
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo .bm-v2-promo-cta{ flex:0 0 auto !important; padding:6px 9px !important; font-size:11.5px !important; margin:0 !important; white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo:active .bm-v2-promo-cta{ box-shadow:inset 0 2px 3px rgba(0,0,0,.45) !important; }
/* ao vivo: cartoes mais baixos */
html[data-tema="eclipse"] .bm-serverbar .bm-live-strip{ gap:6px !important; margin-top:0 !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-live-cards{ gap:6px !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-live-card{ padding:6px 8px !important; min-height:0 !important; gap:1px !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-live-card .bm-live-val{ font-size:13px !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-serverbar .bm-live-strip :is(.bm-live-cap, .bm-live-sub){ font-size:10.5px !important; line-height:1.2 !important; }
/* placa do servidor: online | proximo boss lado a lado, IP numa linha embaixo */
html[data-tema="eclipse"] .bm-header .bm-widget.bm-v2-server{ padding:8px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-stats{ display:grid !important; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) !important; gap:6px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-stat.is-online{ grid-column:1 !important; grid-row:1 !important; padding:6px 4px !important; min-height:0 !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-stat.is-online > strong{ font-size:26px !important; line-height:1.1 !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-boss{ grid-column:2 !important; grid-row:1 !important; padding:6px !important; min-height:0 !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-boss > strong{ font-size:14px !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-boss > small{ font-size:10px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-ip{
  grid-column:1 / -1 !important; grid-row:2 !important; padding:5px 8px !important; min-height:0 !important; margin:0 !important;
  display:flex !important; flex-flow:row wrap !important; justify-content:center !important; align-items:baseline !important; column-gap:6px !important; row-gap:0 !important;
}
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-ip > span{ display:inline !important; margin-right:6px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-ip > strong{ display:inline !important; font-size:14px !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-ip > small{ flex:1 0 100% !important; margin-top:0 !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server :is(.bm-v2-ip, .bm-v2-boss):active{ box-shadow:inset 0 2px 4px rgba(0,0,0,.3) !important; }
html[data-tema="eclipse"] .bm-header .bm-v2-server .bm-v2-stats:not(:has(.bm-v2-boss)) .bm-v2-stat.is-online{ grid-column:1 / -1 !important; }
/* titulo da home em 2 linhas (sem o "8.60" sozinho na 3a) */
html[data-tema="eclipse"] body.bm-page-latestnews .bm-content h1{ font-size:17px !important; line-height:1.2 !important; }

/* ---------- 3. WIDGETS EM SANFONA (P16) ---------- */
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget{ padding:10px 10px 20px !important; opacity:1 !important; }
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget:not(.bm-acc-open){ padding-bottom:12px !important; }
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget:not(.bm-acc-open) > h2{ margin-bottom:0 !important; }
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget > h2{ min-height:44px !important; cursor:pointer; -webkit-tap-highlight-color:transparent; }
/* seta do celular vira o + / - do tibia.com */
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget > h2::after{
  content:"" !important; flex:0 0 12px; width:12px !important; height:12px !important;
  background:url(/layouts/tibiarl/images/general/plus.gif) center / 12px 12px no-repeat !important;
  transform:none !important; opacity:1 !important; font-size:0 !important;
}
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget.bm-acc-open > h2::after{ background-image:url(/layouts/tibiarl/images/general/minus.gif) !important; }
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget > h2:active{ filter:brightness(.88) !important; }
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget > h2:focus-visible{ outline:1px solid #E8C263 !important; outline-offset:-3px !important; }
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-castle-dominion{ opacity:1 !important; }
/* fechado: embaixo da faixa so a corrente de metal, sem a tira de pergaminho vazando pelas frestas do GIF */
html[data-tema="eclipse"] .bm-sidebar.bm-right .bm-widget:not(.bm-acc-open):has(> h2){
  background:url(/layouts/tibiarl/images/general/box-bottom.gif) center bottom / 100% 12px no-repeat, #15100C !important;
}

/* ---------- 4. HALL DA FAMA: 3 + 2 (P17) ---------- */
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-cards{ grid-template-columns:repeat(6, minmax(0, 1fr)) !important; gap:8px 4px !important; }
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-cards > .bm-hc{ grid-column:span 2 !important; padding:22px 3px 8px !important; }
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-cards > .bm-hc:nth-child(4){ grid-column:2 / span 2 !important; }
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-cards > .bm-hc:nth-child(5){ grid-column:4 / span 2 !important; }
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hc-nm{
  white-space:normal !important; text-overflow:clip !important; font-size:11px !important; line-height:1.2 !important;
  display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important; overflow:hidden !important; min-height:2.4em;
  overflow-wrap:break-word !important; word-break:normal !important; letter-spacing:0 !important;
}
/* nome de guild vem em CAIXA ALTA e e comprido ("SERVER DOWN ASCENSION", "LOS DESPRECIABLES"): 10px e ate 3 linhas, inteiro, nunca 1 letra por linha */
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall [data-hall-panel="guilds"] .bm-hc-nm{ font-size:min(10px, 2.62vw) !important; letter-spacing:-.015em !important; -webkit-line-clamp:3 !important; line-height:1.18 !important; }
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hc-av{ max-width:64px !important; }

/* ---------- 5. TABELAS ---------- */
/* quebra so entre palavras (o "anywhere" da base deixava 1 letra por linha) - testado pela auditoria B */
html[data-tema="eclipse"] .bm-content :is(td, th){ overflow-wrap:break-word !important; word-break:normal !important; }
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content td[style*="nowrap"]{ white-space:normal !important; }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .grid2 > *{ min-width:0 !important; }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] td:first-child{ white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content :is(.cpz-tab, [id="c24coroa"] table) :is(td, th){ padding:6px 5px !important; font-size:12px !important; }
/* Castle 48h: o placar cabe com as 4 colunas ("Tempo no trono" e "Alavanca no fim" sumiam na direita) */
html[data-tema="eclipse"] .bm-content .c48 .c48-tab{ min-width:0 !important; width:100% !important; table-layout:auto !important; }
html[data-tema="eclipse"] .bm-content .c48 .c48-tab :is(th, td){ white-space:normal !important; padding:6px 4px !important; font-size:11.5px !important; }
html[data-tema="eclipse"] .bm-content .c48 .c48-tab tr > :is(th, td).n{ text-align:center !important; }
/* setinha de ordenar nao encosta no texto do cabecalho */
html[data-tema="eclipse"] .bm-content th.bmx-sortable{ padding-right:16px !important; }
/* Rank: a coluna Guild sai, o Nome ganha o espaco; "Rank" inteiro com a setinha (N1) */
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-table :is(th, td):last-child{ display:none !important; }
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-table th:first-child{ white-space:nowrap !important; width:62px !important; padding-left:6px !important; padding-right:15px !important; text-overflow:clip !important; }
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-table td:nth-child(2) a{ white-space:normal !important; }
/* 13 categorias em 3 colunas: "Magic Level" e "Mineracao" cabem (quebram em 2 linhas se precisar, sem cortar) */
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-tabs{ gap:4px !important; }
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-tabs a{
  padding:3px 4px !important; gap:4px !important; font-size:11.5px !important; line-height:1.15 !important;
  white-space:normal !important; text-align:center !important; overflow:visible !important; min-width:0 !important;
}
/* podio: o chip da guild mostra o nome inteiro (era "SERV...") */
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-podium-guild,
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-podium-guild :is(a, span){
  white-space:normal !important; text-overflow:clip !important; overflow:visible !important; max-width:100% !important;
  font-size:min(10px, 2.5vw) !important; line-height:1.2 !important; padding:2px 3px !important; text-align:center !important; overflow-wrap:break-word !important; letter-spacing:-.01em !important;
}
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-podium-guild > :is(a, span){ padding:0 !important; border:0 !important; background:transparent !important; }
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-podium-slot{ padding-left:3px !important; padding-right:3px !important; }
html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-podium-guild{ align-self:stretch !important; }
/* Who is online: vocacao inteira (N2) */
html[data-tema="eclipse"] body.bm-page-whoisonline .bm-content table.bm-table td:nth-child(3){ font-size:11px !important; line-height:1.25 !important; }
/* a tabela e fixed (colunas iguais) e cortava tudo com "...": Level estreito, nome e vocacao quebram em 2 linhas inteiras */
html[data-tema="eclipse"] body.bm-page-whoisonline .bm-content table.bm-table :is(td, td a){ white-space:normal !important; text-overflow:clip !important; overflow:visible !important; }
html[data-tema="eclipse"] body.bm-page-whoisonline .bm-content table.bm-table td{ padding:8px 6px !important; }
html[data-tema="eclipse"] body.bm-page-whoisonline .bm-content table.bm-table th{ padding:10px 15px 10px 6px !important; text-overflow:clip !important; }
html[data-tema="eclipse"] body.bm-page-whoisonline .bm-content table.bm-table th:nth-child(2){ width:62px !important; }
html[data-tema="eclipse"] body.bm-page-whoisonline .bm-content table.bm-table th:nth-child(3){ width:38% !important; }
/* busca das tabelas (o JS cria a barra): campo na largura toda, contador embaixo (N4) */
html[data-tema="eclipse"] .bm-content .bmx-tools{ display:flex !important; flex-wrap:wrap !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content .bmx-tools .bmx-search{ flex:1 1 100% !important; width:100% !important; min-width:0 !important; max-width:none !important; box-sizing:border-box !important; }
/* contador: selinho pequeno a direita, embaixo do campo (era uma faixa da largura toda) */
html[data-tema="eclipse"] .bm-content .bmx-tools .bmx-count{ flex:0 0 auto !important; margin-left:auto !important; }
/* a barra tinha 14px de recuo dos 2 lados: o campo ficava mais estreito que a tabela logo embaixo (torto); agora alinha com ela */
html[data-tema="eclipse"] .bm-content .bmx-tools{ padding:0 0 10px !important; align-items:center !important; }

/* Mortes: cada morte vira um cartao (numero e data em cima, frase inteira embaixo) (P10).
   :not([style*="none"]) = a busca da tabela esconde a linha com style="display:none"; sem isso o grid !important desfazia a busca */
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table thead{ display:none !important; }
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody tr:not([style*="none"]){
  display:grid !important; grid-template-columns:30px 1fr; align-items:baseline;
  padding:7px 6px 8px !important; border-bottom:1px solid #CDB792 !important;
}
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody tr{ background:#FFF2DB !important; box-shadow:inset 0 1px 0 #FFF8EC !important; }
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody tr:nth-child(even){ background:#F1E0C6 !important; }
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody td{ border:0 !important; padding:0 !important; background:transparent !important; box-shadow:none !important; }
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody td:nth-child(1){ white-space:nowrap !important; font-weight:700 !important; color:#7A1A1A !important; -webkit-text-fill-color:#7A1A1A !important; }
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody td:nth-child(2){ white-space:nowrap !important; font-size:11px !important; color:#634322 !important; -webkit-text-fill-color:#634322 !important; }
html[data-tema="eclipse"] body.bm-page-killstatistics .bm-content .last-deaths-table tbody td:nth-child(3){ grid-column:1 / -1; padding:3px 0 0 30px !important; white-space:normal !important; overflow:visible !important; font-size:13px !important; line-height:1.4 !important; text-align:left !important; }

/* ---------- 6. BARRA DE BAIXO (P13) ---------- */
html[data-tema="eclipse"] .bm-bottom-nav{
  background:linear-gradient(180deg, #2A2622, #15100C 60%) !important;
  border-top:1px solid #6B5A3A !important;
  box-shadow:0 -1px 0 #050404, inset 0 1px 0 rgba(255,255,255,.06), 0 -6px 18px rgba(0,0,0,.55) !important;
}
html[data-tema="eclipse"] .bm-bottom-nav a{ -webkit-tap-highlight-color:transparent; }
html[data-tema="eclipse"] .bm-bottom-nav a + a{ box-shadow:inset 1px 0 0 rgba(0,0,0,.6), inset 2px 0 0 rgba(255,255,255,.04) !important; }
html[data-tema="eclipse"] .bm-bottom-nav a:active{ background:rgba(0,0,0,.35) !important; }
html[data-tema="eclipse"] .bm-bottom-nav a.is-active{
  background:linear-gradient(180deg, rgba(201,160,48,.22), rgba(201,160,48,0)) !important; box-shadow:inset 0 2px 0 #E8C263 !important;
}
html[data-tema="eclipse"] .bm-bottom-nav a small{ text-shadow:1px 1px 0 #000 !important; }
/* GIF do Tibia no lugar do emoji (linha 1, §4) */
html[data-tema="eclipse"] .bm-bottom-nav a > span{
  font-size:0 !important; color:transparent !important; -webkit-text-fill-color:transparent !important;
  display:block !important; width:28px !important; height:26px !important; margin:0 auto 1px !important;
  background:var(--bm-bn) !important; filter:saturate(.7) brightness(.92) !important;
}
html[data-tema="eclipse"] .bm-bottom-nav a.is-active > span,
html[data-tema="eclipse"] .bm-bottom-nav a:active > span{ filter:drop-shadow(0 0 3px rgba(255,214,120,.7)) !important; }
html[data-tema="eclipse"] .bm-bottom-nav a[data-sub="latestnews"]{ --bm-bn:url(/layouts/tibiarl/images/menu/icon-news.gif) center / 26px auto no-repeat; }
html[data-tema="eclipse"] .bm-bottom-nav a[data-sub="characters"]{ --bm-bn:url(/images/lupa.gif) center / auto 24px no-repeat; }
html[data-tema="eclipse"] .bm-bottom-nav a[data-sub="highscores"]{ --bm-bn:url(/images/rank.png) -21px -4px / 62px 38px no-repeat; }
/* Ranking: a medalha de ouro do proprio site (rank.png); 20px de largura pra medalha vizinha nao aparecer */
html[data-tema="eclipse"] .bm-bottom-nav a[data-sub="highscores"] > span{ width:20px !important; }
/* Monstros: o demon inteiro em 27px (cortado em 34px virava um borrao vermelho quadrado) */
html[data-tema="eclipse"] .bm-bottom-nav a[data-sub="monsters"]{ --bm-bn:url(/images/monster/demon.gif) center 60% / 27px auto no-repeat; }
html[data-tema="eclipse"] .bm-bottom-nav a[data-sub="shop"]{ --bm-bn:url(/images/items/2004.gif) center / 28px auto no-repeat; }

/* ---------- 7. ABAS DA FICHA (P19, linha 1 §6): 3 colunas iguais, GIF em cima do nome ---------- */
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-char-tabnav{ display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:3px !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-char-tab{
  margin:0 !important; text-align:center !important; padding:6px 2px 5px !important; font-size:12px !important;
  line-height:1.2 !important; white-space:normal !important; min-width:0 !important;
}
/* o GIF vem do tema_classico_paginas.css; aqui so a posicao (cabe "Equipamento" na coluna de 1/3) */
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-char-tab::before{ display:block !important; margin:0 auto 2px !important; width:20px !important; height:20px !important; }

/* ---------- 8. TOP FRAGS: podio com os 3 lado a lado (N3, P18) ---------- */
html[data-tema="eclipse"] .bm-content .bm-frags-card-title{ flex-direction:column !important; justify-content:center !important; text-align:center !important; gap:1px !important; line-height:1.25 !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-podium{ grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:6px !important; padding:6px 0 2px !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-podium-item{ padding:8px 4px !important; min-width:0 !important; min-height:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-podium-item .bm-frags-outfit{ max-width:100% !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-podium-item .bm-frags-rank{ font-size:11px !important; white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-podium-item .bm-frags-name{
  font-size:11px !important; line-height:1.2 !important; white-space:normal !important; overflow-wrap:break-word !important; word-break:normal !important;
  display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important; overflow:hidden !important; max-width:100% !important;
}
html[data-tema="eclipse"] .bm-content .bm-frags-podium-item .bm-frags-count{ font-size:11px !important; white-space:nowrap !important; }
/* tabela Top Mortes: cabia so ate "Fr" (padding largo); agora as 4 colunas cabem sem arrastar */
html[data-tema="eclipse"] .bm-content .bm-frags-table th{ padding:9px 14px 9px 6px !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-table td{ padding:10px 5px !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-table td:nth-child(3){ text-align:left !important; }

@media (max-width:380px){
  /* telas de 360: a ultima letra de "DESPRECIABLES" nao desce sozinha; abas do Rank com folga */
  html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-cards > .bm-hc{ padding-left:2px !important; padding-right:2px !important; }
  html[data-tema="eclipse"] body.bm-page-highscores .bm-content .bm-rank-tabs a{ font-size:11px !important; padding:3px 2px !important; gap:3px !important; }
}

/* ---------- 9. TIBIA RULES: os 3 idiomas lado a lado (N5, P31) ---------- */
html[data-tema="eclipse"] .bm-content .bm-rl-langs{ display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:6px !important; }
html[data-tema="eclipse"] .bm-content .bm-rl-langs .bm-rl-lang{ width:auto !important; min-width:0 !important; font-size:12px !important; padding:5px 4px !important; min-height:32px !important; }
/* C2: os 11 filtros (7 categorias + 4 gravidades) em grade 2 x N (eram 11 barras da largura toda, uns 520px de azul) */
html[data-tema="eclipse"] .bm-content .bm-rl :is(.bm-rl-cats, .bm-rl-sevs){ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:5px !important; width:100% !important; flex:1 1 100% !important; }
html[data-tema="eclipse"] .bm-content .bm-rl :is(.bm-rl-cat, .bm-rl-sevf){ width:100% !important; justify-content:center !important; min-width:0 !important; font-size:12px !important; padding:5px 4px !important; min-height:32px !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-rl .bm-rl-sevs > :not(button){ grid-column:1 / -1 !important; }
html[data-tema="eclipse"] .bm-content .bm-rl .bm-rl-cats > .bm-rl-cat:last-child:nth-child(odd){ grid-column:1 / -1 !important; }
/* Onde upar: os chips de level em 4 colunas iguais */
html[data-tema="eclipse"] .bm-content .ou-chips{ display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:5px !important; }
html[data-tema="eclipse"] .bm-content .ou-chips > button.ou-chip{ width:100% !important; min-width:0 !important; justify-content:center !important; padding:8px 2px !important; font-size:11.5px !important; gap:4px !important; white-space:nowrap !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .ou-chips > button.ou-chip::before{ width:6px !important; height:6px !important; }
/* Guilds: ordenar em 2 x 2 */
html[data-tema="eclipse"] .bm-content #bmGuildSort{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:5px !important; }
html[data-tema="eclipse"] .bm-content #bmGuildSort > button{ width:100% !important; min-width:0 !important; font-size:12px !important; padding:6px 4px !important; margin:0 !important; }

/* ---------- 10. CRIAR CONTA: o nome da etapa atual aparece (N6, P23) ---------- */
html[data-tema="eclipse"] [id="bmCr"] .cr-steps li.is-on span{ display:inline !important; }

/* ---------- 11. SHOP: abas em grade de 3 iguais (eram 15 pedacos tortos, cada um de um tamanho) ---------- */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tabs{ display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:4px !important; padding:6px !important; align-items:stretch !important; }
/* (19/11) as abas da mesma fileira com a mesma altura: "Safiras (Atk&Def)" em 2 linhas ficava mais alta e torta ao lado de Auras/Premium */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tabs > .bm-shop-tab{ height:auto !important; align-self:stretch !important; }
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tab{
  margin:0 !important; min-width:0 !important; width:auto !important; padding:6px 3px !important; min-height:34px !important;
  font-size:11.5px !important; line-height:1.15 !important; white-space:normal !important; text-align:center !important; justify-content:center !important;
}
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tab.is-new-tab{ grid-column:1 / -1 !important; }
/* selo "new" e contador nao encolhem por cima do texto da aba */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tab{ gap:3px !important; }
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tab > :is(.bm-tab-new, .bm-nov-count, .bm-nov-star){ flex:0 0 auto !important; }
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tab > .bm-tab-new{ padding:1px 4px !important; margin-left:2px !important; }

/* ---------- 11b. GUILDS e ANTI-MC: grade de 1 coluna que esticava ate o conteudo e saia da tela ---------- */
html[data-tema="eclipse"] .bm-content .bm-guild-grid{ grid-template-columns:minmax(0, 1fr) !important; }
html[data-tema="eclipse"] .bm-content .bm-guild-grid > .bm-guild-card{ min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-guild-card .bm-guild-card-body{ min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-guild-card .bm-guild-card-body strong{ white-space:normal !important; overflow-wrap:break-word !important; line-height:1.25 !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] .amc-sim{ grid-template-columns:minmax(0, 1fr) !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] .amc-sim > *{ min-width:0 !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] .amc-chars{ gap:4px !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] .amc-chars .amc-char{ min-width:0 !important; padding:4px 2px !important; font-size:17px !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] .amc-chars .amc-char small{ font-size:10.5px !important; line-height:1.15 !important; white-space:normal !important; }

/* ---------- 12. ANTIENTROSA: tabela de Comandos vira cartao (comando + quem em cima, explicacao inteira embaixo) ---------- */
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table tr{
  display:grid !important; grid-template-columns:minmax(0, 1fr) auto; column-gap:8px; align-items:baseline;
  padding:8px 10px !important; border-bottom:1px solid #CDB792 !important;
}
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table td{ padding:0 !important; border:0 !important; text-align:left !important; }
/* sem retalhos: a cor da linha e do <tr>, a celula fica transparente */
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table tr > td,
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table tr:nth-child(even) > td{ background:transparent !important; box-shadow:none !important; }
/* comando gerado inteiro (era nowrap e cortava no meio) */
html[data-tema="eclipse"] .bm-content .bm-ae [id="ae-output"]{ white-space:pre-wrap !important; overflow-wrap:anywhere !important; }
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table td:nth-child(1){ grid-column:1; grid-row:1; font-weight:700 !important; }
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table td:nth-child(3){ grid-column:2; grid-row:1; text-align:right !important; font-size:11px !important; white-space:nowrap !important; }
html[data-tema="eclipse"] body.bm-page-antientrosa .bm-content .bm-ae-card table td:nth-child(2){ grid-column:1 / -1; grid-row:2; padding-top:3px !important; font-size:13px !important; line-height:1.4 !important; }

/* ---------- 13. EVENTOS: margem interna igual em todas (o texto ficava espremido em 265px) ---------- */
html[data-tema="eclipse"] .bm-content :is(.bm-ev-shell, .bm-tb-shell, .bm-ae-card, .bm-ob-sec, .bm-ob-hero, .bm-ga-hero, .bm-dom-pause-box){ padding-left:12px !important; padding-right:12px !important; }
/* Castle Dominion: a caixa de dentro nao soma mais margem (o titulo quebrava em 2 linhas numa faixa estreita) */
html[data-tema="eclipse"] .bm-content .bm-dom-pause-box > .bm-dom-pause-head{ padding:12px !important; }
/* Open Battle: calendario 4 + 3 (o DOM sumia na direita) e as 4 abas em 2 x 2 do mesmo tamanho */
html[data-tema="eclipse"] .bm-content .bm-ob-cal{ grid-template-columns:repeat(4, minmax(0, 1fr)) !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-cal-dia{ min-width:0 !important; padding:8px 3px !important; font-size:11px !important; line-height:1.25 !important; overflow-wrap:break-word !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-tabs{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-tabs .bm-ob-tab{ width:auto !important; min-width:0 !important; padding:7px 4px !important; font-size:12px !important; line-height:1.2 !important; text-align:center !important; border-bottom:1px solid #A88B66 !important; }
/* Open Battle: os 6 numeros rapidos em 3 x 2 (eram 6 cartoes enormes um embaixo do outro) */
html[data-tema="eclipse"] .bm-content .bm-ob-info{ grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:6px !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-info .bm-ob-info-card{ padding:8px 4px !important; min-width:0 !important; text-align:center !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-info .bm-ob-num{ font-size:19px !important; line-height:1.15 !important; white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-info .bm-ob-lbl{ font-size:11px !important; line-height:1.2 !important; }
/* Open Battle "Como funciona": o negrito no meio da frase virava linha propria (regra da pagina pegava todo <b>) */
html[data-tema="eclipse"] .bm-content .bm-ob-timeline li > span b{ display:inline !important; font-size:inherit !important; font-family:inherit !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-ob-timeline li{ padding-left:50px !important; }
/* Eventos: os 7 filtros aparecem todos, em 2 colunas (antes 4 ficavam escondidos na direita) */
html[data-tema="eclipse"] .bm-content .ev-filters{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; overflow-x:visible !important; gap:5px !important; padding:8px !important; }
html[data-tema="eclipse"] .bm-content .ev-filters > *{ width:auto !important; min-width:0 !important; margin:0 !important; white-space:normal !important; }
html[data-tema="eclipse"] .bm-content .ev-filters > :last-child:nth-child(odd){ grid-column:1 / -1 !important; }
/* Coliseu: as 30 waves mais compactas (era rolar 60 telas) */
html[data-tema="eclipse"] .bm-content .col-wave-grid{ gap:8px !important; margin-top:14px !important; }
html[data-tema="eclipse"] .bm-content .col-wave{ padding:10px 12px !important; }
html[data-tema="eclipse"] .bm-content .col-wave p{ font-size:12px !important; line-height:1.4 !important; margin-top:4px !important; }
/* Coliseu: tabela de recompensas (10.600px de altura, 3 colunas finas) vira cartao: wave + monstros em cima, recompensa inteira embaixo */
html[data-tema="eclipse"] .bm-content .col-table thead{ display:none !important; }
html[data-tema="eclipse"] .bm-content .col-table tbody tr:not([style*="none"]){
  display:grid !important; grid-template-columns:30px minmax(0, 1fr); column-gap:6px; align-items:baseline;
  padding:8px 10px !important; border-bottom:1px solid #CDB792 !important;
}
html[data-tema="eclipse"] .bm-content .col-table tbody tr{ background:#FFF2DB !important; }
html[data-tema="eclipse"] .bm-content .col-table tbody tr:nth-child(even){ background:#F1E0C6 !important; }
html[data-tema="eclipse"] .bm-content .col-table tbody td{ padding:0 !important; border:0 !important; background:transparent !important; text-align:left !important; }
/* sem retalhos: o zebrado do contraste.css (.col .col-table tr:nth-child(even) td) pintava cada celula do cartao */
html[data-tema="eclipse"] .bm-content .col .col-table tbody tr td,
html[data-tema="eclipse"] .bm-content .col .col-table tbody tr:nth-child(even) td{ background:transparent !important; }
/* Coliseu: as 4 caixas (horario, level, players, sem loss) em 2 x 2 */
html[data-tema="eclipse"] .bm-content .col .col-specs{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:8px !important; }
html[data-tema="eclipse"] .bm-content .col .col-spec{ padding:12px 8px !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .col .col-spec > b{ font-size:22px !important; line-height:1.15 !important; }
html[data-tema="eclipse"] .bm-content .col .col-spec > b.col-times{ font-size:15px !important; line-height:1.35 !important; }
/* Coliseu: os 4 avisos do topo em texto corrido a esquerda (7 linhas centralizadas eram dificeis de ler) */
html[data-tema="eclipse"] .bm-content .col .col-hero .col-genesis-note{ text-align:left !important; }
html[data-tema="eclipse"] .bm-content .col-table tbody td:nth-child(1){ font-weight:700 !important; color:#7A1A1A !important; -webkit-text-fill-color:#7A1A1A !important; white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .col-table tbody td:nth-child(2){ font-weight:700 !important; font-size:12.5px !important; }
html[data-tema="eclipse"] .bm-content .col-table tbody td:nth-child(3){ grid-column:1 / -1; padding:4px 0 0 36px !important; font-size:12.5px !important; line-height:1.45 !important; }
html[data-tema="eclipse"] .bm-content .col-wave .col-wave-num{ width:26px !important; height:26px !important; line-height:26px !important; font-size:12px !important; margin-right:6px !important; }

/* ---------- 14. LIBRARY: abas em grade (eram barras da largura toda, uma embaixo da outra) ---------- */
html[data-tema="eclipse"] .bm-content :is(.bm-command-tabs, .bm-wands-tabs, .bm-party-flow){ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content :is(.bsets-voc-tabs, .bm-we-tabs){ display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content :is(.bm-command-tab, .bm-wands-tabs > button, .bsets-voc-tab, .bm-we-tab, .bm-party-voc){
  width:auto !important; min-width:0 !important; margin:0 !important; padding:6px 4px !important; min-height:32px !important;
  font-size:12px !important; line-height:1.2 !important; white-space:normal !important; text-align:center !important; justify-content:center !important;
}
/* Comandos: a descricao caia na coluna de 18px (1 palavra por linha, pagina de 53.000px) */
html[data-tema="eclipse"] .bm-content .bm-command-row{ grid-template-columns:24px minmax(0, 1fr) !important; grid-template-areas:none !important; row-gap:6px !important; align-items:start !important; padding:10px !important; }
html[data-tema="eclipse"] .bm-content .bm-command-row > :first-child{ grid-column:1 !important; grid-row:1 !important; }
html[data-tema="eclipse"] .bm-content .bm-command-row > code{ grid-column:2 !important; grid-row:1 !important; justify-self:stretch !important; }
html[data-tema="eclipse"] .bm-content .bm-command-row > p{ grid-column:1 / -1 !important; grid-row:2 !important; font-size:13.5px !important; }
/* Host: a tabela de ping cabe inteira (a coluna "Host novo" sumia) */
html[data-tema="eclipse"] .bm-content .hostinfo{ padding:0 !important; }
html[data-tema="eclipse"] .bm-content .hostinfo :is(.section, .hi-hero){ padding:14px 12px !important; margin-bottom:14px !important; }
html[data-tema="eclipse"] .bm-content .hostinfo table{ width:100% !important; table-layout:fixed !important; font-size:12px !important; }
html[data-tema="eclipse"] .bm-content .hostinfo :is(th, td){ padding:6px 5px !important; font-size:12px !important; }
html[data-tema="eclipse"] .bm-content .hostinfo th{ white-space:normal !important; }
html[data-tema="eclipse"] .bm-content .hostinfo :is(th, td):first-child{ width:34% !important; }
/* Historia: linha do tempo com a data em cima do cartao (a bolinha comia a data) */
html[data-tema="eclipse"] .bm-content .hs-timeline{ padding-left:0 !important; }
html[data-tema="eclipse"] .bm-content .hs-timeline::before{ left:11px !important; }
html[data-tema="eclipse"] .bm-content .hs-tl-item{ grid-template-columns:minmax(0, 1fr) !important; gap:4px !important; padding-bottom:16px !important; }
html[data-tema="eclipse"] .bm-content .hs-tl-year{ text-align:left !important; padding:0 0 0 30px !important; font-size:13px !important; white-space:normal !important; }
html[data-tema="eclipse"] .bm-content .hs-tl-card{ margin-left:30px !important; padding:11px 12px !important; }
html[data-tema="eclipse"] .bm-content .hs-tl-card::before{ left:-25px !important; top:-19px !important; }
/* capitulos: a aba seguinte aparece pela metade na direita = da pra ver que arrasta pro lado */
html[data-tema="eclipse"] .bm-content .hs-chapter-nav .hs-chapter-tab{ flex:0 0 80% !important; width:80% !important; min-width:0 !important; }
/* Dodge/Critico/Reflect: tabelas sem palavra partida no meio */
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table{ width:100% !important; font-size:12px !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela :is(th, td){ padding:6px 4px !important; overflow-wrap:normal !important; hyphens:none !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela td:not(:first-child){ white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela td:last-child{ white-space:normal !important; }
/* as 2 tabelas de 5 colunas (teto real / onde conseguir: 441px e 1168px numa caixa de 265px) viram cartao:
   nome em cima, os 3 numeros lado a lado com o rotulo em cima, a ultima coluna na largura toda */
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)),
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody{ display:block !important; width:100% !important; min-width:0 !important; max-width:100% !important; overflow:visible !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) thead{ display:none !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr{
  display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)) !important; column-gap:6px !important; row-gap:5px !important;
  padding:8px 10px !important; border-bottom:1px solid #CDB792 !important; background:#FFF2DB !important;
}
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr:nth-child(even){ background:#F1E0C6 !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr > td{
  display:block !important; width:auto !important; min-width:0 !important; padding:0 !important; border:0 !important;
  background:transparent !important; box-shadow:none !important; white-space:normal !important; text-align:left !important; font-size:12.5px !important; line-height:1.3 !important;
}
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr > td:first-child{ grid-column:1 / -1 !important; font-weight:700 !important; font-size:13px !important; color:#3B1F00 !important; -webkit-text-fill-color:#3B1F00 !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr > td:nth-child(5),
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr > td[colspan],
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr > td[colspan] ~ td{ grid-column:1 / -1 !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)) tbody tr > td:not(:first-child)::before{
  display:block !important; font-size:10.5px !important; font-weight:700 !important; line-height:1.2 !important; margin-bottom:1px !important;
  color:#634322 !important; -webkit-text-fill-color:#634322 !important; text-transform:none !important; letter-spacing:0 !important;
}
/* rotulos: tabela do teto (tem a linha .is-crit) */
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(tr.is-crit) tbody tr > td:nth-child(2)::before{ content:"Pedra" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(tr.is-crit) tbody tr > td:nth-child(3)::before{ content:"Magia (3s)" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(tr.is-crit) tbody tr > td:nth-child(4)::before{ content:"Genesis Aura" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(tr.is-crit) tbody tr > td:nth-child(5){ display:flex !important; align-items:baseline !important; gap:6px !important; font-weight:700 !important; font-size:14px !important; color:#3B1F00 !important; -webkit-text-fill-color:#3B1F00 !important; border-top:1px dotted #B89A72 !important; padding-top:4px !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(tr.is-crit) tbody tr > td:nth-child(5)::before{ content:"M\00E1ximo real:" !important; display:inline !important; font-size:11.5px !important; }
/* rotulos: tabela "onde conseguir" */
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)):not(:has(tr.is-crit)) tbody tr > td:nth-child(2)::before{ content:"Dodge" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)):not(:has(tr.is-crit)) tbody tr > td:nth-child(3)::before{ content:"Critical" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)):not(:has(tr.is-crit)) tbody tr > td:nth-child(4)::before{ content:"Reflect" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)):not(:has(tr.is-crit)) tbody tr > td:nth-child(5)::before,
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)):not(:has(tr.is-crit)) tbody tr > td[colspan] + td::before{ content:"Observa\00E7\00E3o" !important; }
html[data-tema="eclipse"] .bm-content .bm-dcr-tabela table:has(th:nth-child(5)):not(:has(tr.is-crit)) tbody tr > td[colspan]::before{ content:"Dodge, Critical e Reflect" !important; }
/* Aura: formula em coluna, com o sinal entre os termos (os +, x e = ficavam soltos na direita) */
html[data-tema="eclipse"] .bm-content .aur-formula{ flex-direction:column !important; align-items:center !important; gap:2px !important; }
html[data-tema="eclipse"] .bm-content .aur-formula .aur-fop{ margin:0 !important; font-size:20px !important; line-height:1 !important; }
html[data-tema="eclipse"] .bm-content .aur-tier-card .aur-tier-tag{ position:relative !important; z-index:2 !important; }
/* Quest Spells: coluna Item sem cortar o nome ("Swor d", "Cros sbow") */
html[data-tema="eclipse"] .bm-content .bmx-card table :is(th, td){ overflow-wrap:normal !important; hyphens:none !important; }
html[data-tema="eclipse"] .bm-content .bmx-card table td:first-child{ min-width:84px !important; }
/* "Os 12 itens": nome e preco sem silaba partida ("Tapeca-rias", "4.203 / gp") */
html[data-tema="eclipse"] .bm-content .bmx-card table.bmx-table :is(th, td){ font-size:12px !important; padding:6px 5px !important; }
html[data-tema="eclipse"] .bm-content .bmx-card table.bmx-table td:is(:first-child, :last-child) b,
html[data-tema="eclipse"] .bm-content .bmx-card table.bmx-table tr > :last-child{ white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .bmx-card table.bmx-table tr > td:last-child{ white-space:normal !important; min-width:58px !important; }
/* Server Info / Sacred Bow: tabela na largura da caixa e topo empilhado */
html[data-tema="eclipse"] .bm-content :is(.bm-si, .bm-sb) table{ width:100% !important; }
/* o celular deixava a tabela como "block" (linhas paravam no meio da caixa); estas cabem inteiras, voltam a ser tabela */
html[data-tema="eclipse"] .bm-content :is(.bm-si-table, .bm-sb-table){ display:table !important; width:100% !important; }
html[data-tema="eclipse"] .bm-content .bm-si-hero{ grid-template-columns:minmax(0, 1fr) !important; flex-direction:column !important; justify-items:center !important; align-items:center !important; text-align:center !important; }
html[data-tema="eclipse"] .bm-content .bm-si-hero > *{ min-width:0 !important; max-width:100% !important; }
html[data-tema="eclipse"] .bm-content .bm-si-hero .bm-si-hero-icon{ width:48px !important; height:auto !important; }
html[data-tema="eclipse"] .bm-content .bm-sb-hero{ flex-direction:column !important; text-align:center !important; }
html[data-tema="eclipse"] .bm-content .bm-sb-hero > *{ min-width:0 !important; max-width:100% !important; }

/* ---------- 15. ECONOMIA: herois que estouravam a tela (auditoria D, testado) ---------- */
html[data-tema="eclipse"] .bm-content .bm-mbx-hero{ flex-direction:column !important; align-items:center !important; gap:10px !important; text-align:center !important; }
html[data-tema="eclipse"] .bm-content .bm-mbx-hero > div{ min-width:0 !important; width:100% !important; }
html[data-tema="eclipse"] .bm-content .ci-npc{ grid-template-columns:minmax(0, 1fr) !important; }
html[data-tema="eclipse"] .bm-content .ci-npc > *{ min-width:0 !important; max-width:100% !important; }
html[data-tema="eclipse"] .bm-content .ci-npc-img{ justify-self:center !important; width:auto !important; }
html[data-tema="eclipse"] .bm-content .ci-table-wrap{ overflow-x:auto !important; max-width:100% !important; }
html[data-tema="eclipse"] .bm-content .bm-lottery-banner-hero{ grid-template-columns:minmax(0, 1fr) !important; justify-items:center !important; text-align:center !important; }
html[data-tema="eclipse"] .bm-content .bm-lottery-badge{ min-width:0 !important; }
/* Colecoes (montarias e roupas): 200+ cartoes; o cartao fica mais baixo (selo de bonus com menos sobra) */
html[data-tema="eclipse"] .bm-content :is(.mtc-outfit-card, .mtc-shop-card, .adc-outfit-card){ padding:8px 5px !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-outfit-card, .mtc-shop-card, .adc-outfit-card) .bmb-l > li{ padding:2px 4px !important; font-size:12px !important; line-height:1.3 !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-outfit-card, .adc-outfit-card) > small{ font-size:12px !important; line-height:1.25 !important; }
/* Event Coins: "De onde caem" com as 3 colunas inteiras */
html[data-tema="eclipse"] .bm-content .ec-table :is(th, td){ overflow-wrap:normal !important; word-break:normal !important; padding:7px 5px !important; }
html[data-tema="eclipse"] .bm-content .ec-table td:first-child{ width:52% !important; }
/* a 1a linha da tabela vinha centralizada (regra antiga de "cabecalho na 1a linha"), as outras a esquerda */
html[data-tema="eclipse"] .bm-content table.ec-table > tbody > tr:first-child > td{ text-align:start !important; }

/* ---------- 16. ACABAMENTO 19/11 (auditorias A, B, C, D, E + juiz) ---------- */
/* Ficha: o botao "Buscar" aparece inteiro (o campo tinha 232px fixos e empurrava o botao pra fora) */
html[data-tema="eclipse"] body.bm-page-characters .bm-content #bmBuscaBox input#bmBuscaInput{ min-width:0 !important; flex:1 1 0 !important; width:0 !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content #bmBuscaBox > button.bm-form-button{ flex:0 0 auto !important; width:auto !important; padding:8px 12px !important; }
/* Wars: cada /war vira um cartao com a explicacao inteira embaixo (o 2o td ficava fora do cartao) */
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table,
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table tbody{ display:block !important; width:100% !important; }
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table tr{ display:block !important; padding:8px 10px !important; border-bottom:1px solid #CDB792 !important; background:#FFF2DB !important; }
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table tr:nth-child(even){ background:#F1E0C6 !important; }
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table tr:last-child{ border-bottom:0 !important; }
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table td{ display:block !important; width:auto !important; padding:0 !important; border:0 !important; background:transparent !important; white-space:normal !important; }
html[data-tema="eclipse"] .bm-content table.bm-war-cmd-table td.bm-war-cmd{ font-weight:700 !important; padding-bottom:3px !important; white-space:normal !important; overflow-wrap:anywhere !important; }
/* Wars: A | placar | B lado a lado (empilhado perdia a leitura de "A contra B").
   19/11 (capricho): o miolo vira display:contents e se espalha na grade: o status em cima na largura toda, so o placar
   entre as guilds (coluna estreita, as guilds ganham largura e o nome nao parte), inicio/limite e "Ver detalhes" embaixo.
   (antes o miolo de 1/3 quebrava "Guerra / em / andamento" e "Ver / detalhes" em 3 e 2 linhas) */
html[data-tema="eclipse"] .bm-content .bm-war-row-top{ display:grid !important; grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr) !important; align-items:center !important; column-gap:10px !important; row-gap:6px !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-side:first-child{ grid-column:1 !important; grid-row:2 !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-mid{ display:contents !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-side:last-child{ grid-column:3 !important; grid-row:2 !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-mid > .bm-war-status{ grid-column:1 / -1 !important; grid-row:1 !important; justify-self:center !important; text-align:center !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-mid > .bm-war-score{ grid-column:2 !important; grid-row:2 !important; align-self:center !important; white-space:nowrap !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-mid > .bm-war-meta{ grid-column:1 / -1 !important; grid-row:3 !important; text-align:center !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-mid > .bm-war-toggle{ grid-column:1 / -1 !important; grid-row:4 !important; justify-self:center !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row .bm-war-side > form{ width:100% !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row .bm-war-side button{ width:100% !important; padding:6px 3px !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row .bm-war-side button img{ width:40px !important; height:40px !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row .bm-war-side-name{ overflow-wrap:break-word !important; word-break:normal !important; font-size:11px !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row :is(.bm-war-meta, .bm-war-status){ font-size:10px !important; }
/* Anti-MC: botoes - e + quadrados (eram 2 tiras de 14px) */
html[data-tema="eclipse"] body .bm-content [id="bmAmc"] .amc-step button{ flex:0 0 auto !important; width:36px !important; min-width:36px !important; height:32px !important; min-height:0 !important; padding:0 !important; background-size:100% 100% !important; font-size:18px !important; line-height:1 !important; }
/* Grimvault: a faixa verde do bloco numa linha so, o texto do lado desce */
/* Anti-MC: a tabela das guilds (486px numa caixa de 300px) cabe com as 4 colunas, e a 1a linha alinha com as outras */
html[data-tema="eclipse"] .bm-content [id="bmAmc"] table.amc-tab{ min-width:0 !important; width:100% !important; table-layout:auto !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] table.amc-tab :is(th, td){ white-space:normal !important; padding:6px 4px !important; font-size:12px !important; text-align:left !important; letter-spacing:0 !important; }
html[data-tema="eclipse"] .bm-content [id="bmAmc"] table.amc-tab th{ font-size:10.5px !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-content .bm-gv-block-head{ flex-wrap:wrap !important; row-gap:4px !important; }
html[data-tema="eclipse"] .bm-content .bm-gv-block-head > h2{ white-space:nowrap !important; }
/* Progresso: "vocacao · level · guild" em ate 2 linhas (somiam level e guild com "...") */
html[data-tema="eclipse"] .bm-content .cv2 .cv2-rk-row .cv2-rk-who small{
  white-space:normal !important; text-overflow:clip !important; display:-webkit-box !important;
  -webkit-line-clamp:3 !important; -webkit-box-orient:vertical !important; overflow:hidden !important; line-height:1.25 !important;
}
/* Guild: os 4 numeros em 2 x 2 (eram 3 + 1) e o "Voltar" do tamanho do texto */
html[data-tema="eclipse"] .bm-content :has(> .bm-guild-stat){ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:6px !important; }
html[data-tema="eclipse"] .bm-content :has(> .bm-guild-stat) > .bm-guild-stat{ min-width:0 !important; margin:0 !important; }
html[data-tema="eclipse"] .bm-content a.bm-menu-link.bm-back-link{ width:auto !important; display:inline-block !important; }
/* Top Frags: o outfit com montaria nao invade a linha de cima */
html[data-tema="eclipse"] .bm-content .bm-frags-table td{ vertical-align:bottom !important; }
html[data-tema="eclipse"] .bm-content .bm-frags-table td:has(> .bm-frags-mini-outfit){ padding-top:18px !important; }
/* Hall da Fama: presilhas menores e mais perto, igual aos titulos das paginas no celular */
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-head > h2{ margin-left:12px !important; margin-right:12px !important; padding-left:14px !important; padding-right:14px !important; }
html.bm-home-v2[data-tema="eclipse"] .bm-content .bm-hall .bm-hall-head > h2::after{ left:-19px !important; right:-19px !important; height:30px !important; margin-top:-15px !important; background-size:auto 30px, auto 30px !important; }
/* ao vivo: o texto do cartao fica no meio (o "10 adversarios" descia pro pe do cartao) */
html[data-tema="eclipse"] .bm-serverbar .bm-live-card{ justify-content:center !important; }
/* o nome do "Mais letal" e link com 28px de altura de toque: o texto fica no meio dessa altura, nao grudado em cima */
html[data-tema="eclipse"] .bm-serverbar .bm-live-card a.bm-live-val{ line-height:28px !important; }
/* Titulo da pagina: recuo pendurado, a 2a linha alinha depois do GIF (nao embaixo dele).
   GIF de 30px + 4px de folga = 34px. Sem text-wrap:balance aqui: no Chrome, balance + recuo negativo desenha a 2a linha fora do lugar.
   (.bm-content repetido 4x = so pra empatar com a regra de presilha do paginas.css; este arquivo vem depois) */
html[data-tema="eclipse"] .bm-content.bm-content.bm-content.bm-content h1{ padding-left:48px !important; text-indent:-34px !important; }
html[data-tema="eclipse"] .bm-content .hs-hero h1 br{ display:none !important; }
/* Crystal Aura: a barra 1% -> 5% volta (no celular ficavam so as 2 bolinhas) */
html[data-tema="eclipse"] .bm-content .aur-scale{ flex-direction:row !important; align-items:center !important; padding:14px 12px !important; }
html[data-tema="eclipse"] .bm-content .aur-scale .aur-scale-bar{ width:auto !important; flex:1 1 auto !important; margin:0 10px !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .aur-scale .aur-scale-num{ font-size:18px !important; flex:0 0 auto !important; }
/* Mystery/East Cave, Safiras, Genesis Guardians: a grade de 1 coluna crescia ate 444-540px e cortava os cards */
html[data-tema="eclipse"] .bm-content :is(.bmx, .bm-saf, .bm-gg){ grid-template-columns:minmax(0, 1fr) !important; }
html[data-tema="eclipse"] .bm-content :is(.bmx, .bm-saf, .bm-gg) > *{ min-width:0 !important; }
/* Genesis Guardians, Mural: a data descia pra fora do cartao; agora fica numa linha propria embaixo, a direita */
html[data-tema="eclipse"] .bm-content .bm-gg .bm-gg-mural{ grid-template-columns:minmax(0, 1fr) !important; }
html[data-tema="eclipse"] .bm-content .bm-gg .bm-gg-win{ flex-wrap:wrap !important; column-gap:8px !important; row-gap:2px !important; padding:8px 10px !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-gg .bm-gg-win > div:not(.when){ flex:1 1 0 !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-gg .bm-gg-win .when{ flex:1 0 100% !important; margin-left:0 !important; text-align:right !important; }
/* "Veja tambem" da Library: todos os links alinhados do mesmo jeito e da mesma altura */
/* Arauto: a materia sem moldura propria (era caixa dentro de caixa dentro de caixa), separada so por filete */
html[data-tema="eclipse"] .bm-content .bm-nj-edition-grid > *{ border:0 !important; box-shadow:none !important; background:transparent !important; padding:0 0 12px !important; border-bottom:1px solid #D4C0A1 !important; }
html[data-tema="eclipse"] .bm-content .bm-nj-edition-grid > :last-child{ border-bottom:0 !important; }
html[data-tema="eclipse"] .bm-content .bm-nj-archive{ padding-left:10px !important; padding-right:10px !important; }
html[data-tema="eclipse"] .bm-content .bml-veja a.bml-veja-link{ justify-content:flex-start !important; text-align:left !important; min-height:44px !important; }

@media (max-width:560px){
  /* Economia/Colecoes: o texto tinha so 233-250px de largura (folga do conteiner + folga do topo) */
  html[data-tema="eclipse"] .bm-content :is(.ct, .mx, .ec, .ci, .adc, .mtc){ padding:4px 0 20px !important; }
  html[data-tema="eclipse"] .bm-content :is(.ct-hero, .mx-hero, .ci-hero, .adc-hero, .mtc-hero, .bm-mbx-hero){ padding:18px 12px !important; }
  html[data-tema="eclipse"] .bm-content .ec-hero{ padding:20px 12px 16px !important; }
  html[data-tema="eclipse"] .bm-content .bm-lottery-banner-hero{ padding:20px 12px !important; }
  html[data-tema="eclipse"] .bm-content .bm-tokens-shell{ padding:8px !important; }
  html[data-tema="eclipse"] .bm-content .bm-tokens-hero{ padding:12px !important; }
  /* paragrafos e listas do topo alinhados a esquerda (titulo e numeros grandes continuam no meio) */
  html[data-tema="eclipse"] .bm-content :is(.mtc-hero, .adc-hero, .ct-hero, .mx-hero, .bm-mbx-hero, .ec-hero, .ci-hero, .gr-hero, .of-hero, .rl2-hero) :is(p, li, ul){ text-align:left !important; }
  /* titulo dentro dos topos: 16px, equilibrado, GIF de 24px */
  html[data-tema="eclipse"] .bm-content.bm-content.bm-content.bm-content :is(.bm-tokens-hero, .mx-hero, .bm-lottery-content-hero, .mtc-hero, .adc-hero, .bm-mbx-hero) h1{ font-size:16px !important; text-wrap:balance; text-align:center !important; text-indent:0 !important; padding-left:14px !important; padding-right:14px !important; }
  html[data-tema="eclipse"] .bm-content.bm-content.bm-content.bm-content :is(.bm-tokens-hero, .mx-hero, .bm-lottery-content-hero, .mtc-hero, .adc-hero, .bm-mbx-hero) h1::before{ width:24px !important; height:24px !important; margin:-4px 6px -4px -2px !important; background-size:contain !important; }
  /* letra miuda demais (o codigo que se diz no NPC tinha 10px) */
  html[data-tema="eclipse"] .bm-content .ct-piece code{ font-size:12.5px !important; padding:3px 7px !important; }
  /* Crystal Trader: o selo "Custo" virava 3 colunas (o link automatico "Tokens" virava um pedaco a parte do flex) */
  html[data-tema="eclipse"] .bm-content :is(.ct .ct-tag, .mx .mx-tag){ display:block !important; text-align:left !important; white-space:normal !important; line-height:1.35 !important; }
  html[data-tema="eclipse"] .bm-content :is(.adc-outfit-card, .mtc-outfit-card) li[class^="bmb-"],
  html[data-tema="eclipse"] .bm-content :is(.mtc-shop-price-full, .am-rot, .ec-price span, .ct-fitem span, .mx-fitem span){ font-size:12px !important; }
  /* as 6 abas de moeda das Colecoes em 2 x 3 (eram 6 barras da largura toda) */
  html[data-tema="eclipse"] .bm-content :is(.adc-cur-tabs, .mtc-cur-tabs){ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:6px !important; }
  html[data-tema="eclipse"] .bm-content :is(.adc-cur-tabs, .mtc-cur-tabs) > *{ width:auto !important; min-width:0 !important; margin:0 !important; white-space:normal !important; text-align:center !important; justify-content:center !important; }
}


/* ---------- 17. CORRECOES DA REVISAO (19/11) ---------- */
/* Shop Guild / Sell Char (#2): ali o 1o filho da linha e o <code> ("Conta com guild"), nao um icone: ele ia pra coluna de 24px
   e quebrava 1 palavra por linha. Em Comandos o 1o filho nao e code, entao la nada muda */
html[data-tema="eclipse"] .bm-content .bm-command-row > code:first-child{ grid-column:1 / -1 !important; justify-self:start !important; white-space:normal !important; }
/* Pocoes / Bosses 600+ / Soulwar (#62, #65): o texto do hero era cortado na direita; os icones vao numa linha em cima */
html[data-tema="eclipse"] .bm-content :is(.bm-ep-hero, .bm-b6-hero, .bm-sw-hero){ flex-direction:column !important; align-items:stretch !important; gap:10px !important; padding:14px !important; }
html[data-tema="eclipse"] .bm-content :is(.bm-ep-hero, .bm-b6-hero, .bm-sw-hero) > div:last-child{ min-width:0 !important; max-width:100% !important; }
html[data-tema="eclipse"] .bm-content .bm-ep-hero-icons{ justify-content:center !important; }
html[data-tema="eclipse"] .bm-content :is(.bm-b6-hero-icon, .bm-sw-hero-icon){ align-self:center !important; }
html[data-tema="eclipse"] .bm-content.bm-content.bm-content.bm-content :is(.bm-ep-hero, .bm-sw-hero, .bm-b6-hero) h1{ font-size:16px !important; padding-left:0 !important; text-indent:0 !important; }
/* tabelas largas (#64): cabiam so ate a metade (Transfer +7/+10, Super Upgrade, "Fraco contra", "Onde pode estar") */
html[data-tema="eclipse"] .bm-content :is(table.bm-mining-table, table.bm-chance-table, .tt-tab-wrap table){ min-width:0 !important; width:100% !important; font-size:11.5px !important; }
html[data-tema="eclipse"] .bm-content :is(table.bm-mining-table, table.bm-chance-table, .tt-tab-wrap table) :is(td, th){ padding:6px 4px !important; white-space:normal !important; }
html[data-tema="eclipse"] .bm-content table.bm-chance-table:has(th:nth-child(6)) :is(td, th){ font-size:10.5px !important; padding:5px 3px !important; }
html[data-tema="eclipse"] .bm-content table.bm-chance-table td .bm-chance-cell img{ width:18px !important; height:18px !important; }
/* Mercado (#0): os 8 filtros de moeda em grade de 4 (eram 8 barras azuis da largura toda) */
html[data-tema="eclipse"] .bm-content .tr-filtros{ display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content .tr-filtros > :is(.tr-busca, select){ grid-column:1 / -1 !important; width:100% !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content .tr-filtros > .tr-chip{ min-width:0 !important; width:auto !important; margin:0 !important; padding:6px 2px !important; font-size:11.5px !important; text-align:center !important; }
/* Grimvault (#31): a coluna Item ganha a largura; Qtd e Chance so o necessario */
html[data-tema="eclipse"] .bm-content table.bm-gv-loot-table{ table-layout:auto !important; }
html[data-tema="eclipse"] .bm-content table.bm-gv-loot-table :is(td, th){ padding:6px 5px !important; }
html[data-tema="eclipse"] .bm-content table.bm-gv-loot-table :is(td, th):is(:nth-child(2), :nth-child(3)){ width:1% !important; white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content table.bm-gv-loot-table td:nth-child(4){ white-space:nowrap !important; font-size:11px !important; }
/* Open Battle (#34): numero do premio de ~48px quebrava em 2-3 linhas */
html[data-tema="eclipse"] .bm-content .bm-ob .bm-ob-premio-num{ font-size:21px !important; line-height:1.15 !important; text-wrap:balance; }
/* Roletas e Addons (#48): as abas rolavam de lado sem aviso (Eclipse, Genesis, Cassino sumiam) */
html[data-tema="eclipse"] .bm-content .rl2-nav{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; overflow:visible !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content .rl2-nav .rl2-tab{ min-width:0 !important; width:auto !important; padding:6px 8px !important; gap:6px !important; font-size:12px !important; transform:none !important; }
html[data-tema="eclipse"] .bm-content .rl2-nav .rl2-thumb{ flex:0 0 24px !important; width:24px !important; height:24px !important; }
html[data-tema="eclipse"] .bm-content .rl2-nav .rl2-thumb img{ width:24px !important; height:24px !important; }
html[data-tema="eclipse"] .bm-content .rl2-nav .rl2-tabname{ white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .am-tabs{ flex-wrap:wrap !important; overflow:visible !important; }
html[data-tema="eclipse"] .bm-content .am-tabs > .am-tab{ flex:1 1 auto !important; padding:6px 10px !important; font-size:12px !important; }
/* Colecoes (#50): 2 colunas de 217px = 88.000px de rolagem; 3 colunas de cartao compacto */
html[data-tema="eclipse"] .bm-content :is(.mtc-shop-grid, .mtc-outfit-grid, .adc-shop-grid, .adc-outfit-grid){ grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:5px !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-shop-card, .mtc-outfit-card, .adc-shop-card, .adc-outfit-card){ padding:6px 3px !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-shop-card, .mtc-outfit-card, .adc-shop-card, .adc-outfit-card) img{ width:48px !important; height:48px !important; object-fit:contain !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-shop-card, .adc-shop-card) > strong{ font-size:11.5px !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-shop-card, .mtc-outfit-card, .adc-shop-card, .adc-outfit-card) :is(.mtc-shop-prot, .mtc-shop-price, .adc-shop-prot, .adc-shop-price, small){ font-size:10.5px !important; line-height:1.25 !important; }
html[data-tema="eclipse"] .bm-content :is(.mtc-shop-card, .mtc-outfit-card, .adc-shop-card, .adc-outfit-card) .bmb-l > li{ font-size:9.5px !important; line-height:1.2 !important; padding:1px 2px !important; }
/* Safiras / Tasks (#68): doses numa linha de 6, filtros em 2 x 2 */
html[data-tema="eclipse"] .bm-content .bm-saf-quick{ display:grid !important; grid-template-columns:repeat(6, minmax(0, 1fr)) !important; gap:3px !important; }
html[data-tema="eclipse"] .bm-content .bm-saf-quick > .bm-saf-qbtn{ min-width:0 !important; width:auto !important; margin:0 !important; padding:6px 0 !important; text-align:center !important; justify-content:center !important; }
html[data-tema="eclipse"] .bm-content .bm-tk-chips{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content .bm-tk-chips > .bm-tk-chip{ min-width:0 !important; width:auto !important; margin:0 !important; justify-content:center !important; }
/* Cave Exclusiva (#75): os 18 cartoes "Cave N / Livre" somavam 3 telas antes do titulo: grade de 3, so o selo */
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:4px !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-card{ padding:5px 4px !important; text-align:center !important; align-items:center !important; gap:2px !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-card.is-livre .bm-cave-tempo{ display:none !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-card .bm-cave-tempo{ font-size:10px !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-card .bm-cave-num{ font-size:11.5px !important; font-weight:700 !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-card > strong{ font-size:10.5px !important; padding:1px 6px !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; background:#1F5A2A !important; border:1px solid #0E2E14 !important; text-shadow:none !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel .bm-cave-card.is-ocupada > strong{ background:#7A1A1A !important; border-color:#3A0A0A !important; }
/* Shop (#11): as abas tambem com o GIF do assunto no celular (as variaveis --bm-stab vem do submenu) */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tabs > .bm-shop-tab[data-shop-tab]:not(.is-new-tab)::before{
  content:"" !important; display:inline-block !important; flex:0 0 18px !important; width:18px !important; height:18px !important; margin:0 !important;
  background:var(--bm-stab, none) !important; filter:drop-shadow(1px 1px 0 rgba(0,0,0,.35)) !important;
}
/* Ficha (#13): "Equipamento" descia de linha e o capacete cobria o "E" */
html[data-tema="eclipse"] .bm-content .cv2 .cv2-areas .l{ display:flex !important; align-items:center !important; gap:4px !important; font-size:10.5px !important; }
html[data-tema="eclipse"] .bm-content .cv2 .cv2-areas button[data-ir="cv2c-equip"] .l{ white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-content .cv2 .cv2-areas .l::before{ margin:0 !important; flex:0 0 16px !important; }
/* comando no meio do texto (#35): a caixinha partida ganha borda nos 2 pedacos */
html[data-tema="eclipse"] .bm-content :is(p, li) :is(code, .bm-ga-cmd){ -webkit-box-decoration-break:clone; box-decoration-break:clone; }
/* Eventos (#38): os 2 numeros do topo lado a lado (eram 2 cartoes de 110px quase vazios) */
html[data-tema="eclipse"] .bm-content .ev-stats{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:8px !important; margin-top:14px !important; }
html[data-tema="eclipse"] .bm-content .ev-stats > .ev-stat{ padding:10px 6px !important; }
html[data-tema="eclipse"] .bm-content .ev-stats > .ev-stat b{ font-size:28px !important; margin-bottom:4px !important; }
/* Trader / Exchanger (#49): formula em coluna com o sinal no meio, igual a das Auras */
html[data-tema="eclipse"] .bm-content :is(.ct-formula, .mx-formula){ flex-direction:column !important; align-items:center !important; gap:2px !important; }
html[data-tema="eclipse"] .bm-content :is(.ct-formula .ct-fop, .mx-formula .mx-fop){ margin:2px 0 !important; font-size:20px !important; line-height:1 !important; }
/* faixa da promocao no topo (#85): o "1" de "R$ 1" caia sozinho na 2a linha */
html[data-tema="eclipse"] .bm-serverbar a.bm-v2-promo .bm-v2-promo-txt{ text-wrap:balance; }

/* Castle 48H (#21): "50 min 24 s" nao quebra no meio no placar */
html[data-tema="eclipse"] .bm-content .c48 .c48-tab tr > td.n{ white-space:nowrap !important; }
/* Castle 24H (#36): nome da guild nos cartoes Dono / Campea inteiro e equilibrado; titulo da caixa um tom menor.
   (19/11: 15px ainda dava "SERVER / DOWN / ASCENSION" em 3 linhas a 390; em 13px fica "SERVER DOWN / ASCENSION") */
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .grid > .card > b{ font-size:13px !important; line-height:1.25 !important; letter-spacing:0 !important; word-break:normal !important; overflow-wrap:normal !important; text-wrap:balance; }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .box h2{ font-size:13px !important; text-wrap:balance; }

/* ---------- 18. CAPRICHO DE DETALHES (19/11, celular) ---------- */
/* 18a. PvP ao vivo: o level era cortado na direita ("lvl 8"); agora o NOME encolhe com "..." e o level fica sempre inteiro */
html[data-tema="eclipse"] .bm-live-feed .bm-live-row{ gap:5px !important; }
html[data-tema="eclipse"] .bm-live-feed .bm-live-row :is(.bm-live-k, .bm-live-v){ min-width:0 !important; flex:0 1 auto !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; }
html[data-tema="eclipse"] .bm-live-feed .bm-live-row .bm-live-k{ flex-shrink:.35 !important; }
html[data-tema="eclipse"] .bm-live-feed .bm-live-row :is(.bm-live-verb, .bm-live-lvl){ flex:0 0 auto !important; }
html[data-tema="eclipse"] .bm-live-feed .bm-live-row .bm-live-ago{ display:none !important; }
/* o ponto do "ao vivo" no verde de "online" do tema (#3FBF5F), com um anel fino */
html[data-tema="eclipse"] .bm-live-feed .bm-live-dot{ background:#3FBF5F !important; box-shadow:0 0 0 1px #1F5A2A, 0 0 0 3px rgba(63,191,95,.18) !important; }

/* 18b. Paginas internas: as redes e os 2 cartoes "ao vivo" descem pro pe da pagina soltos no fundo escuro
   (a moldura do topo e do .bm-serverbar, que ali vira display:contents). Viram UMA caixa, igual a do servidor logo abaixo:
   corrente de prata em cima (na faixa vinho), pergaminho embaixo com a corrente de baixo */
html[data-tema="eclipse"] body:not(.bm-page-latestnews) .bm-serverbar > .bm-serverbar-socials{
  background:
    url(/layouts/tibiarl/images/general/box-top.gif) center top / 100% 12px no-repeat,
    url(/layouts/tibiarl/images/global/content/newsheadline_background.gif) left top / auto 100% repeat-x,
    #5A0C0C !important;
  padding:15px 2px 6px !important; border-radius:0 !important;
  border:0 !important; border-bottom:1px solid #050404 !important;
  box-shadow:0 0 0 1px #15100C, inset 0 -1px 0 rgba(255,210,150,.10) !important;
  margin-bottom:-10px !important; position:relative; z-index:1;
}
html[data-tema="eclipse"] body:not(.bm-page-latestnews) .bm-live-strip > .bm-live-cards{
  background:
    url(/layouts/tibiarl/images/general/box-bottom.gif) center bottom / 100% 12px no-repeat,
    url(/layouts/tibiarl/images/content/scroll.gif) left top repeat,
    #EBDBBF !important;
  padding:8px 8px 18px !important;
  box-shadow:0 0 0 1px #15100C, 0 3px 8px rgba(0,0,0,.55) !important;
}

/* 18c. Home: os blocos do miolo com o mesmo respiro (o bonus de exp e o Castle War tinham 50px entre eles, o resto 14px) */
html[data-tema="eclipse"] body.bm-page-latestnews .bm-content .bm-latest-clean{ row-gap:16px !important; }
html[data-tema="eclipse"] body.bm-page-latestnews .bm-content .bm-latest-clean > :is(.bm-expd, .bm-cw2){ margin-top:0 !important; margin-bottom:0 !important; }

/* 18e. "Buscar nesta pagina": o contador "22 itens" vira o mesmo selinho de pergaminho do contador das tabelas
   (a lupa dentro dos campos de busca vem do paginas.css, secao 30a, e vale no celular tambem) */
html[data-tema="eclipse"] .bm-content .bml-bar .bml-conta{
  display:inline-block !important; width:auto !important; padding:3px 10px !important; line-height:1.3 !important;
  background:#E9D5B4 !important; border:1px solid #A88B66 !important; box-shadow:inset 0 1px 0 #FFF8EC !important;
}

/* chips de secao da Library ("Tudo", "Victory Key", "Crystal Key"...): grade de 2 colunas iguais (eram pedacos de tamanhos diferentes, tortos) */
html[data-tema="eclipse"] .bm-content .bml-bar .bml-chips{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:5px !important; }
html[data-tema="eclipse"] .bm-content .bml-bar .bml-chips > .bml-chip{ width:auto !important; min-width:0 !important; margin:0 !important; padding:7px 6px !important; justify-content:center !important; text-align:center !important; white-space:normal !important; line-height:1.2 !important; }
html[data-tema="eclipse"] .bm-content .bml-bar .bml-chips > .bml-chip:first-child:nth-last-child(odd){ grid-column:1 / -1 !important; }

/* Shop: o selo "new" vira um selinho no canto de cima da aba (no meio da linha ele empurrava o GIF pra fora da aba em "Safiras (Atk&Def)") */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tabs > .bm-shop-tab:has(> .bm-tab-new){ position:relative !important; overflow:visible !important; padding-top:11px !important; }
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tabs > .bm-shop-tab > .bm-tab-new{
  position:absolute !important; top:-5px !important; right:-2px !important; margin:0 !important; z-index:2 !important;
  font-size:8.5px !important; line-height:1.2 !important; padding:1px 4px !important; letter-spacing:.03em !important;
  border:1px solid #0E2E14 !important; box-shadow:0 1px 0 rgba(0,0,0,.35) !important; border-radius:0 !important;
}
/* abas do Shop: o toque afunda (como os botoes de pedra) */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-tabs > .bm-shop-tab:active{ box-shadow:inset 0 2px 3px rgba(0,0,0,.3) !important; }

/* Donate: "A tabela completa" em 3 x 2 (eram 6 barras da largura toda, ~520px); o "x" cresce em tinta, a faixa embaixo */
html[data-tema="eclipse"] body.bm-page-donate .bm-content .dn-escada-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:5px !important; }
html[data-tema="eclipse"] body.bm-page-donate .bm-content .dn-escada-grid > .dn-escada-item{ padding:9px 4px 8px !important; text-align:center !important; min-width:0 !important; }
html[data-tema="eclipse"] body.bm-page-donate .bm-content .dn-escada-item > .dn-escada-mult{ display:block !important; font-size:21px !important; line-height:1.1 !important; }
html[data-tema="eclipse"] body.bm-page-donate .bm-content .dn-escada-item > .dn-escada-faixa{ display:block !important; font-size:10.5px !important; line-height:1.25 !important; margin-top:2px !important; text-wrap:balance; }
/* Donate: a regra do sorteio tinha o texto encostado na borda (padding 0) */
html[data-tema="eclipse"] body.bm-page-donate .bm-content p.bl-regra{ padding:7px 9px !important; background:#FFF2DB !important; }

/* Donate: a chave PIX num campo de pergaminho afundado (era um code branco solto com borda fina), centralizada */
html[data-tema="eclipse"] body.bm-page-donate .bm-content #bmDonate .dn-pix{ background:#F1E0C6 !important; padding:8px !important; }
html[data-tema="eclipse"] body.bm-page-donate .bm-content #bmDonate .dn-pix > code#dnChave{
  display:block !important; padding:8px 10px !important; text-align:center !important; font-size:13px !important; letter-spacing:.01em !important;
  background:#FFF2DB !important; border:1px solid #A88B66 !important; border-radius:0 !important;
  box-shadow:inset 1px 1px 0 rgba(0,0,0,.12), inset 0 0 0 1px #FFF8EC !important; overflow-wrap:anywhere !important;
}

/* Ficha: cabecalho no celular. A grade de 3 colunas do PC (paginas.css 30c) deixava o miolo com 0px: o nome sumia
   por baixo da caixa da Guild. Aqui: outfit | nome e vocacao; embaixo, na largura toda, Guild (larga) + ON/OFF */
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-hero{ grid-template-columns:86px minmax(0, 1fr) !important; column-gap:14px !important; row-gap:12px !important; align-items:center !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-hero > .bm-character-avatar{ grid-column:1 !important; grid-row:1 !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-hero > div:not([class]){ grid-column:2 !important; grid-row:1 !important; min-width:0 !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-hero > div:not([class]) > h3{ overflow-wrap:break-word !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-hero > div:not([class]) > p{ text-wrap:balance; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-hero > .bm-character-badges{
  grid-column:1 / -1 !important; grid-row:2 !important; max-width:none !important; width:100% !important;
  display:flex !important; flex-flow:row nowrap !important; align-items:stretch !important; gap:6px !important;
}
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-badges > a.bm-guild-badge-link{ flex:1 1 auto !important; min-width:0 !important; justify-content:center !important; text-align:center !important; padding:7px 8px !important; }
html[data-tema="eclipse"] body.bm-page-characters .bm-content .bm-character-badges > :is(.bm-online, .bm-offline){ flex:0 0 auto !important; padding:7px 10px !important; }

/* Castle 24h, Tesouro da Coroa: cada moeda/chave com o seu GIF a esquerda do numero (o mesmo GIF do assunto no resto do site).
   A ordem dos 6 e fixa no PHP (castle24h_coroa_bloco.php, $tesouro): Genesis, Eclipse, Crystal, Mining, Eclipse Key, Genesis Key */
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div{ position:relative !important; padding:8px 4px 8px 36px !important; }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div::before{
  content:"" !important; position:absolute !important; left:3px !important; top:50% !important; width:32px !important; height:32px !important; margin-top:-16px !important;
  background:var(--bm-c24t, none) center / 32px 32px no-repeat !important;
}
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div:nth-child(1){ --bm-c24t:url(/images/items/12602.gif); }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div:nth-child(2){ --bm-c24t:url(/images/items/10570.gif); }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div:nth-child(3){ --bm-c24t:url(/images/items/10559.gif); }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div:nth-child(4){ --bm-c24t:url(/images/items/2553.gif); }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div:nth-child(5){ --bm-c24t:url(/images/items/2091.gif); }
html[data-tema="eclipse"] .bm-content [id="c24coroa"] .tesouro > div:nth-child(6){ --bm-c24t:url(/images/items/13600.gif); }
/* "Quem mais mata": a guild em letra menor (SERVER DOWN ASCENSION em 3 linhas deixava a linha com o triplo da altura).
   So nessa tabela (linha com link de jogador na 2a coluna): na "Pontos de guerra" a 3a coluna sao os pontos (19/11) */
html[data-tema="eclipse"] .bm-content [id="c24coroa"] table tr:has(> td:nth-child(2) > a) > td:nth-child(3){ font-size:10.5px !important; line-height:1.25 !important; }

/* Onde upar: os 3 passos do topo eram pilulas redondas com bolinha amarela: viram linha de pergaminho reta com o
   quadrado de pedra numerado (o mesmo dos passos do Embaixadores, Team Battle e Antientrosa) */
html[data-tema="eclipse"] .bm-content .ou-passos > span{ border-radius:0 !important; background:#F7EAD3 !important; border:1px solid #CDB792 !important; box-shadow:inset 0 1px 0 #FFF8EC !important; padding:5px 10px 5px 6px !important; }
html[data-tema="eclipse"] .bm-content .ou-passos > span > b:first-child{
  border-radius:0 !important; background:#5F4D41 !important; border:1px solid #2A2018 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 1px 1px 0 rgba(0,0,0,.2) !important;
  color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; text-shadow:1px 1px 0 #000 !important;
}
/* chips de level: o losango nao encosta no texto */
html[data-tema="eclipse"] .bm-content .ou-chips > button.ou-chip{ gap:5px !important; }

/* Tasks: os 4 filtros ficavam em 234px de 308 (sobrava um vao a direita); agora na largura da barra, como o campo de busca */
html[data-tema="eclipse"] .bm-content .bm-tk-bar > .bm-tk-chips{ flex:1 1 100% !important; width:100% !important; }
/* Tasks: o filete do tier era verde-neon / amarelo / vermelho: fica nos 3 tons dos selos Leve / Media / Dificil do tema */
html[data-tema="eclipse"] .bm-content .bm-tk-tier.t1 > .bm-tk-tier-head{ border-left-color:#1F5A2A !important; }
html[data-tema="eclipse"] .bm-content .bm-tk-tier.t2 > .bm-tk-tier-head{ border-left-color:#B8860B !important; }
html[data-tema="eclipse"] .bm-content .bm-tk-tier.t3 > .bm-tk-tier-head{ border-left-color:#7A1A1A !important; }

/* Sell Char, "Controle": Comissao | Level minimo lado a lado e o Preco na linha toda (eram 3 caixas de 80px empilhadas) */
html[data-tema="eclipse"] .bm-content section.bm-sellchar-status{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; column-gap:8px !important; }
html[data-tema="eclipse"] .bm-content section.bm-sellchar-status > :not(div){ grid-column:1 / -1 !important; }
html[data-tema="eclipse"] .bm-content section.bm-sellchar-status > div:last-child:nth-of-type(odd){ grid-column:1 / -1 !important; }

/* Cave Exclusiva: o painel das 18 caves ficava solto no fundo, com o "18" grudado na moldura: vira uma caixa de pergaminho
   com cantoneiras (as mesmas box-frame-edge das legendas), o numero e o texto lado a lado */
html[data-tema="eclipse"] .bm-content .bm-cave-painel{
  padding:12px 10px !important; margin-bottom:14px !important;
  background:
    url(/layouts/tibiarl/images/global/content/box-frame-edge.gif) left top no-repeat,
    url(/layouts/tibiarl/images/global/content/box-frame-edge.gif) right top no-repeat,
    url(/layouts/tibiarl/images/global/content/box-frame-edge.gif) left bottom no-repeat,
    url(/layouts/tibiarl/images/global/content/box-frame-edge.gif) right bottom no-repeat,
    #F1E0C6 !important;
  border:1px solid #A88B66 !important; box-shadow:inset 0 0 0 1px #FFF8EC, 1px 1px 0 rgba(0,0,0,.25) !important;
}
html[data-tema="eclipse"] .bm-content .bm-cave-painel > .bm-cave-topo{ display:flex !important; flex-wrap:nowrap !important; align-items:center !important; gap:10px !important; margin:0 0 10px !important; padding:0 2px 8px !important; border-bottom:1px solid #CDB792 !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel > .bm-cave-topo > .bm-cave-big{ flex:0 0 auto !important; font-size:30px !important; line-height:1 !important; font-weight:700 !important; color:#1F5A2A !important; -webkit-text-fill-color:#1F5A2A !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel > .bm-cave-topo > div{ flex:1 1 0 !important; min-width:0 !important; line-height:1.3 !important; }
html[data-tema="eclipse"] .bm-content .bm-cave-painel > .bm-cave-grid{ margin-top:0 !important; }
/* Cave Exclusiva: "Tempo por level" (560px numa caixa de 282, rolava de lado): cada faixa vira um cartao com rotulo em cima de cada numero */
html[data-tema="eclipse"] .bm-content .bm-cave-table-wrap{ overflow:visible !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table,
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody{ display:block !important; width:100% !important; min-width:0 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table thead{ display:none !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody tr{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:4px 8px !important; padding:8px 10px !important; background:#FFF2DB !important; border-bottom:1px solid #CDB792 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody tr:nth-child(even){ background:#F1E0C6 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody td{ display:block !important; padding:0 !important; border:0 !important; background:transparent !important; text-align:left !important; white-space:normal !important; font-size:12.5px !important; line-height:1.35 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody td:nth-child(1){ grid-column:1 / -1 !important; font-weight:700 !important; font-size:13px !important; color:#3B1F00 !important; -webkit-text-fill-color:#3B1F00 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody td:nth-child(4){ grid-column:1 / -1 !important; color:#634322 !important; -webkit-text-fill-color:#634322 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody td:is(:nth-child(2), :nth-child(3))::before{ display:block !important; font-size:10.5px !important; font-weight:700 !important; color:#634322 !important; -webkit-text-fill-color:#634322 !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody td:nth-child(2)::before{ content:"Tempo normal" !important; }
html[data-tema="eclipse"] .bm-content table.bm-cave-table tbody td:nth-child(3)::before{ content:"Com VIP Character" !important; }

/* Ranking: "📊 Ranking de % de tudo" (quadradinho sem fonte de emoji) ganha a estrela 2361, o GIF do "% de tudo" no menu e no titulo */
html[data-tema="eclipse"] body.bm-page-highscores .bm-content section.bm-info-card:has(> a[href="?subtopic=progresso"]) > div > b:first-child{ display:inline-block !important; }
html[data-tema="eclipse"] body.bm-page-highscores .bm-content section.bm-info-card:has(> a[href="?subtopic=progresso"]) > div > b:first-child::first-letter{
  font-size:0 !important; color:transparent !important; -webkit-text-fill-color:transparent !important;
  padding:14px 0 4px 22px !important; margin-right:6px !important;
  background:url(/images/items/2361.gif) -2px 50% / 26px auto no-repeat !important;
}

/* 18f. Wars: nome de guild comprido partia no meio ("DESPRECIABL / ES"); com o placar na coluna estreita (secao 16)
   a guild ganha largura e a letra acompanha a tela (medido: "DESPRECIABLES" inteiro a 390 e a 360) */
html[data-tema="eclipse"] .bm-content .bm-war-row .bm-war-side-name{ font-size:min(11px, 2.75vw) !important; letter-spacing:-.01em !important; hyphens:none !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row .bm-war-meta{ line-height:1.35 !important; }
/* as 2 guilds com a mesma altura (nome em 2 linhas de um lado deixava os quadros tortos) */
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-side{ align-self:stretch !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-side > form{ height:100% !important; }
html[data-tema="eclipse"] .bm-content .bm-war-row-top > .bm-war-side button{ height:100% !important; box-sizing:border-box !important; display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:3px !important; }

/* 18g. Cartoes que sao link (Central de Eventos, Wiki, outros personagens da conta, guilds, "Veja tambem"):
   no celular nao existe hover, entao o toque da o retorno: borda de ouro e o cartao "afunda".
   Na Central de Eventos e na Wiki, uma setinha de ouro no canto diz "toque pra abrir" */
html[data-tema="eclipse"] .bm-content :is(a.bm-ev-card, a.bm-wiki-card, .bm-related-character-list > a, a.bml-veja-link, .bm-guild-card):active{
  border-color:#B8860B !important; box-shadow:inset 0 2px 5px rgba(59,31,0,.22) !important;
}
html[data-tema="eclipse"] .bm-content :is(a.bm-ev-card, a.bm-wiki-card){ position:relative !important; -webkit-tap-highlight-color:transparent; }
html[data-tema="eclipse"] .bm-content :is(a.bm-ev-card, a.bm-wiki-card)::after{
  content:"" !important; position:absolute !important; top:19px !important; right:11px !important; width:7px !important; height:7px !important;
  border:solid #B8860B !important; border-width:2px 2px 0 0 !important; transform:rotate(45deg) !important; pointer-events:none !important;
  background:none !important; opacity:.85 !important;
}
html[data-tema="eclipse"] .bm-content a.bm-ev-card > h3{ padding-right:16px !important; }

/* 18d. Barra de baixo: filete de ouro em cima (some nas pontas, como o das caixas) */
html[data-tema="eclipse"] .bm-bottom-nav{
  background:
    linear-gradient(90deg, rgba(232,194,99,0), rgba(232,194,99,.55) 50%, rgba(232,194,99,0)) center top / 100% 1px no-repeat,
    linear-gradient(180deg, #2A2622, #15100C 60%) !important;
}

/* 18h. Shop, busca: o campo encostava na borda da faixa (padding 0) e o "x" tinha 46px de altura x 39px do campo.
   Agora a faixa tem respiro e o campo e o "x" ficam da mesma altura (40px, bom pro dedo) */
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-find{ padding:6px !important; align-items:stretch !important; }
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-find #bmShopSearch{ height:40px !important; min-height:40px !important; box-sizing:border-box !important; }
html[data-tema="eclipse"] body.bm-page-shop .bm-content .bm-shop-find button#bmShopFindClear{ flex:0 0 40px !important; width:40px !important; height:40px !important; min-height:40px !important; }

} /* fim @media 860 */
} /* fim @layer eclipse.classico */
