*{box-sizing:border-box}:root{--r:#de2029;--ink:#08111a;--bg:#f4f6f8;--line:#dde2e7}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,Segoe UI,sans-serif}button,select{font:inherit}button{cursor:pointer}header{height:80px;background:linear-gradient(115deg,#070b10,#162634);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px max(16px,calc((100% - 1200px)/2));position:sticky;top:0;z-index:8}.brand{display:flex;gap:12px;align-items:center}.crest{width:46px;height:55px;border:3px solid #fff;border-radius:12px 12px 24px 24px;background:linear-gradient(145deg,var(--r) 54%,#fff 55%);display:grid;place-items:center;font-weight:1000;text-shadow:0 1px 3px #000}.brand h1{margin:0;font-size:23px}.brand b{color:#ff3841}.brand p{margin:2px 0;color:#cfd6dc;font-size:13px}#reload{border:0;background:none;color:#fff;font-size:28px}.topnav{height:52px;background:#171f27;display:flex;justify-content:center;overflow:auto;position:sticky;top:80px;z-index:7}.topnav button{border:0;border-bottom:3px solid transparent;background:none;color:#eee;padding:0 20px;white-space:nowrap;font-weight:850;font-size:13px}.topnav .active{color:#ff3942;border-color:#ff3942}main{max-width:1200px;margin:auto;padding:18px 16px 100px}.status{padding:11px 14px;border-radius:10px;background:#fff4cb;border:1px solid #e5cf73}.status.ok{background:#e9f8ec;border-color:#96cea2}.status.bad{background:#fff0f0;border-color:#e6a6a6}h2{font-size:20px;margin:25px 0 11px}.hidden{display:none!important}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,1fr);gap:12px;overflow:auto;padding:2px 2px 10px}.matchgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;min-height:176px}.eyebrow{font-size:11px;font-weight:900;color:#626b74;text-transform:uppercase}.teamsline{display:grid;grid-template-columns:1fr 48px 1fr;align-items:center;text-align:center;margin:15px 0 10px}.logo{width:52px;height:52px;object-fit:contain;margin:auto}.mini{width:29px;height:29px;object-fit:contain}.fallback{border-radius:50%;background:#edf0f2;display:grid;place-items:center;font-weight:900;color:#b7131b}.name{font-size:13px;font-weight:850;margin-top:6px}.vs{font-weight:1000;color:#69727b}.score{font-size:25px;color:var(--r)}.meta{text-align:center;border-top:1px solid var(--line);padding-top:10px;font-size:13px;font-weight:750}.pending{color:#9a5d00}.livebox{background:#fff0f0;border:1px solid #f4b6b8;border-radius:14px;padding:3px 13px 13px}.livebox h2{color:var(--r)}.comps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.comps button{min-height:118px;border:0;border-radius:14px;padding:17px;color:#fff;text-align:left;font-size:20px;font-weight:950}.comps small{display:block;margin-top:38px;font-size:13px}.purple{background:linear-gradient(135deg,#512074,#975ac3)}.red{background:linear-gradient(135deg,#a91017,#f0323a)}.green{background:linear-gradient(135deg,#176622,#3b9b4b)}.grey{background:linear-gradient(135deg,#46535e,#929ba2)}.newsgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.news{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.news img{height:140px;width:100%;object-fit:cover;background:#18232e}.news div{padding:13px}.news h3{font-size:16px;margin:8px 0}.news p{font-size:13px;color:#626c75}.news a{color:var(--r);font-weight:850;text-decoration:none}.hero{background:linear-gradient(120deg,#0b131b,#283a49);color:#fff;padding:22px;border-radius:15px}.hero h2{font-size:28px;margin:0}.selectors{display:flex;gap:12px;margin:15px 0;flex-wrap:wrap}.selectors label{background:#fff;border:1px solid var(--line);border-radius:11px;padding:9px;font-weight:800}.selectors select{border:0;background:#eef1f4;padding:7px;border-radius:7px}.tablewrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse}th,td{padding:11px;border-bottom:1px solid var(--line);text-align:center}th:nth-child(2),td:nth-child(2){text-align:left}.club{display:flex;align-items:center;gap:9px}.teamgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.teamtile{border:1px solid var(--line);background:#fff;border-radius:13px;padding:15px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:850}.teamtile .logo{margin:0}.teamhero{display:flex;gap:17px;align-items:center;background:#fff;border:1px solid var(--line);padding:20px;border-radius:15px}.teamhero .logo{width:90px;height:90px;margin:0}.squad{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.player{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.player img,.photoplaceholder{width:100%;height:190px;object-fit:cover;background:#e8ebee}.photoplaceholder{display:grid;place-items:center;color:#68717a;font-weight:800}.player div:last-child{padding:12px}.player b{display:block}.player small{color:#68717a}.empty{padding:22px;background:#fff;border:1px dashed #b8c0c7;border-radius:12px;color:#65707a}.back{border:0;background:none;color:var(--r);font-weight:900;margin-bottom:12px}.bottom{position:fixed;left:0;right:0;bottom:0;z-index:9;background:#09121beb;display:flex;justify-content:center}.bottom button{width:min(20%,180px);height:72px;border:0;background:none;color:#e6e9eb;font-size:22px}.bottom span{font-size:11px;display:block}.bottom .active{color:#ff3740;border-bottom:4px solid #ff3740}@media(max-width:850px){.matchgrid{grid-template-columns:1fr 1fr}.newsgrid,.comps,.teamgrid,.squad{grid-template-columns:1fr 1fr}}@media(max-width:600px){header{height:74px}.topnav{top:74px;justify-content:flex-start}.brand h1{font-size:19px}.brand p{display:none}.rail{grid-auto-columns:85%}.matchgrid{grid-template-columns:1fr}.newsgrid{grid-template-columns:1fr}.teamgrid{grid-template-columns:1fr}.player img,.photoplaceholder{height:145px}}
.ticker{height:40px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;overflow:hidden;position:sticky;top:132px;z-index:6}.ticker>strong{align-self:stretch;display:flex;align-items:center;flex:0 0 auto;background:var(--r);color:#fff;padding:0 17px;font-size:12px;letter-spacing:.4px;position:relative;z-index:2}.ticker-window{overflow:hidden;white-space:nowrap;flex:1}.ticker-track{display:inline-flex;align-items:center;gap:42px;min-width:max-content;padding-left:100%;animation:tickerMove var(--ticker-duration,35s) linear infinite;will-change:transform}.ticker-track:hover{animation-play-state:paused}.ticker-item{color:var(--ink);text-decoration:none;font-size:13px;font-weight:750}.ticker-item:before{content:"●";color:var(--r);font-size:8px;margin-right:10px}.ticker-item:hover{color:var(--r)}@keyframes tickerMove{from{transform:translateX(0)}to{transform:translateX(-100%)}}@media(prefers-reduced-motion:reduce){.ticker-track{animation:none;padding-left:15px;overflow-x:auto}}@media(max-width:600px){.ticker{top:126px}.ticker>strong{padding:0 11px;font-size:10px}.ticker-track{gap:30px}}

.compnav{display:flex;gap:8px;overflow:auto;margin:17px 0;background:#fff;border:1px solid var(--line);padding:7px;border-radius:12px}.compnav button{border:0;background:#eef1f4;padding:9px 13px;border-radius:8px;white-space:nowrap;font-size:13px;font-weight:850}.compnav button.active{background:var(--ink);color:#fff}.stats-note{margin-top:15px}

/* V13: logo, redes y automatizaciones */
.site-logo{width:58px;height:58px;object-fit:contain;border-radius:12px;background:#fff;padding:3px}.socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.socials a{display:inline-flex;padding:7px 10px;border-radius:999px;background:#111b25;color:#fff;text-decoration:none;font-size:12px;font-weight:900}.socials a:hover{background:var(--r)}.systemstatus{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.sys{background:#fff;border:1px solid var(--line);border-left:5px solid #20a249;border-radius:12px;padding:12px;display:flex;justify-content:space-between;gap:8px}.sys.error{border-left-color:var(--r)}.sys span{font-size:12px;color:#65707a;font-weight:800}.card img.logo,.teamtile img.logo,.club img.mini{background:#fff;border-radius:8px;padding:2px;image-rendering:auto}.ticker-item:before{content:"•"}@media(max-width:700px){.systemstatus{grid-template-columns:1fr 1fr}.site-logo{width:50px;height:50px}}

/* V14: logotipo real y acceso editorial */
.site-logo{width:64px;height:64px;object-fit:contain;border-radius:0;background:transparent;padding:0}.header-actions{display:flex;align-items:center;gap:12px}.admin-link{color:#fff;text-decoration:none;border:1px solid #ffffff55;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900}.admin-link:hover{background:#fff;color:#08111a}@media(max-width:600px){.site-logo{width:54px;height:54px}.admin-link{padding:6px 9px;font-size:11px}}

.venue{margin-top:9px;padding-top:9px;border-top:1px dashed var(--line);font-size:12px;text-align:center;font-weight:800;color:#46535e}.venue small{display:block;margin-top:3px;color:#707b84}.clubinfo{margin:12px 0 20px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.clubdesc{margin:0 0 15px;line-height:1.65;color:#38434c}.clubfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.clubfacts div{background:#f4f6f8;border-radius:10px;padding:11px}.clubfacts small{display:block;color:#68717a;font-weight:750;margin-bottom:4px}.clubfacts b{display:block}@media(max-width:750px){.clubfacts{grid-template-columns:1fr 1fr}}@media(max-width:480px){.clubfacts{grid-template-columns:1fr}}
#status, #home > h2:first-of-type, #systemStatus { display: none !important; }

/* Ocultar diagnostico tecnico en la web publica */
#status, #systemStatus { display: none !important; }

/* =========================================================
   PAGINACION DE NOTICIAS
   ========================================================= */

.news-pagination {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 22px 0 34px;
  padding: 0 16px;
}

.load-more-news {
  min-width: 220px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: #09131f;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease;
}

.load-more-news:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #142538;
}

.load-more-news:active:not(:disabled) {
  transform: translateY(0);
}

.load-more-news:disabled {
  cursor: default;
  opacity: 0.65;
}

.load-more-news-message {
  min-height: 20px;
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 640px) {
  .load-more-news {
    width: 100%;
    max-width: 420px;
  }
}
/* V19: rediseño de secciones. Identidad SR y cabecera original intactas. */
#home{display:block}.home-block{margin-top:18px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading h2{margin:8px 0 12px;font-size:19px}.section-heading h2 span{color:var(--r);margin-right:7px}.section-heading button{border:0;background:none;color:var(--r);font-weight:900}.livebox{display:grid;grid-template-columns:210px 1fr;gap:16px;background:linear-gradient(90deg,#fff0f0,#fff 48%);border:0;border-radius:0;padding:18px 0 10px;margin:0 -16px}.live-intro{padding:0 26px;border-right:1px solid #f0d8d8}.live-intro h2{margin:16px 0 5px;color:var(--r);font-size:17px}.live-intro p{margin:0;line-height:1.45}.live-pill{display:inline-block;background:linear-gradient(135deg,#ed2933,#c8101a);color:#fff;border-radius:7px;padding:8px 11px;font-weight:950;box-shadow:0 4px 12px #de202940}.livebox .rail{padding-right:16px}.card{box-shadow:0 2px 9px #09121b0b}.result-rail .card{min-height:145px}.newsgrid{grid-template-columns:repeat(4,1fr)}.live-centre{margin:22px 0;background:linear-gradient(115deg,#07121c,#142635);color:#fff;border-radius:13px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 10px 24px #09121b22}.live-centre>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 14px}.live-centre .live-pill{grid-row:1/3}.live-centre h2{margin:0;font-size:19px}.live-centre p{margin:0;color:#d5dbe0}.live-centre>button{border:0;border-radius:8px;background:linear-gradient(135deg,#ef2832,#d41520);color:#fff;padding:14px 22px;font-weight:950}.comps button{min-height:145px}.comps small{margin-top:45px}@media(max-width:700px){.livebox{grid-template-columns:1fr;margin:0 -16px;padding:14px 16px}.live-intro{padding:0;border:0}.live-intro h2{display:inline-block;margin:0 7px;font-size:15px}.live-intro p{display:none}.livebox .rail{padding-right:0}.section-heading h2{font-size:17px}.section-heading button{font-size:12px}.newsgrid{display:grid;grid-auto-flow:column;grid-auto-columns:82%;grid-template-columns:none;overflow:auto}.live-centre{align-items:stretch;flex-direction:column}.live-centre>div{align-items:start}.live-centre h2{font-size:16px}.live-centre>button{width:100%}.comps{display:grid;grid-auto-flow:column;grid-auto-columns:78%;grid-template-columns:none;overflow:auto;padding-bottom:7px}}
/* V20: Partidos y Centro LIVE */
.page-head,.live-page-hero{border-radius:16px;padding:24px;margin-bottom:16px}.page-head{background:linear-gradient(125deg,#fff,#fff2f2);border:1px solid #eadfe0}.page-head h2,.live-page-hero h2{font-size:32px;margin:10px 0 5px}.page-head p,.live-page-hero p{margin:0;color:#59636c}.page-kicker{color:var(--r);font-size:11px;font-weight:950;letter-spacing:1.3px}.back-home{border:0;background:none;color:inherit;font-weight:900;padding:0 0 10px}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;flex-wrap:wrap}.page-tabs{display:flex;gap:7px;background:#fff;border:1px solid var(--line);padding:6px;border-radius:12px;overflow:auto}.page-tabs button{border:0;background:#eef1f4;border-radius:8px;padding:10px 14px;font-weight:900;white-space:nowrap}.page-tabs button.active{background:var(--ink);color:#fff}.page-toolbar label{background:#fff;border:1px solid var(--line);border-radius:11px;padding:8px 10px;font-size:12px;font-weight:900}.page-toolbar select{border:0;background:#eef1f4;border-radius:7px;padding:8px;margin-left:8px}.page-summary{margin:8px 0 13px;color:#69737c;font-size:13px;font-weight:800}.page-matchgrid .card{min-height:185px}.live-page-hero{background:linear-gradient(120deg,#07111a,#173047);color:#fff;box-shadow:0 12px 28px #07111a2b}.live-page-hero p{color:#d3dbe2}.live-page-hero .live-pill{margin-top:2px}.live-page-status{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.live-status-chip{border:1px solid #ffffff2b;background:#ffffff12;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:850}.live-status-chip.error{border-color:#ff7780;color:#ffb4b8}.live-page-grid .card{border-top:4px solid var(--r)}@media(max-width:650px){.page-head,.live-page-hero{padding:18px;margin:0 -2px 14px}.page-head h2,.live-page-hero h2{font-size:25px}.page-toolbar{align-items:stretch}.page-tabs{width:100%}.page-tabs button{flex:1}.page-toolbar label{width:100%;display:flex;align-items:center;justify-content:space-between}.page-toolbar select{max-width:65%}.page-matchgrid{grid-template-columns:1fr}}
/* V21: Competiciones y clubes */
.competition-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#07111a 0%,#172b3d 62%,#a8111a 160%);padding:28px}.competition-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-75px;top:-105px;border:34px solid #ffffff0a}.competition-kicker{display:inline-block;color:#ff5961;font-size:11px;font-weight:950;letter-spacing:1.4px;margin-bottom:9px}.competition-hero p{color:#d5dce2;font-weight:750}.competition-panel,.club-section{margin-top:18px}.competition-panel>.section-heading,.club-section>.section-heading{margin-bottom:8px}.competition-panel .tablewrap{box-shadow:0 4px 18px #09121b0c}.competition-panel table thead{background:#111b25;color:#fff}.competition-panel th{font-size:12px;text-transform:uppercase;letter-spacing:.4px}.competition-panel tbody tr:hover{background:#fff5f5}.competition-panel tbody tr:nth-child(-n+2) td:first-child{color:var(--r);font-weight:950}.competition-panel td:last-child{font-size:17px}.competition-panel .selectors{background:#fff;border:1px solid var(--line);padding:10px;border-radius:13px}.teamgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.teamtile{min-height:92px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.teamtile:hover{transform:translateY(-2px);border-color:#e8a7aa;box-shadow:0 8px 18px #09121b12}.teamtile .logo{width:56px;height:56px}.teamhero{position:relative;overflow:hidden;min-height:150px;background:linear-gradient(125deg,#fff,#fff3f3);border:1px solid #eadfe0;padding:25px}.teamhero:after{content:"";position:absolute;right:-55px;bottom:-90px;width:190px;height:190px;border-radius:50%;background:#de20290b}.teamhero .logo{width:108px;height:108px;position:relative;z-index:1}.teamhero>div{position:relative;z-index:1}.teamhero h2{margin:0 0 6px;font-size:29px}.teamhero p{color:#5e6871;font-weight:800}.clubinfo{box-shadow:0 4px 18px #09121b0b}.clubdesc{font-size:15px}.clubfacts{grid-template-columns:repeat(4,1fr)}.clubfacts div{border-left:4px solid var(--r);background:#f7f8f9}.squad{grid-template-columns:repeat(4,minmax(0,1fr))}.player{transition:transform .15s ease,box-shadow .15s ease}.player:hover{transform:translateY(-2px);box-shadow:0 8px 18px #09121b12}.player b{font-size:15px}.player small{display:block;margin-top:4px}.compnav{position:sticky;top:132px;z-index:5;box-shadow:0 4px 16px #09121b0d}@media(max-width:850px){.teamgrid,.squad{grid-template-columns:repeat(2,minmax(0,1fr))}.clubfacts{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.competition-hero{padding:20px}.competition-hero h2{font-size:24px}.compnav{top:126px}.competition-panel .selectors{display:grid}.competition-panel .selectors label{display:flex;justify-content:space-between;align-items:center}.teamgrid{grid-template-columns:1fr}.teamtile{min-height:78px}.teamhero{align-items:flex-start;padding:18px}.teamhero .logo{width:82px;height:82px}.teamhero h2{font-size:22px}.clubfacts{grid-template-columns:1fr 1fr}.squad{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V20: Partidos y Centro LIVE */
.page-head,.live-page-hero{border-radius:16px;padding:24px;margin-bottom:16px}.page-head{background:linear-gradient(125deg,#fff,#fff2f2);border:1px solid #eadfe0}.page-head h2,.live-page-hero h2{font-size:32px;margin:10px 0 5px}.page-head p,.live-page-hero p{margin:0;color:#59636c}.page-kicker{color:var(--r);font-size:11px;font-weight:950;letter-spacing:1.3px}.back-home{border:0;background:none;color:inherit;font-weight:900;padding:0 0 10px}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;flex-wrap:wrap}.page-tabs{display:flex;gap:7px;background:#fff;border:1px solid var(--line);padding:6px;border-radius:12px;overflow:auto}.page-tabs button{border:0;background:#eef1f4;border-radius:8px;padding:10px 14px;font-weight:900;white-space:nowrap}.page-tabs button.active{background:var(--ink);color:#fff}.page-toolbar label{background:#fff;border:1px solid var(--line);border-radius:11px;padding:8px 10px;font-size:12px;font-weight:900}.page-toolbar select{border:0;background:#eef1f4;border-radius:7px;padding:8px;margin-left:8px}.page-summary{margin:8px 0 13px;color:#69737c;font-size:13px;font-weight:800}.page-matchgrid .card{min-height:185px}.live-page-hero{background:linear-gradient(120deg,#07111a,#173047);color:#fff;box-shadow:0 12px 28px #07111a2b}.live-page-hero p{color:#d3dbe2}.live-page-hero .live-pill{margin-top:2px}.live-page-status{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.live-status-chip{border:1px solid #ffffff2b;background:#ffffff12;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:850}.live-status-chip.error{border-color:#ff7780;color:#ffb4b8}.live-page-grid .card{border-top:4px solid var(--r)}@media(max-width:650px){.page-head,.live-page-hero{padding:18px;margin:0 -2px 14px}.page-head h2,.live-page-hero h2{font-size:25px}.page-toolbar{align-items:stretch}.page-tabs{width:100%}.page-tabs button{flex:1}.page-toolbar label{width:100%;display:flex;align-items:center;justify-content:space-between}.page-toolbar select{max-width:65%}.page-matchgrid{grid-template-columns:1fr}}
/* Pie legal */
.legal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 16px 95px;
  color: #68737c;
  font-size: 12px;
  background: #f5f6f7;
}
.legal-footer a {
  color: #4f5a63;
  font-weight: 800;
  text-decoration: none;
}
.legal-footer a:hover {
  color: #c51c25;
  text-decoration: underline;
}
/* v25: ultima hora continua tambien en movil */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: tickerMove var(--ticker-duration,35s) linear infinite !important;
    padding-left: 100% !important;
    overflow: visible !important;
  }
}
@media (max-width: 600px) {
  .ticker-window { min-width: 0; }
  .ticker-track {
    animation: tickerMove var(--ticker-duration,35s) linear infinite !important;
    padding-left: 100% !important;
    will-change: transform;
  }
}

/* REDISENO V40 SEGURO */
.v40-home{display:grid;gap:28px}.v40-systemstatus{margin:0}.v40-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px;border-radius:22px;background:radial-gradient(circle at 12% 8%,#174b3890,transparent 30%),linear-gradient(135deg,#06150f,#0d3022 58%,#071b14);box-shadow:0 20px 50px #08111a22}.v40-dashboard-panel{min-width:0;padding:17px;border:1px solid #ffffff18;border-radius:16px;background:#071b15d9;color:#fff;overflow:hidden}.v40-live-panel{background:linear-gradient(140deg,#132719,#06130e);border-color:#df334057}.v40-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.v40-panel-heading h2{margin:5px 0 0;color:#fff;font-size:14px;line-height:1.2}.v40-panel-heading button,.v40-section-heading button{border:1px solid #ffffff20;background:#ffffff10;color:inherit;padding:7px 10px;font-size:11px;white-space:nowrap}.v40-live-badge,.v40-panel-kicker,.v40-section-kicker{display:inline-flex;font-size:10px;font-weight:950;letter-spacing:1px}.v40-live-badge{color:#fff;padding:5px 8px;border-radius:999px;background:#de2029}.v40-panel-kicker{color:#69d39c}.v40-panel-content{display:grid!important;gap:8px!important;overflow:auto;max-height:260px;padding:0 3px 2px 0!important;scroll-snap-type:none!important}.v40-panel-content>*{min-width:100%!important;width:100%!important}.v40-section-heading{align-items:end}.v40-section-heading h2{margin:5px 0 0;font-size:21px}.v40-section-kicker{color:#198754}.v40-main-comps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.v40-comp-card{position:relative;display:flex!important;min-height:245px;padding:22px 16px 16px!important;flex-direction:column;align-items:center!important;justify-content:flex-end!important;gap:7px;overflow:hidden;border:0;border-radius:17px!important;color:#fff!important;text-align:center;isolation:isolate;box-shadow:0 14px 30px #07150e24}.v40-comp-card:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#06120d20 5%,#06120ddd 78%),radial-gradient(circle at 50% 10%,#ffffff30,transparent 40%)}.v40-comp-card:after{content:"";position:absolute;inset:auto -20% -45% -20%;height:70%;z-index:-1;background:#0006;transform:rotate(-7deg)}.v40-ligaf{background:linear-gradient(145deg,#3d174d,#8a1b57)}.v40-first{background:linear-gradient(145deg,#a71926,#39131a)}.v40-second{background:linear-gradient(145deg,#08704a,#0a2520)}.v40-third{background:linear-gradient(145deg,#414a45,#11251b)}.v40-comp-symbol{display:grid;width:72px;height:72px;margin:auto auto 14px;place-items:center;border:3px solid #fff;border-radius:50%;background:#09181299;color:#fff;font-size:22px;font-weight:1000}.v40-comp-card strong{font-size:19px;line-height:1.08}.v40-comp-card small{color:#fff;opacity:.9}.v40-comp-card em{color:#cfe7d9;font-size:11px;font-style:normal}.v40-enter,.v40-extra-enter{display:inline-flex;justify-content:center;margin-top:7px;padding:8px 14px;border-radius:8px;background:#168652;color:#fff;font-size:12px;font-weight:900}.v40-extra-comps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v40-extra-card{display:flex!important;min-height:265px;padding:22px!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:14px;border:0;border-radius:18px!important;color:#fff!important;text-align:left;overflow:hidden;box-shadow:0 15px 34px #08111a22}.v40-pref-card{background:radial-gradient(circle at 90% 0,#9dd86455,transparent 37%),linear-gradient(145deg,#08713f,#064428)}.v40-youth-card{background:radial-gradient(circle at 90% 0,#4d98ff55,transparent 37%),linear-gradient(145deg,#123e88,#082452)}.v40-women-card{background:radial-gradient(circle at 90% 0,#d267ff55,transparent 37%),linear-gradient(145deg,#791f85,#47114f)}.v40-extra-symbol{display:grid;width:58px;height:58px;place-items:center;border:2px solid #ffffffbb;border-radius:14px;background:#ffffff12;font-size:18px;font-weight:1000}.v40-extra-card strong{display:block;font-size:20px;line-height:1.08}.v40-extra-card small{display:block;margin-top:6px;color:#fff;opacity:.86}.v40-extra-card ul{display:grid;gap:7px;margin:0;padding:0;list-style:none;color:#edf8f1;font-size:13px}.v40-extra-card li:before{content:"\2713";margin-right:8px;font-weight:1000}.v40-extra-enter{margin-top:auto;background:#ffffff18;border:1px solid #ffffff30}.v40-news-block{padding-bottom:12px}
@media(max-width:950px){.v40-dashboard{grid-template-columns:1fr}.v40-panel-content{max-height:300px}.v40-main-comps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.v40-home{gap:20px}.v40-dashboard{padding:10px;border-radius:16px}.v40-dashboard-panel{padding:14px}.v40-section-heading{align-items:flex-start}.v40-section-heading h2{font-size:18px}.v40-section-heading button{font-size:10px}.v40-main-comps{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x mandatory}.v40-comp-card{flex:0 0 76%;min-height:230px;scroll-snap-align:start}.v40-extra-comps{grid-template-columns:1fr}.v40-extra-card{min-height:220px}}

/* V41 - LOGOTIPOS OFICIALES Y TARJETAS LIMPIAS */
.v41-league-logo{
  display:block;
  width:88px;
  height:88px;
  margin:auto auto 18px;
  padding:10px;
  object-fit:contain;
  border-radius:18px;
  background:#ffffffed;
  filter:drop-shadow(0 8px 14px #0005);
}
.v41-logo-ligaf{
  width:118px;
  padding:15px;
}
.v40-comp-card{
  min-height:225px;
}
.v40-comp-card em{
  display:none!important;
}
.v41-extra-logo{
  display:block;
  width:74px;
  height:74px;
  padding:9px;
  object-fit:contain;
  border-radius:16px;
  background:#ffffffed;
  filter:drop-shadow(0 8px 14px #0004);
}
.v40-extra-card{
  min-height:220px;
}
.v40-extra-card > div{
  margin-top:2px;
}
.v40-extra-card .v40-extra-enter{
  margin-top:auto;
}
@media(max-width:700px){
  .v41-league-logo{width:80px;height:80px}
  .v41-logo-ligaf{width:108px}
  .v40-comp-card{min-height:215px}
  .v41-extra-logo{width:66px;height:66px}
}
/* V42 - LIMPIEZA DE SUBTITULOS Y NUEVA IDENTIDAD FRF */
.v40-comp-card small:empty{display:none}
.v40-pref-card .v41-extra-logo{
  width:96px;
  height:72px;
  padding:0;
  object-fit:cover;
  object-position:center;
  background:#fff;
}
/* V43 - ALINEACION VERTICAL LOGO LIGA F */
.v40-main-comps .v40-comp-card{
  display:grid!important;
  grid-template-rows:104px 44px 28px 40px;
  align-items:center!important;
  justify-items:center!important;
  align-content:end!important;
  gap:5px!important;
}
.v40-main-comps .v41-league-logo{
  align-self:center!important;
  margin:0!important;
}
.v40-main-comps .v41-logo-ligaf{
  width:118px!important;
  height:88px!important;
  padding:15px!important;
  margin:0!important;
  align-self:center!important;
}
.v40-main-comps .v40-comp-card strong{
  align-self:center;
}
.v40-main-comps .v40-comp-card small{
  align-self:center;
  min-height:18px;
}
.v40-main-comps .v40-enter{
  align-self:end;
  margin:0!important;
}
@media(max-width:700px){
  .v40-main-comps .v40-comp-card{
    grid-template-rows:96px 42px 26px 40px;
  }
  .v40-main-comps .v41-logo-ligaf{
    width:108px!important;
    height:80px!important;
  }
}
/* V44 - REPARACION COMPLETA DE LAS CUATRO TARJETAS PRINCIPALES */
.v40-main-comps .v40-comp-card{
  display:flex!important;
  min-height:240px!important;
  padding:18px 16px 14px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
}
.v40-main-comps .v41-league-logo,
.v40-main-comps .v41-logo-ligaf{
  display:block!important;
  box-sizing:border-box!important;
  width:88px!important;
  height:88px!important;
  margin:0 auto 14px!important;
  padding:10px!important;
  align-self:auto!important;
  object-fit:contain!important;
  border-radius:16px!important;
  background:#ffffffed!important;
}
.v40-main-comps .v41-logo-ligaf{
  padding:12px!important;
}
.v40-main-comps .v40-comp-card strong{
  display:flex!important;
  width:100%!important;
  min-height:42px!important;
  margin:0!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:auto!important;
  font-size:18px!important;
  line-height:1.12!important;
  text-align:center!important;
}
.v40-main-comps .v40-comp-card small{
  display:flex!important;
  width:100%!important;
  min-height:24px!important;
  margin:0!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:auto!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.2!important;
  opacity:.92!important;
}
.v40-main-comps .v44-empty-subtitle{
  visibility:hidden!important;
}
.v40-main-comps .v40-enter{
  display:inline-flex!important;
  min-height:34px!important;
  margin:auto 0 0!important;
  padding:8px 14px!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
}
@media(max-width:700px){
  .v40-main-comps .v40-comp-card{
    min-height:226px!important;
    padding:16px 14px 13px!important;
  }
  .v40-main-comps .v41-league-logo,
  .v40-main-comps .v41-logo-ligaf{
    width:80px!important;
    height:80px!important;
    margin-bottom:12px!important;
  }
  .v40-main-comps .v40-comp-card strong{
    min-height:40px!important;
    font-size:17px!important;
  }
}
/* V45 - MENU MAS FUTBOL RIOJANO */
#topnav{position:relative;overflow:visible!important}
.v45-more-menu{position:relative;display:inline-flex;align-self:stretch;color:#fff}
.v45-more-menu summary{
  display:flex;align-items:center;gap:7px;height:100%;padding:0 14px;
  cursor:pointer;list-style:none;font-size:12px;font-weight:950;color:#fff;
  letter-spacing:.2px;white-space:nowrap;border-bottom:2px solid transparent
}
.v45-more-menu summary::-webkit-details-marker{display:none}
.v45-more-menu[open] summary,.v45-more-menu summary:hover{color:#5fe19a;border-bottom-color:#5fe19a}
.v45-more-panel{
  position:absolute;z-index:1000;top:calc(100% + 8px);right:0;width:340px;padding:10px;
  border:1px solid #ffffff16;border-radius:15px;background:#071711;
  box-shadow:0 20px 45px #0008
}
.v45-more-panel a{
  display:grid;grid-template-columns:50px 1fr;gap:12px;align-items:center;padding:10px;
  border-radius:11px;color:#fff;text-decoration:none
}
.v45-more-panel a:hover{background:#ffffff0f}
.v45-more-panel img{width:50px;height:50px;padding:5px;object-fit:contain;border-radius:10px;background:#fff}
.v45-more-panel strong,.v45-more-panel small{display:block}
.v45-more-panel strong{font-size:13px}.v45-more-panel small{margin-top:3px;color:#a9c6b5;font-size:11px}
@media(max-width:760px){
  .v45-more-menu{width:100%;justify-content:center}
  .v45-more-menu summary{min-height:42px;justify-content:center}
  .v45-more-panel{position:fixed;top:auto;right:12px;bottom:78px;left:12px;width:auto;max-height:70vh;overflow:auto}
}
/* V46 - CORRECCION DE LA BARRA SUPERIOR */
#topnav{
  position:sticky!important;
  top:0!important;
  z-index:1100!important;
  overflow:visible!important;
}
.v45-more-menu{
  position:relative!important;
  align-self:stretch!important;
  flex:0 0 auto!important;
}
.v45-more-menu summary{
  box-sizing:border-box!important;
  min-height:44px!important;
}
.v45-more-panel{
  z-index:1200!important;
}
@media(max-width:760px){
  #topnav{
    position:sticky!important;
    top:0!important;
  }
  .v45-more-menu{
    width:auto!important;
  }
  .v45-more-menu summary{
    min-height:44px!important;
  }
}
/* V47 - TRES COMPETICIONES CONECTADAS */
.v47-page{display:grid;gap:18px;padding:22px 0 40px}
.v47-page.hidden{display:none!important}
.v47-back{justify-self:start;border:1px solid #d5e2da;background:#fff;color:#0b3b27;padding:9px 14px;border-radius:9px;font-weight:900}
.v47-hero{display:grid;grid-template-columns:92px 1fr;gap:18px;align-items:center;padding:24px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#063f29,#071b15);box-shadow:0 16px 38px #07150e28}
.v47-hero img{width:92px;height:92px;object-fit:contain;padding:10px;border-radius:17px;background:#fff}
.v47-hero h1{margin:0;font-size:28px}.v47-hero p{margin:7px 0 0;color:#cce3d6}
.v47-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0}
.v47-tabs button{padding:10px 15px;border:1px solid #d6e2da;background:#fff;color:#173d2e;border-radius:999px;font-weight:900;white-space:nowrap}
.v47-tabs button.active{background:#087345;color:#fff;border-color:#087345}
.v47-content{min-height:220px}.v47-content.hidden{display:none!important}
.v47-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v47-card{display:grid;gap:10px;padding:15px;border:1px solid #dce7e0;border-radius:14px;background:#fff;box-shadow:0 8px 20px #07150e0d}
.v47-match-head{display:flex;justify-content:space-between;gap:8px;color:#577064;font-size:11px;font-weight:800}
.v47-team-row{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;font-weight:900}
.v47-team-row img,.v47-team img{width:34px;height:34px;object-fit:contain}
.v47-score{font-size:18px}.v47-note{color:#6b7f75;font-size:12px}
.v47-table-wrap{overflow:auto;border-radius:14px;border:1px solid #dce7e0;background:#fff}
.v47-table{width:100%;border-collapse:collapse}.v47-table th,.v47-table td{padding:11px 10px;border-bottom:1px solid #edf2ef;text-align:center}.v47-table th{background:#eef6f1;color:#17442f;font-size:11px}.v47-table td:nth-child(2),.v47-table th:nth-child(2){text-align:left}
.v47-team{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;padding:13px;border-radius:13px;background:#fff;border:1px solid #dce7e0}.v47-team img{width:44px;height:44px}.v47-team small{display:block;margin-top:3px;color:#697e73}
.v47-empty{padding:28px;border:1px dashed #b8cbc0;border-radius:14px;background:#f6faf7;color:#486658;text-align:center}
@media(max-width:900px){.v47-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.v47-page{padding:16px 0 32px}.v47-hero{grid-template-columns:68px 1fr;padding:18px}.v47-hero img{width:68px;height:68px}.v47-hero h1{font-size:21px}.v47-grid{grid-template-columns:1fr}.v47-tabs{padding-bottom:8px}}
/* V49 - TARJETAS PRINCIPALES INTERACTIVAS */
.v40-main-comps .v40-comp-card{cursor:pointer}
.v40-main-comps .v40-comp-card:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* V60 - NAVEGACION MOVIL ACCESIBLE Y BARRA INFERIOR SEGURA */
@media(max-width:760px){
  #topnav{
    position:relative!important;
    top:auto!important;
    z-index:7!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    height:auto!important;
    overflow:visible!important;
    padding:6px!important;
    gap:5px!important;
    background:#171f27!important;
  }

  #topnav > button{
    display:flex!important;
    min-width:0!important;
    min-height:42px!important;
    padding:7px 5px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #ffffff16!important;
    border-radius:8px!important;
    font-size:10px!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
  }

  #topnav > button.active{
    border-color:#ff3942!important;
    background:#ffffff0a!important;
  }

  #topnav .v45-more-menu{
    grid-column:1 / -1!important;
    display:block!important;
    width:100%!important;
  }

  #topnav .v45-more-menu summary{
    display:flex!important;
    width:100%!important;
    min-height:42px!important;
    padding:8px 12px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #5fe19a55!important;
    border-radius:8px!important;
    background:#0b2b20!important;
    color:#8cf0b7!important;
    font-size:11px!important;
    text-align:center!important;
  }

  .v45-more-panel{
    position:fixed!important;
    top:auto!important;
    right:10px!important;
    bottom:calc(76px + env(safe-area-inset-bottom))!important;
    left:10px!important;
    width:auto!important;
    max-height:65vh!important;
    overflow:auto!important;
  }

  main{
    padding-bottom:calc(110px + env(safe-area-inset-bottom))!important;
  }

  .legal-footer{
    padding-bottom:calc(105px + env(safe-area-inset-bottom))!important;
  }

  .bottom{
    min-height:calc(72px + env(safe-area-inset-bottom))!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
}
/* V61 - PARTIDOS COMPLETOS EN MOVIL Y BOTON MAS OPERATIVO */
@media(max-width:760px){
  #home .v40-panel-content > .card:first-child{
    display:block!important;
    min-height:0!important;
    height:auto!important;
    padding:12px!important;
    overflow:visible!important;
  }

  #home .v40-panel-content > .card:first-child .eyebrow{
    margin-bottom:5px!important;
    font-size:10px!important;
  }

  #home .v40-panel-content > .card:first-child .teamsline{
    grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)!important;
    margin:7px 0!important;
  }

  #home .v40-panel-content > .card:first-child .logo{
    width:42px!important;
    height:42px!important;
  }

  #home .v40-panel-content > .card:first-child .name{
    display:block!important;
    margin-top:3px!important;
    color:#08111a!important;
    font-size:11px!important;
    line-height:1.15!important;
    font-weight:900!important;
  }

  #home .v40-panel-content > .card:first-child .meta{
    display:block!important;
    padding-top:7px!important;
    color:#08111a!important;
    font-size:11px!important;
  }

  #home .v40-panel-content > .card:first-child .venue{
    display:block!important;
    margin-top:6px!important;
    padding-top:6px!important;
    color:#46535e!important;
    font-size:10px!important;
  }

  #home .v40-panel-content{
    max-height:none!important;
    overflow:visible!important;
  }
}
/* V62 - INFORMACION COMPLETA DEL PROXIMO PARTIDO EN PC */
@media(min-width:761px){
  #home #upcoming.v40-panel-content{
    display:block!important;
    width:100%!important;
    max-height:none!important;
    overflow:visible!important;
  }

  #home #upcoming.v40-panel-content > .card:first-child{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:13px!important;
    overflow:visible!important;
  }

  #home #upcoming .eyebrow{
    display:block!important;
    margin-bottom:5px!important;
    color:#626b74!important;
  }

  #home #upcoming .teamsline{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;
    margin:9px 0!important;
  }

  #home #upcoming .logo{
    display:block!important;
    width:46px!important;
    height:46px!important;
  }

  #home #upcoming .name{
    display:block!important;
    margin-top:4px!important;
    color:#08111a!important;
    font-size:12px!important;
    line-height:1.15!important;
    font-weight:900!important;
  }

  #home #upcoming .meta{
    display:block!important;
    padding-top:8px!important;
    color:#08111a!important;
    font-size:11px!important;
  }

  #home #upcoming .venue{
    display:block!important;
    margin-top:7px!important;
    padding-top:7px!important;
    color:#46535e!important;
    font-size:10px!important;
  }
}