@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700;800&display=swap');
:root{--red:#e31f2f;--scarlet:#c80f22;--dark:#120409;--wine:#5d0612;--white:#fff;--muted:#6b6b6b;--soft:#f7f7f8}*{box-sizing:border-box}body{font-family:Inter,Arial,sans-serif;background:#fff;color:#151515;overflow-x:hidden}.cw-nav{height:78px;background:linear-gradient(90deg,rgba(20,2,7,.92),rgba(92,9,21,.83));backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.06)}.cw-logo{display:flex;flex-direction:column;line-height:.8;color:white!important;min-width:110px}.cw-logo span{font-size:22px;font-weight:800}.cw-logo strong{font-family:'Bebas Neue';font-size:72px;letter-spacing:-4px;text-shadow:10px 0 0 rgba(227,31,47,.55)}.footer-logo strong{font-size:58px}.nav-link{color:white!important;font-size:13px;font-weight:900;letter-spacing:.4px}.nav-link:hover{color:var(--red)!important}.social{display:flex;gap:22px;color:white;font-size:19px;align-items:center}.btn-red{background:linear-gradient(135deg,var(--red),#b50d1e);border:0;color:white!important;font-weight:900;border-radius:7px;padding:12px 22px;box-shadow:0 12px 26px rgba(227,31,47,.3)}.navbar-toggler{color:white;border:1px solid rgba(255,255,255,.18)}.hero{position:relative;min-height:520px;padding-top:90px;background:radial-gradient(circle at 55% 35%,rgba(255,111,62,.65),transparent 25%),linear-gradient(120deg,#21050b 0%,#7b0718 48%,#120409 100%);overflow:hidden}.hero:before{content:'W';position:absolute;left:-40px;top:50px;font-family:'Bebas Neue';font-size:360px;color:rgba(227,31,47,.18);transform:rotate(-18deg)}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,0,8,.96) 0%,rgba(117,8,25,.72) 37%,rgba(60,3,12,.76) 100%)}.hero-content{position:relative;z-index:2}.eyebrow{color:var(--red);font-weight:900;letter-spacing:.8px}.hero h1{font-family:'Bebas Neue';font-size:62px;line-height:.96;color:white;margin:14px 0}.hero p{color:white;font-size:18px;font-weight:600}.dots{margin-top:24px;display:flex;gap:16px}.dots span{width:10px;height:10px;border-radius:50%;background:white}.dots span:first-child{background:var(--red)}.players-visual{height:390px;border-radius:18px;background:linear-gradient(rgba(80,0,10,.05),rgba(80,0,10,.7)),url('../img/hero-copa-w.jpg') center/cover no-repeat;filter:drop-shadow(0 25px 40px rgba(0,0,0,.35))}.player-card{height:100%;display:flex;align-items:end;justify-content:center;color:rgba(255,255,255,.18);font-family:'Bebas Neue';font-size:70px}.next-card{background:rgba(31,3,9,.84);border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:30px 26px;text-align:center;color:white;box-shadow:0 30px 70px rgba(0,0,0,.35)}.next-card h5{color:var(--red);font-family:'Bebas Neue';font-size:22px}.next-card h3{font-family:'Bebas Neue';font-size:42px;margin:20px 0 0}.versus{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}.versus>div{display:grid;gap:8px;justify-items:center;font-size:12px}.versus strong{font-size:25px}.team-logo{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#111,#610713);color:#fff;border:2px solid #fff;font-size:11px;font-weight:900;vertical-align:middle;margin-right:8px}.versus .team-logo{width:66px;height:66px;font-size:20px;margin:0}.home-grid{background:#fff}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-head h3{font-family:'Bebas Neue';font-size:25px;color:#9d0615;margin:0}.section-head a{font-size:12px;font-weight:900;color:var(--red)}.cw-card{background:white;border-radius:9px;box-shadow:0 12px 38px rgba(0,0,0,.08);border:1px solid #eee;padding:14px}.result-row{display:grid;grid-template-columns:1.4fr 40px 70px 40px 1.4fr;align-items:center;gap:8px;padding:13px 0;border-bottom:1px solid #eee}.result-row:last-child{border-bottom:0}.result-row small{font-size:10px;color:#555;display:block}.result-row b{font-size:12px}.result-row strong{text-align:center;font-size:27px}.standings{font-size:11px;margin:0}.standings th{color:#555;font-size:10px;text-transform:uppercase}.standings td{vertical-align:middle}.standings .leader{background:#ffecee}.legend{font-size:11px;color:#555;margin-top:10px}.legend span{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 5px 0 10px}.legend .ok{background:#26d06f}.legend .out{background:#e42434}.scorer{display:grid;grid-template-columns:24px 42px 1fr 38px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #eee}.scorer:last-child{border-bottom:0}.scorer>strong{font-size:25px}.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#ddd,#fff);border:2px solid #eee}.scorer b{font-size:12px}.scorer small{display:block;font-size:10px;color:#555}.scorer em{font-style:normal;font-weight:900;color:#b00618;text-align:center}.news{display:grid;grid-template-columns:1fr 1.1fr;gap:12px;margin-bottom:12px}.news.big{display:block}.news-img{height:85px;border-radius:6px;background:linear-gradient(135deg,#88101d,#1a0509);position:relative;overflow:hidden}.news.big .news-img{height:122px}.news-img:after{content:'⚽';position:absolute;right:10px;bottom:-8px;font-size:58px;opacity:.14}.news-img span{position:absolute;left:8px;bottom:8px;background:var(--red);color:white;font-size:10px;font-weight:900;padding:3px 8px}.news h4{font-size:15px;font-weight:900;margin:8px 0 0}.news small{color:#555}.stats-cta{display:grid;grid-template-columns:1.7fr 1fr;background:linear-gradient(100deg,#8d0718,#46040c);border-radius:9px;color:white;overflow:hidden}.stats{display:grid;grid-template-columns:repeat(6,1fr)}.stats>div{padding:20px 12px;text-align:center;border-right:1px solid rgba(255,255,255,.13)}.stats i{font-size:36px}.stats b{display:block;font-size:25px}.stats small{font-size:10px;font-weight:900}.cta{padding:18px 28px;background:linear-gradient(90deg,rgba(0,0,0,.05),rgba(0,0,0,.35))}.cta h3{font-family:'Bebas Neue';font-size:32px;margin:0}.cw-footer{background:linear-gradient(110deg,#640612,#28040a);color:white;padding:30px 0 20px}.cw-footer h6{font-weight:900;font-size:12px}.cw-footer p,.cw-footer small{font-size:12px;color:rgba(255,255,255,.76)}.store{border:1px solid rgba(255,255,255,.35);border-radius:5px;padding:7px 10px;margin:6px 0;display:inline-block;background:#111}@media(max-width:991px){.cw-nav{height:auto}.navbar-collapse{background:#26040b;padding:20px;border-radius:12px;margin-top:12px}.hero h1{font-size:48px}.hero{padding-top:115px}.stats-cta,.stats{grid-template-columns:1fr 1fr}.result-row{grid-template-columns:1fr 32px 58px 32px 1fr}.section-head{margin-top:10px}}@media(max-width:576px){.stats{grid-template-columns:1fr 1fr}.stats-cta{grid-template-columns:1fr}.hero h1{font-size:42px}.next-card{padding:22px 14px}.cw-logo strong{font-size:54px}}

/* Copa W branding real */
.cw-logo-img{display:flex;align-items:center;min-width:150px;text-decoration:none}
.cw-logo-img img{width:150px;max-height:58px;object-fit:contain;display:block;filter:drop-shadow(0 10px 18px rgba(0,0,0,.35))}
.footer-logo-img img{width:145px;max-height:70px;object-fit:contain;margin-bottom:12px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.35))}
@media(max-width:991px){.cw-logo-img img{width:128px;max-height:52px}.footer-logo-img img{width:130px}}
@media(max-width:576px){.cw-logo-img{min-width:120px}.cw-logo-img img{width:118px;max-height:48px}}

/* v1.0.1 - Hero Banner Home idéntico a la referencia enviada */
.hero{
  margin-top:78px;
  min-height:unset!important;
  height:261px;
  padding:0!important;
  background:#140308 url('../img/hero-banner-home-exacto.png') center center/100% 100% no-repeat!important;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.04);
}
.hero:before,
.hero .hero-bg,
.hero .hero-content{display:none!important;}

@media (min-width:1166px){
  .hero{height:22.403vw;max-height:340px;}
}
@media (max-width:991px){
  .hero{margin-top:70px;height:300px;background-size:cover!important;background-position:center!important;}
}
@media (max-width:576px){
  .hero{margin-top:64px;height:360px;background-size:cover!important;background-position:center!important;}
}

/* v1.0.3 FIX DEFINITIVO HERO HOME
   - Se usa la imagen exacta de referencia enviada.
   - Se oculta el contenido dinámico anterior para evitar textos duplicados o \n visibles.
   - El banner mantiene proporción 1165x261 como la referencia. */
.hero{
  margin-top:78px!important;
  min-height:unset!important;
  height:261px!important;
  padding:0!important;
  background:#140308 url('../img/hero-banner-home-exacto.png') center center/100% 100% no-repeat!important;
  overflow:hidden!important;
  border-top:0!important;
}
.hero:before,
.hero .hero-bg,
.hero .hero-content{
  display:none!important;
}
@media (min-width:1166px){
  .hero{height:22.403vw!important;max-height:424px!important;}
}
@media (max-width:991px){
  .hero{margin-top:70px!important;height:300px!important;background-size:cover!important;background-position:center center!important;}
}
@media (max-width:576px){
  .hero{margin-top:64px!important;height:360px!important;background-size:cover!important;background-position:center center!important;}
}


/* v1.0.4 - Banner propuesta final tipo liga profesional */
.cw-nav{
  background:#050505!important;
  border-bottom:2px solid #e41428!important;
  box-shadow:0 10px 28px rgba(0,0,0,.35)!important;
}
.nav-link{font-family:'Bebas Neue', Inter, sans-serif!important;font-size:22px!important;letter-spacing:.7px!important;}
.nav-link:hover,.nav-link.active{color:#ff1732!important;}
.hero{
  margin-top:78px!important;
  height:min(50.9vw, 760px)!important;
  min-height:560px!important;
  padding:0!important;
  background:#120308 url('../img/hero-banner-propuesta.png') center top/cover no-repeat!important;
  overflow:hidden!important;
  border:0!important;
}
.hero:before,
.hero .hero-bg,
.hero .hero-content{
  display:none!important;
}
@media(max-width:991px){
  .hero{margin-top:70px!important;height:640px!important;min-height:640px!important;background-size:cover!important;background-position:center top!important;}
}
@media(max-width:576px){
  .hero{margin-top:64px!important;height:620px!important;min-height:620px!important;background-position:38% top!important;}
}

/* v1.0.5 - FIX Hero real con contenido encima de la imagen de futbolistas */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
.hero{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  margin-top:78px!important;
  height:min(45vw, 680px)!important;
  min-height:520px!important;
  padding:0!important;
  background:#120308 url('../img/hero-futbolistas-banner.png') cover no-repeat!important;
  overflow:hidden!important;
  border:0!important;
}
.hero:before{
  content:''!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    linear-gradient(90deg, rgba(10,0,4,.88) 0%, rgba(65,0,12,.62) 28%, rgba(20,0,6,.08) 53%, rgba(15,0,5,.48) 72%, rgba(15,0,5,.90) 100%),
    radial-gradient(circle at 54% 10%, rgba(255,255,255,.12), transparent 28%);
  pointer-events:none!important;
  transform:none!important;
  font-size:0!important;
}
.hero:after{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(115deg, transparent 0 4%, rgba(239,8,32,.78) 4.2% 5.4%, transparent 5.7% 100%),
    linear-gradient(115deg, transparent 0 87%, rgba(239,8,32,.62) 87.2% 89.2%, transparent 89.5% 100%),
    linear-gradient(115deg, transparent 0 91%, rgba(117,0,14,.62) 91.2% 93.5%, transparent 93.8% 100%);
  pointer-events:none;
}
.hero .hero-bg{display:none!important;}
.hero .hero-content{
  display:block!important;
  position:relative!important;
  z-index:3!important;
  width:100%!important;
}
.hero .row{min-height:520px;align-items:center!important;}
.players-visual{display:none!important;}
.hero .eyebrow{display:none!important;}
.hero-title{margin:0 0 22px!important;color:#fff!important;line-height:.86!important;}
.hero-title span{display:block;font-family:'Bebas Neue',Impact,sans-serif;font-size:clamp(62px,7.2vw,112px);letter-spacing:-1px;text-shadow:0 7px 22px rgba(0,0,0,.42);}
.hero-title strong{display:block;font-family:'Permanent Marker','Bebas Neue',cursive;font-size:clamp(50px,6.8vw,104px);font-weight:400;color:#ff1732;letter-spacing:1px;line-height:.9;text-shadow:0 8px 20px rgba(0,0,0,.35);transform:rotate(-2deg);transform-origin:left center;}
.hero p{color:#fff!important;font-size:clamp(17px,1.35vw,22px)!important;font-weight:700!important;line-height:1.45!important;text-shadow:0 4px 18px rgba(0,0,0,.5);max-width:520px;}
.hero .btn-red{margin-top:26px;padding:16px 40px!important;border-radius:8px!important;font-size:18px!important;}
.hero .dots{margin-top:34px!important;gap:18px!important;align-items:center!important;}
.hero .dots span{width:14px!important;height:14px!important;border:3px solid #fff;background:transparent!important;opacity:1!important;}
.hero .dots span:first-child{width:28px!important;border-radius:999px!important;border-color:#ff1732!important;background:#ff1732!important;}
.next-card{
  background:rgba(22,2,7,.88)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:10px!important;
  padding:34px 30px!important;
  box-shadow:0 35px 80px rgba(0,0,0,.42)!important;
  backdrop-filter:blur(8px);
}
.next-card h5{font-size:25px!important;color:#ff1732!important;margin-bottom:26px!important;}
.next-card h3{font-size:48px!important;color:#ff1732!important;}
.next-card p{font-size:17px!important;font-weight:900!important;margin:8px 0 20px!important;text-shadow:none!important;}
.next-card small{font-weight:800!important;}
.versus{margin:10px 0 26px!important;}
.versus strong{font-size:34px!important;color:#fff!important;}
.versus b{font-size:13px!important;color:#fff!important;}
.versus .team-logo{width:82px!important;height:82px!important;border:3px solid #fff!important;background:linear-gradient(135deg,#6c0612,#111)!important;font-size:28px!important;box-shadow:0 10px 24px rgba(0,0,0,.3)!important;}
.next-card .btn-outline-light{border:0!important;background:#ff102b!important;color:#fff!important;font-weight:900!important;padding:14px 18px!important;border-radius:7px!important;}
@media(max-width:991px){
  .hero{height:auto!important;min-height:760px!important;background-position:58% center!important;align-items:flex-start!important;padding:70px 0 35px!important;}
  .hero .row{min-height:auto;gap:24px;}
  .hero-title span{font-size:70px;}
  .hero-title strong{font-size:62px;}
  .next-card{max-width:460px;margin:auto;}
}
@media(max-width:576px){
  .hero{margin-top:64px!important;min-height:780px!important;background-position:60% center!important;padding-top:44px!important;}
  .hero-title span{font-size:54px;}
  .hero-title strong{font-size:48px;}
  .hero p{font-size:16px!important;}
  .hero .btn-red{padding:14px 28px!important;font-size:16px!important;}
  .next-card{padding:26px 18px!important;}
  .next-card h3{font-size:38px!important;}
  .versus .team-logo{width:66px!important;height:66px!important;}
}



/* HERO BANNER OPTIMIZATION */
.hero-banner,
.hero-section,
.hero-home,
.hero-slider,
.hero {
    
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 1400px) {
    .hero-banner,
    .hero-section,
    .hero-home,
    .hero-slider,
    .hero {
        background-position: 72% center !important;
    }
}

@media (max-width: 992px) {
    .hero-banner,
    .hero-section,
    .hero-home,
    .hero-slider,
    .hero {
        background-position: center center !important;
    }
}




/* FIX CTA API - restaurar imagen de fondo en SE PARTE DE LA COPA W */
.stats-cta{
    overflow:hidden;
}
.stats-cta > div:last-child,
.stats-cta .stats-cta-register,
.stats-cta .register-cta,
.stats-cta .cta-copa-w-mini,
.stats-cta [class*="register"],
.stats-cta [class*="cta"]{
    position:relative!important;
    overflow:hidden!important;
    background:
      linear-gradient(90deg,rgba(70,0,10,.96) 0%,rgba(95,0,15,.78) 43%,rgba(25,0,5,.05) 100%),
      url('../img/cta-jugadoras-estadio.jpg') right center/cover no-repeat!important;
}
.stats-cta > div:last-child::before,
.stats-cta .stats-cta-register::before,
.stats-cta .register-cta::before,
.stats-cta .cta-copa-w-mini::before,
.stats-cta [class*="register"]::before,
.stats-cta [class*="cta"]::before{
    content:'';
    position:absolute;
    inset:0;
    background:
      linear-gradient(115deg, transparent 0 7%, rgba(255,20,45,.18) 7.4% 8.7%, transparent 9.1% 100%),
      linear-gradient(90deg, rgba(40,0,8,.25), transparent 72%);
    pointer-events:none;
}
.stats-cta > div:last-child > *,
.stats-cta .stats-cta-register > *,
.stats-cta .register-cta > *,
.stats-cta .cta-copa-w-mini > *,
.stats-cta [class*="register"] > *,
.stats-cta [class*="cta"] > *{
    position:relative;
    z-index:2;
}
@media(max-width:991px){
    .stats-cta > div:last-child,
    .stats-cta .stats-cta-register,
    .stats-cta .register-cta,
    .stats-cta .cta-copa-w-mini,
    .stats-cta [class*="register"],
    .stats-cta [class*="cta"]{
        background-position:72% center!important;
    }
}

/* v1.1.0 - Panel Admin Configuración Web Copa W */
.admin-settings-page .cw-card{
  background:rgba(33,3,9,.92)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#fff;
  box-shadow:0 18px 48px rgba(0,0,0,.26);
}
.admin-settings-page .settings-title{
  font-family:'Bebas Neue',sans-serif;
  font-size:30px;
  letter-spacing:.04em;
  color:#fff;
  margin-bottom:18px;
}
.admin-settings-page .form-label,
.admin-settings-page .form-check-label{
  color:#fff;
}
.admin-settings-page .form-control,
.admin-settings-page .form-select{
  background:#fff;
  border:0;
  min-height:46px;
}
.admin-settings-page .settings-switch{
  padding:12px 0 12px 3.2em;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-settings-page .settings-switch:last-child{
  border-bottom:0;
}
.admin-settings-page .form-check-input:checked{
  background-color:#e31f2f;
  border-color:#e31f2f;
}
.admin-settings-page .sticky-save{
  position:sticky;
  top:105px;
}



/* v1.0.7 - FIX visual completo para /admin/settings.php */
body:has(.admin-settings-page){
  background:
    radial-gradient(circle at 15% 5%, rgba(227,31,47,.22), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(135deg,#120207 0%,#28040c 42%,#070103 100%)!important;
  color:#fff!important;
  min-height:100vh;
}

.admin-settings-page{
  color:#fff!important;
  padding-top:120px!important;
  max-width:1220px!important;
}

.admin-settings-page::before{
  content:'';
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(115deg, transparent 0 8%, rgba(227,31,47,.08) 8.2% 9.2%, transparent 9.6% 100%),
    linear-gradient(115deg, transparent 0 86%, rgba(227,31,47,.11) 86.2% 88.6%, transparent 89% 100%);
  pointer-events:none;
}

.admin-settings-page .text-uppercase{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(227,31,47,.14);
  border:1px solid rgba(227,31,47,.35);
  color:#ff4050!important;
  font-size:12px;
  font-weight:900;
}

.admin-settings-page h1{
  color:#fff!important;
  text-shadow:0 8px 28px rgba(0,0,0,.35);
}

.admin-settings-page .cw-card{
  background:linear-gradient(180deg,rgba(38,3,10,.96),rgba(19,2,6,.96))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:22px!important;
  color:#fff!important;
  box-shadow:0 24px 70px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(12px);
}

.admin-settings-page .cw-card:hover{
  border-color:rgba(227,31,47,.32)!important;
}

.admin-settings-page .settings-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Bebas Neue',Impact,sans-serif!important;
  font-size:34px!important;
  letter-spacing:.02em!important;
  color:#fff!important;
  margin-bottom:22px!important;
}

.admin-settings-page .settings-title::before{
  content:'';
  width:8px;
  height:30px;
  border-radius:99px;
  background:#e31f2f;
  box-shadow:0 0 22px rgba(227,31,47,.75);
}

.admin-settings-page .form-label,
.admin-settings-page .form-check-label{
  color:rgba(255,255,255,.92)!important;
  font-size:13px;
  letter-spacing:.02em;
}

.admin-settings-page .form-control,
.admin-settings-page .form-select{
  background:rgba(255,255,255,.96)!important;
  color:#1b0207!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:13px!important;
  min-height:48px!important;
  font-weight:700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}

.admin-settings-page .form-control:focus,
.admin-settings-page .form-select:focus{
  border-color:#e31f2f!important;
  box-shadow:0 0 0 .25rem rgba(227,31,47,.20)!important;
}

.admin-settings-page small,
.admin-settings-page .small,
.admin-settings-page .text-muted{
  color:rgba(255,255,255,.58)!important;
}

.admin-settings-page .settings-switch{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:13px 0 13px 3.25em!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
}

.admin-settings-page .settings-switch:last-child{
  border-bottom:0!important;
}

.admin-settings-page .form-check-input{
  width:2.8em;
  height:1.45em;
  margin-left:-3.25em!important;
  background-color:rgba(255,255,255,.22);
  border-color:rgba(255,255,255,.25);
}

.admin-settings-page .form-check-input:checked{
  background-color:#e31f2f!important;
  border-color:#e31f2f!important;
  box-shadow:0 0 22px rgba(227,31,47,.45);
}

.admin-settings-page .btn-red{
  background:linear-gradient(135deg,#e31f2f,#a90416)!important;
  border:0!important;
  color:#fff!important;
  font-weight:900!important;
  border-radius:13px!important;
  box-shadow:0 15px 35px rgba(227,31,47,.28);
}

.admin-settings-page .btn-outline-light{
  border-color:rgba(255,255,255,.34)!important;
  color:#fff!important;
  border-radius:13px!important;
  font-weight:800;
}

.admin-settings-page .btn-outline-light:hover{
  background:#fff!important;
  color:#1b0207!important;
}

.admin-settings-page .alert{
  border:0!important;
  border-radius:16px!important;
  font-weight:800;
}

.admin-settings-page .alert-success{
  background:rgba(25,135,84,.18)!important;
  color:#b7ffdc!important;
  border:1px solid rgba(25,135,84,.35)!important;
}

.admin-settings-page .alert-warning{
  background:rgba(255,193,7,.16)!important;
  color:#ffe9a6!important;
  border:1px solid rgba(255,193,7,.35)!important;
}

.admin-settings-page .alert-danger{
  background:rgba(220,53,69,.16)!important;
  color:#ffc2ca!important;
  border:1px solid rgba(220,53,69,.35)!important;
}

.admin-settings-page .sticky-save{
  position:sticky!important;
  top:105px!important;
}

@media(max-width:991px){
  .admin-settings-page{
    padding-top:95px!important;
  }
  .admin-settings-page h1{
    font-size:44px!important;
  }
  .admin-settings-page .sticky-save{
    position:static!important;
  }
}

@media(max-width:576px){
  .admin-settings-page{
    padding-inline:14px!important;
  }
  .admin-settings-page .cw-card{
    border-radius:18px!important;
    padding:22px!important;
  }
  .admin-settings-page .d-flex.gap-2{
    width:100%;
    flex-direction:column;
  }
}


/* v1.0.8 - Mejora selector de categorías en admin */
.admin-settings-page select[name="category_id"]{
  cursor:pointer;
}
.admin-settings-page select[name="category_id"] option{
  font-weight:700;
}


/* v1.0.9 - Diagnóstico selector categorías */
.admin-settings-page .admin-debug{
  background:rgba(0,0,0,.35);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:12px;
  font-size:12px;
  white-space:pre-wrap;
}
.admin-settings-page .text-warning{
  color:#ffd166!important;
}


/* v1.1.0 - Selectores edición/categoría robustos */
.admin-settings-page select[name="championship_season_id"],
.admin-settings-page select[name="category_id"]{
  background-image: linear-gradient(45deg, transparent 50%, #e31f2f 50%), linear-gradient(135deg, #e31f2f 50%, transparent 50%)!important;
  background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px!important;
  background-size: 6px 6px, 6px 6px!important;
  background-repeat: no-repeat!important;
}
.admin-settings-page .btn-sm{
  border-radius:10px!important;
  font-weight:800;
}

/* Ajustes v1.0.13: logos reales, fotos de jugadoras y alturas balanceadas */
.team-logo.team-logo-img{background:#fff!important;border:1px solid #e6e6e6!important;overflow:hidden;color:transparent;box-shadow:0 5px 14px rgba(0,0,0,.08)}
.team-logo.team-logo-img img{width:100%;height:100%;object-fit:contain;padding:4px;display:block}
.versus .team-logo.team-logo-img img{padding:8px}
.avatar{display:inline-flex;align-items:center;justify-content:center;background:#eee;color:#8c8c8c;overflow:hidden;border:1px solid #e9e9e9}
.avatar i{font-size:18px;opacity:.8}.avatar.avatar-img img{width:100%;height:100%;object-fit:cover;display:block}
@media (min-width:1200px){
  .home-grid .row.g-4>section{display:flex;flex-direction:column}
  .home-grid .row.g-4>section>.cw-card{flex:1;min-height:496px;height:100%}
  .results-list{display:flex;flex-direction:column;justify-content:space-between}
  .results-list .result-row{flex:1;min-height:92px}
  .scorers{display:flex;flex-direction:column;justify-content:space-between}
  .scorers .scorer{flex:1;min-height:76px}
}

/* Ajuste v1.0.18: logos de equipos sin círculo en resultados y posiciones */
.result-row .team-logo.team-logo-img,
.standings .team-logo.team-logo-img{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:transparent!important;
  overflow:visible!important;
}
.result-row .team-logo.team-logo-img{
  width:54px!important;
  height:54px!important;
  margin-right:0!important;
}
.result-row .team-logo.team-logo-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:0!important;
}
.standings .team-logo.team-logo-img{
  width:26px!important;
  height:26px!important;
  margin-right:8px!important;
}
.standings .team-logo.team-logo-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:0!important;
}
@media (min-width:992px){
  .result-row{grid-template-columns:1.25fr 62px 74px 62px 1.25fr!important;}
}
@media (max-width:991px){
  .result-row .team-logo.team-logo-img{width:42px!important;height:42px!important;}
}


/* Compact spacing fix for top scorers */
.top-scorers-list .player-name,
.goleadoras-card .player-name,
.top-scorer-name,
.scorer-name{
    line-height: 1.05 !important;
    margin-bottom: 2px !important;
}

.top-scorers-list .player-info,
.goleadoras-card .player-info,
.scorer-info{
    gap: 2px !important;
}

.top-scorers-list .player-info h4,
.goleadoras-card .player-info h4,
.scorer-info h4{
    margin-bottom: 0 !important;
}

.top-scorers-list .player-info p,
.goleadoras-card .player-info p,
.scorer-info p{
    margin-top: 1px !important;
}


/* v1.0.25 - Tabla de posiciones compacta: elimina espacio inferior excesivo */
.cw-card.table-responsive{
    padding: 12px 14px 10px !important;
    height: auto !important;
    min-height: 0 !important;
}

.cw-card.table-responsive .table{
    margin-bottom: 0 !important;
}

.standings{
    margin-bottom: 0 !important;
}

.standings th,
.standings td{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    line-height: 1.1 !important;
}

.standings td .team-logo,
.standings td img{
    vertical-align: middle;
}

.cw-card.table-responsive .legend{
    margin-top: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}


/* v1.0.30 - PC: tabla de posiciones sin espacio inferior */
@media (min-width: 1200px){
    .standings-card{
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 12px !important;
    }

    .standings-card .standings{
        margin-bottom: 0 !important;
    }

    .standings-card .table{
        margin-bottom: 0 !important;
    }

    .standings-card .standings th,
    .standings-card .standings td{
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        vertical-align: middle !important;
    }

    .standings-card .legend{
        margin-top: 9px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}


/* v1.0.31 - Compactar nombres de goleadoras en PC */
@media (min-width: 1200px){

    .scorer{
        align-items: center !important;
    }

    .scorer div{
        display:flex !important;
        flex-direction:column !important;
        justify-content:center !important;
        gap:1px !important;
    }

    .scorer b{
        line-height: 1.02 !important;
        margin:0 !important;
        padding:0 !important;
        font-size:13px !important;
    }

    .scorer small{
        margin-top:1px !important;
        line-height:1.05 !important;
    }

}

.empty-state{
  padding:24px 14px;
  text-align:center;
  color:#777;
  font-weight:800;
  font-size:.9rem;
}
