/* OmegaSMP — page Vote */

.vote-main{
  position:relative;
  z-index:3;
  min-height:calc(100svh - 132px);
  padding:48px 0 42px;
}

.vote-head{
  max-width:760px;
  margin-bottom:28px;
}

.vote-head .micro{
  display:flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.08em;
  font-weight:600;
  color:var(--brass-300);
  text-transform:uppercase;
  margin-bottom:14px;
}

.vote-head .micro i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--forest-400);
  box-shadow:0 0 10px rgba(34,196,122,.85);
}

.vote-head h1{
  font-family:var(--font-display);
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.04em;
  margin:0 0 12px;
}

.vote-head h1 span{
  color:var(--forest-400);
}

.vote-head p{
  margin:0;
  color:var(--mist);
  font-size:14px;
  line-height:1.7;
  max-width:660px;
}

.vote-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  gap:18px;
  align-items:start;
}

.vote-panel{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:var(--panel);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:19px 20px;
  border-bottom:1px solid var(--line);
}

.panel-head small{
  display:block;
  font-family:var(--font-mono);
  font-size:8px;
  letter-spacing:.13em;
  color:var(--brass-300);
  text-transform:uppercase;
  margin-bottom:4px;
}

.panel-head strong{
  font-family:var(--font-display);
  font-size:15px;
}

.panel-head .pill{
  font-family:var(--font-mono);
  font-size:8px;
  color:var(--forest-400);
  border:1px solid var(--line-em);
  background:rgba(34,196,122,.08);
  padding:6px 8px;
  border-radius:999px;
}

.vote-list{
  padding:10px;
}

.vote-site{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 12px;
  border-radius:13px;
  transition:background .18s ease;
}

.vote-site+.vote-site{
  border-top:1px solid rgba(255,255,255,.055);
}

.vote-site:hover{
  background:rgba(255,255,255,.025);
}

.vote-num{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(34,196,122,.09);
  border:1px solid rgba(34,196,122,.16);
  font-family:var(--font-mono);
  font-weight:700;
  color:var(--forest-400);
}

.vote-info b{
  display:block;
  font-size:13px;
  margin-bottom:5px;
}

.vote-info span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--mist-dim);
  font-size:9px;
  font-weight:600;
}

.vote-info span i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--brass-500);
}

.vote-info span.ready{
  color:var(--forest-400);
}

.vote-info span.ready i{
  background:var(--forest-400);
}

.vote-btn{
  min-width:96px;
  text-align:center;
  text-decoration:none;
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  border:1px solid rgba(34,196,122,.35);
  background:linear-gradient(135deg,#0e9552,#075c34);
  padding:11px 14px;
  border-radius:9px;
  box-shadow:0 12px 26px -15px rgba(34,196,122,.75);
  transition:transform .18s ease,box-shadow .18s ease;
}

.vote-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 15px 30px -14px rgba(34,196,122,.9);
}

.vote-btn.pending{
  pointer-events:none;
  color:var(--mist);
  background:rgba(255,255,255,.045);
  border-color:var(--line);
  box-shadow:none;
}

.vote-how{
  margin:0 10px 10px;
  padding:16px 17px;
  border:1px solid rgba(205,168,94,.18);
  background:rgba(205,168,94,.055);
  border-radius:12px;
}

.vote-how b{
  font-size:11px;
  color:var(--brass-300);
}

.vote-how p{
  margin:7px 0 0;
  color:var(--mist);
  font-size:11px;
  line-height:1.55;
}

.vote-how em{
  font-style:normal;
  color:var(--ink);
}

.leader-list{
  padding:8px 14px 14px;
}

.leader-empty{
  padding:34px 18px 38px;
  text-align:center;
}

.leader-empty .trophy{
  width:44px;
  height:44px;
  margin:0 auto 12px;
  border-radius:13px;
  display:grid;
  place-items:center;
  border:1px solid rgba(205,168,94,.22);
  background:rgba(205,168,94,.07);
  color:var(--brass-300);
  font-size:19px;
}

.leader-empty b{
  display:block;
  font-size:12px;
  margin-bottom:7px;
}

.leader-empty p{
  margin:0 auto;
  color:var(--mist-dim);
  font-size:10px;
  line-height:1.55;
  max-width:240px;
}

.leader-foot{
  border-top:1px solid var(--line);
  padding:12px 16px;
  color:var(--mist-dim);
  font-family:var(--font-mono);
  font-size:8px;
  text-align:center;
  letter-spacing:.05em;
}

.vote-note{
  margin-top:18px;
  color:var(--mist-dim);
  font-size:9px;
}

.vote-note a{
  color:var(--mist);
  text-decoration:none;
}

.vote-note a:hover{
  color:var(--forest-400);
}

@media(max-width:900px){
  .vote-grid{
    grid-template-columns:1fr;
  }

  .vote-main{
    padding-top:34px;
  }
}

@media(max-width:620px){
  .vote-head h1{
    font-size:34px;
  }

  .vote-site{
    grid-template-columns:38px 1fr;
  }

  .vote-btn{
    grid-column:1/-1;
    width:100%;
  }

  .panel-head{
    padding:16px;
  }

  .vote-list{
    padding:7px;
  }
}

/* Top votants dynamique */

.leader-row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:8px 5px;
}

.leader-row + .leader-row{
  border-top:1px solid rgba(255,255,255,.055);
}

.leader-rank{
  font-family:var(--font-mono);
  font-size:10px;
  font-weight:700;
  color:var(--mist-dim);
  text-align:center;
}

.leader-row:nth-child(1) .leader-rank{
  color:var(--brass-300);
}

.leader-player{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}

.leader-player img{
  width:34px;
  height:34px;
  border-radius:8px;
  image-rendering:pixelated;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
}

.leader-player span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:600;
}

.leader-row strong{
  font-family:var(--font-mono);
  font-size:9px;
  color:var(--forest-400);
  white-space:nowrap;
}

/* Carte statut serveur */

.vote-server-card{
  position:absolute;
  top:26px;
  right:0;
  width:300px;
}

@media(max-width:900px){
  .vote-server-card{
    position:relative;
    top:auto;
    right:auto;
    width:100%;
    max-width:420px;
    margin:0 0 24px;
  }
}

@media(min-width:901px){
  .vote-head{
    padding-right:330px;
    max-width:none;
  }
}

/* Bouton Retour au site */
.back{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  color:white;
  text-decoration:none;
  border:1px solid var(--line);
  background:rgba(2,13,8,.7);
  border-radius:9px;
  padding:10px 14px;
  font-size:11px;
  font-weight:600;
  transition:border-color .18s ease;
}

.back:hover{
  border-color:var(--line-em);
}

.back .ic{
  width:13px;
  height:13px;
}

.ic-flip{
  transform:rotate(180deg);
}



@media(max-width:900px){
  
}


