.match-page{min-height:calc(100vh - 162px);padding:38px 0 90px}.match-loading,.match-error{display:grid;place-items:center;min-height:480px;text-align:center}.match-loading p{color:var(--muted)}.match-error[hidden],.match-loading[hidden],[data-match][hidden],.demo-warning[hidden]{display:none}.match-error h1{margin:0 0 8px}.match-error p{color:var(--muted)}.match-error a{color:var(--mint);font-weight:800}.demo-warning{display:flex;align-items:center;gap:14px;margin-bottom:13px;padding:11px 14px;border:1px solid rgba(242,201,76,.3);border-radius:10px;color:#e8d487;background:rgba(242,201,76,.06);font-size:.72rem}.demo-warning strong{color:var(--warn);font-size:.63rem;letter-spacing:.1em}.match-hero{padding:27px;border:1px solid var(--line2);border-radius:18px 18px 0 0;background:linear-gradient(135deg,#0b2021,#071116)}.match-meta{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.match-meta span{padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:#86a0a2;font-size:.63rem}.match-title{display:grid;grid-template-columns:1fr 65px 1fr;align-items:center;gap:25px;padding:38px 6% 32px}.match-title div{min-width:0}.match-title .away{text-align:right}.match-title small{color:var(--mint);font-size:.62rem;font-weight:850;letter-spacing:.16em}.match-title h1{overflow:hidden;margin:7px 0 0;text-overflow:ellipsis;font-size:clamp(2rem,5vw,4rem);white-space:nowrap}.match-title>b{display:grid;width:58px;height:58px;place-items:center;border:1px solid var(--line2);border-radius:50%;color:var(--mint);font-size:.78rem}.module-health{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.health-pill{display:flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;color:#8aa1a3;font-size:.62rem}.health-pill i{width:6px;height:6px;border-radius:50%;background:#65797b}.health-pill.available i{background:var(--mint)}.health-pill.stale i{background:var(--warn)}.health-pill.unavailable i{background:#ef6d6d}.match-tabs{position:sticky;z-index:5;top:70px;display:grid;grid-template-columns:repeat(5,1fr);overflow-x:auto;border-inline:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(6,14,18,.95);backdrop-filter:blur(14px)}.match-tabs button{padding:17px 12px;border:0;border-bottom:2px solid transparent;color:var(--muted);background:transparent;font-size:.78rem;font-weight:850;cursor:pointer}.match-tabs button:hover,.match-tabs button.active{border-color:var(--mint);color:var(--mint);background:rgba(32,230,178,.045)}.module-view{min-height:420px;padding-top:18px}.module-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 2px}.module-top h2{margin:0 0 4px;font-size:1.42rem}.module-top p{margin:0;color:var(--muted);font-size:.75rem}.source-state{display:flex;align-items:center;gap:7px;color:#7d9698;font-size:.65rem}.source-state i{width:7px;height:7px;border-radius:50%;background:var(--mint)}.data-panel{overflow:hidden;margin-bottom:12px;border:1px solid var(--line);border-radius:14px;background:rgba(9,20,25,.72)}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 17px;border-bottom:1px solid var(--line)}.panel-title h3{margin:0;font-size:.86rem}.panel-title span{color:#688083;font-size:.63rem}.probabilities{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:17px}.probabilities div{display:grid;place-items:center;padding:20px;border:1px solid var(--line);border-radius:11px;background:#061013}.probabilities small{color:#698083;font-size:.6rem;letter-spacing:.12em}.probabilities strong{margin-top:6px;color:var(--mint);font:850 1.65rem ui-monospace,monospace}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:12px 16px;border-bottom:1px solid rgba(79,223,193,.09);text-align:left;font-size:.73rem}.data-table th{color:#658083;font-size:.58rem;letter-spacing:.09em}.data-table tr:last-child td{border-bottom:0}.data-table td:last-child,.data-table th:last-child{text-align:right}.value{color:var(--mint);font:800 .75rem ui-monospace,monospace}.pill{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:.57rem;font-weight:850}.pill.good{color:var(--mint);background:rgba(32,230,178,.08);border:1px solid rgba(32,230,178,.28)}.pill.warn{color:var(--warn);background:rgba(242,201,76,.07);border:1px solid rgba(242,201,76,.26)}.pill.muted{color:#87999b;background:rgba(135,153,155,.06);border:1px solid rgba(135,153,155,.2)}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.team-panel{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:rgba(9,20,25,.72)}.team-panel>h3{margin:0;padding:15px 17px;border-bottom:1px solid var(--line);font-size:.86rem}.metric-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 17px;border-bottom:1px solid rgba(79,223,193,.08)}.metric-row:last-child{border-bottom:0}.metric-row span{color:var(--muted);font-size:.71rem}.metric-row strong{font:800 .75rem ui-monospace,monospace}.h2h-list{display:grid}.h2h-row{display:grid;grid-template-columns:105px 1fr 70px 1fr 150px;align-items:center;gap:14px;padding:14px 17px;border-bottom:1px solid rgba(79,223,193,.09);font-size:.72rem}.h2h-row:last-child{border-bottom:0}.h2h-date{color:#789194}.h2h-team{display:grid}.h2h-team small{color:#587174;font-size:.54rem;letter-spacing:.1em}.h2h-team.away{text-align:right}.h2h-score{text-align:center;color:#f0d980;font:850 1rem ui-monospace,monospace}.h2h-comp{color:#71898b;text-align:right}.ladder{display:flex;gap:8px;flex-wrap:wrap;padding:17px}.step{display:flex;gap:6px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:#8fa5a7;font-size:.67rem}.step strong{color:var(--mint);font-family:ui-monospace,monospace}.context-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:14px}.context-card{padding:16px;border:1px solid var(--line);border-radius:11px;background:#061013}.context-card small{color:var(--mint);font-size:.58rem;font-weight:850;letter-spacing:.1em}.context-card strong{display:block;margin:6px 0 3px;font-size:.85rem}.context-card p{margin:0;color:var(--muted);font-size:.7rem}.module-note{padding:14px 17px;border-left:3px solid var(--warn);border-radius:0 10px 10px 0;color:#a99f75;background:rgba(242,201,76,.05);font-size:.71rem}@media(max-width:700px){.match-title{grid-template-columns:1fr 42px 1fr;gap:10px;padding-inline:0}.match-title h1{font-size:1.55rem}.match-title>b{width:40px;height:40px}.match-tabs{grid-template-columns:repeat(5,minmax(100px,1fr))}.comparison-grid{grid-template-columns:1fr}.h2h-row{grid-template-columns:1fr 52px 1fr}.h2h-date,.h2h-comp{grid-column:1/-1}.h2h-comp{text-align:left}.context-grid{grid-template-columns:1fr}.probabilities{grid-template-columns:1fr}.data-table{min-width:600px}.data-panel.table-scroll{overflow-x:auto}.demo-warning{align-items:flex-start;flex-direction:column;gap:3px}}

/* Cabecera unificada: nombres completos y contexto del partido sin repetir títulos. */
.match-title h1{overflow:visible;margin-bottom:-.1em;padding-bottom:.12em;text-overflow:clip;white-space:normal;font-size:clamp(1.75rem,4.2vw,3.45rem);line-height:1.16;overflow-wrap:anywhere;text-wrap:balance}
.match-title h1{color:#dffdf4;background:linear-gradient(100deg,#8bf7e0 0%,#f7fffc 43%,#fff0a6 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 11px rgba(45,212,160,.22)) drop-shadow(0 0 24px rgba(34,211,238,.08))}
.match-title small{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid rgba(45,212,160,.24);border-radius:999px;background:rgba(45,212,160,.07);box-shadow:0 0 16px rgba(45,212,160,.05);line-height:1}
.match-title small::before{width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor;content:""}
.match-title .away small{justify-content:flex-end}
.hero-context{display:grid;gap:8px;margin:0 0 22px}
.hero-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hero-context-card,.hero-team-context article{min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:rgba(32,230,178,.035)}
.hero-context-card small,.hero-team-context small{display:block;margin-bottom:6px;color:var(--mint);font-size:.6rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.hero-context-card strong{display:block;color:#f0faf6;font-size:.8rem;line-height:1.45;overflow-wrap:anywhere}
.hero-context-card p{margin:4px 0 0;color:#91a7a7;font-size:.68rem;line-height:1.4}
.hero-context-card.pending strong{color:#e8d487}
.hero-context-card.danger strong{color:#ff6b72}
.hero-context-card.clear strong,.hero-context-card.ok strong{color:var(--mint)}
.hero-context-card.tournament-card{border-color:rgba(250,204,21,.24);background:linear-gradient(135deg,rgba(250,204,21,.075),rgba(32,230,178,.025))}
.hero-context-card.tournament-card strong{color:#f6d56a;text-shadow:0 0 14px rgba(250,204,21,.18)}
.hero-context-card.time-venue strong{color:#f8fbff;font-size:.92rem}
.hero-context-card.time-venue strong,.hero-context-card.time-venue p{display:inline}
.hero-context-card.time-venue strong::after{color:#557c78;content:" · "}
.hero-context-card.time-venue p{color:#80d8c2;font-weight:700}
.hero-context-card.referee-card p{color:#f6d56a;font-weight:800;text-shadow:0 0 12px rgba(250,204,21,.12)}
.hero-context-card.tension-card{position:relative;overflow:hidden}
.hero-context-card.tension-card::after{position:absolute;right:10px;top:10px;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 13px currentColor;content:""}
.hero-context-card.tension-card strong{font-size:.9rem;letter-spacing:.035em}
.hero-context-card.level-low{color:#60a5fa;border-color:rgba(96,165,250,.32);background:rgba(96,165,250,.065)}
.hero-context-card.level-low strong{color:#7db6ff}
.hero-context-card.level-low-medium{color:#22d3ee;border-color:rgba(34,211,238,.3);background:rgba(34,211,238,.06)}
.hero-context-card.level-low-medium strong{color:#67e8f9}
.hero-context-card.level-medium{color:#4ade80;border-color:rgba(74,222,128,.3);background:rgba(74,222,128,.06)}
.hero-context-card.level-medium strong{color:#86efac}
.hero-context-card.level-medium-high{color:#f59e0b;border-color:rgba(245,158,11,.34);background:rgba(245,158,11,.07)}
.hero-context-card.level-medium-high strong{color:#fbbf24;text-shadow:0 0 13px rgba(245,158,11,.16)}
.hero-context-card.level-high{color:#fb7185;border-color:rgba(251,113,133,.34);background:rgba(251,113,133,.07)}
.hero-context-card.level-high strong{color:#ff7a88;text-shadow:0 0 13px rgba(251,113,133,.18)}
.rest-lines{display:grid;gap:6px}
.rest-lines>span{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rest-lines b{overflow:hidden;color:#d8ebe6;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}
.rest-lines em{flex:0 0 auto;padding:3px 7px;border:1px solid currentColor;border-radius:999px;font-size:.57rem;font-style:normal;font-weight:900;letter-spacing:.035em}
.rest-lines .rest-critical{color:#ff6b72;background:rgba(255,107,114,.08)}
.rest-lines .rest-tired{color:#fb923c;background:rgba(251,146,60,.08)}
.rest-lines .rest-balanced{color:#facc15;background:rgba(250,204,21,.07)}
.rest-lines .rest-good{color:#4ade80;background:rgba(74,222,128,.07)}
.rest-lines .rest-fresh{color:#2dd4bf;background:rgba(45,212,191,.08)}
.rest-lines .rest-neutral{color:#94a3b8;background:rgba(148,163,184,.07)}
.medical-doubt{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(245,158,11,.24)}
.medical-doubt i{display:grid;width:20px;height:20px;place-items:center;border:1px solid rgba(245,158,11,.44);border-radius:50%;color:#fbbf24;background:rgba(245,158,11,.08);font-size:.64rem;font-style:normal;font-weight:900}
.medical-doubt span{display:grid;gap:1px;min-width:0;line-height:1.28}
.medical-doubt b{color:#fbbf24;font-size:.55rem;letter-spacing:.06em;text-transform:uppercase}
.medical-doubt em{color:#f6dd9a;font-size:.69rem;font-style:normal;font-weight:750;overflow-wrap:anywhere}
.medical-doubt.clear{border-top-color:rgba(74,222,128,.2)}
.medical-doubt.clear i{border-color:rgba(74,222,128,.4);color:#4ade80;background:rgba(74,222,128,.07)}
.medical-doubt.clear b{color:#86efac}
.medical-doubt.clear em{color:#b7d8cb}
.absence-card.danger{border-color:rgba(255,107,114,.23);background:linear-gradient(135deg,rgba(255,107,114,.045),rgba(32,230,178,.025))}
.hero-team-context,.hero-absence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hero-team-context div{color:#dcebea;font-size:.72rem;line-height:1.45}
.hero-team-context b{color:#a5f3fc}
.match-hero:not(.compact){padding:20px 22px 22px}
.match-hero:not(.compact) .match-title{padding:27px 6% 23px}
.match-hero:not(.compact) .hero-context{gap:6px;margin-bottom:12px}
.match-hero:not(.compact) .hero-context-grid,
.match-hero:not(.compact) .hero-team-context,
.match-hero:not(.compact) .hero-absence-grid{gap:6px}
.match-hero:not(.compact) .hero-context-card,
.match-hero:not(.compact) .hero-team-context article{padding:9px 12px}
.match-hero:not(.compact) .hero-context-card small,
.match-hero:not(.compact) .hero-team-context small{margin-bottom:4px}
.match-hero:not(.compact) .hero-context-card strong,
.match-hero:not(.compact) .hero-team-context div{line-height:1.35}
.module-view.analysis-view{padding-top:0}
@media(max-width:900px){.hero-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hero-context-grid,.hero-team-context,.hero-absence-grid{grid-template-columns:1fr}.match-title h1{font-size:clamp(1.25rem,6vw,1.7rem)}}
.match-tabs{scrollbar-width:none}.match-tabs::-webkit-scrollbar{display:none;width:0;height:0}

/* Navegación de módulos primero; la ficha compartida queda debajo. */
.match-tabs{border:1px solid var(--line);border-radius:18px 18px 0 0}
.match-hero{border-top:0;border-radius:0 0 18px 18px}

/* En módulos de consulta, la cabecera deja espacio al contenido principal. */
.match-hero.compact{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:24px;padding:16px 22px}
.match-hero.compact .match-meta{justify-content:flex-start;align-content:center;max-width:260px}
.match-hero.compact .match-meta span{padding:4px 8px;font-size:.67rem;font-weight:700}
.match-hero.compact .match-title{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:14px;width:100%;padding:0}
.match-hero.compact .match-title h1{margin-top:4px;font-size:clamp(1.05rem,2.2vw,1.55rem);line-height:1.16}
.match-hero.compact .match-title small{font-size:.58rem}
.match-hero.compact .match-title>b{width:34px;height:34px;font-size:.63rem}
.match-hero.compact .hero-context,
.match-hero.compact .module-health{display:none}
@media(max-width:760px){.match-hero.compact{grid-template-columns:1fr;gap:12px}.match-hero.compact .match-meta{justify-content:center;max-width:none}.match-hero.compact .match-title{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)}}

/* Ajuste transversal para lectura cómoda en teléfonos. */
@media(max-width:700px){
  .match-page{padding-top:20px}
  .module-top{align-items:flex-start;flex-direction:column;gap:9px;padding-block:15px}
  .module-top h2{font-size:1.28rem;line-height:1.15}
  .module-top p{font-size:.78rem;line-height:1.5}
  .source-state{align-self:flex-start;font-size:.69rem}
  .panel-title{align-items:flex-start;flex-direction:column;gap:5px}
  .panel-title h3{font-size:.92rem}
  .panel-title span{text-align:left;font-size:.67rem}
}

@media(max-width:480px){
  .match-hero{padding:18px 14px}
  .match-title{padding-block:24px 20px}
  .match-meta span{font-size:.72rem;font-weight:750}
  .match-tabs button{padding-block:15px;font-size:.76rem;white-space:nowrap}
  .health-pill{font-size:.66rem}
  .match-hero.compact .match-title small{font-size:.68rem}
  .match-hero.compact .match-title>b{font-size:.7rem}
}

/* Navegación y ficha pensadas primero para móvil. */
.mobile-module-nav,
.mobile-context-toggle{display:none}

@media(max-width:820px){
  .match-page{padding-top:14px;padding-bottom:18px}
  .module-view.reading-view{min-height:0}
  .mobile-module-nav{display:none}
  .mobile-module-nav label{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--mint);font-size:.62rem;font-weight:900;letter-spacing:.13em}
  .mobile-module-nav label small{color:#91aaa7;font-size:.62rem;letter-spacing:.04em}
  .mobile-module-nav>div{position:relative}
  .mobile-module-nav select{width:100%;min-height:48px;padding:0 44px 0 14px;appearance:none;border:1px solid rgba(32,230,178,.34);border-radius:10px;outline:none;color:#effffb;background:#071411;font:800 .92rem Sora,Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
  .mobile-module-nav select:focus-visible{border-color:var(--mint);box-shadow:0 0 0 3px rgba(32,230,178,.12)}
  .mobile-module-nav>div>i{position:absolute;right:17px;top:50%;width:9px;height:9px;border-right:2px solid var(--mint);border-bottom:2px solid var(--mint);pointer-events:none;transform:translateY(-70%) rotate(45deg)}
  .match-tabs{position:sticky;z-index:7;top:70px;display:flex;gap:5px;overflow-x:auto;margin-bottom:10px;padding:6px;border:1px solid var(--line2);border-radius:14px;background:rgba(5,16,19,.97);box-shadow:0 12px 32px rgba(0,0,0,.3);backdrop-filter:blur(16px);scroll-padding-inline:6px;scroll-snap-type:x proximity}
  .match-tabs button{flex:0 0 auto;min-width:92px;padding:11px 13px;border:1px solid transparent;border-radius:9px;font-size:.71rem;scroll-snap-align:center}
  .match-tabs button:hover,.match-tabs button.active{border-color:rgba(32,230,178,.36);background:rgba(32,230,178,.12)}
  .match-hero{border-top:1px solid var(--line2);border-radius:14px}
  .match-hero.full{padding:18px 14px}
  .match-hero.full .match-title{padding:22px 0 18px}
  .match-hero.full .hero-context{display:none;padding-top:12px;border-top:1px solid var(--line)}
  .match-hero.full.context-open .hero-context{display:block}
  .mobile-context-toggle:not([hidden]){display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid var(--line);border-radius:10px;color:#effffb;background:rgba(3,14,16,.72);text-align:left;cursor:pointer}
  .mobile-context-toggle span{display:grid;gap:3px}
  .mobile-context-toggle b{font-size:.78rem}
  .mobile-context-toggle small{color:#8da6a3;font-size:.65rem}
  .mobile-context-toggle i{width:9px;height:9px;margin-right:3px;border-right:2px solid var(--mint);border-bottom:2px solid var(--mint);transform:rotate(45deg);transition:transform .16s ease}
  .match-hero.context-open .mobile-context-toggle i{transform:rotate(225deg)}
  .match-hero.compact .mobile-context-toggle{display:none}
  .module-view{padding-top:10px}
  .pm-card.partidato-mobile-collapsible>.pm-head{position:relative;min-height:58px;padding-right:78px;cursor:pointer;user-select:none}
  .pm-card.partidato-mobile-collapsible>.pm-head::after{position:absolute;right:12px;top:50%;padding:4px 7px;border:1px solid rgba(45,212,160,.3);border-radius:999px;color:#9ee8cf;background:rgba(45,212,160,.055);font-size:.5rem;font-weight:900;letter-spacing:.08em;content:"ABRIR";transform:translateY(-50%)}
  .pm-card.partidato-mobile-collapsible.partidato-mobile-open>.pm-head::after{content:"CERRAR"}
  .pm-card.partidato-mobile-collapsible:not(.partidato-mobile-open)>.pm-body{display:none!important}
  .pm-card.partidato-mobile-collapsible:not(.partidato-mobile-open){margin-bottom:8px!important}
}

@media(max-width:480px){
  .topbar-inner{min-height:62px}
  .match-page.shell{width:calc(100% - 14px)}
  .match-tabs{top:62px;margin-inline:-1px;padding:5px}
  .match-tabs button{min-width:88px;padding:10px 12px;font-size:.69rem}
  .match-hero.full .match-meta{gap:6px}
  .match-hero.full .match-meta span{padding:4px 7px;font-size:.65rem}
  .match-hero.full .match-title{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:8px}
  .match-hero.full .match-title h1{font-size:clamp(1.18rem,6vw,1.55rem);white-space:normal;overflow-wrap:anywhere}
  .match-hero.full .match-title>b{width:38px;height:38px}
  .match-hero.compact{padding:14px 12px}
  .match-hero.compact .match-meta span{font-size:.62rem}
  .match-hero.compact .match-title h1{font-size:1.14rem;white-space:normal;overflow-wrap:anywhere}
  .mobile-context-toggle b{font-size:.82rem}
  .mobile-context-toggle small{font-size:.68rem}
}

@media(max-width:350px){
  .topbar .brand span{display:none}
  .topbar nav a{font-size:.69rem}
}

/* Identidad visual compartida por los siete módulos. */
.match-meta .match-league-brand{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:8px;padding:5px 10px}
.match-hero .match-meta .match-league-brand>span.match-country-flag,.match-hero .match-meta .match-league-brand>span.match-league-copy{padding:0;border:0;border-radius:0;background:transparent}
.match-country-flag{display:block;width:22px;height:15px;flex:0 0 22px;border:1px solid rgba(255,255,255,.22);border-radius:3px;object-fit:cover;box-shadow:0 2px 5px rgba(0,0,0,.35);font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:1rem;line-height:1}
.match-league-copy{color:#a8bcb4;font-weight:750;letter-spacing:.035em;line-height:1.15}
.match-league-crest{width:22px;height:22px;flex:0 0 22px;padding:1px;object-fit:contain}
.match-title{grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr)}
.match-title .match-team{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;min-width:0}
.match-title .match-team.away{grid-template-columns:minmax(0,1fr) auto}
.match-team-copy{display:block;min-width:0}
.match-team-crest{display:block;width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.34)) drop-shadow(0 0 12px rgba(45,212,160,.09))}
.match-team-crest[hidden]{display:none}
.match-title h1{font-size:clamp(1.55rem,3.45vw,3.1rem);overflow-wrap:anywhere;text-wrap:balance}
.hero-context-card.tournament-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:11px}
.hero-context-card.tournament-card .hero-league-crest{grid-row:1/4;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(0,0,0,.25))}
.hero-context-card.tournament-card small,.hero-context-card.tournament-card strong,.hero-context-card.tournament-card p{grid-column:2}
.match-hero.compact .match-title .match-team{gap:10px}
.match-hero.compact .match-team-crest{width:48px;height:48px}
.match-hero.compact .match-title h1{font-size:clamp(.92rem,1.8vw,1.35rem)}
@media(max-width:760px){
  .match-team-crest{width:54px;height:54px}
  .match-title .match-team{grid-template-columns:1fr;justify-items:start;gap:8px}
  .match-title .match-team.away{grid-template-columns:1fr;justify-items:end}
  .match-title .match-team.away .match-team-copy{grid-row:2}
  .match-title .match-team.away .match-team-crest{grid-row:1}
  .match-title h1{font-size:clamp(1.02rem,4.8vw,1.45rem);line-height:1.12}
  .match-hero.compact .match-title .match-team{grid-template-columns:1fr;gap:5px}
  .match-hero.compact .match-team-crest{width:38px;height:38px}
  .match-hero.compact .match-title h1{font-size:clamp(.82rem,3.7vw,1.08rem)}
}
@media(max-width:420px){
  .match-title{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:7px}
  .match-team-crest{width:46px;height:46px}
  .match-title>b{width:32px;height:32px}
  .match-title small{padding:3px 6px;font-size:.5rem;letter-spacing:.1em}
  .match-title h1{font-size:clamp(.9rem,4.3vw,1.15rem)}
  .match-meta .match-league-brand{max-width:100%}
  .match-meta .match-league-brand .match-league-copy{overflow-wrap:anywhere;text-align:center}
}

/* Marca central del cruce: visible y deportiva, sin el aro de la versión anterior. */
.match-title{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)}
.match-title>.match-versus{display:grid;width:112px;height:112px;place-items:center}
.match-title>.match-versus img{
  display:block;
  width:112px;
  height:112px;
  object-fit:contain;
  filter:invert(1) drop-shadow(3px 4px 0 rgba(0,0,0,.72));
  mix-blend-mode:screen;
}
.match-hero.compact .match-title>.match-versus{width:52px;height:52px}
.match-hero.compact .match-title>.match-versus img{width:52px;height:52px}
@media(max-width:760px){
  .match-title{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr)}
  .match-title>.match-versus,.match-title>.match-versus img{width:66px;height:66px}
  .match-hero.compact .match-title>.match-versus,
  .match-hero.compact .match-title>.match-versus img{width:44px;height:44px}
}
@media(max-width:420px){
  .match-title{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)}
  .match-title>.match-versus,.match-title>.match-versus img{width:54px;height:54px}
}
