/* ============================================================
   Arkhaven - Skin "TokyoNight Framed" (inspirada visualmente na
   camada de frames de huntera.com.br, texturas 100% próprias)
   Carregado DEPOIS de style.css. Mantém o layout de 3 colunas.
   ============================================================ */

:root {
  --gold: #e0af68;
  --gold-light: #ffd8a0;
  --ink: #c0caf5;
  --ink-dim: #7b86a8;
  --glass: rgba(14, 15, 22, 0.60);
  --glass-strong: rgba(9, 10, 16, 0.78);
  --edge: rgba(59, 66, 97, 0.85);
  --edge-faint: rgba(59, 66, 97, 0.45);
  --blood: #db4b4b;
  --tok-panel: #1a1b26;
  --tok-panel2: #14151f;
  --tok-bg: #0f1017;
  --tok-slot: #16161e;
  --tok-slot-lit: #1f2335;
  --tok-line: #3b4261;
  --tok-line-lit: #7aa2f7;
  --tok-cyan: #7aa2f7;
  --tok-gold: #e0af68;
  --tok-text: #c0caf5;
  --tok-dim: #7682a3;
  --tok-green: #2f9e44;
  --tok-blue: #3b6ad1;
  --tok-red: #db4b4b;
}

html { scrollbar-color: rgba(122, 162, 247, 0.45) rgba(9, 10, 16, 0.95); }

body {
  color: var(--ink);
  background-color: var(--tok-bg);
  background-image:
    linear-gradient(180deg, rgba(14, 16, 24, 0.30) 0%, rgba(12, 13, 20, 0.80) 55%, rgba(10, 11, 17, 0.97) 100%),
    url("/static/img/fundo.jpg");
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: rgba(9, 10, 16, 0.9); }
::-webkit-scrollbar-thumb { background: #2c3248; border-radius: 6px; border: 2px solid rgba(9,10,16,0.9); }
::-webkit-scrollbar-thumb:hover { background: var(--tok-line-lit); }

::selection { background: rgba(122, 162, 247, 0.5); color: #fff; }

a { color: var(--tok-cyan); }
.zone { color: rgba(224, 175, 104, 0.9); }
.site-footer { color: var(--tok-dim); }
.site-footer a { color: var(--tok-line-lit); }

/* ============ painéis ============ */

.panel {
  background-color: var(--tok-panel);
  background-image: linear-gradient(180deg, var(--tok-panel), var(--tok-panel2));
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 20px 22px 18px;
  position: relative;
}

.panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  pointer-events: none;
  border: 4px solid transparent;
  border-image: url("/static/img/frames/frame-window.png") 4 / 4px round;
  border-radius: 10px;
}

.panel h2 { color: var(--gold-light); border-bottom-color: var(--edge-faint); }
.panel .lore { line-height: 1.6; }

.stones-panel { padding: 17px 14px 14px; }

/* arena: imagem da dungeon embutida com margem escura (mat) dentro do frame
   (selectors com section p/ igualar spec do style.css original) */
section.panel.arena { background-image: none; }

section.panel.arena::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 0;
  border-radius: 6px;
  background-image:
    linear-gradient(180deg, rgba(8, 10, 16, 0.60), rgba(8, 10, 16, 0.40) 45%, rgba(8, 10, 16, 0.82)),
    var(--dg-bg, none);
  background-size: cover;
  background-position: center;
}
.panel.arena::after { inset: 0; }

/* ============ página de batalha — estilo da landing (bordas + efeitos) ============ */

.btl .panel {
  border-color: rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}
.btl .panel::after,
.btl .btn::after,
.btl .nav-btn::after,
.btl .item-card::after { display: none; }

.btl .btn, .btl .btn-gold, .btl .btn-ghost, .btl .nav-btn {
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}
.btl .btn:hover,
.btl .nav-btn:hover { border-color: rgba(224, 175, 104, 0.7); }
.btl .nav-btn:hover { box-shadow: 0 0 14px rgba(224, 175, 104, 0.18); }
.btl .nav-btn.city-btn,
.btl .nav-btn.dungeon-btn,
.btl .side-nav .nav-btn.active { border-color: rgba(224, 175, 104, 0.8); }

.btl .item-card {
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}

.btl .npc-card {
  border: 1px solid rgba(59, 66, 97, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(24, 26, 38, 0.55), rgba(15, 16, 24, 0.55));
}
.btl .npc-card:last-child {
  border-bottom: 1px solid rgba(59, 66, 97, 0.45);
  margin-bottom: 0;
}

/* brilho deslizante nos botões dourados (igual à landing) */
.btl .btn-gold {
  background-image:
    linear-gradient(105deg,
      transparent 20%,
      rgba(255, 255, 255, 0.38) 42%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.38) 58%,
      transparent 80%),
    linear-gradient(180deg, rgba(224, 175, 104, 0.95), rgba(150, 112, 42, 0.95));
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  transition: background-position 0.7s ease;
}
.btl .btn-gold:hover { background-position: -20% 0, 0 0; }

/* revela em cascata igual à landing */
.btl .panel { animation: lp2-fadeup 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.btl main .panel:nth-of-type(2) { animation-delay: 0.1s; }
.btl main .panel:nth-of-type(3) { animation-delay: 0.2s; }
.btl .side-panel { animation-delay: 0.02s; }
.btl .side-nav { animation-delay: 0.12s; }

/* pulso dourado suave na arena */
.btl #arena-panel {
  animation:
    btl-breathe 3.6s ease-in-out infinite,
    lp2-fadeup 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes btl-breathe {
  0%, 100% { box-shadow: 0 0 18px rgba(224, 175, 104, 0.12); }
  50% { box-shadow: 0 0 30px rgba(224, 175, 104, 0.28); }
}

/* ============ botões ============ */

.btn, .nav-btn {
  position: relative;
  background: linear-gradient(180deg, #1f2335, #14161f);
  color: var(--tok-text);
  border: 1px solid transparent;
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.btn { text-decoration: none; }

.btn::after, .nav-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border: 2px solid transparent;
  border-image: url("/static/img/frames/frame-button.png") 2 / 2px round;
  border-radius: 6px;
}

.btn:hover::after, .nav-btn:hover::after {
  border-image-source: url("/static/img/frames/frame-button-lit.png");
}
.btn:hover { filter: brightness(1.12); }
.nav-btn:hover { filter: brightness(1.1); transform: translateX(3px); }

.side-nav .nav-btn.active {
  background: linear-gradient(180deg, #22314f, #16181f);
  color: #e5edff;
  border-color: rgba(122, 162, 247, 0.8);
}
.side-nav .nav-btn.active::after {
  border-image-source: url("/static/img/frames/frame-button-lit.png");
}

/* botões de formulário no menu ocupam a mesma largura dos links */
.side-nav form { width: 100%; margin: 0; }
.side-nav button.nav-btn { width: 100%; text-align: left; }

.btn:active, .btn:hover:active { filter: brightness(0.92); }

.btn-small { padding: 9px 13px; }
.btn-tiny { padding: 8px 10px; }
.btn-sm { padding: 11px 22px; }

.btn-danger {
  background: linear-gradient(180deg, rgba(219, 75, 75, 0.55), rgba(120, 27, 27, 0.6));
  color: #ffd9cd;
}

.btn-gold {
  background: linear-gradient(180deg, rgba(224, 175, 104, 0.95), rgba(150, 112, 42, 0.95));
  color: #241a06;
  text-shadow: none;
}

.btn-ghost { background: rgba(15, 16, 23, 0.6); }

/* ============ cartões (itens, poções, loja, receitas, classes) ============ */

.item-card, .potion-card, .shop-card, .recipe-card, .class-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 26, 38, 0.92), rgba(17, 18, 26, 0.92));
  border-radius: 8px;
}

.item-card::after, .potion-card::after, .shop-card::after,
.recipe-card::after, .class-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border: 2px solid transparent;
  border-image: url("/static/img/frames/frame-card.png") 2 / 2px round;
  border-radius: 8px;
}

.item-card:hover::after, .potion-card:hover::after,
.shop-card:hover::after, .recipe-card:hover::after {
  border-image-source: url("/static/img/frames/frame-card-lit.png");
}

.class-card:hover::after { border-image-source: url("/static/img/frames/frame-card-lit.png"); }
.class-card:has(input:checked)::after {
  border-image-source: url("/static/img/frames/frame-card-lit.png");
}

.item-card { padding: 14px 12px 12px; }
.item-card.mini { padding: 13px 12px 12px; }
.potion-card, .shop-card { padding: 12px; }
.class-card { padding: 14px 12px; }

/* raridade continua visível: trilho interno + selo/texto */
.slot-badge, .eq-badge { z-index: 3; }
.item-card {
  box-shadow: inset 0 0 0 1px var(--rar, rgba(122, 162, 247, 0.25));
}
.slot-badge {
  background: rgba(22, 22, 30, 0.96);
  color: #ffd8a0;
  border-color: rgba(122, 162, 247, 0.6);
}
.eq-badge { background: rgba(47, 158, 68, 0.95); }

.item-card.locked { opacity: 0.6; filter: saturate(0.5); }

/* ============ barras ============ */

.bar {
  position: relative;
  height: 16px;
  background: rgba(16, 20, 24, 0.85);
  border: 1px solid rgba(59, 66, 97, 0.85);
  border-radius: 4px;
}

.bar:not(.micro)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid transparent;
  border-image: url("/static/img/frames/frame-bar.png") 1 / 1px round;
  border-radius: 4px;
}

.bar-label { color: var(--tok-dim); }

.fill-hp  { background: linear-gradient(180deg, #4ac27d, var(--tok-green)); }
.fill-en  { background: linear-gradient(180deg, #5c9cf0, var(--tok-blue)); }
.fill-xp  { background: linear-gradient(180deg, #eac377, #b8873a); }
.fill-foe { background: linear-gradient(180deg, #f7768e, var(--tok-red)); }

/* ============ slots (equipamento / papel / pedras) ============ */

.pd-slot, .stone-item {
  background-image: none;
}
.pd-slot {
  position: relative;
  min-height: 52px;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(13, 14, 20, 0.55);
  border: 1px solid rgba(233, 220, 186, 0.16);
  border-radius: 10px;
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.45);
}
.pd-slot.filled {
  border-color: var(--rar, rgba(233, 220, 186, 0.45));
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.5),
    0 0 10px -3px var(--rar, rgba(200, 170, 90, 0.45));
}
.pd-slot .pd-ic { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pd-slot:not(.filled) img.gi { opacity: 0.4; filter: grayscale(0.5); }
.pd-retr {
  background-color: rgba(13, 14, 20, 0.5);
  background-image: radial-gradient(circle at 50% 28%, rgba(233, 220, 186, 0.08), transparent 72%);
  border: 1px solid rgba(233, 220, 186, 0.14);
  border-radius: 10px;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.5);
}
.pd-retr img.gi { width: 26px !important; height: 26px !important; }
.pd-lvl { font-size: 9.5px; margin-top: 2px; }
.pd-retr { position: relative; }
.pd-retr img.outfit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  border-radius: 8px;
  border: none;
}
.pd-retr .pd-lvl {
  position: relative; z-index: 1;
  background: rgba(13, 14, 20, 0.75);
  border: 1px solid rgba(59, 66, 97, 0.65);
  border-radius: 999px;
  padding: 0 6px;
  margin-top: auto; margin-bottom: 3px;
}

.ab-slot {
  border-color: rgba(59, 66, 97, 0.9);
  background: rgba(22, 22, 30, 0.9);
}

.stone-item { background-color: #0d0e14; }

/* ============ inputs / selects ============ */

.auth-wrap { padding-top: 270px; }
.name-row input, .auth-card input, .qty-input,
.adm-grid input, .adm-grid select {
  background: rgba(22, 22, 30, 0.92);
  border-color: rgba(59, 66, 97, 0.9);
  color: var(--tok-text);
  border-radius: 6px;
}
.name-row input::placeholder, .auth-card input::placeholder { color: rgba(192, 202, 245, 0.35); }
.name-row input:focus, .auth-card input:focus {
  border-color: var(--tok-line-lit);
  box-shadow: 0 0 0 2px rgba(122, 162, 247, 0.15);
}

.potion-slider { background: rgba(59, 66, 97, 0.6); }

/* ============ detalhes de cor / ícones ============ */

.hero-class, .foe-kind { color: #a9b1d6; }
.hero-level { color: var(--tok-gold); }
.skillbox { border-top-color: var(--edge-faint); }

.stat {
  background: rgba(22, 22, 30, 0.6);
  border-color: rgba(59, 66, 97, 0.8);
  border-radius: 6px;
}
.stat b { color: #e6e9ff; }
.stat span { color: var(--tok-dim); }

.potion-panel {
  border-color: rgba(59, 66, 97, 0.35);
  background: rgba(59, 80, 130, 0.10);
}

.chip-mat, .recipe-card {
  border-color: rgba(59, 66, 97, 0.55);
  background: rgba(22, 22, 30, 0.55);
}

.log {
  background: rgba(9, 10, 16, 0.72);
  border-color: rgba(122, 162, 247, 0.35);
}
.log::-webkit-scrollbar-track { background: rgba(9, 10, 16, 0.3); }
.log::-webkit-scrollbar-thumb { background: rgba(122, 162, 247, 0.45); }

.cd-num { color: #e8ecff; }
.hero-tag { color: #a9b1d6; }
.bar-slimfill { color: var(--tok-cyan); }

.portrait {
  background: radial-gradient(circle at 30% 30%, rgba(76, 96, 148, 0.55), rgba(13, 14, 20, 0.9));
  border: none;
}
.portrait img.outfit {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  border-radius: 50%;
}

.npc-icon { border-color: rgba(122, 162, 247, 0.5); }
.npc-label { color: #ffd8a0; }
.qty-input { color: #ffd8a0; }
.potion-info, .npc-card small { color: var(--tok-dim); }
.potion-info b, .npc-card b { color: #e5edff; }

.adm-nav a {
  border-color: rgba(59, 66, 97, 0.6);
  background: rgba(22, 22, 30, 0.6);
  color: var(--tok-text);
}
.adm-nav a.active { border-color: var(--tok-line-lit); color: #e5edff; background: rgba(122, 162, 247, 0.14); }

.city-map {
  border-color: rgba(59, 66, 97, 0.65);
  border-radius: 6px;
}

.dg-card { border-color: rgba(59, 66, 97, 0.6); }
.dg-card.cur { border-color: var(--tok-gold); }

.nav-btn.city-btn { border-color: rgba(59, 66, 97, 0.55); color: var(--tok-gold); }
.nav-btn.city-active { border-color: rgba(122, 162, 247, 0.55); color: #ffd8a0; }

.dg-stars button { border-color: rgba(59, 66, 97, 0.6); color: #a9b1d6; }
.dg-stars button.on { border-color: var(--tok-cyan); color: var(--tok-cyan); }

.chronicle.subtle { border-top-color: rgba(59, 66, 97, 0.35); }
.chron-title { color: var(--tok-dim); }

/* grupo de botões flutuantes (diária, sair, loja) — presos no topo;
   somem ao rolar para baixo e reaparecem ao rolar para cima */
.fab-group {
  position: fixed; top: 16px; right: 20px; z-index: 130;
  display: flex; align-items: center; gap: 10px;
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1), opacity 0.35s ease;
}
.fab-group.fab-hide {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}
.fab {
  display: grid; place-items: center;
  text-decoration: none;
  width: 90px; height: 90px;
  background: transparent;
  transition: transform 0.15s, filter 0.15s;
}
.fab:hover {
  transform: scale(1.12);
  filter: brightness(1.1);
}
.fab img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* loja mantém o mesmo tamanho do grupo */
.fab-shop-img {
  width: 74px !important;
  height: 74px !important;
  padding: 0 !important;
}
.fab.logout:hover,
.fab.daily:hover { transform: scale(1.12); filter: brightness(1.15); }

/* ============ arte de classe (outfits) na arena ============ */

.f-icon img.outfit {
  width: 185px; height: 185px;
  object-fit: cover; object-position: center;
  border-radius: 14px;
  box-shadow: none;
}
.big .f-icon img.outfit {
  width: 215px; height: 215px;
}
.fighter.you .f-icon {
  filter: none;
}

/* ============ batalha em time (formação Atrás | Frente) ============ */

.ct-arena {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 16px 10px 8px;
}

.ct-form {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.ct-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ct-col-back .ct-hcard { opacity: 0.88; }

.ct-form-gap {
  width: 16px;
  position: relative;
}
.ct-form-gap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 2px;
  background: rgba(233, 220, 186, 0.35);
  border-radius: 2px;
}

.ct-cap {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tok-dim, #8d96ad);
  margin-bottom: 2px;
}
.ct-col-front .ct-cap { color: #ecd9a8; }

.ct-hcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 148px;
  min-height: 212px;
}
.ct-hcard.ct-dead .ct-portrait {
  filter: grayscale(1) brightness(0.92);
}
.ct-hcard.ct-dead .ct-hp { color: #f7768e; }

.ct-ab { min-height: 0; margin: 0 0 5px; gap: 4px; }
.ct-ab .ab-slot { width: 26px; height: 26px; border-radius: 7px; }
.ct-ab .ab-slot img.gi { width: 18px; height: 18px; }
.ct-ab .ab-slot.mini { width: 22px; height: 22px; border-radius: 6px; }
.ct-ab .ab-slot.mini img.gi { width: 15px; height: 15px; }
.ct-ab .cd-num { font-size: 11px; }

.ct-portrait {
  width: 128px;
  height: 128px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
  box-shadow: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.ct-name {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  height: 18px;
  max-width: 148px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.ct-name .ct-star { color: #e0b34a; }

.ct-bar {
  position: relative;
  width: 96px;
  height: 5px;
  margin-top: 3px;
  background: rgba(16, 20, 24, 0.85);
  border: none;
  border-radius: 3px;
  overflow: hidden;
}
.ct-bar i { display: block; height: 100%; width: 0; transition: width 0.6s ease; }

.ct-hp {
  font-size: 11px;
  color: var(--tok-dim, #b8becf);
  margin-top: 1px;
  min-height: 15px;
}

.ct-none {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 148px;
  min-height: 212px;
  text-align: center;
  color: var(--tok-dim, #7d869c);
  font-size: 11.5px;
  font-style: italic;
}
.ct-none .ct-lock-ic { font-size: 26px; }
.ct-none a {
  font-style: normal;
  color: #e0b34a;
  font-size: 11px;
}
.ct-none.ct-locked { font-style: normal; }

.ct-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  font-size: 28px;
  color: #e0563f;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.ct-vs-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  animation: pulse 2s ease-in-out infinite;
}

.ct-mobs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 2px;
}
.ct-mob {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 138px;
  min-height: 176px;
}
.ct-mob-icon { font-size: 50px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6)); }
.ct-mob-icon img.gi { width: 100px; height: 100px; object-fit: contain; }
.ct-mob-name {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  height: 16px;
  max-width: 138px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.ct-rank { font-size: 10px; letter-spacing: 0.04em; margin-top: 1px; }
.ct-mob-bar {
  width: 112px;
  height: 5px;
  margin-top: 4px;
  background: rgba(16, 20, 24, 0.85);
  border-radius: 3px;
  overflow: hidden;
}
.ct-mob-bar i { display: block; height: 100%; width: 0; transition: width 0.6s ease; }
.ct-mob-hp { font-size: 10px; color: var(--tok-dim, #b8becf); margin-top: 2px; }

.ct-mob-empty {
  min-height: 176px;
  justify-content: center;
  color: var(--tok-dim, #7d869c);
  font-size: 22px;
}
.ct-mob-empty .ct-mob-icon { font-size: 22px; color: var(--tok-dim, #7d869c); opacity: 0.65; }

.ct-boss .ct-mob-icon { animation: pulse 1.7s ease-in-out infinite; }
.ct-boss-tag {
  position: absolute;
  top: -4px;
  right: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1a1203;
  background: linear-gradient(135deg, #ffd27a, #ff9d2e);
  border-radius: 999px;
  padding: 2px 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.ct-mob-dead .ct-mob-icon {
  filter: grayscale(1) brightness(0.82);
  opacity: 0.92;
}
.ct-mob-dead .ct-mob-name { color: var(--tok-dim, #8d96ad); }
.ct-mob-dead .ct-mob-hp { color: #f7768e; }
.ct-dead-tag {
  position: absolute;
  top: -4px;
  right: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #e8e3d0;
  background: linear-gradient(135deg, #5a6178, #2c3040);
  border-radius: 999px;
  padding: 2px 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 760px) {
  .ct-arena { flex-direction: column; gap: 18px; position: static; }
  .ct-vs { position: static; transform: none; margin: 4px 0; }
}

.ct-hcard.ct-locked { min-height: 212px; justify-content: center; gap: 6px; }
.ct-hcard.ct-locked .ct-lock-ic {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 22px;
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}
.ct-hcard.ct-locked .ct-portrait {
  filter: grayscale(0.55) brightness(1.05) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}
.ct-no-hero {
  background:
    radial-gradient(circle at 50% 38%, rgba(122, 134, 172, 0.5), transparent 65%),
    linear-gradient(160deg, rgba(56, 66, 96, 0.9), rgba(26, 32, 50, 0.95));
}
.ct-hcard.ct-locked .ct-name { color: var(--tok-dim, #8d96ad); }
.ct-hcard.ct-locked.ct-img-fail::after {
  content: "🔒";
  font-size: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}
.f-locked.ct-img-fail::before { content: "🔒"; font-size: 34px; display: block; }
.ct-lock-go { margin-top: 2px; }
.ct-lock-go a {
  font-size: 11px;
  color: #e0b34a;
  border: 1px solid rgba(224, 179, 74, 0.55);
  border-radius: 999px;
  padding: 3px 11px;
  background: rgba(224, 179, 74, 0.08);
  display: inline-block;
  white-space: nowrap;
}

.city-roster {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(120, 130, 165, 0.25);
  background: rgba(9, 11, 15, 0.6);
}
.city-chip-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.city-chip .cc-name { font-size: 13px; font-weight: 700; }
.city-chip .cc-cls { font-size: 11.5px; }

/* ============ formação do time (salão) ============ */

.frm-hint {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-dim, #b8becf);
  margin-bottom: 14px !important;
}

.formation-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.f-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(9, 11, 15, 0.55);
  border: 1px solid rgba(120, 130, 165, 0.2);
}
.f-slot.is-front { border-color: rgba(233, 220, 186, 0.4); }
.f-slot.is-back { border-color: rgba(120, 130, 165, 0.25); }

.f-slot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ecd9a8;
  font-weight: 700;
}
.f-owned { color: #57c25e; font-size: 11px; text-transform: none; letter-spacing: 0; }
.f-lock { color: #e0b34a; font-size: 11px; text-transform: none; letter-spacing: 0; }

.f-slot select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 130, 165, 0.3);
  background: #0e1118;
  color: #e6e4da;
  font-size: 13.5px;
}
.f-slot select img.gi { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

.f-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--tok-dim, #8d96ad);
  cursor: pointer;
  user-select: none;
}
.f-main input { accent-color: #e0b34a; }

.f-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--tok-dim, #7d869c);
  background: rgba(9, 11, 15, 0.35);
  border: 1px dashed rgba(120, 130, 165, 0.25);
  border-radius: 10px;
}
.f-locked p { margin: 0 !important; }
.f-no-hero {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0.5) brightness(1.05);
  background:
    radial-gradient(circle at 50% 38%, rgba(122, 134, 172, 0.5), transparent 65%),
    linear-gradient(160deg, rgba(56, 66, 96, 0.9), rgba(26, 32, 50, 0.95));
}

/* ============ loja de gemas (remaster) ============ */

.shop-panel { max-width: 1000px; margin: 0 auto; }

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}
.shop-header .shop-title small { color: var(--tok-dim, #8d96ad); }

.shop-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(32, 39, 62, 0.95), rgba(18, 21, 34, 0.95));
  border: 1px solid rgba(122, 162, 247, 0.45);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.45),
    0 0 16px rgba(122, 162, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--tok-dim, #b8becf);
  font-weight: 700;
}
.shop-balance b {
  color: #8fd8ff;
  font-size: 19px;
  text-shadow: 0 0 12px rgba(122, 202, 255, 0.75);
}

.shop-lore { text-align: center; color: var(--tok-dim2, #8a94ad); margin: 6px 0 0; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 18px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 95% at 50% 0%, rgba(74, 88, 130, 0.30), transparent 58%),
    linear-gradient(180deg, rgba(29, 33, 50, 0.96), rgba(16, 18, 28, 0.97));
  border: 1px solid rgba(112, 126, 178, 0.36);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -12px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.shop-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent);
  pointer-events: none;
}
.shop-card::after {
  content: "";
  position: absolute;
  inset: auto;
  left: -85%;
  top: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: skewX(-22deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 216, 255, 0.55);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(122, 202, 255, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 24px rgba(0, 0, 0, 0.35);
}
.shop-card:hover::after { left: 130%; }
.shop-card.owned {
  border-color: rgba(143, 216, 255, 0.38);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -12px 24px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(56, 168, 255, 0.14);
}
.shop-card.sold {
  opacity: 0.55;
  filter: grayscale(0.75);
  border-color: rgba(128, 128, 128, 0.35);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.4),
    inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}
.shop-card.sold:hover {
  transform: none;
  border-color: rgba(128, 128, 128, 0.35);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.4),
    inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}
.shop-card.sold::after { display: none; }
.shop-card.sold form {
  pointer-events: none;
}

.shop-vip-lvl {
  position: absolute;
  right: -6px;
  bottom: -2px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #241a06;
  background: linear-gradient(180deg, #f4d27b, #c99c40);
  border: 1px solid #8a672a;
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.shop-medallion {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 36px;
  color: #ffe9c4;
  text-shadow: 0 0 14px rgba(255, 190, 90, 0.85);
  background:
    radial-gradient(circle at 50% 30%, rgba(122, 202, 255, 0.32), transparent 62%),
    linear-gradient(180deg, #2b3354, #171b2a);
  border: 1px solid rgba(143, 216, 255, 0.5);
  box-shadow:
    inset 0 -7px 12px rgba(0, 0, 0, 0.5),
    inset 0 2px 5px rgba(255, 255, 255, 0.16),
    0 7px 16px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(122, 202, 255, 0.20);
}
.shop-medallion::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.shop-medallion img.gi { width: 46px; height: 46px; }
.shop-medallion .shop-stone-img { width: 60px; height: 60px; object-fit: contain; }

.shop-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.shop-name {
  font-family: Cinzel, Georgia, serif;
  font-size: 15px;
  color: #ffe9c4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.shop-qtyx {
  font-size: 11.5px;
  font-weight: 800;
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 999px;
  padding: 1px 8px;
}

.shop-desc {
  color: var(--tok-dim, #98a1b6);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  min-height: 40px;
}

.shop-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 68, 180, 0.55), rgba(74, 40, 118, 0.6));
  border: 1px solid rgba(196, 140, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 14px rgba(150, 80, 255, 0.25);
  font-weight: 700;
  font-size: 14.5px;
  color: #ecd9ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.shop-buy {
  position: relative;
  width: 100%;
  padding: 12px 14px;
  font-family: Cinzel, Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #241a06;
  cursor: pointer;
  border: 1px solid #8a672a;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(180deg, #f4d27b, #c99c40 55%, #8f6a26);
  box-shadow:
    0 4px 0 #6b4d1f,
    0 7px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -5px 9px rgba(90, 60, 10, 0.5);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}
.shop-buy::after {
  content: "";
  position: absolute;
  inset: auto;
  left: -80%;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.shop-buy:hover::after { left: 130%; }
.shop-buy:hover { filter: brightness(1.08); }
.shop-buy:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 #6b4d1f,
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.shop-buy:disabled {
  filter: grayscale(0.85) brightness(0.72);
  cursor: not-allowed;
  color: #4a4a4a;
  text-shadow: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

/* ============ recompensa diária (30 dias) ============ */

.dr-panel { padding: 18px 16px; }
.dr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.dr-header h2 {
  font-family: Cinzel, Georgia, serif;
  font-size: 19px;
  color: #ffe9c4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.dr-progress { text-align: right; min-width: 150px; }
.dr-progress-label { font-size: 11px; letter-spacing: 0.14em; color: var(--tok-dim, #8d96ad); }
.dr-progress-num { font-size: 22px; color: #e0b34a; margin-left: 6px; }
.dr-progress-bar {
  width: 150px;
  height: 7px;
  margin-top: 5px;
  background: rgba(16, 20, 24, 0.85);
  border-radius: 4px;
  overflow: hidden;
}
.dr-progress-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #b8873a, #eac377);
  transition: width 0.5s ease;
}

.dr-current {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 50%, rgba(63, 184, 124, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(46, 60, 42, 0.55), rgba(13, 14, 20, 0.6));
  border: 1px solid rgba(122, 202, 90, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.dr-current-ic { width: 54px; height: 54px; flex: 0 0 auto; }
.dr-current-ic img.gi { width: 48px; height: 48px; object-fit: contain; }
.dr-current-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dr-current-info b { color: #ffe9c4; font-family: Cinzel, Georgia, serif; font-size: 15px; }
.dr-current-info span { color: var(--tok-dim, #8d96ad); font-size: 12px; }
.dr-claim {
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-weight: 800;
  font-size: 14px;
  font-family: Cinzel, Georgia, serif;
  color: #1a1203;
  background: linear-gradient(180deg, #ffd27a, #e0a83f);
  box-shadow: 0 3px 0 #8f6a1f, 0 4px 12px rgba(224, 168, 63, 0.35);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.dr-claim:hover { filter: brightness(1.08); }
.dr-claim:active { transform: translateY(2px); box-shadow: 0 1px 0 #8f6a1f; }
.dr-claim.disabled {
  background: linear-gradient(180deg, #3a3f4d, #262a35);
  color: #8d96ad;
  box-shadow: 0 3px 0 #161a22;
  cursor: not-allowed;
}

.dr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}
.dr-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 9px 6px 7px;
  min-height: 108px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(46, 42, 32, 0.6), rgba(13, 14, 20, 0.7));
  border: 1px solid rgba(233, 220, 186, 0.12);
}
.dr-cell .dr-day { font-size: 9.5px; letter-spacing: 0.06em; color: var(--tok-dim, #8d96ad); }
.dr-cell .dr-ic img.gi { width: 34px; height: 34px; object-fit: contain; }
.dr-cell .dr-qty { font-size: 13px; color: #ffe9c4; }
.dr-cell .dr-st { font-size: 10px; color: var(--tok-dim, #8d96ad); }

.dr-cell.done {
  background: linear-gradient(180deg, rgba(35, 52, 40, 0.55), rgba(12, 18, 14, 0.7));
  border-color: rgba(122, 202, 90, 0.28);
}
.dr-cell.done .dr-ic img.gi { filter: grayscale(1); opacity: 0.55; }
.dr-cell.done .dr-st { color: #6fbf8f; font-weight: 800; }

.dr-cell.now {
  border-color: #e0b34a;
  background:
    radial-gradient(circle at 50% 18%, rgba(224, 179, 74, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(56, 47, 26, 0.75), rgba(16, 14, 8, 0.85));
  box-shadow: 0 0 16px rgba(224, 179, 74, 0.32), inset 0 0 12px rgba(224, 179, 74, 0.1);
}
.dr-cell.now .dr-st { color: #e0b34a; font-weight: 800; }

.dr-cell.lock {
  background: linear-gradient(180deg, rgba(24, 25, 31, 0.6), rgba(10, 10, 13, 0.7));
  border-color: rgba(122, 140, 200, 0.12);
}
.dr-cell.lock .dr-ic img.gi { filter: grayscale(1); opacity: 0.3; }
.dr-cell.lock .dr-qty { color: #6a7182; }
.dr-cell.lock .dr-st { opacity: 0.55; }

.dr-main-char { text-align: center; margin-top: 14px; color: var(--tok-dim, #8d96ad); }

@media (max-width: 760px) {
  .dr-current { flex-direction: column; text-align: center; }
}
/* ================= [[WIKI]] ================= */
.wiki-panel { max-width: 880px; }
.wiki-panel > h2 { text-align: center; margin-bottom: 4px; }
.wiki-panel > p.lore { text-align: center; opacity: .8; margin-bottom: 18px; }
.wiki-toc { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 18px; }
.wiki-toc a { display: inline-block; border: 1px solid rgba(233,220,186,.16); border-radius: 20px; padding: 5px 12px; font-size: 13px; color: var(--ink); text-decoration: none; transition: .15s; }
.wiki-toc a:hover { border-color: var(--gold); color: var(--gold); }
.wiki-sec { margin: 26px 0 34px; padding-top: 8px; scroll-margin-top: 60px; }
.wiki-sec h3 { color: var(--gold); font-size: 21px; margin: 0 0 10px; border-bottom: 1px solid rgba(233,220,186,.14); padding-bottom: 8px; }
.wiki-sec h4 { color: var(--ink); opacity: .95; font-size: 16px; margin: 18px 0 8px; }
.wiki-sec p { margin: 8px 0; line-height: 1.55; }
.wiki-sec ul { margin: 8px 0 8px 20px; line-height: 1.6; }
.wiki-sec li { margin: 4px 0; }
.wiki-note { background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.22); border-radius: 8px; padding: 8px 12px; }
.wiki-form { background: rgba(255,255,255,.025); border: 1px solid rgba(233,220,186,.12); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.wiki-form p { margin: 6px 0; }
.wiki-tbl { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13.5px; }
.wiki-tbl th { background: rgba(212,175,55,.12); color: var(--gold); text-align: left; padding: 7px 10px; border: 1px solid rgba(233,220,186,.14); }
.wiki-tbl td { padding: 7px 10px; border: 1px solid rgba(233,220,186,.10); vertical-align: top; }
.wiki-tbl tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.wiki-tbl code { background: rgba(0,0,0,.35); border-radius: 4px; padding: 1px 5px; font-size: 12px; }
.wiki-sec .wk { color: var(--gold); }
.wiki-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 10px 0; }
.wiki-grid > div { background: rgba(255,255,255,.025); border: 1px solid rgba(233,220,186,.12); border-radius: 10px; padding: 10px 14px; }
.wiki-grid ul { margin: 6px 0 2px 16px; }
.wiki-grid li { margin: 3px 0; font-size: 13px; }
.wiki-foot { text-align: center; opacity: .6; margin: 30px 0 6px; }

/* layout exclusivo da wiki: 3 colunas fixas com barras laterais estreitas e artigo largo */
@media (min-width: 1251px) {
  .wiki-shell {
    grid-template-columns: clamp(255px, 15vw, 275px) minmax(0, 1fr) clamp(270px, 17vw, 300px);
    gap: 16px;
  }
  .wiki-shell .side-left,
  .wiki-shell .side-right {
    position: sticky;
    top: 12px;
  }
  .wiki-shell .wiki-panel {
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .wiki-shell .side-left,
  .wiki-shell .side-right { grid-column: 1; }
}

/* ================= [[LANDING 2 · Crônicas]] ================= */
.lp2 { max-width: 1180px; margin: 0 auto; }

.lp2-stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.lp2-stars i {
  position: absolute; border-radius: 50%;
  background: rgba(224, 175, 104, 0.9);
  box-shadow: 0 0 6px rgba(224, 175, 104, 0.8);
  animation: lp2-twinkle ease-in-out infinite;
}
.lp2-shade {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(9, 10, 16, 0.08) 0%,
    rgba(9, 10, 16, 0.45) 45%,
    rgba(9, 10, 16, 0.95) 100%
  );
}
@keyframes lp2-twinkle {
  0%, 100% { opacity: 0.08; transform: scale(0.7); }
  50% { opacity: 0.95; transform: scale(1); }
}
.lp2 > *:not(.lp2-stars):not(.lp2-shade):not(.lp-top) { position: relative; z-index: 1; }
.lp2 .lp-top { position: absolute; top: 0; left: 0; right: 0; z-index: 60; }

.lp2-hero {
  text-align: center;
  padding: clamp(16px, 4vw, 46px) 18px 10px;
}
.lp2-hero::before {
  content: "";
  position: absolute; left: 50%; top: -120px;
  width: 760px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(122, 162, 247, 0.16), rgba(224, 175, 104, 0.05) 55%, transparent 72%);
  filter: blur(8px); pointer-events: none; z-index: -1;
}
.lp2-kicker {
  font-style: italic; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(224, 175, 104, 0.92); margin: 0 auto 12px; font-size: 14px;
}
.lp2-title {
  font-family: "Cinzel Decorative", Cinzel, Georgia, serif;
  font-weight: 900; font-size: clamp(46px, 10.5vw, 116px); line-height: 1.02;
  letter-spacing: 0.12em; margin: 0;
  color: #ffd8a0;
  text-shadow:
    0 0 34px rgba(224, 175, 104, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.9),
    0 10px 34px rgba(0, 0, 0, 0.7);
}
.lp2-orn {
  color: rgba(224, 175, 104, 0.55); letter-spacing: 0.9em; font-size: 15px; margin: 14px 0 0;
}
.lp2-sub {
  max-width: 660px; margin: clamp(224px, 24vh, 264px) auto 26px;
  color: #aab2d6; line-height: 1.75; font-size: 17px;
}
.lp2-sub b { color: #ffd8a0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.lp2-roster {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
  margin: 38px auto 6px; max-width: 760px;
}
.lst-card {
  display: grid; justify-items: center; gap: 6px;
  padding: 14px 16px 12px; width: 118px;
  background: rgba(26, 27, 38, 0.72);
  border: 1px solid rgba(59, 66, 97, 0.75); border-radius: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.lst-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 175, 104, 0.7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(224, 175, 104, 0.16);
}
.lst-card img {
  width: 66px; height: 66px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(224, 175, 104, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}
.lst-card b { font-size: 14px; color: #ffd8a0; font-family: Cinzel, Georgia, serif; letter-spacing: 0.04em; }
.lst-card span { font-size: 11.5px; color: #7b86a8; text-align: center; line-height: 1.3; }

.lp2-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px 12px; text-align: center; padding: 20px 18px; margin-top: 26px;
}
.lp2-stats b {
  display: block; font-family: "Cinzel Decorative", Cinzel, Georgia, serif;
  font-size: clamp(24px, 3.3vw, 36px); color: #ffd8a0; line-height: 1.1;
  text-shadow: 0 0 18px rgba(224, 175, 104, 0.3);
}
.lp2-stats span {
  color: #7682a3; font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase;
}

.lp2-feats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 18px;
}
.lp2-mini { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lp2-mini li {
  border: 1px solid rgba(122, 162, 247, 0.3); background: rgba(122, 162, 247, 0.07);
  border-radius: 999px; padding: 3px 10px; font-size: 12px; color: #aab2d6;
}
.lp2-mini.wide { display: block; font-size: 12.5px; color: #7b86a8; line-height: 1.6; margin-top: 10px; }
.lp2-stones { display: grid; gap: 8px; margin-top: 12px; }
.lp2-stones p {
  display: flex; align-items: center; gap: 10px; margin: 0;
  background: rgba(10, 11, 17, 0.5); border: 1px solid rgba(59, 66, 97, 0.5);
  border-radius: 10px; padding: 8px 10px;
}
.lp2-stones img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.lp2-stones span { color: #c0caf5; font-size: 13.5px; line-height: 1.35; }
.lp2-stones small { color: #7682a3; font-size: 11.5px; }

.lp2-sec-head { margin-bottom: 4px; }
.lp2-sec-head h2 {
  color: #ffd8a0; font-size: 22px; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 10px;
}
.lp2-sec-head .lore { color: #7b86a8; }

.lp2-class-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.lp2-class-col {
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
  background: rgba(26, 27, 38, 0.72);
  padding: 14px;
}
.lp2-col-title {
  margin: 0 0 12px;
  font-family: Cinzel, Georgia, serif;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: #ffd8a0;
  text-align: center;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(59, 66, 97, 0.45);
}
.lp2-class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lp2-class {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 14px 8px 12px;
  background: rgba(20, 21, 31, 0.7);
  border: 1px solid rgba(59, 66, 97, 0.6); border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.lp2-class:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 175, 104, 0.65);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(224, 175, 104, 0.14);
}
.lp2-class-ring {
  position: relative;
  width: 84px; height: 84px; border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 210deg, rgba(224, 175, 104, 0.85), rgba(122, 162, 247, 0.35) 40%, rgba(224, 175, 104, 0.2) 75%, rgba(224, 175, 104, 0.85));
}
.lp2-class-ring img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid #14151f;
}
.lp2-tier {
  position: absolute; bottom: 0; right: -2px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px;
  background: #14151f; border: 1px solid rgba(224, 175, 104, 0.5); color: #ffd8a0;
}
.lp2-class b { font-size: 14px; color: #ffd8a0; font-family: Cinzel, Georgia, serif; }
.lp2-class small { font-size: 11.5px; color: #7b86a8; line-height: 1.35; }

.lp2-dg {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px; margin-top: 16px;
}
.lp2-dg-tile {
  display: grid; gap: 6px; overflow: hidden;
  text-align: center; padding: 8px;
  border: 1px solid rgba(59, 66, 97, 0.6); border-radius: 14px;
  background: rgba(20, 21, 31, 0.7); transition: transform 0.25s ease, border-color 0.25s ease;
}
.lp2-dg-tile:hover { transform: translateY(-5px); border-color: rgba(224, 175, 104, 0.6); }
.lp2-dg-img {
  position: relative; height: 92px; border-radius: 10px; overflow: hidden;
}
.lp2-dg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp2-dg-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 11, 17, 0.85));
}
.lp2-dg-img span {
  position: absolute; left: 0; right: 0; bottom: 6px; z-index: 1;
  font-size: 12px; color: #ffd8a0; letter-spacing: 0.05em; text-shadow: 0 1px 6px #000;
}
.lp2-dg-tile b { font-size: 12.5px; color: #c0caf5; font-family: Cinzel, Georgia, serif; }

.lp2-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px; margin-top: 22px;
}
.step { position: relative; padding-top: 30px; text-align: center; }
.step-n {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #2c3248, #1a1b26);
  border: 1px solid rgba(224, 175, 104, 0.55);
  color: #ffd8a0; font-family: "Cinzel Decorative", Cinzel, Georgia, serif; font-size: 17px;
  box-shadow: 0 0 22px rgba(224, 175, 104, 0.22);
}
.step h3 { margin: 6px 0 8px; color: #ffd8a0; font-size: 17.5px; }
.step h3 img.gi, .step h3 svg { width: 24px; height: 24px; vertical-align: -5px; margin-right: 1px; }
.step p { margin: 0; color: #aab2d6; line-height: 1.6; font-size: 14.5px; }

.lp2-daily .lp2-days {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px;
}
.lp2-day {
  display: grid; justify-items: center; gap: 4px;
  padding: 10px 12px; min-width: 62px;
  background: rgba(20, 21, 31, 0.7); border: 1px solid rgba(59, 66, 97, 0.6);
  border-radius: 12px;
}
.lp2-day span { font-size: 11px; color: #7682a3; }
.lp2-day b { font-size: 20px; }
.lp2-day.big { border-color: rgba(224, 175, 104, 0.6); }
.lp2-day.big b { color: #ffd8a0; font-size: 16px; }

.lp2-cta { margin-top: 30px; text-align: center; padding: 46px 24px; }
.lp2-cta h2 { margin: 8px 0 10px; color: #ffd8a0; font-size: 24px; }
.lp2-cta p { color: #aab2d6; margin: 0 0 24px; }
.lp2-cta .orn { color: rgba(224, 175, 104, 0.55); letter-spacing: 0.8em; font-size: 13px; }

.lp2 .panel {
  border-color: rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}
.lp2-class,
.lp2-dg-tile,
.lp2-day {
  background: rgba(26, 27, 38, 0.72);
  border-color: rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}

.lp2 .btn, .lp2 .btn-gold, .lp2 .btn-ghost,
.lp2 .lp-online,
.lp2 .lp2-mini li,
.lp2 .lp2-stones p {
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}
.lp2 .btn::after, .lp2 .nav-btn::after { display: none; }
.lp2 .panel::after { display: none; }
.lp2 .btn:hover { border-color: rgba(224, 175, 104, 0.7); }

/* —— efeitos · landing —— */

/* entrada em cascata do hero */
.lp2-hero .lp2-sub,
.lp2-hero .hero-ctas,
.lp2-hero .lp2-roster {
  opacity: 0;
  animation: lp2-fadeup 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.lp2-hero .hero-ctas { animation-delay: 0.12s; }
.lp2-hero .lp2-roster { animation-delay: 0.26s; }
@keyframes lp2-fadeup {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* respiração dourada apenas no CTA do hero; o CTA final ganha brilho estável */
.lp2 .hero-ctas .btn-gold { animation: lp2-breathe 3.2s ease-in-out infinite; }
.lp2 .lp2-cta .btn-gold { box-shadow: 0 0 22px rgba(224, 175, 104, 0.28), 0 6px 18px rgba(0, 0, 0, 0.45); }
@keyframes lp2-breathe {
  0%, 100% { box-shadow: 0 0 16px rgba(224, 175, 104, 0.22), 0 6px 18px rgba(0, 0, 0, 0.45); }
  50% { box-shadow: 0 0 34px rgba(224, 175, 104, 0.55), 0 6px 22px rgba(0, 0, 0, 0.5); }
}

/* brilho deslizante no botão dourado — via background-position,
   sem pseudo-elemento, impossível vazar para fora do botão */
.lp2 .btn-gold {
  background-image:
    linear-gradient(105deg,
      transparent 20%,
      rgba(255, 255, 255, 0.38) 42%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.38) 58%,
      transparent 80%),
    linear-gradient(180deg, rgba(224, 175, 104, 0.95), rgba(150, 112, 42, 0.95));
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  transition: background-position 0.7s ease;
}
.lp2 .btn-gold:hover { background-position: -20% 0, 0 0; }
.lp2 .btn-gold::before { content: none; }
.lp2 .lp2-cta .btn-gold:hover { box-shadow: 0 0 34px rgba(224, 175, 104, 0.5), 0 6px 22px rgba(0, 0, 0, 0.5); }

/* auréola respirando atrás do hero */
.lp2-hero::before { animation: lp2-glow 5s ease-in-out infinite; }
@keyframes lp2-glow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* anel das vocações girando */
.lp2-class-ring { background: rgba(20, 21, 31, 0.35); }
.lp2-class-ring::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    rgba(224, 175, 104, 0.95),
    rgba(122, 162, 247, 0.45) 40%,
    rgba(224, 175, 104, 0.28) 75%,
    rgba(224, 175, 104, 0.95)
  );
  animation: lp2-ringspin 7s linear infinite;
}
.lp2-class-ring img { position: relative; }
.lp2-class:hover .lp2-class-ring::before { filter: saturate(1.35) brightness(1.2); }
@keyframes lp2-ringspin { to { transform: rotate(360deg); } }

/* dungeons: zoom suave na arte + brilho atravessando o card */
.lp2-dg-tile { position: relative; }
.lp2-dg-tile::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -90%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: skewX(-22deg);
  transition: left 0.75s ease;
  pointer-events: none;
}
.lp2-dg-tile:hover::after { left: 135%; }
.lp2-dg-img img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.lp2-dg-tile:hover .lp2-dg-img img { transform: scale(1.12); }

/* numeral dos passos pulsando */
.step-n { animation: lp2-step-pulse 3.4s ease-in-out infinite; }
@keyframes lp2-step-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(224, 175, 104, 0.15); }
  50% { box-shadow: 0 0 30px rgba(224, 175, 104, 0.45); }
}

/* entrada escalonada dos grids menores (dispara quando o painel revela) */
.reveal.in [data-stagger] { animation: lp2-pop 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
@keyframes lp2-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* retrato do roster com halo no hover */
.lst-card img { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.lst-card:hover img {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(224, 175, 104, 0.3), 0 8px 22px rgba(0, 0, 0, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .lp2 *, .lp2 *::before, .lp2 *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .lp2-class-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp2-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp2-roster { gap: 10px; }
  .lst-card { width: 100px; padding: 10px 8px; }
}

/* ================= [[SALA DO TRONO]] ================= */
.throne-panel h2 { color: #ffd8a0; }
.throne-head { display: flex; gap: 14px; align-items: flex-start; }
.throne-crown { font-size: 30px; line-height: 1; filter: drop-shadow(0 0 10px rgba(224, 175, 104, 0.5)); }
.throne-head .lore { margin-bottom: 0; }
.throne-evo {
  margin-top: 14px; padding: 18px;
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
  background: rgba(20, 21, 31, 0.7);
}
.evo-target { display: flex; gap: 14px; align-items: center; }
.evo-icon img.gi { width: 40px; height: 40px; }
.evo-target b { color: #ffd8a0; font-family: Cinzel, Georgia, serif; font-size: 18px; letter-spacing: 0.04em; }
.evo-target .evo-ready-text, .evo-target .evo-req { margin: 6px 0 0 !important; }
.throne-form { margin-top: 14px; }
.throne-note { margin-top: 12px; color: var(--tok-dim); }

.throne-panel {
  background-image:
    linear-gradient(
      180deg,
      rgba(12, 14, 22, 0.82) 0%,
      rgba(12, 14, 22, 0.38) 30%,
      rgba(12, 14, 22, 0.16) 55%,
      rgba(12, 14, 22, 0.80) 100%
    ),
    url("/static/img/sala-do-trono.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0f1017;
  min-height: clamp(400px, 46vh, 480px);
}
.throne-panel > * { position: relative; z-index: 1; }
.throne-panel h2, .throne-panel p.lore { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }

.throne-roster { margin-top: 16px; }
.throne-roster h2 { color: #ffd8a0; }
.throne-heroes { display: grid; gap: 10px; }
.throne-hero {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1px solid rgba(59, 66, 97, 0.75); border-radius: 14px;
  background: rgba(20, 21, 31, 0.7);
}
.th-node {
  position: relative; width: 60px; height: 60px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(224, 175, 104, 0.4);
  background: #1a1b26;
}
.th-node .outfit, .th-node img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-node .gi { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.th-level {
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; font-weight: bold; white-space: nowrap;
  background: rgba(0, 0, 0, 0.78); color: #ffd8a0;
  padding: 1px 7px; border-radius: 999px;
}
.th-info { flex: 1; min-width: 0; }
.th-info b { color: #ffd8a0; font-family: Cinzel, Georgia, serif; font-size: 15.5px; }
.th-info small { display: block; color: var(--tok-dim); margin-top: 2px; font-size: 13px; }
.th-info .gi { width: 16px; height: 16px; vertical-align: -3px; }
.th-evo { text-align: right; min-width: 170px; }
.th-evo .hint { color: var(--tok-dim); font-size: 12.5px; }
.th-evo .hint b { color: #ffd8a0; }
.th-evo .bar { width: 150px; height: 8px; margin: 6px 0 0 auto; }
@media (max-width: 640px) {
  .throne-hero { flex-direction: column; align-items: flex-start; }
  .th-evo { text-align: left; min-width: 0; width: 100%; }
  .th-evo .bar { margin: 6px 0 0; }
}


/* ================= [[SALÃO DOS HERÓIS]] ================= */
.salao { position: relative; }
.salao > *:not(.salao-stars) { position: relative; z-index: 1; }
.salao-stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.salao-stars i {
  position: absolute; border-radius: 50%;
  background: rgba(224, 175, 104, 0.9);
  box-shadow: 0 0 6px rgba(224, 175, 104, 0.8);
  animation: lp2-twinkle ease-in-out infinite;
}

.salao .intro {
  text-align: center;
  padding: 42px 22px 30px;
  overflow: hidden;
  background:
    radial-gradient(closest-side at 50% -20%, rgba(122, 162, 247, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(26, 27, 38, 0.9), rgba(16, 17, 25, 0.82));
}
.salao .intro::before {
  content: "";
  position: absolute; left: 50%; top: -130px;
  width: 720px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(122, 162, 247, 0.15), rgba(224, 175, 104, 0.05) 55%, transparent 72%);
  filter: blur(10px); pointer-events: none;
  animation: lp2-glow 5s ease-in-out infinite;
}
.salao-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.salao-head h2 {
  margin: 0;
  font-family: "Cinzel Decorative", Cinzel, Georgia, serif;
  font-weight: 800; letter-spacing: 0.06em; font-size: clamp(26px, 4vw, 40px);
  color: #ffd8a0;
  text-shadow: 0 0 26px rgba(224, 175, 104, 0.4), 0 2px 6px rgba(0, 0, 0, 0.9);
}
.salao .user-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(12, 13, 20, 0.65);
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 999px; padding: 6px 8px 6px 14px;
  font-size: 13.5px; color: #c0caf5;
}
.salao .intro .lore { max-width: 720px; margin-left: auto; margin-right: auto; }

.salao-nav {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 26px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.salao-nav-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(59, 66, 97, 0.8);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background-color: rgba(20, 21, 31, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 26px rgba(0, 0, 0, 0.35);
}
.salao-nav-card.battle {
  background-image:
    linear-gradient(135deg, rgba(224, 175, 104, 0.16), rgba(20, 21, 31, 0.5) 55%),
    linear-gradient(180deg, rgba(26, 27, 38, 0.9), rgba(16, 17, 25, 0.85));
}
.salao-nav-card.city {
  background-image:
    linear-gradient(135deg, rgba(122, 162, 247, 0.14), rgba(20, 21, 31, 0.5) 55%),
    linear-gradient(180deg, rgba(26, 27, 38, 0.9), rgba(16, 17, 25, 0.85));
}
.salao-nav-card.hall {
  background-image:
    linear-gradient(135deg, rgba(224, 175, 104, 0.13), rgba(20, 21, 31, 0.5) 55%),
    linear-gradient(180deg, rgba(26, 27, 38, 0.9), rgba(16, 17, 25, 0.85));
}
.salao-nav-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 175, 104, 0.7);
}
.salao-nav-card.battle:hover { box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 175, 104, 0.2); }
.salao-nav-card.city:hover { box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 30px rgba(122, 162, 247, 0.22); }
.salao-nav-card.hall:hover { box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 175, 104, 0.25); }
.snc-icon {
  flex: none; width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 24px; border-radius: 50%;
  background: rgba(12, 13, 20, 0.7);
  border: 1px solid rgba(59, 66, 97, 0.8);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}
.battle .snc-icon { color: #ffd8a0; text-shadow: 0 0 14px rgba(224, 175, 104, 0.7); }
.city .snc-icon { color: #9db3ff; text-shadow: 0 0 14px rgba(122, 162, 247, 0.7); }
.hall .snc-icon { color: #ffd8a0; text-shadow: 0 0 14px rgba(224, 175, 104, 0.7); }
.battle:hover .snc-icon { box-shadow: 0 0 24px rgba(224, 175, 104, 0.35); }
.city:hover .snc-icon { box-shadow: 0 0 24px rgba(122, 162, 247, 0.35); }
.hall:hover .snc-icon { box-shadow: 0 0 24px rgba(224, 175, 104, 0.35); }
.snc-info { flex: 1; text-align: left; }
.snc-info b {
  display: block; font-family: Cinzel, Georgia, serif;
  font-size: 17px; letter-spacing: 0.05em; color: #ffd8a0; margin-bottom: 3px;
}
.city .snc-info b { color: #b7c7ff; }
.snc-info small { font-size: 12.5px; color: #7b86a8; line-height: 1.4; display: block; }
.snc-go {
  flex: none; font-size: 22px; color: rgba(224, 175, 104, 0.6);
  transition: transform 0.25s ease, color 0.25s ease;
}
.salao-nav-card:hover .snc-go { transform: translateX(5px); color: #ffd8a0; }

.salao .class-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.salao .class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent, rgba(224, 175, 104, 0.25));
}
.salao .class-card:hover .cc-icon { animation: lp2-glow 2.6s ease-in-out infinite; }

.salao .formation-slots { margin-top: 14px; }
.salao .f-slot {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.salao .f-slot.is-front { border-color: rgba(224, 175, 104, 0.45); }
.salao .f-slot:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 175, 104, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.35), 0 0 18px rgba(224, 175, 104, 0.1);
}

.salao .btn-gold {
  background-image:
    linear-gradient(105deg,
      transparent 20%,
      rgba(255, 255, 255, 0.32) 42%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0.32) 58%,
      transparent 80%),
    linear-gradient(180deg, rgba(224, 175, 104, 0.95), rgba(150, 112, 42, 0.95));
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  transition: background-position 0.7s ease, filter 0.15s ease;
}
.salao .btn-gold:hover { background-position: -20% 0, 0 0; }
.salao .btn-forge {
  width: auto;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.55), 0 0 16px rgba(224, 175, 104, 0.25), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.salao .btn-forge:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.55), 0 0 30px rgba(224, 175, 104, 0.5), 0 10px 22px rgba(0, 0, 0, 0.45);
}

.salao .panel h2 {
  display: flex; align-items: center; gap: 8px; color: #ffd8a0;
}
.salao .hall tbody tr { transition: background 0.18s ease; }
.salao .hall tbody tr:hover { background: rgba(224, 175, 104, 0.06); }

@media (max-width: 640px) {
  .salao-nav { grid-template-columns: 1fr; }
  .salao-head { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .salao *, .salao *::before, .salao *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============ hall da fama (rankings globais) ============ */

.hall-page { position: relative; max-width: 1080px; margin: 0 auto; }
.hall-page > *:not(.hall-stars) { position: relative; z-index: 1; }
.hall-stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.hall-stars i {
  position: absolute; border-radius: 50%;
  background: rgba(224, 175, 104, 0.9);
  box-shadow: 0 0 6px rgba(224, 175, 104, 0.8);
  animation: lp2-twinkle ease-in-out infinite;
}

.hall-page .panel {
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}
.hall-page .panel::after { display: none; }

.hall-hero {
  text-align: center;
  padding: 38px 22px 26px;
  overflow: hidden;
  background:
    radial-gradient(closest-side at 50% -20%, rgba(224, 175, 104, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(26, 27, 38, 0.9), rgba(16, 17, 25, 0.82));
}
.hall-hero::before {
  content: "";
  position: absolute; left: 50%; top: -130px;
  width: 720px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 175, 104, 0.14), rgba(122, 162, 247, 0.05) 55%, transparent 72%);
  filter: blur(10px); pointer-events: none;
  animation: lp2-glow 5s ease-in-out infinite;
}
.hall-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.hall-head h2 {
  margin: 0;
  font-family: "Cinzel Decorative", Cinzel, Georgia, serif;
  font-weight: 800; letter-spacing: 0.06em; font-size: clamp(24px, 4vw, 36px);
  color: #ffd8a0;
  text-shadow: 0 0 26px rgba(224, 175, 104, 0.4), 0 2px 6px rgba(0, 0, 0, 0.9);
}
.hall-page .user-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(12, 13, 20, 0.65);
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 999px; padding: 6px 8px 6px 14px;
  font-size: 13.5px; color: #c0caf5;
}
.hall-hero .lore { max-width: 720px; margin-left: auto; margin-right: auto; }

.hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}
.hall-grid .hall-board:nth-child(2) { transition-delay: 0.08s; }
.hall-grid .hall-board:nth-child(3) { transition-delay: 0.16s; }
.hall-grid .hall-board:nth-child(4) { transition-delay: 0.24s; }
.hall-grid .hall-board:nth-child(5) { transition-delay: 0.32s; }

.hall-board { min-width: 0; }
.hb-title {
  margin: 0 0 12px;
  font-family: Cinzel, Georgia, serif;
  font-size: 16.5px; letter-spacing: 0.08em;
  color: #ffd8a0;
  text-shadow: 0 0 14px rgba(224, 175, 104, 0.3);
  border-bottom: 1px solid rgba(59, 66, 97, 0.6);
  padding-bottom: 10px;
}
.hb-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.hb-row {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid rgba(59, 66, 97, 0.45);
  background: linear-gradient(180deg, rgba(24, 26, 38, 0.72), rgba(15, 16, 24, 0.72));
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.hb-row:hover {
  transform: translateX(3px);
  border-color: rgba(224, 175, 104, 0.55);
  box-shadow: 0 0 18px rgba(224, 175, 104, 0.12);
}
.hb-row.hb-me {
  border-color: rgba(224, 175, 104, 0.8);
  background:
    linear-gradient(135deg, rgba(224, 175, 104, 0.13), rgba(20, 21, 31, 0.4) 55%),
    linear-gradient(180deg, rgba(30, 31, 45, 0.85), rgba(18, 19, 30, 0.85));
}
.hb-rank {
  flex: none; width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: 13px;
  color: #7b86a8;
  background: rgba(12, 13, 20, 0.7);
  border: 1px solid rgba(59, 66, 97, 0.75);
}
.hb-rank[data-pos="1"] {
  color: #241a06;
  background: linear-gradient(180deg, #ffe6b3, #e0af68);
  border-color: rgba(255, 216, 160, 0.9);
  box-shadow: 0 0 14px rgba(224, 175, 104, 0.55);
}
.hb-rank[data-pos="2"] {
  background: linear-gradient(180deg, #e6e9f2, #aeb6c8);
  border-color: rgba(230, 233, 242, 0.8);
  box-shadow: 0 0 11px rgba(230, 233, 242, 0.35);
  color: #12141c;
}
.hb-rank[data-pos="3"] {
  background: linear-gradient(180deg, #e0ab79, #b06a3a);
  border-color: rgba(224, 171, 121, 0.85);
  box-shadow: 0 0 11px rgba(224, 171, 121, 0.35);
  color: #1c0f05;
}
.hb-ico {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 50%;
  background: rgba(12, 13, 20, 0.7);
  border: 1px solid rgba(59, 66, 97, 0.75);
}
.hb-name { flex: 1; min-width: 0; text-align: left; }
.hb-name b {
  display: block; font-size: 14.5px; color: #ecdfba;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hb-name small { font-size: 11.5px; color: #7b86a8; display: block; margin-top: 2px; }
.hb-val { text-align: right; flex: none; }
.hb-val b { display: block; font-size: 15px; color: #ffd8a0; font-family: Cinzel, Georgia, serif; }
.hb-val small { font-size: 11px; color: #7b86a8; display: block; margin-top: 2px; }
.hb-yourpos {
  margin-top: 12px; text-align: center;
  font-size: 12.5px; color: #aab2d6;
  padding: 8px;
  border: 1px dashed rgba(224, 175, 104, 0.5);
  border-radius: 10px;
  background: rgba(224, 175, 104, 0.05);
}
.hb-yourpos b { color: #ffd8a0; }

.hall-back {
  margin-top: 26px; text-align: center;
}
.hall-back .btn-gold {
  border: 1px solid rgba(59, 66, 97, 0.75);
  border-radius: 14px;
}

@media (max-width: 640px) {
  .hall-head { justify-content: center; text-align: center; }
  .hall-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hall-page *, .hall-page *::before, .hall-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
