
/* CUDO vNext · revisión visual originada en perfil social @cudolaorilla.
   Rojo/blanco/azul institucional. Nunca reemplaza la versión pública. */
:root{--vnext-blue:#03163d;--vnext-red:#d51e32;--vnext-yellow:#f6cc42}
.vnext-site-status{padding:11px 20px;text-align:center;color:#e8edf8;background:#122f5a;letter-spacing:.1em;font-size:11px;font-weight:850;border-top:3px solid var(--vnext-red)}
.cudo-social-editorial{background:linear-gradient(120deg,#05193c 0%,#0d315d 80%);color:white;position:relative;overflow:hidden;padding:45px 0}
.cudo-social-editorial::before{content:"C U D O";font:900 170px/1 'Barlow Condensed',Impact,sans-serif;color:#ffffff06;position:absolute;right:-30px;top:-40px;pointer-events:none}
.cudo-social-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.75fr);align-items:center;gap:35px;position:relative}
.cudo-social-copy h2{font:900 clamp(46px,5.7vw,78px)/.86 'Barlow Condensed',Impact,sans-serif;margin:16px 0 18px;letter-spacing:.005em}
.cudo-social-copy h2 span{color:var(--vnext-yellow)}
.cudo-social-copy p{color:#e1e9f4;line-height:1.6;max-width:510px;font-size:15px}
.cudo-social-copy small{color:#b9cce3;font-size:10px;display:block;margin-top:17px;max-width:550px}
.cudo-social-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}
.cudo-social-actions .btn{font-size:12px}
.cudo-social-photo{position:relative;overflow:hidden;border:6px solid #fff;box-shadow:15px 15px 0 #db2941;min-height:300px}
.cudo-social-photo img{display:block;width:100%;height:340px;object-fit:cover}
.cudo-social-photo-caption{font:850 20px 'Barlow Condensed',Impact,sans-serif;position:absolute;bottom:0;left:0;right:0;padding:17px;background:linear-gradient(0deg,#001a42e8,transparent);letter-spacing:.08em}
.vnext-social-footer{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-top:20px;width:100%;padding-top:14px;border-top:1px solid #ffffff26;font-weight:750;font-size:13px}
.vnext-social-footer a{color:#f7d25b;text-decoration:none}
.vnext-social-footer a:hover,.vnext-social-footer a:focus-visible{text-decoration:underline}
@media(max-width:760px){
 .cudo-social-editorial{padding:30px 0}
 .cudo-social-layout{grid-template-columns:1fr;gap:18px}
 .cudo-social-copy h2{font-size:52px}
 .cudo-social-photo{min-height:200px;border-width:4px;box-shadow:9px 9px 0 #db2941}
 .cudo-social-photo img{height:230px}
 .cudo-social-actions .btn{min-height:44px;display:inline-flex;align-items:center}
 .vnext-site-status{font-size:9px;line-height:1.55}
 .vnext-social-footer{gap:14px;margin-top:14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* CANONICAL CUDO MATCH CENTER - only the public association projections. */
.cudo-live-card{flex:1 1 280px;min-width:0;background:#fff;color:#061d41;border:1px solid #d6e0ed;border-top:4px solid #d51e32;border-radius:0 0 8px 8px;padding:15px;box-shadow:0 5px 18px #03163d15}
.home-match-grid:has(.cudo-live-card){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cudo-live-card-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #dce4ef;font-size:11px;color:#48627e}
.cudo-live-card-top strong{color:#b31d30;letter-spacing:.1em;font-weight:900}
.cudo-live-versus{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 0;font:850 24px/.95 'Barlow Condensed',Impact,sans-serif}
.cudo-live-versus strong{flex:1;min-width:0}
.cudo-live-versus strong:last-child{text-align:right}
.cudo-live-versus span{color:#ba1b31;font-size:17px}
.cudo-live-series{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.cudo-live-serie{background:#f0f4f9;border-radius:5px;text-align:center;padding:8px 3px;display:grid;gap:3px}
.cudo-live-serie span{font-size:9px;font-weight:800;color:#49617d}
.cudo-live-serie b{font:900 19px 'Barlow Condensed',sans-serif;color:#09274a}
.cudo-live-serie b.pending{font:800 9px 'Inter',sans-serif;color:#7d5a22}
.cudo-live-card-footer{color:#677d98;font-size:10px;margin-top:9px}
.cudo-live-status{font-size:13px;padding:13px 20px;color:#435e7f;background:white}
@media(max-width:760px){.home-match-grid:has(.cudo-live-card){grid-template-columns:1fr}.cudo-live-versus{font-size:22px}.cudo-live-card{padding:11px}}

/* Provenance: legacy V8 content is an archive, never the live sports authority. */
.vnext-content-provenance{background:#fff5d8;color:#5d4524;padding:10px 5%;font-size:12px;line-height:1.5;border-bottom:1px solid #eed9a0;text-align:center}

/* Championship typography: readable instead of overlapping on narrow phones. */
.champ-title{font-family:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;font-weight:900;letter-spacing:.005em;line-height:1.07}
@media(max-width:560px){.champ-title{font-size:clamp(30px,8vw,36px);line-height:1.12;letter-spacing:0}}

/* Reuse the eleven published Chépica club crests, CUDO stays the original. */
.champ-team-crest{width:40px;height:46px;flex:0 0 40px;object-fit:contain;object-position:center;background:transparent}
@media(max-width:900px){.champ-team-crest{width:34px;height:40px;flex-basis:34px}}
@media(max-width:560px){.champ-team-crest{width:30px;height:35px;flex-basis:30px}}

/* Keep standings above the longer fixture (cognitive priority of supporters). */
.cudo-standings-shortcut{background:#f1f5fa;border-top:4px solid #e21b2d;padding:20px 0;color:#082748}
.cudo-standings-shortcut .wrap{display:flex;justify-content:space-between;gap:16px;align-items:center}
.cudo-standings-shortcut span{font-size:11px;letter-spacing:.1em;font-weight:850;color:#b81c36}
.cudo-standings-shortcut h2{font:900 clamp(28px,4vw,43px) 'Barlow Condensed',Impact,sans-serif;margin:5px 0}
.cudo-standings-shortcut p{font-size:12px;color:#53657a}
.cudo-standings-cta{background:#0a3158;color:white;text-decoration:none;padding:15px 17px;border-radius:7px;font-weight:850;font-size:12px;white-space:nowrap}
#champStandings{scroll-margin-top:90px}
.stand-club .stand-crest{object-fit:contain;flex:none;width:34px;height:36px}
.vnext-admin-nav{font-size:11px;white-space:nowrap}
@media(max-width:760px){.cudo-standings-shortcut .wrap{display:grid;gap:10px}.cudo-standings-cta{display:block;text-align:center}.vnext-admin-nav{display:none}#champStandings{scroll-margin-top:84px}}

/* CUDO vNext FC-009: Match card scanning in 4 vertical rows on phones,
   matching the confirmed V8 cognitive reference supplied by the owner. */
@media(max-width:760px){
  .view-partidos .champ-match.governed{margin:7px 12px 14px;border:1px solid #e0e6ec;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 5px 14px rgba(8,36,71,.06)}
  .view-partidos .champ-match-main{padding:17px 12px;border-bottom:1px solid #e3eaf1;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)}
  .view-partidos .champ-team-name{font-weight:850;font-size:12px;line-height:1.25}
  .view-partidos .champ-series-grid{display:flex;flex-direction:column;gap:0;padding:4px 14px 2px;background:#fff}
  .view-partidos .champ-series-pill{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:'label score' 'status score';align-items:center;gap:1px 8px;
    padding:11px 0 10px;border:0;border-bottom:1px solid #e4ebef;border-radius:0;
    background:transparent;color:#143758
  }
  .view-partidos .champ-series-pill:last-child{border-bottom:0}
  .view-partidos .champ-series-pill strong{grid-area:label;font-size:12px;line-height:1.25;font-weight:800;color:#576879}
  .view-partidos .champ-series-pill b{grid-area:score;font-size:22px;line-height:1;letter-spacing:.015em;font-weight:900;justify-self:end}
  .view-partidos .champ-series-pill small{grid-area:status;margin:0;font-size:10px;color:#66798e}
  .view-partidos .champ-series-pill.official small{display:none}
  .view-partidos .champ-series-pill.official,.view-partidos .champ-series-pill.pending,.view-partidos .champ-series-pill.review,.view-partidos .champ-series-pill.annulled{background:transparent;border-color:#e4ebef}
  .view-partidos .champ-governance-state{margin:5px 14px 14px;border-radius:7px;padding:11px 9px;text-align:left;text-transform:uppercase;letter-spacing:.05em;font-weight:900;font-size:11px}
  .view-partidos .champ-governance-state.complete{background:#e2f4e8;color:#16754b}
}

/* MI CUDO: personal belonging, not another league-wide dashboard. */
#mi-cudo{scroll-margin-top:90px}
.cudo-my-club{background:#f2f5f8;padding:37px 0 28px;color:#061f41;border-top:5px solid #e21b2d;position:relative}
.cudo-my-club .wrap{position:relative}
.cudo-my-club-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:20px}
.cudo-my-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:900;color:#bb2033;margin:0 0 8px}
.cudo-my-club-head h2{font:900 clamp(48px,5.8vw,86px)/.83 'Barlow Condensed',Impact,sans-serif;margin:0 0 15px;letter-spacing:-.015em}
.cudo-my-club-head h2 em{font-style:normal;color:#d81f36}
.cudo-my-club-head p{color:#49627b;font-size:15px;line-height:1.55;max-width:540px}
.cudo-my-crest{object-fit:contain;flex:none;width:92px;height:126px;filter:drop-shadow(0 8px 10px #061b3930)}
.cudo-my-grid{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(250px,.84fr);gap:16px}
.cudo-my-content{padding:22px;background:#fff;border:1px solid #dce6ee;border-radius:15px;box-shadow:0 7px 23px #092b4a0b}
.cudo-my-positions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cudo-my-position{min-width:0;background:#092e58;color:white;border-radius:12px;padding:18px 16px 15px;display:flex;flex-direction:column;gap:7px}
.cudo-my-position:nth-child(2){background:#e9f0f7;color:#073159}
.cudo-my-position small{font-size:10px;letter-spacing:.11em;font-weight:900}
.cudo-my-position strong{font:900 clamp(35px,4.8vw,62px)/.95 'Barlow Condensed',Impact,sans-serif}
.cudo-my-position span{font-size:10px;font-weight:750;line-height:1.4}
.cudo-my-next{border-top:1px solid #dce4ed;margin-top:19px;padding-top:17px;display:grid;gap:7px}
.cudo-my-next small{font-size:10px;font-weight:900;letter-spacing:.11em;color:#b52138}
.cudo-my-next strong{font:900 clamp(26px,3.1vw,38px)/.95 'Barlow Condensed',Impact,sans-serif;color:#062448}
.cudo-my-next span{font-size:11px;color:#647a90;font-weight:700}
.cudo-my-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 12px}
.cudo-my-actions a,.cudo-my-actions button{min-height:45px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:10px 14px;font-size:11px;letter-spacing:.025em;font-weight:900;text-decoration:none}
.cudo-my-primary{background:#de1e32;color:#fff}
.cudo-my-share{background:#fff;color:#113658;border:1px solid #cddbe8;cursor:pointer}
.cudo-my-source{font-size:10px;color:#708092;line-height:1.45;margin:0}
.cudo-my-photo{position:relative;border-radius:15px;overflow:hidden;min-height:330px;margin:0;background:#0a2c51}
.cudo-my-photo img{width:100%;height:100%;min-height:330px;object-fit:cover;object-position:50% 55%;display:block}
.cudo-my-photo:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(0deg,#061b3af0,transparent);pointer-events:none}
.cudo-my-photo figcaption{position:absolute;bottom:23px;left:23px;right:20px;color:#fff;font:850 clamp(22px,2.6vw,33px)/1 'Barlow Condensed',Impact,sans-serif;z-index:1}
.cudo-my-photo figcaption strong{color:#ffe05b}
.cudo-my-community{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.cudo-my-community a{display:flex;flex-direction:column;gap:7px;min-width:0;padding:17px 15px;text-decoration:none;background:#fff;border-radius:11px;border:1px solid #dde6ef;color:#08284d}
.cudo-my-community a>span{font-size:9px;font-weight:850;letter-spacing:.09em;color:#bc2538}
.cudo-my-community a>strong{font:850 23px/1 'Barlow Condensed',Impact,sans-serif}
.cudo-my-community a>small{font-size:10px;line-height:1.4;color:#566d84}
.cudo-my-community a:hover,.cudo-my-community a:focus-visible{outline:2px solid #e21b2d;outline-offset:1px}
.stand-table tbody tr.stand-my-club{background:#fdf7e4}
.stand-table tbody tr.stand-my-club .stand-club{border-left:3px solid #cb2034;padding-left:8px}
.stand-my-club .stand-club span{font-weight:900;color:#a51d35}
@media(max-width:760px){
 #mi-cudo{scroll-margin-top:78px}
 .cudo-my-club{padding:26px 0 19px}
 .cudo-my-club-head{align-items:flex-start;gap:10px}
 .cudo-my-club-head h2{font-size:55px;line-height:.83}
 .cudo-my-club-head p{font-size:12px;line-height:1.55}
 .cudo-my-crest{width:65px;height:96px}
 .cudo-my-grid{grid-template-columns:1fr}
 .cudo-my-content{padding:13px}
 .cudo-my-positions{gap:9px}
 .cudo-my-position{padding:12px 10px}
 .cudo-my-position strong{font-size:43px}
 .cudo-my-position span{font-size:9px}
 .cudo-my-next strong{font-size:29px}
 .cudo-my-actions a,.cudo-my-actions button{flex:1;min-width:136px;padding:10px 11px}
 .cudo-my-photo{min-height:225px;max-height:270px}
 .cudo-my-photo img{height:270px;min-height:270px;object-position:center 42%}
 .cudo-my-photo figcaption{bottom:15px;left:16px;font-size:27px}
 .cudo-my-community{grid-template-columns:1fr;gap:8px}
 .cudo-my-community a{padding:12px 14px;gap:5px}
 .cudo-my-community a>strong{font-size:22px}
}

.cudo-my-position strong{white-space:nowrap}.cudo-my-position span{overflow-wrap:anywhere}

/* A shared rank is a small supporting badge, not part of the large number. */
.cudo-my-position .cudo-my-tie{align-self:flex-start;background:#ffffff25;border-radius:4px;padding:4px 6px;font:900 9px/1.2 system-ui,sans-serif;letter-spacing:.04em;white-space:normal}
.cudo-my-position:nth-child(2) .cudo-my-tie{background:#d1deea;color:#0c4269}
.cudo-my-position .cudo-my-tie[hidden]{display:none!important}
.cudo-my-position strong{white-space:nowrap;overflow:visible}
@media(max-width:760px){
 .cudo-my-position strong{font-size:clamp(37px,10vw,48px)}
 .cudo-my-position .cudo-my-tie{font-size:8px;line-height:1.3}
}
