/* Redesenho global (ideias do pristontale.eu, visual proprio do Epic). Carregado depois de publicas.css. */
:root { --rd-gold: #d6a640; --rd-gold2: #e2bc6a; --rd-line: rgba(214,166,64,.35); --rd-card: rgba(14,12,8,.86); }

/* menu: Item Mall e Download em destaque */
.nk-navbar .nk-nav > li.nav-cta > a { margin: 0 4px; padding: 6px 14px !important; border: 1px solid var(--rd-line); background: rgba(214,166,64,.08); }
.nk-navbar .nk-nav > li.nav-cta > a:hover { border-color: var(--rd-gold); background: rgba(214,166,64,.2); }
.nk-navbar .nk-nav > li.nav-cta-solid > a { background: linear-gradient(180deg, var(--rd-gold2), #b88a2f); border-color: var(--rd-gold2); color: #111 !important; }
.nk-navbar .nk-nav > li.nav-cta-solid > a:hover { background: #fff; color: #111 !important; }

/* titulo das paginas internas com ornamento */
.page-top-space + .container h1.nk-title, .page-top-space ~ .container > h1.nk-title { position: relative; padding-bottom: 18px; }
.page-top-space + .container h1.nk-title::after, .page-top-space ~ .container > h1.nk-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 180px; height: 9px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--rd-gold) 45%, var(--rd-gold) 55%, transparent) center / 100% 1px no-repeat, radial-gradient(circle, var(--rd-gold) 3px, transparent 4px) center / 9px 9px no-repeat; }

/* abas (ranking) no mesmo estilo das abas do Mall */
.nav-tabs { border: 1px solid var(--rd-line); background: rgba(8,8,8,.7); padding: 6px 8px; gap: 4px; justify-content: center; }
.nav-tabs .nav-link { border: 1px solid transparent !important; border-radius: 0 !important; color: #ddd !important; font-family: 'Marcellus SC', serif; letter-spacing: .04em; background: transparent !important; }
.nav-tabs .nav-link:hover { color: var(--rd-gold) !important; border-color: var(--rd-line) !important; }
.nav-tabs .nav-link.active { background: linear-gradient(180deg, var(--rd-gold2), #b88a2f) !important; color: #111 !important; border-color: var(--rd-gold2) !important; }

/* barra Database / Guide */
.guide-nav { border: 1px solid var(--rd-line) !important; background: rgba(8,8,8,.75) !important; box-shadow: inset 0 0 0 4px rgba(0,0,0,.55), inset 0 0 0 5px rgba(214,166,64,.14); }
.guide-nav a { border-radius: 0 !important; }
.guide-nav a.on { background: linear-gradient(180deg, var(--rd-gold2), #b88a2f) !important; border-color: var(--rd-gold2) !important; color: #111 !important; }

/* tabelas (ranking, banco de dados) */
.rank-wrap { border: 1px solid var(--rd-line); background: var(--rd-card); box-shadow: inset 0 0 0 4px rgba(0,0,0,.55), inset 0 0 0 5px rgba(214,166,64,.12); }
.rank-table thead th { background: linear-gradient(180deg, rgba(214,166,64,.18), rgba(214,166,64,.05)); border-bottom: 1px solid var(--rd-line) !important; color: var(--rd-gold) !important; }
.rank-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.05); }
.rank-table tbody tr:hover { background: rgba(214,166,64,.08) !important; }

/* noticias: cartao com moldura e capa com zoom */
.nk-blog-post { background: var(--rd-card); border: 1px solid var(--rd-line); box-shadow: inset 0 0 0 4px rgba(0,0,0,.55), inset 0 0 0 5px rgba(214,166,64,.12); transition: transform .2s, border-color .2s; }
.nk-blog-post:hover { transform: translateY(-4px); border-color: var(--rd-gold); }
.nk-blog-post .nk-post-thumb { overflow: hidden; }
.nk-blog-post .nk-post-thumb img { transition: transform .4s; aspect-ratio: 16 / 9; object-fit: cover; }
.nk-blog-post:hover .nk-post-thumb img { transform: scale(1.05); }
.nk-blog-post .nk-post-content { padding: 14px 16px 16px; }
.nk-blog-post .nk-post-title a { color: #f1e4c4; }
.nk-blog-post .nk-post-title a:hover { color: var(--rd-gold); }
.nk-blog-post .nk-post-date { color: var(--rd-gold); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

/* botoes */
.nk-btn.nk-btn-color-main-1 { box-shadow: 0 0 0 rgba(214,166,64,0); transition: box-shadow .2s, background .2s, color .2s; }
.nk-btn.nk-btn-color-main-1:hover { box-shadow: 0 0 18px rgba(214,166,64,.45); }

/* cards genericos (conta, guias, download) */
.db-card, .dl-driver, .guide-card { box-shadow: inset 0 0 0 4px rgba(0,0,0,.5), inset 0 0 0 5px rgba(214,166,64,.12); }

@media (max-width: 991px) { .nk-navbar .nk-nav > li.nav-cta > a { margin: 0; } }

/* ===== celular ===== */
@media (max-width: 420px) {
  .nk-navbar.nk-navbar-top .nk-nav-logo { display: table-cell !important; }
  .nk-navbar .nk-nav-logo img { width: 40px; }
}
@media (max-width: 991px) {
  .nk-navbar.nk-navbar-solid, .nk-navbar.nk-navbar-fixed { background-color: rgba(8,8,8,.94) !important; }
  .pt-foot { padding-bottom: 86px; }
  .hn-hero-btns .nk-btn { min-width: 140px; }
  .cl-path a { min-width: 0; padding: 8px 12px; }
  .mall-hero-title, .cl-title { word-break: break-word; }
}

/* grade de classes da home: 13 cartoes centralizados */
.hn-class-grid { display: flex !important; flex-wrap: wrap; justify-content: center; }
.hn-class-grid .hn-class { flex: 0 0 calc(25% - 12px); } /* 16 classes = grade 4x4 */
@media (max-width: 767px) { .hn-class-grid .hn-class { flex-basis: calc(50% - 8px); } }

/* celular: barra Database/Guide rola na horizontal em vez de ocupar meia tela */
@media (max-width: 767px) {
  .guide-nav { padding: 8px 10px !important; }
  .guide-nav-row { flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .guide-nav-row::-webkit-scrollbar { display: none; }
  .guide-nav-row a { flex: 0 0 auto; white-space: nowrap; }
  .guide-nav-label { flex: 0 0 auto; min-width: 0 !important; margin-right: 4px; }
}
/* aviso de cookies com fundo solido e acima do botao Suporte */
.nk-cookie-alert { background: rgba(10,9,6,.97) !important; border: 1px solid rgba(214,166,64,.45); box-shadow: 0 -6px 24px rgba(0,0,0,.6); z-index: 10050 !important; }
.nk-cookie-alert a { color: #d6a640; }

/* pagina de classe: tribo e classe inicial */
.cl-tribe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cl-tribe-badge { display: inline-block; padding: 3px 10px; font-size: .78rem; letter-spacing: .04em; border: 1px solid rgba(214,166,64,.4); background: rgba(14,12,8,.8); color: #cfc7b4; }
.cl-tribe-badge b { color: #f1e4c4; font-weight: 600; }
.cl-tribe-morion { border-color: rgba(120,160,255,.55); }
.cl-tribe-tempskron { border-color: rgba(230,120,70,.6); }
.cl-tribe-sophetio { border-color: rgba(120,200,120,.55); }

/* contraste (Lighthouse): data das noticias e titulos h2 dos cartoes da home */
.nk-blog-post .nk-post-date { color: #d9b25c !important; opacity: 1 !important; }
.hn-pcard h2 { color: #d6a640; margin-bottom: 12px; }

/* links dentro de texto (cadastro/login): sublinhado para nao depender so da cor */
.conta-check a, .conta-links a, .conta-ajuda a, .guide-lead a, .reg-aviso a { text-decoration: underline; text-underline-offset: 2px; }

/* cabecalho ordenavel: area de toque minima de 24px */
.rank-table thead th.sortable a, .rank-table thead th a { display: inline-block; min-height: 28px; line-height: 28px; padding: 0 4px; }

/* login / recuperar / ativar: foto e formulario com a mesma altura (a foto passava do formulario) */
@media (min-width: 992px) {
  .conta-wrap.conta-estreito { grid-template-rows: auto auto 1fr; }
  .conta-wrap.conta-estreito::before { grid-row: 1 / 4 !important; min-height: 0 !important; border-top: 3px solid #d6a640; }
  .conta-wrap.conta-estreito::after { grid-row: 3 !important; }
  .conta-wrap.conta-estreito .conta-card { grid-row: 3; min-height: 380px; display: flex; flex-direction: column; justify-content: center; }
}

/* suporte: categoria do ticket em cartoes */
.sup-cats { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sup-cats legend { grid-column: 1 / -1; font-size: .95rem; color: #ddd; margin-bottom: 8px; }
.sup-cat { position: relative; margin: 0 !important; cursor: pointer; }
.sup-cat input { position: absolute; opacity: 0; inset: 0; }
.sup-cat-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px 12px; background: rgba(14,12,8,.8); border: 1px solid rgba(214,166,64,.3); transition: border-color .15s, background .15s; }
.sup-cat-box .svg-inline--fa, .sup-cat-box .fa { color: #d6a640; font-size: 1.3rem; }
.sup-cat-box b { color: #f1e4c4; font-size: 1.08rem; }
.sup-cat-box small { color: #b3a789; font-size: .9rem; line-height: 1.4; }
.sup-cat:hover .sup-cat-box { border-color: #d6a640; }
.sup-cat input:checked + .sup-cat-box { border-color: #d6a640; background: rgba(214,166,64,.16); box-shadow: inset 0 0 0 1px #d6a640; }
.sup-cat input:focus-visible + .sup-cat-box { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) { .sup-cats { grid-template-columns: repeat(2, 1fr); } }

/* menu, canto direito: mesmo espaco entre idioma, usuario/saldo e o botao de entrar */
.nk-navbar .nk-nav-right.nk-nav-icons > li { vertical-align: middle; }
.nk-navbar .nk-nav-right.nk-nav-icons > li + li { margin-left: 16px; }
.nk-lang { gap: 8px !important; }
.conta-chip { gap: 6px !important; padding: 6px 12px !important; border: 1px solid rgba(214,166,64,.35); background: rgba(214,166,64,.07); line-height: 1; }
.conta-chip > .fa, .conta-chip > .svg-inline--fa { margin-right: 7px; }
.conta-chip b { padding-left: 8px; margin-left: 2px; border-left: 1px solid rgba(214,166,64,.35); }
.conta-chip:hover { border-color: #d6a640; background: rgba(214,166,64,.16); }
@media (max-width: 991px) { .nk-navbar .nk-nav-right.nk-nav-icons > li + li { margin-left: 12px; } }

/* banner da home: texto legivel em cima da foto */
.nk-header-title .nk-header-text { position: relative; padding: 30px 34px 28px; }
.nk-header-title .nk-header-text::before { content: ""; position: absolute; inset: -40px -80px; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 72%); pointer-events: none; }
.nk-header-title .nk-title.display-3 { text-shadow: 0 3px 18px rgba(0,0,0,.95), 0 0 2px #000; }
.hn-hero-lead { font-size: 1.15rem !important; color: #fff !important; text-shadow: 0 2px 10px #000, 0 0 2px #000 !important; max-width: 640px; }
.hn-hero-btns .nk-btn-color-main-1 { background: linear-gradient(180deg, #e2bc6a, #b88a2f) !important; border-color: #e2bc6a !important; color: #111 !important; }
.hn-hero-btns .nk-btn-color-main-1:hover { background: #fff !important; }
.hn-hero-btns .nk-btn:not(.nk-btn-color-main-1) { background: rgba(0,0,0,.6) !important; }

/* home: botoes do banner (conta = dourado, baixar = verde) */
.hn-btn-conta, .hn-btn-baixar { min-width: 230px; border-radius: 4px !important; font-weight: 700; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.hn-btn-conta { background: linear-gradient(180deg, #f0c866, #c08a2c) !important; border: 1px solid #f0c866 !important; color: #1a1206 !important; }
.hn-btn-baixar { background: linear-gradient(180deg, #2fb36f, #1c7d4b) !important; border: 1px solid #3fd085 !important; color: #fff !important; }
.hn-btn-conta:hover, .hn-btn-baixar:hover { filter: brightness(1.1); transform: translateY(-1px); }
@media (max-width: 575px) { .hn-btn-conta, .hn-btn-baixar { min-width: 0; width: 100%; } }
.hn-counts .nk-count { color: #d6a640; }
.hn-count-sub { color: #a89c80; font-size: .82rem; margin-top: 4px; }

/* paginas internas: o menu ja reserva o topo; tira o espaco vazio extra */
.conta-wrap { padding-top: 28px !important; }
.page-top-space { height: 24px !important; }
.page-top-space + .container > .nk-gap-3:first-child, .page-top-space + .container > .nk-gap-4:first-child { height: 0 !important; display: none; }
.mall-hero { padding: 36px 0 24px !important; }
.mall-hero-title { font-size: 2.4rem !important; margin: 4px 0 6px !important; }
@media (max-width: 575px) { .conta-wrap { padding-top: 16px !important; } .mall-hero { padding: 24px 0 18px !important; } }

/* suporte: abas de filtro por situacao */
.sup-filtros { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.sup-filtros button { padding: 6px 14px; background: rgba(8,8,8,.7); border: 1px solid rgba(214,166,64,.3); color: #ddd; font-family: 'Marcellus SC', serif; cursor: pointer; }
.sup-filtros button b { color: #d6a640; margin-left: 4px; }
.sup-filtros button:hover { border-color: #d6a640; }
.sup-filtros button.on { background: linear-gradient(180deg, #e2bc6a, #b88a2f); border-color: #e2bc6a; color: #111; }
.sup-filtros button.on b { color: #111; }
.sup-pag { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.sup-pag button { min-width: 36px; padding: 6px 10px; background: rgba(8,8,8,.7); border: 1px solid rgba(214,166,64,.3); color: #ddd; cursor: pointer; }
.sup-pag button:hover:not([disabled]) { border-color: #d6a640; }
.sup-pag button.on { background: linear-gradient(180deg, #e2bc6a, #b88a2f); border-color: #e2bc6a; color: #111; }
.sup-pag button[disabled] { opacity: .35; cursor: default; }

/* suporte: faixa de ajuda (Discord, redes, dicas) */
.sup-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 10px; }
.sup-x { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 16px; background: rgba(14,12,8,.82); border: 1px solid rgba(214,166,64,.3); box-shadow: inset 0 0 0 4px rgba(0,0,0,.5), inset 0 0 0 5px rgba(214,166,64,.1); }
.sup-x-ico { flex: 0 0 auto; font-size: 1.6rem; color: #d6a640; margin-top: 2px; }
.sup-x h3 { font-size: 1.05rem; margin: 0 0 6px; color: #f1e4c4; }
.sup-x p, .sup-x li { font-size: .86rem; color: #cfc7b4; line-height: 1.45; margin: 0 0 8px; }
.sup-x ul { margin: 0; padding-left: 16px; }
.sup-x ul li { margin: 0 0 4px; }
.sup-x-btn { display: inline-block; margin: 2px 6px 0 0; padding: 5px 12px; border: 1px solid #d6a640; color: #d6a640 !important; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none !important; }
.sup-x-btn:hover { background: #d6a640; color: #111 !important; }
@media (max-width: 991px) { .sup-extra { grid-template-columns: 1fr; } }

/* suporte: anexo de imagem */
.sup-anexo { margin: -4px 0 16px; padding: 12px 14px; border: 1px dashed rgba(214,166,64,.45); background: rgba(14,12,8,.6); }
.sup-anexo label { display: block; margin: 0 0 6px; color: #f1e4c4; font-size: .9rem; }
.sup-anexo label .svg-inline--fa { color: #d6a640; margin-right: 6px; transform: rotate(180deg); }
.sup-anexo-input { display: block; width: 100%; color: #cfc7b4; font-size: .85rem; }
.sup-anexo small { display: block; margin-top: 6px; color: #8d8d8d; font-size: .78rem; }
.sup-img { display: inline-block; margin-top: 8px; border: 1px solid rgba(214,166,64,.4); }
.sup-img img { display: block; max-width: 320px; max-height: 240px; width: auto; height: auto; }

/* classes com retrato (arte nova) */
.hn-class.hn-class-arte { padding: 0 0 12px !important; overflow: hidden; gap: 10px; }
.hn-class.hn-class-arte img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; image-rendering: auto !important; filter: none !important; transition: transform .35s; }
.hn-class.hn-class-arte:hover img { transform: scale(1.05); }
.hn-class.hn-class-arte span { font-size: 1rem; }
.db-classgrid { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 991px) { .db-classgrid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 575px) { .db-classgrid { grid-template-columns: repeat(2, 1fr) !important; } }
.cl-hero-arte { width: 180px; height: 240px; object-fit: cover; border: 1px solid rgba(214,166,64,.5); box-shadow: 0 8px 26px rgba(0,0,0,.6), 0 0 0 4px rgba(0,0,0,.5); }
@media (max-width: 575px) { .cl-hero { flex-direction: column; text-align: center; } .cl-hero-arte { width: 150px; height: 200px; } .cl-tribe { justify-content: center; } }
.hn-hero-btns .nk-btn.hn-btn-conta { background: linear-gradient(180deg, #f0c866, #c08a2c) !important; border: 1px solid #f0c866 !important; color: #1a1206 !important; }
.hn-hero-btns .nk-btn.hn-btn-baixar { background: linear-gradient(180deg, #2fb36f, #1c7d4b) !important; border: 1px solid #3fd085 !important; color: #fff !important; }
.hn-hero-btns .nk-btn.hn-btn-conta span, .hn-hero-btns .nk-btn.hn-btn-baixar span { color: inherit !important; }
/* titulos de coluna das tabelas nao quebram (REPLIES + seta) */
.conta-tabela thead th, .rank-table thead th { white-space: nowrap; }

.sup-autor { color: #8fc1ff; font-weight: 600; margin-right: 4px; }

.sup-pag-gap { align-self: center; color: #888; padding: 0 4px; }

/* suporte: bloco de conta para GM */
.sup-gminfo { border: 1px solid rgba(143,193,255,.35); background: rgba(20,40,70,.25); padding: 12px 14px; margin: 0 0 16px; }
.sup-gminfo-top { margin-bottom: 8px; }
.sup-gminfo-top a { color: #8fc1ff; }
.sup-gminfo-id { color: #8d8d8d; font-size: .85em; }
.sup-gminfo-chars { margin: 0; font-size: .9rem; }

/* noticia: corpo limpo, subtitulo destacado, texto alinhado a esquerda */
.hn-title { font-size: clamp(2rem, 4vw, 2.8rem); color: #e2bc6a; margin-bottom: 10px; }
.hn-body, .hn-body p, .hn-body div, .hn-body td { text-align: left !important; }
.hn-body table, .hn-body tbody, .hn-body tr, .hn-body td { display: block; width: auto !important; border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.hn-body blockquote { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.hn-body hr { border: 0; border-top: 1px solid rgba(214,166,64,.25); margin: 22px 0; }
.hn-body h3 { font-family: 'Marcellus SC', serif; color: #fff; font-size: 1.5rem; margin: 6px 0 18px; padding-bottom: 10px; border-bottom: 2px solid rgba(214,166,64,.5); text-align: left; }
.hn-body p { font-size: 1.05rem; line-height: 1.75; color: #d8d4c8; margin: 0 0 14px; }
.hn-body img { display: inline-block; }

/* celular: o botão flutuante "Support" tampava campos e tabelas; o Suporte continua no menu */
@media (max-width: 767px) { .nk-side-buttons .nk-btn[href*="support"] { display: none !important; } }

/* celular: "Priston Tale 2" numa linha, "Epic" embaixo, e o bloco do banner mais para cima */
@media (max-width: 767px) {
  .hn-hero-title { font-size: clamp(2rem, 10.5vw, 2.6rem) !important; line-height: 1.08 !important; }
  .hn-hero-title .hn-t1 { display: block; white-space: nowrap; }
  .hn-hero-title .hn-gold { display: block; margin-top: 4px; }
  .nk-header-title-lg .nk-header-table-cell { vertical-align: top !important; padding-top: 12vh !important; }
}

/* News no celular: cartões quase encostando no título e menos espaço entre eles */
@media (max-width: 767px) {
  .news-gap-topo { height: 8px !important; }
  #newsContainer .nk-blog-post { margin-bottom: 22px !important; }
}

/* notícia aberta: texto num cartão escuro (legível sobre qualquer fundo) e ritmo compacto */
.hn-article, article.hn-art, .hn-post { }
.hn-body { background: rgba(10,7,5,.82); border: 1px solid rgba(179,136,83,.2); border-radius: 6px; padding: 22px 24px; }
.hn-body p, .hn-body blockquote { margin: 0 0 .9em !important; }
.hn-body p:empty, .hn-body td:empty, .hn-body div:empty { display: none; }
.hn-body table, .hn-body tbody, .hn-body tr, .hn-body td { display: block; width: auto !important; border: 0 !important; padding: 0 !important; }
.hn-body blockquote { border: 0; padding: 0; }
.hn-body hr { margin: 14px 0; border-color: rgba(179,136,83,.25); }
.hn-body h3 { margin: 0 0 .7em; }
@media (max-width: 767px) {
  .hn-body { padding: 16px 14px; font-size: 15px; line-height: 1.6; }
  .hn-body p, .hn-body blockquote { margin-bottom: .75em !important; }
}

/* login/recuperar/ativar no celular: sem a faixa de foto em cima do formulário (só ocupava espaço) */
@media (max-width: 991px) { .conta-wrap.conta-estreito::before { display: none !important; } }

/* rodapé padrão das notícias: Discord + parceiro NoPing */
.hn-comunidade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid rgba(214,166,64,.25); }
.hn-com { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(214,166,64,.25); border-radius: 8px; background: rgba(255,255,255,.03); color: #f0e6cc !important; text-decoration: none !important; transition: border-color .2s, background .2s; }
.hn-com:hover { border-color: #d6a640; background: rgba(214,166,64,.08); }
.hn-com__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; }
.hn-com--discord .hn-com__ic { background: #5865F2; color: #fff; font-size: 24px; }
.hn-com--noping .hn-com__ic { background: #0f1b2d; }
.hn-com--noping .hn-com__ic img { width: 100%; height: 100%; object-fit: contain; }
.hn-com__t b { display: block; font-size: .95rem; }
.hn-com__t small { display: block; font-size: .78rem; color: #b8aa8c; line-height: 1.4; }
.hn-com__t code { padding: 1px 6px; border-radius: 3px; background: rgba(214,166,64,.18); color: #f1c765; font-size: .78rem; }
.hn-body .hn-assina { margin: 14px 0 0 !important; font-weight: 700; color: #f0e6cc; }
@media (max-width: 575px) { .hn-comunidade { grid-template-columns: 1fr; } }

/* celular: a moldura rasgada fixa "flutuava" no meio da tela no iPhone (barra do Safari muda a altura) */
@media (max-width: 767px) { .nk-page-border { display: none !important; } }

/* ranking: emblema e nome do clã sempre na mesma linha; nome longo encurta com "…" */
.rank-table td img.emblem { flex: none; }
.rank-table td:has(> img.emblem) { white-space: nowrap; }
.rank-table td > img.emblem + a { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
@media (max-width: 767px) {
  .rank-table { font-size: 14px; }
  .rank-table th, .rank-table td { padding: 10px 6px !important; }
  .rank-table td > img.emblem + a { max-width: 118px; }
  .rank-table td img.emblem { width: 20px; height: 20px; margin-right: 6px; vertical-align: middle; }
}
@media (max-width: 767px) {
  .rank-table { table-layout: auto; width: 100% !important; min-width: 0 !important; }
  .rank-table td, .rank-table th { white-space: nowrap; }
  .rank-table td:nth-child(3) { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
  .rank-table td > img.emblem + a { max-width: 104px; }
}
@media (max-width: 767px) {
  .rk-clas th:nth-child(3), .rk-clas td:nth-child(3), .rk-clas th:nth-child(7), .rk-clas td:nth-child(7) { display: none; }
  .rank-table thead th { font-size: 11px !important; letter-spacing: .02em; }
  .rk-clas td > img.emblem + a { max-width: 128px; }
}
@media (max-width: 767px) {
  .rk-clas th, .rk-clas td { padding: 9px 4px !important; }
  .rk-clas thead th { font-size: 10px !important; }
  .rk-clas td > img.emblem + a { max-width: 96px; }
}
@media (max-width: 767px) {
  .rk-play th, .rk-play td { padding: 9px 4px !important; }
  .rk-play thead th { font-size: 10px !important; }
  .rk-play td:nth-child(2), .rk-play td:nth-child(3) { max-width: 88px; overflow: hidden; text-overflow: ellipsis; }
  .rk-play td:nth-child(5) { max-width: 108px; overflow: hidden; text-overflow: ellipsis; }
  .rk-play td img { width: 20px; height: 20px; vertical-align: middle; }
}
@media (max-width: 767px) { .rk-play td:nth-child(2), .rk-play td:nth-child(3) { max-width: 80px; } .rk-play td:nth-child(5) { max-width: 96px; } }

/* rodapé: copyright em 2 linhas certas, nada de palavra solta */
.pt-foot-copy .nw { white-space: nowrap; }
.pt-foot-copy .pt-foot-rr { display: block; margin-top: 2px; opacity: .75; }
@media (max-width: 767px) {
  .pt-foot { margin-top: 24px !important; padding: 46px 0 24px !important; }
  .pt-foot-socs { margin-bottom: 18px !important; gap: 10px !important; }
  .pt-foot-soc { width: 40px !important; height: 40px !important; }
  .pt-foot-logo img { height: 58px !important; }
  .pt-foot-links { margin: 14px 0 8px !important; font-size: .82rem !important; }
  .pt-foot-copy { font-size: .78rem !important; line-height: 1.5 !important; padding: 0 8px; }
  /* sobra de espaço vazio no fim das páginas antes do rodapé */
  main > .container > .nk-gap-4:last-child, .container > .nk-gap-4:last-child { height: 16px !important; }
}
/* celular: botão "voltar ao topo" fixo também ficava solto no iPhone (mesma causa da moldura) */
@media (max-width: 767px) { .nk-side-buttons, .nk-scroll-top { display: none !important; } }

/* traduzir noticia */
.hn-trad{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px;padding:10px 12px;border:1px solid rgba(212,168,75,.35);border-radius:6px;background:rgba(20,16,12,.7)}
.hn-trad .fa{color:#d4a84b;font-size:20px}
.hn-trad select{min-height:40px;padding:0 10px;background:#14100c;color:#e8e0d0;border:1px solid #4a3a1e;border-radius:4px}
.hn-trad-btn{min-height:40px;padding:0 16px;background:#d4a84b;color:#1a1205;border:0;border-radius:4px;font-weight:700;cursor:pointer}
.hn-trad-btn:disabled{opacity:.6;cursor:wait}
.hn-trad-st{font-size:13px;color:#b9ad92}

/* ranking no celular (versao final): so as colunas que cabem; clan sem "Criado em"/"Ativos"/"Lider"; jogador mostra so o emblema do cla e a classe quebra linha */
@media (max-width: 767px) {
  .rk-clas th:nth-child(3), .rk-clas td:nth-child(3),
  .rk-clas th:nth-child(7), .rk-clas td:nth-child(7),
  .rk-clas th:nth-child(8), .rk-clas td:nth-child(8) { display: none !important; }
  .rk-clas td:nth-child(2) { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
  .rk-clas td > img.emblem + a { max-width: 140px; }
  .rk-play td:nth-child(2) { max-width: 118px !important; overflow: hidden; text-overflow: ellipsis; }
  .rk-play td:nth-child(3) { max-width: 44px !important; text-align: center; }
  .rk-play td:nth-child(3) a { display: none !important; }
  .rk-play th:nth-child(3) { text-align: center; }
  .rk-play td:nth-child(5) { max-width: none !important; white-space: normal !important; line-height: 1.15; overflow: visible !important; text-overflow: clip !important; }
  .rk-play td:nth-child(5) img { width: 22px; height: 22px; margin-right: 4px; }
}

/* aviso de cookies: botao Aceitar sempre visivel (dourado solido, texto escuro), banner opaco e acima da barra do navegador */
.nk-cookie-alert { background: #0e0b08 !important; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
.nk-cookie-alert .nk-cookie-alert-confirm,
.nk-cookie-alert .nk-cookie-alert-confirm.nk-btn { display: inline-flex !important; align-items: center; justify-content: center; min-width: 120px; min-height: 44px; padding: 0 22px !important; background: #d4a84b !important; color: #1a1205 !important; border: 2px solid #f0c766 !important; font-weight: 700; opacity: 1 !important; visibility: visible !important; cursor: pointer; }
.nk-cookie-alert .nk-cookie-alert-confirm:hover { background: #f0c766 !important; color: #1a1205 !important; }
.nk-cookie-alert .nk-cookie-alert-confirm * { color: #1a1205 !important; }

/* pagina de classe: menu para trocar de classe (agrupado por tribo) */
.cl-switch { margin: 0 0 22px; padding: 12px 14px; background: rgba(10,9,7,.82); border: 1px solid rgba(214,166,64,.25); display: grid; gap: 8px; }
.cl-switch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cl-switch-tribe { min-width: 92px; font-family: inherit; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #a89c80; padding: 2px 0 2px 8px; border-left: 3px solid rgba(214,166,64,.5); }
.cl-switch-tribe.cl-tribe-morion { border-left-color: rgba(120,160,255,.75); }
.cl-switch-tribe.cl-tribe-tempskron { border-left-color: rgba(230,120,70,.8); }
.cl-switch-tribe.cl-tribe-sophetio { border-left-color: rgba(120,200,120,.75); }
.cl-switch-a { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 3px; border: 1px solid rgba(214,166,64,.22); background: rgba(20,18,14,.7); color: #cfc7b4 !important; font-size: .85rem; text-decoration: none !important; transition: border-color .15s, background .15s, color .15s; }
.cl-switch-a img { width: 28px; height: 28px; object-fit: cover; object-position: 50% 18%; border-radius: 50%; border: 1px solid rgba(214,166,64,.35); }
.cl-switch-a:hover, .cl-switch-a:focus-visible { border-color: #d6a640; background: rgba(40,31,14,.9); color: #fff !important; }
.cl-switch-a.is-on { border-color: #d6a640; background: #d6a640; color: #140f05 !important; font-weight: 600; }
.cl-switch-a.is-on img { border-color: #140f05; }
.cl-path li.cl-path-extra::before { content: "+"; }
@media (max-width: 575px) { .cl-switch-tribe { min-width: 0; width: 100%; } .cl-switch-a { font-size: .8rem; } }
