:root{
  --bg:#020806;
  --bg2:#041b12;
  --panel:#07120d;
  --panel2:#0a1f15;
  --card:#0b1711;
  --glass:rgba(7,18,13,.88);
  --glass2:rgba(12,32,22,.78);
  --line:rgba(167,255,42,.34);
  --line-soft:rgba(255,255,255,.11);
  --lime:#a7ff2a;
  --lime2:#7de314;
  --text:#ffffff;
  --muted:#aebcb1;
  --danger:#ff4040;
  --gold:#f4c542;
  --blue:#0d1b3d;
  --cyan:#31a8ff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter,Arial,Helvetica,sans-serif;
  min-height:100vh;
  background:
    linear-gradient(180deg,rgba(0,0,0,.26),rgba(0,0,0,.88)),
    radial-gradient(circle at 50% 0%,rgba(167,255,42,.18),transparent 34%),
    linear-gradient(120deg,rgba(3,18,10,.98),rgba(5,24,15,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900' viewBox='0 0 900 900'%3E%3Crect width='900' height='900' fill='%23030b07'/%3E%3Cg opacity='.25' stroke='%231c6535' stroke-width='2' fill='none'%3E%3Cpath d='M0 650 C180 520 300 810 470 620 S760 520 900 640'/%3E%3Cpath d='M0 720 C240 580 330 820 520 690 S760 590 900 710'/%3E%3Ccircle cx='450' cy='620' r='130'/%3E%3Crect x='230' y='520' width='440' height='250' rx='16'/%3E%3Cpath d='M230 645h440M450 520v250'/%3E%3C/g%3E%3Cg opacity='.16' fill='%23ffffff'%3E%3Ccircle cx='120' cy='90' r='2'/%3E%3Ccircle cx='520' cy='130' r='1.6'/%3E%3Ccircle cx='720' cy='80' r='1.9'/%3E%3Ccircle cx='340' cy='210' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment:fixed;
  background-size:cover;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.7)),
             radial-gradient(circle at 50% 13%,rgba(255,255,255,.12),transparent 8%),
             radial-gradient(circle at 12% 12%,rgba(167,255,42,.18),transparent 15%),
             radial-gradient(circle at 88% 8%,rgba(49,168,255,.12),transparent 16%);
}
.app{max-width:520px;margin:0 auto;padding:18px 14px 96px}
.app.admin{max-width:1240px;padding-bottom:36px}
.top{
  position:sticky;top:0;z-index:50;
  background:rgba(3,10,7,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(167,255,42,.22);
  box-shadow:0 15px 50px rgba(0,0,0,.45);
}
.top .bar{
  max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;
  padding:12px 16px;
}
.brand{
  position:relative;
  font-weight:1000;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:24px;
  font-style:italic;
  line-height:1;
  text-shadow:0 0 18px rgba(167,255,42,.2);
}
.brand:before{
  content:"";display:inline-block;width:28px;height:18px;margin-right:8px;vertical-align:-2px;
  background:linear-gradient(135deg,var(--lime),var(--lime2));
  clip-path:polygon(0 50%,78% 0,100% 18%,50% 50%,100% 82%,78% 100%);
  filter:drop-shadow(0 0 12px rgba(167,255,42,.55));
}
.brand span{color:var(--lime)}
.nav a{
  color:#edf6ef;text-decoration:none;margin-left:14px;font-size:13px;
  opacity:.92;border:1px solid transparent;padding:8px 10px;border-radius:999px;
}
.nav a:hover{border-color:var(--line);background:rgba(167,255,42,.08);color:var(--lime)}
.hero{
  position:relative;overflow:hidden;
  padding:28px 18px;
  border-radius:30px;
  background:
    linear-gradient(135deg,rgba(167,255,42,.13),transparent 35%),
    linear-gradient(180deg,rgba(14,35,25,.92),rgba(4,12,8,.92)),
    radial-gradient(circle at 70% 25%,rgba(255,255,255,.16),transparent 24%);
  border:1px solid rgba(167,255,42,.32);
  box-shadow:0 24px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero:after{
  content:"";position:absolute;right:-28px;bottom:-34px;width:160px;height:160px;border-radius:50%;
  border:24px solid rgba(167,255,42,.06);
}
.h1{font-size:34px;line-height:.98;margin:0 0 9px;font-weight:1000;letter-spacing:-1.2px}
.muted{color:var(--muted)}
.small{font-size:12px}
.card{
  position:relative;overflow:hidden;
  background:
    linear-gradient(180deg,rgba(14,31,23,.91),rgba(5,15,10,.91)),
    radial-gradient(circle at top right,rgba(167,255,42,.08),transparent 28%);
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  padding:18px;
  margin:14px 0;
  box-shadow:0 22px 65px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.045);
}
.card:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  border-radius:24px;
  background:linear-gradient(90deg,rgba(167,255,42,.26),transparent 18%,transparent 82%,rgba(167,255,42,.12));
  opacity:.18;
}
.card>*{position:relative}
.card h2,.card h3{margin-top:0}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(180deg,var(--lime),#7bdc12);
  color:#061109;text-decoration:none;border:0;border-radius:14px;
  padding:13px 16px;font-weight:1000;text-transform:uppercase;letter-spacing:.2px;
  cursor:pointer;box-shadow:0 8px 26px rgba(167,255,42,.24), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn.secondary{
  background:linear-gradient(180deg,rgba(18,48,33,.92),rgba(8,22,15,.92));
  color:#fff;border:1px solid rgba(167,255,42,.34);box-shadow:none;
}
.btn.danger{background:linear-gradient(180deg,#ff5656,#c91919);color:#fff;box-shadow:0 10px 26px rgba(255,64,64,.18)}
.btn.full{width:100%;margin-top:8px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.stat{
  background:linear-gradient(180deg,rgba(8,20,14,.95),rgba(3,10,7,.95));
  border:1px solid rgba(167,255,42,.18);
  border-radius:18px;padding:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.stat b{font-size:25px;letter-spacing:-1px;color:#fff}
.stat .muted{font-size:12px;text-transform:uppercase;letter-spacing:.6px}
.pill{
  display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);
  color:#fff;font-size:12px;font-weight:800;
}
.pill.lime{background:rgba(167,255,42,.12);border-color:rgba(167,255,42,.45);color:#d9ff9a}
.pill.gold{background:rgba(244,197,66,.13);border-color:rgba(244,197,66,.45);color:#ffe49c}
.pill.red{background:rgba(255,64,64,.13);border-color:rgba(255,64,64,.55);color:#ffc0c0}
table{
  width:100%;border-collapse:separate;border-spacing:0 8px;background:transparent;
}
th,td{padding:11px 10px;text-align:left;font-size:14px}
th{color:var(--lime);font-size:11px;text-transform:uppercase;letter-spacing:.6px}
td{background:rgba(4,13,9,.88);border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
td:first-child{border-left:1px solid rgba(255,255,255,.08);border-radius:14px 0 0 14px}
td:last-child{border-right:1px solid rgba(255,255,255,.08);border-radius:0 14px 14px 0}
input,select,textarea{
  width:100%;padding:13px 13px;border-radius:14px;
  border:1px solid rgba(255,255,255,.13);background:rgba(1,8,5,.9);
  color:#fff;margin:7px 0 13px;outline:none;
}
input:focus,select:focus,textarea:focus{border-color:rgba(167,255,42,.56);box-shadow:0 0 0 3px rgba(167,255,42,.08)}
label{font-size:12px;color:#d3e4d6;text-transform:uppercase;letter-spacing:.5px}
.flash{
  padding:12px 14px;border-radius:16px;margin:14px 0;
  background:rgba(16,61,29,.92);border:1px solid rgba(167,255,42,.36);
  box-shadow:0 14px 35px rgba(0,0,0,.32);
}
.flash.err{background:rgba(64,20,20,.92);border-color:rgba(255,93,93,.4)}
.bottom{
  position:fixed;left:50%;bottom:0;transform:translateX(-50%);
  width:100%;max-width:520px;background:rgba(3,12,8,.94);backdrop-filter:blur(16px);
  border-top:1px solid rgba(167,255,42,.26);display:grid;grid-template-columns:repeat(4,1fr);padding:10px 6px 9px;
  box-shadow:0 -16px 40px rgba(0,0,0,.55);
}
.bottom a{text-align:center;color:#d7e6da;text-decoration:none;font-size:12px;font-weight:700}
.bottom a:hover{color:var(--lime)}
.list .row,.row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:linear-gradient(180deg,rgba(5,16,11,.92),rgba(3,10,7,.92));
  border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:12px;margin:8px 0;
}
.row:hover{border-color:rgba(167,255,42,.25)}
.avatar{
  width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--lime),#64c700);
  color:#07130b;display:flex;align-items:center;justify-content:center;font-weight:1000;
  box-shadow:0 0 0 4px rgba(167,255,42,.12);
}
.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.admin-grid{display:grid;grid-template-columns:250px 1fr;gap:20px}
.side{
  background:linear-gradient(180deg,rgba(7,18,13,.94),rgba(3,10,7,.94));
  border:1px solid rgba(167,255,42,.24);border-radius:22px;padding:14px;height:max-content;position:sticky;top:78px;
  box-shadow:0 20px 55px rgba(0,0,0,.45);
}
.side b{display:block;padding:10px;color:var(--lime);text-transform:uppercase;letter-spacing:.8px}
.side a{
  display:flex;align-items:center;gap:8px;color:#edf6ef;text-decoration:none;
  padding:11px 12px;border-radius:14px;margin:3px 0;font-size:14px;
}
.side a:hover{background:rgba(167,255,42,.1);color:var(--lime)}
.countdown{
  font-size:33px;font-weight:1000;color:var(--lime);letter-spacing:-1px;
  text-shadow:0 0 24px rgba(167,255,42,.28);
}
.actions{display:flex;gap:8px;flex-wrap:wrap}
h1,h2,h3,h4{letter-spacing:-.35px}
@media(max-width:760px){
  .admin-grid{grid-template-columns:1fr}.side{position:static}.split{grid-template-columns:1fr}.nav{display:none}.app.admin{padding-bottom:30px}
  .h1{font-size:31px}.card{border-radius:22px}.hero{border-radius:26px}
}

.player-photo{border-radius:50%;object-fit:cover;border:2px solid rgba(167,255,42,.55);box-shadow:0 0 0 4px rgba(167,255,42,.10)}
.rank-card{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;background:linear-gradient(180deg,rgba(5,16,11,.92),rgba(3,10,7,.92));border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:12px;margin:10px 0}
.rank-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.rank-metrics span{background:rgba(255,255,255,.06);border-radius:12px;padding:8px;text-align:center;font-size:12px}
.rank-metrics b{display:block;color:#fff;font-size:17px}
.shirt-dot{display:inline-block;width:18px;height:18px;border-radius:6px;vertical-align:-4px;border:1px solid rgba(255,255,255,.45);box-shadow:0 0 0 3px rgba(255,255,255,.05)}
.detail-hero{display:grid;grid-template-columns:90px 1fr;gap:14px;align-items:center}
.detail-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}

/* Ranking arqueros final */
.rank-metrics .golesr-main{
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(167,255,42,.18), rgba(167,255,42,.06));
  border: 1px solid rgba(167,255,42,.35);
}
.rank-metrics .golesr-main b{
  font-size: 26px;
  color: var(--lime);
  text-shadow: 0 0 20px rgba(167,255,42,.22);
}

/* Ranking Cracks */
.rank-metrics .crack-main{
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(244,197,66,.20), rgba(244,197,66,.07));
  border: 1px solid rgba(244,197,66,.45);
}
.rank-metrics .crack-main b{
  font-size: 26px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(244,197,66,.22);
}

/* Perfil editable */
input[type="file"]{
  padding: 12px;
  background: rgba(255,255,255,.06);
  border-style: dashed;
}
input:disabled{
  opacity: .65;
  cursor: not-allowed;
}

/* Posición múltiple */
.check-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:8px;
  margin:8px 0 14px;
}
.check-grid.compact{
  grid-template-columns:1fr;
  gap:4px;
  margin:0;
}
.check-card{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.06);
  text-transform:none;
  letter-spacing:0;
  color:#fff;
}
.check-card input{
  width:auto;
  margin:0;
}

/* =========================================================
   CRACKS UI V3 - Identidad futbolera funcional
   Inspirada en la propuesta visual aprobada
========================================================= */
:root{
  --grass:#9cff00;
  --grass2:#c9ff00;
  --pitch:#031812;
  --ink:#071018;
  --ink2:#101a24;
  --paneldark:rgba(9,19,29,.94);
  --stroke:rgba(156,255,0,.28);
  --stroke2:rgba(255,255,255,.10);
  --redteam:#d71920;
  --blueteam:#075bd8;
  --yellowteam:#f5c400;
}
body{
  background:
    radial-gradient(circle at 75% 3%, rgba(156,255,0,.18), transparent 20%),
    radial-gradient(circle at 12% 0%, rgba(0,214,118,.15), transparent 25%),
    linear-gradient(180deg, rgba(3,9,15,.72), rgba(2,7,12,.95)),
    url("data:image/svg+xml,%3Csvg width='1200' height='1200' viewBox='0 0 1200 1200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1200' height='1200' fill='%23040b10'/%3E%3Cg opacity='.22' stroke='%239cff00' stroke-width='2' fill='none'%3E%3Cpath d='M0 760 C240 640 330 920 580 760 S930 640 1200 810'/%3E%3Cpath d='M0 850 C260 710 390 980 650 820 S980 710 1200 900'/%3E%3Ccircle cx='600' cy='780' r='140'/%3E%3Crect x='260' y='640' width='680' height='320' rx='18'/%3E%3Cpath d='M260 800h680M600 640v320'/%3E%3C/g%3E%3Cg opacity='.18' fill='%23ffffff'%3E%3Ccircle cx='170' cy='170' r='2'/%3E%3Ccircle cx='390' cy='90' r='1.8'/%3E%3Ccircle cx='790' cy='140' r='2.2'/%3E%3Ccircle cx='1030' cy='230' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size:cover;
  background-attachment:fixed;
}
.top{background:rgba(4,9,15,.88);border-bottom:1px solid rgba(156,255,0,.24)}
.brand{font-family:Impact,Arial Black,Inter,sans-serif;font-style:italic;letter-spacing:.5px}
.brand:before{
  width:30px;height:30px;border-radius:50%;
  background:
    radial-gradient(circle at center, transparent 0 26%, #071018 27% 31%, transparent 32%),
    conic-gradient(from 18deg,#9cff00 0 20%,#101a24 0 28%,#9cff00 0 48%,#101a24 0 56%,#9cff00 0 76%,#101a24 0 84%,#9cff00 0);
  clip-path:none;
  vertical-align:-8px;
}
.hero,.card,.stat,.row{
  background:
    linear-gradient(180deg,rgba(17,28,40,.92),rgba(4,10,17,.94)),
    radial-gradient(circle at top right, rgba(156,255,0,.10), transparent 28%);
  border-color:rgba(255,255,255,.10);
}
.hero{
  border-color:rgba(156,255,0,.30);
}
.h1{
  font-family:Impact,Arial Black,Inter,sans-serif;
  text-transform:uppercase;
  font-style:italic;
  letter-spacing:.2px;
}
.btn{
  background:linear-gradient(180deg,#c9ff00,#8dff00);
  border-radius:10px;
  color:#071018;
}
.btn.secondary{background:rgba(17,28,40,.92);border-color:rgba(156,255,0,.26)}
.bottom{
  max-width:520px;
  background:rgba(4,9,15,.96);
  border:1px solid rgba(156,255,0,.18);
  border-radius:28px 28px 0 0;
  left:50%;
  bottom:0;
}
.bottom a{
  font-weight:800;
}
.bottom a:nth-child(3){
  color:#071018;background:linear-gradient(180deg,#c9ff00,#8dff00);
  width:52px;height:52px;border-radius:50%;
  justify-self:center;display:flex;align-items:center;justify-content:center;
  margin-top:-22px;font-size:0;
  box-shadow:0 0 0 7px rgba(156,255,0,.08),0 14px 35px rgba(156,255,0,.24);
}
.bottom a:nth-child(3)::before{content:"⚽";font-size:24px}
.screen-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.badge-count{background:rgba(156,255,0,.12);border:1px solid rgba(156,255,0,.5);color:var(--grass);padding:5px 10px;border-radius:999px;font-weight:900}
.match-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;text-align:center}
.scorebox{font-size:28px;font-weight:1000;color:#fff}
.team-card-mini{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:12px;border-radius:18px}
.football-splash{
 min-height:calc(100vh - 20px);display:flex;flex-direction:column;justify-content:flex-end;
 padding:24px;background:
 radial-gradient(circle at 50% 60%, rgba(156,255,0,.25), transparent 18%),
 linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.92)),
 url("data:image/svg+xml,%3Csvg width='520' height='800' viewBox='0 0 520 800' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='520' height='800' fill='%23040b10'/%3E%3Cg opacity='.45'%3E%3Ccircle cx='260' cy='350' r='92' fill='%239cff00'/%3E%3Ccircle cx='260' cy='350' r='66' fill='%23040b10'/%3E%3Cpath d='M40 620 C150 500 260 690 390 570 S500 520 520 560' stroke='%239cff00' stroke-width='3' fill='none'/%3E%3C/g%3E%3C/svg%3E");
 background-size:cover;border-radius:30px;border:1px solid rgba(156,255,0,.28);
}
.splash-logo{font-family:Impact,Arial Black,sans-serif;font-size:58px;font-style:italic;text-transform:uppercase;text-shadow:0 0 20px rgba(156,255,0,.3)}
.splash-logo span{color:var(--grass)}
.auth-card{margin-top:20px}
.auth-card h1{font-family:Impact,Arial Black,sans-serif;font-style:italic}
.field-line{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center}
.fixture-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.fixture-date{font-weight:900;color:var(--grass)}
.progress-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
.progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#9cff00,#c9ff00)}
.team-shirt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.shirt-tile{padding:16px 10px;border-radius:16px;text-align:center;border:1px solid rgba(255,255,255,.12);font-weight:900}
.shirt-red{background:linear-gradient(180deg,#e53935,#8f1010)}
.shirt-blue{background:linear-gradient(180deg,#1e63ff,#0b2f82)}
.shirt-yellow{background:linear-gradient(180deg,#ffd600,#a07800);color:#071018}
.notification-item{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center}
.icon-ball{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(156,255,0,.12);border:1px solid rgba(156,255,0,.35)}
@media(max-width:520px){
  .splash-logo{font-size:48px}
  .rank-metrics{grid-template-columns:repeat(3,1fr)}
}


/* Mi pichanga - jugadores inscritos */
.my-match-page{
  padding-bottom:96px;
}
.my-match-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding:22px;
  border-radius:28px;
  border:1px solid rgba(168,255,0,.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(168,255,0,.18), transparent 34%),
    linear-gradient(135deg, rgba(7,15,12,.96), rgba(6,8,13,.94));
  box-shadow:0 22px 70px rgba(0,0,0,.36);
}
.my-match-hero p{
  margin:6px 0 0;
  color:rgba(255,255,255,.72);
  font-size:14px;
  font-weight:750;
}
.my-match-hero small{
  display:block;
  margin-top:7px;
  color:rgba(255,255,255,.50);
  font-size:12px;
  font-weight:750;
}
.my-match-status{
  min-width:132px;
  padding:14px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
  text-align:right;
}
.my-match-status small{
  margin:0;
  color:rgba(255,255,255,.52);
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
}
.my-match-status b{
  display:block;
  color:var(--lime);
  font-size:18px;
  margin-top:4px;
}
.my-match-status span{
  display:block;
  color:rgba(255,255,255,.60);
  font-size:11px;
  font-weight:800;
  margin-top:3px;
}
.my-match-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 16px;
}
.my-match-actions form{
  margin:0;
}
.my-match-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:18px;
}
.my-match-summary div{
  padding:14px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.24);
}
.my-match-summary small{
  display:block;
  color:rgba(255,255,255,.52);
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
}
.my-match-summary b{
  display:block;
  color:#fff;
  font-size:24px;
  margin-top:5px;
}
.my-match-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
}
.my-match-card{
  padding:18px!important;
}
.my-match-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.my-match-card-head h2{
  margin:0;
  color:#fff;
  font-size:17px;
}
.my-match-card-head span{
  display:inline-flex;
  min-width:30px;
  height:30px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(168,255,0,.12);
  color:var(--lime);
  font-size:12px;
  font-weight:1000;
}
.my-match-list{
  display:grid;
  gap:9px;
}
.my-match-player{
  display:grid;
  grid-template-columns:30px 42px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.22);
}
.my-match-player.is-me{
  border-color:rgba(168,255,0,.36);
  background:rgba(168,255,0,.08);
}
.my-match-player.reserve{
  opacity:.92;
}
.my-match-rank{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:12px;
  font-weight:1000;
}
.my-match-avatar .player-avatar,
.my-match-avatar img{
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  object-fit:cover;
}
.my-match-info{
  min-width:0;
}
.my-match-info b{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.my-match-info b span{
  color:var(--lime);
  font-size:10px;
  font-weight:1000;
  margin-left:6px;
}
.my-match-info small{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.54);
  font-size:11px;
  font-weight:750;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.my-match-player em{
  font-style:normal;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.72);
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
}
.my-match-player.is-me em{
  background:rgba(168,255,0,.14);
  color:var(--lime);
}
@media(max-width:900px){
  .my-match-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .my-match-hero{
    align-items:flex-start;
    flex-direction:column;
  }
  .my-match-status{
    width:100%;
    text-align:left;
  }
  .my-match-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .my-match-player{
    grid-template-columns:28px 38px minmax(0,1fr);
  }
  .my-match-player em{
    grid-column:3;
    justify-self:start;
  }
}


/* Ajuste visual Mi pichanga: coherente con vistas v4 existentes */
.my-match-page .my-match-hero{
  border-radius:26px;
}
.my-match-page .my-match-card{
  background:rgba(9,16,14,.86)!important;
  border:1px solid rgba(168,255,0,.14)!important;
}
.my-match-avatar .player-photo{
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  object-fit:cover;
  border:1px solid rgba(168,255,0,.22);
  background:rgba(255,255,255,.06);
}
.my-match-player{
  min-height:64px;
}
.my-match-info b span{
  display:inline-flex;
  vertical-align:middle;
  margin-left:7px;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(168,255,0,.14);
  color:var(--lime);
}


/* Background específico para vista Mi pichanga */
.my-match-page{
  position:relative;
  min-height:calc(100vh - 80px);
  padding:18px 0 112px;
  isolation:isolate;
}
.my-match-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(180deg, rgba(2,6,10,.64), rgba(2,6,10,.92) 52%, rgba(2,6,10,.98)),
    radial-gradient(circle at 18% 0%, rgba(168,255,0,.18), transparent 30%),
    url("../img/backgrounds/bg-mi-pichanga-cracks.png") center center / cover no-repeat;
}
.my-match-page::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 18%, transparent 0, rgba(0,0,0,.28) 48%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 34%, rgba(0,0,0,.35));
}
.my-match-page .my-match-hero{
  background:
    linear-gradient(135deg, rgba(5,12,10,.72), rgba(3,7,12,.76)),
    radial-gradient(circle at 0% 0%, rgba(168,255,0,.20), transparent 38%);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 24px 80px rgba(0,0,0,.44);
}
.my-match-page .my-match-summary div,
.my-match-page .my-match-card,
.my-match-page .my-match-player{
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
@media(max-width:760px){
  .my-match-page::before{
    background:
      linear-gradient(180deg, rgba(2,6,10,.58), rgba(2,6,10,.92) 48%, rgba(2,6,10,.99)),
      radial-gradient(circle at 20% 0%, rgba(168,255,0,.16), transparent 32%),
      url("../img/backgrounds/bg-mi-pichanga-cracks.png") center top / cover no-repeat;
  }
}


/* Mi pichanga - UI premium final */
.my-match-page{
  max-width:980px;
  margin:0 auto;
  padding:22px 14px 112px;
}

.my-match-page .my-match-hero{
  min-height:360px;
  align-items:flex-end;
  padding:34px;
  border-radius:30px;
  border:1px solid rgba(168,255,0,.30);
  background:
    linear-gradient(135deg, rgba(3,9,10,.78), rgba(3,7,12,.84)),
    radial-gradient(circle at 0% 0%, rgba(168,255,0,.20), transparent 38%);
}

.my-match-page .my-match-hero .auth-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 22px;
  border-radius:999px;
  background:var(--lime);
  color:#071007!important;
  font-size:14px;
  font-weight:1000;
  letter-spacing:.03em;
}

.my-match-page .my-match-hero .v4-title{
  margin:24px 0 16px;
  max-width:650px;
  font-size:clamp(56px, 10vw, 104px);
  line-height:.86;
  letter-spacing:-.06em;
  text-transform:uppercase;
  color:#fff;
  text-shadow:0 10px 34px rgba(0,0,0,.55);
}

.my-match-page .my-match-hero p{
  max-width:680px;
  color:rgba(255,255,255,.74);
  font-size:18px;
  line-height:1.25;
  font-weight:900;
}

.my-match-page .my-match-hero small{
  color:rgba(255,255,255,.58);
  font-size:16px;
  line-height:1.25;
  font-weight:850;
}

.my-match-status{
  min-width:220px;
  padding:26px 24px;
  border-radius:28px;
  border:1px solid rgba(168,255,0,.30);
  background:rgba(0,0,0,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.my-match-status b{
  color:var(--lime);
  font-size:32px;
  line-height:1;
}

.my-match-status span{
  color:rgba(255,255,255,.70);
  font-size:16px;
}

.premium-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin:18px 0 22px;
}

.premium-actions .my-match-back{
  width:100%;
  min-height:70px;
  border-radius:22px;
  font-size:20px;
  font-weight:1000;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.premium-actions form{
  width:100%;
}

.my-match-drop{
  width:100%;
  min-height:64px;
  border-radius:22px;
  border:1px solid rgba(255,74,88,.70)!important;
  background:rgba(255,74,88,.05)!important;
  color:#ff5966!important;
  font-size:20px;
  font-weight:1000;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 0 0 1px rgba(255,74,88,.12), 0 18px 40px rgba(255,0,50,.08);
}

.my-match-summary{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px;
}

.my-match-summary div{
  min-height:132px;
  padding:22px;
  border-radius:24px;
  background:rgba(5,12,14,.62);
  border:1px solid rgba(168,255,0,.20);
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}

.my-match-summary small{
  color:rgba(255,255,255,.62);
  font-size:14px;
  line-height:1.15;
}

.my-match-summary b{
  margin-top:14px;
  color:#fff;
  font-size:44px;
  line-height:1;
}

.my-match-grid{
  grid-template-columns:1fr!important;
  gap:22px;
}

.my-match-page .my-match-card{
  padding:24px!important;
  border-radius:30px;
  background:rgba(5,14,15,.72)!important;
  border:1px solid rgba(168,255,0,.24)!important;
  box-shadow:0 22px 70px rgba(0,0,0,.26);
}

.my-match-card-head{
  margin-bottom:18px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.my-match-card-head h2{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.025em;
}

.my-match-card-head span{
  min-width:46px;
  height:46px;
  background:var(--lime);
  color:#071007;
  font-size:18px;
}

.my-match-list{
  gap:14px;
}

.my-match-player{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:18px;
  min-height:96px;
  padding:18px;
  border-radius:26px;
  background:rgba(0,0,0,.26);
  border:1px solid rgba(168,255,0,.18);
}

.my-match-player.is-me{
  border-color:rgba(168,255,0,.52);
  background:rgba(168,255,0,.075);
}

.my-match-rank{
  display:none!important;
}

.my-match-avatar{
  width:72px;
  height:72px;
}

.my-match-avatar .player-photo,
.my-match-avatar img{
  width:72px!important;
  height:72px!important;
  border-radius:50%!important;
  object-fit:cover;
  border:1px solid rgba(168,255,0,.42);
  background:rgba(255,255,255,.06);
}

.player-initials-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:2px solid rgba(168,255,0,.78);
  background:radial-gradient(circle at 30% 20%, rgba(168,255,0,.20), rgba(5,12,12,.86));
  color:var(--lime);
  font-size:24px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.02em;
  box-shadow:0 0 0 8px rgba(168,255,0,.06);
}

.my-match-info b{
  font-size:24px;
  line-height:1.1;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
}

.my-match-info small{
  margin-top:8px;
  font-size:16px;
  color:rgba(255,255,255,.58);
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
}

.my-match-player em{
  align-self:center;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(168,255,0,.52);
  background:rgba(168,255,0,.10);
  color:var(--lime);
  font-size:13px;
  letter-spacing:.04em;
}

.my-match-player em.status-reserva{
  border-color:rgba(255,209,102,.48);
  background:rgba(255,209,102,.10);
  color:#ffd166;
}

.my-match-player em.status-capitan{
  border-color:rgba(93,186,255,.48);
  background:rgba(93,186,255,.10);
  color:#8bd1ff;
}

.my-match-card .muted{
  font-size:18px;
  line-height:1.25;
  color:rgba(255,255,255,.62)!important;
}

@media(max-width:760px){
  .my-match-page{
    padding:18px 14px 104px;
  }

  .my-match-page .my-match-hero{
    min-height:auto;
    padding:24px;
    align-items:flex-start;
  }

  .my-match-page .my-match-hero .v4-title{
    margin:22px 0 14px;
    font-size:clamp(50px, 14vw, 76px);
    line-height:.88;
  }

  .my-match-page .my-match-hero p{
    font-size:16px;
  }

  .my-match-page .my-match-hero small{
    font-size:14px;
  }

  .my-match-status{
    width:100%;
    min-width:0;
    text-align:left;
  }

  .my-match-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .my-match-summary div{
    min-height:116px;
    padding:18px;
  }

  .my-match-summary b{
    font-size:38px;
  }

  .my-match-player{
    grid-template-columns:62px minmax(0,1fr);
    gap:14px;
    padding:16px;
  }

  .my-match-avatar,
  .my-match-avatar .player-photo,
  .my-match-avatar img,
  .player-initials-avatar{
    width:62px!important;
    height:62px!important;
  }

  .player-initials-avatar{
    font-size:21px;
  }

  .my-match-info b{
    font-size:20px;
  }

  .my-match-info small{
    font-size:14px;
  }

  .my-match-player em{
    grid-column:2;
    justify-self:start;
    margin-top:4px;
  }
}
