/* =====================================================================
   MU GALAXY — TEMA "AI"  (camada visual nova)
   Carregado POR ÚLTIMO (depois de galaxy-blue / destaque / modal / mobile-spacing).
   Redefine as variáveis do tema e restila: fundo, menu, painéis, títulos,
   barra lateral, botões, formulários, tabelas, castelo e os cards QUADRADOS
   de eventos (.ai-grid / .ai-card).

   Para voltar ao visual antigo: remova a linha do galaxy-ai.css no layouts/default.phtml.

   Paleta : preto-violeta + violeta elétrico + ciano neon (+ rosa e dourado de apoio)
   Fontes : Space Grotesk (títulos) · Inter (texto) · JetBrains Mono (rótulos técnicos)
   ===================================================================== */

:root {
  --bg:        #070808;
  --surface:   rgba(20, 20, 21, .72);
  --surface-2: rgba(31, 32, 33, .70);
  --surface-3: #262729;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .20);
  --text:      #d9dde3;
  --text-hi:   #ffffff;
  --muted:     #8b93a0;
  --accent:    #3fd0ff;
  --accent-hi: #9fe4ff;
  --accent-lo: #1a8fb8;
  --cyan:      #27e3ff;
  --pink:      #b9c7d6;
  --gold:      #ffcf6b;
  --ok:        #2dffb0;
  --bad:       #ff5d7a;
  --radius:    16px;
  --radius-sm: 9px;
  --shadow:    0 22px 50px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
  --font-text: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --table-hover-bg: rgba(63, 208, 255, .10);
  --pagination-active-bg: var(--accent-lo);
  --pagination-active-border-color: var(--accent);
}

* { scrollbar-color: #3a4350 var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #1a8fb8, #27a8ff); border: 2px solid var(--bg); }
::selection { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------------ FUNDO */
html { background: var(--bg); position: relative; }
html body { background: transparent !important; font-family: var(--font-text); }

/* arte do topo: key art em cores originais, nítida, com esmaecer para o fundo escuro */
html::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 662px; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 7, 8, .72) 0, rgba(6, 7, 8, 0) 110px),
    linear-gradient(180deg, rgba(6, 7, 8, 0) 62%, var(--bg) 99%),
    radial-gradient(70% 90% at 50% 38%, transparent 55%, rgba(6, 7, 8, .55) 100%),
    url(../images/hero-key-art.jpg) center top / max(100%, 1920px) auto no-repeat;
}
/* grade tecnológica fixa + brilhos de aurora */
html::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 12% 78%, rgba(39, 227, 255, .07), transparent 70%),
    radial-gradient(45% 40% at 90% 62%, rgba(185, 199, 214, .06), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

a { color: var(--accent-hi); }
a:hover { color: var(--cyan); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); letter-spacing: -.005em; }

/* ------------------------------------------------------------------ MENU */
header .navbar {
  background: rgba(10, 10, 11, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
header .navbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent) 25%, var(--cyan) 50%, var(--pink) 75%, transparent);
  opacity: .75;
}
header .navbar ul { gap: 2px; }
header .navbar ul li a {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: #a3abb7;
}
header .navbar ul li a::after { height: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
header .navbar ul li a:hover { color: #fff; background: linear-gradient(180deg, transparent, rgba(63, 208, 255, .14)); }

/* ------------------------------------------------------------------ HERO / LOGO */
.hero::before { background: radial-gradient(ellipse at center, rgba(63, 208, 255, .38), rgba(39, 227, 255, .08) 45%, transparent 70%); }
.hero::after { background: linear-gradient(180deg, rgba(7, 8, 8, 0), rgba(7, 8, 8, .55)); }
.hero .ray { background: linear-gradient(180deg, transparent, rgba(170, 225, 255, .45) 50%, transparent); }
.hero .ray.r2 { background: linear-gradient(180deg, transparent, rgba(39, 227, 255, .32) 50%, transparent); }
.hero .bolt { filter: drop-shadow(0 0 6px var(--cyan)); }
.hero .bolt polyline { stroke: #e9fbff; }
@keyframes g-logo-glow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(63, 208, 255, .55)) drop-shadow(0 0 2px rgba(39, 227, 255, .3)) brightness(1); }
  50%      { filter: drop-shadow(0 0 26px rgba(63, 208, 255, .9)) drop-shadow(0 0 8px rgba(39, 227, 255, .55)) brightness(1.1); }
}
.logo-fx::before { background: radial-gradient(closest-side, rgba(240, 235, 255, 1), rgba(170, 225, 255, .75) 65%, rgba(63, 208, 255, 0) 100%); }

/* ------------------------------------------------------------------ PAINÉIS (vidro fosco + borda de gradiente) */
.main-container > div:not(.page-title),
.main-container > form,
.main-container > section,
.sidebar .box,
.sidebar .box-login,
.sidebar-social {
  background: linear-gradient(180deg, rgba(35, 36, 37, .62), rgba(14, 14, 15, .80)) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line) !important; border-radius: 20px !important;
  box-shadow: var(--shadow) !important;
}
html .main-container > div:not(.page-title)::before,
html .sidebar .box::before,
html .sidebar .box-login::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, rgba(63, 208, 255, .65), transparent 32%, transparent 68%, rgba(39, 227, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* títulos de seção */
.main-container h1, .page-title h1 {
  font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: .16em;
  background: linear-gradient(90deg, rgba(63, 208, 255, .18), rgba(39, 227, 255, .03) 55%, transparent);
  border-bottom: 1px solid var(--line); border-radius: 20px 20px 0 0;
}
.main-container h1::before, .page-title h1::before {
  width: 8px; height: 8px; margin-right: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 45%, var(--accent) 100%);
  box-shadow: 0 0 0 3px rgba(39, 227, 255, .12), 0 0 14px var(--cyan);
  animation: ai-pulse 2.6s ease-in-out infinite;
}
@keyframes ai-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(39, 227, 255, .12), 0 0 10px var(--cyan); } 50% { box-shadow: 0 0 0 6px rgba(39, 227, 255, .04), 0 0 20px var(--cyan); } }

.btn-more, .btn-mais {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; border-radius: 999px; padding: 5px 14px;
  color: var(--cyan) !important; border: 1px solid rgba(39, 227, 255, .35); background: rgba(39, 227, 255, .06);
}
.btn-more:hover, .btn-mais:hover { background: var(--cyan); border-color: var(--cyan); color: #101111 !important; box-shadow: 0 0 18px rgba(39, 227, 255, .5); }

/* ------------------------------------------------------------------ LATERAL */
.sidebar .sidebar-title {
  font-family: var(--font-head); font-size: 14px; letter-spacing: .16em;
  background: linear-gradient(90deg, rgba(63, 208, 255, .18), transparent 70%); border-bottom: 1px solid var(--line);
}
.sidebar .sidebar-title::before {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 45%, var(--accent) 100%); box-shadow: 0 0 12px var(--cyan);
}
.sidebar .box ul > *:not(:last-child) { border-bottom-color: rgba(255, 255, 255, .10); }
.sidebar .box ul li { font-size: 13px; }
.sidebar .text-new { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }
.sidebar .box .status.on, .sidebar .box ul li span.status.on { color: var(--ok) !important; text-shadow: 0 0 10px rgba(45, 255, 176, .5); }
.sidebar .box .status.off, .sidebar .box ul li span.status.off { color: var(--bad) !important; }
.sidebar-social a:hover { box-shadow: 0 8px 22px rgba(63, 208, 255, .55); }

.players-bar { background: rgba(255, 255, 255, .06) !important; border: 1px solid var(--line) !important; border-radius: 999px !important; overflow: hidden; }
.players-bar-fill { background: linear-gradient(90deg, var(--accent), var(--cyan)) !important; box-shadow: 0 0 14px rgba(39, 227, 255, .7); border-radius: 999px; }

.sidebar .box-login .input, .form-control, .form-select, textarea, select,
input[type=text], input[type=password], input[type=email], input[type=number] {
  background-color: rgba(7, 8, 8, .7); border-color: var(--line-2); border-radius: 10px;
}
.form-control:focus, .form-select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(39, 227, 255, .16), 0 0 18px rgba(39, 227, 255, .15); }
.form-control::placeholder { color: #566070; }

/* ------------------------------------------------------------------ BOTÕES / ABAS / TABELAS */
.btn { border-radius: 10px; letter-spacing: .02em; }
.btn-primary, button[type=submit]:not(.btn-close):not(.btn-danger):not(.btn-success):not(.btn-secondary) {
  background: linear-gradient(135deg, #1aa6d6 0%, #2b7de0 55%, #1fb6ff 100%); border: 0;
  box-shadow: 0 6px 22px rgba(14, 140, 190, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover, button[type=submit]:hover {
  background: linear-gradient(135deg, #3cbfe8 0%, #4a90e8 55%, #3cc3ff 100%);
  box-shadow: 0 8px 30px rgba(14, 140, 190, .6), 0 0 22px rgba(39, 227, 255, .35); transform: translateY(-1px);
}
.btn-secondary, .btn-outline-secondary, .btn-dark, .btn-light { background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-secondary:hover, .btn-outline-secondary:hover, .btn-dark:hover, .btn-light:hover { background: rgba(63, 208, 255, .25); border-color: var(--accent); }
.nav-pills .nav-link, .nav-tabs .nav-link { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; border-radius: 999px; }
.nav-pills .nav-link.active, .nav-tabs .nav-link.active, .nav-pills .show > .nav-link {
  background: linear-gradient(135deg, #1aa6d6, #2b7de0 60%, #1fb6ff); border-color: transparent; box-shadow: 0 0 18px rgba(14, 140, 190, .5);
}
.main-container .ranking .ranking-button li a { font-family: var(--font-mono); font-size: 10.5px; border-radius: 999px; }
.main-container .ranking .ranking-button li a.active { background: linear-gradient(135deg, #1aa6d6, #2b7de0 60%, #1fb6ff); border-color: transparent; box-shadow: 0 0 18px rgba(14, 140, 190, .5); }
.table thead th { font-family: var(--font-mono); background: rgba(63, 208, 255, .08) !important; }
.table-hover > tbody > tr:hover > * { background: rgba(63, 208, 255, .12) !important; }
.card { background: var(--surface-2) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal-content, .swal2-popup, .popover, .dropdown-menu { background: rgba(19, 20, 20, .94) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.dropdown-item:hover { background: rgba(63, 208, 255, .22); }

/* ------------------------------------------------------------------ HALL DA FAMA (mesma linguagem visual) */
.list-characters .character .card { border-radius: 16px !important; background: linear-gradient(180deg, rgba(39, 41, 42, .7), rgba(15, 16, 16, .85)) !important; }
.list-characters .character .card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 140, 190, .35); }
.list-characters .character-avatar img { border-radius: 14px !important; border-color: var(--line-2); }
.rank-badge { font-family: var(--font-mono); border-radius: 6px; background: rgba(7, 8, 8, .8); }
.rank-name { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; }
.list-characters .character .card-footer .btn { font-family: var(--font-mono); font-size: 10px; border-radius: 999px; color: var(--cyan); border-color: rgba(39, 227, 255, .35); }
.list-characters .character .card-footer .btn:hover, .list-characters .character .card:hover .card-footer .btn { background: linear-gradient(135deg, #1aa6d6, #1fb6ff); border-color: transparent; color: #fff; }
.list-characters .rank-1 .card { --c: var(--gold); border-color: rgba(255, 207, 107, .45) !important; }
.list-characters .rank-1 .rank-badge { background: var(--gold); }

/* ------------------------------------------------------------------ TOP DONATE / REI */
.sidebar .box .king, .sidebar .box .queen, .sidebar .box .donate { border-radius: 16px; background: rgba(31, 32, 33, .6); }
.sidebar .box .donate { --c: var(--cyan); }
.sidebar .box .king .info img, .sidebar .box .queen .info img, .sidebar .box .donate .info img { border-radius: 14px !important; }
.donate-list .donate-top1 { border-radius: 14px; border-color: rgba(255, 207, 107, .4); background: linear-gradient(135deg, rgba(255, 207, 107, .12), rgba(185, 199, 214, .05)); }
.donate-top1 .t1-badge { border-radius: 999px; font-family: var(--font-mono); font-size: 10px; }
.donate-top1 .t1-icon { border-radius: 12px; }
.donate-list .val { color: var(--cyan); font-family: var(--font-mono); }

/* ------------------------------------------------------------------ CASTLE SIEGE / WAR DEVIAS */
.container-castle-new {
  border-radius: 16px; border-color: var(--line-2);
  background:
    radial-gradient(60% 130% at 88% 50%, rgba(63, 208, 255, .32), transparent 65%),
    radial-gradient(40% 90% at 10% 100%, rgba(39, 227, 255, .10), transparent 70%),
    linear-gradient(110deg, #0e0e0f 30%, #262729 100%) !important;
}
.container-castle-new .text-title { font-size: 13px; border-bottom: 1px dashed var(--line-2) !important; }
.container-castle-new .text-title strong { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.guild-mark { background: rgba(7, 8, 8, .8); border-radius: 14px; }

/* ------------------------------------------------------------------ RODAPÉ */
footer.site-footer::before { height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent); opacity: .6; }
.footer-links a { font-family: var(--font-mono); letter-spacing: .14em; }
.footer-links a:hover { color: var(--cyan); }

/* ====================================================================
   EVENTOS — CARDS QUADRADOS  (.ai-grid > .ai-card)
   Usado em EVENTOS PVP (eventos.phtml) e EVENTO MU UFC (mufc.phtml)
   ==================================================================== */
.ai-grid {
  display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 14px;
  padding: 2px 0 4px;
}
.ai-card {
  --glow: var(--accent);
  position: relative; isolation: isolate; container-type: inline-size;
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px;
  background: #0f1010; border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
  animation: ai-rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms);
}
.ai-card:nth-child(3n+2) { --glow: var(--cyan); }
.ai-card:nth-child(3n)   { --glow: var(--pink); }
@keyframes ai-rise { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.ai-card:hover { transform: translateY(-5px); border-color: var(--glow); box-shadow: 0 18px 44px rgba(0, 0, 0, .6), 0 0 30px -4px var(--glow); }

/* mídia (foto do campeão / arte da classe) */
.ai-card-media { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: 1fr; background: radial-gradient(80% 70% at 50% 35%, #37393a, #0f1010); }
.ai-card.is-duo .ai-card-media { grid-template-columns: 1fr 1fr; }
.ai-cover { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .4s; filter: saturate(1.05) contrast(1.02); }
.ai-card:hover .ai-cover { transform: scale(1.08); filter: saturate(1.2) contrast(1.05); }
.ai-card.is-duo .ai-cover { border-right: 1px solid rgba(255, 255, 255, .08); }
.ai-card.is-soon .ai-cover { filter: grayscale(.85) brightness(.7); }

/* véu: gradiente + linhas de scan + brilho de cor */
.ai-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 8, 8, .55) 0%, rgba(7, 8, 8, 0) 28%, rgba(7, 8, 8, .35) 52%, rgba(7, 8, 8, .94) 100%),
    radial-gradient(90% 60% at 50% 120%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
/* feixe de scan que desce no hover */
.ai-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--glow) 35%, transparent), transparent);
}
.ai-card:hover::after { animation: ai-scan 1.6s ease-in-out infinite; }
@keyframes ai-scan { 0% { top: -40%; opacity: 0; } 15% { opacity: 1; } 100% { top: 110%; opacity: 0; } }

/* cantoneiras HUD */
.ai-corner { position: absolute; z-index: 3; width: 14px; height: 14px; pointer-events: none; border: 0 solid var(--glow); opacity: .55; transition: opacity .3s, width .3s, height .3s; }
.ai-corner.tl { top: 8px;    left: 8px;  border-top-width: 2px;    border-left-width: 2px;  border-top-left-radius: 6px; }
.ai-corner.tr { top: 8px;    right: 8px; border-top-width: 2px;    border-right-width: 2px; border-top-right-radius: 6px; }
.ai-corner.bl { bottom: 8px; left: 8px;  border-bottom-width: 2px; border-left-width: 2px;  border-bottom-left-radius: 6px; }
.ai-corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.ai-card:hover .ai-corner { opacity: 1; width: 20px; height: 20px; }

/* topo: índice + status */
.ai-card-top { position: absolute; z-index: 4; top: 12px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ai-idx, .ai-status {
  font-family: var(--font-mono); font-size: clamp(8px, 5.2cqw, 11px); font-weight: 500; letter-spacing: .08em; line-height: 1;
  padding: 5px 8px; border-radius: 999px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(11, 12, 12, .55); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ai-idx { color: var(--glow); border-color: color-mix(in srgb, var(--glow) 45%, transparent); }
.ai-status { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ai-status i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: ai-blink 1.8s ease-in-out infinite; }
.ai-card.is-soon .ai-status i { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
@keyframes ai-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* corpo (título · nick · info) */
.ai-card-body {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 0 14px 14px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.ai-card .ai-title {
  display: block; width: auto; height: auto; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; line-height: 1.35; text-align: left; border-radius: 0;
  margin: 0; max-width: 100%; font-family: var(--font-mono); font-size: clamp(9px, 5.6cqw, 12px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--glow); text-shadow: 0 0 14px color-mix(in srgb, var(--glow) 70%, transparent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ai-title::before { content: "// "; opacity: .55; }
.ai-card .ai-nick {
  padding: 0; background: none; border: 0; text-align: left;
  display: block; max-width: 100%; margin: 0; font-family: var(--font-head); font-size: clamp(15px, 10.5cqw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.12;
  color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ai-nick-duo { display: flex; align-items: baseline; gap: 5px; font-size: clamp(12px, 8cqw, 20px); }
.ai-nick-duo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ai-nick-duo em { flex: none; font-style: normal; font-weight: 500; color: var(--glow); }
.ai-info {
  display: block; max-width: 100%; margin-top: 1px; font-size: clamp(9.5px, 6cqw, 12px); font-weight: 500; line-height: 1.3; color: #cfd5dd;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* botão que sobe no hover */
.ai-cta {
  position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 10px; border-radius: 12px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: #fff !important; background: linear-gradient(135deg, var(--accent-lo), color-mix(in srgb, var(--glow) 80%, #1fb6ff));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--glow) 45%, transparent);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.ai-card:hover .ai-cta, .ai-card:focus-within .ai-cta { opacity: 1; transform: none; pointer-events: auto; }
.ai-card:hover .ai-card-body, .ai-card:focus-within .ai-card-body { transform: translateY(-44px); }
.ai-cta:hover { filter: brightness(1.12); text-shadow: none; }

/* telas de toque: sem hover → botão sempre à vista, compacto */
@media (hover: none) {
  .ai-cta { opacity: 1; transform: none; pointer-events: auto; left: auto; right: 10px; bottom: 10px; padding: 7px 10px; }
  .ai-cta span { display: none; }
  .ai-card-body { padding-right: 46px; }
  .ai-card:hover .ai-card-body { transform: none; }
}

/* cards UFC (arte de classe em maior tamanho) */
.ai-card-class .ai-cover { object-position: center 30%; }
.ai-card-class .ai-idx { color: var(--cyan); }

/* ------------------------------------------------------------------ RESPONSIVO */
@media (max-width: 900px) {
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ai-grid-ufc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html::before { height: 520px; background-size: auto 520px; background-position: 30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-card, .ai-card:hover::after, .ai-status i, .main-container h1::before, .page-title h1::before { animation: none !important; }
  .ai-card, .ai-cover, .ai-card-body, .ai-cta { transition: none !important; }
}

/* ====================================================================
   HOME "LANDING" (body.is-home) — página única, sem barra lateral
   ==================================================================== */
body.is-home .wrapper main.landing { display: block !important; margin: -10px 0 40px !important; }
body.is-home main.landing .main-container { max-width: none; }
body.is-home main.landing .main-container > *:not(:last-child) { margin-bottom: 28px; }

/* seções "livres" (sem moldura de painel) */
html .landing .main-container > div.lp-free {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html .landing .main-container > div.lp-free::before { content: none !important; }

/* --- HERO --- */
.lp-hero { text-align: center; padding: 34px 0 6px !important; }
.lp-realm {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  background: rgba(14, 14, 15, .6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lp-realm strong { color: var(--text-hi); font-weight: 600; }
.lp-realm i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.lp-realm.is-up i { background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: ai-blink 1.8s ease-in-out infinite; }
.lp-realm.is-up strong { color: var(--ok); }

html .main-container h1.lp-h1 {
  display: block; width: auto; margin: 22px 0 14px; padding: 0; min-height: 0; background: none; border: 0; border-radius: 0;
  font-family: var(--font-head); font-size: clamp(40px, 6.2vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; text-transform: none; color: #fff;
  text-shadow: 0 6px 40px rgba(63, 208, 255, .5);
}
html .main-container h1.lp-h1::before { content: none; }
.lp-h1 em, .lp-sec-head h2 em, .lp-dl-card h2 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, var(--accent-hi), var(--cyan) 55%, var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.lp-lead { max-width: 640px; margin: 0 auto 26px; font-size: 16px; line-height: 1.6; color: #b7bec9; }

.lp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.lp-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 14px; text-decoration: none;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: .01em; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s;
}
.lp-btn-primary { color: #fff !important; background: linear-gradient(135deg, #1aa6d6 0%, #2b7de0 55%, #1fb6ff 100%); box-shadow: 0 10px 34px rgba(14, 140, 190, .5), inset 0 1px 0 rgba(255, 255, 255, .28); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(14, 140, 190, .7), 0 0 30px rgba(39, 227, 255, .35); }
.lp-btn-ghost { color: #fff !important; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(39, 227, 255, .08); }
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 12px; color: var(--text) !important;
  background: rgba(14, 14, 15, .6); border: 1px solid var(--line-2);
}
.lp-pill b { padding: 2px 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #101111; background: var(--cyan); }
.lp-pill:hover { border-color: var(--cyan); }

/* --- CONTADORES --- */
.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 40px auto 0; max-width: 980px; }
.lp-stat {
  position: relative; padding: 20px 14px 16px; border-radius: 18px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(35, 36, 37, .6), rgba(14, 14, 15, .78)); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.lp-stat::after { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .8; }
.lp-stat-n { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(63, 208, 255, .6); }
.lp-stat-l { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* --- CABEÇALHO DE SEÇÃO LIVRE --- */
.lp-sec-head { text-align: center; margin-bottom: 26px; }
.lp-kicker { display: inline-block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--cyan); }
html .main-container .lp-sec-head h2, html .main-container .lp-dl-card h2 { margin: 0 0 8px; font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.lp-sec-head p, .lp-dl-card p { margin: 0; color: #a3abb7; font-size: 15px; }

/* --- SISTEMAS --- */
.lp-sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-sys {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 22px; min-height: 168px; border-radius: 20px; overflow: hidden; text-decoration: none;
  background: linear-gradient(180deg, rgba(38, 39, 40, .62), rgba(14, 14, 15, .82)); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
  animation: ai-rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.lp-sys::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%; pointer-events: none; background: radial-gradient(closest-side, rgba(63, 208, 255, .35), transparent); opacity: 0; transition: opacity .35s; }
.lp-sys:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 18px 44px rgba(0, 0, 0, .55), 0 0 30px -6px var(--accent); }
.lp-sys:hover::before { opacity: 1; }
.lp-sys-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--cyan); }
.lp-sys strong { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.lp-sys-d { font-size: 13.5px; line-height: 1.5; color: #a3abb7; max-width: 90%; }
.lp-sys-go { position: absolute; right: 20px; bottom: 18px; font-size: 20px; color: var(--accent-hi); transition: transform .3s, color .3s; }
.lp-sys:hover .lp-sys-go { transform: translateX(5px); color: var(--cyan); }

/* --- APOIADORES (reaproveita os blocos da lateral) --- */
.lp-two { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: auto; }
.lp-two > * { margin: 0 !important; width: 100% !important; max-width: none !important; }

/* --- DOWNLOAD --- */
.lp-dl-card {
  position: relative; text-align: center; padding: 54px 30px 34px; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(63, 208, 255, .38), transparent 70%),
    radial-gradient(40% 60% at 90% 100%, rgba(39, 227, 255, .16), transparent 70%),
    linear-gradient(180deg, rgba(35, 36, 37, .7), rgba(11, 12, 12, .9));
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.lp-cta-center { margin: 26px 0 28px; }
.lp-dl-card .sidebar-social { background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none; width: auto !important; display: inline-flex !important; }

/* --- LOGIN NO TOPO (Entrar / Criar conta) --- */
header .navbar .container { position: relative; }
.nav-auth { position: absolute; right: 8px; top: 0; height: 56px; display: flex; align-items: center; gap: 8px; }
.nav-btn {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #fff !important; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: all .2s;
}
.nav-btn:hover { border-color: var(--cyan); background: rgba(39, 227, 255, .1); text-shadow: none; }
.nav-btn-primary { background: linear-gradient(135deg, #1aa6d6, #3f8cff); border-color: transparent; box-shadow: 0 4px 18px rgba(14, 140, 190, .5); }
.nav-btn-primary:hover { background: linear-gradient(135deg, #3cbfe8, #5aa0ff); box-shadow: 0 6px 24px rgba(14, 140, 190, .7); }
.nav-pop { position: absolute; top: 62px; right: 0; width: 310px; z-index: 1100; box-shadow: 0 30px 70px rgba(0, 0, 0, .7); border-radius: 20px; }
.nav-pop[hidden] { display: none; }
.nav-pop .box-login { margin: 0; }

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-sys-grid, .lp-two { grid-template-columns: 1fr; }
  .lp-stat-n { font-size: 28px; }
  .nav-auth { position: static; height: 48px; flex: none; margin-left: 8px; }
  .nav-pop { position: fixed; top: 54px; right: 10px; left: 10px; width: auto; }
  header .navbar .container { flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .lp-sys, .lp-realm.is-up i { animation: none !important; } }

/* destaque em itálico dentro dos títulos (anula estilos genéricos de <em>) */
html .lp-h1 em, html .lp-sec-head h2 em, html .lp-dl-card h2 em {
  display: inline; font-size: 1em !important; line-height: inherit; letter-spacing: inherit; padding: 0 .06em 0 0; margin: 0; background-color: transparent; border: 0; text-transform: none;
}
html .main-container h1.lp-h1 { color: #fff !important; -webkit-text-fill-color: #fff; }
html .main-container h1.lp-h1 em { -webkit-text-fill-color: transparent; }

/* topo: sem caixa retangular visível atrás da logo/personagem */
.hero::before, .hero::after { display: none; }
header .header, header .header > .container, .hero { background: none !important; }


/* ---- TOPO COM KEY ART: logo Galaxy centralizada em destaque ---- */
@media (min-width: 901px) {
  header .header { height: 470px; }
  .hero { padding-left: 0; align-items: flex-end; padding-bottom: 36px; }
  .hero-logo::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 140%; height: 150%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(6, 7, 8, .72), rgba(6, 7, 8, 0));
  }
  .hero-logo img.logo { width: 430px; }
}
.hero .ray, .hero .bolt, .hero .fx-lightning, .hero .fx-flash { display: none !important; }
@media (max-width: 900px) {
  html::before { height: 460px; background-size: auto 460px; background-position: 50% 0; }
  .hero-logo::before { content: ""; position: absolute; inset: -20% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(6, 7, 8, .7), transparent); }
}

/* logo mais baixa (não cobre o rosto dos personagens) + menu translúcido sobre a arte */
@media (min-width: 901px) {
  header .header { height: 520px; }
  .hero { padding-bottom: 6px; }
  .hero-logo img.logo { width: 400px; }
}
header .navbar { background: linear-gradient(180deg, rgba(6, 7, 8, .78), rgba(6, 7, 8, .30)); box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }

/* título só para leitores de tela / SEO (não aparece na tela) */
html .main-container h1.lp-sr { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; background: none !important; }
html .main-container h1.lp-sr::before { content: none !important; }
.lp-hero .lp-realm { margin-bottom: 18px; }


/* =====================================================================
   PÁGINAS INTERNAS (body.is-inner) — mesmo visual moderno da home
   Coluna única centralizada, sem a barra lateral antiga.
   ===================================================================== */
body.is-inner .wrapper main.inner {
  display: block !important; max-width: 1120px; margin: -10px auto 56px !important; padding: 0 12px !important;
}
body.is-inner main.inner .main-container { max-width: none; min-width: 0; }
body.is-inner main.inner .main-container > *:not(:last-child) { margin-bottom: 24px; }
body.is-inner main.inner .main-container > div:not(.page-title) { padding: 22px; }
body.is-inner main.inner .main-container > div > .page-title:first-child,
body.is-inner main.inner .main-container > div > h1:first-child { margin: -22px -22px 20px; }
body.is-inner main.inner .page-body { color: var(--text); }
body.is-inner main.inner .table { --bs-table-bg: transparent; color: var(--text); }
body.is-inner main.inner .alert { border-radius: 12px; }

/* =====================================================================
   PAINEL DE LOGIN (Entrar) — bem visível: cartão sólido, rótulos claros,
   fundo escurecido atrás para destacar do key art
   ===================================================================== */
.nav-scrim { position: fixed; inset: 0; z-index: 1090; background: rgba(3, 5, 8, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.nav-scrim[hidden] { display: none; }

html .nav-pop { top: 64px; width: 350px; max-height: calc(100vh - 90px); overflow-y: auto; border-radius: 20px; box-shadow: none; }
html .nav-pop .box-login {
  position: relative; margin: 0; padding: 0 0 22px !important; overflow: hidden; color: #eaf2f8;
  background: linear-gradient(180deg, #161a20 0%, #0a0c10 100%) !important;
  border: 1px solid rgba(63, 208, 255, .55) !important; border-radius: 20px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .9), 0 0 46px -8px rgba(63, 208, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html .nav-pop .box-login::before { content: none !important; }
html .nav-pop .box-login::after { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

html .nav-pop .sidebar-title {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 18px 24px 16px;
  font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, rgba(63, 208, 255, .22), transparent 80%); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
html .nav-pop .sidebar-title::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 50%, var(--accent)); box-shadow: 0 0 14px var(--cyan);
}

/* formulário (visitante) */
html .nav-pop form.box { margin: 0; padding: 8px 24px 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
html .nav-pop form.box > br { display: none; }
html .nav-pop .box-login .input { display: block; width: auto; height: auto; margin: 0 0 16px; padding: 0; background: none !important; border: 0 !important; border-radius: 0; overflow: visible; }
html .nav-pop .box-login label.login-label, html .nav-pop .box-login .input label {
  display: block; margin: 0 0 7px; padding: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #cfeaff !important; text-shadow: none;
}
html .nav-pop .box-login .form-control {
  display: block; width: 100%; height: 46px; padding: 0 14px; font-size: 15px; color: #fff !important;
  background: #05070a !important; border: 1px solid rgba(255, 255, 255, .32) !important; border-radius: 11px; box-shadow: none;
}
html .nav-pop .box-login .form-control:focus { border-color: var(--cyan) !important; box-shadow: 0 0 0 3px rgba(39, 227, 255, .25) !important; }
html .nav-pop .box-login input:-webkit-autofill,
html .nav-pop .box-login input:-webkit-autofill:hover,
html .nav-pop .box-login input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important; caret-color: #fff; -webkit-box-shadow: 0 0 0 100px #05070a inset !important; box-shadow: 0 0 0 100px #05070a inset !important; transition: background-color 9999s;
}
html .nav-pop .box-login .action { margin: 0; padding: 0; }
html .nav-pop .box-login button[type=submit] { width: 100%; height: 48px; margin-top: 4px; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 12px; }
html .nav-pop .box-login .action > div { margin-top: 14px; text-align: center; }
html .nav-pop .box-login .action a { font-size: 13px; color: var(--accent-hi) !important; text-decoration: none; }
html .nav-pop .box-login .action a:hover { color: #fff !important; text-decoration: underline; }
html .nav-pop .box-login .divisor { margin: 16px 0 10px; text-align: center; font-size: 12px; color: var(--muted); }

/* painel logado */
html .nav-pop .box-login > .box { margin: 0; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
html .nav-pop .info-account { list-style: none; margin: 0; padding: 4px 24px 8px; }
html .nav-pop .info-account li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #cfd6df; }
html .nav-pop .info-account li span { color: #fff; font-weight: 600; }
html .nav-pop .services { display: flex; flex-direction: column; gap: 7px; margin: 8px 0 0; padding: 8px 24px; }
html .nav-pop .services .svc { position: relative; }
html .nav-pop .services a {
  display: block; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: #eaf2f8 !important; text-decoration: none;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
}
html .nav-pop .services a:hover { background: rgba(63, 208, 255, .18); border-color: var(--accent); color: #fff !important; }
html .nav-pop .services .badge { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
html .nav-pop a.logout { display: block; margin: 6px 24px 0; padding: 11px 14px; text-align: center; border-radius: 10px; font-weight: 600; color: #fff !important; text-decoration: none; background: #6b1b27; border: 1px solid rgba(255, 93, 108, .5); }
html .nav-pop a.logout:hover { background: #8a2434; }
html .nav-pop > .box-login > .box > div[style] { padding: 0 !important; }

@media (max-width: 900px) {
  html .nav-pop { position: fixed; top: 58px; left: 10px; right: 10px; width: auto; }
  body.is-inner .wrapper main.inner { padding: 0 8px !important; }
}


/* =====================================================================
   MENU DO TOPO v2 — barra própria: marca · links · acesso
   ===================================================================== */
html, body { margin: 0; }
header nav.topbar {
  position: sticky; top: 0; z-index: 1000; height: 64px; width: 100%; margin: 0;
  background: rgba(8, 10, 13, .88); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 0; border-bottom: 1px solid rgba(63, 208, 255, .28); box-shadow: 0 10px 34px rgba(0, 0, 0, .55);
}
header nav.topbar::after { opacity: .9; }
header nav.topbar .topbar-in { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 28px; width: 1180px; max-width: 100%; height: 100%; margin: 0 auto; padding: 0 12px; }
.topbar-brand { flex: none; display: flex; align-items: center; height: 100%; }
.topbar-brand img { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(63, 208, 255, .55)); }
header nav.topbar .topbar-menu { flex: 1 1 auto; display: flex; align-items: center; gap: 4px; height: 100%; margin: 0; padding: 0; list-style: none; }
header nav.topbar .topbar-menu li { display: flex; height: auto; }
header nav.topbar .topbar-menu li a {
  position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #b9c2cf;
  background: transparent; transition: color .18s, background .18s, box-shadow .18s;
}
header nav.topbar .topbar-menu li a::after { content: none; }
header nav.topbar .topbar-menu li a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
header nav.topbar .topbar-menu li a.is-active {
  color: #fff; background: linear-gradient(135deg, rgba(26, 166, 214, .35), rgba(63, 140, 255, .35));
  box-shadow: inset 0 0 0 1px rgba(63, 208, 255, .55), 0 0 18px -4px rgba(63, 208, 255, .6);
}
header nav.topbar .nav-auth { position: static; height: auto; flex: none; margin-left: auto; }
header nav.topbar .nav-pop { top: 70px; right: 12px; }
@media (max-width: 900px) {
  header nav.topbar { height: auto; }
  header nav.topbar .topbar-in { flex-wrap: wrap; gap: 6px 10px; padding: 8px 10px; }
  .topbar-brand img { height: 32px; }
  header nav.topbar .topbar-menu { order: 3; flex: 1 0 100%; height: auto; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  header nav.topbar .topbar-menu li a { height: 34px; padding: 0 12px; font-size: 12.5px; }
}

/* =====================================================================
   PAINEL — cartões dos personagens (substitui o visual quebrado)
   ===================================================================== */
.page-body .list-characters { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px !important; margin: 10px 0 22px; }
.page-body .list-characters .character {
  flex: none !important; width: auto !important; min-width: 0 !important; max-width: none !important;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px 14px; text-align: center;
  background: linear-gradient(180deg, rgba(38, 39, 40, .7), rgba(14, 14, 15, .85)); border: 1px solid var(--line-2); border-radius: 16px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.page-body .list-characters .character:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 24px -6px var(--accent); }
.page-body .list-characters .character.active { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 26px -6px var(--cyan); }
.page-body .list-characters .character p { margin: 0; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .04em; color: #fff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-body .list-characters .character img { width: 84px !important; height: 84px !important; object-fit: cover; border-radius: 50%; border: 2px solid var(--line-2); background: #05070a; }
.page-body .list-characters .character a.btn {
  width: 100%; margin: 0; padding: 8px 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff !important;
  background: linear-gradient(135deg, #1aa6d6, #2b7de0); border: 0; border-radius: 10px;
}


/* =====================================================================
   v9 — ARTE DO TOPO (anjo espelhado, sem logo central) + PÁGINAS INTERNAS MAIS LARGAS
   ===================================================================== */
html::before {
  height: 640px;
  background:
    radial-gradient(ellipse 345px 335px at 50% 300px, transparent 42%, rgba(7, 8, 8, .72) 74%, var(--bg) 100%),
    linear-gradient(180deg, rgba(6, 7, 8, .75) 0, rgba(6, 7, 8, 0) 120px),
    linear-gradient(180deg, rgba(6, 7, 8, 0) 62%, var(--bg) 99%),
    url(../images/hero-angel.jpg) center top / auto 640px no-repeat;
}
/* sem logo no meio: o topo fica só com a arte */
header .header { height: 400px; }
body.is-inner header .header { height: 330px; }
header .header .container > div:not(.hero) { bottom: 6px; }
.hero, .hero-logo { display: none !important; }
@media (max-width: 900px) {
  html::before {
    height: 460px;
    background:
      radial-gradient(ellipse 250px 240px at 50% 215px, transparent 42%, rgba(7, 8, 8, .72) 74%, var(--bg) 100%),
      linear-gradient(180deg, rgba(6, 7, 8, 0) 62%, var(--bg) 99%),
      url(../images/hero-angel.jpg) center top / auto 460px no-repeat;
  }
  header .header, body.is-inner header .header { height: 240px; }
}

/* páginas internas: coluna larga (o .wrapper é flex-column, então o main precisa de width explícita) */
@media (min-width: 901px) {
  body.is-inner .wrapper { width: min(1400px, calc(100% - 48px)) !important; min-width: 1100px; }
  body.is-inner .wrapper main.inner { width: 100%; max-width: none; padding: 0 !important; box-sizing: border-box; }
  body.is-inner header nav.topbar .topbar-in { width: 100%; }
}
body.is-inner .wrapper main.inner, body.is-inner main.inner .main-container { width: 100%; box-sizing: border-box; }
body.is-inner main.inner .main-container > div:not(.page-title) { padding: 26px 30px; }
body.is-inner main.inner .main-container > div > .page-title:first-child,
body.is-inner main.inner .main-container > div > h1:first-child { margin: -26px -30px 22px; }
body.is-inner .page-body .list-characters { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 900px) { body.is-inner main.inner .main-container > div:not(.page-title) { padding: 16px; } body.is-inner main.inner .main-container > div > .page-title:first-child, body.is-inner main.inner .main-container > div > h1:first-child { margin: -16px -16px 16px; } }


/* =====================================================================
   v10 — ARTE DO TOPO EM FAIXA LARGA (sem o "círculo"): o anjo ocupa a largura toda
   ===================================================================== */
html::before {
  height: 640px;
  background:
    linear-gradient(180deg, rgba(6, 7, 8, .78) 0, rgba(6, 7, 8, 0) 120px),
    linear-gradient(180deg, rgba(6, 7, 8, 0) 58%, var(--bg) 99%),
    url(../images/hero-angel-wide.jpg?v=5) center top / max(100%, 1955px) auto no-repeat;
}
@media (max-width: 900px) {
  html::before {
    height: 460px;
    background:
      linear-gradient(180deg, rgba(6, 7, 8, 0) 58%, var(--bg) 99%),
      url(../images/hero-angel-wide.jpg?v=5) 50% 0 / auto 460px no-repeat;
  }
}


/* =====================================================================
   v11 — PERSONAGEM MAIOR E EM DESTAQUE no topo
   ===================================================================== */
html::before {
  height: 720px;
  background:
    linear-gradient(180deg, rgba(6, 7, 8, .7) 0, rgba(6, 7, 8, 0) 100px),
    linear-gradient(180deg, rgba(6, 7, 8, 0) 62%, var(--bg) 99%),
    url(../images/hero-angel-wide.jpg?v=5) 50% -40px / auto 900px no-repeat;
}
header .header { height: 540px; }
body.is-inner header .header { height: 420px; }
@media (max-width: 900px) {
  html::before {
    height: 520px;
    background:
      linear-gradient(180deg, rgba(6, 7, 8, 0) 60%, var(--bg) 99%),
      url(../images/hero-angel-wide.jpg?v=5) 50% -10px / auto 620px no-repeat;
  }
  header .header, body.is-inner header .header { height: 330px; }
}


/* v12 — Painel de controle (logado): informações da conta em linhas organizadas */
html .nav-pop .sidebar-title { justify-content: flex-start !important; text-align: left !important; }
html .nav-pop .info-account {
  display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 8px;
  margin: 0 !important; padding: 12px 24px 6px !important; list-style: none; width: auto !important;
}
html .nav-pop .info-account > li {
  display: flex !important; flex: none !important; width: 100% !important; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px !important; margin: 0 !important; border: 1px solid rgba(255, 255, 255, .10) !important; border-radius: 10px;
  background: rgba(255, 255, 255, .04) !important; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9fb0c3 !important; white-space: nowrap;
}
html .nav-pop .info-account > li > span {
  margin-left: auto; text-align: right; white-space: nowrap; font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff !important;
  float: none !important;
}
html .nav-pop .info-account > li > .badge {
  padding: 5px 10px; border-radius: 999px; font-size: 12px; color: #04121a !important; background: linear-gradient(135deg, #7fe3ff, #3fd0ff) !important; box-shadow: 0 0 14px -2px rgba(63, 208, 255, .6);
}


/* v13 — Painel: avatar do personagem em quadrado, imagem inteira ocupando o cartão */
.page-body .list-characters { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 18px !important; }
.page-body .list-characters .character {
  position: relative; padding: 0 !important; gap: 0 !important; overflow: hidden; align-items: stretch; border-radius: 18px;
}
.page-body .list-characters .character img {
  order: 1; display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover;
  border: 0 !important; border-radius: 0 !important; background: #05070a;
}
.page-body .list-characters .character p {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 34px 14px 16px; text-align: center; font-size: 17px; text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
  background: linear-gradient(180deg, rgba(5, 7, 10, .85), transparent); pointer-events: none;
}
.page-body .list-characters .character a.btn { order: 2; width: auto; margin: 12px; padding: 10px 0; }


/* =====================================================================
   v14 — azul-escuro apagado (#203e6a) trocado por azul/ciano vivo, com mais destaque
   Vale para: botões de serviços (Informações/Avatar/...), abas, listas, títulos com linha (h3)
   ===================================================================== */
/* botões de serviços e abas */
.page-body .nav-tabs a, .page-body .list-group a, .page-body .list-group .list-group-item {
  color: #fff !important; font-weight: 600; letter-spacing: .02em; border: 1px solid rgba(63, 208, 255, .45) !important; border-radius: 10px;
  background: linear-gradient(135deg, #1aa6d6 0%, #2b7de0 60%, #1fb6ff 100%) !important;
  box-shadow: 0 6px 18px -6px rgba(14, 140, 190, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s, box-shadow .2s, filter .2s;
}
.page-body .nav-tabs a:hover, .page-body .list-group a:hover, .page-body .list-group .list-group-item:hover {
  transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 10px 26px -6px rgba(39, 227, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.page-body .nav-tabs a.active, .page-body .list-group a.active, .page-body .list-group .list-group-item.active, .list-group-item.active {
  background: linear-gradient(135deg, #3fd0ff 0%, #27a8ff 100%) !important; color: #04121a !important; border-color: #9fe4ff !important;
  box-shadow: 0 0 0 2px rgba(159, 228, 255, .35), 0 10px 26px -6px rgba(39, 227, 255, .8);
}
.page-body .list-group { background: rgba(7, 8, 8, .6); border: 1px solid rgba(63, 208, 255, .22); border-radius: 14px; }

/* títulos com linha dos lados (ex.: INFORMAÇÕES) */
.page h3, .page .h3 {
  margin: 26px 0 16px; padding: 10px 0; font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; color: #fff;
  text-shadow: 0 0 14px rgba(63, 208, 255, .9);
  background: linear-gradient(90deg, transparent, rgba(63, 208, 255, .22) 50%, transparent);
}
.page h3:before, .page .h3:before, .page h3:after, .page .h3:after {
  border-top: 2px solid transparent; height: 2px; border: 0; background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
}
.page h3:after, .page .h3:after { background: linear-gradient(270deg, transparent, var(--cyan)); }

/* checkbox/radio e títulos h2 do painel */
.form-check .form-check-input { border-color: var(--accent); }
.form-check .form-check-input:checked { background-color: var(--accent-lo); border-color: var(--cyan); }
.page-body h2.title { padding: 10px 16px; border-left: 3px solid var(--cyan); background: linear-gradient(90deg, rgba(63, 208, 255, .2), transparent 70%); border-radius: 8px; text-shadow: 0 0 12px rgba(63, 208, 255, .6); }


/* =====================================================================
   v15 — HALL DA FAMA: foto grande ocupando o topo do cartão, nome em destaque
   ===================================================================== */
.list-characters .character .card {
  display: flex !important; flex-direction: column; padding: 0 !important; overflow: hidden; border-radius: 18px !important;
  border: 1px solid rgba(63, 208, 255, .28) !important;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8), 0 0 0 0 transparent;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.list-characters .character .card:hover { transform: translateY(-6px); border-color: var(--cyan) !important; box-shadow: 0 22px 44px -12px rgba(0, 0, 0, .85), 0 0 34px -4px rgba(39, 227, 255, .55); }

/* foto: quadrada, de ponta a ponta */
.list-characters .character .card .character-avatar { order: 0; position: relative; width: 100%; margin: 0 !important; padding: 0 !important; display: block; }
.list-characters .character .card .character-avatar img {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover;
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #05070a; box-shadow: none;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.list-characters .character .card:hover .character-avatar img { transform: scale(1.06); }
.list-characters .character .card .character-avatar { overflow: hidden; }
.list-characters .character .card .character-avatar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 13, .95));
}
.list-characters .character .card .character-avatar .guild-mark { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 0; }

/* nome sobre a base da foto + selo da posição no canto */
.list-characters .character .card .card-header { order: 1; position: static !important; margin-top: -46px; padding: 0 12px 6px !important; z-index: 2; background: none !important; }
.list-characters .character .card .rank-name {
  margin: 0 !important; max-width: 100%; font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .95), 0 0 14px rgba(63, 208, 255, .35);
}
.list-characters .character .card .rank-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3; min-width: 30px; height: 30px; font-size: 15px; border-radius: 9px;
  background: rgba(8, 10, 13, .85); border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 4px 14px rgba(0, 0, 0, .6);
}
.list-characters .character .card .card-body { order: 2; padding: 4px 12px 10px !important; margin: 0 !important; }
.list-characters .character .card .card-body strong { color: var(--muted); }
.list-characters .character .card .card-footer { order: 3; padding: 0 12px 14px !important; }
.list-characters .character .card .card-footer .btn { padding: 8px 0; font-size: 11px; }

/* top 3 em destaque */
.list-characters .rank-1 .card { border-color: rgba(255, 207, 107, .75) !important; box-shadow: 0 0 0 1px rgba(255, 207, 107, .4), 0 16px 40px -12px rgba(255, 207, 107, .35); }
.list-characters .rank-1 .rank-badge { background: var(--gold); color: #2a1f05; border-color: #fff3cf; }
.list-characters .rank-1 .rank-name { color: var(--gold) !important; }
.list-characters .rank-2 .card { border-color: rgba(196, 207, 227, .6) !important; }
.list-characters .rank-2 .rank-badge { background: #c4cfe3; color: #121c33; }
.list-characters .rank-3 .card { border-color: rgba(197, 138, 90, .65) !important; }
.list-characters .rank-3 .rank-badge { background: #c58a5a; color: #1f1209; }


/* =====================================================================
   v16 — WebShop (categorias iguais em todas as telas, itens menores)
        + Hall da Fama (nome em placa própria, posição bem visível)
   ===================================================================== */
/* --- categorias do shop: mesmo visual na página da loja e na categoria --- */
.webshop-categories .list-group-heading {
  margin: 14px 0 8px; padding: 8px 12px; text-align: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); background: linear-gradient(90deg, transparent, rgba(63, 208, 255, .16), transparent); border: 0; border-top: 1px solid rgba(63, 208, 255, .35); border-bottom: 1px solid rgba(63, 208, 255, .35);
}
.webshop-categories .list-group { gap: 8px !important; padding: 0 !important; background: none !important; border: 0 !important; }
.webshop-categories .list-group a, .webshop-categories .list-group .list-group-item {
  padding: 10px 14px !important; text-align: left; font-size: 13.5px; border-radius: 10px;
  background: linear-gradient(135deg, #1aa6d6 0%, #2b7de0 60%, #1fb6ff 100%) !important; color: #fff !important; border: 1px solid rgba(63, 208, 255, .45) !important;
}
.webshop-categories .list-group a.active, .webshop-categories .list-group .list-group-item.active {
  background: linear-gradient(135deg, #7fe3ff 0%, #3fd0ff 100%) !important; color: #04121a !important; border-color: #fff !important;
  box-shadow: 0 0 0 2px rgba(159, 228, 255, .4), 0 10px 26px -6px rgba(39, 227, 255, .8);
}

/* --- itens do shop: cartões compactos --- */
.webshop-products .row { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 0 !important; }
.webshop-products .row > [class*="col"] { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.webshop-products .webshop-product .card { overflow: hidden; border-radius: 14px; }
.webshop-products .webshop-product-name { padding: 8px 10px !important; font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: center; letter-spacing: .02em; }
.webshop-products .card-body { padding: 8px 10px !important; }
.webshop-products .webshop-product-image { min-height: 96px; max-height: 120px; margin-bottom: 8px !important; }
.webshop-products .webshop-product-image img { width: auto !important; max-width: 100% !important; max-height: 110px !important; object-fit: contain; }
.webshop-products .webshop-product-price { font-size: 12px; text-align: center; }
.webshop-products .webshop-product-sold { font-size: 11px; text-align: center; }
.webshop-products .card-footer { padding: 8px 10px !important; }
.webshop-products .card-footer .btn { padding: 6px 0; font-size: 12px; }

/* --- Hall da Fama: foto limpa, nome em placa embaixo, posição bem visível --- */
.list-characters .character .card .card-header { margin-top: 0 !important; padding: 0 !important; background: none !important; }
.list-characters .character .card .character-avatar::after { height: 28%; background: linear-gradient(180deg, transparent, rgba(8, 10, 13, .55)); }
.list-characters .character .card .rank-name {
  display: block; margin: 0 !important; padding: 11px 10px 10px; font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center;
  background: linear-gradient(180deg, rgba(63, 208, 255, .18), rgba(8, 10, 13, .9)); border-top: 2px solid var(--cyan); border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-shadow: 0 0 12px currentColor;
}
.list-characters .character .card .card-body { padding: 10px 12px 8px !important; font-size: 13px; }
.list-characters .character .card .card-body strong { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fb0c3; }
.list-characters .character .card .rank-badge {
  top: 10px; left: 10px; min-width: 38px; height: 38px; padding: 0 8px; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: #04121a !important;
  background: linear-gradient(135deg, #7fe3ff, #27a8ff) !important; border: 2px solid #fff !important; border-radius: 11px; box-shadow: 0 6px 18px rgba(0, 0, 0, .7), 0 0 16px rgba(63, 208, 255, .7);
}
.list-characters .rank-1 .rank-badge { background: linear-gradient(135deg, #ffe9a6, #ffb938) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .7), 0 0 18px rgba(255, 207, 107, .85); }
.list-characters .rank-2 .rank-badge { background: linear-gradient(135deg, #ffffff, #b9c7d6) !important; }
.list-characters .rank-3 .rank-badge { background: linear-gradient(135deg, #ffd0a3, #c9824a) !important; }
.list-characters .rank-1 .rank-name { border-top-color: var(--gold); }


/* =====================================================================
   v17 — HALL DA FAMA, novo modelo: foto larga (corta a faixa de baixo), nome branco sobre a foto,
         pontuação e botão em uma linha só
   ===================================================================== */
.list-characters .character .card .character-avatar { position: relative; aspect-ratio: 1 / .76; overflow: hidden; }
.list-characters .character .card .character-avatar img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; aspect-ratio: auto; object-fit: cover; object-position: 50% 0;
}
.list-characters .character .card .character-avatar::after { content: none; }
.list-characters .character .card:hover .character-avatar img { transform: scale(1.05); }

.list-characters .character .card .card-header {
  position: relative !important; z-index: 2; display: flex; align-items: flex-end; height: 64px; margin: -64px 0 0 !important; padding: 0 14px 10px !important;
  background: linear-gradient(180deg, rgba(8, 10, 13, 0), rgba(8, 10, 13, .92)) !important; border: 0 !important;
}
.list-characters .character .card .rank-name {
  display: block; width: 100%; margin: 0 !important; padding: 0 !important; text-align: left; background: none !important; border: 0 !important;
  font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: .02em; text-transform: none;
  color: #fff !important; text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-characters .rank-1 .rank-name { color: var(--gold) !important; }

.list-characters .character .card .card-body {
  order: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px 6px !important; text-align: left !important;
  font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--cyan) !important;
}
.list-characters .character .card .card-body strong { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8b93a0 !important; }
.list-characters .character .card .card-footer { padding: 6px 14px 14px !important; }
.list-characters .character .card .card-footer .btn { padding: 9px 0; border-radius: 10px; color: #fff !important; background: linear-gradient(135deg, #1aa6d6, #2b7de0) !important; border: 0; font-size: 11px; }
.list-characters .character .card .card-footer .btn:hover { filter: brightness(1.15); }


/* =====================================================================
   v18 — mais respiro entre os blocos do template
   ===================================================================== */
/* espaço entre painéis/seções */
body.is-home main.landing .main-container > *:not(:last-child) { margin-bottom: 48px; }
body.is-inner main.inner .main-container > *:not(:last-child) { margin-bottom: 40px; }
body.is-home main.landing { margin-bottom: 64px !important; }

/* folga interna dos painéis */
.main-container > div:not(.page-title):not(.lp-free) { padding: 28px 32px; }
.main-container > div > .page-title:first-child, .main-container > div > h1:first-child { margin: -28px -32px 26px; }

/* Hall da Fama e demais grades de cartões */
.main-container .list-characters, .page-body .list-characters { gap: 24px !important; }
.main-container .ranking .ranking-button { gap: 12px; margin-bottom: 28px; }
.main-container .ranking .ranking-button li { flex: 1 1 calc(25% - 12px); }
.ranking .rankings, .rankings > div { margin-top: 8px; }
.main-container .list-characters.mb-3 { margin-bottom: 8px !important; }

/* grades da home (sistemas, estatísticas, apoiadores) */
.lp-stats { gap: 22px; }
.lp-sys-grid { gap: 24px; }
.lp-two { gap: 28px; }
.lp-sec-head { margin-bottom: 36px; }


/* =====================================================================
   v19 — Hall da Fama: nome ACIMA da foto (nada por cima da imagem), foto quadrada inteira
         WebShop: itens bem menores · mais respiro no template · sem roxo
   ===================================================================== */
/* --- Hall: ordem = nome, foto, pontuação, botão --- */
.list-characters .character .card .card-header {
  order: 0; position: static !important; display: block; height: auto; margin: 0 !important; padding: 14px 14px 12px 58px !important;
  background: linear-gradient(180deg, rgba(63, 208, 255, .14), transparent) !important; border: 0 !important; border-bottom: 1px solid rgba(63, 208, 255, .25) !important; text-align: left;
}
.list-characters .character .card .rank-name { text-align: left; font-size: 18px; text-shadow: none; }
.list-characters .character .card .character-avatar { order: 1; aspect-ratio: 1 / 1; margin: 0 !important; }
.list-characters .character .card .character-avatar img { object-position: 50% 50%; }
.list-characters .character .card .card-body { order: 2; }
.list-characters .character .card .card-footer { order: 3; }
/* selo da posição: fica ao lado do nome (não sobre a foto) */
.list-characters .character .card .rank-badge { top: 8px; left: 10px; min-width: 36px; height: 36px; font-size: 18px; }

/* --- WebShop: itens bem menores --- */
.webshop-products .row { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)) !important; gap: 12px !important; }
.webshop-products .webshop-product .card { min-height: 0 !important; height: auto !important; }
.webshop-products .webshop-product-name { padding: 6px 8px !important; font-size: 10.5px !important; }
.webshop-products .card-body { padding: 6px 8px !important; }
.webshop-products .webshop-product-image { flex: none !important; height: 78px !important; min-height: 0 !important; max-height: none !important; margin-bottom: 6px !important; }
.webshop-products .webshop-product-image img { max-height: 72px !important; max-width: 90% !important; }
.webshop-products .webshop-product-price { font-size: 11px; }
.webshop-products .webshop-product-sold { font-size: 10px; }
.webshop-products .card-footer { padding: 6px 8px !important; }
.webshop-products .card-footer .btn { padding: 5px 0; font-size: 11px; }

/* --- mais respiro --- */
body.is-home main.landing .main-container > *:not(:last-child) { margin-bottom: 72px; }
body.is-inner main.inner .main-container > *:not(:last-child) { margin-bottom: 56px; }
body.is-inner .wrapper main.inner, body.is-home .wrapper main.landing { padding-top: 24px !important; }
.main-container > div:not(.page-title):not(.lp-free) { padding: 34px 40px; }
.main-container > div > .page-title:first-child, .main-container > div > h1:first-child { margin: -34px -40px 32px; }
body.is-inner main.inner .main-container > div:not(.page-title) { padding: 34px 40px; }
body.is-inner main.inner .main-container > div > .page-title:first-child,
body.is-inner main.inner .main-container > div > h1:first-child { margin: -34px -40px 32px; }
.main-container .list-characters, .page-body .list-characters { gap: 32px !important; }
.lp-stats { gap: 28px; } .lp-sys-grid { gap: 30px; } .lp-two { gap: 36px; }
.main-container .ranking .ranking-button { gap: 14px; margin-bottom: 34px; }
.main-container .ranking .ranking-button li { flex: 1 1 calc(25% - 14px); }
@media (max-width: 900px) {
  body.is-home main.landing .main-container > *:not(:last-child), body.is-inner main.inner .main-container > *:not(:last-child) { margin-bottom: 36px; }
  .main-container > div:not(.page-title):not(.lp-free), body.is-inner main.inner .main-container > div:not(.page-title) { padding: 20px 16px; }
  .main-container > div > .page-title:first-child, .main-container > div > h1:first-child,
  body.is-inner main.inner .main-container > div > .page-title:first-child, body.is-inner main.inner .main-container > div > h1:first-child { margin: -20px -16px 20px; }
}


/* =====================================================================
   v20 — Painel de controle (logado): impede que "Minha Conta / Compras /
   Suporte..." fiquem por cima das moedas (Vencimento, Donate, Golds...).
   A lista de informações passa a ter altura automática e os botões vêm
   sempre DEPOIS dela no fluxo, sem sobreposição.
   ===================================================================== */
html .nav-pop .box-login > .box {
  display: block !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important;
}
html .nav-pop .info-account {
  position: relative !important; height: auto !important; min-height: 0 !important; max-height: none !important;
  overflow: visible !important; flex: 0 0 auto !important; box-sizing: border-box;
}
html .nav-pop .info-account > li {
  position: relative !important; top: auto !important; bottom: auto !important; transform: none !important;
  height: auto !important; min-height: 0 !important; flex: 0 0 auto !important; box-sizing: border-box; line-height: 1.25;
}
html .nav-pop .services {
  position: relative !important; clear: both; display: flex !important; flex-direction: column !important; flex: 0 0 auto !important;
  height: auto !important; margin: 6px 0 0 !important; padding: 8px 24px !important; top: auto !important; transform: none !important;
}
html .nav-pop .services .svc { position: relative !important; flex: 0 0 auto; height: auto !important; margin: 0 !important; }
html .nav-pop .services .svc > a {
  position: relative !important; display: block !important; top: auto !important; margin: 0 !important; box-sizing: border-box;
}
html .nav-pop a.logout { position: relative !important; clear: both; }


/* =====================================================================
   v21 — PAINEL DE CONTROLE compacto + ITENS DO PACOTE (shop) bem menores
   ===================================================================== */

/* --- Painel de controle: mais estreito e com linhas mais baixas --- */
@media (min-width: 901px) {
  html .nav-pop { width: 290px !important; }
}
html .nav-pop .sidebar-title { padding: 12px 18px 10px !important; margin: 0 0 4px !important; font-size: 13px !important; gap: 9px !important; }
html .nav-pop .sidebar-title::before { width: 7px !important; height: 7px !important; }
html .nav-pop .box-login { padding-bottom: 12px !important; border-radius: 16px !important; }
html .nav-pop .info-account { gap: 4px !important; padding: 6px 16px 2px !important; }
html .nav-pop .info-account > li {
  padding: 6px 10px !important; gap: 8px !important; border-radius: 8px !important; font-size: 9.5px !important; letter-spacing: .06em !important;
}
html .nav-pop .info-account > li > span { font-size: 12px !important; }
html .nav-pop .info-account > li > .badge { padding: 3px 8px !important; font-size: 10.5px !important; }
html .nav-pop .services { gap: 4px !important; margin: 4px 0 0 !important; padding: 6px 16px !important; }
html .nav-pop .services .svc > a { padding: 7px 11px !important; font-size: 12px !important; border-radius: 8px !important; }
html .nav-pop a.logout { margin: 4px 16px 0 !important; padding: 8px 12px !important; font-size: 12px !important; border-radius: 8px !important; }

/* --- Itens do pacote: cartões pequenos, imagem com tamanho fixo --- */
.credit-shop-items {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)) !important; gap: 8px !important;
  margin: 0 0 12px !important; padding: 0 !important;
}
.credit-shop-items .item {
  position: relative; display: flex !important; flex-direction: column; align-items: stretch; width: auto !important; max-width: none !important; height: auto !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
}
.credit-shop-items .item:hover { border-color: var(--accent); }
.credit-shop-items .item .name {
  order: 2; padding: 5px 6px !important; margin: 0 !important; font-size: 10px !important; font-weight: 600; line-height: 1.25; text-align: center; color: #fff;
  white-space: normal !important; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: ellipsis;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.credit-shop-items .item .name .quantity { color: var(--cyan); font-weight: 700; margin-right: 3px; }
.credit-shop-items .item .image {
  order: 1; flex: none !important; display: flex; align-items: center; justify-content: center; height: 64px !important; min-height: 0 !important; margin: 0 !important; padding: 6px !important;
}
.credit-shop-items .item .image img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 52px !important; object-fit: contain; }


/* =====================================================================
   v22 — Painel > personagens: botão "Gerenciar" com a mesma margem dos
   dois lados (o .w-100 do Bootstrap + margem estourava pela direita)
   ===================================================================== */
.page-body .list-characters .character a.btn,
.page-body .list-characters .character a.btn.w-100 {
  box-sizing: border-box !important; align-self: center !important;
  width: calc(100% - 24px) !important; max-width: calc(100% - 24px) !important;
  margin: 12px !important;
}


/* =====================================================================
   v23 — ITENS DO KIT/PACOTE (qualquer marcação: row.items, kit-grid,
         credit-shop-items) bem pequenos  +  SITE MAIS ESPAÇADO
   ===================================================================== */

/* --- 1) Itens do kit/pacote: grade de cartões pequenos --- */
html .row.items,
html .kit-grid,
html .credit-shop-items {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)) !important; gap: 8px !important;
  margin: 0 0 14px !important; padding: 0 !important; width: 100% !important;
}
html .row.items > .item,
html .row.items > [class*="col"],
html .kit-grid > .kit-item,
html .credit-shop-items > .item {
  display: flex !important; flex-direction: column !important; width: auto !important; max-width: none !important; min-width: 0 !important;
  height: auto !important; min-height: 0 !important; max-height: none !important; flex: none !important; margin: 0 !important; padding: 0 !important; float: none !important;
}
/* o cartão em si */
html .row.items .card,
html .kit-grid .kit-item,
html .credit-shop-items .item {
  display: flex !important; flex-direction: column !important; width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important;
  margin: 0 !important; overflow: hidden; border-radius: 10px !important;
}
/* nome: no máximo 2 linhas, letra pequena */
html .row.items .card-header,
html .row.items .name,
html .kit-grid .kit-item-name,
html .credit-shop-items .name {
  height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 5px 6px !important;
  font-size: 10px !important; font-weight: 600 !important; line-height: 1.25 !important; letter-spacing: 0 !important; text-align: center !important; text-transform: none !important;
  white-space: normal !important; overflow: hidden !important; overflow-wrap: anywhere;
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis;
}
/* corpo + imagem com altura fixa pequena */
html .row.items .card-body { flex: none !important; display: block !important; padding: 4px 6px 6px !important; }
html .row.items .image,
html .row.items .card-body > div,
html .kit-grid .kit-item-img,
html .credit-shop-items .image {
  display: flex !important; align-items: center; justify-content: center; position: relative;
  width: 100% !important; height: 60px !important; min-height: 0 !important; max-height: 60px !important; margin: 0 !important; padding: 2px !important; overflow: hidden; box-sizing: border-box;
}
html .row.items img,
html .kit-grid img,
html .credit-shop-items img {
  width: auto !important; height: auto !important; max-width: 100% !important; max-height: 50px !important; object-fit: contain !important; margin: 0 auto;
}

/* --- 2) Site mais espaçado (home e páginas internas) --- */
body.is-home main.landing .main-container > *:not(:last-child) { margin-bottom: 110px !important; }
body.is-inner main.inner .main-container > *:not(:last-child) { margin-bottom: 72px !important; }
body.is-home .wrapper main.landing { padding-top: 56px !important; }
body.is-inner .wrapper main.inner { padding-top: 44px !important; }
.lp-hero { padding: 56px 0 24px !important; }
.lp-hero .lp-realm { margin-bottom: 28px !important; }
.lp-sec-head { margin-bottom: 52px !important; }
.lp-stats { gap: 36px !important; }
.lp-sys-grid { gap: 36px !important; }
.lp-two { gap: 48px !important; }
.lp-cta { gap: 18px !important; margin-top: 36px !important; }
.lp-dl-card { padding: 48px 40px !important; }
.lp-stat, .lp-sys { padding: 28px 24px !important; }
.main-container > div:not(.page-title):not(.lp-free),
body.is-inner main.inner .main-container > div:not(.page-title) { padding: 44px 52px !important; }
.main-container > div > .page-title:first-child, .main-container > div > h1:first-child,
body.is-inner main.inner .main-container > div > .page-title:first-child,
body.is-inner main.inner .main-container > div > h1:first-child { margin: -44px -52px 40px !important; }
.site-footer { margin-top: 96px !important; }
@media (max-width: 900px) {
  body.is-home main.landing .main-container > *:not(:last-child), body.is-inner main.inner .main-container > *:not(:last-child) { margin-bottom: 56px !important; }
  .main-container > div:not(.page-title):not(.lp-free), body.is-inner main.inner .main-container > div:not(.page-title) { padding: 24px 18px !important; }
  .main-container > div > .page-title:first-child, .main-container > div > h1:first-child,
  body.is-inner main.inner .main-container > div > .page-title:first-child, body.is-inner main.inner .main-container > div > h1:first-child { margin: -24px -18px 24px !important; }
  .lp-two, .lp-sys-grid, .lp-stats { gap: 22px !important; }
}

/* ===== EVENTOS: legibilidade (Rei PVP e qualquer card sobre arte clara) ===== */
.ai-card:nth-child(3n) { --glow: var(--accent); }               /* o 3º card usava cinza claro e sumia sobre a imagem */
.ai-card-body::before {                                          /* base escura atrás do texto */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: -34px; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 8, 0), rgba(7, 8, 8, .82) 55%, rgba(7, 8, 8, .95));
}
.ai-card .ai-title { color: var(--accent-hi, #9fe4ff); text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 12px rgba(0, 0, 0, .85); }
.ai-card .ai-nick  { text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 2px 14px rgba(0, 0, 0, .85); }
.ai-card .ai-info  { color: #e3e8ef; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }


/* --- HERO moderno: texto digitando + botões grandes --- */
.lp-type {
  position: relative; max-width: 980px; min-height: 2.6em; margin: 6px auto 0; padding: 0 16px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: clamp(20px, 3vw, 34px); font-weight: 600; line-height: 1.3; letter-spacing: .02em;
  color: #fff; text-shadow: 0 0 28px rgba(39, 227, 255, .45), 0 4px 18px rgba(0, 0, 0, .7);
}
.lp-type-txt {
  background: linear-gradient(100deg, #fff 0%, var(--cyan) 60%, var(--accent-hi, #9fe4ff) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.lp-type-caret { display: inline-block; width: 3px; height: 1em; margin-left: 6px; vertical-align: -.12em; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: lp-caret 1s steps(1) infinite; }
@keyframes lp-caret { 50% { opacity: 0; } }
.lp-btn-xl { padding: 22px 54px !important; font-size: 20px !important; border-radius: 18px !important; min-width: 230px; justify-content: center; letter-spacing: .02em; }
.lp-btn-xl.lp-btn-primary { box-shadow: 0 14px 48px rgba(14, 140, 190, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
@media (max-width: 600px) { .lp-btn-xl { width: 100%; padding: 18px 28px !important; font-size: 18px !important; } }

/* --- MENU DO TOPO: maior e mais moderno (desktop) --- */
@media (min-width: 901px) {
  header nav.topbar { height: 88px; background: linear-gradient(180deg, rgba(6, 8, 12, .94), rgba(8, 10, 14, .78)); border-bottom: 1px solid rgba(63, 208, 255, .35); box-shadow: 0 14px 44px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .05) inset; }
  header nav.topbar .topbar-in { width: 1360px; gap: 36px; padding: 0 24px; }
  .topbar-brand img { height: 60px; filter: drop-shadow(0 0 14px rgba(63, 208, 255, .7)); transition: transform .25s; }
  .topbar-brand:hover img { transform: scale(1.06); }
  header nav.topbar .topbar-menu { gap: 6px; }
  header nav.topbar .topbar-menu li a {
    height: 52px; padding: 0 22px; border-radius: 16px; font-size: 18px; font-weight: 700; letter-spacing: .02em; color: #c9d2de;
  }
  header nav.topbar .topbar-menu li a::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 7px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 12px var(--cyan);
    transform: scaleX(0); transform-origin: center; transition: transform .25s;
  }
  header nav.topbar .topbar-menu li a:hover { color: #fff; background: rgba(63, 208, 255, .1); transform: translateY(-1px); }
  header nav.topbar .topbar-menu li a:hover::after { transform: scaleX(1); }
  header nav.topbar .topbar-menu li a.is-active { box-shadow: inset 0 0 0 1px rgba(63, 208, 255, .65), 0 0 26px -4px rgba(63, 208, 255, .75); }
  header nav.topbar .topbar-menu li a.is-active::after { content: none; }
  header nav.topbar .nav-btn { padding: 16px 34px; font-size: 15px; font-weight: 700; letter-spacing: .14em; }
  header nav.topbar .nav-btn-primary { box-shadow: 0 8px 28px rgba(14, 140, 190, .65), inset 0 1px 0 rgba(255, 255, 255, .3); }
  header nav.topbar .nav-pop { top: 96px; right: 24px; }
}

/* --- BOTÕES DO HERO: os dois iguais (azul) --- */
.lp-cta .lp-btn-xl, .lp-cta .lp-btn-xl:hover, .lp-cta .lp-btn-xl:focus, .lp-cta .lp-btn-xl:active, .lp-cta .lp-btn-xl:visited {
  color: #fff !important; font-family: var(--font-head) !important; border: 0 !important;
  background: linear-gradient(135deg, #1aa6d6 0%, #2b7de0 55%, #1fb6ff 100%) !important;
  box-shadow: 0 14px 48px rgba(14, 140, 190, .6), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
}
.lp-cta .lp-btn-xl:hover { transform: translateY(-3px); box-shadow: 0 18px 56px rgba(14, 140, 190, .8), 0 0 34px rgba(39, 227, 255, .45) !important; }

/* --- NOTÍCIAS (antes "Ecos do continente") --- */
#ecos .news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid rgba(63, 208, 255, .25); position: relative; }
#ecos .news-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: 0 0 12px var(--cyan); }
#ecos .news-kicker { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
html .main-container #ecos .news-title h2 { margin: 0; padding: 0; border: 0; background: none; font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: #fff; text-shadow: 0 4px 30px rgba(63, 208, 255, .45); }
#ecos .news-more { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 14px; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff !important; text-decoration: none; background: rgba(63, 208, 255, .1); border: 1px solid rgba(63, 208, 255, .45); transition: all .2s; }
#ecos .news-more:hover { background: linear-gradient(135deg, #1aa6d6, #2b7de0); border-color: transparent; box-shadow: 0 8px 26px rgba(14, 140, 190, .6); transform: translateX(3px); }

#ecos .posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#ecos .posts > .nav-tabs, #ecos .posts > .tab-content { grid-column: 1 / -1; }
#ecos .posts-post {
  position: relative; display: flex; flex-direction: column; gap: 0; padding: 0 !important; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09) !important; border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 26, 36, .85), rgba(10, 12, 16, .9)); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
#ecos .posts-post::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--cyan), var(--accent)); box-shadow: 0 0 16px var(--cyan); }
#ecos .posts-post:hover { transform: translateY(-5px); border-color: rgba(63, 208, 255, .55) !important; box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 36px -8px rgba(63, 208, 255, .55); background: linear-gradient(160deg, rgba(24, 34, 48, .92), rgba(10, 12, 16, .92)); }
#ecos .posts-image { width: 100%; margin: 0; max-height: 190px; overflow: hidden; }
#ecos .posts-image img { width: 100%; height: 190px; object-fit: cover; transition: transform .4s; }
#ecos .posts-post:hover .posts-image img { transform: scale(1.06); }
#ecos .posts-post-container { padding: 24px 26px 24px 30px; display: flex; flex-direction: column; gap: 14px; }
#ecos .posts-title { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px; justify-content: flex-start; }
#ecos .posts-title > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#ecos .posts-title > div > *:not(a) { font-family: var(--font-mono); font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px !important; border-radius: 999px !important; line-height: 1; }
#ecos .posts-title > div > a { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.25; color: #fff !important; text-decoration: none; flex: 1 1 100%; }
#ecos .posts-post:hover .posts-title > div > a { color: var(--cyan) !important; }
#ecos .posts-created { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: #8f9bb0; }
#ecos .posts-created::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
#ecos .posts-body { margin: 0; font-size: 15px; line-height: 1.6; color: #b7bec9; }
@media (max-width: 900px) { #ecos .posts { grid-template-columns: 1fr; } #ecos .news-more { padding: 10px 18px; } }

/* --- NOTÍCIAS compactas: lista fina, sem caixas --- */
#ecos .news-head { margin-bottom: 8px; padding-bottom: 14px; }
html .main-container #ecos .news-title h2 { font-size: clamp(24px, 3vw, 32px); }
#ecos .news-more { padding: 8px 18px; font-size: 14px; border-radius: 12px; }
#ecos .posts, #ecos .posts .tab-content, #ecos .posts-post-container { display: block !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
#ecos .posts { display: flex !important; flex-direction: column; gap: 0; }
#ecos .posts-post {
  display: block; padding: 0 !important; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .07) !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; overflow: visible; transform: none !important;
}
#ecos .posts-post::before { content: none; }
#ecos .posts-post:hover { background: linear-gradient(90deg, rgba(63, 208, 255, .08), transparent) !important; border-bottom-color: rgba(63, 208, 255, .35) !important; transform: none !important; box-shadow: none !important; }
#ecos .posts-image { display: none; }
#ecos .posts-title { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 6px !important; background: none !important; }
#ecos .posts-title > div { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; min-width: 0; background: none !important; padding: 0 !important; }
#ecos .posts-title > div > *:not(a) { flex: none; font-size: 11px !important; padding: 5px 11px !important; }
#ecos .posts-title > div > a { flex: 0 1 auto; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none !important; padding: 0 !important; }
#ecos .posts-created { flex: none; font-size: 12px; background: none !important; padding: 0 !important; }
#ecos .posts-body { display: none; }
@media (max-width: 900px) { #ecos .posts-title { flex-wrap: wrap; gap: 6px; } #ecos .posts-title > div > a { white-space: normal; } }

/* --- Rodapé "Entre no Galaxy": botões iguais + redes sociais embaixo --- */
.lp-dl-card .lp-btn-xl, .lp-dl-card .lp-btn-xl:hover { color: #fff !important; border: 0 !important; background: linear-gradient(135deg, #1aa6d6 0%, #2b7de0 55%, #1fb6ff 100%) !important; box-shadow: 0 14px 48px rgba(14, 140, 190, .6), inset 0 1px 0 rgba(255, 255, 255, .3) !important; }
.lp-dl-card .lp-btn-xl:hover { transform: translateY(-3px); box-shadow: 0 18px 56px rgba(14, 140, 190, .8), 0 0 34px rgba(39, 227, 255, .45) !important; }
.lp-social-row { display: flex !important; justify-content: center; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-social-row .sidebar-social { display: flex !important; visibility: visible !important; opacity: 1 !important; gap: 18px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; width: auto !important; }
.lp-social-row .sidebar-social a { transition: transform .2s, filter .2s; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.lp-social-row .sidebar-social a:hover { transform: translateY(-4px) scale(1.1); filter: drop-shadow(0 10px 22px rgba(39, 227, 255, .5)); }
.lp-social-row .sidebar-social svg { width: 46px !important; height: 46px !important; }
.lp-social-row .sidebar-social a { flex: 0 0 46px !important; width: 46px !important; height: 46px !important; }

/* --- Redes sociais logo abaixo dos cartões de status, centralizadas --- */
.lp-social-row.lp-social-hero { display: flex !important; justify-content: center; align-items: center; width: 100%; max-width: 980px; margin: 30px auto 0 !important; padding: 0 !important; border-top: 0 !important; }
.lp-social-row.lp-social-hero .sidebar-social { margin: 0 auto !important; justify-content: center !important; }

/* --- Efeito ao clicar em qualquer botão (ondinha + "apertar") --- */
.fx-click-host { position: relative; overflow: hidden; }
.fx-ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); opacity: .55; background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, rgba(63, 208, 255, .55) 45%, rgba(63, 208, 255, 0) 70%); animation: fx-ripple .65s ease-out forwards; z-index: 5; }
@keyframes fx-ripple { to { transform: scale(1); opacity: 0; } }
.fx-pressed { transform: scale(.94) !important; filter: brightness(1.15); transition: transform .12s ease, filter .12s ease !important; }
@media (prefers-reduced-motion: reduce) { .fx-ripple { animation-duration: .01s; } .fx-pressed { transform: none !important; } }

/* --- Frase do topo: mesmo estilo/cores da linha de infos, digitando em sequência --- */
.lp-hero .lp-type { min-height: 1.4em; }
.lp-hero .lp-type-head { margin-top: 10px; margin-bottom: 4px; }

/* --- Anel de gota ao clicar --- */
.fx-drop-ring { position: fixed; z-index: 99999; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none; border: 2px solid rgba(120, 225, 255, .95); box-shadow: 0 0 14px rgba(39, 227, 255, .8), inset 0 0 8px rgba(39, 227, 255, .5); transform: scale(.3); opacity: .95; animation: fx-drop-ring .7s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes fx-drop-ring { to { transform: scale(5.5); opacity: 0; border-width: 1px; } }
@media (prefers-reduced-motion: reduce) { .fx-drop-ring { display: none; } }

/* --- NOTÍCIAS: seletor de categorias grande, visível e moderno --- */
#ecos .posts > .nav-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 6px 0 22px !important; padding: 10px;
  border: 1px solid rgba(63, 208, 255, .22) !important; border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 28, 40, .85), rgba(8, 11, 16, .85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 34px rgba(0, 0, 0, .45);
}
#ecos .posts > .nav-tabs .nav-item { flex: 1 1 auto; margin: 0; }
#ecos .posts > .nav-tabs .nav-link {
  position: relative; width: 100%; margin: 0; overflow: hidden;
  padding: 16px 26px; min-height: 54px;
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: #9fb0c8; background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px;
  transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
#ecos .posts > .nav-tabs .nav-link::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scaleX(0); transition: transform .25s;
}
#ecos .posts > .nav-tabs .nav-link:hover {
  color: #fff; background: rgba(63, 208, 255, .1); border-color: rgba(63, 208, 255, .5); transform: translateY(-2px);
}
#ecos .posts > .nav-tabs .nav-link:hover::after { transform: scaleX(.5); }
#ecos .posts > .nav-tabs .nav-link.active {
  color: #04121a; background: linear-gradient(135deg, var(--accent-hi), var(--cyan) 55%, var(--accent));
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 1px rgba(63, 208, 255, .4), 0 8px 26px -4px rgba(39, 227, 255, .65);
}
#ecos .posts > .nav-tabs .nav-link.active::after { transform: scaleX(0); }
@media (max-width: 900px) {
  #ecos .posts > .nav-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 8px; border-radius: 16px; }
  #ecos .posts > .nav-tabs::-webkit-scrollbar { display: none; }
  #ecos .posts > .nav-tabs .nav-item { flex: 0 0 auto; }
  #ecos .posts > .nav-tabs .nav-link { padding: 14px 20px; font-size: 14px; min-height: 48px; }
}

/* --- Topo no CELULAR: mesma paisagem escura do computador (versão vertical com os castelos aparecendo) --- */
@media (max-width: 900px) {
  html::before {
    height: min(102.5vw, 560px);
    background:
      linear-gradient(180deg, rgba(6, 7, 8, .55) 0, rgba(6, 7, 8, 0) 70px),
      linear-gradient(180deg, rgba(6, 7, 8, 0) 66%, var(--bg) 99%),
      url(../images/hero-angel-mobile.jpg?v=1) center top / contain no-repeat;
  }
}

/* --- NOTÍCIAS no CELULAR: abas em grade (nomes inteiros) e títulos sem corte --- */
#ecos .posts-empty { padding: 22px 6px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: #8f9bb0; }
@media (max-width: 900px) {
  #ecos .posts > .nav-tabs { display: grid !important; grid-template-columns: 1fr 1fr; flex-wrap: wrap; overflow: visible; gap: 8px; padding: 8px; }
  #ecos .posts > .nav-tabs .nav-item { flex: none; min-width: 0; }
  #ecos .posts > .nav-tabs .nav-link { white-space: normal; text-align: center; line-height: 1.2; padding: 12px 8px; min-height: 48px; font-size: 13px; letter-spacing: .05em; display: flex; align-items: center; justify-content: center; }
  #ecos .posts-title { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; padding: 14px 4px !important; }
  #ecos .posts-title > div { flex-wrap: wrap !important; width: 100%; gap: 8px 10px; }
  #ecos .posts-title > div > a { flex: 1 1 100% !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font-size: 16px; line-height: 1.3; }
}

/* nomes sem corte: selo e título quebram linha em vez de sumir */
#ecos .posts-title > div > *:not(a) { white-space: normal; max-width: 100%; line-height: 1.25; }
#ecos .posts-post, #ecos .posts-post-container, #ecos .posts-title, #ecos .posts-title > div { overflow: visible !important; }
#ecos .posts-title > div > a { overflow-wrap: anywhere; }
@media (max-width: 900px) { #ecos .posts-title > div > a { text-overflow: clip !important; overflow: visible !important; white-space: normal !important; } }

/* ============================================================
   NOTÍCIAS – CELULAR (v37)
   - cada aba mostra só o painel ativo (nunca todos juntos)
   - títulos e "Notícias" inteiros, sem corte
   O layout do celular usa viewport 1200, então além de max-width
   também vale para telas de toque (hover:none + pointer:coarse).
   ============================================================ */
#ecos .posts .tab-content > .tab-pane:not(.active) { display: none !important; }
#ecos .posts .tab-content > .tab-pane.active { display: block !important; opacity: 1 !important; }

#ecos .news-head, #ecos .news-title { min-width: 0; }
#ecos .news-title h2 { overflow: visible; white-space: normal; line-height: 1.1; }
#ecos .news-kicker { white-space: normal; }

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  #ecos { padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; overflow: visible; }
  #ecos .news-head { padding-left: 2px; padding-right: 2px; flex-wrap: wrap; }
  #ecos .news-kicker { font-size: 11px; letter-spacing: .2em; }
  #ecos .posts > .nav-tabs { display: grid !important; grid-template-columns: 1fr 1fr; flex-wrap: wrap; overflow: visible; gap: 8px; padding: 8px; }
  #ecos .posts > .nav-tabs .nav-item { flex: none; min-width: 0; }
  #ecos .posts > .nav-tabs .nav-link { white-space: normal; text-align: center; line-height: 1.2; padding: 12px 8px; min-height: 48px; font-size: 13px; letter-spacing: .05em; display: flex; align-items: center; justify-content: center; }
  #ecos .posts-title { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; padding: 14px 4px !important; }
  #ecos .posts-title > div { flex-wrap: wrap !important; width: 100%; gap: 8px 10px; min-width: 0; }
  #ecos .posts-title > div > a { flex: 1 1 100% !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
  #ecos .posts-created { white-space: normal; }
}

/* ============================================================
   NOTÍCIA ABERTA (página da notícia) – texto maior + fundo destacado (v38)
   ============================================================ */
.single-post { max-width: none; width: 100%; margin: 0; }
.single-post-cover { margin-bottom: 18px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(63, 208, 255, .35); box-shadow: 0 14px 40px rgba(0, 0, 0, .55); }
.single-post-cover img { width: 100%; height: auto; display: block; }
.single-post-body {
  position: relative;
  padding: 34px 38px 34px 44px;
  border-radius: 18px;
  border: 1px solid rgba(63, 208, 255, .38);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(63, 208, 255, .16), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(139, 92, 246, .14), transparent 60%),
    linear-gradient(160deg, #162235 0%, #0d1522 55%, #0a0f18 100%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 40px -10px rgba(63, 208, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #e8eef8;
  font-size: 19px !important;
  line-height: 1.6;
}
.single-post-body::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px; border-radius: 0 6px 6px 0; background: linear-gradient(180deg, var(--accent-hi), var(--cyan), var(--accent-lo)); box-shadow: 0 0 18px var(--cyan); }
.single-post-body *:not(img):not(svg) { font-size: inherit !important; }
.single-post-body strong, .single-post-body b { font-weight: 700; }
.single-post-body h1, .single-post-body h2, .single-post-body h3, .single-post-body h4 { font-size: 1.3em !important; font-weight: 800; margin: 22px 0 10px; text-shadow: 0 2px 18px rgba(63, 208, 255, .4); }
.single-post-body a { text-decoration: underline; }
.single-post-body hr { border: 0; height: 1px; margin: 22px 0; background: linear-gradient(90deg, transparent, rgba(63, 208, 255, .6), transparent); opacity: 1; }
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .single-post-body { padding: 24px 20px 24px 26px; font-size: 21px !important; }
}
