/* ===========================
   RANKING GUILD - tema do site (glass + dourado)
   =========================== */

.ranking-guild-card{
  position: relative;
  overflow: hidden;
}

/* wrapper igual vibe do ranking anterior */
.ranking-table-wrap{
  padding: 6px 4px 2px;
  border-radius: 16px;
  border: 1px solid rgba(255,210,125,.12);
  background: rgba(0,0,0,.18);
}

.ranking-table-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 12px;
}

.table-title{
  font-weight: 900;
  letter-spacing: .6px;
  color: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-sub{
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* tabela tema */
.table-theme{
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.table-theme thead th{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.75);
  background: rgba(15,15,15,.65);
  border-bottom: 1px solid rgba(255,210,125,.14);
  padding: 12px 10px;
}

.table-theme tbody td,
.table-theme tbody th{
  border-color: rgba(255,255,255,.06);
  padding: 12px 10px;
  background: rgba(0,0,0,.08);
}

.table-theme tbody tr:hover td,
.table-theme tbody tr:hover th{
  background: rgba(255,210,125,.06);
}

.pos-col{
  font-weight: 900;
  color: rgba(255,255,255,.85);
}

.guild-name{
  font-weight: 900;
  color: rgba(255,255,255,.92);
}

/* pills de stats */
.stat-pill{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(15,15,15,.55);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset;
  min-width: 52px;
}

.stat-win{
  color: rgba(255,210,125,.95);
  border-color: rgba(255,210,125,.22);
}

.stat-loss{
  color: rgba(255,90,90,.92);
  border-color: rgba(255,90,90,.22);
}

.stat-draw{
  color: rgba(200,200,200,.90);
  border-color: rgba(200,200,200,.16);
}

/* pill do reino */
.empire-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(15,15,15,.55);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
}

.empire-pill img{
  width: 16px;
  height: 16px;
  opacity: .95;
}

.empire-pill-shinsoo{ border-color: rgba(255,75,75,.28); }
.empire-pill-chunjo{ border-color: rgba(255,210,125,.28); }
.empire-pill-jinno{ border-color: rgba(90,167,255,.28); }

/* responsivo */
@media (max-width: 576px){
  .ranking-table-head{
    flex-direction: column;
    align-items: flex-start;
  }
}
