*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg:#04090c;
  --card:#081118;
  --card2:#0d1820;
  --green:#45ff2f;
  --green-dark:#22b514;
  --text:#ffffff;
  --text2:#aeb8be;
  --border:rgba(255,255,255,.08);
}

body{
  background:#04090c;
  color:white;
  font-family:Arial, Helvetica, sans-serif;
  overflow-x:hidden;
}

button,
input{
  font-family:inherit;
}

button{
  border:none;
  cursor:pointer;
}

.app{
  min-height:100vh;

  background:
  linear-gradient(rgba(4,9,12,.82), rgba(4,9,12,.95)),
  url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?q=80&w=1800&auto=format&fit=crop");

  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}

/* HEADER */

.header{
  width:100%;
  height:86px;

  padding:0 34px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  background:rgba(4,9,12,.88);

  backdrop-filter:blur(14px);

  border-bottom:1px solid var(--border);

  position:sticky;
  top:0;
  z-index:999;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo-ball{
  width:170px;
  height:48px;

  border-radius:10px;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;

  background:transparent;
  border:none;

  flex-shrink:0;
}

.logo-ball img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.logo-text strong{
  display:block;
  font-size:24px;
  line-height:1;
}

.logo-text span{
  color:var(--green);
  font-size:11px;
  letter-spacing:4px;
  font-weight:bold;
}

/* MENU */

.menu{
  display:flex;
  align-items:center;
  gap:26px;
}

.menu button{
  background:none;
  color:white;

  font-size:14px;

  display:flex;
  align-items:center;
  gap:8px;

  padding:28px 0;

  border-bottom:2px solid transparent;

  transition:.2s;
}

.menu button:hover,
.menu button.active{
  color:var(--green);
  border-color:var(--green);
}

/* USER */

.user-area{
  display:flex;
  align-items:center;
  gap:18px;
}

.bell{
  position:relative;
  font-size:20px;
}

.bell span{
  position:absolute;

  top:-8px;
  right:-8px;

  width:18px;
  height:18px;

  border-radius:50%;

  background:var(--green);

  display:flex;
  align-items:center;
  justify-content:center;

  color:#001400;

  font-size:10px;
  font-weight:bold;
}

.avatar{
  width:42px;
  height:42px;

  border-radius:50%;

  background:linear-gradient(135deg,var(--green),var(--green-dark));

  display:flex;
  align-items:center;
  justify-content:center;

  color:#001400;
  font-weight:bold;
}

/* CONTAINER */

.container{
  width:min(1200px, calc(100% - 40px));
  margin:0 auto;
}

/* HERO */

.hero{
  padding:90px 0 46px;

  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:50px;

  align-items:center;
}

.hero-subtitle{
  color:var(--green);
  font-size:18px;
  font-weight:bold;
  letter-spacing:2px;

  margin-bottom:18px;
}

.hero h1{
  font-size:clamp(58px,7vw,96px);
  line-height:.95;

  margin-bottom:24px;
}

.hero p{
  color:#c1cad0;
  font-size:21px;
  line-height:1.6;

  max-width:620px;
}

.hero-actions{
  display:flex;
  gap:16px;

  margin-top:34px;
}

/* BUTTONS */

.btn{
  height:56px;
  padding:0 28px;

  border-radius:12px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  font-weight:bold;
}

.btn-green{
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;

  box-shadow:0 0 24px rgba(69,255,47,.2);
}

.btn-dark{
  background:rgba(255,255,255,.08);

  border:1px solid rgba(255,255,255,.08);

  color:white;
}

/* NEXT GAME */

.next-game-card{
  background:rgba(8,17,24,.92);

  border:1px solid rgba(255,255,255,.08);

  border-radius:18px;

  padding:30px;

  box-shadow:0 30px 60px rgba(0,0,0,.4);
}

.next-game-card h3{
  color:var(--green);
  margin-bottom:26px;
}

.game-info{
  display:flex;
  gap:16px;
  margin-bottom:24px;
}

.game-info i{
  color:var(--green);
  font-size:28px;
}

.game-info strong{
  display:block;
  font-size:22px;
  margin-bottom:4px;
}

.game-info span{
  color:var(--text2);
}

/* COUNTDOWN */

.countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:12px;
}

.countdown div{
  background:#101920;

  border-radius:10px;

  padding:16px 8px;

  text-align:center;
}

.countdown strong{
  display:block;
  font-size:28px;
}

.countdown span{
  color:var(--text2);
  font-size:11px;
}

/* QUICK MENU */

.quick-menu{
  display:grid;
  grid-template-columns:repeat(5,1fr);

  gap:18px;

  margin-bottom:30px;
}

.quick-item{
  background:rgba(8,17,24,.92);

  border:1px solid rgba(255,255,255,.08);

  border-radius:14px;

  padding:26px;

  display:flex;
  align-items:flex-start;
  gap:16px;

  text-align:left;

  transition:.2s;
}

.quick-item:hover{
  transform:translateY(-4px);
  border-color:rgba(69,255,47,.25);
}

.quick-item i{
  color:var(--green);
  font-size:28px;
}

.quick-item strong{
  display:block;
  margin-bottom:6px;
}

.quick-item span{
  color:var(--text2);
  line-height:1.5;
  font-size:14px;
}

/* DASHBOARD GRID */

.dashboard-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr;

  gap:18px;

  margin-bottom:24px;
}

.cards-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:18px;

  margin-bottom:28px;
}

/* PANEL */

.panel{
  background:rgba(8,17,24,.92);

  border:1px solid rgba(255,255,255,.08);

  border-radius:18px;

  padding:28px;
}

.panel-header{
  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:24px;
}

.panel-title{
  display:flex;
  align-items:center;
  gap:12px;

  font-size:20px;
}

.panel-title i{
  color:var(--green);
}

.small-btn{
  background:#101920;

  border:1px solid rgba(255,255,255,.08);

  color:white;

  padding:10px 14px;

  border-radius:8px;
}

/* RANKING */

.ranking-list{
  display:flex;
  flex-direction:column;
}

.ranking-player{
  display:grid;
  grid-template-columns:50px 1fr repeat(4,70px);

  gap:12px;

  align-items:center;

  padding:16px 0;

  border-bottom:1px solid rgba(255,255,255,.06);
}

.ranking-player:last-child{
  border:none;
}

.position{
  font-size:22px;
  font-weight:bold;
}

.player-name{
  display:flex;
  align-items:center;
  gap:12px;
}

.player-photo{
  width:42px;
  height:42px;

  border-radius:50%;

  background:linear-gradient(135deg,var(--green),var(--green-dark));

  display:flex;
  align-items:center;
  justify-content:center;

  color:#001400;
  font-weight:bold;
}

.player-name strong{
  display:block;
}

.player-name span{
  color:var(--green);
  font-size:11px;
}

.stat-label{
  font-size:11px;
  color:var(--text2);
}

.stat-value{
  font-size:16px;
  font-weight:bold;
}

.points{
  color:var(--green);
}

/* NOTICE */

.notice{
  background:#101920;

  border:1px solid rgba(255,255,255,.06);

  border-radius:12px;

  padding:18px;

  display:flex;
  gap:14px;

  margin-bottom:12px;
}

.dot{
  width:10px;
  height:10px;

  border-radius:50%;

  margin-top:6px;
}

.green{
  background:#45ff2f;
}

.yellow{
  background:#ffcc00;
}

.blue{
  background:#2f7dff;
}

.notice strong{
  display:block;
  margin-bottom:8px;
}

.notice p{
  color:var(--text2);
  line-height:1.5;
}

/* MEMBER */

.member-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.member{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.member-left{
  display:flex;
  align-items:center;
  gap:12px;
}

.member-status{
  color:var(--green);
  font-size:14px;
}

/* VOTE */

.vote-item{
  margin-bottom:16px;
}

.vote-top{
  display:flex;
  justify-content:space-between;

  margin-bottom:8px;
}

.progress{
  height:6px;

  border-radius:999px;

  background:#101920;

  overflow:hidden;
}

.progress div{
  height:100%;
  background:var(--green);
}

/* MATCH */

.match{
  display:grid;
  grid-template-columns:60px 1fr 80px 1fr;

  gap:12px;

  padding:18px 0;

  border-bottom:1px solid rgba(255,255,255,.06);

  color:#c7d0d5;
}

.match strong{
  text-align:center;
}

/* CTA */

.cta{
  background:
  linear-gradient(90deg, rgba(8,17,24,.3), rgba(8,17,24,.9)),
  url("https://images.unsplash.com/photo-1575361204480-aadea25e6e68?q=80&w=1400&auto=format&fit=crop");

  background-size:cover;
  background-position:center;

  border-radius:18px;

  padding:34px;

  border:1px solid rgba(255,255,255,.08);

  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:34px;
}

.cta h2{
  margin-bottom:10px;
}

.cta p{
  color:#c1cad0;
}

/* SIMPLE GRID */

.page-title{
  font-size:38px;
  margin:40px 0 24px;
}

.simple-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:18px;

  padding-bottom:40px;
}

.player-card{
  background:rgba(8,17,24,.92);

  border:1px solid rgba(255,255,255,.08);

  border-radius:16px;

  padding:24px;
}



.player-card h3{
  margin:14px 0 6px;
}

.player-card p{
  color:var(--text2);
  margin-bottom:18px;
}

.player-stats{
  display:flex;
  justify-content:space-between;

  color:var(--green);
  font-weight:bold;
}

/* LOGIN */

.login-modal-bg{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,.75);

  backdrop-filter:blur(8px);

  z-index:9999;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:24px;
}

.auth-card{
  width:100%;
  max-width:430px;

  background:#0b141a;

  border:1px solid rgba(255,255,255,.08);

  border-radius:18px;

  padding:38px;

  position:relative;
}

.close-modal{
  position:absolute;

  top:18px;
  right:18px;

  width:36px;
  height:36px;

  border-radius:50%;

  background:rgba(255,255,255,.08);

  color:white;
}

.auth-logo{
  display:flex;
  align-items:center;
  gap:12px;

  margin-bottom:28px;
}

.auth-card h1{
  font-size:36px;
  margin-bottom:12px;
}

.auth-card p{
  color:var(--text2);
  margin-bottom:28px;
  line-height:1.5;
}

.input-group{
  margin-bottom:18px;
}

.input-group label{
  display:block;
  margin-bottom:10px;
}

.input-group input{
  width:100%;
  height:54px;

  background:#101920;

  border:1px solid rgba(255,255,255,.08);

  border-radius:10px;

  padding:0 18px;

  color:white;
}

.input-group input:focus{
  outline:none;
  border-color:var(--green);
}

.auth-btn{
  width:100%;
  height:56px;

  border-radius:10px;

  margin-top:10px;

  background:linear-gradient(135deg,var(--green),var(--green-dark));

  color:#001400;

  font-weight:bold;
}

.auth-footer{
  margin-top:24px;
  text-align:center;

  color:var(--text2);
}

.auth-footer button{
  background:none;
  color:var(--green);
  font-weight:bold;
}

/* FOOTER */

.footer{
  padding:40px 0;

  display:flex;
  justify-content:space-between;
  align-items:center;

  color:var(--text2);
}

/* MOBILE */

@media(max-width:950px){

  .menu{
    display:none;
  }

  .hero{
    grid-template-columns:1fr;
    padding-top:50px;
  }

  .quick-menu,
  .dashboard-grid,
  .cards-row,
  .simple-grid{
    grid-template-columns:1fr;
  }

  .ranking-player{
    grid-template-columns:40px 1fr 60px;
  }

  .hide-mobile{
    display:none;
  }

  .cta{
    flex-direction:column;
    gap:24px;
    align-items:flex-start;
  }

  .footer{
    flex-direction:column;
    gap:18px;
    text-align:center;
  }

}

@media(max-width:600px){

  .header{
    padding:0 18px;
  }

  .hero h1{
    font-size:56px;
  }

  .hero-actions{
    flex-direction:column;
  }

}

.user-area{
  position:relative;
}

.user-dropdown{
  position:absolute;
  top:58px;
  right:0;

  width:220px;

  background:#0b141a;

  border:1px solid rgba(255,255,255,.08);

  border-radius:14px;

  padding:16px;

  z-index:9999;

  box-shadow:0 20px 50px rgba(0,0,0,.4);
}

.user-dropdown strong{
  display:block;
  margin-bottom:4px;
}

.user-dropdown span{
  display:block;
  color:var(--green);
  font-size:12px;
  margin-bottom:14px;
}

.user-dropdown button{
  width:100%;

  background:#101920;

  color:white;

  border-radius:10px;

  padding:12px;

  margin-top:8px;

  display:flex;
  align-items:center;
  gap:10px;
}

.profile-box{
  display:flex;
  align-items:center;
  gap:24px;
}

.profile-avatar{
  width:88px;
  height:88px;

  border-radius:50%;

  background:linear-gradient(135deg,var(--green),var(--green-dark));

  display:flex;
  align-items:center;
  justify-content:center;

  color:#001400;

  font-size:34px;
  font-weight:bold;
}

.profile-box p{
  color:var(--text2);
  margin-top:8px;
}

.admin-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-bottom:24px;
}

.admin-card{
  background:rgba(8,17,24,.92);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:24px;
}

.admin-card i{
  color:var(--green);
  font-size:26px;
  margin-bottom:18px;
}

.admin-card strong{
  display:block;
  font-size:34px;
  margin-bottom:6px;
}

.admin-card span{
  color:var(--text2);
}

.admin-table-wrap{
  width:100%;
  overflow-x:auto;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width:900px;
}

.admin-table th,
.admin-table td{
  padding:14px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#dce5ea;
}

.admin-table th{
  color:var(--green);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.admin-table select{
  background:#101920;
  color:white;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  padding:9px;
}

.admin-action{
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;
  font-weight:bold;
  padding:9px 12px;
  border-radius:8px;
}

@media(max-width:950px){
  .admin-grid{
    grid-template-columns:1fr;
  }
}

.admin-form{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}

.admin-form input,
.admin-form select{
  height:48px;
  background:#101920;
  color:white;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:0 14px;
}

@media(max-width:950px){
  .admin-form{
    grid-template-columns:1fr;
  }
}

/* CORREÇÕES DO MENU INICIAL */

.quick-menu{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:10px 0 34px;
}

.quick-item{
  min-height:125px;
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:26px;
  display:flex;
  align-items:center;
  gap:18px;
  color:white;
  text-align:left;
  transition:.2s ease;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.quick-item:hover{
  transform:translateY(-5px);
  border-color:rgba(69,255,47,.35);
  background:rgba(12,26,18,.96);
}

.quick-item i{
  min-width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(69,255,47,.12);
  color:var(--green);
  font-size:24px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.quick-item strong{
  display:block;
  color:white;
  font-size:16px;
  margin-bottom:6px;
}

.quick-item span{
  display:block;
  color:#b8c3c9;
  font-size:14px;
  line-height:1.45;
}

.hero{
  padding:90px 0 55px;
}

.hero-actions .btn{
  min-width:150px;
}

.dashboard-grid{
  margin-top:0;
}

.panel{
  box-shadow:0 20px 55px rgba(0,0,0,.22);
}

@media(max-width:950px){
  .quick-menu{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .quick-menu{
    grid-template-columns:1fr;
  }

  .quick-item{
    min-height:auto;
  }
}

.notice-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.notice-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  border-radius:14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
}

.notice-item strong{
  display:block;
  margin-bottom:5px;
  color:white;
}

.notice-item p{
  color:#b7c2c8;
  line-height:1.5;
  font-size:14px;
}

.notice-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  margin-top:5px;
  flex-shrink:0;
}

.notice-dot.green{
  background:#45ff2f;
}

.notice-dot.yellow{
  background:#ffd43b;
}

.notice-dot.blue{
  background:#3ba7ff;
}

.matches-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.highlight-player{
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 0;
}

.highlight-avatar{
  width:74px;
  height:74px;
  border-radius:50%;
  background:linear-gradient(135deg,#45ff2f,#2bb81b);
  color:#001400;
  font-size:28px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.highlight-avatar.bagre{
  background:linear-gradient(135deg,#ffb347,#ff7b00);
  color:white;
}

.highlight-info strong{
  display:block;
  color:white;
  font-size:20px;
  margin-bottom:6px;
}

.highlight-info span{
  color:#b7c2c8;
  font-size:15px;
}

.dashboard-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

@media(max-width:1100px){
  .dashboard-grid-3{
    grid-template-columns:1fr;
  }
}

.dashboard-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:24px;
  margin-bottom:34px;
}

.mini-panel{
  min-height:auto;
  padding:22px;
}

.mini-highlight{
  display:flex;
  align-items:center;
  gap:16px;
}

.mini-avatar{
  width:54px;
  height:54px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;
  font-size:22px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.mini-avatar.bagre{
  background:linear-gradient(135deg,#ffb347,#ff7b00);
  color:white;
}

.mini-highlight strong{
  display:block;
  font-size:18px;
  margin-bottom:4px;
}

.mini-highlight span{
  color:#b7c2c8;
  font-size:14px;
}

.notice-list.compact{
  gap:10px;
}

.notice-list.compact .notice-item{
  padding:12px;
}

.notice-list.compact .notice-item p{
  font-size:13px;
}

@media(max-width:950px){
  .dashboard-grid-3{
    grid-template-columns:1fr;
  }
}

.round-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1.4fr;
  gap:18px;
  margin:24px 0 38px;
}

.round-item{
  min-height:96px;
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:20px;
  display:flex;
  align-items:center;
  gap:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.round-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  flex-shrink:0;
}

.green-icon{
  background:rgba(69,255,47,.14);
  color:var(--green);
}

.orange-icon{
  background:rgba(255,139,25,.14);
  color:#ff941f;
}

.blue-icon{
  background:rgba(59,167,255,.14);
  color:#3ba7ff;
}

.round-item span{
  display:block;
  color:#aeb8be;
  font-size:13px;
  margin-bottom:4px;
}

.round-item strong{
  display:block;
  color:white;
  font-size:16px;
  line-height:1.35;
}

.round-item small{
  display:block;
  color:#b7c2c8;
  font-size:13px;
  margin-top:3px;
}

@media(max-width:950px){
  .round-strip{
    grid-template-columns:1fr;
  }
}

.container{
  width:min(1280px, calc(100% - 48px)) !important;
  margin:0 auto !important;
}

.hero{
  display:grid !important;
  grid-template-columns:1.15fr .85fr !important;
  gap:70px !important;
  align-items:center !important;
  padding:90px 0 58px !important;
}

.quick-menu{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:18px !important;
  margin:0 0 24px !important;
}

.quick-item{
  min-height:145px !important;
  padding:28px !important;
  border-radius:18px !important;
  align-items:center !important;
}

.quick-item small{
  display:block;
  color:var(--green);
  font-weight:bold;
  margin-top:16px;
}

.dashboard-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px !important;
  margin:0 0 24px !important;
}

.round-strip{
  display:grid !important;
  grid-template-columns:1fr 1fr 1.4fr !important;
  gap:18px !important;
  margin:0 0 42px !important;
}

.panel{
  border-radius:18px !important;
}

@media(max-width:950px){
  .hero,
  .quick-menu,
  .dashboard-grid,
  .round-strip{
    grid-template-columns:1fr !important;
  }
}

.footer{
  margin-top:50px;
  padding:24px 0;
  border-top:1px solid rgba(255,255,255,.06);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;

  color:#b7c2c8;
  font-size:14px;
}

.footer-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.footer-ball{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(69,255,47,.10);

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;
}

.footer-brand strong{
  display:block;
  color:white;
  font-size:16px;
}

.footer-brand span{
  color:#7f8b91;
  font-size:13px;
}

.footer-center{
  color:#95a2a8;
}

.footer-right strong{
  color:var(--green);
}

@media(max-width:850px){

  .footer{
    flex-direction:column;
    text-align:center;
  }

}

.ranking-player .player-photo,
.player-name .player-photo{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  border-radius:50% !important;
  aspect-ratio:1 / 1;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.ranking-player{
  grid-template-columns:50px minmax(0, 1fr) 80px !important;
}

.ranking-filters{
  display:flex;
  gap:10px;
  margin-bottom:22px;
  flex-wrap:wrap;
}

.ranking-filters button{
  height:36px;
  padding:0 16px;
  border-radius:10px;
  border:none;
  background:rgba(255,255,255,.06);
  color:#c6d0d5;
  cursor:pointer;
  transition:.2s;
  font-weight:600;
}

.ranking-filters button:hover{
  background:rgba(255,255,255,.10);
}

.ranking-filters button.active{
  background:var(--green);
  color:#001400;
}

.ranking-page{
  padding:44px 0 20px;
}

.ranking-hero{
  background:linear-gradient(135deg,rgba(8,17,24,.96),rgba(13,35,22,.92));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:24px;
}

.ranking-hero span{
  color:var(--green);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
}

.ranking-hero h1{
  font-size:42px;
  margin:10px 0;
}

.ranking-hero p{
  color:#b7c2c8;
  max-width:620px;
  line-height:1.6;
}

.ranking-hero-card{
  min-width:190px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:24px;
  text-align:center;
}

.ranking-hero-card strong{
  display:block;
  font-size:42px;
  color:var(--green);
}

.ranking-tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:26px;
}

.ranking-tabs button{
  height:46px;
  padding:0 20px;
  border-radius:14px;
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  color:white;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:10px;
}

.ranking-tabs button.active{
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;
}

.ranking-podium{
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:18px;
  align-items:end;
  margin-bottom:26px;
}

.podium-card{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:26px;
  text-align:center;
  position:relative;
  box-shadow:0 18px 45px rgba(0,0,0,.2);
}

.podium-1{
  padding-top:42px;
  border-color:rgba(69,255,47,.35);
  transform:translateY(-10px);
}

.podium-position{
  position:absolute;
  top:16px;
  left:18px;
  color:var(--green);
  font-weight:900;
  font-size:20px;
}

.podium-photo{
  margin:0 auto 14px;
  width:64px !important;
  height:64px !important;
}

.podium-card h3{
  font-size:20px;
  margin-bottom:4px;
}

.podium-card p{
  color:#aeb8be;
  margin-bottom:16px;
}

.podium-card strong{
  display:block;
  font-size:34px;
  color:var(--green);
}

.podium-card span{
  color:#aeb8be;
  font-size:13px;
}

.ranking-board{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  overflow:hidden;
}

.ranking-board-header,
.ranking-board-row{
  display:grid;
  grid-template-columns:110px 1fr 160px 140px;
  align-items:center;
  gap:16px;
  padding:18px 24px;
}

.ranking-board-header{
  color:var(--green);
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:1px;
  background:rgba(255,255,255,.035);
}

.ranking-board-row{
  border-top:1px solid rgba(255,255,255,.06);
}

.rank-number{
  font-size:22px;
  font-weight:900;
  color:white;
}

.rank-player{
  display:flex;
  align-items:center;
  gap:14px;
}

.rank-player strong{
  display:block;
  color:white;
}

.rank-player span,
.rank-position{
  color:#aeb8be;
}

.rank-score{
  color:var(--green);
  font-size:24px;
  font-weight:900;
}

.rank-score small{
  display:block;
  color:#aeb8be;
  font-size:11px;
  font-weight:500;
}

@media(max-width:900px){
  .ranking-hero{
    flex-direction:column;
    align-items:flex-start;
  }

  .ranking-podium{
    grid-template-columns:1fr;
  }

  .podium-1{
    transform:none;
  }

  .ranking-board-header{
    display:none;
  }

  .ranking-board-row{
    grid-template-columns:60px 1fr 80px;
  }

  .rank-position{
    display:none;
  }
}

.voting-page{
  padding:44px 0 20px;
}

.voting-hero{
  background:linear-gradient(135deg,rgba(8,17,24,.96),rgba(13,35,22,.92));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:34px;
  margin-bottom:24px;
}

.voting-hero span{
  color:var(--green);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
}

.voting-hero h1{
  font-size:40px;
  margin:10px 0;
}

.voting-hero p{
  color:#b7c2c8;
  line-height:1.6;
}

.voting-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.voting-category{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:24px;
}

.voting-category-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}

.voting-category-header div{
  display:flex;
  align-items:center;
  gap:12px;
}

.voting-category-header i{
  color:var(--green);
  font-size:24px;
}

.voting-category-header h2{
  font-size:22px;
}

.vote-status{
  background:rgba(255,255,255,.08);
  color:#b7c2c8;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.vote-status.open{
  color:var(--green);
}

.voting-options{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.vote-card{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding:14px;
  display:grid;
  grid-template-columns:48px 1fr 90px;
  gap:14px;
  align-items:center;
}

.vote-card.selected{
  border-color:rgba(69,255,47,.35);
  background:rgba(69,255,47,.08);
}

.vote-player-info strong{
  display:block;
  color:white;
}

.vote-player-info span{
  color:#aeb8be;
  font-size:13px;
}

.vote-btn{
  height:38px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;
  font-weight:900;
}

.vote-btn.voted,
.vote-btn:disabled{
  background:#3a4247;
  color:#c6d0d5;
  cursor:not-allowed;
}

.voting-result{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

.voting-result h3{
  margin-bottom:12px;
}

.voting-result p{
  color:#aeb8be;
}

.result-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.result-row span{
  color:#dce5ea;
}

.result-row strong{
  color:var(--green);
}

@media(max-width:950px){
  .voting-grid{
    grid-template-columns:1fr;
  }

  .voting-hero h1{
    font-size:30px;
  }
}

.limited-votes{
  max-height:360px;
  overflow-y:auto;
  padding-right:6px;
}

.limited-votes::-webkit-scrollbar{
  width:6px;
}

.limited-votes::-webkit-scrollbar-thumb{
  background:rgba(69,255,47,.35);
  border-radius:999px;
}

.vote-player-info strong{
  font-size:16px;
}

.vote-player-info span{
  display:block;
  color:#8f9aa0;
  font-size:13px;
  margin-top:3px;
}

.vote-top3{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding:16px;
  margin-bottom:18px;
}

.vote-top3 h3{
  font-size:15px;
  margin-bottom:12px;
  color:white;
}

.vote-top3 p{
  color:#aeb8be;
  font-size:14px;
}

.top3-row{
  display:grid;
  grid-template-columns:38px 1fr auto;
  align-items:center;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.top3-row:last-child{
  border-bottom:none;
}

.top3-row span{
  color:#aeb8be;
  font-weight:bold;
}

.top3-row strong{
  color:white;
}

.top3-row small{
  color:#aeb8be;
}

.top3-row.leader{
  background:rgba(69,255,47,.08);
  margin:0 -8px;
  padding:10px 8px;
  border-radius:10px;
  border-bottom:none;
}

.top3-row.leader span,
.top3-row.leader small{
  color:var(--green);
}

.selection-section{
  margin-top:34px;
}

.selection-header{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:26px;
  margin-bottom:22px;
}

.selection-header span{
  color:var(--green);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
}

.selection-header h2{
  font-size:30px;
  margin:8px 0;
}

.selection-header p{
  color:#aeb8be;
}

.field-wrapper{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:26px;
}

.field{
  max-width:720px;
  min-height:760px;
  margin:0 auto;
  padding:34px 26px;
  border-radius:28px;
  background:
    linear-gradient(rgba(41,126,24,.88),rgba(27,96,17,.92)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.04) 0,
      rgba(255,255,255,.04) 70px,
      transparent 70px,
      transparent 140px
    );
  border:3px solid rgba(255,255,255,.35);
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.field::before{
  content:"";
  position:absolute;
  inset:24px;
  border:3px solid rgba(255,255,255,.45);
  border-radius:20px;
  pointer-events:none;
}

.field::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:150px;
  height:150px;
  border:3px solid rgba(255,255,255,.45);
  border-radius:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
}

.field-row{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:36px;
}

.field-row.wings{
  justify-content:space-between;
  padding:0 28px;
}

.field-row.defense{
  gap:90px;
}

.field-card{
  width:92px;
  height:122px;
  background:linear-gradient(180deg,#101820,#03080c);
  color:white;
  border:2px solid rgba(255,255,255,.18);
  clip-path:polygon(50% 0%, 100% 12%, 100% 88%, 50% 100%, 0% 88%, 0% 12%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:.2s;
  position:relative;
  z-index:3;
}

.field-card:hover{
  transform:translateY(-4px);
  border-color:var(--green);
}

.field-card i{
  color:#8ea0ff;
  font-size:20px;
}

.field-card span{
  color:#8ea0ff;
  font-weight:900;
  font-size:14px;
}

.field-card strong{
  font-size:14px;
  text-align:center;
  padding:0 8px;
}

.field-card.filled{
  background:linear-gradient(180deg,#17351d,#08100b);
  border-color:rgba(69,255,47,.55);
}

.selection-modal-bg{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(8px);
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.selection-modal{
  width:min(520px,100%);
  max-height:80vh;
  background:#0b141a;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:24px;
  overflow:hidden;
}

.selection-modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.selection-modal-header button{
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:white;
}

.selection-players{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:60vh;
  overflow-y:auto;
  padding-right:6px;
}

.selection-player{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:14px;
  color:white;
  text-align:left;
}

.selection-player:hover{
  border-color:rgba(69,255,47,.35);
}

.selection-player strong{
  display:block;
}

.selection-player span{
  color:#8f9aa0;
  font-size:13px;
}

.selection-player.disabled{
  opacity:.35;
  cursor:not-allowed;
}

@media(max-width:700px){
  .field{
    min-height:650px;
  }

  .field-card{
    width:76px;
    height:104px;
  }

  .field-row{
    gap:18px;
  }

  .field-row.defense{
    gap:38px;
  }
}

.selection-layout{
  display:grid;
  grid-template-columns:1fr 210px;
  gap:22px;
  align-items:start;
}

.field-card{
  position:relative;
}

.field-photo{
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  background:rgba(69,255,47,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid rgba(69,255,47,.35);
}

.field-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.field-photo span{
  color:var(--green);
  font-weight:900;
  font-size:18px;
}

.remove-player{
  position:absolute;
  top:4px;
  right:8px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:white;
  font-size:11px;
  z-index:5;
}

.add-player{
  background:none;
  color:#8ea0ff;
  font-size:20px;
}

.field-card.filled{
  cursor:grab;
}

.field-card.filled:active{
  cursor:grabbing;
}

.selection-sidebar{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.selection-line{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:10px;
  align-items:center;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.selection-line:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.selection-line strong{
  color:#7f8b91;
  font-size:14px;
}

.selection-line span{
  color:white;
  font-size:14px;
  font-weight:700;
}

@media(max-width:900px){
  .selection-layout{
    grid-template-columns:1fr;
  }
}

.selection-main-layout{
  display:grid;
  grid-template-columns:1fr 330px;
  gap:24px;
  align-items:start;
}

.selection-field-card,
.selected-team-card{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:26px;
}

.selection-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
}

.selection-title span{
  width:4px;
  height:22px;
  border-radius:99px;
  background:var(--green);
}

.selection-title h2{
  font-size:20px;
}

.cartola-field{
  min-height:690px;
  max-width:850px;
  margin:0 auto;
  padding:38px 40px;
  border-radius:28px;
  background:
    linear-gradient(rgba(32,104,28,.86),rgba(22,75,22,.92)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.04) 0,
      rgba(255,255,255,.04) 68px,
      transparent 68px,
      transparent 136px
    );
  border:3px solid rgba(255,255,255,.22);
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.cartola-field::before{
  content:"";
  position:absolute;
  inset:28px;
  border:3px solid rgba(255,255,255,.28);
  border-radius:20px;
  pointer-events:none;
}

.cartola-field::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:150px;
  height:150px;
  border:3px solid rgba(255,255,255,.22);
  border-radius:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
}

.field-line{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:52px;
}

.field-line.wings{
  justify-content:space-between;
  padding:0 12px;
}

.field-line.defense{
  gap:120px;
}

.cartola-card{
  width:116px;
  height:150px;
  background:linear-gradient(180deg,#101c18,#030807);
  color:white;
  border:2px solid rgba(69,255,47,.32);
  clip-path:polygon(50% 0%, 100% 13%, 100% 86%, 50% 100%, 0% 86%, 0% 13%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
  cursor:pointer;
  position:relative;
  box-shadow:0 20px 35px rgba(0,0,0,.35);
}

.cartola-card:hover{
  transform:translateY(-4px);
}

.cartola-card i{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--green);
  color:#001400;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
}

.cartola-card strong{
  font-size:14px;
  color:var(--green);
}

.cartola-card span{
  color:#c7d0d5;
  font-size:12px;
  line-height:1.35;
  padding:0 8px;
}

.cartola-card.filled strong{
  color:white;
}

.cartola-card.locked{
  cursor:not-allowed;
  opacity:.85;
}

.cartola-photo{
  width:52px;
  height:52px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(69,255,47,.5);
  background:rgba(69,255,47,.15);
  display:flex;
  align-items:center;
  justify-content:center;
}

.cartola-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.cartola-photo span{
  color:var(--green);
  font-size:22px;
  font-weight:900;
}

.selected-team-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:22px;
}

.selected-team-row{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:12px;
  align-items:center;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:12px;
}

.selected-team-row strong{
  color:#7f8b91;
}

.selected-team-row span{
  display:block;
  color:white;
  font-weight:800;
}

.selected-team-row small{
  display:block;
  color:#8f9aa0;
  margin-top:2px;
}

.confirm-selection-btn{
  width:100%;
  height:58px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.confirm-selection-btn:disabled{
  background:#3a4247;
  color:#c6d0d5;
  cursor:not-allowed;
}

@media(max-width:1050px){
  .selection-main-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .cartola-field{
    min-height:620px;
    padding:30px 20px;
  }

  .cartola-card{
    width:88px;
    height:122px;
  }

  .field-line{
    gap:22px;
  }

  .field-line.defense{
    gap:52px;
  }
}

.remove-player{
  position:absolute;
  top:6px;
  right:6px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:rgba(0,0,0,.72);
  border:1.5px solid rgba(69,255,47,.55);
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:50;
  transition:.18s;
  backdrop-filter:blur(4px);
}

.remove-player:hover{
  background:var(--green);
  color:#001400;
  transform:scale(1.08);
}

.remove-player i{
  background:none !important;
  width:auto !important;
  height:auto !important;
  font-size:10px !important;
  color:inherit !important;
}

.remove-player{
  display:none !important;
}

.remove-player-text{
  margin-top:2px;
  background:rgba(255,255,255,.08);
  color:#ff6b6b;
  border:1px solid rgba(255,107,107,.35);
  border-radius:999px;
  padding:3px 8px;
  font-size:10px;
  font-weight:800;
  line-height:1;
  transition:.18s;
}

.remove-player-text:hover{
  background:rgba(255,107,107,.16);
  transform:scale(1.04);
}

.sorteio-page{
  padding:44px 0 20px;
}

.sorteio-hero{
  background:linear-gradient(135deg,rgba(8,17,24,.96),rgba(13,35,22,.92));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:34px;
  margin-bottom:24px;
}

.sorteio-hero span{
  color:var(--green);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
}

.sorteio-hero h1{
  font-size:40px;
  margin:10px 0;
}

.sorteio-hero p{
  color:#aeb8be;
}

.sorteio-layout{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
}

.quick-add-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  max-height:420px;
  overflow-y:auto;
  padding-right:6px;
}

.quick-add-player{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:12px;
  color:white;
  text-align:left;
}

.quick-add-player:hover{
  border-color:rgba(69,255,47,.35);
}

.quick-add-player strong{
  display:block;
}

.quick-add-player span{
  color:#aeb8be;
  font-size:13px;
}

.diarista-box{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

.diarista-box h3{
  margin-bottom:12px;
}

.diarista-form{
  display:grid;
  grid-template-columns:1fr 130px 90px 110px;
  gap:10px;
}

.diarista-form input,
.diarista-form select{
  height:44px;
  background:#101920;
  color:white;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:0 12px;
}

.diarista-form button{
  border-radius:10px;
  background:var(--green);
  color:#001400;
  font-weight:900;
}

.sorteio-count{
  background:rgba(69,255,47,.12);
  color:var(--green);
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
}

.arrival-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:520px;
  overflow-y:auto;
  padding-right:6px;
}

.arrival-row{
  display:grid;
  grid-template-columns:38px 46px 1fr 34px 34px 34px;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:10px;
}

.arrival-row strong{
  color:var(--green);
}

.arrival-row span{
  display:block;
  color:white;
  font-weight:800;
}

.arrival-row small{
  color:#aeb8be;
}

.arrival-row button{
  height:32px;
  border-radius:8px;
  background:#101920;
  color:white;
}

.full-btn{
  width:100%;
  margin-top:18px;
}

.sorteio-result{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:24px;
}

.team-position-group{
  margin-bottom:18px;
}

.team-position-group h3{
  color:var(--green);
  font-size:14px;
  margin-bottom:10px;
}

.team-position-group p{
  color:#7f8b91;
}

.team-player-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  background:rgba(255,255,255,.035);
  border-radius:12px;
  margin-bottom:8px;
}

.team-player-row strong{
  display:block;
  color:white;
}

.team-player-row span{
  color:#aeb8be;
  font-size:13px;
}

@media(max-width:1000px){
  .sorteio-layout,
  .sorteio-result{
    grid-template-columns:1fr;
  }

  .diarista-form{
    grid-template-columns:1fr;
  }

  .quick-add-grid{
    grid-template-columns:1fr;
  }
}

.admin-edit-input{
  width:100%;
  height:38px;
  background:#101920;
  color:white;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  padding:0 10px;
}

.admin-edit-input:focus{
  outline:none;
  border-color:var(--green);
}

.admin-premium-page{
  display:grid;
  grid-template-columns:280px 1fr 420px;
  gap:22px;
  padding:38px 0;
}

.admin-sidebar,
.admin-players-panel,
.admin-edit-panel{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:24px;
}

.admin-sidebar h2{
  font-size:20px;
  margin-bottom:24px;
}

.admin-sidebar button{
  width:100%;
  height:48px;
  background:transparent;
  color:#b7c2c8;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 14px;
  font-weight:700;
  margin-bottom:8px;
}

.admin-sidebar button.active,
.admin-sidebar button:hover{
  background:rgba(69,255,47,.16);
  color:white;
}

.admin-sidebar button i{
  color:var(--green);
}

.admin-tip{
  margin-top:80px;
  background:rgba(69,255,47,.08);
  border:1px solid rgba(69,255,47,.18);
  border-radius:16px;
  padding:18px;
}

.admin-tip strong{
  color:var(--green);
}

.admin-tip p{
  color:#b7c2c8;
  margin-top:10px;
  line-height:1.5;
}

.admin-premium-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:26px;
}

.admin-premium-header div{
  display:flex;
  align-items:center;
  gap:12px;
}

.admin-premium-header h2,
.admin-edit-header h2{
  font-size:20px;
}

.admin-premium-header span{
  background:rgba(255,255,255,.08);
  padding:6px 10px;
  border-radius:999px;
  color:#c6d0d5;
  font-weight:900;
}

.new-player-btn{
  height:42px;
  padding:0 18px;
  border-radius:10px;
  background:var(--green);
  color:#001400;
  font-weight:900;
  display:flex;
  align-items:center;
  gap:10px;
}

.premium-player-table{
  overflow:hidden;
}

.premium-table-head,
.premium-player-row{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr .9fr .8fr;
  align-items:center;
  gap:16px;
  padding:14px 10px;
}

.premium-table-head{
  color:#aeb8be;
  font-size:12px;
  text-transform:uppercase;
  font-weight:900;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.premium-player-row{
  border-bottom:1px solid rgba(255,255,255,.06);
}

.premium-player-name{
  display:flex;
  align-items:center;
  gap:12px;
}

.premium-player-name strong{
  color:white;
}

.position-badge{
  width:max-content;
  background:rgba(47,129,255,.16);
  color:#7bb0ff;
  border-radius:8px;
  padding:6px 10px;
  font-size:13px;
  font-weight:800;
}

.stars-display{
  color:#ffc83d;
  letter-spacing:2px;
}

.type-badge{
  width:max-content;
  padding:6px 10px;
  border-radius:8px;
  font-size:13px;
  font-weight:800;
  text-transform:capitalize;
}

.type-badge.mensalista{
  background:rgba(69,255,47,.12);
  color:var(--green);
}

.type-badge.diarista{
  background:rgba(168,85,247,.14);
  color:#c084fc;
}

.premium-actions{
  display:flex;
  gap:8px;
}

.premium-actions button{
  width:34px;
  height:34px;
  border-radius:8px;
  background:rgba(69,255,47,.12);
  color:var(--green);
}

.premium-actions button.danger{
  background:rgba(255,58,58,.12);
  color:#ff4d4d;
}

.admin-edit-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
}

.admin-edit-header button{
  background:transparent;
  color:white;
  font-size:18px;
}

.admin-edit-placeholder{
  min-height:400px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8f9aa0;
  text-align:center;
}

@media(max-width:1200px){
  .admin-premium-page{
    grid-template-columns:1fr;
  }
}

.premium-edit-player{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.premium-edit-top{
  display:flex;
  align-items:center;
  gap:18px;
}

.player-photo.big{
  width:72px;
  height:72px;
  font-size:28px;
}

.premium-edit-top h3{
  font-size:24px;
  color:white;
}

.premium-edit-top span{
  color:#8f9aa0;
  text-transform:capitalize;
}

.premium-edit-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.premium-input-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.premium-input-group label{
  color:#aeb8be;
  font-size:13px;
  font-weight:700;
}

.premium-input-group input,
.premium-input-group select{
  height:48px;
  background:#101920;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  color:white;
  padding:0 14px;
}

.premium-input-group input:focus,
.premium-input-group select:focus{
  outline:none;
  border-color:var(--green);
}

.premium-edit-actions{
  display:flex;
  gap:12px;
}

.cancel-btn,
.save-btn{
  flex:1;
  height:52px;
  border-radius:12px;
  font-weight:900;
}

.cancel-btn{
  background:#1a2228;
  color:white;
}

.save-btn{
  background:var(--green);
  color:#001400;
}

@media(max-width:700px){
  .premium-edit-grid{
    grid-template-columns:1fr;
  }
}

/* ===== AJUSTES ADMIN TODEOUTRA - LAYOUT, ORDENAÇÃO E MEIA ESTRELA ===== */
.admin-premium-page{
  display:grid !important;
  grid-template-columns:240px minmax(0, 1fr) !important;
  gap:18px !important;
  align-items:start !important;
  padding:32px 0 !important;
}

.admin-premium-page.with-editor{
  grid-template-columns:230px minmax(520px, 1fr) 360px !important;
}

.admin-sidebar,
.admin-players-panel,
.admin-edit-panel{
  min-width:0 !important;
}

.admin-sidebar{
  position:sticky;
  top:104px;
}

.admin-players-panel{
  overflow:hidden;
}

.admin-edit-side{
  position:sticky;
  top:104px;
  max-height:calc(100vh - 128px);
  overflow-y:auto;
}

.admin-edit-header span{
  display:block;
  color:var(--green);
  font-size:12px;
  margin-top:4px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.admin-side-edit-grid{
  grid-template-columns:1fr !important;
}

.admin-sort-hint{
  color:#8f9aa0;
  font-size:13px;
  margin:-12px 0 16px;
}

.premium-player-table{
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}

.premium-table-body{
  max-height:650px;
  overflow-y:auto;
  padding-right:4px;
}

.premium-table-body::-webkit-scrollbar,
.admin-edit-side::-webkit-scrollbar{
  width:8px;
}

.premium-table-body::-webkit-scrollbar-thumb,
.admin-edit-side::-webkit-scrollbar-thumb{
  background:rgba(69,255,47,.35);
  border-radius:999px;
}

.premium-table-head,
.premium-player-row{
  grid-template-columns:minmax(190px,1.4fr) 120px 135px 110px 84px !important;
  gap:14px !important;
  padding:14px 16px !important;
}

.premium-table-head{
  position:sticky;
  top:0;
  z-index:4;
  background:#09131a;
}

.sortable-head button{
  background:transparent;
  color:#aeb8be;
  text-align:left;
  text-transform:uppercase;
  font-size:12px;
  font-weight:900;
  letter-spacing:.6px;
  cursor:pointer;
  padding:0;
}

.sortable-head button:hover,
.sortable-head button.active{
  color:var(--green);
}

.premium-player-row{
  min-height:65px;
}

.premium-player-row.editing{
  background:rgba(69,255,47,.08);
  box-shadow:inset 3px 0 0 var(--green);
}

.premium-player-name{
  min-width:0;
}

.premium-player-name strong,
.premium-player-name small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premium-player-name small{
  color:#7f8b91;
  font-size:12px;
  margin-top:3px;
}

.stars-display{
  display:flex;
  align-items:center;
  gap:1px;
  letter-spacing:0 !important;
}

.star-visual{
  position:relative;
  display:inline-block;
  width:17px;
  height:20px;
  line-height:20px;
  font-size:18px;
}

.star-empty{
  color:#3b454b;
}

.star-fill{
  position:absolute;
  left:0;
  top:0;
  color:#ffc83d;
  width:0;
  overflow:hidden;
}

.star-visual.full .star-fill{ width:100%; }
.star-visual.half .star-fill{ width:50%; }
.star-visual.empty .star-fill{ width:0; }

.star-picker{
  display:flex;
  align-items:center;
  gap:4px;
  height:40px;
}

.star-select-unit{
  position:relative;
  width:28px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.star-visual.picker-star{
  width:28px;
  height:34px;
  line-height:34px;
  font-size:28px;
  pointer-events:none;
}

.star-hit-area{
  position:absolute;
  top:0;
  height:34px;
  width:50%;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  cursor:pointer;
  z-index:2;
}

.star-hit-left{
  left:0;
}

.star-hit-right{
  right:0;
}

.star-select-unit:hover .star-empty{
  color:#505b62;
}

.star-select-unit:hover .star-fill{
  color:#ffd76a;
}

.star-input-wide{
  grid-column:1 / -1;
}

.star-input-wide small{
  color:#aeb8be;
  font-size:12px;
}

.new-player-form{
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
}

.admin-new-player-panel{
  max-width:850px;
}

.premium-actions button{
  pointer-events:auto !important;
  position:relative;
  z-index:20;
}

@media(max-width:1280px){
  .admin-premium-page,
  .admin-premium-page.with-editor{
    grid-template-columns:1fr !important;
  }

  .admin-sidebar,
  .admin-edit-side{
    position:static;
    max-height:none;
  }

  .premium-table-head,
  .premium-player-row{
    grid-template-columns:minmax(180px,1.2fr) 110px 130px 100px 80px !important;
  }
}

@media(max-width:760px){
  .premium-player-table{
    overflow-x:auto !important;
  }

  .premium-table-head,
  .premium-player-row{
    min-width:720px;
  }

  .new-player-form{
    grid-template-columns:1fr !important;
  }
}

.notifications-dropdown{
  position:absolute;
  top:58px;
  right:58px;
  width:320px;
  max-height:420px;
  overflow-y:auto;
  background:#0b141a;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:14px;
  z-index:9999;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
}

.notifications-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  margin-bottom:14px;
}

.notifications-header strong{
  display:block;
  font-size:16px;
  color:#fff;
}

.notifications-header span{
  font-size:13px;
  color:var(--green);
  font-weight:700;
}

.notification-item{
  width:100%;
  background:#101920;
  border:1px solid rgba(255,255,255,.06);
  color:white;
  text-align:left;
  border-radius:12px;
  padding:13px;
  margin-bottom:10px;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.notification-item.unread{
  border-color:rgba(69,255,47,.45);
  background:rgba(69,255,47,.08);
}

.notification-item strong{
  font-size:14px;
}

.notification-item span{
  color:#b7c2c8;
  font-size:13px;
  line-height:1.35;
}

.notification-item small{
  color:var(--green);
  font-size:11px;
  text-transform:uppercase;
}

.empty-notification{
  color:#aeb8be;
  padding:14px 6px;
  font-size:14px;
}

.bell{
  cursor:pointer;
}

.profile-dashboard{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  padding-bottom:40px;
}

.profile-main-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

.profile-player-link{
  min-width:240px;
  padding:18px;
  border-radius:14px;
  background:rgba(69,255,47,.08);
  border:1px solid rgba(69,255,47,.25);
}

.profile-player-link span{
  display:block;
  color:#aeb8be;
  font-size:13px;
  margin-bottom:6px;
}

.profile-player-link strong{
  display:block;
  color:white;
  font-size:20px;
  margin-bottom:4px;
}

.profile-player-link small{
  color:var(--green);
}

.profile-player-link.warning{
  background:rgba(255,200,61,.08);
  border-color:rgba(255,200,61,.25);
}

.profile-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.profile-stat-card{
  background:rgba(8,17,24,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:26px;
  text-align:center;
  box-shadow:0 18px 45px rgba(0,0,0,.2);
}

.profile-stat-card i{
  color:var(--green);
  font-size:28px;
  margin-bottom:14px;
}

.profile-stat-card strong{
  display:block;
  font-size:38px;
  color:white;
  margin-bottom:6px;
}

.profile-stat-card span{
  color:#aeb8be;
  font-weight:bold;
}

@media(max-width:800px){
  .profile-stats-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:480px){
  .profile-stats-grid{
    grid-template-columns:1fr;
  }
}

.profile-avatar img,
.user-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}

.profile-avatar.large{
  width:110px;
  height:110px;
  font-size:42px;
}

.change-photo-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  background:var(--green);
  color:black;
  font-weight:800;
  padding:10px 18px;
  border-radius:12px;
  cursor:pointer;
}

.avatar{
  overflow:hidden;
  flex-shrink:0;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

.player-photo{
  overflow:hidden;
}

.player-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

.home-voting-panel{
  background:rgba(8,17,24,.92);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:24px;
  box-shadow:0 20px 55px rgba(0,0,0,.22);
}

.home-voting-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}

.home-voting-title{
  display:flex;
  align-items:center;
  gap:10px;
}

.home-voting-title i{
  color:var(--green);
  font-size:22px;
}

.home-voting-title h2{
  font-size:22px;
}

.home-voting-title span{
  background:rgba(69,255,47,.16);
  color:var(--green);
  font-size:10px;
  font-weight:900;
  padding:5px 8px;
  border-radius:7px;
}

.home-voting-header button{
  background:rgba(69,255,47,.16);
  color:var(--green);
  font-weight:800;
  padding:10px 16px;
  border-radius:8px;
}

.home-voting-subtitle{
  color:#aeb8be;
  margin-bottom:10px;
}

.home-voting-panel h3{
  color:white;
  font-size:18px;
  margin-bottom:4px;
}

.home-voting-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:18px;
}

.home-vote-card{
  background:#071016;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  padding:18px;
}

.home-vote-card-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
}

.home-vote-card-title strong{
  font-size:12px;
  font-weight:900;
}

.home-vote-card.green .home-vote-card-title{
  color:var(--green);
}

.home-vote-card.orange .home-vote-card-title{
  color:#ff941f;
}

.home-vote-result{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}

.home-vote-result + .home-vote-result{
  border-top:1px solid rgba(255,255,255,.06);
}

.home-vote-player{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.home-vote-player .player-photo{
  width:34px;
  height:34px;
  min-width:34px;
  min-height:34px;
  font-size:13px;
}

.home-vote-position{
  color:white;
  font-weight:900;
  font-size:13px;
  width:22px;
}

.home-vote-player strong{
  display:block;
  color:white;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:95px;
}

.home-vote-player small{
  display:block;
  color:#aeb8be;
  font-size:12px;
  margin-top:2px;
}

.home-vote-score{
  text-align:right;
  flex-shrink:0;
}

.home-vote-score strong{
  display:block;
  color:white;
  font-size:13px;
}

.home-vote-score small{
  display:block;
  color:#aeb8be;
  font-size:11px;
  margin-top:2px;
}

.home-vote-bar{
  position:absolute;
  left:44px;
  right:0;
  bottom:0;
  height:5px;
  background:rgba(255,255,255,.08);
  border-radius:999px;
  overflow:hidden;
}

.home-vote-bar span{
  display:block;
  height:100%;
  border-radius:999px;
}

.home-vote-card.green .home-vote-bar span{
  background:var(--green);
}

.home-vote-card.orange .home-vote-bar span{
  background:#ff941f;
}

.home-vote-empty,
.home-voting-empty p{
  color:#aeb8be;
}

.home-voting-empty{
  padding:18px;
  background:#071016;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
}

@media(max-width:850px){
  .home-voting-grid{
    grid-template-columns:1fr;
  }
}

.logo-area .logo-horizontal{
  width:170px !important;
  height:auto !important;
  max-height:48px !important;
  object-fit:contain !important;
  display:block !important;
}

.logo-area{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
}

.logo-subtitle{
  color:#ffffff;
  font-size:12px;
  font-weight:600;
  letter-spacing:1.2px;
  margin-left:6px;
  opacity:.9;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo-horizontal{
  transition:.2s ease;
}

.logo-horizontal:hover{
  opacity:.88;
  transform:scale(1.02);
}

.notifications-header button{
  height:32px;

  padding:0 12px;

  border:none;
  border-radius:8px;

  background:rgba(69,255,47,.12);
  border:1px solid rgba(69,255,47,.22);

  color:var(--green);

  font-size:12px;
  font-weight:700;

  cursor:pointer;

  transition:.2s ease;
}

.notifications-header button:hover{
  background:rgba(69,255,47,.2);
  transform:translateY(-1px);
}

.selection-home-panel{
  overflow:hidden;
}

.home-field{
  min-height:430px;
  padding:28px 22px;
  border-radius:22px;
  background:
    linear-gradient(rgba(32,104,28,.86),rgba(22,75,22,.92)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.04) 0,
      rgba(255,255,255,.04) 54px,
      transparent 54px,
      transparent 108px
    );
  border:2px solid rgba(255,255,255,.18);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
}

.home-field::before{
  content:"";
  position:absolute;
  inset:18px;
  border:2px solid rgba(255,255,255,.25);
  border-radius:16px;
  pointer-events:none;
}

.home-field-line{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:22px;
}

.home-field-line.wings{
  justify-content:space-between;
}

.home-field-line.defense{
  gap:54px;
}

.home-field-player{
  width:82px;
  min-height:98px;
  border-radius:16px;
  background:rgba(3,8,12,.82);
  border:1px solid rgba(69,255,47,.28);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  text-align:center;
  padding:8px;
  box-shadow:0 14px 28px rgba(0,0,0,.25);
}

.home-field-player.empty{
  opacity:.45;
}

.home-field-photo{
  width:42px;
  height:42px;
  border-radius:50%;
  overflow:hidden;
  background:rgba(69,255,47,.16);
  display:flex;
  align-items:center;
  justify-content:center;
}

.home-field-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.home-field-photo span{
  color:var(--green);
  font-weight:900;
}

.home-field-player strong{
  color:white;
  font-size:12px;
  max-width:70px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.home-field-player span{
  color:#aeb8be;
  font-size:10px;
}

.danger-admin-btn{
  background:linear-gradient(135deg,#ff4d4d,#b80000) !important;
  color:white !important;
}

.ranking-actions-bar{
  margin:24px 0 18px;
  padding:18px 22px;
  border-radius:16px;
  background:rgba(8,17,24,.92);
  border:1px solid rgba(69,255,47,.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.ranking-actions-bar strong{
  display:block;
  color:white;
  font-size:16px;
  margin-bottom:4px;
}

.ranking-actions-bar span{
  color:#aeb8be;
  font-size:14px;
}

.ranking-actions-bar button{
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#001400;
  font-weight:800;
  padding:13px 18px;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

@media(max-width:700px){
  .ranking-actions-bar{
    flex-direction:column;
    align-items:flex-start;
  }
}

.desktop-admin-editor{
  margin:14px 0 18px;
}

@media(max-width:768px){
  .desktop-admin-editor{
    display:none !important;
  }
}