/* =====================================================================
   Heroes Tank 5.5 — tema do site (mesmo visual do portal Heroes Chase)

   Compatível com o launcher de PC (CEF 43 = Chrome 43, 983px úteis):
   sem variáveis CSS, grid, gap, aspect-ratio, clamp/min/max nem unidades de
   container. Colunas = flexbox + margens; proporção das artes = padding-top em %;
   tamanhos de texto que acompanham a arte = media queries.

   Cores (referência):
     fundo #0a0f1f · fundo-2 #0e1530 · painel #121a36 · painel-2 #1f2a4f · linha #27335c
     texto #eef1fb · apagado #9aa6c8 · ouro #f5c84c · ouro-2 #d99a1e
     carmim #c8243d · carmim-2 #8e1428 · céu #5fb3ff · violeta #9b6bff · ok #3ddc84 · erro #ff5470
   Peças de arte: tema/ui (folha HEROESTANK recortada por scripts\site\recortar-ui.py)
   ===================================================================== */
@import url("fontes.css");

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 62px;                              /* cabeçalho fixo */
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #eef1fb;
  background-color: #0a0f1f;
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(95, 179, 255, .10), rgba(95, 179, 255, 0) 55%),
    radial-gradient(ellipse at 100% 100%, rgba(200, 36, 61, .08), rgba(200, 36, 61, 0) 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { border: 0; max-width: 100%; height: auto; }
a { color: #f5c84c; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; }
h1, h2 { font-family: "Cinzel", Georgia, serif; letter-spacing: .5px; font-weight: 700; }
h1 { font-size: 30px; margin: 0 0 16px; }
p { margin: 0 0 12px; }
.muted { color: #9aa6c8; }
.small { font-size: 13px; }
.center { text-align: center; }
.gold { color: #f5c84c; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; } .mb-16 { margin-bottom: 16px; } .mt-24 { margin-top: 24px; }
hr.sep { border: 0; height: 1px; margin: 22px 0; background: linear-gradient(90deg, rgba(245, 200, 76, 0), rgba(245, 200, 76, .45), rgba(245, 200, 76, 0)); }

/* ícones em traço (sprite em resources\views\tema\icones.blade.php) */
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8;
     stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex-shrink: 0; }
.i.lg { width: 28px; height: 28px; color: #f5c84c; }
.i.ok { color: #3ddc84; } .i.bad { color: #ff5470; }

/* ---------------------------------------------------------------- cabeçalho */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10, 15, 31, .96);
  border-bottom: 1px solid #27335c;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.top-in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  max-width: 1320px; margin: 0 auto; padding: 0 20px; min-height: 61px;
}
/* logo vertical: dentro da barra; em tela larga (>= 1400px, onde não cobre o conteúdo) fica maior, pendurada */
.brand { position: relative; display: block; width: 44px; height: 58px; margin-right: 16px; }
.brand:hover { text-decoration: none; }
.brand-logo { position: absolute; left: 0; top: 2px; display: block; height: 58px; width: auto; max-width: none;
  -webkit-filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .6)); filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .6)); }
@media (min-width: 1400px) {
  .brand { width: 72px; }
  .brand-logo { height: 96px; top: 4px; }
}

.nav { display: flex; align-items: center; flex-wrap: wrap; }
.nav > a, .nav > .dropdown, .nav > form { margin-left: 18px; }
.nav > a, .dropdown > summary { color: #eef1fb; font-weight: 500; font-size: 15px; }
.nav > a.active, .dropdown.active > summary { color: #f5c84c; }
.nav > a:hover, .dropdown > summary:hover { text-decoration: none; color: #f5c84c; }
.nav > a.btn { color: #2a1a00; }
.nav .who { color: #9aa6c8; }
.nav .who .i { color: #f5c84c; }
.inline { display: inline; margin: 0; }

.dropdown { position: relative; }
/* summary em bloco + filhos inline-block: o Chrome 43 ignora display: flex no <summary> */
.dropdown > summary { list-style: none; cursor: pointer; outline: none; display: block; white-space: nowrap; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary:after { content: ""; display: inline-block; vertical-align: middle; width: 0; height: 0; margin-left: 6px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #9aa6c8; }
.dropdown-menu {
  position: absolute; top: 100%; left: -12px; margin-top: 14px; min-width: 220px; padding: 8px;
  background: #121a36; border: 1px solid #27335c; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; z-index: 60;
}
.dropdown-menu.right { left: auto; right: -8px; }
.dropdown-menu a, .dropdown-menu button { display: block; width: 100%; text-align: left; color: #eef1fb; padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: #1f2a4f; text-decoration: none; }
.dropdown-menu .sep { height: 1px; background: #27335c; margin: 6px 4px; }
.conta > summary img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; margin-right: 8px; border: 1px solid #d99a1e; vertical-align: middle; }
.conta > summary span { display: inline-block; vertical-align: middle; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

button.link { background: none; border: 0; color: #eef1fb; cursor: pointer; font: inherit; padding: 0; }
.dropdown-menu button.link { padding: 8px 12px; }
button.link.danger, a.danger, .dropdown-menu .danger { color: #ff5470; }

/* menu do celular: checkbox + botão desenhado (o caractere ☰ não existe na fonte do CEF 43) */
.menu-toggle { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 13px 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin-bottom: 6px; background: #eef1fb; border-radius: 2px; }
.menu-btn span:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- estrutura */
main { flex: 1 0 auto; width: 100%; max-width: 880px; margin: 0 auto; padding: 32px 16px 8px; }
main.wide { max-width: 1192px; }
main.full { max-width: none; padding: 0; }
.container { width: 100%; max-width: 1192px; margin: 0 auto; padding: 0 16px; }
.section { padding: 44px 0 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; }
.section-head h1, .section-head h2 { margin: 0; }
.section-head > a { white-space: nowrap; margin-left: 14px; font-size: 14px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0 16px 0 0; }
.eyebrow { color: #f5c84c; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }

/* colunas com flexbox (sem grid): .cols > .col-*; o espaço entre elas vem da margem negativa */
.cols { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.cols > * { padding: 0 10px; margin-bottom: 20px; min-width: 0; }
.col-2 { width: 50%; } .col-3 { width: 33.3333%; } .col-4 { width: 25%; }
.col-5 { width: 41.6667%; } .col-7 { width: 58.3333%; } .col-8 { width: 66.6667%; } .col-12 { width: 100%; }
.cols.stretch > * { display: flex; flex-direction: column; }
.cols.stretch > * > .card, .cols.stretch > * > .feature { flex: 1 0 auto; }

/* título com a divisória da arte (pontas + gema + linha repetida, sem distorcer) */
h2.ornate { display: flex; align-items: center; flex: 1; font-size: 26px; text-transform: uppercase; letter-spacing: 2px; margin: 0; }
h2.ornate:before { content: ""; width: 9px; height: 9px; margin-right: 14px; flex-shrink: 0; background: #f5c84c; transform: rotate(45deg); box-shadow: 0 0 10px rgba(245, 200, 76, .6); }
h2.ornate:after {
  content: ""; flex: 1; min-width: 120px; height: 28px; margin-left: 16px;
  background:
    url("ui/divisoria-gema-centro.png") center center / auto 100% no-repeat,
    url("ui/divisoria-gema-ponta-esq.png") left center / auto 100% no-repeat,
    url("ui/divisoria-gema-ponta-dir.png") right center / auto 100% no-repeat,
    url("ui/divisoria-gema-linha.png") left center / auto 100% repeat-x;
}

/* ---------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border: 0; border-radius: 6px;
  background: linear-gradient(180deg, #ffd96b, #d99a1e);
  color: #2a1a00; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.2;
  letter-spacing: .3px; text-transform: uppercase; text-align: center; cursor: pointer;
  box-shadow: 0 4px 0 #8a5b08, 0 8px 20px rgba(245, 200, 76, .25);
  transition: transform .1s, -webkit-filter .15s, filter .15s;
  -webkit-appearance: none;
}
.btn .i { width: 18px; height: 18px; margin-right: 8px; }
.btn:hover { text-decoration: none; -webkit-filter: brightness(1.08); filter: brightness(1.08); color: #2a1a00; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a5b08; }
.btn.red { background: linear-gradient(180deg, #e8445c, #8e1428); color: #fff; box-shadow: 0 4px 0 #5c0b18, 0 8px 20px rgba(200, 36, 61, .3); }
.btn.red:hover { color: #fff; }
.btn.blue { background: linear-gradient(180deg, #4d8ff0, #1c4fa8); color: #fff; box-shadow: 0 4px 0 #0f2d63, 0 8px 20px rgba(95, 179, 255, .2); }
.btn.blue:hover { color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, .06); color: #eef1fb; box-shadow: none; border: 1px solid rgba(255, 255, 255, .25); }
.btn.ghost:hover { border-color: #f5c84c; color: #f5c84c; }
.btn.small { padding: 8px 14px; font-size: 13px; border-radius: 5px; box-shadow: 0 3px 0 #8a5b08; }
.btn.small.ghost { box-shadow: none; }
.btn.block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: default; -webkit-filter: grayscale(.6); filter: grayscale(.6); transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; margin: -6px; }
.actions > * { margin: 6px; }

/* botão com a arte (vermelho com asas): 241x104 */
.btn-art {
  display: inline-flex; align-items: center; justify-content: center;
  width: 300px; height: 129px; padding: 8px 46px 0;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .6px; text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .7); text-align: center; line-height: 1.2;
  background: url("ui/botao-asas.png") center / 100% 100% no-repeat;
  transition: transform .1s, -webkit-filter .15s, filter .15s;
}
.btn-art:hover { background-image: url("ui/botao-asas-hover.png"); text-decoration: none; color: #fff; -webkit-filter: brightness(1.05); filter: brightness(1.05); }
.btn-art:active { background-image: url("ui/botao-asas-pressionado.png"); transform: translateY(1px); }

/* ---------------------------------------------------------------- hero da home */
.hero {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  width: 100%; height: 67.1vw; max-height: 820px; min-height: 440px;
  background: #0e1530 url("hero.jpg") center 22% / cover no-repeat;
}
.hero:after {
  content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 15, 31, 0) 0%, rgba(10, 15, 31, 0) 52%, rgba(10, 15, 31, .55) 72%, rgba(10, 15, 31, .92) 90%, #0a0f1f 100%);
}
/* logo e chamada lado a lado, na faixa de baixo da arte (os rostos ficam livres) */
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 1192px; margin: 0 auto; padding: 0 16px 46px; }
.hero-logo { display: block; height: 270px; width: auto; max-width: none; flex-shrink: 0; margin-right: 30px; -webkit-filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .65)); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .65)); }
.hero-text { max-width: 560px; }
.hero-text p { margin: 0 0 6px; font-size: 18px; color: #e8edff; text-shadow: 0 2px 12px rgba(0, 0, 0, .95); }
.hero-text .actions { justify-content: flex-start; margin-left: -18px; }
@media (max-height: 900px) {
  .hero { max-height: calc(100vh - 62px); }
}

/* faixa de status dentro do banner da arte (faixa-status.png 1501x208) */
.status-banner { position: relative; z-index: 2; width: 100%; margin: -26px auto 0; -webkit-filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55)); filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55)); }
.status-banner:before { content: ""; display: block; padding-top: 13.858%; background: url("ui/faixa-status.png") center / 100% 100% no-repeat; }
.sb-item, .sb-center { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15; }
.sb-item { top: 44%; height: 32%; width: 12.4%; }
.sb-l1 { left: 15.6%; } .sb-l2 { left: 28.2%; } .sb-r1 { left: 59.8%; } .sb-r2 { left: 72.4%; }
.sb-item b { font-size: 15px; color: #fff; text-shadow: 0 1px 3px #000; white-space: nowrap; }
.sb-item small { font-size: 12px; color: #9aa6c8; white-space: nowrap; }
.sb-center { left: 45.6%; width: 8.8%; top: 34%; height: 44%; }
.sb-center b { font-family: "Cinzel", Georgia, serif; font-size: 16px; color: #f5c84c; letter-spacing: 1px; text-transform: uppercase; }
.sb-center small { font-size: 10.5px; color: #9aa6c8; text-transform: uppercase; letter-spacing: 1px; }
.sb-center .dot { width: 10px; height: 10px; margin-bottom: 3px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.on { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.dot.off { background: #ff5470; }

/* ---------------------------------------------------------------- cartões */
.card, .feature, .stat, .news-card, .package { position: relative; border: 1px solid #27335c; border-radius: 8px; }
.card { background: linear-gradient(180deg, #141d3c 0%, #121a36 40%, #0f1630 100%); padding: 24px; margin-bottom: 20px; }
.card:before, .feature:before, .package:before {
  content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(245, 200, 76, 0), rgba(245, 200, 76, .7), rgba(245, 200, 76, 0));
}
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.card h1, .card h2 { margin-top: 0; }
.card > h2 { font-size: 20px; margin-bottom: 14px; }
.card h3 { margin-top: 0; }
.card-title { display: flex; align-items: center; margin: 0 0 14px; font-family: "Cinzel", Georgia, serif; font-size: 19px; font-weight: 700; }
.card-title .i { color: #f5c84c; margin-right: 8px; }
.card-title > a { margin-left: auto; font-family: "Inter", Arial, sans-serif; font-size: 13px; font-weight: 500; }

/* cartão com a moldura dourada da arte (painel-gema como 9 fatias + gema por cima) */
.card.moldura { border: 0; border-radius: 0; background: none; padding: 38px 34px 34px; }
.card.moldura:before { left: 0; right: 0; top: 0; bottom: 0; height: auto; z-index: -1;
  border-style: solid; border-width: 40px; border-image-source: url("ui/painel-borda.png"); border-image-slice: 40 fill; border-image-repeat: stretch; background: none; }
.card.moldura:after { content: ""; position: absolute; left: 50%; top: 3px; width: 41px; height: 28px; margin-left: -20px; background: url("ui/gema-pequena-vermelha.png") center / contain no-repeat; }
.card.moldura { z-index: 0; }

.feature { background: linear-gradient(180deg, #141d3c 0%, #121a36 40%, #0f1630 100%); padding: 24px 22px; height: 100%; }
.feature .medal { display: block; width: 72px; height: auto; -webkit-filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.feature h3 { margin: 12px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: #9aa6c8; font-size: 14px; line-height: 1.5; }

.empty { display: flex; align-items: center; padding: 22px; border: 1px dashed #27335c; border-radius: 8px; color: #9aa6c8; }
.empty .i { margin-right: 14px; }
.notice { padding: 14px 16px; border-radius: 8px; border: 1px dashed #f5c84c; background: rgba(245, 200, 76, .08); color: #ffe7a0; margin-bottom: 20px; }
.notice .i { color: #f5c84c; margin-right: 6px; }

/* ---------------------------------------------------------------- notícias */
.news-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.news-grid > .news-item { width: 33.3333%; padding: 0 10px; margin-bottom: 20px; }
.news-card { display: flex; flex-direction: column; height: 100%; background: #121a36; overflow: hidden; color: #eef1fb; transition: transform .15s, border-color .15s; }
.news-card:hover { text-decoration: none; transform: translateY(-3px); border-color: #f5c84c; }
.news-cover { position: relative; height: 0; padding-top: 56.25%; background: #0e1530 url("hero-640.jpg") center / cover no-repeat; }
.news-cover.padrao:after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(10, 15, 31, .15), rgba(10, 15, 31, .7)); }
.news-cover .tag { position: absolute; left: 12px; top: 12px; z-index: 1; }
.news-body { display: flex; flex-direction: column; flex: 1 0 auto; padding: 16px; }
.news-body h3 { margin: 0 0 8px; font-size: 17px; }
.news-body p { margin: 0 0 10px; color: #9aa6c8; font-size: 14px; }
.news-body time { margin-top: auto; color: #9aa6c8; font-size: 13px; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #9b6bff; color: #fff; }
.tag-1 { background: #d99a1e; color: #2a1a00; }      /* evento (atividade) */
.tag-2 { background: #2f7de0; }                       /* anúncio */
.tag-3 { background: #3a9d6a; }                       /* guia */

.list-links { list-style: none; margin: 0; padding: 0; }
.list-links li { display: flex; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #27335c; }
.list-links li:last-child { border-bottom: 0; }
.list-links li:before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 2px; flex-shrink: 0; background: #f5c84c; transform: rotate(45deg) translateY(-2px); }
.list-links a { flex: 1; color: #eef1fb; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-links a:hover { color: #f5c84c; text-decoration: none; }
.list-links time, .list-links .muted { margin-left: 12px; font-size: 13px; color: #9aa6c8; white-space: nowrap; }

/* ---------------------------------------------------------------- matérias e textos longos */
.post { max-width: 800px; margin: 0 auto; }
.post-cover { display: block; width: 100%; border-radius: 8px; margin: 16px 0; }
.post h1 { margin: 10px 0 6px; }
.breadcrumb { font-size: 13px; color: #9aa6c8; margin-bottom: 10px; }
.breadcrumb a { color: #9aa6c8; }
.breadcrumb a:hover { color: #f5c84c; }
.prose { line-height: 1.75; font-size: 16px; overflow-wrap: break-word; word-wrap: break-word; }
.prose img, .prose iframe, .prose video { max-width: 100%; height: auto; border-radius: 6px; }
.prose h1, .prose h2, .prose h3 { font-family: "Cinzel", Georgia, serif; color: #f5c84c; }
.prose h1 { font-size: 24px; } .prose h2 { font-size: 21px; } .prose h3 { font-size: 18px; }
.prose a { text-decoration: underline; }
.prose blockquote { border-left: 3px solid #f5c84c; margin: 0 0 12px; padding-left: 16px; color: #9aa6c8; }
.prose code { background: #0e1530; padding: 2px 6px; border-radius: 4px; }
.prose table { border-collapse: collapse; max-width: 100%; }
.prose th, .prose td { border: 1px solid #27335c; padding: 6px 10px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose [style*="color: #000"], .prose [style*="color:#000"], .prose [style*="color: rgb(0, 0, 0)"] { color: #eef1fb !important; }
.prose [style*="background-color"] { background-color: transparent !important; }

/* ---------------------------------------------------------------- tabelas, abas, paginação */
.tabs { display: flex; border-bottom: 1px solid #27335c; margin-bottom: 18px; overflow-x: auto; }
.tab { padding: 10px 18px; color: #9aa6c8; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tab.on, .tab:hover { color: #eef1fb; border-bottom-color: #f5c84c; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; margin: -4px -4px 16px; }
.chip { margin: 4px; padding: 6px 14px; border-radius: 999px; border: 1px solid #27335c; color: #9aa6c8; font-size: 14px; }
.chip.on, .chip:hover { border-color: #f5c84c; color: #eef1fb; text-decoration: none; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; color: #9aa6c8; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid #27335c; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; }
.table tbody tr:hover td { background: rgba(31, 42, 79, .35); }
.rank .pos { font-weight: 800; width: 52px; }
.rank .top-1 .pos { color: #f5c84c; } .rank .top-2 .pos { color: #cfd8e6; } .rank .top-3 .pos { color: #d58a4f; }
.rank .medalha { width: 26px; height: auto; vertical-align: middle; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 20px 0 0; padding: 0; }
.pagination li { margin: 3px; }
.pagination a, .pagination span { display: block; min-width: 36px; padding: 7px 11px; text-align: center; border: 1px solid #27335c; border-radius: 6px; color: #9aa6c8; font-size: 14px; }
.pagination a:hover { border-color: #f5c84c; color: #eef1fb; text-decoration: none; }
.pagination .active span, .pagination .active a { border-color: #f5c84c; background: rgba(245, 200, 76, .12); color: #f5c84c; font-weight: 700; }
.pagination .disabled span { opacity: .45; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #1f2a4f; color: #9aa6c8; white-space: nowrap; }
.badge.ok { background: rgba(61, 220, 132, .15); color: #3ddc84; }
.badge.warn { background: rgba(245, 200, 76, .15); color: #f5c84c; }
.badge.err { background: rgba(255, 84, 112, .15); color: #ff5470; }
.badge.info { background: rgba(95, 179, 255, .15); color: #5fb3ff; }

.stats { display: flex; flex-wrap: wrap; margin: 0 -8px 12px; }
.stats > .stat { flex: 1 1 180px; margin: 0 8px 16px; background: #121a36; padding: 16px 18px; }
.stat span { display: block; color: #9aa6c8; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.stat b { font-size: 22px; }

.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #27335c; font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv > span:first-child { color: #9aa6c8; margin-right: 12px; flex-shrink: 0; }
.kv > b, .kv > span:last-child { text-align: right; overflow-wrap: break-word; word-wrap: break-word; min-width: 0; }

/* ---------------------------------------------------------------- formulários */
.form { display: flex; flex-direction: column; }
.form > * { margin-bottom: 14px; }
.form > *:last-child { margin-bottom: 0; }
.form label, .field > label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { display: block; }
.field small, .form small { display: block; color: #9aa6c8; font-weight: 400; margin-top: 5px; font-size: 13px; }
.input, .form input[type=text], .form input[type=email], .form input[type=password], .form input[type=tel],
.form input[type=number], .form input[type=file], .form select, .form textarea {
  display: block; width: 100%; padding: 11px 13px; border-radius: 6px; border: 1px solid #27335c;
  background: #0a0f1f; color: #eef1fb; font: inherit; font-size: 15px; line-height: 1.3; -webkit-appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, #9aa6c8 50%), linear-gradient(135deg, #9aa6c8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: #f5c84c; box-shadow: 0 0 0 1px #f5c84c; }
.form textarea { resize: vertical; min-height: 120px; }
::-webkit-input-placeholder { color: #5f6b90; }
.check, .form label.check, .field > label.check { display: flex; align-items: flex-start; font-weight: 400; margin-bottom: 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 10px 0 0; flex-shrink: 0; }
/* caixa de marcar no tema (appearance: none funciona no Chrome 43 com o prefixo) */
input[type=checkbox] { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 1px solid #3a4778; border-radius: 4px;
  background: #0a0f1f center / 12px 12px no-repeat; cursor: pointer; vertical-align: middle; }
input[type=checkbox]:checked { background-color: #f5c84c; border-color: #f5c84c;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%232a1a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
input[type=checkbox]:focus { outline: 0; box-shadow: 0 0 0 2px rgba(245, 200, 76, .45); }
.form-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 14px; }
.input-error, .field-error { color: #ff5470; font-size: 13px; margin-top: 6px; list-style: none; padding: 0; }
.input-error li { margin: 0; }

.flash, .alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; background: rgba(61, 220, 132, .1); border: 1px solid #3ddc84; color: #eef1fb; }
.flash.error, .alert-error, .alert.error { background: rgba(255, 84, 112, .1); border-color: #ff5470; }
#elexSiteTips:empty { display: none; }
main.full > .flash { max-width: 1160px; margin: 16px auto; }

/* ---------------------------------------------------------------- navegação lateral */
.with-side { display: flex; align-items: flex-start; }
.with-side > .side { width: 230px; flex-shrink: 0; margin-right: 24px; }
.with-side > .main-col { flex: 1; min-width: 0; }
.with-side > .main-col.post { margin: 0; max-width: none; }
.with-side > .side.direita { width: 300px; margin: 0 0 0 24px; }
.side-nav { display: flex; flex-direction: column; padding: 10px; }
.side-nav .eyebrow { padding: 6px 12px 4px; }
.side-nav a { display: flex; align-items: center; padding: 9px 12px; border-radius: 6px; color: #9aa6c8; margin-bottom: 2px; }
.side-nav a .i { margin-right: 10px; }
.side-nav a.on, .side-nav a:hover { background: #1f2a4f; color: #eef1fb; text-decoration: none; }
.side-nav a.on .i { color: #f5c84c; }
.side-img { display: block; width: 100%; border-radius: 8px; margin-bottom: 16px; border: 1px solid #27335c; }

/* ---------------------------------------------------------------- conta */
.profile-head { display: flex; align-items: center; margin-bottom: 20px; }
.avatar-frame { position: relative; flex-shrink: 0; width: 112px; height: 124px; margin-right: 18px; }
.avatar-frame img.foto { position: absolute; left: 18%; top: 24%; width: 64%; height: 58%; border-radius: 50%; object-fit: cover; }
.avatar-frame:after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: url("ui/moldura-redonda-vazada.png") center / 100% 100% no-repeat; pointer-events: none; }
.profile-head h1 { margin: 0 0 4px; }

/* ---------------------------------------------------------------- ranking (placa com 5 linhas) */
.rank-board-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 6px 8px; }
.rank-board-head h3 { margin: 0; font-family: "Cinzel", Georgia, serif; font-size: 20px; }
.rank-board-head a { font-size: 13px; }
.rank-plate { position: relative; -webkit-filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.rank-plate:before { content: ""; display: block; padding-top: 76.04%; background: url("ui/placa-ranking.png") center / 100% 100% no-repeat; }
.rank-row { position: absolute; left: 20.5%; right: 12.5%; height: 10%; margin-top: -5%; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.rank-row.r0 { top: 30%; } .rank-row.r1 { top: 43.5%; } .rank-row.r2 { top: 57%; } .rank-row.r3 { top: 70.5%; } .rank-row.r4 { top: 84%; }
.rank-row .name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; margin-right: 8px; }
.rank-row small { color: #9aa6c8; font-weight: 500; font-size: .8em; }
.rank-row .val { color: #f5c84c; font-weight: 800; white-space: nowrap; }

/* ---------------------------------------------------------------- recarga */
.packages { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.packages > li { list-style: none; width: 33.3333%; padding: 0 10px; margin-bottom: 20px; }
.package { display: flex; flex-direction: column; height: 100%; padding: 22px; cursor: pointer;
  background: linear-gradient(180deg, #121a36, #0e1530); transition: transform .15s, border-color .15s; }
.package:hover { transform: translateY(-3px); border-color: #f5c84c; }
.package.on { border-color: #f5c84c; box-shadow: 0 0 0 1px #f5c84c, 0 10px 30px rgba(245, 200, 76, .15); }
.package h3 { margin: 0 0 8px; font-family: "Cinzel", Georgia, serif; font-size: 19px; }
.package .qtd { display: flex; align-items: center; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.package .qtd img { width: 26px; height: 26px; margin-right: 8px; }
.package .price { font-size: 28px; font-weight: 800; margin-top: auto; }
.package .price small { font-size: 15px; color: #9aa6c8; font-weight: 500; }
.steps { counter-reset: passo; list-style: none; margin: 0 0 20px; padding: 0; }
.steps > li { position: relative; padding-left: 44px; margin-bottom: 18px; }
.steps > li:before { counter-increment: passo; content: counter(passo); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%;
  background: linear-gradient(180deg, #ffd96b, #d99a1e); color: #2a1a00; font-weight: 800; font-size: 14px; }
.steps > li > b:first-child { color: #eef1fb; }
.steps > li > b:first-child ~ .cols, .steps > li > b:first-child ~ .methods, .steps > li > b:first-child ~ .packages { margin-top: 12px; }
.methods { display: flex; flex-wrap: wrap; margin: -6px; }
.method { display: flex; align-items: center; justify-content: center; width: 170px; height: 72px; margin: 6px; padding: 10px; cursor: pointer;
  border: 1px solid #27335c; border-radius: 8px; background: #0a0f1f; transition: border-color .15s; }
.method img { max-width: 100%; max-height: 44px; }
.method:hover { border-color: #9aa6c8; }
.method.on { border-color: #f5c84c; box-shadow: 0 0 0 1px #f5c84c; }

/* ---------------------------------------------------------------- suporte */
.ticket { display: flex; align-items: center; padding: 14px 16px; border: 1px solid #27335c; border-radius: 8px; background: #121a36; color: #eef1fb; margin-bottom: 10px; transition: border-color .15s; }
.ticket:hover { border-color: #f5c84c; text-decoration: none; }
.ticket .t-main { flex: 1; min-width: 0; }
.ticket .t-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket .t-main small { color: #9aa6c8; }
.ticket .badge { margin-left: 12px; }
.msg { border: 1px solid #27335c; border-radius: 8px; background: #121a36; margin-bottom: 14px; overflow: hidden; }
.msg-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #1a2448; font-size: 14px; }
.msg-head b { color: #eef1fb; }
.msg.equipe { border-color: rgba(245, 200, 76, .5); }
.msg.equipe .msg-head { background: rgba(245, 200, 76, .12); }
.msg.equipe .msg-head b { color: #f5c84c; }
.msg-body { padding: 14px 16px; }

/* ---------------------------------------------------------------- downloads */
.cols.stretch > * > .box { flex: 1 0 auto; display: flex; flex-direction: column; }
.box > .card { flex: 1 0 auto; margin-bottom: 0; }
.dl { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 26px 20px; }
.dl .medal { width: 70px; height: auto; margin-bottom: 8px; -webkit-filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.dl h3 { margin: 6px 0 8px; font-family: "Cinzel", Georgia, serif; font-size: 19px; }
.dl p { color: #9aa6c8; font-size: 14px; flex: 1 0 auto; }
.dl .btn { margin-top: 8px; }

/* ---------------------------------------------------------------- home: acesso e servidores */
.acesso .card { height: 100%; margin-bottom: 0; }
.servers { list-style: none; margin: 0; padding: 0; }
.servers a { display: flex; align-items: center; padding: 12px 14px; margin-bottom: 8px; border: 1px solid #27335c; border-radius: 8px; background: #0e1530; color: #eef1fb; transition: border-color .15s; }
.servers a:hover { border-color: #f5c84c; text-decoration: none; }
.servers a p { flex: 1; margin: 0; font-weight: 700; }
.servers a .dot { margin-right: 12px; }
.servers a .go { color: #f5c84c; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.servers a.disabled { opacity: .5; cursor: default; }
.servers a.disabled .go { color: #9aa6c8; }
.dl-mini a { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #27335c; color: #eef1fb; }
.dl-mini a:last-child { border-bottom: 0; }
.dl-mini a:hover { color: #f5c84c; text-decoration: none; }
.dl-mini img { width: 38px; height: auto; margin-right: 12px; }
.dl-mini small { display: block; color: #9aa6c8; font-size: 12px; }

.gallery { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.gallery a { display: block; width: 33.3333%; padding: 0 8px; margin-bottom: 16px; }
.gallery img { display: block; width: 100%; border-radius: 6px; border: 1px solid #27335c; transition: border-color .15s; }
.gallery a:hover img { border-color: #f5c84c; }

.cta-social { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30px; border-radius: 8px;
  background: linear-gradient(120deg, #3b3fb6, #5865f2 60%, #7b6bff); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.cta-social h2 { margin: 0 0 6px; }
.cta-social p { margin: 0; color: #e3e6ff; }

/* ---------------------------------------------------------------- rodapé */
footer.rodape { position: relative; margin-top: 70px; border-top: 1px solid #27335c; background: #0e1530; }
.footer-ornament { position: absolute; left: 50%; top: 0; width: 420px; max-width: 80%; transform: translate(-50%, -55%); pointer-events: none; }
.footer-grid { display: flex; flex-wrap: wrap; max-width: 1192px; margin: 0 auto; padding: 40px 6px 20px; }
.footer-grid > div { padding: 0 10px; margin-bottom: 18px; width: 22%; }
.footer-grid > div:first-child { width: 34%; }
.footer-grid h4 { margin: 0 0 12px; font-family: "Cinzel", Georgia, serif; color: #f5c84c; font-size: 16px; }
.footer-grid a { display: block; color: #9aa6c8; padding: 3px 0; font-size: 14px; }
.footer-grid a:hover { color: #eef1fb; text-decoration: none; }
.rodape-logo { display: inline-block; }
.rodape-logo img { display: block; height: 150px; width: auto; }
.footer-bottom { max-width: 1160px; margin: 0 auto; padding: 16px; border-top: 1px solid #27335c; color: #9aa6c8; font-size: 12px; text-align: center; }

/* ---------------------------------------------------------------- telas médias (launcher 983px, tablet) */
@media (max-width: 1100px) {
  .nav > a, .nav > .dropdown, .nav > form { margin-left: 14px; }
  .nav > a, .dropdown > summary { font-size: 14px; }
  .sb-item b { font-size: 1.3vw; } .sb-item small { font-size: 1.05vw; }
  .sb-center b { font-size: 1.4vw; } .sb-center small { font-size: .9vw; }
  .rank-row { font-size: 15px; }
  .hero-logo { height: 230px; }
}
@media (max-width: 1000px) {
  .packages > li { width: 50%; }
  .col-4 { width: 50%; }
  .conta > summary span { display: none; }
  .conta > summary img { margin-right: 0; }
}
@media (max-width: 1000px) and (max-height: 700px) {
  /* launcher 1000x600: arte mais baixa para o logo e os botões caberem na primeira tela */
  .hero-logo { height: 180px; margin-right: 20px; }
  .hero-text p { font-size: 15px; }
  .btn-art { width: 240px; height: 104px; font-size: 14px; padding: 6px 30px 0; letter-spacing: .2px; }
  .hero-inner { padding-bottom: 34px; }
}

/* ---------------------------------------------------------------- menu recolhido */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .top { background: #0a0f1f; }
  .top-in { padding: 0 12px; }
  .top .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 14px; max-height: calc(100vh - 62px); overflow-y: auto; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav > a, .nav > .dropdown, .nav > form { margin: 0; padding: 11px 4px; border-bottom: 1px solid #1c2548; }
  .nav > a.btn { margin-top: 12px; border-bottom: 0; padding: 12px; }
  .dropdown-menu, .dropdown-menu.right { position: static; box-shadow: none; margin-top: 10px; min-width: 0; }
  .conta > summary span { display: inline-block; }
  .conta > summary img { margin-right: 8px; }
  .hide-sm { display: none; }
}

/* ---------------------------------------------------------------- celular */
@media (max-width: 760px) {
  h1 { font-size: 24px; }
  .hero { height: auto; min-height: 0; max-height: none; padding-top: 60vw; background-size: 100% auto; background-position: center top; background-image: url("hero-640.jpg"); }
  .hero:after { background: linear-gradient(180deg, rgba(10, 15, 31, 0) 0%, rgba(10, 15, 31, 0) 36%, rgba(10, 15, 31, .9) 52%, #0a0f1f 62%); }
  .hero-inner { flex-direction: column; text-align: center; padding-bottom: 36px; margin-top: -7vw; }
  .hero-logo { height: 190px; margin: 0 auto 6px; }
  .hero-text p { font-size: 15px; }
  .hero-text .actions { justify-content: center; margin-left: -6px; }
  .btn-art { width: 250px; height: 108px; font-size: 14px; padding: 6px 40px 0; }
  .status-banner { margin-top: -14px; display: flex; flex-wrap: wrap; -webkit-filter: none; filter: none; background: #27335c; border: 1px solid #27335c; border-radius: 8px; overflow: hidden; }
  .status-banner:before { display: none; }
  .sb-item, .sb-center { position: static; width: 50%; height: auto; padding: 13px 8px; background: #121a36; border-bottom: 1px solid #27335c; }
  .sb-item:nth-child(odd) { border-right: 1px solid #27335c; }
  .sb-center { width: 100%; flex-direction: row; order: -1; }
  .sb-center .dot { margin: 0 8px 0 0; }
  .sb-center small { margin-left: 8px; font-size: 11px; }
  .sb-item b { font-size: 14px; } .sb-item small { font-size: 12px; } .sb-center b { font-size: 15px; }
  .col-2, .col-3, .col-4, .col-5, .col-7, .col-8 { width: 100%; }
  .news-grid > .news-item { width: 50%; }
  .with-side { display: block; }
  .with-side > .side { width: auto; margin: 0 0 20px; }
  .with-side > .side.direita { width: auto; margin: 24px 0 0; }
  /* menu do painel vira uma faixa de atalhos com rolagem lateral */
  .side .side-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px; }
  .side .side-nav .profile-head, .side .side-nav .eyebrow { display: none; }
  .side .side-nav a { flex-shrink: 0; margin: 0 4px 0 0; white-space: nowrap; }
  .with-side > .side { margin-bottom: 18px; }
  .method { width: 46%; width: calc(50% - 12px); height: 62px; }
  .footer-grid > div { width: 50%; }
  .footer-grid > div:first-child { width: 100%; }
  .gallery a { width: 100%; }
  h2.ornate { font-size: 20px; }
  h2.ornate:after { min-width: 40px; height: 22px; }
  .card { padding: 20px 18px; }
  .card.moldura { padding: 26px 22px 26px; }
  .rank-row { font-size: 14px; }
}
@media (max-width: 560px) {
  .news-grid > .news-item, .packages > li { width: 100%; }
  .section-head { flex-wrap: wrap; }
  .section-head > a { margin: 8px 0 0 23px; }
  .profile-head { align-items: flex-start; }
  .avatar-frame { width: 84px; height: 93px; margin-right: 14px; }
}
@media (max-width: 400px) {
  .rank-row { font-size: 13px; }
  .method { width: 140px; }
}
@media (max-width: 340px) {
  .footer-grid > div { width: 100%; }
}
