/* Kaelmor -- stylesheet unico do site (substitui o antigo layout fixo do
 * Gesior/basic.css). Mobile-first: as regras base valem para telas
 * estreitas, o breakpoint em 900px muda pra layout de 3 colunas.
 */

:root {
    --marrom: #4a3a8c;
    --marrom-escuro: #14102b;
    --dourado: #f0a93a;
    --pergaminho: #e6e2f3;
    --pergaminho-claro: #f6f4fc;
    --tom: #a79bd6;
    --texto: #231c3a;
    --erro: #a01010;
    --ok: #0a7a0a;
    --raio: 8px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--texto);
    background: #0b0818;
}

/* Fundo: a arte da marca em tela cheia, fixa atras do conteudo (no celular rola junto: fixed e' pesado/instavel no
   iOS). Um degrade leve escurece o pe da pagina; as caixas sao de vidro fosco pra a arte aparecer por tras. */
body {
    background:
        linear-gradient(180deg, rgba(11, 8, 24, 0.05) 0, rgba(11, 8, 24, 0.20) 50%, rgba(11, 8, 24, 0.55) 100%),
        url(/static/gesior/header/kaelmor-arte-m.jpg?v=1) 28% top / cover no-repeat,
        #0b0818;
    min-height: 100vh;
}
@media (min-width: 900px) {
    body {
        background:
            linear-gradient(180deg, rgba(11, 8, 24, 0.05) 0, rgba(11, 8, 24, 0.20) 50%, rgba(11, 8, 24, 0.55) 100%),
            url(/static/gesior/header/kaelmor-arte.jpg?v=1) 14% center / cover no-repeat fixed,
            #0b0818;
    }
}

a { color: var(--marrom); }
.site-nav a, .site-aside a, .site-header a { color: inherit; }

img { max-width: 100%; }

.page {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* ---- header ------------------------------------------------------- */
.site-header {
    /* 3 colunas: logo | online | bandeiras. As laterais ocupam 1fr cada uma, entao a coluna do meio
       fica EXATAMENTE no centro da pagina, qualquer que seja a largura do logo ou das bandeiras. */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 4px 12px 10px;
    background: linear-gradient(180deg, rgba(20, 16, 43, 0.9), rgba(11, 8, 24, 0.55));
    border-bottom: 1px solid rgba(240, 169, 58, 0.35);
}
.site-header .logo { justify-self: start; }
.site-header .online-pill { justify-self: center; }
.site-header .lang-switcher { justify-self: end; }
.site-header .logo { flex-shrink: 0; }
.site-header .online-pill { flex-shrink: 0; }
.site-header .logo img { display: block; height: 48px; width: auto; }
@media (min-width: 900px) {
    .site-header .logo img { height: 75px; }
}

.lang-switcher {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    order: 3;
}
.lang-flag {
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0.55;
    filter: grayscale(60%);
}
.lang-flag:hover { opacity: 0.85; }
.lang-flag.active { opacity: 1; filter: none; background: rgba(0, 0, 0, 0.35); }

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--dourado) !important;
    font: bold 11px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}
.online-pill:hover { background: rgba(0, 0, 0, 0.75); }
.online-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4fd44f;
    box-shadow: 0 0 4px #4fd44f;
    flex: none;
}

/* ---- layout grid ---------------------------------------------------- */
.layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 14px;
    padding: 14px 12px 24px;
    width: 100%;
}
@media (min-width: 900px) {
    .layout {
        grid-template-columns: 220px minmax(0, 1fr) 220px;
    }
}

/* ---- nav / menu ------------------------------------------------------ */
/* Checkbox hack: nav-toggle-checkbox is visually hidden but stays
   focusable/tabbable via the label (for=). Details elements hide their
   content through an internal browser mechanism that plain CSS can't
   force back open, so the outer drawer uses this instead -- it's the
   part that needs to be force-shown on desktop. */
.site-nav { background: rgba(11, 8, 24, 0.50); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); border-radius: var(--raio); overflow: hidden; }
.nav-toggle-checkbox {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    overflow: hidden;
}
.nav-drawer-toggle {
    display: block;
    cursor: pointer;
    padding: 10px 12px;
    color: var(--dourado);
    font: bold 12px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    user-select: none;
}
.nav-toggle-checkbox:focus + .nav-drawer-toggle { outline: 2px solid var(--dourado); }
.nav-drawer-inner { display: none; padding: 8px; }
.nav-toggle-checkbox:checked ~ .nav-drawer-inner { display: block; }

@media (min-width: 900px) {
    .nav-drawer-toggle { display: none; }
    .nav-drawer-inner { display: block !important; }
}

.menu-categories { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.menu-cat { background: rgba(255, 255, 255, 0.04); border-radius: 6px; overflow: hidden; }
.menu-cat > summary {
    cursor: pointer;
    list-style: none;
    padding: 8px 10px;
    color: #fff;
    font: bold 11px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.menu-cat > summary::-webkit-details-marker { display: none; }
.menu-cat[open] > summary { background: rgba(240, 169, 58, 0.16); color: var(--dourado); }
.menu-cat nav { display: flex; flex-direction: column; }
.menu-cat nav a {
    padding: 7px 14px;
    text-decoration: none;
    color: var(--tom);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.menu-cat nav a:hover, .menu-cat nav a.active { color: #fff; background: rgba(255, 255, 255, 0.06); }
.menu-cat nav a.active { font-weight: bold; }

/* ---- login box -------------------------------------------------------- */
#Loginbox {
    background: rgba(11, 8, 24, 0.50);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    border-radius: var(--raio);
    padding: 10px 12px;
    margin-bottom: 10px;
    color: #eee;
    font-size: 12px;
}
#Loginbox .status { margin-bottom: 8px; }

/* ---- botoes ------------------------------------------------------------ */
.btn {
    display: inline-block;
    background: var(--marrom);
    color: #fff !important;
    border: none;
    border-radius: 5px;
    padding: 7px 14px;
    font: bold 11px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    text-align: center;
}
.btn:hover { background: #5f4cb0; }
.btn { border-radius: 6px; letter-spacing: .02em; }
.btn-block { display: block; width: 100%; }

/* ---- conteudo principal ------------------------------------------------ */
.site-main { min-width: 0; }
.content-box { display: flex; flex-direction: column; gap: 12px; }

.Box {
    background: rgba(246, 244, 252, 0.90);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    border-radius: 10px;
    border: 1px solid #cfc8e6;
    box-shadow: 0 6px 22px rgba(8, 4, 28, 0.45);
    overflow: hidden;
}
.BorderTitleText {
    background: linear-gradient(90deg, var(--marrom), #35296f);
    color: #fff;
    font: 600 12px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 9px 14px;
    border-left: 4px solid var(--dourado);
}
.Titulo-blue { background: #35296f; }
.Titulo-red { background: #6e1c1c; }
.BoxContent { padding: 10px 12px; background: transparent; }
.BoxContent p { margin: 6px 0; }
.BoxContent a { color: var(--marrom); }

/* ---- tabelas ------------------------------------------------------------ */
.Table-wrap { width: 100%; overflow-x: auto; }
table.Table { width: 100%; border-collapse: collapse; margin: 4px 0; font-size: 12px; }
table.Table th {
    background: var(--marrom);
    color: #fff;
    text-align: left;
    padding: 5px 7px;
    font-weight: bold;
    white-space: nowrap;
}
table.Table td { padding: 4px 7px; border-bottom: 1px solid #cfc8e6; }
table.Table tr.Odd td { background: var(--pergaminho); }
table.Table tr.Even td { background: var(--pergaminho-claro); }

.Online { color: var(--ok); font-weight: bold; }
.Offline { color: #888; }
.Gm { color: #8B0000; font-weight: bold; }
.Erro { color: var(--erro); font-weight: bold; }
.Ok { color: var(--ok); font-weight: bold; }
.Active { font-weight: bold; text-decoration: underline; }

/* ---- forms --------------------------------------------------------------- */
/* display:block (nao inline-block) e' o que garante que TODO campo,
   mesmo nos formularios antigos escritos como <p>Rotulo: <input></p> (sem
   <label> de verdade), sempre quebre pra uma linha propria abaixo do texto
   -- sem isso, campos com rotulo curto ficavam na mesma linha do input e
   campos com rotulo longo quebravam, um padrao inconsistente entre campos
   do mesmo formulario. */
input[type=text], input[type=password], input[type=email], select, textarea {
    display: block;
    border: 1px solid #7d74a0;
    padding: 8px 10px;
    font: 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #fff;
    border-radius: 5px;
    width: 100%;
    max-width: 320px;
    margin: 4px 0 2px;
}
textarea { resize: vertical; }

/* radio-inline: dois (ou mais) radio buttons na mesma linha -- sem isso o
   `label { display: block }' generico ai embaixo empilha cada um sozinho
   numa linha, mesmo estando lado a lado no HTML (achado no formulario de
   criar personagem, campo Sex, 2026-09-27). */
.radio-inline {
    display: inline-block;
    margin: 0 16px 0 0;
    font-weight: normal;
}

/* world-card: mesma linguagem visual dos blocos de /serverinfo (borda
   colorida + nome/taxa + descricao), so' que aqui o <label> inteiro e' a
   area clicavel do radio -- pedido explicito: escolher o mundo clicando
   no card, nao so' no circulo pequeno. */
.world-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    padding: 10px 14px;
    border-left: 4px solid #4a3a8c;
    background: #f3f1fa;
    border-radius: 4px;
    cursor: pointer;
    font-weight: normal;
}
.world-card input[type=radio] { margin-top: 4px; }
.world-card-body { display: block; }
.world-card-title { font-size: 14px; font-weight: bold; }
.world-card-rates { display: block; margin-top: 2px; font-size: 11px; color: #666; }
.world-card-desc { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: #444; }
.world-card:has(input:checked) { background: #ebe7f6; box-shadow: 0 0 0 2px #4a3a8c inset; }

/* dl-grid: cards de /downloads, um por sistema operacional (icone + nome +
   tamanho + botao), lado a lado em telas largas e 2x2 em telas estreitas. */
.dl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 12px 0;
}
@media (min-width: 560px) {
    .dl-grid { grid-template-columns: repeat(4, 1fr); }
}
.dl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1px solid #cfc8e6;
    border-radius: 6px;
    background: #f3f1fa;
    text-align: center;
}
.dl-card.disabled { opacity: 0.55; }
.dl-icon { color: var(--marrom); }
.dl-name { font-weight: bold; font-size: 13px; }
.dl-size { font-size: 11px; color: #666; }
.dl-action { width: 100%; margin-top: 2px; }
input[type=submit] {
    display: inline-block;
    background: var(--marrom);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font: bold 12px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    cursor: pointer;
    margin-top: 6px;
}
input[type=submit]:hover { background: #5f4cb0; }
label { display: block; margin: 8px 0 3px; font-weight: bold; font-size: 12px; }

.pw-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background: none;
    border: none;
    padding: 2px 4px;
    margin-left: 4px;
    color: var(--marrom);
    cursor: pointer;
}
.pw-toggle:hover { color: #5f4cb0; }

/* pw-field: input + botao-olho embutido na borda direita do proprio campo,
   em vez de ficar solto embaixo (pedido do dono do projeto, 2026-09-27). */
.pw-field {
    position: relative;
    display: inline-block;
}
.pw-field input {
    padding-right: 30px;
    box-sizing: border-box;
}
.pw-field .pw-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    margin-left: 0;
}

/* flabel: coluna de rotulo com largura fixa, pra os campos de um formulario
   alinharem entre si em vez de cada input comecar num X diferente conforme
   o tamanho do texto do rotulo (pedido do dono do projeto, 2026-09-27). */
.flabel { display: inline-block; width: 150px; }
.flabel-wide { display: inline-block; width: 230px; }

/* ---- aside / themeboxes --------------------------------------------------- */
.site-aside { display: flex; flex-direction: column; gap: 10px; }
.Themebox {
    background: rgba(0, 0, 0, 0.55);
    border-radius: var(--raio);
    padding: 12px;
    color: #eee;
    font-size: 12px;
    text-align: center;
}
.Themebox p { margin: 0 0 10px; }

/* ---- news ticker / headline (home) ---------------------------------------- */
.Row { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.Row .data { font-size: 10px; color: #7d74a0; }
.Row .texto { font-size: 12px; color: var(--texto); flex: 1 1 220px; }
.Row .btn { white-space: nowrap; }

/* mon-list: cards da pagina de /monsters -- imagem da criatura (baixada da
   Tibia Wiki, ver monstros.py) + stats + loot real extraido dos .mon. */
.mon-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mon-card {
    display: flex; gap: 14px; padding: 12px 14px;
    border: 1px solid #cfc8e6; border-radius: 6px; background: #f3f1fa;
}
.mon-icon {
    flex: 0 0 auto; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
}
.mon-icon img { image-rendering: pixelated; max-width: 100%; max-height: 100%; }
.mon-main { flex: 1 1 auto; min-width: 0; }
.mon-name { font-size: 15px; font-weight: bold; color: var(--marrom); }
.mon-stats { font-size: 11px; color: #666; margin-top: 2px; }
.mon-loot-title {
    font-size: 11px; font-weight: bold; color: #555; margin: 8px 0 3px;
    text-transform: uppercase; letter-spacing: .03em;
}
.mon-loot { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.mon-loot .pct { color: #8a7dc4; font-weight: bold; margin-right: 3px; }

.NewsHeadline {
    background: var(--marrom);
    color: #fff;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.NewsHeadline .data { font-size: 10px; opacity: 0.8; }
.NewsHeadline .texto { font: bold 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* ---- polls ------------------------------------------------------------------ */
.poll-bar-track { background: #cfc8e6; border-radius: 4px; overflow: hidden; height: 14px; flex: 1; min-width: 80px; }
.poll-bar-fill { background: var(--marrom); height: 100%; }
.poll-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; flex-wrap: wrap; }
.poll-row .label { flex: 0 0 140px; font-size: 12px; }
.poll-row .pct { font-size: 11px; width: 40px; text-align: right; }

/* ---- footer ------------------------------------------------------------------ */
.site-footer {
    text-align: center;
    padding: 12px;
    color: var(--tom);
    background: rgba(0, 0, 0, 0.4);
    font-size: 11px;
}


/* ---- telas estreitas: nada pode alargar a pagina ------------------- */
@media (max-width: 560px) {
    /* celular: tudo na MESMA linha (logo | online | bandeiras), contador no centro exato.
       Tudo encolhe pra caber; as colunas laterais seguem em 1fr cada. */
    .site-header { gap: 6px; padding: 4px 8px 8px; }
    .site-header .logo img { height: clamp(24px, 8.2vw, 34px); }
    .site-header .online-pill { font-size: 10px; padding: 5px 8px; gap: 5px; }
    .lang-switcher { gap: 0; }
    .lang-flag { font-size: 15px; padding: 3px; }
    .page, .site-main, .site-aside { min-width: 0; }
    /* tabelas ocupam a largura toda do bloco (como antes) e quebram texto longo em vez de alargar a pagina */
    table { width: 100%; max-width: 100%; }
    td, th { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
    .site-header .online-pill { font-size: 9px; padding: 4px 6px; gap: 4px; }
    .lang-flag { font-size: 13px; padding: 2px; }
}

/* SEO: H1 oculto (mesmo texto do titulo da caixa) e bloco de abertura da home */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* bloco de abertura da home (hero): mesmas cores das caixas do site (pergaminho claro, titulo azul, cartoes dos mundos nas cores de cada mundo) */
.hero { position:relative; overflow:hidden; border-radius:12px; padding:24px 26px 22px;
        background:radial-gradient(520px 220px at 100% 0, rgba(240,169,58,.14), transparent 70%), rgba(246,244,252,.92);
        -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px);
        border:1px solid #cfc8e6; border-top:4px solid var(--dourado);
        box-shadow:0 6px 22px rgba(8,4,28,.45); color:var(--texto); }
.hero-h1 { margin:0 0 10px; font:700 24px/1.25 Georgia,"Times New Roman",serif; color:var(--marrom); text-wrap:balance; }
.hero-lead { margin:0 0 14px; max-width:64ch; font-size:13px; line-height:1.65; color:var(--texto); }
.hero-chips { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; padding:0; list-style:none; }
.hero-chips li { font-size:11px; padding:3px 11px; border-radius:99px; color:var(--marrom); background:var(--pergaminho); border:1px solid var(--tom); }
.hero-worlds { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 18px; }
.hero-world { display:flex; flex-direction:column; gap:2px; padding:10px 14px 11px; border-radius:6px; text-decoration:none !important;
              background:#fff; border:1px solid var(--tom); border-left:4px solid var(--wc,#4a3a8c); transition:background .15s, box-shadow .15s; }
.hero-world:hover { background:var(--pergaminho); box-shadow:0 1px 4px rgba(0,0,0,.2); }
.hw-auronis { --wc:#4a3a8c; } .hw-thalmor { --wc:#2f6f5e; } .hw-pyrion { --wc:#c2561a; } .hw-vorthal { --wc:#c2561a; }
.hw-rate { font:700 28px/1.1 Georgia,"Times New Roman",serif; color:var(--wc); }
.hw-name { font:bold 13px system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color:var(--texto); }
.hw-desc { font-size:11.5px; line-height:1.4; color:#5a5272; }
.hero-cta { display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; }
.hero-btn { display:inline-block; padding:10px 20px; border-radius:5px; font:bold 13px system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; text-decoration:none !important; text-align:center; }
.hero-btn.primary { background:var(--dourado); color:#14102b !important; box-shadow:0 2px 0 #b97a14; }
.hero-btn.primary:hover { background:#f5bd62; }
.hero-btn.ghost { color:var(--marrom) !important; border:1px solid var(--marrom); background:#fff; }
.hero-btn.ghost:hover { background:var(--pergaminho); }
.hero-links { font-size:12px; color:#5a5272; }
.hero-links a { color:var(--marrom) !important; }
@media (max-width:640px) {
    .hero { padding:16px 14px 14px; }
    .hero-h1 { font-size:20px; }
    .hero-worlds { grid-template-columns:1fr; }
    .hero-world { display:grid; grid-template-columns:62px 1fr; column-gap:10px; align-items:center; padding:8px 12px; }
    .hw-rate { grid-row:1 / 3; font-size:26px; }
    .hw-name, .hw-desc { grid-column:2; }
    .hero-btn { flex:1 1 100%; }
}
.faq-q { font-size:14px; margin:14px 0 2px; color:#4a3a8c; }
.guide-steps { padding-left:20px; line-height:1.6; }
.guide-steps li { margin-bottom:10px; }

/* home: "o que voce encontra" (cartoes de link) */
.feat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.feat { display:flex; flex-direction:column; gap:3px; padding:10px 12px; border-radius:6px; background:#fff; border:1px solid var(--tom);
        text-decoration:none !important; color:var(--texto) !important; transition:background .15s, box-shadow .15s; }
.feat:hover { background:var(--pergaminho); box-shadow:0 1px 4px rgba(0,0,0,.2); }
.feat b { font:bold 13px system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color:var(--marrom); }
.feat span { font-size:11.5px; line-height:1.45; color:#5a5272; }
@media (max-width:900px) { .feat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px) { .feat-grid { grid-template-columns:1fr; } }

.news-ico { display:inline-block; flex:none; width:16px; height:16px; background-repeat:no-repeat; background-size:16px 16px; }

/* ---- Vocation Badges & Tooltips ---- */
.voc-icons-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}
.voc-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
    user-select: none;
    vertical-align: middle;
}
.voc-badge:hover {
    transform: translateY(-2px) scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
    z-index: 10;
}
.voc-badge img {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
    pointer-events: none;
}
.voc-badge.voc-sorcerer {
    background: linear-gradient(135deg, #f6e8ff, #ded0f7);
    border-color: #8c60ba;
}
.voc-badge.voc-sorcerer:hover {
    box-shadow: 0 0 8px rgba(140, 96, 186, 0.6);
}
.voc-badge.voc-druid {
    background: linear-gradient(135deg, #e4f7e9, #c3edd0);
    border-color: #3b9c5a;
}
.voc-badge.voc-druid:hover {
    box-shadow: 0 0 8px rgba(59, 156, 90, 0.6);
}
.voc-badge.voc-paladin {
    background: linear-gradient(135deg, #fff7dc, #fae59d);
    border-color: #d19a17;
}
.voc-badge.voc-paladin:hover {
    box-shadow: 0 0 8px rgba(209, 154, 23, 0.6);
}
.voc-badge.voc-knight {
    background: linear-gradient(135deg, #ffe8e8, #f5c4c4);
    border-color: #ba4343;
}
.voc-badge.voc-knight:hover {
    box-shadow: 0 0 8px rgba(186, 67, 67, 0.6);
}
.voc-badge.voc-none {
    background: linear-gradient(135deg, #f0f0f0, #dfdfdf);
    border-color: #888;
}
.voc-badge[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #14102b;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #7d74a0;
    z-index: 99;
}
.voc-badge[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #14102b transparent transparent transparent;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 99;
}
.voc-badge:hover[data-tooltip]::before,
.voc-badge:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.voc-with-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    vertical-align: middle;
}
.voc-with-name span {
    font-weight: 500;
}
