/* Tema GB-OTS — camada "pergaminho" (10/10/2026).
   Carregada depois do gbot.css: areas de leitura viram papel envelhecido, titulos viram
   faixas ornamentadas, o menu vira fitas. Para voltar ao visual anterior, basta tirar o
   <link> deste arquivo no index.php. Inspiracao: rubinot.com.br (pergaminho + molduras). */

@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --pg-papel: #ecdcb6;
    --pg-papel-2: #e2cc9f;
    --pg-tinta: #3a2814;
    --pg-tinta-suave: #6e5536;
    --pg-borda: #6b4a1f;
    --pg-ouro: #c9a35a;
    --pg-roxo-escuro: #2a1342;
    --pg-roxo: #4a2272;
    --pg-vinho: #6a2a78;
    --pg-livro: "EB Garamond", Georgia, "Times New Roman", serif;
    --pg-textura:
        url("../images/ui/papel-fibra.svg"),
        url("../images/ui/papel-manchas.svg"),
        radial-gradient(ellipse at 50% 40%, rgba(255, 248, 228, .55), transparent 70%);
}

/* ---------- fundo menos escuro ---------- */
.gb-bg-vignette {
    background:
        linear-gradient(90deg, transparent 0, rgba(11, 8, 16, .18) 30%, rgba(11, 8, 16, .28) 50%, rgba(11, 8, 16, .18) 70%, transparent 100%),
        linear-gradient(180deg, transparent 0, transparent 70%, rgba(11, 8, 16, .55) 100%);
}
.gb-bg-img { filter: brightness(1.18) saturate(1.08); }
.gb-bg-video { filter: brightness(1.18) saturate(1.08); }

/* ---------- painel = folha de pergaminho com moldura ---------- */
.gb-panel {
    /* tokens do tema reapontados para tinta sobre papel: tudo que usa var(--text) etc. se adapta */
    --text: var(--pg-tinta);
    --muted: var(--pg-tinta-suave);
    --line: rgba(107, 74, 31, .28);
    --line-strong: rgba(107, 74, 31, .5);
    --gold-3: #7a4a0e;
    --gold-2: #8a5a14;
    --glow: var(--pg-vinho);
    color: var(--pg-tinta);
    background: var(--pg-textura), linear-gradient(180deg, var(--pg-papel), var(--pg-papel-2));
    background-size: 320px 320px, 900px 900px, 100% 100%, 100% 100%;
    border: 1px solid var(--pg-borda);
    border-radius: 4px;
    box-shadow:
        0 0 0 2px var(--pg-ouro),
        0 0 0 3px #1a0c26,
        inset 0 0 26px rgba(110, 62, 14, .45),
        inset 0 0 3px rgba(60, 30, 5, .6),
        0 12px 28px rgba(0, 0, 0, .55);
}
/* cantoneiras douradas */
.gb-panel::before {
    inset: 5px; border: 0; border-radius: 0;
    background:
        url("../images/ui/canto-se.svg") left top / 26px no-repeat,
        url("../images/ui/canto-sd.svg") right top / 26px no-repeat,
        url("../images/ui/canto-ie.svg") left bottom / 26px no-repeat,
        url("../images/ui/canto-id.svg") right bottom / 26px no-repeat;
    opacity: .9;
    z-index: 0;
}
.gb-panel > * { position: relative; z-index: 1; }

/* ---------- faixa de titulo ornamentada ---------- */
.gb-panel-title {
    justify-content: center; text-align: center;
    margin: -14px -14px 14px; padding: 11px 64px;
    font: 700 14px/1.2 var(--serif); letter-spacing: .1em;
    color: #f6e2a6;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 45%),
        linear-gradient(180deg, #4a2272, #2a1342 70%, #1e0c31);
    border: 0; border-top: 2px solid var(--pg-ouro); border-bottom: 2px solid var(--pg-ouro);
    border-radius: 3px 3px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 240, 194, .35), inset 0 -1px 0 #000, 0 2px 0 rgba(0, 0, 0, .5);
    text-shadow: 0 1px 0 #000, 0 0 10px rgba(216, 178, 90, .35);
}
.gb-panel-title::before, .gb-panel-title::after {
    content: ""; position: absolute; top: 50%; width: 52px; height: 20px; margin-top: -10px;
    background: url("../images/ui/arabesco.svg") center / contain no-repeat;
}
.gb-panel-title::before { left: 8px; }
.gb-panel-title::after { right: 8px; transform: scaleX(-1); }
.gb-panel-title i { color: #e9c46f; }
.gb-panel-title .gb-chip {
    position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
    color: #f0d48a; border-color: rgba(240, 212, 138, .6);
}
.gb-panel-title .gb-chip:hover { background: rgba(240, 212, 138, .15); }

/* ---------- barra de links e banner: continuam escuros, com moldura ---------- */
.gb-topbar.gb-panel {
    --text: #f3ead9;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 50%), linear-gradient(180deg, #3d1c60, #22103a);
    padding: 10px 70px;
    box-shadow: 0 0 0 2px var(--pg-ouro), 0 0 0 3px #1a0c26, inset 0 1px 0 rgba(255, 240, 194, .3), 0 10px 24px rgba(0, 0, 0, .5);
}
.gb-topbar.gb-panel::before {
    inset: 0;
    background:
        url("../images/ui/arabesco.svg") left 10px center / 52px 20px no-repeat;
}
.gb-topbar.gb-panel::after {
    content: ""; position: absolute; right: 10px; top: 50%; width: 52px; height: 20px; margin-top: -10px;
    background: url("../images/ui/arabesco.svg") center / contain no-repeat; transform: scaleX(-1);
}
.gb-topbar a { color: #f3ead9; }
.gb-topbar a:hover { color: #f0d48a; }
.gb-hero { box-shadow: 0 0 0 2px var(--pg-ouro), 0 0 0 3px #1a0c26, 0 14px 36px rgba(0, 0, 0, .6); border-color: var(--pg-borda); }

/* ---------- menu em fitas ---------- */
.gb-menu { gap: 10px; }
.gb-menu-head {
    position: relative; isolation: isolate;
    padding: 12px 26px; justify-content: center; text-align: center;
    color: #f6e2a6; letter-spacing: .1em;
    background: linear-gradient(180deg, #fff0c2, #c9a35a 45%, #7a5418);
    border: 0; border-radius: 0; box-shadow: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .55));
    text-shadow: 0 1px 0 #000;
}
.gb-menu-head::before {
    content: ""; position: absolute; inset: 2px; z-index: -1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 45%), linear-gradient(180deg, #5a2a88, #3a1a5e 60%, #26103f);
    clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%, 11px 50%);
}
.gb-menu-head::after {
    content: ""; position: absolute; inset: 5px 16px; z-index: -1; pointer-events: none;
    border-top: 1px solid rgba(240, 212, 138, .35); border-bottom: 1px solid rgba(240, 212, 138, .35);
}
.gb-menu-head > i:first-child { position: absolute; left: 22px; color: #e9c46f; }
.gb-menu-caret { position: absolute; right: 24px; color: #e9c46f; }
.gb-menu-head:hover { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .55)) brightness(1.12); box-shadow: none; }
.gb-menu-items {
    margin: -4px 10px 0;
    background: var(--pg-textura), linear-gradient(180deg, var(--pg-papel), var(--pg-papel-2));
    background-size: 320px 320px, 900px 900px, 100% 100%, 100% 100%;
    border-radius: 0 0 4px 4px;
    box-shadow: inset 0 0 14px rgba(110, 62, 14, .4);
}
.gb-menu-group.is-open .gb-menu-items { border: 1px solid var(--pg-borda); border-top: 0; padding: 8px 6px; }
.gb-menu-items a { color: var(--pg-tinta); font: 600 14px var(--pg-livro); }
.gb-menu-items a::before { color: #8a5a14; }
.gb-menu-items a:hover, .gb-menu-items a.is-active { color: var(--pg-vinho); background: rgba(106, 42, 120, .1); }

/* ---------- formularios sobre papel ---------- */
.gb-panel input[type=text], .gb-panel input[type=password], .gb-panel input[type=email], .gb-panel input[type=number],
.gb-panel input:not([type]), .gb-panel select, .gb-panel textarea, .gb-login input {
    background: #fbf3df !important; color: var(--pg-tinta) !important;
    border: 1px solid #b08a52 !important; box-shadow: inset 0 1px 3px rgba(80, 50, 10, .25) !important;
}
.gb-panel input::placeholder { color: #9a8263; }
.gb-panel input:focus, .gb-panel select:focus, .gb-panel textarea:focus { border-color: var(--pg-vinho) !important; outline: 0; box-shadow: 0 0 0 2px rgba(106, 42, 120, .25) !important; }

/* ---------- conteudo das paginas ---------- */
.gb-content-body { font: 16px/1.6 var(--pg-livro); color: var(--pg-tinta); }
.gb-content-body p { margin: 0 0 .8em; }
.gb-content-body a { color: var(--pg-vinho); }
.gb-content-body a:hover { color: #9b3d17; }
.gb-content-body h1, .gb-content-body h2, .gb-content-body h3 { color: #4a1f68; text-shadow: none; }
/* a pagina de Fundadores tem bloco escuro proprio: nao recolorir os titulos dela */
.gb-content-body .founder h1, .gb-content-body .founder h2, .gb-content-body .founder h3 { color: var(--ink); text-shadow: none; }
.gb-content-body .founder-card h2 { color: #fff; }
.gb-content-body b, .gb-content-body strong { color: #2a1a0a; }
.gb-content-body table { color: var(--pg-tinta); font-family: var(--sans); font-size: 13.5px; }
.gb-content-body tr:nth-child(odd) > td { background: rgba(110, 70, 25, .07); }
.gb-content-body tr:nth-child(even) > td { background: rgba(255, 250, 235, .35); }
.gb-content-body tr:hover > td { background: rgba(106, 42, 120, .1); }
.gb-content-body .TableContentContainer, .gb-content-body .TableContent { border-color: rgba(107, 74, 31, .35); background: transparent; }
.gb-content-body .error, .gb-content-body .ErrorText, .gb-content-body font[color=red] { color: #a8261d !important; }
.gb-content-body .success { color: #2b6e2f; }
.gb-content-body hr { border-top: 1px solid rgba(107, 74, 31, .35); }
.gb-content-body code { color: var(--pg-vinho); }
.gb-content-body .gbot-notice { color: var(--pg-tinta); background: rgba(106, 42, 120, .08); }
.gb-content-body .gbot-download-item { background: rgba(255, 250, 235, .45); border-color: rgba(107, 74, 31, .35); }

/* ---------- noticias ---------- */
.gb-news { border-bottom: 0; position: relative; padding: 16px 0 26px; }
.gb-news::after {
    content: ""; position: absolute; left: 10%; right: 10%; bottom: 6px; height: 14px;
    background:
        url("../images/brasao.webp") center / 14px no-repeat,
        linear-gradient(90deg, transparent, rgba(107, 74, 31, .5) 30%, rgba(107, 74, 31, .5) 46%, transparent 46%, transparent 54%, rgba(107, 74, 31, .5) 54%, rgba(107, 74, 31, .5) 70%, transparent) center / 100% 1px no-repeat;
}
.gb-news:last-child::after { display: none; }
.gb-news-title { color: #4a1f68; font-size: 19px; }
.gb-news-meta { color: var(--pg-tinta-suave); font-family: var(--sans); }
/* David (18/10): letras pequenas na noticia; a serifada do tema tem letra miuda, 16px parecia 14 */
/* 19/10: a EB Garamond em marrom sobre a textura ficava dificil de ler (dono e David). O texto da noticia usa a
   Montserrat do site, mais escura e encorpada; titulos e menus continuam no estilo pergaminho. */
.gb-news-body { font: 500 16px/1.75 var(--sans); color: #24170a; }
.gb-news-body strong, .gb-news-body b { font-weight: 700; color: #1a0f05; }
/* David (19/10): o texto ficava preso na coluna ao lado da imagem e virava uma faixa longa. A imagem fica ao lado
   da data e do titulo; o texto passa por baixo dela e usa a largura toda. No celular continua uma coluna so. */
@media (min-width: 901px) {
    .gb-news { grid-template-columns: 170px 1fr; grid-template-rows: auto 1fr auto auto;
        grid-template-areas: "thumb meta" "thumb title" "body body" "link link"; column-gap: 16px; }
    .gb-news-main { display: contents; }
    .gb-news-thumb { grid-area: thumb; }
    .gb-news-meta { grid-area: meta; }
    .gb-news-title { grid-area: title; align-self: start; }
    .gb-news-body { grid-area: body; margin-top: 10px; }
    .gb-news > .gb-news-main > .gb-link-arrow { grid-area: link; }
}
.gb-news-thumb { border: 2px solid var(--pg-borda); box-shadow: 0 0 0 1px var(--pg-ouro), 0 4px 10px rgba(60, 30, 5, .35); }

/* ---------- ultimas atualizacoes ---------- */
.gb-updates-list li { border-bottom-color: rgba(107, 74, 31, .2); }
.gb-updates-list li:hover { background: rgba(106, 42, 120, .07); }
.gb-upd-text { color: var(--pg-tinta); }
.gb-upd-tag.is-new { background: #2f6b3a; color: #f1ffe9; border-color: #1f4a27; }
.gb-upd-tag.is-changed { background: #4a2272; color: #f6e2a6; border-color: #2a1342; }
.gb-upd-tag.is-fixed { background: #8a5a14; color: #fff3cf; border-color: #5a3a0a; }
.gb-upd-tag.is-removed { background: #8f2a22; color: #ffe8e4; border-color: #5e1712; }

/* ---------- colunas ---------- */
.gb-status-badge.is-online { color: #1f5a2a; background: rgba(47, 107, 58, .15); border-color: #2f6b3a; }
.gb-status-badge.is-offline { color: #8f2a22; background: rgba(143, 42, 34, .12); border-color: #8f2a22; }
.gb-status-list b, .gb-top-name { color: var(--pg-tinta); }
.gb-status-list li { border-bottom-color: rgba(107, 74, 31, .2); }
.gb-founder-text { color: #6a3f0c; }
.gb-discord p { color: var(--pg-tinta-suave); }
.gb-account-hello { color: #6a3f0c; }

/* ---------- conta (menu lateral de "Minha conta") ---------- */
#account-manage .vertical-menu { background: rgba(255, 250, 235, .45); border-color: rgba(107, 74, 31, .35); }
#account-manage .vertical-menu a { color: var(--pg-tinta) !important; border-bottom-color: rgba(107, 74, 31, .18); }
#account-manage .vertical-menu a:hover { color: var(--pg-vinho) !important; background: rgba(106, 42, 120, .1) !important; }

/* colunas laterais sao estreitas: faixa com arabesco menor para o titulo caber em 1 linha */
#gb-left .gb-panel-title, #gb-right .gb-panel-title { padding: 10px 34px; font-size: 12.5px; letter-spacing: .06em; }
#gb-left .gb-panel-title::before, #gb-left .gb-panel-title::after,
#gb-right .gb-panel-title::before, #gb-right .gb-panel-title::after { width: 26px; height: 14px; margin-top: -7px; }
#gb-left .gb-panel-title::before, #gb-right .gb-panel-title::before { left: 5px; }
#gb-left .gb-panel-title::after, #gb-right .gb-panel-title::after { right: 5px; }
#gb-right .gb-panel-title .gb-chip { right: 34px; }

/* botao dourado: cores fixas (dentro do papel os tokens --gold-* viram tinta) */
.gb-btn-gold { background: linear-gradient(180deg, #f0d48a, #d8b25a 55%, #b88a35); color: #2a1706; border-color: #8a6420; }
.gb-btn-gold:hover { color: #1a0f04; }
#gb-left .gb-panel-title, #gb-right .gb-panel-title { padding: 10px 28px; font-size: 12px; letter-spacing: .03em; }
#gb-right .gb-panel-title:has(.gb-chip) { padding-right: 74px; }
#gb-right .gb-panel-title .gb-chip { right: 30px; padding: 3px 7px; }

/* ---------- tabelas do MyAAC sobre papel ---------- */
/* sombras em imagem do tema tibiacom viram listras no papel */
.gb-content-body .TableContentAndRightShadow, .gb-content-body [class*="TableShadow"], .gb-content-body [class*="TableBottom"] { background-image: none !important; }
.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: #4a1f68 !important; font-weight: 700; }
/* rotulos de formulario ("E-mail:") nao quebram em duas linhas */
.gb-content-body .LabelV { white-space: nowrap; padding-right: 12px; width: 1%; }
/* barras de secao (CaptionContainer) = mini faixa ornamentada */
.gb-content-body .CaptionContainer, .gb-content-body .Text {
    position: relative; text-align: center;
    color: #f6e2a6 !important; text-shadow: 0 1px 0 #000;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 45%), linear-gradient(180deg, #4a2272, #2a1342 70%, #1e0c31);
    border: 0; border-top: 1px solid var(--pg-ouro); border-bottom: 1px solid var(--pg-ouro); border-radius: 2px;
    box-shadow: 0 2px 4px rgba(40, 20, 5, .35);
}
.gb-content-body .CaptionContainer .Text { background: none; border: 0; box-shadow: none; padding: 0; }
.gb-content-body .CaptionContainer::before, .gb-content-body .CaptionContainer::after {
    content: ""; position: absolute; top: 50%; width: 30px; height: 14px; margin-top: -7px;
    background: url("../images/ui/arabesco.svg") center / contain no-repeat;
}
.gb-content-body .CaptionContainer::before { left: 8px; }
.gb-content-body .CaptionContainer::after { right: 8px; transform: scaleX(-1); }
.gb-content-body .TableContentContainer, .gb-content-body .TableContent { background: rgba(255, 250, 235, .3); }

/* relogio do server save (bloco de cor fixa do MyAAC) = plaqueta roxa com numeros dourados */
.gb-content-body div[style*="#d4c0a1"] {
    background: linear-gradient(180deg, #4a2272, #2a1342) !important; color: #e9d9b4 !important;
    border-color: var(--pg-ouro) !important; box-shadow: 0 3px 6px rgba(40, 20, 5, .4) !important;
}
.gb-content-body div[style*="#d4c0a1"] [id^="timerServerSave"] { color: #f0d48a; text-shadow: 0 1px 0 #000; font-family: var(--serif); }

/* faixas estreitas do MyAAC: arabesco menor e texto sem passar por cima */
.gb-content-body .CaptionContainer { padding-left: 40px; padding-right: 40px; }
.gb-content-body .CaptionContainer::before, .gb-content-body .CaptionContainer::after { width: 24px; height: 11px; margin-top: -5.5px; }

@media (max-width: 600px) {
    .gb-panel-title { padding: 10px 38px; font-size: 13px; letter-spacing: .05em; }
    .gb-panel-title::before, .gb-panel-title::after { width: 26px; height: 14px; margin-top: -7px; left: 6px; }
    .gb-panel-title::after { left: auto; right: 6px; }
    .gb-panel-title:has(.gb-chip) { justify-content: flex-start; padding-right: 116px; }
    .gb-panel-title .gb-chip { right: 38px; }
    .gb-topbar.gb-panel { padding: 10px 44px; }
    .gb-topbar.gb-panel::before { background-size: 26px 14px; background-position: left 6px center; }
    .gb-topbar.gb-panel::after { width: 26px; height: 14px; margin-top: -7px; right: 6px; }
}
.gb-content-body .CaptionContainer, .gb-content-body .CaptionContainer .CaptionInnerContainer, .gb-content-body .CaptionContainer .Text { height: auto !important; line-height: 1.3; }
.gb-content-body .CaptionContainer .Text { position: static; white-space: normal; }
@media (max-width: 600px) {
    .gb-panel-title:has(.gb-chip) { padding-right: 124px; font-size: 12px; }
    .gb-panel-title .gb-chip { font-size: 9px; padding: 3px 6px; }
}
.gb-content-body .Text > div[style*="height"] { height: auto !important; }

/* =====================================================================
   KIT DE ARTE (pecas pintadas pelo dono no GPT Image, 10/10/2026).
   Substitui as versoes em CSS/SVG acima: faixa de veludo, fita, papel,
   cantoneiras e divisor com o brasao. Recortes em images/ui/*.webp.
   ===================================================================== */
:root {
    --pg-textura: url("../images/ui/papel.webp");
}
.gb-panel, .gb-menu-items {
    background: url("../images/ui/papel.webp") center / 640px auto repeat, var(--pg-papel);
}
.gb-panel::before {
    inset: -7px;
    background:
        url("../images/ui/canto-se.webp") left top / 44px auto no-repeat,
        url("../images/ui/canto-sd.webp") right top / 44px auto no-repeat,
        url("../images/ui/canto-ie.webp") left bottom / 44px auto no-repeat,
        url("../images/ui/canto-id.webp") right bottom / 44px auto no-repeat;
    opacity: 1;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45));
}
#gb-left .gb-panel::before, #gb-right .gb-panel::before { background-size: 34px auto, 34px auto, 34px auto, 34px auto; }

/* faixa de veludo: ponta esq + ponta dir + gema + veludo esticado no meio */
.gb-panel-title, #gb-left .gb-panel-title, #gb-right .gb-panel-title {
    --h: 66px;
    height: var(--h);
    margin: -20px -22px 8px;
    padding: 0 calc(var(--h) * .95);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; letter-spacing: .1em; color: #f6e2a6;
    background:
        url("../images/ui/faixa-esq.webp") left center / auto 100% no-repeat,
        url("../images/ui/faixa-dir.webp") right center / auto 100% no-repeat,
        url("../images/ui/faixa-gema.webp") center / auto 100% no-repeat,
        url("../images/ui/faixa-meio.webp") center / calc(100% - var(--h) * 1.5) 100% no-repeat;
    border: 0; border-radius: 0; box-shadow: none;
    text-shadow: 0 1px 0 #000, 0 0 6px #000, 0 0 12px rgba(216, 178, 90, .35);
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .45));
}
.gb-panel-title::before, .gb-panel-title::after { display: none; }
#gb-left .gb-panel-title, #gb-right .gb-panel-title { --h: 58px; margin: -18px -20px 6px; font-size: 11.5px; letter-spacing: .04em; }
.gb-panel-title .gb-chip, #gb-right .gb-panel-title .gb-chip { right: calc(var(--h) * .95); }
#gb-right .gb-panel-title:has(.gb-chip) { padding-right: calc(var(--h) * .95 + 40px); }
.gb-panel { margin-top: 10px; }
.gb-col { gap: 22px; }

/* fita pintada no menu */
.gb-menu { gap: 12px; }
.gb-menu-head {
    aspect-ratio: 6.08; height: auto; padding: 0 19%;
    background: url("../images/ui/fita.webp") center / 100% 100% no-repeat;
    clip-path: none;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5));
    font-size: 12.5px;
}
.gb-menu-head::before, .gb-menu-head::after { display: none; }
.gb-menu-head > i:first-child { left: 15%; }
.gb-menu-caret { right: 15%; }
.gb-menu-items { margin: -8px 14px 0; }

/* divisor com o brasao entre noticias */
.gb-news::after {
    left: 4%; right: 4%; bottom: 0; height: 42px;
    background:
        url("../images/ui/divisor-brasao.webp") center / auto 42px no-repeat,
        linear-gradient(90deg, transparent, rgba(138, 90, 20, .7) 20%, rgba(201, 163, 90, .9) 44%, transparent 44%, transparent 56%, rgba(201, 163, 90, .9) 56%, rgba(138, 90, 20, .7) 80%, transparent) center / 100% 1px no-repeat;
}
.gb-news { padding-bottom: 50px; }

@media (max-width: 600px) {
    .gb-panel-title, #gb-left .gb-panel-title, #gb-right .gb-panel-title { --h: 56px; font-size: 12px; margin: -18px -18px 6px; }
    .gb-panel-title:has(.gb-chip) { padding-right: calc(var(--h) * .95 + 64px); justify-content: center; }
}

/* colunas laterais e celular: a faixa de veludo nao cabe (pontas largas); o titulo usa a fita */
#gb-left .gb-panel-title, #gb-right .gb-panel-title {
    height: 46px; margin: -16px -22px 8px; padding: 0 19%;
    background: url("../images/ui/fita.webp") center / 100% 100% no-repeat;
    font-size: 11.5px; letter-spacing: .05em;
}
#gb-right .gb-panel-title:has(.gb-chip) { padding-right: 19%; }
#gb-right .gb-panel-title .gb-chip { display: none; }
.gb-menu-head > i:first-child { left: 19%; }
.gb-menu-caret { right: 19%; }
.gb-menu-head { padding: 0 25%; }
@media (max-width: 600px) {
    .gb-panel-title, .gb-panel-title:has(.gb-chip) {
        height: 52px; margin: -16px -18px 8px; padding: 0 18%;
        background: url("../images/ui/fita.webp") center / 100% 100% no-repeat;
        font-size: 12px; justify-content: center;
    }
    .gb-panel-title .gb-chip { display: none; }
}
/* fita do menu sem icone (nomes longos encostavam no icone) */
.gb-menu-head > i:first-child { display: none; }
.gb-menu-head { padding: 0 22%; font-size: 12px; }

/* brasao do topo com o nome ja desenhado (10/10/2026): o texto vira so leitura de tela */
.gb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gb-logo img { width: clamp(220px, 17vw, 300px); animation: none; filter: drop-shadow(0 0 22px rgba(166, 107, 255, .35)) drop-shadow(0 8px 14px rgba(0, 0, 0, .75)); }
#gb-header { padding: 8px 0 4px; }
@media (max-width: 900px) { .gb-logo img { width: 210px; } }

/* Calendario de eventos no celular: 7 colunas nao cabem em ~290px (dias cortados).
   O quadro rola para o lado; a pagina continua sem rolagem lateral. */
@media (max-width: 640px) {
    .InnerTableContainer:has(> #eventscheduletable) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    #eventscheduletable { min-width: 600px; }
    #eventscheduletable td { overflow: visible; }
}

/* Blocos recolhiveis do MyAAC (Quests, Mortes, taxas por nivel...): o botao de abrir
   ficou com altura 0 neste tema e o conteudo nunca aparecia. Ficam sempre abertos. */
.gb-content-body [id$="CollapseContainer"] { display: block !important; }
.gb-content-body .BigToggleButton { display: none; }

/* Tabela de experiencia: 3 colunas (config experiencetable_columns) cabem no painel do
   computador; no celular as colunas ficam uma embaixo da outra. */
@media (max-width: 640px) {
    .gb-content-body #ExperienceTable,
    .gb-content-body #ExperienceTable > tbody,
    .gb-content-body #ExperienceTable > tbody > tr,
    .gb-content-body #ExperienceTable > tbody > tr > td { display: block; width: 100% !important; }
    .gb-content-body #ExperienceTable > tbody > tr > td { margin-bottom: 12px; }
}

/* Minha conta: o menu da conta em coluna roubava ~160px e a tabela de personagens
   estourava o painel (coluna "Editar" cortada). Vira uma faixa de botoes no topo. */
#account-manage { padding: 0; }
#account-manage div#one { float: none; width: auto; margin-bottom: 16px; }
#account-manage div#two { margin-left: 0; padding-left: 0; }
#account-manage .vertical-menu { display: flex; flex-wrap: wrap; }
#account-manage .vertical-menu a {
    flex: 1 1 auto; padding: 8px 12px; text-align: center; font-size: 14px; white-space: nowrap;
    border-bottom: 0 !important; border-right: 1px solid rgba(107, 74, 31, .18);
}
#account-manage .vertical-menu a:last-child { border-right: 0; }
