/* Tema GB-OTS — roxo + dourado sobre quase preto.
   Spec: docs/superpowers/specs/2026-10-08-site-tema-gbot-design.md */

@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* O tools/fonts/fontawesome/all.css aponta para ../webfonts/, que nao existe (os
   arquivos estao ao lado dele). Redeclara so as familias que o tema usa. */
@font-face { font-family: "Font Awesome 6 Pro"; font-style: normal; font-weight: 900; font-display: block; src: url("../../../tools/fonts/fontawesome/fa-solid-900.woff2") format("woff2"); }
@font-face { font-family: "Font Awesome 6 Pro"; font-style: normal; font-weight: 400; font-display: block; src: url("../../../tools/fonts/fontawesome/fa-regular-400.woff2") format("woff2"); }
@font-face { font-family: "Font Awesome 6 Brands"; font-style: normal; font-weight: 400; font-display: block; src: url("../../../tools/fonts/fontawesome/fa-brands-400.woff2") format("woff2"); }

:root {
    --bg: #0b0810;
    --panel: rgba(21, 16, 29, .92);
    --panel-solid: #15101d;
    --panel-2: #1b1424;
    --line: rgba(216, 178, 90, .28);
    --line-strong: rgba(216, 178, 90, .55);
    --purple-1: #3a1d5c;
    --purple-2: #5b2a86;
    --purple-3: #7b3fb3;
    --glow: #a66bff;
    --gold-1: #b88a35;
    --gold-2: #d8b25a;
    --gold-3: #f0d48a;
    --text: #e7dcc8;
    --muted: #a99db5;
    --ok: #5ee08a;
    --bad: #ff6b6b;
    --radius: 6px;
    --serif: "Cinzel", "Times New Roman", serif;
    --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 14px/1.6 var(--sans);
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: var(--gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-3); }
img { max-width: 100%; }

/* ---------- fundo em camadas ---------- */
#gb-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gb-bg-img {
    position: absolute; inset: -6% 0 -6% 0;
    background: #0b0810 var(--bg-img) center top / cover no-repeat;
    will-change: transform;
}
.gb-bg-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    opacity: 0; transition: opacity 1.2s ease;
}
.gb-bg-video.is-on { opacity: 1; }
.gb-bg-fog {
    position: absolute; left: -20%; right: -20%; bottom: -5%; height: 45%;
    background: radial-gradient(ellipse at 30% 80%, rgba(120, 90, 160, .22), transparent 60%),
                radial-gradient(ellipse at 75% 90%, rgba(90, 70, 130, .20), transparent 55%);
    filter: blur(8px);
    animation: gb-fog 38s ease-in-out infinite alternate;
}
.gb-bg-vignette {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, transparent 0, rgba(11, 8, 16, .55) 26%, rgba(11, 8, 16, .72) 50%, rgba(11, 8, 16, .55) 74%, transparent 100%),
        linear-gradient(180deg, transparent 0, transparent 55%, rgba(11, 8, 16, .9) 100%);
}
#gb-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
body::after {
    content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(circle at var(--fx-x, 30%) var(--fx-y, 20%), rgba(166, 107, 255, .35), transparent 55%);
    opacity: 0; transition: opacity .6s ease;
}
body.gb-flash::after { opacity: 1; transition: opacity .08s ease; }

/* ---------- moldura ---------- */
/* largura: no minimo 1110px; em telas grandes cresce ate ~61% da tela, para nao cobrir o dragao
   (esquerda) e o guerreiro (direita, 81-91% da largura do bg.jpg) */
#gbot-shell { position: relative; z-index: 3; max-width: max(1110px, 61vw); margin: 0 auto; padding: 0 16px 24px; }
#gbot-shell.gb-shake { animation: gb-shake .45s ease; }
#gb-header { display: flex; justify-content: center; padding: 14px 0 6px; }
.gb-logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
/* nome do servidor sob o brasao, sobrepondo a ponta das espadas */
.gb-logo-nome {
    position: relative; z-index: 1; margin-top: -38px;
    font: 900 clamp(46px, 4.4vw, 78px)/1 var(--serif); letter-spacing: .06em;
    background: linear-gradient(180deg, #fff3cf, var(--gold-2) 55%, var(--gold-1));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 3px #000) drop-shadow(0 0 18px rgba(216, 178, 90, .4));
}
.gb-logo img {
    display: block; width: 230px; height: auto;
    filter: drop-shadow(0 0 18px rgba(166, 107, 255, .45)) drop-shadow(0 6px 14px rgba(0, 0, 0, .8));
    animation: gb-logo-glow 5s ease-in-out infinite;
}
#gb-grid { display: grid; grid-template-columns: clamp(230px, 12vw, 280px) minmax(0, 1fr) clamp(230px, 12vw, 280px); gap: 16px; align-items: start; }
.gb-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* ---------- painel ---------- */
.gb-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 22, 42, .94), var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(240, 212, 138, .08);
    padding: 14px;
}
.gb-panel::before {
    content: ""; position: absolute; inset: 3px; border: 1px solid rgba(216, 178, 90, .08);
    border-radius: calc(var(--radius) - 2px); pointer-events: none;
}
.gb-panel-title {
    display: flex; align-items: center; gap: 8px;
    margin: -14px -14px 12px; padding: 10px 14px;
    font: 700 14px/1.2 var(--serif); letter-spacing: .06em; text-transform: uppercase;
    color: var(--gold-3);
    background: linear-gradient(180deg, rgba(91, 42, 134, .55), rgba(58, 29, 92, .35));
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius) var(--radius) 0 0;
    text-shadow: 0 1px 0 #000, 0 0 12px rgba(166, 107, 255, .35);
}
.gb-panel-title i { color: var(--gold-2); }
.gb-chip {
    margin-left: auto; font: 600 10px/1 var(--sans); letter-spacing: .08em;
    padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 20px; color: var(--gold-2);
}
.gb-chip:hover { background: rgba(216, 178, 90, .12); }

/* ---------- botões ---------- */
.gb-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 10px 14px;
    font: 700 13px/1.1 var(--serif); letter-spacing: .05em; text-transform: uppercase;
    color: #fff; border: 1px solid rgba(240, 212, 138, .35); border-radius: var(--radius);
    cursor: pointer; text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
    transition: transform .15s ease, box-shadow .25s ease, filter .25s ease;
}
.gb-btn::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.gb-btn:hover { transform: translateY(-1px); filter: brightness(1.12); color: #fff; }
.gb-btn:hover::after { left: 120%; }
.gb-btn:active { transform: translateY(1px); }
.gb-btn-primary {
    background: linear-gradient(180deg, var(--purple-3), var(--purple-2) 55%, var(--purple-1));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 4px 14px rgba(123, 63, 179, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.gb-btn-primary:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 22px rgba(166, 107, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.gb-btn-gold {
    color: #2a1a08; text-shadow: 0 1px 0 rgba(255, 240, 200, .5);
    background: linear-gradient(180deg, var(--gold-3), var(--gold-2) 50%, var(--gold-1));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 4px 12px rgba(216, 178, 90, .25);
}
.gb-btn-gold:hover { color: #1a0f04; box-shadow: 0 0 18px rgba(240, 212, 138, .55); }
.gb-btn-discord { background: linear-gradient(180deg, #6d7cf0, #4f5bd5); }
.gb-btn-lg { width: auto; padding: 13px 26px; font-size: 15px; }
.gb-btn-download {
    padding: 14px; font-size: 15px;
    background: linear-gradient(180deg, #8d4fd0, var(--purple-2) 60%, #2c1347);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 20px rgba(166, 107, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
    animation: gb-pulse-glow 3.2s ease-in-out infinite;
}
.gb-link-small { display: block; margin-top: 8px; font-size: 12px; text-align: center; color: var(--muted); }
.gb-link-arrow { font: 600 13px var(--sans); color: var(--gold-3); }

/* ---------- conta / login ---------- */
.gb-account { display: flex; flex-direction: column; gap: 8px; }
.gb-login { display: flex; flex-direction: column; gap: 8px; }
.gb-login input, .gb-content-body input[type=text], .gb-content-body input[type=password],
.gb-content-body input[type=email], .gb-content-body input[type=number], .gb-content-body select, .gb-content-body textarea {
    width: 100%; padding: 9px 11px; font: 400 13px var(--sans); color: var(--text);
    background: rgba(8, 6, 12, .85); border: 1px solid rgba(216, 178, 90, .25); border-radius: 4px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.gb-content-body select, .gb-content-body input { width: auto; max-width: 100%; }
.gb-login input:focus, .gb-content-body input:focus, .gb-content-body select:focus, .gb-content-body textarea:focus {
    border-color: var(--glow); box-shadow: 0 0 0 3px rgba(166, 107, 255, .2);
}
.gb-account-hello { font: 600 13px var(--sans); color: var(--gold-3); text-align: center; }
.gb-account-links { display: flex; justify-content: space-between; font-size: 12px; }
.gb-account-links a { color: var(--muted); }
.gb-account-links a:hover { color: var(--gold-3); }

/* ---------- menu sanfona ---------- */
.gb-menu { display: flex; flex-direction: column; gap: 8px; }
.gb-menu-head {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px;
    font: 700 13px var(--serif); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-align: left;
    background: linear-gradient(180deg, #6a33a0, #47206e 60%, #2d1449);
    border: 1px solid rgba(240, 212, 138, .3); border-radius: var(--radius); cursor: pointer;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: filter .2s, box-shadow .25s;
}
.gb-menu-head > i:first-child { width: 18px; text-align: center; color: var(--gold-3); }
.gb-menu-head:hover { filter: brightness(1.15); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 16px rgba(166, 107, 255, .5); }
.gb-menu-caret { margin-left: auto; font-size: 11px; transition: transform .3s ease; color: var(--gold-2); }
.gb-menu-group.is-open .gb-menu-caret { transform: rotate(180deg); }
.gb-menu-items {
    list-style: none; margin: 0; padding: 0 4px; overflow: hidden; max-height: 0;
    transition: max-height .35s ease, padding .35s ease;
    background: rgba(12, 9, 18, .85); border: 1px solid transparent; border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius); margin-top: -2px;
}
.gb-menu-group.is-open .gb-menu-items { padding: 6px 4px; border-color: var(--line); }
.gb-menu-items a {
    display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13px; color: var(--text); border-radius: 4px;
}
.gb-menu-items a::before { content: "◆"; font-size: 8px; color: var(--purple-3); transition: color .2s; }
.gb-menu-items a:hover, .gb-menu-items a.is-active { color: var(--gold-3); background: rgba(123, 63, 179, .18); }
.gb-menu-items a:hover::before, .gb-menu-items a.is-active::before { color: var(--gold-2); }

/* ---------- barra de links ---------- */
.gb-topbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 10px 14px; }
.gb-topbar a { font: 600 13px var(--sans); color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.gb-topbar a:hover { color: var(--gold-3); }
.gb-topbar .fa-discord { color: #8b97ff; }
.gb-topbar-hot {
    padding: 4px 12px; border-radius: 20px; color: #fff !important;
    background: linear-gradient(180deg, var(--purple-3), var(--purple-2)); box-shadow: 0 0 12px rgba(166, 107, 255, .5);
}

/* ---------- banner da home ---------- */
.gb-hero {
    position: relative; min-height: clamp(300px, 21vw, 460px); display: flex; align-items: center;
    border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
    background: #120c1a var(--hero) center right / cover no-repeat;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .7);
}
.gb-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11, 8, 16, .9) 0%, rgba(11, 8, 16, .62) 34%, rgba(11, 8, 16, .08) 62%, transparent);
}
.gb-hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
    object-fit: cover; object-position: center right;
    opacity: 0; transition: opacity 1s ease;
}
.gb-hero-video.is-on { opacity: 1; }
.gb-hero::before { z-index: 1; }
.gb-hero-text { position: relative; z-index: 2; padding: 28px 30px; max-width: 420px; }
.gb-hero-kicker { margin: 0; font: 700 15px var(--serif); letter-spacing: .25em; text-transform: uppercase; color: var(--text); }
.gb-hero-title {
    margin: 0; font: 900 58px/1 var(--serif); letter-spacing: .04em;
    background: linear-gradient(180deg, #fff3cf, var(--gold-2) 55%, var(--gold-1));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 18px rgba(216, 178, 90, .35));
}
.gb-hero-sub { margin: 6px 0 10px; font: 600 13px var(--serif); letter-spacing: .3em; text-transform: uppercase; color: var(--glow); }
.gb-hero-desc { margin: 0 0 18px; color: var(--text); font-size: 14px; }
.gb-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- últimas atualizações ---------- */
.gb-updates-list { list-style: none; margin: 0; padding: 0; }
.gb-updates-list li {
    display: grid; grid-template-columns: 82px 88px 1fr; gap: 10px; align-items: center;
    padding: 8px 4px; border-bottom: 1px solid rgba(216, 178, 90, .1); font-size: 13px;
}
.gb-updates-list li:last-child { border-bottom: 0; }
.gb-upd-date { color: var(--muted); font-size: 12px; }
.gb-upd-tag { font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: 5px 6px; border-radius: 3px; text-align: center; }
.gb-upd-tag.is-new { background: rgba(94, 224, 138, .14); color: #7ff0a6; border: 1px solid rgba(94, 224, 138, .4); }
.gb-upd-tag.is-changed { background: rgba(166, 107, 255, .16); color: #c9a6ff; border: 1px solid rgba(166, 107, 255, .45); }
.gb-upd-tag.is-fixed { background: rgba(216, 178, 90, .14); color: var(--gold-3); border: 1px solid rgba(216, 178, 90, .45); }
.gb-upd-tag.is-removed { background: rgba(255, 107, 107, .12); color: #ff9c9c; border: 1px solid rgba(255, 107, 107, .4); }
.gb-upd-text { color: var(--text); }

/* ---------- coluna direita ---------- */
#gb-left .gb-btn, #gb-right .gb-btn { font-size: 12px; letter-spacing: .03em; white-space: nowrap; }
.gb-status { text-align: center; }
.gb-status-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 30px;
    font: 700 13px var(--sans); letter-spacing: .1em;
}
.gb-status-badge.is-online { color: #9dffc0; border: 1px solid rgba(94, 224, 138, .7); background: rgba(94, 224, 138, .12); box-shadow: 0 0 14px rgba(94, 224, 138, .3); }
.gb-status-badge.is-offline { color: #ffb3b3; border: 1px solid rgba(255, 107, 107, .6); background: rgba(255, 107, 107, .1); }
.gb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); display: inline-block; animation: gb-blink 1.6s ease-in-out infinite; }
.is-offline .gb-dot { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.gb-dot-sm { width: 7px; height: 7px; }
.gb-status-count {
    margin-top: 8px; font: 900 46px/1 var(--serif); color: var(--gold-3);
    text-shadow: 0 2px 0 #000, 0 0 20px rgba(216, 178, 90, .35);
}
.gb-status-label { font: 700 12px var(--serif); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.gb-status-list { list-style: none; padding: 0; margin: 12px 0; text-align: left; }
.gb-status-list li { display: flex; align-items: center; gap: 8px; padding: 5px 2px; border-bottom: 1px solid rgba(216, 178, 90, .1); font-size: 13px; }
.gb-status-list i { color: var(--gold-2); width: 16px; text-align: center; }
.gb-status-list b { margin-left: auto; color: #fff; }

.gb-founder { text-align: center; }
.gb-founder-emblem { width: 150px; height: auto; margin: 0 auto 6px; display: block; animation: gb-float 5s ease-in-out infinite, gb-emblem-glow 3.5s ease-in-out infinite; }
.gb-founder-text { margin: 0 0 10px; font: 600 12px var(--serif); letter-spacing: .05em; color: var(--gold-3); }

.gb-top-list { list-style: none; margin: 0; padding: 0; }
.gb-top-item {
    position: relative; display: grid; grid-template-columns: 26px 1fr auto; grid-template-rows: auto auto; column-gap: 8px;
    padding: 7px 4px; border-bottom: 1px solid rgba(216, 178, 90, .1);
}
.gb-top-item:last-child { border-bottom: 0; }
.gb-top-pos {
    grid-row: 1 / 3; align-self: center; width: 24px; height: 24px; display: grid; place-items: center;
    font: 700 12px var(--serif); color: var(--text); border: 1px solid rgba(216, 178, 90, .35); border-radius: 4px;
}
.gb-rank-1 .gb-top-pos { color: #2a1a08; background: linear-gradient(180deg, var(--gold-3), var(--gold-1)); animation: gb-medal 2.8s ease-in-out infinite; }
.gb-rank-2 .gb-top-pos { color: #1b1b22; background: linear-gradient(180deg, #f2f2f7, #a6a6b4); }
.gb-rank-3 .gb-top-pos { color: #2a1406; background: linear-gradient(180deg, #e3a36a, #9a5b2d); }
.gb-top-name { font: 700 13px var(--sans); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-top-info { grid-column: 2; font-size: 11px; color: var(--muted); }
.gb-top-item .gb-dot { grid-column: 3; grid-row: 1 / 3; align-self: center; }

.gb-discord p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }

/* ---------- conteúdo das páginas (saídas padrão do MyAAC) ---------- */
#gb-content { padding-bottom: 18px; }
.gb-content-body { overflow-x: auto; }
.gb-content-body h1, .gb-content-body h2, .gb-content-body h3 { font-family: var(--serif); color: var(--gold-3); letter-spacing: .03em; }
.gb-content-body table { border-collapse: collapse; width: 100%; color: var(--text); }
.gb-content-body td, .gb-content-body th { padding: 6px 8px; border: 0; }
.gb-content-body table[bgcolor], .gb-content-body td[bgcolor], .gb-content-body tr[bgcolor] { background-color: transparent; }
.gb-content-body tr:nth-child(odd) > td { background: rgba(35, 26, 47, .55); }
.gb-content-body tr:nth-child(even) > td { background: rgba(27, 20, 36, .55); }
.gb-content-body tr:hover > td { background: rgba(91, 42, 134, .22); }
.gb-content-body th, .gb-content-body .white, .gb-content-body tr.Table > td,
.gb-content-body td[class*="Header"], .gb-content-body .LabelV {
    color: var(--gold-3) !important; font-weight: 600;
}
.gb-content-body .TableContainer, .gb-content-body .InnerTableContainer { width: 100%; margin: 10px 0; }
.gb-content-body .CaptionContainer, .gb-content-body .Text {
    font: 700 13px var(--serif); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-3);
    background: linear-gradient(180deg, rgba(91, 42, 134, .5), rgba(58, 29, 92, .3));
    padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px 4px 0 0;
}
.gb-content-body .CaptionContainer img, .gb-content-body .CaptionEdgeLeftTop, .gb-content-body .CaptionEdgeRightTop,
.gb-content-body .CaptionBorderTop, .gb-content-body .CaptionVerticalLeft, .gb-content-body .CaptionVerticalRight,
.gb-content-body .CaptionBorderBottom, .gb-content-body .CaptionEdgeLeftBottom, .gb-content-body .CaptionEdgeRightBottom { display: none; }
.gb-content-body .TableContentContainer, .gb-content-body .TableContent { border: 1px solid var(--line); background: rgba(12, 9, 18, .55); }
.gb-content-body .Table1, .gb-content-body .Table2, .gb-content-body .Table3, .gb-content-body .Table4, .gb-content-body .Table5 { width: 100%; }
.gb-content-body input[type=submit], .gb-content-body input[type=button], .gb-content-body button:not(.gb-btn),
.gb-content-body .BigButton input, .gb-content-body .button {
    font: 700 12px var(--serif); letter-spacing: .05em; text-transform: uppercase; color: #fff; cursor: pointer;
    padding: 9px 16px; border: 1px solid rgba(240, 212, 138, .35); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--purple-3), var(--purple-2) 55%, var(--purple-1));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 3px 10px rgba(123, 63, 179, .4);
}
.gb-content-body input[type=submit]:hover, .gb-content-body button:not(.gb-btn):hover { filter: brightness(1.15); box-shadow: 0 0 16px rgba(166, 107, 255, .6); }
.gb-content-body .error, .gb-content-body .ErrorText, .gb-content-body font[color=red] { color: #ff9c9c !important; }
.gb-content-body .success { color: #9dffc0; }
.gb-content-body hr { border: 0; border-top: 1px solid var(--line); }
.gb-content-body img[src*="ornament"], .gb-content-body img[src*="headline"] { display: none; }

/* botao antigo do tibia embutido em varias paginas (BigButton com imagem do static.tibia.com) */
.gb-content-body .BigButton { background: none !important; width: auto !important; height: auto !important; display: inline-block; }
.gb-content-body .BigButtonOver { display: none !important; }
.gb-content-body .BigButton > div { position: static !important; }

/* página de downloads (plugins/better-downloads-page/downloads.html.twig) */
.gb-content-body .gbot-eyebrow { display: block; font: 700 12px var(--serif); letter-spacing: .25em; color: var(--glow); }
.gb-content-body .gbot-notice {
    margin: 12px 0; padding: 12px 14px; border-left: 3px solid var(--glow); border-radius: 4px;
    background: rgba(123, 63, 179, .16); color: var(--text);
}
.gb-content-body .gbot-download-list { display: grid; gap: 12px; margin: 12px 0 18px; }
.gb-content-body .gbot-download-item {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(58, 29, 92, .45), rgba(21, 16, 29, .9));
}
.gb-content-body .gbot-download-item h2 { margin: 0 0 4px; font-size: 17px; }
.gb-content-body .gbot-download-item p { margin: 0; color: var(--muted); }
.gb-content-body .gbot-button {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius);
    font: 700 14px var(--serif); letter-spacing: .05em; text-transform: uppercase; color: #fff;
    border: 1px solid rgba(240, 212, 138, .35);
    background: linear-gradient(180deg, var(--purple-3), var(--purple-2) 55%, var(--purple-1));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 18px rgba(166, 107, 255, .5);
}
.gb-content-body .gbot-button:hover { color: #fff; filter: brightness(1.15); box-shadow: 0 0 26px rgba(166, 107, 255, .8); }

/* notícias */
.gb-news { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(216, 178, 90, .12); }
.gb-news:last-child { border-bottom: 0; }
.gb-news-thumb { width: 170px; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.gb-news-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
.gb-news-title { margin: 2px 0 6px; font: 700 17px/1.3 var(--serif); color: var(--gold-3); }
.gb-news-body { font-size: 13.5px; }
.gb-news-body p { margin: 0 0 8px; }

/* ---------- rodapé ---------- */
#gb-footer { margin-top: 26px; text-align: center; font-size: 12px; color: var(--muted); }
#gb-footer p { margin: 4px 0; }
.gb-footer-small, .gb-footer-small a { font-size: 11px; color: #786e83; }

/* ---------- revelar ao rolar ---------- */
.gb-js .gb-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.gb-js .gb-reveal.is-in { opacity: 1; transform: none; }

/* ---------- celular ---------- */
#gb-menu-toggle { display: none; width: auto; margin: 0 auto 12px; }
@media (max-width: 900px) {
    #gb-grid { grid-template-columns: 1fr; }
    #gb-main { order: 1; }
    #gb-right { order: 2; }
    #gb-left { order: 0; display: none; }
    #gb-left.is-open { display: flex; }
    #gb-menu-toggle { display: flex; }
    .gb-logo img { width: 170px; }
    .gb-logo-nome { margin-top: -28px; }
    .gb-hero-title { font-size: 44px; }
    .gb-hero::before { background: linear-gradient(90deg, rgba(11, 8, 16, .92), rgba(11, 8, 16, .6)); }
    .gb-updates-list li { grid-template-columns: 1fr auto; }
    .gb-upd-text { grid-column: 1 / -1; }
    .gb-news { grid-template-columns: 1fr; }
    .gb-news-thumb { width: 100%; }
}

/* ---------- animações ---------- */
@keyframes gb-fog { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@keyframes gb-logo-glow {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(166, 107, 255, .35)) drop-shadow(0 6px 14px rgba(0, 0, 0, .8)); }
    50% { filter: drop-shadow(0 0 26px rgba(216, 178, 90, .55)) drop-shadow(0 6px 14px rgba(0, 0, 0, .8)); }
}
@keyframes gb-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 14px rgba(166, 107, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
    50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 28px rgba(166, 107, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
}
@keyframes gb-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes gb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes gb-emblem-glow { 0%, 100% { filter: drop-shadow(0 0 8px rgba(166, 107, 255, .4)); } 50% { filter: drop-shadow(0 0 22px rgba(166, 107, 255, .85)); } }
@keyframes gb-medal { 0%, 100% { box-shadow: 0 0 4px rgba(240, 212, 138, .4); } 50% { box-shadow: 0 0 14px rgba(240, 212, 138, .9); } }
@keyframes gb-shake {
    0%, 100% { transform: none; } 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); }
    60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, -1px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .gb-js .gb-reveal { opacity: 1; transform: none; }
    #gb-fx { display: none; }
}

/* ---------- correcoes de paginas do MyAAC (2026-10-08) ---------- */
/* campos sem atributo type (busca de personagem, nome no Criar conta) */
.gb-content-body input:not([type]) {
    padding: 9px 11px; font: 400 13px var(--sans); color: var(--text);
    background: rgba(8, 6, 12, .85); border: 1px solid rgba(216, 178, 90, .25); border-radius: 4px; outline: none;
}
/* blocos bege embutidos (contador do Server Save na Info do servidor) */
.gb-content-body div[style*="#d4c0a1"] {
    background: linear-gradient(180deg, rgba(91, 42, 134, .45), rgba(30, 22, 42, .9)) !important;
    border-color: var(--line-strong) !important; box-shadow: 0 0 12px rgba(166, 107, 255, .25) !important;
    color: var(--gold-3);
}
/* calendario de eventos: estilo embutido em system/pages/eventcalendar.php */
.gb-content-body #eventscheduletable {
    background: var(--panel-2); box-shadow: none; border: 1px solid var(--line);
}
.gb-content-body #eventscheduletable td { border: 1px solid rgba(216, 178, 90, .14); }
.gb-content-body #eventscheduletable tr[style*="#5f4d41"] { background: linear-gradient(180deg, rgba(91, 42, 134, .7), rgba(58, 29, 92, .6)) !important; }
.gb-content-body td#default { color: var(--text); background: rgba(21, 16, 29, .95); }
.gb-content-body td#today { color: var(--gold-3); background: rgba(91, 42, 134, .45); box-shadow: inset 0 0 0 1px var(--gold-2); }
.gb-content-body td#other_day { color: var(--muted); background: rgba(11, 8, 16, .7); }
/* pagina Atualizacoes (templates/gbot/changelog.html.twig) */
.gb-upd-where { display: inline-block; margin-left: 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gb-pager { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 0; }
.gb-content-body .BoxContent[style*="scroll.gif"] { background: none !important; }
.gb-content-body .Table1[style*="241, 224, 197"] { background: transparent !important; }
.gb-content-body #eventscheduletable ~ *, .gb-content-body .Table1[style*="241, 224, 197"] .InnerTableContainer { background: transparent; color: var(--muted); }
/* pagina Comandos (system/pages/commands.php) */
.gb-commands h3 { margin: 18px 0 8px; font: 700 14px var(--serif); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-3); }
.gb-cmd-table { width: 100%; border-collapse: collapse; }
.gb-cmd-table td { padding: 7px 8px; border-bottom: 1px solid rgba(216, 178, 90, .12); vertical-align: top; }
.gb-cmd { width: 34%; white-space: nowrap; }
.gb-cmd code { color: var(--glow); font: 600 13px/1.4 Consolas, monospace; }
@media (max-width: 600px) { .gb-cmd { white-space: normal; width: 40%; } }
/* textos com word-break: break-all embutido (pagina da guilda) quebravam no meio da palavra */
.gb-content-body [style*="break-all"] { word-break: normal !important; overflow-wrap: break-word; }
/* celular: paginas do MyAAC com tabelas e formularios largos */
@media (max-width: 600px) {
    .gb-content-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .gb-content-body table { max-width: 100%; }
    .gb-content-body input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
    .gb-content-body select { width: 100% !important; min-width: 0; }
    .gb-content-body td { word-break: normal; overflow-wrap: normal; }
    /* blocos lado a lado (Info do servidor, guilda) viram coluna unica */
    .gb-content-body div[style*="display: flex"], .gb-content-body div[style*="display:flex"] { flex-wrap: wrap; }
    .gb-content-body div[style*="display: flex"] > div[style*="width: 100%"] { flex: 1 1 100%; min-width: 0; }
}

/* Menu lateral de "Minha conta" (account.management): o MyAAC pinta os links com
   texto preto sobre config.lightborder, que no tema escuro ficava quase invisivel. */
#account-manage .vertical-menu {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
#account-manage .vertical-menu a {
    background: transparent !important;
    color: var(--text) !important;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(216, 178, 90, .12);
    font-size: 13px;
    line-height: 1.3;
}
#account-manage .vertical-menu a:last-child { border-bottom: 0; }
#account-manage .vertical-menu a:hover {
    background: rgba(123, 63, 179, .35) !important;
    color: var(--gold-3) !important;
}
@media (max-width: 600px) {
    #account-manage { padding: 0; }
    #account-manage div#one { float: none; width: auto; margin-bottom: 12px; }
    #account-manage div#two { margin-left: 0; padding-left: 0; }
}
