@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#090c12;--panel:#151a23;--panel2:#1b232e;--line:#303d4b;--red:#51cafa;--white:#f8f8fa;--muted:#aebbc9;--gold:#f6c84a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font:15px/1.55 Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1150px)/2));gap:20px;background:#0d1119}.brand{display:flex;align-items:center;gap:13px;font:800 23px 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px}.brand strong{color:var(--red)}.brand-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--red);font:900 19px Inter,sans-serif;transform:skew(-8deg)}.slash{color:#fff}.topbar nav{display:flex;gap:25px}.topbar nav a,.eyebrow,.feature-number,.feature-link,.outline-link,footer{font-size:11px;letter-spacing:1.7px;font-weight:800}.topbar nav a:hover,a:hover{color:#3ec2ef}main{max-width:1150px;margin:0 auto;min-height:calc(100vh - 150px);padding:35px 24px 70px}.view{display:none}.view.active{display:block}.hero{padding:70px 0 55px;position:relative}.hero:before{content:'';position:absolute;right:1%;top:18px;width:260px;height:260px;border:36px solid #132536;transform:skew(-20deg);opacity:.7;z-index:-1}.eyebrow{color:#3ec2ef;display:flex;align-items:center;gap:9px}.live-dot{display:inline-block;width:8px;height:8px;background:var(--red);border-radius:50%;box-shadow:0 0 0 4px #1078b128}.hero h1,.section-head h1{font:900 clamp(48px,8vw,94px)/.93 'Barlow Condensed',Impact,sans-serif;letter-spacing:.1px;margin:20px 0}.hero h1 em,.section-head h1 em{color:var(--red);font-style:normal}.hero p{max-width:550px;font-size:16px;color:var(--muted)}.socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}.socials a,.outline-link{border:1px solid #46576a;padding:12px 18px;font-size:11px;font-weight:800;letter-spacing:1px}.socials a:hover,.outline-link:hover{border-color:var(--red)}.features{display:grid;grid-template-columns:1fr 1fr;gap:16px}.feature{background:linear-gradient(125deg,#1a222d,#10151d);border:1px solid #2b3949;border-left:4px solid var(--red);padding:27px;min-height:280px;position:relative;transition:transform .2s,border-color .2s}.feature:hover{transform:translateY(-4px);border-color:var(--red);color:inherit}.feature-number{color:var(--muted)}.feature-symbol{font-size:44px;color:var(--red);margin-top:20px}.feature h2{font:900 39px 'Barlow Condensed',Impact,sans-serif;margin:0}.feature p{color:var(--muted);max-width:370px;margin:5px 0 24px}.feature-link{color:#fff}.feature-link b{color:var(--red);font-size:18px}.section-head{margin:35px 0 30px}.section-head h1{font-size:clamp(48px,7vw,78px);margin:15px 0}.section-head p{color:var(--muted);max-width:700px}.accent{color:var(--red)}.panel{background:var(--panel);border:1px solid var(--line);padding:28px}.loading{color:var(--muted)}.under-panel{margin-top:25px}.calendar-wrap{background:white;padding:5px;border-radius:3px}.calendar-wrap iframe{width:100%;height:650px;border:0;display:block}.helper{font-size:12px;color:var(--muted);margin-top:13px}.helper a{color:#3ec2ef;text-decoration:underline}.status{font:800 12px Inter,sans-serif;letter-spacing:1px;color:var(--gold);margin-bottom:13px}.status.open{color:#58d986}.status.closed{color:#f6c84a}.event-title{font:900 35px 'Barlow Condensed',Impact,sans-serif;margin:0}.event-category{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1px}.countdown{font:900 38px 'Barlow Condensed',Impact,sans-serif;color:#fff}.countdown.soon{color:var(--red)}.event-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.drivers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.driver{display:flex;align-items:center;gap:12px;text-align:left;padding:15px;background:var(--panel2);border:1px solid #364656;color:#fff;min-height:65px}.driver:hover,.driver.selected{border-color:var(--red);background:#132536}.driver-number{display:flex;align-items:center;justify-content:center;background:#14608e;min-width:44px;height:36px;padding:0 5px;font-weight:900}.driver-name{font-weight:700}.driver input{accent-color:var(--red)}.primary,.secondary,.danger{padding:13px 20px;border:0;font-weight:800;letter-spacing:.5px;margin:10px 10px 0 0}.primary{background:var(--red);color:white}.primary:hover{background:#3ec2ef}.secondary{background:#324253;color:#fff}.danger{background:#17374f;color:#fff}.primary:disabled{opacity:.4;cursor:not-allowed}.vote-footer{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.receipt{color:#6bea9e;font-weight:700}.result{display:flex;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.result-pos{font:900 30px 'Barlow Condensed',Impact,sans-serif;color:var(--gold);min-width:35px}.result-content{flex:1}.result-line{display:flex;justify-content:space-between;gap:10px;font-weight:800}.bar-track{height:6px;background:#373942;margin-top:8px}.bar-fill{height:100%;background:var(--red)}.history-item{border-bottom:1px solid var(--line);padding:20px 0}.history-item h3{margin:0;font-size:19px}.history-item p{margin:5px 0;color:var(--muted)}.admin-grid{display:grid;grid-template-columns:300px 1fr;gap:18px;align-items:start}.admin-grid h2{font:900 27px 'Barlow Condensed',Impact,sans-serif}.admin-grid label{display:block;font-size:12px;font-weight:700;margin:12px 0 6px}.admin-grid input,.admin-grid select,.admin-grid textarea{width:100%;background:#0c0d10;border:1px solid #435569;color:#fff;padding:12px;border-radius:0;outline:none}.admin-grid input:focus,.admin-grid select:focus,.admin-grid textarea:focus{border-color:var(--red)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-grid label:last-child{grid-column:span 2}.actions{display:flex;flex-wrap:wrap}hr{border:0;border-top:1px solid var(--line);margin:24px 0}footer{border-top:1px solid var(--line);padding:25px max(24px,calc((100vw - 1150px)/2));display:flex;justify-content:space-between;gap:15px;color:var(--muted)}footer a{margin-left:20px}code{color:#3ec2ef}@media(max-width:760px){.topbar{height:auto;padding:15px 20px;flex-wrap:wrap}.topbar nav{width:100%;gap:14px;overflow:auto}.topbar nav a{font-size:10px;white-space:nowrap}main{padding:20px 15px 50px}.hero{padding:40px 0}.hero:before{width:150px;height:150px}.features,.drivers,.admin-grid,.form-grid{grid-template-columns:1fr}.form-grid label:last-child{grid-column:auto}.feature{min-height:235px}.panel{padding:17px}.event-meta{align-items:flex-start;flex-direction:column}.calendar-wrap iframe{height:560px}footer{padding:20px;flex-direction:column}footer a{margin:0 15px 0 0}}

/* v2: four large homepage actions and share link */
.features{grid-template-columns:repeat(2,minmax(0,1fr))}
.feature h2{font-size:clamp(27px,3vw,39px);line-height:1.05;overflow-wrap:anywhere}
.admin-share{margin:16px 0 8px;padding:14px;border:1px solid var(--line);background:#10151d}
.admin-share span{display:block;font-size:11px;letter-spacing:1.3px;font-weight:800;color:var(--muted)}
.admin-share input{margin-top:8px;font-size:12px}
.admin-share button{margin-top:8px}
@media(max-width:760px){.features{grid-template-columns:1fr}.feature h2{font-size:32px}}
/* Ligas, transmisiones y contador principal */
.broadcast-hero{margin:0 0 26px;padding:28px 32px;border-left:4px solid var(--red);background:linear-gradient(110deg,#132536,#121924 65%,#0d1119)}
.broadcast-hero h2{font:900 clamp(30px,5vw,52px)/1 'Barlow Condensed',Impact,sans-serif;margin:12px 0 6px}
.broadcast-hero p{color:var(--muted);margin:4px 0 12px}
.broadcast-head{display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap}
.time-grid{display:grid;grid-template-columns:repeat(4,minmax(56px,1fr));gap:8px}
.time-unit{background:#202b38;min-width:62px;padding:10px 8px;text-align:center}
.time-unit strong{display:block;font:900 31px 'Barlow Condensed',Impact,sans-serif}
.time-unit small{font-size:9px;letter-spacing:1px;color:var(--muted)}
.broadcast-link{display:inline-block;margin:10px 0 0;text-align:center}
.on-air{color:#6fea97}.on-air-title{font:900 34px 'Barlow Condensed',Impact,sans-serif;color:#6fea97}
.compact-head{margin-top:35px}.compact-head h2{font:900 48px 'Barlow Condensed',Impact,sans-serif;margin:8px 0 15px}
.league-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:25px}
.league-card{padding:25px;background:#151a23;border:1px solid #303d4b;border-top:3px solid var(--red)}
.league-card h3{font:900 34px 'Barlow Condensed',Impact,sans-serif;margin:8px 0 16px}
.league-links{display:flex;gap:9px;flex-wrap:wrap}.small-link{display:inline-block;color:#fff;border:1px solid #54545d;padding:9px 12px;font-size:11px;font-weight:800;letter-spacing:.5px;margin:8px 8px 8px 0}.small-link:hover{border-color:var(--red)}
.history-filter{margin:0 0 14px;display:flex;gap:15px;align-items:center;flex-wrap:wrap}.history-filter label{font-size:12px;font-weight:800}.history-filter select{background:#151a23;color:#fff;border:1px solid #444;padding:10px;min-width:200px}
.stream-admin-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:8px 0}.stream-admin-row button{white-space:nowrap}
@media(max-width:760px){.broadcast-hero{padding:20px}.time-grid{width:100%}.time-unit{min-width:0}.league-grid{grid-template-columns:1fr}.broadcast-head{gap:10px}}

/* Agenda temática SIM RELATOS — sin modificar Google Calendar embebido */
.sr-agenda-shell{background:#10151d;border:1px solid #344353;border-top:4px solid var(--red);overflow:hidden}
.sr-agenda-bar{padding:25px 28px 22px;display:flex;align-items:end;justify-content:space-between;gap:20px;background:linear-gradient(105deg,#202936,#14151a 70%);border-bottom:1px solid #324252}
.sr-agenda-kicker{font-size:10px;letter-spacing:2px;color:#3ec2ef;font-weight:900}
.sr-agenda-bar h2{font:900 clamp(31px,5vw,48px)/1 'Barlow Condensed',Impact,sans-serif;margin:7px 0 0}
.sr-agenda-bar h2 span{color:var(--red)}
.sr-agenda-zone{color:#a6a7b0;font-size:10px;letter-spacing:1.2px;font-weight:800;white-space:nowrap}
.sr-agenda-day{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#1c2632;border-bottom:1px solid #303e4e;padding:10px 27px;text-transform:uppercase;font-size:11px;letter-spacing:1.2px;font-weight:900}
.sr-agenda-day b{color:#3ec2ef;font-size:9px;white-space:nowrap}
.sr-race-row{display:flex;gap:21px;align-items:center;padding:20px 27px;border-bottom:1px solid #303039;min-height:114px;transition:background .2s}
.sr-race-row:hover{background:#1a222e}.sr-race-row.sr-today{box-shadow:inset 4px 0 0 var(--red)}
.sr-race-date{flex:0 0 65px;text-align:center;background:#202c3a;border:1px solid #17374f;padding:7px 5px 8px}
.sr-race-date span{display:block;color:#3ec2ef;font-size:10px;letter-spacing:1.5px;font-weight:900}
.sr-race-date strong{display:block;color:#fff;font:900 37px/.95 'Barlow Condensed',Impact,sans-serif;margin:3px 0}
.sr-race-info{flex:1;min-width:0}.sr-race-overline{color:#3ec2ef;font-size:10px;font-weight:800;letter-spacing:1.2px}.sr-race-overline i{font-style:normal;color:#888}
.sr-race-info h3{font:900 clamp(22px,3.5vw,32px)/1.1 'Barlow Condensed',Impact,sans-serif;margin:6px 0 7px;overflow-wrap:anywhere}
.sr-race-info p{margin:0;display:flex;gap:15px;flex-wrap:wrap;font-size:10px;font-weight:700;letter-spacing:.6px;color:#a1b0c0}
.sr-race-clock{color:#f8f8fa!important;font-size:12px;font-weight:900}
.sr-race-action{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;background:#1078b1;color:#fff;padding:12px 15px;font-size:10px;letter-spacing:.7px;font-weight:900}
.sr-race-action:hover{background:#3ec2ef;color:#fff}.sr-race-no-link{font-size:10px;letter-spacing:1px;font-weight:800;color:#73747f;white-space:nowrap}
.sr-agenda-foot{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:14px 27px;color:#a4a5af;font-size:10px;letter-spacing:.6px}
.sr-agenda-legend{color:#fff;font-weight:800}.sr-agenda-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--red);margin-right:7px}
.sr-agenda-empty{padding:28px}.sr-agenda-empty strong{font:900 24px 'Barlow Condensed',Impact,sans-serif}.sr-agenda-empty p{color:var(--muted);font-size:13px;max-width:700px}
.sr-google-details{margin:14px 0 0;border:1px solid #344353;background:#151b25}.sr-google-details summary{padding:17px 21px;cursor:pointer;list-style:none;font-size:11px;font-weight:900;letter-spacing:1.3px}.sr-google-details summary::-webkit-details-marker{display:none}.sr-google-details summary span{float:right;color:var(--red)}.sr-google-details[open] summary{border-bottom:1px solid #34353c}.sr-google-details .calendar-wrap{margin:15px}
@media(max-width:760px){.sr-agenda-bar{align-items:start;flex-direction:column;padding:20px}.sr-agenda-zone{white-space:normal}.sr-agenda-day{padding:10px 15px}.sr-race-row{gap:12px;padding:15px;align-items:flex-start;flex-wrap:wrap}.sr-race-date{flex-basis:54px}.sr-race-date strong{font-size:31px}.sr-race-info{flex-basis:calc(100% - 70px)}.sr-race-action,.sr-race-no-link{margin-left:66px}.sr-agenda-foot{padding:14px 15px}}

/* Gestión de ligas: 6 enlaces editables, nombre a la izquierda y URL a la derecha */
.league-link-heading,.league-link-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2.1fr);gap:12px;align-items:center}
.league-link-heading{font-size:11px;font-weight:900;letter-spacing:1.2px;color:#d9d9de;margin-top:20px;margin-bottom:5px}
.league-link-row{padding:7px 0;border-bottom:1px solid #34343c}
.admin-grid .league-link-row label{margin:0;min-width:0}
.admin-grid .league-link-row input{width:100%;min-width:0}
.league-link-mobile-title{display:none}
@media(max-width:600px){.league-link-heading{display:none}.league-link-row{grid-template-columns:1fr;gap:7px;padding:14px 0}.league-link-mobile-title{display:block;color:#b5b5be;font-size:10px;font-weight:900;letter-spacing:1px;margin-bottom:5px}}

/* Navegación a ligas y archivo de transmisiones anteriores */
.jump-leagues{display:inline-block;margin:0 0 25px;color:#fff;border-color:#1078b1;background:#132536}
#ligas{scroll-margin-top:24px}
.sr-archive-list{display:grid;gap:12px}
.archive-row{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#151b25;border:1px solid #34353c;border-left:4px solid #1078b1;padding:22px 25px}
.archive-row h3{font:900 clamp(23px,3vw,33px)/1.1 'Barlow Condensed',Impact,sans-serif;margin:9px 0 0}
.archive-row .primary{margin:0;white-space:nowrap;font-size:11px}
@media(max-width:600px){.archive-row{align-items:flex-start;flex-direction:column}.archive-row .primary{width:100%;text-align:center}}

/* Archivo de transmisiones: menú por liga */
.archive-menu{margin:12px 0 25px;padding:22px;background:linear-gradient(120deg,#1a222e,#0d1119);border:1px solid #363741;border-left:4px solid var(--red)}
.archive-menu-title{font-size:11px;font-weight:900;letter-spacing:2px;color:#d1d1d8;margin-bottom:16px}
.archive-menu-items{display:flex;flex-wrap:wrap;gap:10px}
.archive-menu-btn{border:1px solid #484951;background:#151a23;color:#e7e7ec;padding:12px 15px;font-size:11px;font-weight:900;letter-spacing:.8px;text-align:left;display:flex;align-items:center;gap:12px;transition:background .15s,border-color .15s}
.archive-menu-btn:hover,.archive-menu-btn:focus-visible{border-color:#3ec2ef;color:#fff}
.archive-menu-btn.active{background:#14608e;border-color:#1078b1;color:#fff}
.archive-menu-count{border-radius:2px;background:#ffffff20;padding:2px 7px;font-size:10px}
@media(max-width:600px){.archive-menu{padding:15px}.archive-menu-items{display:grid;grid-template-columns:1fr 1fr}.archive-menu-btn{justify-content:space-between;padding:11px 10px;font-size:10px}}

/* Identidad Martín Mónico Díaz: primera imagen como fondo únicamente del inicio */
.brand-name{white-space:nowrap;font-size:clamp(17px,1.75vw,23px)}
.topbar nav{gap:clamp(10px,1.45vw,24px);align-items:center}
.topbar nav a{white-space:nowrap;letter-spacing:1px}
#inicio .hero{isolation:isolate;min-height:420px;padding:70px 0 58px}
#inicio .hero::before{display:none}
#inicio .hero::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:0;bottom:0;right:0;width:68%;
  background:
    linear-gradient(90deg,#090c12 0%,rgba(11,12,16,.84) 17%,rgba(11,12,16,.05) 58%),
    linear-gradient(0deg,rgba(11,12,16,.28),transparent 35%),
    url('./martin-hero.jpg') center 30% / cover no-repeat;
  opacity:.94;
}
#inicio .hero h1,#inicio .hero p,#inicio .hero .socials,#inicio .hero .eyebrow{position:relative;z-index:1}
@media(max-width:900px){
 .topbar{flex-wrap:wrap;height:auto;padding-top:14px;padding-bottom:14px}
 .topbar nav{width:100%;overflow-x:auto;padding:6px 0;gap:18px}
 #inicio .hero::after{width:85%;opacity:.6}
}
@media(max-width:600px){
 #inicio .hero{padding:45px 0;min-height:370px}
 #inicio .hero::after{width:100%;opacity:.35;background-position:center,center,63% 30%}
 .brand-name{font-size:19px}
}

/* Filtro por liga en la agenda y logos subidos desde Administración */
.calendar-filter{background:#171e29;border:1px solid #363741;border-left:4px solid var(--red);padding:18px 23px;margin:15px 0}
.calendar-league-items{display:flex;flex-wrap:wrap;gap:9px}
.calendar-league-btn{display:inline-flex;align-items:center;gap:9px;background:#121318;border:1px solid #484951;color:#fff;padding:10px 13px;font-size:11px;font-weight:900;letter-spacing:.4px;cursor:pointer}
.calendar-league-btn:hover{border-color:var(--red)}.calendar-league-btn.active{background:#14608e;border-color:#1078b1}
.calendar-filter-note{font-size:11px;color:#a9a9b2;margin:12px 0 0}
.league-identity{display:flex;align-items:center;gap:15px}.league-identity h3{margin:8px 0 16px}
.league-logo{height:31px;width:31px;object-fit:contain;flex-shrink:0;border-radius:4px}
.league-identity .league-logo{height:64px;width:64px}
.race-league-logo{width:18px;height:18px;object-fit:contain;vertical-align:middle;margin-right:7px}
.league-logo-admin{border:1px solid #3b3b45;background:#17181d;padding:17px;margin-top:15px}
.league-logo-admin label{display:block;margin-bottom:10px}.league-logo-admin input{width:100%;margin-bottom:12px}
.league-logo-preview{display:flex;align-items:center;gap:12px;font-size:12px;color:#c9c9d1;margin:8px 0 12px}
.league-logo-preview img{width:85px;height:85px;object-fit:contain;background:#0d1119;border:1px solid #43434c;padding:5px}
.archive-menu-btn .league-logo{height:22px;width:22px}
@media(max-width:600px){.calendar-filter{padding:14px}.calendar-league-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-league-btn{font-size:10px;padding:9px;min-width:0}}

/* Logos individuales en archivo y próxima transmisión */
.archive-row-identity,.broadcast-title-area,.future-league-details{display:flex;align-items:center;gap:16px;min-width:0}
.archive-row-identity>div,.broadcast-title-area>div,.future-league-details>div{min-width:0}
.archive-league-logo{width:64px;height:64px;object-fit:contain;flex-shrink:0;border:1px solid #42434b;border-radius:6px;background:#0c0d11;padding:5px}
.broadcast-league-logo{width:72px;height:72px;object-fit:contain;flex-shrink:0;border-radius:6px;background:#0d1119;padding:5px}
.future-league-list{display:grid;gap:10px;margin:15px 0}
.future-league-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;background:#18191f;border:1px solid #3a3b44;border-left:3px solid #1078b1}
.future-league-details strong{display:block;font-weight:800}
.future-league-logo{width:38px;height:38px;object-fit:contain;flex-shrink:0}
.future-league-controls{display:flex;align-items:center;gap:8px;min-width:260px}
.future-league-controls select{margin:0;min-width:150px;flex:1}
.future-league-controls button{margin:0;white-space:nowrap}
@media(max-width:760px){.future-league-row{flex-direction:column;align-items:stretch}.future-league-controls{min-width:0}.archive-league-logo{width:50px;height:50px}.broadcast-league-logo{width:52px;height:52px}}

/* Selector global de ligas: siempre visible, sin cuentas de usuario. */
.topbar{gap:12px;flex-wrap:wrap;height:auto;min-height:76px;padding-top:10px;padding-bottom:10px}
.topbar nav{flex:1;justify-content:center;min-width:0;gap:clamp(8px,1vw,19px)}
.topbar nav a{font-size:clamp(9px,.72vw,12px);white-space:nowrap}
.global-league-wrap{display:flex;flex-direction:column;gap:4px;min-width:172px;max-width:230px}
.global-league-wrap label{font-size:9px;letter-spacing:1.5px;color:#3ec2ef;font-weight:800}
.global-league-wrap select{width:100%;background:#171f29;color:#fff;border:1px solid #555561;padding:9px 28px 9px 10px;font-size:11px;font-weight:750;cursor:pointer}
.global-league-wrap select:focus-visible{outline:2px solid #1078b1;outline-offset:2px}
.global-league-wrap select option{background:#171e29}
@media(max-width:1050px){.topbar nav{order:3;flex-basis:100%;overflow-x:auto;justify-content:flex-start;padding:8px 0}.global-league-wrap{margin-left:auto}}
@media(max-width:550px){.global-league-wrap{min-width:145px;max-width:180px}.global-league-wrap select{font-size:10px}.topbar nav a{font-size:10px}}


/* =============================================================
   MCC / Tienda de mods y pantalla informativa de activación
   ============================================================= */
.topbar .nav-mods{color:#3ec2ef;border:1px solid #14608e;padding:10px 12px;background:#132536}
.topbar .nav-mods:hover{background:#14608e;color:#fff}
.hero-mods-link{display:inline-flex;align-items:center;gap:24px;margin-top:19px;padding:14px 19px;border:1px solid #1078b1;background:#14608e;color:#fff;font-size:11px;font-weight:900;letter-spacing:1.2px;position:relative;z-index:2}
.hero-mods-link:hover{background:#1078b1;color:#fff}
.hero-mods-link span{font-size:18px}
.mcc-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);border:1px solid #40414b;background:#16171d;overflow:hidden;box-shadow:0 22px 75px #00000033}
.mcc-visual{min-height:490px;background:radial-gradient(ellipse at 75% 25%,#17374f 0%,transparent 48%),linear-gradient(135deg,#1f202a 0%,#0c0d13 70%);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;padding:26px 30px;border-right:1px solid #45404a}
.mcc-visual::before{content:"";position:absolute;inset:16% -40% 15% 15%;transform:rotate(-18deg);border:28px solid #1078b112;pointer-events:none}
.mcc-visual::after{content:"";position:absolute;right:-60px;bottom:-80px;width:290px;height:290px;border:1px solid #1078b125;transform:rotate(32deg);pointer-events:none}
.mcc-visual-top,.mcc-visual-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;z-index:1;font-size:10px;font-weight:900;letter-spacing:1.5px;color:#a9a9b6}
.mcc-visual-tag{border:1px solid #575660;padding:7px 10px;color:#fff}
.mcc-visual-center{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start}
.mcc-visual-kicker{color:#3ec2ef;font-size:11px;letter-spacing:2.2px;font-weight:900}
.mcc-visual-center strong{font:900 clamp(125px,17vw,200px)/.95 'Barlow Condensed',Impact,sans-serif;letter-spacing:-6px;color:#fff;text-shadow:0 14px 30px #0009}
.mcc-visual-center strong span{color:#1078b1}
.mcc-visual-name{font:900 clamp(20px,2.6vw,33px)/1.05 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px}
.mcc-led-strip{position:relative;z-index:1;display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.mcc-led-strip span{font-size:9px;font-weight:900;letter-spacing:.7px;color:#111;padding:8px 11px}
.mcc-led-yellow{background:#f7c84a}.mcc-led-orange{background:#f49543}.mcc-led-green{background:#4ad17e}
.mcc-visual-bottom span{color:#3ec2ef}
.mcc-info{padding:34px clamp(23px,3vw,45px) 30px;display:flex;flex-direction:column;justify-content:center}
.mcc-product-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.mcc-kicker,.mcc-platform{font-size:10px;font-weight:900;letter-spacing:1.4px;color:#3ec2ef}
.mcc-platform{color:#bdc8d6}
.mcc-info h2{font:900 clamp(42px,5vw,67px)/.96 'Barlow Condensed',Impact,sans-serif;margin:23px 0 14px}
.mcc-info h2 em,.mcc-success h1 em{font-style:normal;color:#1078b1}
.mcc-lead{font-size:14px;line-height:1.75;color:#c0c1ca;margin:0 0 22px}
.mcc-chips{display:flex;gap:8px;flex-wrap:wrap}
.mcc-chips span{border:1px solid #494a54;background:#23242b;padding:8px 10px;color:#dadbe2;font-size:9px;letter-spacing:.7px;font-weight:800}
.mcc-version{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid #3a3b43;border-bottom:1px solid #3a3b43;margin:24px 0 18px;padding:14px 0;font-size:11px}
.mcc-version strong{color:#a9a9b4;letter-spacing:1px}.mcc-version span{color:#fff;font-weight:800}
.mcc-actions{display:flex;flex-direction:column;gap:10px}
.mcc-btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:47px;padding:12px 16px;font-size:11px;font-weight:900;letter-spacing:.7px;line-height:1.4}
.mcc-btn-primary{background:#1078b1;color:#fff}.mcc-btn-primary:hover{background:#3ec2ef;color:#fff}
.mcc-btn-secondary{border:1px solid #777782;background:#25262d;color:#fff}.mcc-btn-secondary:hover{border-color:#1078b1;color:#fff}
.mcc-note{color:#9fa0ac;font-size:11px;line-height:1.65;margin:15px 0 0}
.mcc-bottom-info{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:17px}
.mcc-bottom-info>div{padding:24px;border:1px solid #374758;background:#151a23}
.mcc-bottom-info strong{font-size:12px;letter-spacing:1px}
.mcc-bottom-info p{color:#aaaab5;font-size:13px;margin:9px 0 0}
.mcc-bottom-info a{color:#3ec2ef;text-decoration:underline}
.mcc-success{max-width:800px;margin:45px auto 70px;border:1px solid #3f4346;border-top:4px solid #43c57d;padding:clamp(28px,5vw,65px);background:radial-gradient(ellipse at 85% 10%,#173525 0%,transparent 45%),#15171b;text-align:left}
.mcc-success-symbol{display:flex;align-items:center;justify-content:center;border:2px solid #49cf86;color:#49cf86;width:74px;height:74px;border-radius:50%;font-size:41px;font-weight:900;margin-bottom:28px}
.mcc-success h1{font:900 clamp(56px,9vw,100px)/.96 'Barlow Condensed',Impact,sans-serif;margin:15px 0 22px}
.mcc-success>p{font-size:16px;color:#e3e4e8;line-height:1.75}
.mcc-success .mcc-success-small{font-size:12px;color:#a7a9b1;margin:25px 0 27px;border-left:3px solid #50545b;padding-left:15px}
@media(max-width:860px){.mcc-product{grid-template-columns:1fr}.mcc-visual{min-height:390px;border-right:0;border-bottom:1px solid #45404a}.mcc-visual-center strong{font-size:145px}}
@media(max-width:600px){.mcc-visual{padding:20px;min-height:340px}.mcc-visual-center strong{font-size:125px}.mcc-bottom-info{grid-template-columns:1fr}.mcc-info{padding:27px 20px}.mcc-success{margin:18px 0 45px}.mcc-product-meta{gap:8px}.hero-mods-link{font-size:10px}}

/* SIM RELATOS · Cuenta Steam / Mis Mods */
.topbar .nav-account{color:#f7f7f9;border:1px solid #50515a;padding:10px 12px;background:#25262d}
.topbar .nav-account:hover{border-color:#1078b1;color:#fff}
.sr-account-shell{border:1px solid #3a3b44;border-top:4px solid #1078b1;background:#141b25;margin:25px 0 18px}
.sr-account-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:22px;padding:28px 31px;background:linear-gradient(110deg,#292029,#151b25 70%);border-bottom:1px solid #3a3b44}
.sr-account-overline{color:#3ec2ef;letter-spacing:1.8px;font-weight:900;font-size:10px}
.sr-account-top h2{font:900 clamp(28px,4vw,46px)/1 'Barlow Condensed',Impact,sans-serif;margin:9px 0 8px}
.sr-account-top p{font-size:12px;color:#b5b6bf;margin:0;overflow-wrap:anywhere}
#sr-account-buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.sr-steam-btn,.sr-account-refresh,.sr-account-logout{font-size:11px;line-height:1.4;font-weight:900;letter-spacing:.5px;text-align:center;padding:13px 17px;border:1px solid #686a78;display:inline-block;color:#fff;background:#242630;cursor:pointer}
.sr-steam-btn{background:#1078b1;border-color:#1078b1;font-weight:900}.sr-steam-btn:hover{background:#3ec2ef;color:#fff}
.sr-account-refresh{background:#1078b1;border-color:#1078b1}.sr-account-logout{background:#24252b}
.sr-account-library{padding:28px 31px 32px}.sr-account-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #393a42;padding-bottom:13px;margin-bottom:18px}
.sr-account-heading h2{font:900 29px/1 'Barlow Condensed',Impact,sans-serif;margin:0}.sr-account-heading span{font-size:10px;letter-spacing:1px;color:#d2d3da;font-weight:900}
.sr-mod-empty{padding:42px 20px;text-align:center;border:1px dashed #484951;background:#171f29}
.sr-mod-empty strong{font:900 clamp(25px,4vw,36px)/1 'Barlow Condensed',Impact,sans-serif}.sr-mod-empty p{color:#aaaab5;font-size:13px;line-height:1.7}
.sr-mod-links{display:flex;flex-wrap:wrap;gap:13px;justify-content:center;margin-top:19px}.sr-mod-links a{color:#3ec2ef;font-size:11px;font-weight:900}
.sr-owned-mod{display:flex;gap:23px;align-items:center;padding:24px;border:1px solid #435569;background:#22232a}
.sr-owned-logo{flex:0 0 130px;text-align:center;background:#18181e;border:1px solid #4a3440;font:900 57px/1 'Barlow Condensed',Impact,sans-serif;padding:35px 12px}.sr-owned-logo span{color:#1078b1}
.sr-owned-info{flex:1;min-width:0}.sr-owned-status{color:#64d99b;font-size:10px;font-weight:900;letter-spacing:1px}.sr-owned-info h3{font:900 clamp(25px,4vw,39px)/1 'Barlow Condensed',Impact,sans-serif;margin:11px 0}.sr-owned-info p{color:#bdc8d6;font-size:12px}
.sr-owned-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.sr-owned-actions a{border:1px solid #777782;padding:11px 14px;font-size:10px;font-weight:900;letter-spacing:.5px;color:#fff}.sr-owned-actions .sr-owned-download{background:#1078b1;border-color:#1078b1}.sr-owned-actions a:hover{border-color:#fff;color:#fff}
.sr-account-help{border-left:3px solid #1078b1;background:#171f29;padding:18px 23px;font-size:12px;color:#bdc8d6;line-height:1.7}.sr-account-help a{color:#3ec2ef;text-decoration:underline}
@media(max-width:600px){.sr-account-top,.sr-account-library{padding:20px 16px}.sr-owned-mod{flex-direction:column;align-items:stretch}.sr-owned-logo{flex:auto}.sr-account-top h2{font-size:34px}}

/* MCC editorial — detalles del producto, imágenes y acceso Steam */
.sr-account-library[hidden],.sr-account-help[hidden]{display:none!important}
.mcc-details{margin-top:20px;border:1px solid #374758;background:#121924;padding:clamp(18px,3vw,34px)}
.mcc-details-heading{display:grid;grid-template-columns:1.15fr 1fr;gap:25px;align-items:end;margin-bottom:28px}
.mcc-details-kicker,.mcc-detail-hero-copy>span,.mcc-detail-card-top span,.mcc-detail-wide>div>span{color:#3ec2ef;font-size:10px;letter-spacing:1.5px;font-weight:900}
.mcc-details-heading h2{font:900 clamp(35px,5vw,57px)/.98 'Barlow Condensed',Impact,sans-serif;margin:13px 0 0}
.mcc-details-heading h2 em{font-style:normal;color:#1078b1}
.mcc-details-heading p{font-size:13px;line-height:1.85;color:#bcbec8;margin:0}
.mcc-detail-hero{display:grid;grid-template-columns:.9fr 1.1fr;min-height:280px;border:1px solid #3c3d46;background:#1a1b22;overflow:hidden}
.mcc-detail-brand{background:radial-gradient(ellipse at 50% 50%,#17374f 0%,#15161d 60%);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:20px;border-right:1px solid #374758}
.mcc-detail-brand img{max-width:min(78%,245px);max-height:240px;object-fit:contain}
.mcc-detail-brand>span{font-size:9px;letter-spacing:1.3px;color:#aeb0bd;text-align:center;font-weight:800}
.mcc-detail-hero-copy{padding:clamp(22px,3vw,37px);display:flex;flex-direction:column;justify-content:center}
.mcc-detail-hero-copy h3{font:900 clamp(27px,3.4vw,41px)/1 'Barlow Condensed',Impact,sans-serif;margin:14px 0}
.mcc-detail-hero-copy p,.mcc-detail-card p,.mcc-detail-wide p{font-size:12px;color:#c1c2cb;line-height:1.85;margin:0}
.mcc-detail-pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.mcc-detail-pills span{border:1px solid #4b4c57;padding:7px 9px;font-size:9px;font-weight:800;color:#e0e0e7}
.mcc-detail-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:13px}
.mcc-detail-card{background:#171f29;border:1px solid #374758;padding:20px;min-width:0}
.mcc-detail-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.mcc-detail-card-top strong{font:900 27px 'Barlow Condensed',Impact,sans-serif;color:#484a56}
.mcc-detail-card h3{font:900 clamp(25px,2.7vw,32px)/1 'Barlow Condensed',Impact,sans-serif;margin:21px 0 11px}
.mcc-mini-led,.mcc-mini-pace,.mcc-mini-flags{margin-top:20px;height:95px;background:#0d1119;border:1px solid #32343e;padding:14px;display:flex;align-items:center;justify-content:center;gap:7px}
.mcc-mini-led span{font-size:9px;font-weight:900;padding:9px 8px;color:#16161b;flex:1;text-align:center}
.mcc-mini-pace{flex-direction:column;gap:3px}.mcc-mini-pace>span{font-size:11px;color:#f5b64d;font-weight:900;letter-spacing:2px}.mcc-mini-pace b{font:900 28px 'Barlow Condensed',Impact,sans-serif}.mcc-mini-pace b small{font-size:12px}.mcc-mini-pace i{font-size:8px;font-style:normal;color:#9e9fa9;letter-spacing:1px}
.mcc-mini-flags{flex-wrap:wrap}.mcc-mini-flags span{padding:8px 9px;border:1px solid #424551;color:#ddd;font-size:9px;font-weight:900}.mcc-mini-flags span:nth-child(1){border-color:#4877b8;color:#7ab2ff}.mcc-mini-flags span:nth-child(2){border-color:#ccc;color:#fff}.mcc-mini-flags span:nth-child(3){border-color:#bbb;color:#eee}.mcc-mini-flags span:nth-child(4){border-color:#d49c34;color:#f9c563}
.mcc-detail-wide{margin-top:13px;display:grid;grid-template-columns:1.2fr .8fr;gap:25px;align-items:center;padding:28px;background:linear-gradient(110deg,#272029,#16171e);border:1px solid #41414a}
.mcc-detail-wide h3{font:900 clamp(34px,4vw,49px)/1 'Barlow Condensed',Impact,sans-serif;margin:11px 0 14px}.mcc-detail-wide .mcc-detail-muted{font-size:10px;color:#9697a3;margin-top:12px}
.mcc-detail-split{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mcc-detail-split>div{border:1px solid #4a414a;background:#1c1d25;padding:20px;display:flex;flex-direction:column;gap:8px}.mcc-detail-split b{font-size:12px;color:#fff}.mcc-detail-split span{font-size:9px;letter-spacing:.6px;color:#a4a6b1}.mcc-detail-split strong{font:900 45px 'Barlow Condensed',Impact,sans-serif;color:#3ec2ef}
@media(max-width:920px){.mcc-detail-columns{grid-template-columns:1fr 1fr}.mcc-detail-card:last-child{grid-column:span 2}.mcc-detail-hero{grid-template-columns:.85fr 1.15fr}}
@media(max-width:680px){.mcc-details-heading,.mcc-detail-hero,.mcc-detail-wide{grid-template-columns:1fr}.mcc-detail-brand{border-right:0;border-bottom:1px solid #374758}.mcc-detail-brand img{max-width:180px}.mcc-detail-columns{grid-template-columns:1fr}.mcc-detail-card:last-child{grid-column:auto}.mcc-detail-wide{padding:21px}.mcc-details-heading{gap:14px}}

/* MCC próxima etapa: navegación sin solapamientos, escritorio 16:9 */
.topbar{display:grid;grid-template-columns:max-content minmax(0,1fr) 180px;align-items:center;column-gap:clamp(12px,1.3vw,25px);row-gap:8px;min-height:76px;height:auto;flex-wrap:initial;padding:10px clamp(18px,2.1vw,38px)}
.topbar .brand{min-width:0;white-space:nowrap}
.topbar nav{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:7px 13px;min-width:0;width:auto;overflow:visible;padding:0}
.topbar nav a{font-size:10px;letter-spacing:.55px;white-space:nowrap;line-height:1.3;padding:6px 0}
.topbar nav .nav-mods,.topbar nav .nav-account{padding:10px 11px}
.topbar .global-league-wrap{min-width:0;width:180px;max-width:100%;margin-left:0}
.topbar .global-league-wrap label{white-space:nowrap;font-size:8px;letter-spacing:1px}
@media(max-width:1580px){
 .topbar{grid-template-columns:minmax(0,1fr) 185px;row-gap:10px;padding:12px 22px}
 .topbar .brand{grid-column:1;grid-row:1;justify-self:start}
 .topbar .global-league-wrap{grid-column:2;grid-row:1;width:185px;justify-self:end}
 .topbar nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:8px 16px;border-top:1px solid #272931;padding-top:11px}
 .topbar nav a{font-size:11px;letter-spacing:.7px}
}
@media(max-width:690px){
 .topbar{grid-template-columns:minmax(0,1fr) minmax(132px,165px);padding:12px 14px;gap:10px}
 .topbar .brand{gap:8px}.topbar .brand-name{font-size:clamp(15px,3.1vw,20px)}
 .topbar .brand-icon{width:33px;height:33px;font-size:16px}
 .topbar .global-league-wrap{width:100%;min-width:0}
 .topbar nav{justify-content:flex-start;gap:7px 12px;overflow:visible}
 .topbar nav a{font-size:10px}
}
@media(max-width:420px){.topbar{grid-template-columns:1fr}.topbar .brand,.topbar .global-league-wrap,.topbar nav{grid-column:1}.topbar .global-league-wrap{grid-row:2;justify-self:stretch}.topbar nav{grid-row:3}}
/* Pantalla de activación y doble descarga */
.sr-mod-patreon{margin:24px auto 4px;max-width:560px;padding:25px;background:linear-gradient(130deg,#2a1b25,#141b25);border:1px solid #17374f;text-align:left}
.sr-mod-patreon>span{font-size:10px;font-weight:900;color:#3ec2ef;letter-spacing:1.4px}
.sr-mod-patreon h3{font:900 31px/1 'Barlow Condensed',Impact,sans-serif;margin:8px 0}
.sr-mod-patreon p{margin:10px 0 20px}.sr-mod-patreon a{display:inline-block}
.sr-download-heading{font-size:10px;color:#c2c4cf;font-weight:900;letter-spacing:1.3px;margin-top:19px}
.sr-owned-actions .sr-owned-download-user{background:#30323b;border-color:#777984}
.sr-activation-confirmed{display:flex;flex-direction:column;gap:6px;margin-top:22px;padding:17px 19px;background:#163026;border:1px solid #38684f;border-left:4px solid #62d39a}
.sr-activation-confirmed strong{color:#77e8ae;font-size:13px;letter-spacing:1px}.sr-activation-confirmed span{color:#d0dfd5;font-size:11px;line-height:1.6}
/* Administración: controles desactivados hasta conectar backend */
.sr-admin-mcc{padding:24px;border:1px solid #17374f;background:#1a171e}
.sr-admin-mcc-head{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.sr-admin-mcc-kicker{color:#3ec2ef;font-size:10px;font-weight:900;letter-spacing:1.3px}
.sr-admin-pending{border:1px solid #a9864e;color:#efc984;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:1px}
.sr-admin-pending.is-ready{border-color:#508f74;color:#a6e5c4}
.sr-admin-pending.is-error{border-color:#14608e;color:#3ec2ef}
.sr-admin-mcc-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.sr-admin-mcc-card{background:#121319;border:1px solid #343641;padding:18px;min-width:0}
.sr-admin-mcc-card h3{margin:0 0 14px;font-size:14px}.sr-admin-mcc-file{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #343641;padding:10px 0}
.sr-admin-mcc-file span{font-size:10px;color:#3ec2ef;font-weight:900}.sr-admin-mcc-file strong{font-size:12px;overflow-wrap:anywhere}
.sr-admin-mcc-card :disabled{opacity:.45;cursor:not-allowed}
@media(max-width:800px){.sr-admin-mcc-grid{grid-template-columns:1fr}}

/* COMPRAR MODS — clientes MCC (NO forman parte de las ligas filtrables) */
.sr-customer-section{margin:48px 0 18px;padding:30px;border:1px solid #343741;background:linear-gradient(130deg,#17171e,#0d1119 65%)}
.sr-customer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.sr-customer-eyebrow{display:block;color:#3ec2ef;font-size:10px;font-weight:900;letter-spacing:2px;margin-bottom:10px}
.sr-customer-head h2{font:900 clamp(27px,4vw,48px)/1 'Barlow Condensed',Impact,Arial,sans-serif;margin:0 0 10px;letter-spacing:.4px}
.sr-customer-head h2 em{font-style:normal;color:#3ec2ef}.sr-customer-head p{color:#a7a9b2;font-size:12px;line-height:1.6;max-width:620px}
.sr-customer-mark{font-size:10px;letter-spacing:1.6px;color:#a5a6b2;border:1px solid #42444f;padding:12px;white-space:nowrap}
.sr-customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sr-customer-card{background:#0e1015;border:1px solid #373943;padding:22px;display:flex;flex-direction:column;align-items:center;gap:15px;min-height:215px;text-align:center}
.sr-customer-logo{height:124px;width:100%;display:flex;align-items:center;justify-content:center}.sr-customer-logo img.league-logo{width:120px;height:120px;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:0}
.sr-customer-fallback{font:900 32px Impact,sans-serif;color:#3ec2ef}
.sr-customer-name{font-weight:900;font-size:17px;overflow-wrap:anywhere}
.sr-customer-socials{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.sr-customer-socials a{font-size:10px;text-decoration:none;border:1px solid #464956;padding:8px 10px;color:#f2f3f7}
.sr-customer-socials a:hover{border-color:#3ec2ef;color:#3ec2ef}
.sr-customer-empty{grid-column:1/-1;text-align:center;border:1px dashed #464752;padding:36px 20px;font-weight:900;color:#e6e7eb;letter-spacing:1px}
.sr-customer-empty span{display:block;margin-top:8px;color:#9295a2;font-size:12px;font-weight:400;letter-spacing:0}
/* Administración: subsettings independientes */
.sr-admin-subnav{display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:#0d1119;border:1px solid #383a45;margin-bottom:20px}
.sr-admin-subnav .sr-admin-tab{background:#22232a;color:#d9dbe2;border:1px solid #454752;padding:12px 14px;font-size:11px;font-weight:900;letter-spacing:.5px;cursor:pointer}
.sr-admin-subnav .sr-admin-tab:hover{border-color:#3ec2ef}
.sr-admin-subnav .sr-admin-tab.active{background:#14608e;color:#fff;border-color:#3ec2ef}
.sr-admin-pane[hidden]{display:none!important}
.sr-admin-pane>h2{margin-top:10px}.sr-admin-pane>hr:first-child{display:none}
.sr-admin-customer-editor{padding:24px;background:#17171e;border:1px solid #46404b}
.sr-admin-customer-editor>label{display:block;margin-top:18px}
.sr-admin-customer-editor .league-logo-admin{margin:18px 0}
@media(max-width:850px){.sr-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sr-customer-section{padding:22px}}
@media(max-width:560px){.sr-customer-grid{grid-template-columns:1fr}.sr-customer-head{align-items:flex-start}.sr-customer-mark{display:none}.sr-admin-subnav{gap:6px}.sr-admin-subnav .sr-admin-tab{font-size:10px;padding:10px}}

/* Logo oficial MMR Broadcast Retro en la cabecera */
.topbar .brand-icon.brand-icon-mmr {
  width:54px; height:54px; flex:0 0 54px;
  background:transparent; transform:none; padding:0;
}
.topbar .brand-icon-mmr img {
  display:block; width:100%; height:100%; object-fit:contain;
}
@media(max-width:690px) {
  .topbar .brand-icon.brand-icon-mmr {width:44px;height:44px;flex-basis:44px;}
}
@media(max-width:420px) {
  .topbar .brand-icon.brand-icon-mmr {width:40px;height:40px;flex-basis:40px;}
}

/* Gestión MCC conectada a Supabase */
.mcc-license-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #2b3038}
.mcc-license-row code{font-size:12px;flex:1;min-width:160px}
.mcc-lic-on{color:#64d39d;font-size:11px;font-weight:700}
.mcc-lic-off{color:#3ec2ef;font-size:11px;font-weight:700}
.mcc-checkbox{display:flex!important;align-items:center;gap:10px}
.mcc-checkbox input{width:auto!important}

/* Fecha de activación de membresía Patreon */
.sr-activation-date{display:block;font-weight:800;letter-spacing:.04em;margin:8px 0;color:#f1f2f4}

/* Suscripciones MCC Mercado Pago */
.mcc-mp-checkout{margin:20px 0;padding:20px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(12,16,25,.72);display:grid;gap:12px;max-width:680px}
.mcc-mp-checkout h3{margin:0;color:#fff;font-size:1.05rem}
.mcc-mp-checkout label{display:grid;gap:7px;color:#eee;font-weight:600}
.mcc-mp-checkout input{width:100%;max-width:480px;box-sizing:border-box;padding:12px;border-radius:7px}
.mcc-mp-checkout small{color:#aeb5bf;line-height:1.5}
.mcc-mp-checkout .mcc-btn{cursor:pointer;max-width:480px}
.mcc-license-row strong{font-size:.92rem;overflow-wrap:anywhere}

/* MCC · Registro inicial y estado real de descargas por SteamID64 */
.sr-mcc-register{padding:28px;border:1px solid #474850;background:#1e1f27;max-width:820px}
.sr-mcc-kicker{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#3ec2ef}
.sr-mcc-register h3{font:900 clamp(28px,4vw,42px)/1 'Barlow Condensed',Impact,sans-serif;margin:12px 0}
.sr-mcc-register p{color:#b9bac4;font-size:13px;line-height:1.7}
.sr-mcc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:23px 0}
.sr-mcc-fields label{display:flex;flex-direction:column;gap:8px;color:#d6d7dd;font-size:11px;font-weight:900;letter-spacing:1px}
.sr-mcc-fields .sr-mcc-field-wide{grid-column:1/-1}
.sr-mcc-fields input{width:100%;min-width:0;padding:13px 14px;background:#111218;color:#fff;border:1px solid #666874;font-family:inherit;font-size:15px;line-height:1.4;font-weight:500;letter-spacing:normal}
.sr-mcc-fields input:focus{outline:2px solid #1078b1;outline-offset:1px}
.sr-mcc-save{padding:13px 22px;border:0;background:#1078b1;color:#fff;font-size:12px;font-weight:900;cursor:pointer}
.sr-mcc-save:disabled,.sr-mcc-file-btn:disabled{opacity:.6;cursor:wait}
.sr-mcc-form-status{min-height:18px}
.sr-mcc-identity{margin:15px 0;padding:13px 16px;background:#191a21;border-left:3px solid #1078b1;display:flex;gap:10px 18px;flex-wrap:wrap;align-items:center}
.sr-mcc-identity strong{font-size:13px}.sr-mcc-identity span{font-size:11px;color:#c2c4cc}.sr-mcc-identity button{margin-left:auto;background:transparent;border:1px solid #666;color:#ddd;padding:7px 10px;font-size:10px;font-weight:900;cursor:pointer}
.sr-mcc-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.sr-mcc-file{border:1px solid #51525d;background:#1a1c23;padding:16px;display:flex;flex-direction:column;gap:11px;align-items:flex-start}
.sr-mcc-file-status{font-size:10px;font-weight:900;letter-spacing:.5px;line-height:1.4}
.sr-mcc-file.is-new .sr-mcc-file-status{color:#65df9b}.sr-mcc-file.is-current .sr-mcc-file-status{color:#b8b9c1}
.sr-mcc-file>strong{font:900 24px/1 'Barlow Condensed',Impact,sans-serif}
.sr-mcc-file-btn{border:1px solid #3aaf6e;background:#168044;color:#fff;padding:11px 14px;font-size:11px;font-weight:900;cursor:pointer}
.sr-mcc-file.is-current .sr-mcc-file-btn{background:#555862;border-color:#777984}
.sr-mcc-file small{color:#aeb0ba;font-size:11px;line-height:1.6}
@media(max-width:650px){.sr-mcc-fields,.sr-mcc-files{grid-template-columns:1fr}.sr-mcc-fields .sr-mcc-field-wide{grid-column:auto}.sr-mcc-identity button{margin-left:0}}

/* MCC · Entrada progresiva con Steam y ventanas de compra/autorización */
.mcc-access{margin-top:18px}
.mcc-steam-entry{display:grid;gap:10px;padding:14px 15px;background:#191b22;border:1px solid #3a3c45}
.mcc-steam-entry.is-connected{border-color:#315941;background:rgba(25,65,40,.16)}
.mcc-steam-message{color:#cdd0d8;font-size:11px;font-weight:800;letter-spacing:.65px}
.mcc-steam-entry.is-connected .mcc-steam-message{color:#6cdda0}
.mcc-steam-entry .mcc-btn{width:100%}
.mcc-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.mcc-choice-actions .mcc-btn{cursor:pointer;min-height:52px}
.mcc-overlay[hidden],.mcc-dialog-panel[hidden],.mcc-choice-actions[hidden],.mcc-steam-entry [hidden]{display:none!important}
.mcc-overlay{position:fixed;inset:0;z-index:9999;background:rgba(3,4,8,.84);display:flex;justify-content:center;align-items:flex-start;overflow-y:auto;padding:clamp(25px,7vh,85px) 18px 30px;backdrop-filter:blur(7px)}
body.mcc-dialog-open{overflow:hidden}
.mcc-dialog{width:min(100%,590px);background:#171820;color:#fff;border:1px solid #51525b;box-shadow:0 22px 90px rgba(0,0,0,.65);padding:clamp(20px,4vw,31px);outline:none}
.mcc-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid #393a43;padding-bottom:18px;margin-bottom:18px}
.mcc-dialog-kicker{color:#3ec2ef;font-size:10px;font-weight:900;letter-spacing:1.8px}
.mcc-dialog-head h2{font:900 clamp(27px,5vw,40px)/1.04 'Barlow Condensed',Impact,sans-serif;margin:8px 0 0;letter-spacing:.5px}
.mcc-dialog-close{border:1px solid #666874;background:#252630;color:#fff;font-size:28px;line-height:1;width:40px;height:40px;cursor:pointer}
.mcc-dialog-close:hover{border-color:#1078b1}
.mcc-dialog-intro{color:#c6c7d0;font-size:13px;line-height:1.65;margin:0 0 18px}
.mcc-dialog-options{display:grid;gap:12px}
.mcc-provider{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;padding:17px 18px;min-height:68px;border:1px solid #494b56;background:#24252e;color:#fff;cursor:pointer;text-decoration:none}
.mcc-provider:hover{background:#30313c;border-color:#3ec2ef;color:#fff}
.mcc-provider strong{font-size:14px;font-weight:900;letter-spacing:.6px}
.mcc-provider span{font-size:10px;font-weight:800;letter-spacing:.4px;color:#c4c5d0}
.mcc-provider-mp{border-left:4px solid #00a6f0}
.mcc-provider-patreon{border-left:4px solid #3ec2ef}
.mcc-provider:disabled{opacity:.55;cursor:wait}
.mcc-dialog-feedback{font-size:12px;line-height:1.5;color:#81e0a4;min-height:0;margin:12px 0}
.mcc-dialog-feedback:empty{display:none}
.mcc-dialog-footnote{color:#999ba8;font-size:11px;line-height:1.6;margin:18px 0 0}
.mcc-dialog .mcc-mp-checkout{margin:0;padding:18px;max-width:none;border-radius:0;background:#1b2735}
.mcc-dialog .mcc-mp-checkout input,.mcc-dialog .mcc-mp-checkout .mcc-btn{max-width:none}
.mcc-dialog .mcc-mp-checkout input{background:#34353b;color:#fff;border:1px solid #777986}
.mcc-dialog-divider{display:flex;align-items:center;gap:12px;margin:19px 0;color:#9698a5;font-size:10px;font-weight:900;letter-spacing:1.2px}
.mcc-dialog-divider:before,.mcc-dialog-divider:after{content:'';height:1px;flex:1;background:#494a53}
@media(max-width:520px){.mcc-choice-actions{grid-template-columns:1fr}.mcc-provider{align-items:flex-start;flex-direction:column}.mcc-overlay{padding:16px 10px}.mcc-dialog{padding:19px}}

/* MIS MODS: autorización y compra separadas, con compra debajo */
.sr-mod-access{padding:clamp(18px,3vw,35px);}
.sr-access-panel{max-width:650px;margin:26px auto 0;text-align:left;padding:24px;background:linear-gradient(125deg,#2b1d26,#17181f 78%);border:1px solid #17374f;}
.sr-access-panel.sr-access-buy{margin-top:18px;background:#1c1d25;border-color:#435569;}
.sr-access-kicker{font-size:10px;font-weight:900;color:#3ec2ef;letter-spacing:1.5px;}
.sr-access-panel h3{font:900 clamp(24px,4vw,33px)/1 'Barlow Condensed',Impact,sans-serif;margin:10px 0;}
.sr-access-panel p{margin:10px 0 15px;color:#bfc0c9;font-size:12px;line-height:1.6;}
.sr-access-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;}
.sr-access-button{display:flex;justify-content:center;align-items:center;min-height:46px;padding:11px 12px;border:1px solid #1078b1;background:#1078b1;color:#fff;text-align:center;text-decoration:none;font-size:11px;font-weight:900;letter-spacing:.3px;cursor:pointer;}
.sr-access-button:hover{background:#3ec2ef;color:#fff;}
.sr-access-button:disabled{opacity:.55;cursor:wait;}
.sr-access-button.sr-access-outline{background:#272830;border-color:#686975;}
.sr-access-button.sr-access-outline:hover{background:#373841;}
.sr-access-panel .sr-access-feedback{margin-top:15px;font-size:11px;color:#b9bac4;}
@media(max-width:570px){.sr-access-actions{grid-template-columns:1fr}.sr-access-panel{padding:18px;}}

/* Licencia forzada: distinguirla de compras y de intentos pendientes. */
.sr-manual-granted{border:1px solid #3c805c;background:rgba(22,125,69,.12);padding:20px 24px;margin:0 0 18px;max-width:820px}
.sr-manual-granted strong{color:#75e7a2;font-size:14px;letter-spacing:.05em}
.sr-manual-granted p{color:#c7d5cb;font-size:13px;line-height:1.6;margin:8px 0 0}
.mcc-pending-attempts{border-top:1px solid #45454c;padding:13px 0;margin-top:12px}
.mcc-pending-attempts summary{cursor:pointer;color:#b6b6c0;font-size:12px;font-weight:700;letter-spacing:.03em}
.mcc-pending-attempts[open] summary{margin-bottom:12px}

/* MCC ADMIN: licencias manuales en tabla de ancho completo */
.sr-admin-mcc-licenses{margin-top:12px;width:100%;box-sizing:border-box}
.sr-admin-mcc-licenses>label{display:block;max-width:none}
.sr-admin-mcc-licenses #mcc-license-search{width:100%;box-sizing:border-box}
.mcc-profile-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mcc-profile-editor .mcc-profile-league{grid-column:1/-1}
.mcc-license-table-wrap{width:100%;overflow-x:auto;margin-top:12px;border:1px solid #353844}
.mcc-license-table{border-collapse:collapse;width:100%;min-width:660px;text-align:left}
.mcc-license-table th{padding:12px 14px;color:#aeb2c0;background:#1b2735;font-size:10px;letter-spacing:.1em}
.mcc-license-table td{padding:13px 14px;border-top:1px solid #343641;vertical-align:middle}
.mcc-license-table td:first-child{width:42%}
.mcc-license-table td:first-child small{display:block;color:#aeb2c0;margin-top:5px;overflow-wrap:anywhere}
.mcc-license-table code{font-size:12px;white-space:nowrap}
.mcc-license-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.mcc-license-actions button{font-size:11px;padding:10px 13px;white-space:nowrap}
@media(max-width:680px){.mcc-profile-editor{grid-template-columns:1fr}.mcc-profile-editor .mcc-profile-league{grid-column:auto}.sr-admin-mcc-licenses{padding:12px}}

/* SIM RELATOS | paleta celeste metalico y azul electrico.
   Unicamente colores: se mantienen fuentes, tamanos, estructura y funcionalidad. */
:root{--red:#51cafa;--bg:#090c12;--panel:#151a23;--panel2:#1b232e;--line:#303d4b;--muted:#aebbc9}
body{background:#090c12}
.topbar{background:#0d1119}
.brand-icon,.primary{background:linear-gradient(115deg,#1589c7 0%,#0f5b9b 100%);color:#fff}
.primary:hover{background:linear-gradient(115deg,#27a8e4 0%,#1477bb 100%);color:#fff}
.danger{background:#203b50;color:#e8f7ff}
.danger:hover{background:#2c5473;color:#fff}
.driver-number,.sr-race-action{background:linear-gradient(120deg,#178ac5,#105c9b);color:#fff}
.sr-race-action:hover{background:linear-gradient(120deg,#26a8e1,#177ab8);color:#fff}
.driver:hover,.driver.selected{background:#142e42}
.feature{background:linear-gradient(125deg,#1a2734,#10151d)}
.broadcast-hero{background:linear-gradient(110deg,#182b3d,#121924 65%,#0d1119)}
.sr-agenda-bar{background:linear-gradient(105deg,#1d3246,#121924 70%)}
.hero:before{border-color:#14314a}
/* Metallic glints without changing sizing or typography */
.brand strong,.hero h1 em,.section-head h1 em,.accent{color:#65d9ff}
.eyebrow,.sr-agenda-kicker,.sr-race-overline,.sr-race-date span{color:#7cdbfa}
button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#6cd9ff}
/* Unified electric-blue actions and icy-cyan labels; same component geometry. */
.mcc-btn-primary,.sr-steam-btn,.sr-account-refresh,.sr-owned-actions .sr-owned-download,.sr-mcc-save,.sr-access-button{background:linear-gradient(115deg,#168dca,#115e9e);border-color:#238bc4;color:#fff}
.mcc-btn-primary:hover,.sr-steam-btn:hover,.sr-account-refresh:hover,.sr-owned-actions .sr-owned-download:hover,.sr-mcc-save:hover,.sr-access-button:hover,.hero-mods-link:hover{background:linear-gradient(115deg,#28a8e0,#1678b8);color:#fff}
.mcc-visual-center strong span,.mcc-info h2 em,.mcc-success h1 em,.sr-owned-logo span,.mcc-details-heading h2 em{color:#65d9ff}

/* Fechas verificadas de Mercado Pago — conserva el tema eléctrico oscuro. */
.sr-renewal-details{display:flex;flex-wrap:wrap;gap:8px 20px;margin:12px 0;padding:12px 14px;border:1px solid rgba(85,190,240,.25);background:rgba(28,112,160,.09);border-radius:4px;font-size:.8rem;line-height:1.65}
.sr-renewal-details span{display:block;color:#bcd6e7}
.sr-renewal-details strong{color:#e7f8ff}
.mcc-mp-dates{margin-top:8px;font-size:.78rem;color:#9ecbe3;line-height:1.6}


/* Archivo de YouTube: filtro lateral persistente + tres tarjetas por fila. */
.sr-archive-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:22px;align-items:start}
.sr-archive-layout .archive-menu{position:sticky;top:18px;margin:0;padding:19px 13px;background:#111822;border:1px solid #2d3b4c;border-top:3px solid #51cafa;border-left:1px solid #2d3b4c;max-height:calc(100vh - 36px);overflow-y:auto;scrollbar-width:thin}
.sr-archive-layout .archive-menu-title{padding:0 8px;margin:0 0 14px;color:#cbd8e5;letter-spacing:1.3px}
.sr-archive-layout .archive-menu-items{display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px}
.sr-archive-layout .archive-menu-btn{width:100%;display:flex;align-items:center;gap:10px;padding:11px 9px;border:1px solid transparent;border-radius:5px;background:transparent;color:#d3deea;font-size:11px;font-weight:750;letter-spacing:0;line-height:1.35;text-transform:none}
.sr-archive-layout .archive-menu-btn:hover,.sr-archive-layout .archive-menu-btn:focus-visible{background:#1c2c3c;border-color:#35546a;color:#fff}
.sr-archive-layout .archive-menu-btn.active{background:#17354b;border-color:#3a8cb8;color:#fff}
.sr-archive-layout .archive-menu-btn .league-logo{width:34px;height:34px;object-fit:contain;flex-shrink:0;border-radius:5px;background:#090f17;padding:3px}
.archive-league-fallback{width:34px;height:34px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:5px;background:#1f3548;color:#b5d9ec;font-size:15px;font-weight:900}
.archive-menu-name{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere}
.sr-archive-layout .archive-menu-count{flex-shrink:0;margin-left:auto;background:#26394b;color:#d3e8f5;border-radius:12px;padding:2px 7px;font-size:10px}
.sr-archive-content{min-width:0}
.sr-archive-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px;padding:0 0 11px;border-bottom:1px solid #2b3949;color:#9eafc1;font-size:10px;font-weight:800;letter-spacing:1.1px}
.sr-archive-content .sr-archive-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.archive-video-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#141c29;border:1px solid #2e3d50;border-radius:8px;transition:transform .18s,border-color .18s,box-shadow .18s}
.archive-video-card:hover{transform:translateY(-3px);border-color:#4b9ec7;box-shadow:0 9px 24px #0004}
.archive-video-cover{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(130deg,#223b51,#0c1420);overflow:hidden}
.archive-video-cover img{width:100%;height:100%;object-fit:cover;display:block}
.archive-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#080e17b8;border:1px solid #ffffff91;color:#fff;font-size:21px;line-height:1;padding-left:3px;transition:background .15s,transform .15s}
.archive-video-card:hover .archive-video-play{background:#1688bf;transform:translate(-50%,-50%) scale(1.08)}
.archive-video-details{padding:13px 13px 15px;display:flex;flex-direction:column;gap:9px;flex:1}
.archive-video-meta{display:flex;align-items:center;gap:7px;color:#95aec3;font-size:10px;line-height:1.35}
.archive-video-meta .league-logo{width:21px;height:21px;object-fit:contain;flex-shrink:0}
.archive-video-meta .archive-league-fallback{width:21px;height:21px;font-size:10px}
.archive-video-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;margin:0;font-size:13px;font-weight:800;min-height:3.95em;color:#f4f8fd;overflow-wrap:anywhere}
.archive-video-title a{color:inherit}
.archive-video-title a:hover{color:#70d5ff}
.archive-video-date{margin-top:auto;font-size:10px;color:#a1b1c2}
.sr-archive-content .sr-archive-list>.panel{grid-column:1/-1}
@media(max-width:980px){.sr-archive-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}.sr-archive-content .sr-archive-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sr-archive-layout{grid-template-columns:1fr}.sr-archive-layout .archive-menu{position:static;max-height:none;padding:13px}.sr-archive-layout .archive-menu-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sr-archive-layout .archive-menu-btn{padding:9px 7px;font-size:10px}.sr-archive-content .sr-archive-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.archive-video-details{padding:10px}.archive-video-title{font-size:12px}}
@media(max-width:420px){.sr-archive-content .sr-archive-list{grid-template-columns:1fr}.archive-video-title{min-height:0}}


/* Historial de votaciones: archivo deportivo con identidad de liga y podio. */
#historial .section-head{margin-bottom:17px}
.sr-history-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 18px}
.sr-history-toolbar .history-filter{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;min-width:260px;max-width:390px;width:100%}
.sr-history-toolbar .history-filter label{font-size:10px;letter-spacing:1.7px;color:#8ebbd4;font-weight:850}
.sr-history-select-wrap{position:relative;display:flex;align-items:center;background:#101a29;border:1px solid #397b9f;border-left:3px solid #19b7ff;border-radius:4px;box-shadow:inset 0 0 15px #006b9a18;min-height:48px}
.sr-history-select-wrap:focus-within{outline:2px solid #70d6ff;outline-offset:2px}
.sr-history-filter-icon{flex:none;display:flex;align-items:center;justify-content:center;width:45px;color:#42caff;font-size:24px;font-weight:900;border-right:1px solid #2e516b}
.sr-history-toolbar .history-filter select{position:relative;z-index:1;appearance:none;-webkit-appearance:none;width:100%;min-width:0;border:0;background:transparent;color:#fff;padding:13px 37px 13px 14px;font-size:12px;font-weight:800;letter-spacing:.35px;cursor:pointer;outline:0}
.sr-history-toolbar .history-filter select option{color:#fff;background:#111a28}
.sr-history-chevron{position:absolute;right:13px;top:50%;transform:translateY(-55%);color:#58caff;font-size:25px;pointer-events:none}
.sr-history-count{color:#92b3c7;font-size:11px;letter-spacing:1.1px;font-weight:850;white-space:nowrap;padding-bottom:9px}
.sr-history-list{display:flex;flex-direction:column;gap:16px}
.sr-history-card{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:22px;align-items:center;background:linear-gradient(125deg,#101c2b 0%,#0b131e 60%,#101925 100%);border:1px solid #32658a;border-radius:10px;padding:15px;box-shadow:0 7px 24px #0002;transition:border-color .2s,box-shadow .2s}
.sr-history-card:hover{border-color:#4cbffa;box-shadow:0 10px 32px #0005}
.sr-history-identity{display:grid;grid-template-columns:175px minmax(0,1fr);align-items:center;gap:19px;min-width:0}
.sr-history-logo{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:155px;overflow:hidden;background:radial-gradient(ellipse at 60% 40%,#193651,#070e18 75%);border:1px solid #28475c;border-radius:6px}
.sr-history-logo:before{content:'';position:absolute;z-index:1;top:0;left:0;width:66px;height:7px;background:#168bdf;transform:skewX(-25deg) translateX(-8px)}
.sr-history-logo img{max-width:87%;max-height:85%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 5px 10px #0008)}
.sr-history-logo-fallback{font:900 52px 'Barlow Condensed',Impact,sans-serif;letter-spacing:2px;color:#e6f2fb}
.sr-history-logo-fallback span{color:#4ecaff}
.sr-history-event{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.sr-history-date{display:inline-flex;gap:7px;align-items:center;padding:7px 10px;background:#123760;color:#d9eaff;border-left:3px solid #36b9ff;font-size:10px;font-weight:900;letter-spacing:.5px}
.sr-history-date span{color:#51cafa}
.sr-history-event-title{font:900 clamp(24px,2.6vw,37px)/1.02 'Barlow Condensed',Impact,sans-serif;letter-spacing:.2px;color:#fff;margin:0;overflow-wrap:anywhere}
.sr-history-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.sr-history-category{display:inline-flex;padding:6px 9px;background:#143f59;border:1px solid #2e8fc0;border-radius:3px;color:#bcecff;font-size:10px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}
.sr-history-league{color:#a7b7c8;font-size:11px;overflow-wrap:anywhere}
.sr-history-watch{font-size:10px;color:#7cdaff;font-weight:900;letter-spacing:.4px;text-decoration:none}
.sr-history-watch:hover{text-decoration:underline}
.sr-history-podium{border-left:1px solid #36536c;padding-left:23px;display:flex;flex-direction:column;gap:11px;min-width:0}
.sr-history-podium-row{display:flex;align-items:center;gap:12px;min-width:0}
.sr-history-rank{display:flex;align-items:center;justify-content:center;flex:none;width:43px;height:42px;border-radius:4px;clip-path:polygon(16% 0,100% 0,84% 100%,0 100%);font:900 25px 'Barlow Condensed',Impact,sans-serif;color:#fff;text-shadow:0 1px 2px #0005}
.sr-history-rank-1{background:linear-gradient(125deg,#ffe473,#c88d04)}
.sr-history-rank-2{background:linear-gradient(125deg,#e7f0f7,#6c8498)}
.sr-history-rank-3{background:linear-gradient(125deg,#efb075,#a85a24)}
.sr-history-driver{flex:1;min-width:0}
.sr-history-driver-top{display:flex;align-items:baseline;justify-content:space-between;gap:9px;color:#f8fbff;font-size:12px;line-height:1.3}
.sr-history-driver-top strong{overflow-wrap:anywhere;font-weight:900}
.sr-history-driver-top>span{white-space:nowrap;font-weight:850}
.sr-history-vote-row{display:flex;align-items:center;gap:10px;margin-top:6px}
.sr-history-vote-row small{font-size:10px;color:#b0c3d4;white-space:nowrap;min-width:43px}
.sr-history-progress{height:7px;flex:1;min-width:0;background:#344252;border-radius:6px;overflow:hidden}
.sr-history-progress>span{display:block;height:100%;background:linear-gradient(90deg,#0077d8,#3bd3ff);border-radius:6px}
.sr-history-empty{padding:28px;background:#131d29;border:1px solid #2b3e50;color:#b7c8d8}
@media(max-width:1100px){.sr-history-card{grid-template-columns:1fr;gap:15px}.sr-history-podium{border-left:0;border-top:1px solid #36536c;padding:15px 0 0}.sr-history-identity{grid-template-columns:175px minmax(0,1fr)}}
@media(max-width:620px){.sr-history-toolbar{align-items:stretch;flex-direction:column;gap:6px}.sr-history-toolbar .history-filter{max-width:none}.sr-history-count{padding:0}.sr-history-card{padding:12px}.sr-history-identity{grid-template-columns:100px minmax(0,1fr);gap:12px}.sr-history-logo{height:125px}.sr-history-logo-fallback{font-size:34px}.sr-history-event{gap:8px}.sr-history-event-title{font-size:27px}.sr-history-date{font-size:9px;padding:5px 7px}.sr-history-category{font-size:9px}.sr-history-league{font-size:10px}.sr-history-podium-row{gap:9px}.sr-history-rank{width:35px;height:35px;font-size:21px}}
@media(max-width:380px){.sr-history-identity{grid-template-columns:80px minmax(0,1fr)}.sr-history-logo{height:105px}.sr-history-event-title{font-size:23px}}


/* Piloto del Día: misma identidad visual del historial de votaciones. */
#voting-panel{padding:0;overflow:hidden;background:#0c1420;border:1px solid #2c6589;border-radius:10px}
.sr-vote-head{display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:22px;align-items:center;padding:19px 22px;background:linear-gradient(110deg,#14263a,#0c1623 80%);border-bottom:1px solid #2e5b78}
.sr-vote-logo{height:170px;min-width:0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#193954,#080f19 75%);border:1px solid #2c516a;border-radius:7px}
.sr-vote-logo:before{content:'';position:absolute;top:0;left:0;width:80px;height:6px;background:#38c4ff;transform:skewX(-22deg) translateX(-10px)}
.sr-vote-logo img{max-width:85%;max-height:84%;object-fit:contain;filter:drop-shadow(0 4px 12px #0009)}
.sr-vote-head-main{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.sr-vote-topline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sr-vote-topline .status{margin:0;padding:7px 10px;border:1px solid #806b31;background:#493b1933;color:#ffdc76;border-radius:3px;font-size:10px}
.sr-vote-topline .status.open{color:#75efae;background:#12492f66;border-color:#27744c}
.sr-vote-topline .status.closed{color:#ffe08b;border-color:#887137}
.sr-vote-date{font-size:10px;letter-spacing:.5px;color:#aac8dc;font-weight:800}
.sr-vote-title{font:900 clamp(30px,4.3vw,53px)/.98 'Barlow Condensed',Impact,sans-serif;margin:0;color:#fff;overflow-wrap:anywhere}
.sr-vote-video{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid #3ba4d4;background:#0c3856;color:#b9ecff;border-radius:4px;font-size:10px;font-weight:900;letter-spacing:.6px;transition:background .15s}
.sr-vote-video:hover{background:#135c85;color:#fff}
.sr-vote-timer{align-self:start;text-align:center;background:#0c2031;border:1px solid #2c5d7c;padding:13px 17px;min-width:158px;border-radius:5px}
.sr-vote-timer small{display:block;color:#a7c9de;font-size:10px;letter-spacing:1.1px;font-weight:900}
.sr-vote-timer .countdown{font-size:40px;line-height:1.1;margin-top:6px;font-variant-numeric:tabular-nums}
.sr-vote-content{padding:24px}
.sr-vote-content-top{margin-bottom:19px}
.sr-vote-content-top>span{font-size:10px;color:#70d5ff;letter-spacing:1.7px;font-weight:900}
.sr-vote-content-top h3{font:900 clamp(24px,3.2vw,36px)/1.05 'Barlow Condensed',Impact,sans-serif;margin:7px 0 5px;color:#fff}
.sr-vote-content-top p{color:#aabed1;margin:0;font-size:12px}
.sr-vote-drivers{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#voting-panel .sr-vote-driver-card{position:relative;display:flex;gap:14px;min-width:0;min-height:76px;background:#152434;border:1px solid #35536b;border-radius:5px;padding:13px 14px;transition:background .15s,border-color .15s,transform .15s}
#voting-panel .sr-vote-driver-card:hover:not(:disabled){background:#1b354b;border-color:#51cafa;transform:translateY(-1px)}
#voting-panel .sr-vote-driver-card.selected{background:#123d5b;border-color:#58caff;box-shadow:inset 0 0 0 1px #3ba9de}
#voting-panel .sr-vote-driver-card .driver-number{flex:none;min-width:48px;height:45px;border-radius:3px;font:900 24px 'Barlow Condensed',Impact,sans-serif}
#voting-panel .sr-vote-driver-card .driver-name{font-size:14px;overflow-wrap:anywhere}
.sr-vote-driver-check{margin-left:auto;color:#8fdcff;opacity:0;font-size:21px;font-weight:900}
.sr-vote-driver-card.selected .sr-vote-driver-check{opacity:1}
.sr-vote-footer{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:24px;border-top:1px solid #2c4a61}
.sr-vote-footer .primary{margin:0;border-radius:4px}
.sr-vote-footer .helper{margin:0}
.sr-vote-final .result{background:#142332;border:1px solid #294961;border-radius:4px;margin-bottom:9px;padding:12px 16px}
.sr-vote-final .result-pos{display:flex;align-items:center;justify-content:center;width:46px;height:45px;border-radius:4px;background:linear-gradient(120deg,#287ab4,#17527d);color:#fff}
.sr-vote-final .result:nth-of-type(2) .result-pos{background:linear-gradient(125deg,#fce077,#bf8d17);color:#151b24}
.sr-vote-final .result:nth-of-type(3) .result-pos{background:linear-gradient(125deg,#e8f0f6,#72889b);color:#16202b}
.sr-vote-final .result:nth-of-type(4) .result-pos{background:linear-gradient(125deg,#e6a877,#a65e2b);color:#1b1b1b}
.sr-vote-final .bar-track{background:#354656;border-radius:6px;overflow:hidden}
.sr-vote-final .bar-fill{background:linear-gradient(90deg,#0086d3,#42d1ff);border-radius:6px}
.sr-vote-empty{padding:38px;background:radial-gradient(ellipse at 90% 0%,#12364c,#101a27 75%)}
.sr-vote-empty-kicker{color:#72d7ff;font-size:11px;font-weight:900;letter-spacing:1.6px}
.sr-vote-empty h2{font:900 56px 'Barlow Condensed',Impact,sans-serif;margin:12px 0 6px}
.sr-vote-empty h2 span{color:#5bd1ff}
.sr-vote-empty p{color:#b6c7d6}
@media(max-width:950px){.sr-vote-head{grid-template-columns:150px minmax(0,1fr)}.sr-vote-logo{height:150px}.sr-vote-timer{grid-column:2;justify-self:start;min-width:0}.sr-vote-timer .countdown{font-size:34px}}
@media(max-width:620px){.sr-vote-head{grid-template-columns:94px minmax(0,1fr);gap:12px;padding:12px}.sr-vote-logo{height:112px}.sr-vote-title{font-size:30px}.sr-vote-head-main{gap:9px}.sr-vote-topline{gap:5px}.sr-vote-topline .status{font-size:9px;padding:5px 7px}.sr-vote-date{font-size:9px}.sr-vote-timer{grid-column:1/-1;justify-self:stretch;display:flex;align-items:center;justify-content:space-between;padding:9px 13px}.sr-vote-timer .countdown{font-size:29px;margin:0}.sr-vote-content{padding:15px}.sr-vote-drivers{grid-template-columns:1fr}.sr-vote-footer{align-items:stretch;flex-direction:column}.sr-vote-footer .primary{margin:0}.sr-vote-final .result{padding:10px}.sr-vote-final .result-line{font-size:12px}}


/* SIM RELATOS · inicio: tarjetas fotográficas interactivas.
   No modifica la cabecera, la portada superior ni el contador de próxima transmisión. */
#inicio .sr-home-actions{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
  margin-top:4px;
}
#inicio .sr-home-card{
  --sr-home-image:none;
  grid-column:span 2;
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  min-width:0;
  min-height:265px;
  padding:0;
  border:1px solid #28749a;
  border-left:3px solid #4ccfff;
  border-radius:12px;
  background:linear-gradient(140deg,#13293b 0%,#0c1520 80%);
  box-shadow:inset 0 1px 0 #ffffff10;
  color:#f8fcff;
  text-decoration:none;
  transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease;
}
#inicio .sr-home-card:nth-child(-n+2){grid-column:span 3;min-height:280px}
#inicio .sr-home-card--calendar{--sr-home-image:none}
#inicio .sr-home-card--vote{--sr-home-image:none}
#inicio .sr-home-card--videos{--sr-home-image:none}
#inicio .sr-home-card--history{--sr-home-image:none}
#inicio .sr-home-card--mods{--sr-home-image:none}
#inicio .sr-home-card-photo{
  position:absolute;
  inset:-3%;
  z-index:-2;
  background-image:var(--sr-home-image);
  background-size:cover;
  background-position:center;
  opacity:.14;
  filter:saturate(.6) contrast(1.12);
  transform:scale(1.03);
  transition:opacity .5s ease,transform .7s cubic-bezier(.2,.7,.2,1),filter .5s ease;
}
#inicio .sr-home-card-overlay{
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(5,14,25,.96) 0%,rgba(7,20,33,.88) 48%,rgba(8,26,43,.42) 100%),linear-gradient(0deg,rgba(0,10,20,.78),transparent 55%);
  transition:background .35s ease,opacity .35s ease;
}
#inicio .sr-home-card-content{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  padding:24px 27px 28px;
  z-index:1;
}
#inicio .sr-home-card .feature-number{
  color:#8edcff;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.5px;
}
#inicio .sr-home-card .feature-symbol{
  color:#2fc9ff;
  font-size:39px;
  line-height:1;
  margin-top:auto;
  margin-bottom:11px;
  text-shadow:0 0 18px #2bc4ff44;
}
#inicio .sr-home-card h2{
  max-width:95%;
  font:900 clamp(27px,3.4vw,43px)/.98 'Barlow Condensed',Impact,sans-serif;
  letter-spacing:.1px;
  text-transform:uppercase;
  margin:0 0 9px;
  color:#fff;
  text-shadow:0 2px 12px #0009;
}
#inicio .sr-home-card p{
  max-width:350px;
  margin:0 0 18px;
  color:#d7e7f4;
  font-size:13px;
  line-height:1.55;
  text-shadow:0 1px 8px #000b;
}
#inicio .sr-home-card .feature-link{
  margin-top:auto;
  color:#d6f5ff;
  font-size:10px;
  letter-spacing:1.1px;
  transition:transform .3s ease,color .3s ease;
}
#inicio .sr-home-card .feature-link b{color:#4ad0ff}
#inicio .sr-home-card-arrow{
  position:absolute;
  right:0;
  bottom:0;
  z-index:2;
  display:grid;
  place-items:center;
  width:61px;
  height:56px;
  padding-left:11px;
  background:linear-gradient(130deg,#24c6ff,#0754e4);
  clip-path:polygon(36% 0,100% 0,100% 100%,0 100%);
  color:white;
  font:700 48px/1 'Barlow Condensed',Impact,sans-serif;
  transition:width .3s ease,background .3s ease;
}
#inicio .sr-home-card:hover,
#inicio .sr-home-card:focus-visible{
  transform:translateY(-6px);
  border-color:#63dcff;
  box-shadow:0 12px 35px #0008,0 0 0 1px #39c7ff55,0 0 22px #0a9fff2b;
  color:#fff;
}
#inicio .sr-home-card:hover .sr-home-card-photo,
#inicio .sr-home-card:focus-visible .sr-home-card-photo{
  opacity:.88;
  transform:scale(1.13);
  filter:saturate(1.12) contrast(1.1);
}
#inicio .sr-home-card:hover .sr-home-card-overlay,
#inicio .sr-home-card:focus-visible .sr-home-card-overlay{opacity:.79}
#inicio .sr-home-card:hover .feature-link,
#inicio .sr-home-card:focus-visible .feature-link{transform:translateX(5px);color:#fff}
#inicio .sr-home-card:hover .sr-home-card-arrow,
#inicio .sr-home-card:focus-visible .sr-home-card-arrow{width:69px;background:linear-gradient(135deg,#53dfff,#006cff)}
#inicio .sr-home-card:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:900px){
  #inicio .sr-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  #inicio .sr-home-card,#inicio .sr-home-card:nth-child(-n+2){grid-column:span 1;min-height:270px}
  #inicio .sr-home-card:last-child{grid-column:span 2;min-height:225px}
}
@media(max-width:600px){
  #inicio .sr-home-actions{grid-template-columns:1fr;gap:12px}
  #inicio .sr-home-card,#inicio .sr-home-card:nth-child(-n+2),#inicio .sr-home-card:last-child{grid-column:1;min-height:230px}
  #inicio .sr-home-card-content{padding:19px 22px 24px}
  #inicio .sr-home-card h2{font-size:35px}
  #inicio .sr-home-card p{max-width:85%}
  #inicio .sr-home-card-photo{opacity:.3}
}
@media(hover:none){
  #inicio .sr-home-card-photo{opacity:.38}
}
@media(prefers-reduced-motion:reduce){
  #inicio .sr-home-card,#inicio .sr-home-card-photo,#inicio .sr-home-card-overlay,#inicio .sr-home-card .feature-link,#inicio .sr-home-card-arrow{transition:none}
  #inicio .sr-home-card:hover,#inicio .sr-home-card:focus-visible{transform:none}
}


/* Votaciones: fecha de hoy y ajuste de tiempo sin alterar el resto del administrador. */
#sr-admin-pane-votos .sr-vote-calendar-field{grid-column:1/-1}
#sr-admin-pane-votos .sr-vote-calendar-field select{width:100%;margin-top:6px;background:#0c1825;border:1px solid #416b85;color:#fff;padding:12px;min-height:46px}
#sr-admin-pane-votos .sr-vote-calendar-preview{
 grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 16px;
 padding:13px 15px;border:1px solid #285777;border-left:3px solid #38caff;
 background:linear-gradient(110deg,#102a3b,#111924);color:#d0e9f6;
 font-size:12px;
}
#sr-admin-pane-votos .sr-vote-calendar-preview strong{color:#fff}
#sr-admin-pane-votos .sr-vote-time-editor{
 margin:18px 0;padding:18px 20px;border:1px solid #3b6884;border-left:4px solid #3bc6ff;
 background:linear-gradient(110deg,#11293a,#141c28);
}
#sr-admin-pane-votos .sr-vote-time-editor[hidden]{display:none}
#sr-admin-pane-votos .sr-vote-time-editor h3{font:900 25px 'Barlow Condensed',Impact,sans-serif;margin:0 0 8px}
#sr-admin-pane-votos .sr-vote-time-editor label{max-width:330px}
#sr-admin-pane-votos .sr-vote-time-editor input{display:block;width:100%;margin-top:5px;background:#0a1520;color:#fff;border:1px solid #42627a;padding:10px}
#sr-admin-pane-votos .sr-vote-time-editor button{margin-top:12px}

/* Inicio sin fotos: conserva el brillo celeste y anima su entrada y salida. */
#inicio .sr-home-card-photo{display:none!important;background-image:none!important}
#inicio .sr-home-card{
 background:#101b29;
 transition:transform .42s cubic-bezier(.2,.75,.2,1),border-color .42s ease,box-shadow .48s ease,color .35s ease;
}
#inicio .sr-home-card::before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(125deg,#12314a 0%,#12618a 55%,#1698c9 100%);
 opacity:0;transition:opacity .5s cubic-bezier(.2,.75,.2,1);
}
#inicio .sr-home-card:hover::before,#inicio .sr-home-card:focus-visible::before{opacity:1}
#inicio .sr-home-card-overlay{
 z-index:0;
 background:linear-gradient(100deg,rgba(4,13,25,.3),rgba(4,15,28,.12))!important;
 opacity:1!important;transition:opacity .45s ease;
}
#inicio .sr-home-card:hover .sr-home-card-overlay,#inicio .sr-home-card:focus-visible .sr-home-card-overlay{opacity:.3!important}
#inicio.active .sr-home-card{animation:srHomeCardEnter .55s cubic-bezier(.2,.75,.2,1) both}
#inicio.active .sr-home-card:nth-child(2){animation-delay:.07s}
#inicio.active .sr-home-card:nth-child(3){animation-delay:.14s}
#inicio.active .sr-home-card:nth-child(4){animation-delay:.21s}
#inicio.active .sr-home-card:nth-child(5){animation-delay:.28s}
@keyframes srHomeCardEnter{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
#sr-admin-pane-votos .sr-vote-past-picker{padding:18px 0;display:grid;gap:12px}
#sr-admin-pane-votos .sr-vote-past-picker select{width:100%;min-height:46px;padding:12px;background:#0c1825;border:1px solid #416b85;color:#fff}
#sr-admin-pane-votos .sr-vote-past-picker .sr-vote-calendar-preview{display:flex;flex-direction:column;gap:6px;line-height:1.6}
#sr-admin-pane-votos .sr-vote-past-picker button{justify-self:start}
@media(prefers-reduced-motion:reduce){
 #inicio.active .sr-home-card{animation:none}
 #inicio .sr-home-card::before{transition:none}
}


/* Bienvenida a la comunidad y espacio de cada liga. No altera Comprar Mods / Mis Mods. */
.sr-choose-backdrop[hidden],.sr-league-identity[hidden]{display:none!important}
body.sr-choose-open{overflow:hidden}
.sr-choose-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(3,8,16,.92);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:20px}
.sr-choose-dialog{width:min(800px,100%);max-height:min(90vh,900px);overflow:auto;background:linear-gradient(145deg,#15283b,#0b1019 68%);border:1px solid #315572;box-shadow:0 26px 100px #000b;padding:clamp(22px,4vw,38px);border-radius:12px}
.sr-choose-top{display:flex;align-items:center;gap:13px;font:900 24px 'Barlow Condensed',Impact,sans-serif;letter-spacing:1.3px}
.sr-choose-top img{object-fit:contain}.sr-choose-top small{display:block;font:700 10px Inter,Arial,sans-serif;color:#8caec5;letter-spacing:1.5px}
.sr-choose-eyebrow{color:#56d0ff;font-size:11px;font-weight:900;letter-spacing:2px;margin:30px 0 5px}
.sr-choose-dialog h2{font:900 clamp(34px,6vw,60px)/1 'Barlow Condensed',Impact,sans-serif;margin:0}
.sr-choose-intro{color:#c1d0dc;max-width:570px;font-size:14px;margin:13px 0 24px}
.sr-choose-all,.sr-choose-league{display:flex;align-items:center;text-align:left;width:100%;gap:14px;color:#f4fbff;transition:border-color .2s,background .2s,transform .2s}
.sr-choose-all{background:linear-gradient(95deg,#17476c,#10314d);border:1px solid #3b9ac7;border-radius:8px;padding:19px}
.sr-choose-all:hover,.sr-choose-all:focus-visible{background:#1c5278;border-color:#65d6ff;transform:translateY(-2px)}
.sr-choose-all-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:7px;background:#24618a;font-size:28px;color:#8ee3ff;flex-shrink:0}
.sr-choose-all>span:nth-child(2),.sr-choose-league-copy{flex:1;min-width:0}
.sr-choose-all strong,.sr-choose-league strong{display:block;font-size:13px;letter-spacing:.6px}
.sr-choose-all small,.sr-choose-league small{display:block;color:#a9c4d5;font-size:11px;margin-top:4px;line-height:1.5}
.sr-choose-separator{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 13px}
.sr-choose-separator span{font-size:12px;font-weight:900;letter-spacing:1.3px;color:#69d4ff}
.sr-choose-separator small{color:#8fa4b5;font-size:10px}
.sr-choose-leagues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sr-choose-league{border:1px solid #344d63;background:#141f2c;border-radius:7px;padding:13px}
.sr-choose-league:hover,.sr-choose-league:focus-visible{border-color:#5acaff;background:#19374e;transform:translateY(-2px)}
.sr-choose-league .league-logo,.sr-choose-fallback{width:46px;height:46px;object-fit:contain;flex-shrink:0}
.sr-choose-fallback{display:grid;place-items:center;font-size:24px;background:#22364b;border-radius:5px}
.sr-choose-foot{font-size:11px;color:#98a9b8;margin:19px 0 0}
.sr-choose-empty{grid-column:1/-1;color:#9fb4c7}
.sr-league-identity{display:flex;align-items:center;gap:20px;background:linear-gradient(105deg,#142e43,#111923);border:1px solid #315674;border-left:4px solid #50cafa;padding:18px 22px;margin-bottom:24px;border-radius:7px}
.sr-league-identity-logo{width:75px;height:75px;flex-shrink:0;display:grid;place-items:center;background:#0b1622;border-radius:6px}
.sr-league-identity-logo .league-logo{max-width:65px;max-height:65px;width:100%;height:100%;object-fit:contain}
.sr-league-identity-text{flex:1;min-width:0}
.sr-league-identity-text>span{font-size:10px;letter-spacing:1.4px;font-weight:900;color:#67d0ff}
.sr-league-identity-text h2{font:900 30px 'Barlow Condensed',Impact,sans-serif;margin:0;line-height:1.1}
.sr-league-identity-text p{font-size:12px;color:#bdcbd8;margin:6px 0 0}
.sr-league-identity button{background:transparent;border:1px solid #4b829f;color:#9ee2ff;padding:10px 13px;font-size:11px;font-weight:800;white-space:nowrap}
.sr-league-identity button:hover{background:#173e58}
@media(max-width:650px){.sr-choose-backdrop{padding:8px}.sr-choose-dialog{max-height:97vh;padding:18px}.sr-choose-leagues{grid-template-columns:1fr}.sr-choose-separator{flex-direction:column;gap:2px}.sr-league-identity{flex-wrap:wrap;gap:12px}.sr-league-identity-logo{width:55px;height:55px}.sr-league-identity-text h2{font-size:24px}.sr-league-identity button{width:100%}}


/* SIM RELATOS — encabezado fijo y navegación responsive. */
.topbar{position:sticky;top:0;z-index:1100;width:100%;background:#0d1119;border-bottom:1px solid #29445a;box-shadow:0 5px 18px rgba(0,0,0,.22)}
.sr-menu-toggle{display:none}
@media(min-width:1201px){
 .topbar{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:clamp(8px,1vw,16px);padding:10px clamp(12px,2vw,32px);min-height:72px}
 .topbar .brand{flex:0 0 auto;gap:8px;font-size:clamp(18px,1.6vw,23px)}
 .topbar .brand-name{font-size:clamp(18px,1.6vw,23px)}
 .topbar nav{display:flex;flex:1 1 auto;flex-basis:auto;order:initial;width:auto;min-width:0;gap:clamp(5px,.7vw,13px);justify-content:center;align-items:center;overflow:visible;padding:0;flex-wrap:nowrap}
 .topbar nav a{font-size:clamp(9px,.72vw,11px);letter-spacing:.1px;white-space:nowrap}
 .topbar .nav-mods{padding:8px 7px}
 .topbar .nav-account{padding:8px 6px}
 .topbar .global-league-wrap{flex:0 0 150px;min-width:150px;max-width:150px;margin:0}
 .topbar .global-league-wrap select{font-size:10px}
}
@media(max-width:1200px){
 .topbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;column-gap:10px;row-gap:0;padding:10px 16px;min-height:68px;height:auto;max-height:100dvh;overflow-y:auto;align-content:start}
 .topbar .brand{grid-column:1;grid-row:1;min-width:0;gap:9px;white-space:nowrap}
 .topbar .brand-icon{width:44px;height:44px;flex-shrink:0}
 .topbar .brand-icon img{width:44px;height:44px;object-fit:contain}
 .topbar .brand-name{font-size:clamp(17px,4.4vw,23px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .sr-menu-toggle{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;border:1px solid #385775;border-radius:6px;background:#132639;color:#fff;padding:0}
 .sr-menu-toggle span{display:block;width:22px;height:2px;border-radius:2px;background:#f0f8ff;transition:transform .2s,opacity .2s}
 .topbar.sr-menu-open .sr-menu-toggle span:first-child{transform:translateY(7px) rotate(45deg)}
 .topbar.sr-menu-open .sr-menu-toggle span:nth-child(2){opacity:0}
 .topbar.sr-menu-open .sr-menu-toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}
 .topbar nav{display:none;grid-column:1/-1;grid-row:3;order:initial;flex:none;width:100%;min-width:0;overflow:visible;flex-direction:column;align-items:stretch;gap:0;padding:10px 0 0;margin:0;border-top:1px solid #304356}
 .topbar nav a{display:block;width:100%;padding:12px 10px;border-bottom:1px solid #253b4b;font-size:12px;letter-spacing:.6px;white-space:normal}
 .topbar nav .nav-mods,.topbar nav .nav-account{margin:6px 0;padding:12px 10px;text-align:left}
 .topbar .global-league-wrap{display:none;grid-column:1/-1;grid-row:2;min-width:0;max-width:none;width:100%;margin:12px 0 10px}
 .topbar.sr-menu-open nav{display:flex}
 .topbar.sr-menu-open .global-league-wrap{display:flex}
 .topbar .global-league-wrap select{font-size:13px;padding:11px}
}

/* CUENTA DISCORD — mantiene la estética y el diseño responsive de SIM RELATOS. */
.sr-discord-account{margin:24px 0 0;padding:clamp(18px,2.5vw,30px);border:1px solid #254b69;background:linear-gradient(125deg,#101d2c,#0b121c);border-radius:16px;color:#e8f3ff}
.sr-discord-heading,.sr-discord-identity{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.sr-discord-heading h2{margin:6px 0 0;font-size:clamp(20px,3vw,28px);letter-spacing:.4px}
.sr-discord-chip{font-size:11px;letter-spacing:.6px;padding:8px 12px;border:1px solid #477ba6;border-radius:20px;color:#99d4ff}
.sr-discord-account p{color:#bfd0e2;line-height:1.5}
.sr-discord-primary{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;border:1px solid #69b9ff;background:#0866a9;color:white!important;padding:12px 18px;border-radius:9px;font-size:12px;font-weight:800;letter-spacing:.4px;max-width:100%;white-space:normal}
.sr-discord-primary:hover{background:#147bc4}
.sr-discord-primary:disabled{opacity:.55;cursor:wait}
.sr-discord-identity{justify-content:flex-start;margin-top:16px;border-block:1px solid #28435b;padding:15px 0}
.sr-discord-identity>div{display:grid;gap:5px;flex:1 1 140px;min-width:0;overflow-wrap:anywhere}
.sr-discord-identity strong{font-size:19px}
.sr-discord-identity small{color:#a4bdce}
.sr-discord-avatar,.sr-discord-avatar-fallback{width:58px;height:58px;object-fit:cover;border-radius:50%;background:#285882}
.sr-discord-avatar-fallback{display:grid;place-items:center;font-size:24px}
.sr-discord-logout{border:1px solid #52718d;background:transparent;color:#e0ecf7;border-radius:7px;padding:11px;font-weight:700;cursor:pointer}
.sr-discord-note{font-size:13px;margin:14px 0}
#sr-discord-preferences h3{font-size:17px;margin:18px 0 5px}
.sr-discord-modes{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.sr-discord-modes label{display:flex;align-items:center;gap:9px;border:1px solid #345a76;border-radius:9px;padding:12px 15px;cursor:pointer;font-weight:750;font-size:12px}
.sr-discord-modes input,.sr-discord-league input{accent-color:#21a0ed}
.sr-discord-leagues{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin:12px 0 18px;max-height:340px;overflow:auto}
.sr-discord-leagues[hidden]{display:none}
.sr-discord-league{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #24415a;background:#101c2b;border-radius:8px;font-size:13px;cursor:pointer}
.sr-discord-league:has(input:checked){border-color:#3da8f3;background:#143a5a}
.sr-discord-feedback{min-height:1.2em;font-size:13px}
@media(max-width:600px){.sr-discord-account{padding:15px}.sr-discord-leagues{grid-template-columns:1fr}.sr-discord-heading{align-items:flex-start}.sr-discord-identity{gap:10px}}

/* MMR Broadcast · registro, inicio de sesión y preferencias. */
.sr-ac-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.sr-ac-tabs button{cursor:pointer;background:#17283c;color:#d5eaff;border:1px solid #305979;border-radius:9px;padding:12px 17px;font-size:12px;font-weight:800}
.sr-ac-tabs button.active{background:#0b6eae;color:white;border-color:#39abf9}
.sr-ac-roles,.sr-ac-choices{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}
.sr-ac-roles label,.sr-ac-choices label{display:inline-flex;align-items:center;gap:9px;border:1px solid #345a76;background:#12263a;border-radius:9px;padding:11px 13px;cursor:pointer;font-size:12px;font-weight:750}
.sr-ac-roles label:has(input:checked),.sr-ac-choices label:has(input:checked){background:#123e61;border-color:#2aa6fa}
.sr-ac-roles input,.sr-ac-choices input,.sr-ac-league input{accent-color:#32b1ff}
.sr-ac-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:14px 0}
.sr-ac-field{display:flex;flex-direction:column;gap:7px;color:#d5eaff;font-size:11px;font-weight:800;letter-spacing:.4px}
.sr-ac-field input{width:100%;background:#0a1726;border:1px solid #3a688c;border-radius:8px;color:white;padding:12px;font:inherit;font-size:15px}
.sr-ac-field input:focus{outline:2px solid #138dd9}
.sr-discord-account h3{font-size:clamp(18px,2.8vw,23px);margin:16px 0 8px}
.sr-discord-account h4{margin:22px 0 6px;font-size:14px;color:#c4e4ff}
.sr-ac-leagues{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:9px;margin:14px 0 22px;max-height:365px;overflow:auto}
.sr-ac-leagues[hidden],#sr-ac-email-wrap[hidden]{display:none!important}
.sr-ac-league{cursor:pointer;display:flex;align-items:center;gap:11px;padding:8px 11px;background:#101f32;border:1px solid #295475;border-radius:10px;font-size:13px;min-width:0}
.sr-ac-league:has(input:checked){background:#173f62;border-color:#40b2ff}
.sr-ac-league img,.sr-account-league-placeholder{height:42px;width:42px;object-fit:contain;flex:none;border-radius:7px}
.sr-account-league-placeholder{display:grid;place-items:center;background:#1c3953}
.sr-ac-league span:last-child{overflow-wrap:anywhere}
.sr-ac-note{color:#b3cada;font-size:13px;line-height:1.5}
.sr-ac-discord-icon{display:inline-flex;align-items:center;justify-content:center}
.sr-ac-discord-button{background:#5865f2!important;border-color:#8591ff!important;gap:8px}
.sr-ac-discord-button:hover{background:#4752ca!important}
.sr-ac-choices input:disabled{cursor:not-allowed;opacity:.6}
.sr-ac-choices label:has(input:disabled){opacity:.55;cursor:not-allowed}
.sr-ac-subtle{cursor:pointer;background:transparent;color:#b7dcff;border:1px solid #446b88;border-radius:7px;padding:10px 15px}
.sr-ac-connected{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;padding:14px 0}
.sr-ac-connected p{margin:0;font-size:12px;overflow-wrap:anywhere}
.sr-ac-profile{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.sr-ac-profile-top{display:flex;align-items:center;gap:11px}
.sr-ac-profile-top div{display:grid;gap:4px}
.sr-ac-profile-top strong{font-size:22px}
.sr-ac-profile-top small{color:#a6d1e9}
.sr-ac-actions{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:10px}
#sr-ac-password{margin-top:25px;padding-top:15px;border-top:1px solid #2c536d}
.sr-discord-account .sr-discord-primary{display:inline-flex;gap:8px}
@media(max-width:600px){.sr-ac-leagues{grid-template-columns:1fr}.sr-ac-fields{grid-template-columns:1fr}.sr-ac-roles label,.sr-ac-choices label{font-size:11px}}

/* Registro MMR — ventana modal flotante, accesible y responsive. */
.sr-ac-launcher{display:flex;align-items:flex-start;flex-direction:column;gap:8px;padding:24px;margin-bottom:20px;border:1px solid #295a80;border-radius:13px;background:#0d1b2c}
.sr-ac-launcher strong{font-size:17px;color:#e1f5ff}
.sr-ac-launcher p{margin:0 0 8px;color:#b3cede}
.sr-ac-launcher[hidden],.sr-ac-backdrop[hidden]{display:none!important}
.sr-ac-backdrop{position:fixed;inset:0;background:rgba(2,8,15,.82);backdrop-filter:blur(5px);z-index:1390}
.sr-discord-account.sr-ac-floating{display:none;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1400;width:min(860px,calc(100vw - 28px));max-height:min(88dvh,900px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 70px rgba(0,0,0,.65);background:#0d1a2b;margin:0;border:1px solid #3684c8;border-radius:16px;scrollbar-color:#2472a8 #101b2a}
.sr-discord-account.sr-ac-floating.sr-ac-visible{display:block}
.sr-discord-account.sr-ac-floating .sr-discord-heading{position:sticky;top:-1px;z-index:2;margin:-2px -2px 10px;padding:12px 2px;background:linear-gradient(180deg,#0d1a2b 85%,rgba(13,26,43,.9));border-bottom:1px solid #305476}
.sr-discord-account.sr-ac-floating .sr-discord-heading h2{font-size:20px}
.sr-ac-close{display:none;cursor:pointer;color:#e0f3ff;background:#203a52;border:1px solid #487ca6;border-radius:9px;min-width:35px;min-height:35px;align-items:center;justify-content:center;font-size:17px}
.sr-discord-account.sr-ac-floating .sr-ac-close{display:inline-flex}
.sr-discord-account.sr-ac-floating .sr-discord-chip{display:none}
body.sr-ac-modal-open{overflow:hidden}
#sr-ac-league-name[hidden]{display:none}
#sr-ac-league-name{margin:12px 0}
.sr-ac-channels label:has(input[value="discord"]:checked){background:#3a459d;border-color:#8792ff}
.sr-ac-channels label:has(input[value="email"]:checked){background:#174761;border-color:#5dbfeb}
@media(max-width:600px){
 .sr-discord-account.sr-ac-floating{width:calc(100vw - 16px);max-height:94dvh;padding:14px;top:50%;border-radius:12px}
 .sr-discord-account.sr-ac-floating .sr-discord-heading h2{font-size:16px}
 .sr-ac-launcher{padding:16px}
}

.sr-ac-steam-button{background:#454b53!important;border-color:#777f89!important;color:#fff!important;gap:8px}
.sr-ac-steam-button:hover{background:#555e68!important}
.sr-ac-steam-button img{display:block;flex:none;filter:grayscale(1)}


/* SIM RELATOS · administración de perfiles registrados */
#sr-admin-pane-registros #sr-reg-list{list-style:none;padding:0;display:grid;gap:10px}
#sr-admin-pane-registros #sr-reg-list>li{display:grid;gap:7px;padding:14px;border:1px solid #28465b;border-radius:10px;background:#0b1520}
#sr-admin-pane-registros #sr-reg-list>li>strong{color:#fff;font-size:16px}
#sr-admin-pane-registros #sr-reg-list>li>small{color:#a9c0d0;overflow-wrap:anywhere;line-height:1.5}
.sr-reg-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.sr-reg-actions button{font-size:12px;padding:9px 12px}
.sr-reg-editor{width:min(560px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid #31556d;border-radius:14px;background:#0b1520;color:#fff;padding:22px}
.sr-reg-editor::backdrop{background:rgba(0,0,0,.78)}
.sr-reg-editor form{display:grid;gap:12px}
.sr-reg-editor h3{margin:0 0 6px;font-size:24px}
.sr-reg-editor label{display:grid;gap:6px;color:#c5d6e2}
.sr-reg-editor input,.sr-reg-editor select{width:100%;min-height:42px;padding:10px;background:#101f2d;color:#fff;border:1px solid #3b6078;border-radius:6px}
.sr-reg-editor .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(max-width:560px){.sr-reg-editor .form-grid{grid-template-columns:1fr}.sr-reg-actions button{flex:1}}

/* Panel de usuario SIM RELATOS */
.sr-ac-user-menu{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0 18px;padding:9px;border:1px solid #254a66;border-radius:12px;background:#091827}
.sr-ac-user-menu a{color:#b9dfff;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.07em;padding:10px 12px;border-radius:8px;background:#12283c}
.sr-ac-user-menu a:hover{background:#14517a;color:#fff}
.sr-ac-dashboard{margin:0 0 24px;padding:18px;border:1px solid #2b5878;border-radius:14px;background:linear-gradient(145deg,#10263b,#0b1726)}
.sr-ac-dashboard-head,.sr-ac-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sr-ac-dashboard-head h3{margin:4px 0 14px}
.sr-ac-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sr-ac-dashboard-card{min-width:0;padding:14px;border:1px solid #294a64;border-radius:11px;background:#0b1a2a}
.sr-ac-dashboard-wide{grid-column:1/-1}
.sr-ac-card-heading h4{margin:0 0 12px;color:#d9efff;font-size:12px;letter-spacing:.07em}
.sr-ac-card-heading>a,.sr-ac-inline-link{color:#55bfff;text-decoration:none;font-size:10px;font-weight:900;white-space:nowrap}
.sr-ac-followed-league{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #203d54;color:#e5f4ff;text-decoration:none;font-size:12px}
.sr-ac-followed-league img,.sr-ac-followed-league .sr-account-league-placeholder{width:32px;height:32px;object-fit:contain;border-radius:6px}
.sr-ac-followed-league span{flex:1}
.sr-ac-followed-league b,.sr-ac-alert-row>b{color:#54bfff}
.sr-ac-alert-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #203d54;color:#e7f5ff;text-decoration:none}
.sr-ac-alert-row>span:nth-child(2){display:grid;gap:4px;min-width:0}
.sr-ac-alert-row strong{font-size:12px}
.sr-ac-alert-row small{font-size:11px;color:#a9c5d9;line-height:1.4}
.sr-ac-alert-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:#143b59;color:#69caff;font-weight:900}
.sr-ac-empty{padding:13px;border:1px dashed #355b75;border-radius:9px;color:#c6d9e7}
.sr-ac-empty strong{font-size:11px}
.sr-ac-empty p,.sr-ac-quick-notify p,.sr-ac-help p{font-size:12px;line-height:1.55;color:#a9c1d3}
.sr-ac-empty-small{font-size:12px;color:#a9c1d3;padding:8px 0}
.sr-ac-bell-wrap{position:relative}
.sr-ac-bell{position:relative;width:42px;height:42px;border-radius:12px;border:1px solid #3985b7;background:#123b59;color:#fff;font-size:23px;cursor:pointer}
.sr-ac-bell span{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:20px;background:#e34768;color:#fff;font-size:10px;font-weight:900;line-height:18px}
.sr-ac-bell span[hidden]{display:none}
.sr-ac-notification-popover{position:absolute;right:0;top:50px;z-index:10;width:min(340px,calc(100vw - 70px));padding:13px;border:1px solid #3678a4;border-radius:12px;background:#0b1928;box-shadow:0 16px 45px #000a}
.sr-ac-notification-popover[hidden]{display:none}
.sr-ac-notification-popover>strong{font-size:11px;color:#b8e4ff}
.sr-ac-notification-popover a{display:block;padding:10px 0;border-top:1px solid #25435a;color:#e4f3ff;text-decoration:none;font-size:12px;line-height:1.4}
.sr-ac-notification-popover p{font-size:12px;color:#a9c1d3}
.sr-ac-quick-notify{margin-top:12px}
.sr-ac-quick-buttons,.sr-ac-help-actions{display:flex;flex-wrap:wrap;gap:8px}
.sr-ac-quick-buttons button,.sr-ac-help-actions a{border:1px solid #3979a2;border-radius:8px;padding:10px 14px;background:#123d5d;color:#e9f7ff;text-decoration:none;font-size:11px;font-weight:900;cursor:pointer}
.sr-ac-quick-buttons button[data-sr-channel="email"]{background:#17455d}
.sr-ac-quick-buttons button[data-sr-channel="none"]{background:transparent}
.sr-ac-help{margin-top:24px;padding:18px;border:1px solid #2b5878;border-radius:13px;background:#0d1d2d}
.sr-ac-help h3{margin:7px 0}
.sr-ac-help-actions a{display:inline-flex;align-items:center}
@media(max-width:640px){.sr-ac-dashboard-grid{grid-template-columns:1fr}.sr-ac-dashboard-wide{grid-column:auto}.sr-ac-dashboard{padding:12px}.sr-ac-user-menu{gap:5px}.sr-ac-user-menu a{padding:9px;font-size:9px}}

/* SIM RELATOS · seguridad y guardado visible de preferencias */
#sr-ac-update>button[type="submit"]{display:block;width:100%;min-height:50px;margin:18px 0 8px;border:1px solid #83d7ff;background:linear-gradient(100deg,#087fbd,#07558e);box-shadow:0 5px 18px #087fbd55;font-size:13px;letter-spacing:.08em}
#sr-ac-update>button[type="submit"]:hover{background:linear-gradient(100deg,#119de3,#086ba9);box-shadow:0 7px 24px #159ee966}
.sr-ac-unsaved-bar{position:fixed;z-index:1450;left:50%;bottom:18px;transform:translateX(-50%);width:min(760px,calc(100vw - 28px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border:1px solid #53bfff;border-radius:13px;background:linear-gradient(100deg,#102c43f5,#071827f7);box-shadow:0 12px 42px #000b,0 0 22px #1498e533;backdrop-filter:blur(12px);color:#f3faff}
.sr-ac-unsaved-bar[hidden]{display:none!important}
.sr-ac-unsaved-bar span{font-size:11px;font-weight:950;letter-spacing:.06em;color:#d9f2ff}
.sr-ac-unsaved-bar button{flex:none;min-height:42px;padding:10px 18px;border:1px solid #8cddff;border-radius:9px;background:#0785c7;color:#fff;font-size:12px;font-weight:950;letter-spacing:.05em;cursor:pointer;box-shadow:0 4px 15px #0785c755}
.sr-ac-unsaved-bar button:hover{background:#11a2ec}
.sr-ac-recovery{margin-top:20px;padding:14px;border:1px solid #294e68;border-radius:10px;background:#0d1b2a}
.sr-ac-recovery>p:first-child{margin-top:0;font-size:12px}
.sr-ac-recovery button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.sr-ac-unsaved-bar{bottom:calc(10px + env(safe-area-inset-bottom));width:calc(100vw - 18px);padding:10px;gap:8px}.sr-ac-unsaved-bar span{font-size:9px;line-height:1.35}.sr-ac-unsaved-bar button{min-height:40px;padding:9px 11px;font-size:10px}}


/* MI CUENTA · navegación lateral fija estilo panel de transmisiones */
.sr-ac-account-layout{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start;gap:22px;margin-top:20px}
.sr-ac-user-menu{position:sticky;top:18px;align-self:start;display:flex;flex-direction:column;gap:7px;width:100%;margin:0;padding:10px;background:#091827;border:1px solid #244b67;border-radius:12px;z-index:5}
.sr-ac-user-menu a{display:flex;align-items:center;min-height:43px;padding:11px 13px;border:1px solid transparent;border-radius:8px;background:#10283b;color:#dceeff;font-size:10px;font-weight:900;letter-spacing:.07em;line-height:1.25;transition:background .16s,border-color .16s,color .16s}
.sr-ac-user-menu a:hover,.sr-ac-user-menu a:focus-visible{border-color:#318fc2;background:#143a56;color:#fff}
.sr-ac-account-content{min-width:0;display:grid;gap:20px}
.sr-ac-account-content>.sr-ac-dashboard,.sr-ac-account-content>form,.sr-ac-account-content>.sr-ac-connected,.sr-ac-account-content>.sr-ac-actions,.sr-ac-account-content>.sr-ac-help{min-width:0;margin-top:0}
.sr-ac-account-content #sr-ac-update h4[id="sr-ac-leagues"],.sr-ac-account-content #sr-ac-channel-wrap{scroll-margin-top:22px}
@media(max-width:760px){
 .sr-ac-account-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 .sr-ac-user-menu{position:relative;top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
 .sr-ac-user-menu a{justify-content:center;text-align:center;min-height:40px;padding:9px 7px;font-size:9px}
 .sr-ac-account-content{gap:14px}
}
@media(max-width:420px){.sr-ac-user-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.sr-ac-user-menu a{font-size:8px;letter-spacing:.045em}}


/* MI CUENTA · menú persistente y campanita en encabezado */
.sr-discord-account,.sr-account-shell,.view#mis-mods{overflow:visible!important}
.sr-ac-account-layout{align-items:stretch}
.sr-ac-user-menu{position:sticky!important;top:16px!important;align-self:start;height:max-content;max-height:calc(100vh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sr-ac-user-menu a,.sr-ac-menu-notifications{box-sizing:border-box;width:100%;min-height:43px;display:flex;align-items:center;justify-content:flex-start;padding:11px 13px;border:1px solid transparent;border-radius:8px;background:#10283b;color:#dceeff;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.07em;line-height:1.25;text-align:left;cursor:pointer}
.sr-ac-menu-notifications:hover,.sr-ac-menu-notifications:focus-visible{border-color:#318fc2;background:#143a56;color:#fff}
.sr-discord-heading{position:relative;align-items:center}
.sr-discord-heading h2{margin-right:auto}
.sr-discord-heading>.sr-ac-bell-wrap{position:relative;order:2;margin-left:auto;flex:0 0 auto}
.sr-discord-heading>.sr-discord-chip{order:3}
.sr-discord-heading .sr-ac-notification-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:40;width:min(320px,calc(100vw - 48px));max-height:60vh;overflow:auto;padding:14px;border:1px solid #2b6488;border-radius:12px;background:#091827;box-shadow:0 14px 36px #0009}
.sr-discord-heading .sr-ac-notification-popover[hidden]{display:none}
@media(max-width:760px){.sr-ac-user-menu{position:relative!important;top:auto!important;max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}.sr-ac-menu-notifications{justify-content:center;text-align:center;min-height:40px;padding:9px 7px;font-size:9px}}
@media(max-width:420px){.sr-ac-menu-notifications{font-size:8px;letter-spacing:.045em}.sr-discord-heading{gap:10px}.sr-discord-heading h2{font-size:19px}}


/* FIX DEFINITIVO · barra principal y menú lateral durante scroll */
.sr-ac-user-menu{position:-webkit-sticky!important;position:sticky!important;top:82px!important;align-self:start!important;height:max-content;max-height:calc(100vh - 98px);overflow-y:auto;overscroll-behavior:contain;z-index:20}
.sr-ac-account-layout{overflow:visible!important;align-items:start!important}
.sr-ac-account-content{overflow:visible!important}
.sr-discord-account,.sr-account-shell,.view#mis-mods,main{overflow:visible!important}
#sr-nav-notifications{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:10px 12px;border:1px solid #2b668b;border-radius:0;background:#10283b;color:#8bd8ff;font:900 10px/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.06em;cursor:pointer;white-space:nowrap}
#sr-nav-notifications:hover,#sr-nav-notifications:focus-visible{background:#16466a;color:#fff;border-color:#55bdf2}
#sr-nav-notifications[hidden]{display:none!important}
@media(max-width:760px){.sr-ac-user-menu{position:relative!important;top:auto!important;max-height:none;overflow:visible}}


/* MI CUENTA · diálogo independiente de notificaciones */
.sr-ac-notifications-dialog{width:min(440px,calc(100vw - 32px));max-height:min(72vh,620px);margin:auto;padding:0;border:1px solid #2b668b;border-radius:15px;background:#0b1b2b;color:#e8f4ff;box-shadow:0 24px 80px #000b}
.sr-ac-notifications-dialog::backdrop{background:rgba(2,8,15,.78);backdrop-filter:blur(5px)}
.sr-ac-notifications-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;border-bottom:1px solid #24445c}
.sr-ac-notifications-head h3{margin:0;font-size:16px;letter-spacing:.08em}
.sr-ac-notifications-head button{width:34px;height:34px;border:1px solid #315a76;border-radius:8px;background:#10283b;color:#e8f4ff;font-size:16px;cursor:pointer}
#sr-ac-notifications-content{display:grid;gap:8px;max-height:calc(min(72vh,620px) - 70px);overflow:auto;padding:14px 18px}
#sr-ac-notifications-content>a{display:block;padding:12px;border:1px solid #24445c;border-radius:9px;background:#10283b;color:#d9efff;text-decoration:none;font-size:13px;line-height:1.45}
#sr-ac-notifications-content>a:hover{border-color:#3b9ed3;background:#15344d}
#sr-ac-notifications-content>p{margin:0;padding:14px;color:#a9bfd1;font-size:13px}
#sr-ac-leagues-title{scroll-margin-top:100px}


/* FIX 2026-11-18 — modal de cuenta: límites reales del viewport y scroll interno. */
.sr-discord-account.sr-ac-floating{
  box-sizing:border-box;
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
}
@media(max-width:600px){
  .sr-discord-account.sr-ac-floating{
    inset:max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
    width:auto;
    max-height:none;
    height:auto;
    transform:none;
    margin:0;
    box-sizing:border-box;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    padding:14px;
  }
}


/* FIX 2026-11-18 v2 — modal MMR con área de scroll acotada también en móviles. */
.sr-discord-account.sr-ac-floating{
  box-sizing:border-box;
  min-height:0;
  max-height:calc(100dvh - 32px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
  scrollbar-gutter:stable;
}
.sr-discord-account.sr-ac-floating #sr-discord-content{
  min-height:0;
  overflow:visible;
}
@media(max-width:600px){
  .sr-discord-account.sr-ac-floating{
    position:fixed;
    top:max(8px, env(safe-area-inset-top));
    right:8px;
    bottom:max(8px, env(safe-area-inset-bottom));
    left:8px;
    width:auto;
    height:auto;
    min-height:0;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    transform:none;
    margin:0;
    padding:14px;
    box-sizing:border-box;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
}


/* FIX REAL DE SCROLL MÓVIL Y DESKTOP — 2026-11-18
   El diálogo queda fijo; SOLO #sr-discord-content desplaza el formulario.
   Así el encabezado no empuja el contenido fuera del viewport. */
.sr-discord-account.sr-ac-floating.sr-ac-visible{
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  height:min(88dvh,900px);
  max-height:calc(100dvh - 24px);
  min-height:0;
  overflow:hidden!important;
  overscroll-behavior:contain;
  touch-action:pan-y;
}
.sr-discord-account.sr-ac-floating.sr-ac-visible>.sr-discord-heading{
  position:relative!important;
  top:auto!important;
  flex:0 0 auto;
  min-height:0;
}
.sr-discord-account.sr-ac-floating.sr-ac-visible>#sr-discord-content{
  display:block;
  flex:1 1 0%;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
  scrollbar-width:thin;
  padding:0 4px 24px 0;
  scroll-padding-bottom:28px;
}
@media(max-width:600px){
 .sr-discord-account.sr-ac-floating.sr-ac-visible{
   position:fixed!important;
   inset: max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom)) 8px!important;
   width:auto!important;
   height:auto!important;
   max-height:none!important;
   min-height:0!important;
   margin:0!important;
   padding:12px!important;
   transform:none!important;
   border-radius:12px;
   overflow:hidden!important;
 }
 .sr-discord-account.sr-ac-floating.sr-ac-visible>.sr-discord-heading{
   margin:0 0 8px!important;
   padding:8px 0!important;
 }
 .sr-discord-account.sr-ac-floating.sr-ac-visible>#sr-discord-content{
   flex:1 1 0%;
   min-height:0!important;
   overflow-y:scroll!important;
   padding:0 3px 32px 0;
   overscroll-behavior-y:contain;
   -webkit-overflow-scrolling:touch;
 }
 .sr-discord-account.sr-ac-floating.sr-ac-visible #sr-ac-register,
 .sr-discord-account.sr-ac-floating.sr-ac-visible #sr-ac-login{
   padding-bottom:calc(28px + env(safe-area-inset-bottom));
 }
}


/* SIM RELATOS · indicadores públicos de comunidad en INICIO */
.sr-home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 34px}
.sr-home-stat{position:relative;display:flex;flex-direction:column;gap:9px;min-width:0;padding:22px 24px;background:linear-gradient(145deg,#171a22,#101219);border:1px solid #343946;border-top:2px solid #3ec2ef;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.sr-home-stat-kicker{color:#3ec2ef;font-size:9px;font-weight:900;letter-spacing:1.5px}
.sr-home-stat-label{color:#d8dbe2;font-size:11px;font-weight:900;letter-spacing:1px}
.sr-home-stat strong{color:#fff;font:900 clamp(34px,4vw,48px)/1 'Barlow Condensed',Impact,sans-serif;font-variant-numeric:tabular-nums}
.sr-home-stat small{color:#9ca5b2;font-size:11px;line-height:1.5}
.sr-pilot-result-featured{margin:14px 0 20px;border-color:#3ec2ef;background:rgba(62,194,239,.07)}
.sr-pilot-result-featured small{color:#3ec2ef!important;font-weight:800}
@media(max-width:700px){.sr-home-stats{grid-template-columns:1fr;gap:10px;margin:18px 0 26px}.sr-home-stat{padding:18px 20px}.sr-home-stat strong{font-size:38px}}

/* Menú desplegable LIGAS */
.topbar nav details.sr-nav-group>summary{font-weight:900;cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px}
.topbar nav details.sr-nav-group>summary::-webkit-details-marker{display:none}
.topbar nav details.sr-nav-group>summary::after{content:"⌄";font-size:17px;line-height:1;font-weight:900;transition:transform .18s ease}
.topbar nav details.sr-nav-group[open]>summary::after{content:"⌃"}
.league-standalone-calendar{margin-top:18px}
.league-calendar-admin-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line)}
.league-calendar-admin-item strong{min-width:150px}
.league-calendar-admin-item span{color:var(--muted);flex:1}

/* Cuenta: íconos de autorización y navegación ampliada */
.sr-ac-discord-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;vertical-align:middle}
.sr-ac-discord-icon svg{display:block!important;width:20px!important;height:20px!important;min-width:20px;fill:currentColor}
.sr-ac-actions .sr-discord-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:9px}
.sr-ac-user-menu a{font-size:11px;min-height:48px;padding:13px 14px}
.sr-ac-user-menu{width:100%;min-width:190px;gap:9px;padding:12px}
@media(max-width:760px){.sr-ac-user-menu{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.sr-ac-user-menu a{min-height:46px;font-size:10px}}


/* La página de cuenta queda enfocada en los ajustes personales; MCC se gestiona desde COMPRAR MODS. */
#mis-mods #sr-mcc-account-content,
#mis-mods #sr-account-help { display: none !important; }


/* SIM RELATOS · enlaces legales del pie */
.sr-site-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.sr-site-footer nav{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
.sr-site-footer nav a{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.7px;text-decoration:none;transition:color .18s ease}
.sr-site-footer nav a:hover{color:#3ec2ef}
@media(max-width:700px){.sr-site-footer{align-items:flex-start;flex-direction:column}.sr-site-footer nav{justify-content:flex-start;gap:12px}.sr-site-footer nav a{font-size:9px}}
